/*
below css added by aash for align center for #navbar-collapse-grid for navigation bar only
*/
#navbar-collapse-grid {}
@media only screen and (min-width: 1000px){
#navbar-collapse-grid {
  display: flex !important;       /* 1. Turns this very html element into a flex container */
  justify-content: center !important; /* 2. Centers the items horizontally */
}
}


/*
below css added by aash for image borders (at viewlist, viewdetail etc files)
*/
    .img_border_aash1 {
        border:solid 25px #c21116;
    }
    .img_border_aash2 {
        width:100%; height: auto; border-bottom: 1px solid #c21116;
    }



/*
below css added by aash for years (at viewlist etc files)
*/
    .year-navigation {
        margin: 20px 0;
        padding: 15px;
        background: #f5f5f5;
        border-radius: 8px;
    }
    .year-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
    }
    .year-btn {
        display: inline-block;
        padding: 8px 15px;
        background: #ecf0f1;
        color: #2c3e50;
        text-decoration: none;
        border-radius: 4px;
        border: 1px solid #ddd;
        transition: all 0.3s ease;
    }
    .year-btn:hover {
        background: #d5dbdb;
        transform: translateY(-2px);
    }
    .year-btn.active {
        background: #2c3e50;
        color: white;
        border-color: #2c3e50;
        font-weight: bold;
    }
    .current-badge {
        font-size: 0.8em;
        background: #e74c3c;
        color: white;
        padding: 2px 5px;
        border-radius: 3px;
        margin-left: 5px;
    }
	
	
/*
below css added by aash for "i dont remember for what?"
*/

    div.aash-patti img.aash-patti-img {
      width: 222px;
    }

    div.aash-patti {
      display: table !important;
      position: relative;
      filter: invert(1);
      /* margin-top:21px; */
      margin-bottom: 14px;
    }

    .aash-patti-text {
      position: absolute;
      width: 100%;
      text-align: center;
      top: 12px;
      color: blue;
      font-size: 12px;
      line-height: 15px;
      font-weight: bold;
      text-shadow: none;
    }

    .aash-patti-since {
      position: absolute;
      width: 100%;
      text-align: center;
      top: 54px;
      color: blue;
      font-size: 9px;
      text-transform: uppercase;
      font-weight: bold;
      text-shadow: none;
    }

    .aash-patti-stars {
      position: absolute;
      width: 100%;
      text-align: center;
      top: 37px;
    }

    .aash-patti-stars img {
      width: 13px;
      margin-left: 2px;
      margin-right: 2px;
    }

    @media (max-width:1000px) {
      div.aash-patti {
        margin: 0 auto !important;
      }
    }
	
/*
below css added by aash for category divs
*/
        .container_cat {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            padding: 20px 10px;
        }

        .container_cat .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .container_cat .section-title {
            text-align: center;
            margin-bottom: 50px;
        }

        .container_cat .section-title h2 {
            font-size: 3em;
            color: #e74c3c;
            text-transform: uppercase;
            letter-spacing: 3px;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
        }

        .container_cat .title-line {
            width: 100px;
            height: 4px;
            background: #e74c3c;
            margin: 0 auto;
            border-radius: 2px;
        }

        .container_cat .categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .container_cat .category-card {
            position: relative;
            min-height: 140px;;
			/* background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
			background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
			background: linear-gradient(135deg, #7c0b0e 0%, #ff99cc 100%);
            padding: 20px 10px;
            border-radius: 20px;
            cursor: pointer;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
			
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
        }

/*
        .container_cat .category-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
			background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
            z-index: 0;
        }

.container_cat .category-card:nth-child(2)::before {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.container_cat .category-card:nth-child(3)::before {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.container_cat .category-card:nth-child(4)::before {
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
}

.container_cat .category-card:nth-child(5)::before {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.container_cat .category-card:nth-child(6)::before {
    background: linear-gradient(135deg, #16a085 0%, #138d75 100%);
}

.container_cat .category-card:nth-child(7)::before {
    background: linear-gradient(135deg, #2ecc71 0%, #28b463 100%);
}

.container_cat .category-card:nth-child(8)::before {
    background: linear-gradient(135deg, #58d68d 0%, #52be80 100%);
}

.container_cat .category-card:nth-child(9)::before {
    background: linear-gradient(135deg, #1abc9c 0%, #17a589 100%);
}

.container_cat .category-card:nth-child(10)::before {
    background: linear-gradient(135deg, #45b39d 0%, #3a9f8f 100%);
}

.container_cat .category-card:nth-child(11)::before {
    background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
}

.container_cat .category-card:nth-child(12)::before {
    background: linear-gradient(135deg, #16a085 0%, #138d75 100%);
}
*/
.container_cat .category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f093fb 0%, #a55eea 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

/* Alternative state or hover effect */
.container_cat .category-card:hover::before {
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
}
.container_cat .category-card:nth-child(2)::before {
    background: linear-gradient(135deg, #e84393 0%, #d63031 100%);
}

.container_cat .category-card:nth-child(3)::before {
    background: linear-gradient(135deg, #a55eea 0%, #8854d0 100%);
}

.container_cat .category-card:nth-child(4)::before {
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
}

.container_cat .category-card:nth-child(5)::before {
    background: linear-gradient(135deg, #d63031 0%, #c23616 100%);
}

.container_cat .category-card:nth-child(6)::before {
    background: linear-gradient(135deg, #e84393 0%, #d63031 100%);
}

.container_cat .category-card:nth-child(7)::before {
    background: linear-gradient(135deg, #fd79a8 0%, #fab1a0 100%);
}

.container_cat .category-card:nth-child(8)::before {
    background: linear-gradient(135deg, #a55eea 0%, #8854d0 100%);
}

.container_cat .category-card:nth-child(9)::before {
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
}

.container_cat .category-card:nth-child(10)::before {
    background: linear-gradient(135deg, #d63031 0%, #c23616 100%);
}

.container_cat .category-card:nth-child(11)::before {
    background: linear-gradient(135deg, #e84393 0%, #d63031 100%);
}

.container_cat .category-card:nth-child(12)::before {
    background: linear-gradient(135deg, #a55eea 0%, #8854d0 100%);
}
        .container_cat .category-card:hover {
            transform: translateY(-15px) scale(1.03);
            box-shadow: 0 20px 50px rgba(0,0,0,0.4);
        }

        .container_cat .category-card:hover::before {
            opacity: 1;
        }

        .container_cat .category-content {
            position: relative;
            z-index: 1;
            text-align: center;
        }

        .container_cat .category-icon {
            font-size: 3.5em;
            margin-bottom: 20px;
            display: block;
            transition: transform 0.3s ease;
        }

        .container_cat .category-card:hover .category-icon {
            transform: rotateY(360deg);
        }

        .container_cat .category-title {
            font-size: 1.8em;
            color: #fff;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            line-height: 1.3;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            transition: all 0.3s ease;
        }

        .container_cat .category-card:hover .category-title {
            transform: scale(1.1);
            letter-spacing: 3px;
        }

        .container_cat .category-subtitle {
            font-size: 0.9em;
            color: rgba(255,255,255,0.8);
            margin-top: 10px;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease;
        }

        .container_cat .category-card:hover .category-subtitle {
            opacity: 1;
            transform: translateY(0);
        }

        @media (max-width: 768px) {
            .container_cat .section-title h2 {
                font-size: 2em;
            }

            .container_cat .categories-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .container_cat .category-card {
                padding: 40px 20px;
            }

            .container_cat .category-title {
                font-size: 1.5em;
            }
        }
