
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 0px;
        }

        /* Header */
        header {
            background: linear-gradient(135deg, #2c3e50, #3498db);
            color: white;
            padding: 0.50rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.25rem;
        }

        .logo-left {
            flex: 0 0 auto;
        }

        .municipality-logo {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            overflow: hidden;
            border: 3px solid white;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        .municipality-logo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

         .logo-section {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo {
            width: 60px;
            height: 60px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #2c3e50;
            font-size: 24px;
            font-weight: bold;
        }
     

        .logos-right {
            flex: 0 0 auto;
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .gov-logo, .india-logo {
            width: 200px;
            height: 100px;
            overflow: hidden;
            /* box-shadow: 0 3px 10px rgba(0,0,0,0.2); */
        }

        .gov-logo img, .india-logo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .header-info h1 {
            font-size: 1.8rem;
            margin: 0;
        }

        .header-info p {
            font-size: 0.9rem;
            opacity: 0.9;
        }

        .emergency-info {
            text-align: right;
        }

        .emergency-info h3 {
            color: #e74c3c;
            margin-bottom: 5px;
        }

        /* Navigation */
        nav {
            background: rgba(0,0,0,0.1);
            border-radius: 10px;
            padding: 0.3rem;
        }

        .nav-menu {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
            list-style: none;
        }

        .nav-menu li a {
            color: white;
            text-decoration: none;
            padding: 10px 15px;
            border-radius: 5px;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .nav-menu li a:hover, .nav-menu li a.active {
            background: rgba(255,255,255,0.2);
            transform: translateY(-2px);
        }

        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* Main Content */
        main {
            min-height: calc(100vh - 200px);
        }

        .section {
            display: none;
            
            animation: fadeIn 0.5s ease-in;
        }

        .section.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Enhanced Hero Section with Slider */
        .hero {
            position: relative;
            height: 500px;
            overflow: hidden;
            border-radius: 0 0 20px 20px;
            margin-bottom: 0.5rem;
        }

        .slider-container {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .slide.active {
            opacity: 1;
        }

        .slide-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /* background: linear-gradient(45deg, rgba(44, 62, 80, 0.8), rgba(52, 152, 219, 0.6)); */
        }

        .slide-content {
            position: relative;
            z-index: 2;
            text-align: center;
            color: white;
            max-width: 800px;
            padding: 0 20px;
        }

        .slide-content h2 {
            font-size: 3rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
            animation: slideInUp 0.8s ease-out;
        }

        .slide-content p {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
            animation: slideInUp 0.8s ease-out 0.2s both;
        }

        .slide-cta {
            animation: slideInUp 0.8s ease-out 0.4s both;
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Slider Navigation */
        .slider-nav {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 3;
        }

        .slider-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .slider-dot.active {
            background: white;
            transform: scale(1.2);
        }

        .slider-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            font-size: 1.5rem;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 3;
        }

        .slider-arrow:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-50%) scale(1.1);
        }

        .slider-arrow.prev {
            left: 20px;
        }

        .slider-arrow.next {
            right: 20px;
        }

        /* Notifications Section */
        .notifications-section {
            background: white;
            color: black;
            padding: 0.25rem;
            border-radius: 15px;
            margin: 0.25rem 0;
        
        }

        .notifications-section h3 {
            text-align: center;
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
        }

        .notification-ticker {
            background: linear-gradient(135deg, #2c3e50, #3498db);
            border-radius: 25px;
            padding: 10px;
            margin-bottom: 2rem;
            overflow: hidden;
            position: relative;
        }

        .ticker-content {
            display: flex;
            animation: scroll 30s linear infinite;
            white-space: nowrap;
        }

        .ticker-content span {
            margin-right: 50px;
            font-weight: 500;
        }

        @keyframes scroll {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }

        .important-notices {
            display: grid;
            gap: 15px;
        }

        .notice-item {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            padding: 1rem;
            display: flex;
            gap: 15px;
            backdrop-filter: blur(10px);
        }

        .notice-icon {
            font-size: 1.5rem;
            margin-top: 5px;
        }

        .notice-content h4 {
            margin-bottom: 0.5rem;
            font-size: 1.1rem;
        }

        .notice-content p {
            margin-bottom: 0.5rem;
            opacity: 0.9;
        }

        .notice-date {
            font-size: 0.8rem;
            opacity: 0.7;
        }

        /* Leadership Section */
        .leadership-section {
            background: #fff;
            padding: 0.25rem;
            border-radius: 15px;
            margin:  0;
        }

        .leadership-section h3 {
            text-align: center;
            margin-bottom: 2rem;
            color: #2c3e50;
            font-size: 1.8rem;
        }

        .leadership-grid {
            display: grid;
            margin-left: 10vw;
            margin-right: 0.25vw;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 10px;
        }

        .leader-card {
            background: white;
            justify-content: center;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            display: flex;
            gap: 10px;
            transition: all 0.3s ease;
            border-left: 5px solid #3498db;
            width: 100%;
            max-width: 400px;
        }

        .leader-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }

        .leader-image {
            flex-shrink: 0;
        }

        .leader-image img {
            width: 100px;
            height: 100px;
            border-radius: 10%;
            object-fit: cover;
            border: 4px solid #3498db;
        }

        .leader-info h4 {
            margin-top: 10px;
            padding-top: 15px;
            text-align: center;
            justify-content: center;
            color: #2c3e50;
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
        }

        .leader-position {
            text-align: center;
            color: #3498db;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .leader-contact {
            color: #666;
            margin-bottom: 1rem;
            font-size: 0.9rem;
        }

        .leader-contact i {
            margin-right: 5px;
            color: #3498db;
        }

        .leader-message {
            font-style: italic;
            color: #555;
            font-size: 0.9rem;
            line-height: 1.4;
        }

        /* Statistics Section */
        .stats-section {
            background: linear-gradient(135deg, #3498db, #2c3e50);
            color: white;
            padding: 3rem 0;
            margin: 2rem 0;
            border-radius: 15px;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            text-align: center;
        }

        .stat-item {
            padding: 1rem;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
            color: #ecf0f1;
        }

        .stat-label {
            font-size: 1rem;
            opacity: 0.9;
        }

        /* Enhanced Services Grid */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin: 2rem 0;
        }

        .service-card {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border-left: 5px solid #3498db;
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, #3498db, #2c3e50);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .service-card:hover::before {
            transform: scaleX(1);
        }

        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }

        .service-card i {
            font-size: 2.5rem;
            color: #3498db;
            margin-bottom: 1rem;
        }

        .service-card h3 {
            margin-bottom: 1rem;
            color: #2c3e50;
        }

        img {
            text-align: center;
            border-radius: 20px;
        }

        /* Buttons */
        .btn {
            padding: 12px 30px;
            border: none;
            border-radius: 25px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s ease;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn-primary {
            background: linear-gradient(45deg, #e74c3c, #c0392b);
            color: white;
        }

        .btn-secondary {
            background: linear-gradient(45deg, #ecf0f1, #bdc3c7);
            color: #2c3e50;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        /* News Section Enhanced */
        .news-section {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            margin: 2rem 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }

        .news-section h3 {
            color: #2c3e50;
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
            border-bottom: 3px solid #3498db;
            padding-bottom: 0.5rem;
        }

        .news-item {
            border-bottom: 1px solid #eee;
            padding: 1rem 0;
            display: flex;
            gap: 15px;
            transition: all 0.3s ease;
        }

        .news-item:hover {
            background: #f8f9fa;
            padding-left: 1rem;
            border-radius: 8px;
        }

        .news-date {
            background: linear-gradient(45deg, #3498db, #2980b9);
            color: white;
            padding: 10px;
            border-radius: 10px;
            text-align: center;
            min-width: 80px;
            box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
        }

        .news-content h4 {
            margin-bottom: 0.5rem;
            color: #2c3e50;
        }

        /* Contact and Footer sections remain the same */
        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin: 2rem 0;
        }

        .contact-card {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            text-align: center;
        }

        .contact-card i {
            font-size: 2rem;
            color: #3498db;
            margin-bottom: 1rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: #2c3e50;
            font-weight: 600;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #3498db;
        }

        .data-table {
            width: 100%;
            border-collapse: collapse;
            margin: 2rem 0;
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }

        .data-table th,
        .data-table td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid #eee;
        }

        .data-table th {
            background: #3498db;
            color: white;
            font-weight: 600;
        }

        .data-table tr:hover {
            background: #f8f9fa;
        }

        footer {
            background: #2c3e50;
            color: white;
            padding: 0.25rem 0;
            margin-top: 1.5rem;
        }

        .footer-content {
            margin-left: 10px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .footer-section h4 {
            margin-bottom: 1rem;
            color: #3498db;
        }

        .footer-section a {
            color: white;
            text-decoration: none;
            opacity: 0.8;
            transition: opacity 0.3s ease;
        }

        .footer-section a:hover {
            opacity: 1;
        }

        /* Notification */
        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 1rem 2rem;
            background: #27ae60;
            color: white;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.2);
            transform: translateX(100%);
            transition: transform 0.3s ease;
            z-index: 2000;
        }

        .notification.show {
            transform: translateX(0);
        }

        .notification.error {
            background: #e74c3c;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .header-top {
                flex-direction: column;
                text-align: center;
                gap: 10px;
            }

            .logo-left, .logos-right {
                order: 2;
            }

            .logo-section {
                order: 1;
            }

            .logos-right {
                justify-content: center;
            }

            .nav-menu {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: #2c3e50;
                padding: 1rem;
                border-radius: 0 0 10px 10px;
            }

            .nav-menu.active {
                display: flex;
            }

            .mobile-menu-toggle {
                display: block;
            }

            .slide-content h2 {
                font-size: 2rem;
            }

            .leadership-grid {
                grid-template-columns: 1fr;
            }

            .slider-arrow {
                display: none;
            }
        }
  
        .hleadership-section {
            background: #f8f9fa;
            padding: 2rem;
            border-radius: 15px;
            margin: 0.25rem 0;
        }

        .hleadership-section h3 {
            text-align: center;
            margin-bottom: 2rem;
            color: #2c3e50;
            font-size: 1.8rem;
        }

        .hleadership-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
            align-items: center;
        }

        .hleader-card {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            transition: all 0.3s ease;
            border-left: 5px solid #3498db;
            min-width: 280px;
        }

        .hleader-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }

        .hleader-image {
            margin-bottom: 1rem;
        }

        .hleader-image-placeholder {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: linear-gradient(45deg, #3498db, #2980b9);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2rem;
            border: 4px solid #3498db;
        }

        .hleader-info h4 {
            margin-top: 5px;
            color: #2c3e50;
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
        }

        .hleader-position {
            color: #3498db;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .hleader-contact {
            color: #666;
            margin-bottom: 1rem;
            font-size: 0.9rem;
        }

        .hleader-contact i {
            margin-right: 5px;
            color: #3498db;
        }

        /* Position Level Headings */
        .hlevel-heading {
            font-size: 1.2rem;
            margin-bottom: 15px;
            font-weight: bold;
        }

        .hchief-level .level-heading {
            color: #e74c3c;
        }

        .hpresident-level .level-heading {
            color: #3498db;
        }

        .hmembers-level .level-heading {
            color: #2c3e50;
        }

        .hmembers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            justify-items: center;
            width: 100%;
        }

        .dropdown {
            position: relative;
        }

        .dropdown-toggle::after {
            content: '\f078';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            margin-left: 5px;
            font-size: 0.8rem;
            transition: transform 0.3s ease;
        }

        .dropdown.active .dropdown-toggle::after {
            transform: rotate(180deg);
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            min-width: 220px;
            border-radius: 8px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 1001;
            margin-top: 10px;
        }

        .dropdown.active .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-menu::before {
            content: '';
            position: absolute;
            top: -8px;
            left: 20px;
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-bottom: 8px solid white;
        }

        .dropdown-menu li {
            list-style: none;
        }

        .dropdown-menu a {
            color: #2c3e50 !important;
            padding: 12px 20px;
            display: block;
            transition: all 0.3s ease;
            border-radius: 0;
            font-weight: 500;
        }

        .dropdown-menu a:hover {
            background: #f8f9fa;
            color: #3498db !important;
            transform: translateX(5px);
        }

        .dropdown-menu li:first-child a {
            border-radius: 8px 8px 0 0;
        }

        .dropdown-menu li:last-child a {
            border-radius: 0 0 8px 8px;
        }

        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .header-top {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }

            .logos-right {
                justify-content: center;
            }

            .nav-menu {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: #2c3e50;
                padding: 1rem;
                border-radius: 0 0 10px 10px;
                gap: 10px;
            }

            .nav-menu.active {
                display: grid;
            }

            .mobile-menu-toggle {
                display: block;
            }

            .dropdown-menu {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                box-shadow: none;
                background: rgba(255,255,255,0.1);
                margin-top: 0;
                margin-left: 15px;
            }

            .dropdown-menu::before {
                display: none;
            }

              .dropdown-menu a {
                display: none;
                color: white !important;
                padding: 8px 15px;
            }
             .dropdown.active .dropdown-menu a {
                display: block;
                margin-top: 8px;
            }



            .dropdown-menu a:hover {
                background: rgba(255,255,255,0.1);
                color: #ecf0f1 !important;
            }
        }

        .notranslate {
  translate: no;
}

.gallery-section {
            background: white;
            padding: 3rem 0;
            min-height: 100vh;
        }

        .gallery-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .gallery-header h2 {
            font-size: 2.5rem;
            color: #2c3e50;
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
        }

        .gallery-header h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(45deg, #3498db, #2980b9);
            border-radius: 2px;
        }

        .gallery-header p {
            font-size: 1.1rem;
            color: #666;
            max-width: 600px;
            margin: 0 auto;
        }

        /* Filter Buttons */
        .gallery-filters {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 3rem;
        }

        .filter-btn {
            padding: 12px 25px;
            border: 2px solid #3498db;
            background: transparent;
            color: #3498db;
            border-radius: 25px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 600;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .filter-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, #3498db, #2980b9);
            transition: left 0.3s ease;
            z-index: -1;
        }

        .filter-btn:hover::before,
        .filter-btn.active::before {
            left: 0;
        }

        .filter-btn:hover,
        .filter-btn.active {
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
        }

        /* Gallery Grid */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
            gap: 30px;
            margin-bottom: 3rem;
        }

        .gallery-item {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            transition: all 0.4s ease;
            position: relative;
            opacity: 1;
            transform: scale(1);
        }

        .gallery-item.hidden {
            opacity: 0;
            transform: scale(0.8);
            pointer-events: none;
        }

        .gallery-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

        /* Event Carousel */
        .event-carousel {
            position: relative;
            height: 280px;
            overflow: hidden;
        }

        .carousel-container {
            position: relative;
            align-items: center;
            width: 100%;
            height: 100%;
        }

        .carousel-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .carousel-slide.active {
            opacity: 1;
        }

        .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* default for landscape */
}

/* If the image is portrait (height > width), switch to contain */
.carousel-slide img[width][height]:where(:not([width=""]), :not([height=""])) {
    object-fit: cover;
}

.carousel-slide img.portrait {
    object-fit: contain;
    background-color: #fff; /* optional: fill background with black */
}

        .image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, rgba(44, 62, 80, 0.8), rgba(52, 152, 219, 0.6));
            opacity: 0;
            transition: opacity 0.4s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .gallery-item:hover .image-overlay {
            opacity: 1;
        }

        .overlay-icon {
            color: white;
            font-size: 2.5rem;
            transform: scale(0);
            transition: transform 0.3s ease 0.1s;
        }

        .gallery-item:hover .overlay-icon {
            transform: scale(1);
        }

        /* Carousel Navigation */
        .carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.9);
            border: none;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            color: #2c3e50;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            opacity: 0;
            z-index: 10;
        }

        .gallery-item:hover .carousel-nav {
            opacity: 1;
        }

        .carousel-nav:hover {
            background: white;
            transform: translateY(-50%) scale(1.1);
        }

        .carousel-prev {
            left: 15px;
        }

        .carousel-next {
            right: 15px;
        }

        /* Carousel Dots */
        .carousel-dots {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            z-index: 10;
        }

        .carousel-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .carousel-dot.active {
            background: white;
            transform: scale(1.3);
        }

        /* Photo Counter */
        .photo-counter {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            z-index: 10;
        }

        .gallery-content {
            padding: 1.5rem;
            cursor: pointer;
        }

        .gallery-content h3 {
            color: #2c3e50;
            margin-bottom: 0.8rem;
            font-size: 1.3rem;
        }

        .gallery-content p {
            color: #666;
            line-height: 1.5;
            margin-bottom: 1rem;
        }

        .gallery-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid #eee;
        }

        .gallery-category {
            background: linear-gradient(45deg, #3498db, #2980b9);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .gallery-date {
            color: #999;
            font-size: 0.9rem;
        }

        /* Lightbox */
        .lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .lightbox.active {
            opacity: 1;
            visibility: visible;
        }

        .lightbox-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            background: white;
            border-radius: 15px;
            overflow: hidden;
            transform: scale(0.8);
            transition: transform 0.3s ease;
        }

        .lightbox.active .lightbox-content {
            transform: scale(1);
        }

        .lightbox-image {
            width: 100%;
            max-height: 70vh;
            object-fit: cover;
        }

        .lightbox-info {
            padding: 2rem;
        }

        .lightbox-info h3 {
            color: #2c3e50;
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

        .lightbox-info p {
            color: #666;
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        .lightbox-close {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            border-radius: 50%;
            color: #2c3e50;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
        }

        .lightbox-close:hover {
            background: white;
            transform: scale(1.1);
        }

        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            border-radius: 50%;
            color: #2c3e50;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
        }

        .lightbox-nav:hover {
            background: white;
            transform: translateY(-50%) scale(1.1);
        }

        .lightbox-prev {
            left: 20px;
        }

        .lightbox-next {
            right: 20px;
        }

        /* Current Photo Info in Lightbox */
        .lightbox-photo-info {
            position: absolute;
            bottom: 20px;
            left: 20px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 10px 15px;
            border-radius: 10px;
            font-size: 0.9rem;
            z-index: 10;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .gallery-header h2 {
                font-size: 2rem;
            }

            .gallery-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .gallery-filters {
                gap: 10px;
            }

            .filter-btn {
                padding: 10px 20px;
                font-size: 0.9rem;
            }

            .lightbox-content {
                max-width: 95%;
                margin: 20px;
            }

            .lightbox-nav {
                width: 40px;
                height: 40px;
            }

            .lightbox-prev {
                left: 10px;
            }

            .lightbox-next {
                right: 10px;
            }

            .event-carousel {
                height: 250px;
            }
        }

        @media (max-width: 480px) {
            .gallery-filters {
                justify-content: center;
            }

            .filter-btn {
                flex: 1;
                min-width: 0;
                text-align: center;
            }

            .lightbox-info {
                padding: 1.5rem;
            }

            .lightbox-info h3 {
                font-size: 1.2rem;
            }

            .gallery-grid {
                grid-template-columns: 1fr;
            }
        }

        .translateBtn {
            align-items: center;
            position: relative;
            bottom: 20px;
            right: 20px;
            background: #3498db;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 50px;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
            transition: all 0.3s ease;
            z-index: 1000;
        }
        /* .aside-section {
            display: grid;
            grid-template-columns: 40% 60%;
            gap: 20px;
            
        } */