:root {
            --primary-color: #8B4513;
            --primary-light: #A86A3D;
            --secondary-color: #D4A76A;
            --accent-color: #FFD700;
            --dark-color: #1A120B;
            --light-color: #FFF9F0;
/*            --gradient-primary: linear-gradient(135deg, #8B4513 0%, #D4A76A 100%);*/
            --gradient-primary: linear-gradient(135deg, #6c330a 0%, #8b6530 100%);
            --gradient-dark: linear-gradient(135deg, #1c1005 0%, #321709 100%);
            --gradient-light: linear-gradient(135deg, #FFF9F0 0%, #F5E8C7 100%);
            --font-heading: 'Playfair Display', serif;
            --font-body: 'Poppins', sans-serif;
            --form-spacing: 1.5rem;
            --input-radius: 12px;
            --section-bg: #f9f6f0;
        }



        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        a {
            text-decoration: none;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
            font-family: var(--font-body);
            color: var(--dark-color);
            background-color: var(--light-color);
            line-height: 1.7;
            overflow-x: hidden;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-heading);
            font-weight: 700;
            line-height: 1.3;
        }
        
        .text-gradient {
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .title-text-gradient {
            background: linear-gradient(135deg, #da8b53 0%, #ffdbab 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .btn-primary {
            background: var(--gradient-primary);
            border: none;
            padding: 12px 30px;
            font-weight: 600;
            border-radius: 50px;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
            z-index: 1;
            color: white;
            display: inline-block;
            cursor: pointer;
        }
        
        .btn-primary:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--gradient-dark);
            transition: all 0.4s ease;
            z-index: -1;
        }
        
        .btn-primary:hover:before {
            left: 0;
        }
        
        .btn-primary:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(139, 69, 19, 0.3);
            color: white;
        }
        
        .btn-outline-primary {
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
            padding: 10px 28px;
            font-weight: 600;
            border-radius: 50px;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            z-index: 1;
            display: inline-block;
            cursor: pointer;
        }
        
        .btn-outline-primary:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--gradient-primary);
            transition: all 0.4s ease;
            z-index: -1;
        }
        
        .btn-outline-primary:hover:before {
            left: 0;
        }
        
        .btn-outline-primary:hover {
            color: white;
            border-color: none;
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(139, 69, 19, 0.2);
        }
        
        .section-padding {
            padding: 100px 0;
        }
        
        .section-title {
            margin-bottom: 60px;
            text-align: center;
        }
        
        .section-title h2 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }
        
        .section-title h2:after {
            content: '';
            position: absolute;
            width: 100px;
            height: 4px;
            background: var(--gradient-primary);
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }
        
        .section-title p {
            color: #666;
            max-width: 700px;
            margin: 25px auto 0;
            font-size: 1.1rem;
        }
        
        /* Particle Background */
        #particles-js {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: 1;
        }
        
        /* Header & Navigation */
        .navbar {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 20px 0;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            z-index: 1000;
        }
        
        .navbar.scrolled {
            padding: 15px 0;
            background: rgba(255, 255, 255, 0.70);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        .navbar-brand {
            font-weight: 800;
            font-size: 1.8rem;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: flex;
            align-items: center;
        }
        
        .navbar-brand img {
            height: 60px;
            margin-right: 10px;
            filter: drop-shadow(0 3px 5px rgba(0,0,0,0.1));
        }
        
        /* Desktop Navigation with Dropdown on Hover - FIXED */
        .desktop-nav {
            display: flex;
        }
        
        .nav-item {
            position: relative;
            margin: 0 5px;
        }
        
        .nav-link {
            color: var(--dark-color) !important;
            font-weight: 500;
            padding: 8px 20px !important;
            border-radius: 30px;
            transition: all 0.3s ease;
            position: relative;
            display: inline-block;
        }
        
        .nav-link:before {
            content: '';
            position: absolute;
            bottom: 5px;
            left: 20px;
            width: 0;
            height: 2px;
            background: var(--gradient-primary);
            transition: width 0.3s ease;
            border-radius: 1px;
        }
        
        .nav-link:hover:before {
            width: calc(100% - 40px);
        }
        
        .nav-link.active {
            background: var(--gradient-primary);
            color: white !important;
            box-shadow: 0 5px 15px rgba(139, 69, 19, 0.2);
        }
        
        .nav-link.active:before {
            display: none;
        }
        
        /* Dropdown Menu for Desktop - FIXED HOVER ISSUE */
        .dropdown-menu-desktop {
            position: absolute;
            top: 100%;
            left: 0;
            z-index: 1000;
            display: none;
            min-width: 220px;
            padding: 15px 0;
            margin: 5px 0 0;
            font-size: 1rem;
            color: #212529;
            text-align: left;
            list-style: none;
            background-color: #fff;
            background-clip: padding-box;
            border: none;
            border-radius: 15px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease;
        }
        
        .nav-item:hover .dropdown-menu-desktop {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }
        
        /* FIX: Keep dropdown visible when hovering over it */
        .dropdown-menu-desktop:hover {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }
        
        /* FIX: Add gap between nav item and dropdown */
        .dropdown-desktop {
            position: relative;
        }
        
        .dropdown-desktop:hover .dropdown-menu-desktop {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }
        
        /* FIX: Create an invisible gap area */
        .dropdown-gap {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            height: 20px;
            background: transparent;
        }
        
        .dropdown-item {
            padding: 10px 25px;
            border-radius: 0;
            transition: all 0.3s ease;
            font-weight: 500;
            position: relative;
            padding-left: 25px;
            color: var(--dark-color);
            display: block;
        }
        
        .dropdown-item:before {
            content: '';
            position: absolute;
            left: 10px;
            top: 50%;
            width: 6px;
            height: 6px;
            background: var(--primary-light);
            border-radius: 50%;
            transform: translateY(-50%);
            opacity: 0;
            transition: all 0.3s ease;
        }
        
        .dropdown-item:hover {
            background: var(--gradient-primary);
            color: white;
            padding-left: 35px;
        }
        
        .dropdown-item:hover:before {
            opacity: 1;
            background: white;
        }
        
        /* Mobile Sidebar Menu */
        .mobile-sidebar {
            position: fixed;
            top: 0;
            right: -320px;
            width: 300px;
            height: 100vh;
            background: var(--gradient-dark);
            z-index: 9999;
            padding: 20px;
            transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            overflow-y: auto;
            box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        }
        
        .mobile-sidebar.active {
            right: 0;
        }
        
        .mobile-sidebar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .mobile-sidebar-logo {
            height: 50px;
            margin-bottom: 25px;
            filter: brightness(0) invert(1);
        }
        
        .mobile-close-btn {
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .mobile-close-btn:hover {
            color: var(--secondary-color);
            transform: rotate(90deg);
        }
        
        .mobile-nav {
            list-style: none;
            padding: 0;
        }
        
        .mobile-nav-item {
            margin-bottom: 10px;
        }
        
        .mobile-nav-link {
            color: white;
            display: block;
            padding: 12px 20px;
            border-radius: 10px;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }
        
        .mobile-nav-link.active {
            background: var(--gradient-primary);
            color: white;
        }
        
        .mobile-nav-link:hover {
            background: rgba(255, 255, 255, 0.1);
            padding-left: 30px;
        }
        
        .mobile-dropdown-toggle {
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
        }
        
        .mobile-dropdown-toggle i {
            transition: transform 0.3s ease;
        }
        
        .mobile-dropdown-toggle.active i {
            transform: rotate(180deg);
        }
        
        .mobile-dropdown-menu {
            list-style: none;
            padding-left: 20px;
            margin-top: 5px;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        
        .mobile-dropdown-menu.active {
            max-height: 300px;
        }
        
        .mobile-dropdown-item {
            margin-bottom: 5px;
        }
        
        .mobile-dropdown-link {
            color: rgba(255, 255, 255, 0.8);
            display: block;
            padding: 8px 20px;
            border-radius: 8px;
            font-size: 0.95rem;
            transition: all 0.3s ease;
        }
        
        .mobile-dropdown-link:hover {
            color: white;
            background: rgba(255, 255, 255, 0.05);
            padding-left: 30px;
        }
        
        .mobile-sidebar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 9998;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .mobile-sidebar-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        /* Floating Music Notes */
        .floating-notes {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
        }
        
        .music-note {
            position: absolute;
            font-size: 24px;
            color: var(--secondary-color);
            opacity: 0.3;
            animation: floatNote 20s linear infinite;
        }
        
        @keyframes floatNote {
            0% {
                transform: translateY(100vh) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 0.3;
            }
            90% {
                opacity: 0.3;
            }
            100% {
                transform: translateY(-100px) rotate(360deg);
                opacity: 0;
            }
        }
        
        /* Hero Section with Building Image */
        .hero-section {
            min-height: 85vh;
            display: flex;
            align-items: center;
            background: linear-gradient(rgba(26, 18, 11, 0.7), rgba(26, 18, 11, 0.8)), 
                        url('https://itcsra.org/wp-content/uploads/2024/02/ITCSRA-Building-1-scaled.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            position: relative;
            overflow: hidden;
            padding-top: 120px;
            padding-bottom: 40px;
        }
        
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(139, 69, 19, 0.2) 0%, rgb(0 0 0 / 60%) 100%);
            z-index: 1;
        }
        
        .hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
        }
        
        .hero-badge {
            display: inline-block;
            background: var(--gradient-primary);
            color: white;
            padding: 8px 20px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 0.9rem;
            letter-spacing: 1px;
            margin-bottom: 30px;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
                box-shadow: 0 5px 15px rgba(139, 69, 19, 0.2);
            }
            50% {
                transform: scale(1.05);
                box-shadow: 0 10px 25px rgba(139, 69, 19, 0.3);
            }
        }
        
        .hero-title {
            font-size: 3.5rem;
            margin-bottom: 20px;
            margin-top: 20px;
            line-height: 1.1;
            color: white;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }
        
        .hero-subtitle {
            font-size: 1.2rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 40px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .hero-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        /* Event Cards Grid - Attractive Layout */
        .event-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }
        
        .event-card {
            background: #f3e2d6!important;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            border: 1px solid #f0f0f0;
        }
        
        .event-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
        }
        
        .event-date {
            position: absolute;
            top: 20px;
            left: 20px;
            background: var(--gradient-primary);
            color: white;
            padding: 10px 15px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.9rem;
            z-index: 2;
            box-shadow: 0 5px 15px rgba(139, 69, 19, 0.2);
        }
        
        .event-image {
            height: 200px;
            overflow: hidden;
        }
        
        .event-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .event-card:hover .event-image img {
            transform: scale(1.1);
        }
        
        .event-content {
            padding: 25px;
        }
        
        .event-title {
            font-size: 1.4rem;
            margin-bottom: 10px;
            color: var(--dark-color);
        }
        
        .event-time {
            color: var(--primary-color);
            font-weight: 500;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .event-time i {
            font-size: 1rem;
        }
        
        .event-description {
            color: #666;
            margin-bottom: 20px;
            font-size: 0.95rem;
        }
        
        .event-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--primary-color);
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .event-link:hover {
            color: var(--primary-light);
            gap: 12px;
        }
        
        .view-all-btn {
            text-align: center;
            margin-top: 40px;
        }
        
        /* Newsletter Section */
        .newsletter-section {
            background: var(--gradient-dark);
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        .newsletter-section:before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(212, 167, 106, 0.1) 0%, transparent 70%);
            animation: rotate 20s linear infinite;
        }
        
        @keyframes rotate {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }
        
        .newsletter-content {
            position: relative;
            z-index: 2;
            text-align: center;
        }
        
        .newsletter-icon {
            font-size: 4rem;
            margin-bottom: 30px;
            display: inline-block;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: bounce 2s infinite;
        }
        
        @keyframes bounce {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }
        
        .newsletter-form {
            max-width: 600px;
            margin: 40px auto 0;
            position: relative;
        }
        
        .newsletter-input {
            padding: 20px 30px;
            border-radius: 50px;
            border: none;
            width: 100%;
            font-size: 1.1rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }
        
        .newsletter-input:focus {
            outline: none;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
        }
        
        .newsletter-btn {
            position: absolute;
            right: 5px;
            top: 5px;
            bottom: 5px;
            padding: 0 30px;
            border-radius: 50px;
            background: var(--gradient-primary);
            color: white;
            border: none;
            font-weight: 600;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .newsletter-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }
        
        /* About Section */
        .about-section {
            position: relative;
            overflow: hidden;
        }
        
        .about-img-container {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            transform: perspective(1000px) rotateY(-15deg);
            transition: transform 0.5s ease;
            box-shadow: 30px 30px 60px rgba(0, 0, 0, 0.1);
        }
        
        .about-img-container:hover {
            transform: perspective(1000px) rotateY(0deg);
        }
        
        .about-img {
            width: 100%;
            height: auto;
            transition: transform 0.5s ease;
        }
        
        .about-img-container:hover .about-img {
            transform: scale(1.05);
        }
        
        .about-img-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            padding: 40px;
            color: white;
            transform: translateY(100%);
            transition: transform 0.5s ease;
        }
        
        .about-img-container:hover .about-img-overlay {
            transform: translateY(0);
        }
        
        /* Gurus Section */
        .gurus-section {
            background: var(--gradient-light);
        }
        
        .guru-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            margin-bottom: 30px;
            height: 100%;
        }
        
        .guru-card:hover {
            transform: translateY(-20px);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
        }
        
        .guru-img {
            height: 300px;
            overflow: hidden;
            position: relative;
        }
        
        .guru-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s ease;
        }
        
        .guru-card:hover .guru-img img {
            transform: scale(1.1);
        }
        
        .guru-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
            display: flex;
            align-items: flex-end;
            padding: 30px;
            opacity: 0;
            transition: opacity 0.5s ease;
        }
        
        .guru-card:hover .guru-overlay {
            opacity: 1;
        }
        
        .guru-info {
            padding: 20px 30px 0;
            text-align: center;
        }
        
        .guru-name {
            font-size: 1.2rem;
            margin-bottom: 10px;
            text-align: center;
        }
        
       .guru-btn {
            display: inline-block;
            background: var(--gradient-primary);
            color: white;
            border-radius: 20px;
            margin-top: 20px;
            border: none;
            text-align: center;
            padding: 10px 20px;
            transition: all 0.3s ease;
        }
        
        .guru-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 10px 20px rgba(139, 69, 19, 0.3);
        }
        
        /* Video Section - Enhanced */
        .video-section {
            background: var(--gradient-dark);
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        .video-section .section-title h2 {
            color: white;
        }
        
        .video-section .section-title p {
            color: rgba(255, 255, 255, 0.8);
        }
        
        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
        }
        
        .video-card {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            transition: all 0.4s ease;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .video-card:hover {
            transform: translateY(-15px) scale(1.03);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
            border-color: var(--secondary-color);
        }
        
        .video-thumbnail {
            position: relative;
            height: 220px;
            overflow: hidden;
        }
        
        .video-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .video-card:hover .video-thumbnail img {
            transform: scale(1.1);
        }
        
        .video-play {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 2rem;
            transition: all 0.3s ease;
            cursor: pointer;
            z-index: 2;
        }
        
        .video-card:hover .video-play {
            background: var(--gradient-primary);
            color: white;
            transform: translate(-50%, -50%) scale(1.1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }
        
        .video-info {
            padding: 25px;
        }
        
        .video-title {
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: white;
        }
        
        .video-description {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.95rem;
            margin-bottom: 15px;
        }
        
        .video-duration {
            display: inline-block;
            background: rgba(255, 255, 255, 0.1);
            color: var(--secondary-color);
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
        }
        
        /* Gallery Section - Enhanced with Lightbox */
        .gallery-section {
            background: var(--gradient-light);
        }
        
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
        }
        
        .gallery-item {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.4s ease;
            height: 280px;
            cursor: pointer;
        }
        
        .gallery-item:hover {
            transform: translateY(-10px) scale(1.05);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
            z-index: 2;
        }
        
        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s ease;
        }
        
        .gallery-item:hover img {
            transform: scale(1.1);
        }
        
        .gallery-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            display: flex;
            align-items: flex-end;
            padding: 25px;
            opacity: 0;
            transition: opacity 0.5s ease;
        }
        
        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }
        
        .gallery-icon {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.9);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 1.2rem;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease;
            z-index: 3;
        }
        
        .gallery-item:hover .gallery-icon {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Footer */
        footer {
            background: var(--gradient-dark);
            color: white;
            padding-top: 100px;
            position: relative;
            overflow: hidden;
        }
        
        footer:before {
            content: '';
            position: absolute;
            top: -100px;
            left: 0;
            right: 0;
            height: 100px;
            background: var(--gradient-light);
            clip-path: polygon(0 100%, 100% 0, 100% 100%, 0% 100%);
        }
        
        .footer-logo {
            height: 60px;
            margin-bottom: 25px;
            filter: brightness(0) invert(1);
        }
        
        .footer-heading {
            font-size: 1.4rem;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 15px;
        }
        
        .footer-heading:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--gradient-primary);
            border-radius: 2px;
        }
        
        .footer-links a {
            display: block;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 12px;
            transition: all 0.3s ease;
            position: relative;
            padding-left: 0;
        }
        
        .footer-links a:before {
            content: '→';
            position: absolute;
            left: -20px;
            opacity: 0;
            transition: all 0.3s ease;
        }
        
        .footer-links a:hover {
            color: white;
            padding-left: 20px;
        }
        
        .footer-links a:hover:before {
            opacity: 1;
            left: 0;
        }
        
        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 25px;
        }
        
        .social-icon {
            width: 45px;
            height: 45px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }
        
        .social-icon:hover {
            background: var(--gradient-primary);
            transform: translateY(-5px);
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 30px 0;
            margin-top: 70px;
        }
        
        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: var(--gradient-primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 10px 30px rgba(139, 69, 19, 0.3);
            cursor: pointer;
        }
        
        .back-to-top.active {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top:hover {
            transform: translateY(-10px) scale(1.1);
            box-shadow: 0 15px 40px rgba(139, 69, 19, 0.4);
        }
        
        /* Particle Container */
        .particle-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            pointer-events: none;
        }
        
        /* Responsive Styles */
        @media (max-width: 1199px) {
            .hero-title {
                font-size: 3rem;
            }
        }
        
        @media (max-width: 991px) {
            .hero-section {
                padding-top: 120px;
                text-align: center;
                background-attachment: scroll;
            }
            
            .hero-title {
                font-size: 2.8rem;
            }
            
            .section-title h2 {
                font-size: 2.8rem;
            }
            
            .about-img-container {
                transform: none;
                margin-bottom: 50px;
            }
            
            .desktop-nav {
                display: none;
            }
        }
        
        @media (min-width: 992px) {
            .navbar-toggler {
                display: none;
            }
        }
        
        @media (max-width: 767px) {
            .hero-title {
                font-size: 2.3rem;
            }
            
            .section-title h2 {
                font-size: 2.3rem;
            }
            
            .section-padding {
                padding: 70px 0;
            }
            
            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .video-grid, .gallery-grid {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 575px) {
            .hero-title {
                font-size: 2rem;
            }
            
            .section-title h2 {
                font-size: 1.8rem;
            }
            
            .btn-primary, .btn-outline-primary {
                padding: 10px 20px;
            }
            
            .mobile-sidebar {
                width: 280px;
            }
        }
        
        /* FIX 1: Hero Section Z-index Fix */
        .hero-section {
            min-height: 85vh;
            display: flex;
            align-items: center;
            background: linear-gradient(rgba(26, 18, 11, 0.7), rgba(26, 18, 11, 0.8)), 
                        url('https://itcsra.org/wp-content/uploads/2024/02/ITCSRA-Building-1-scaled.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            position: relative;
            overflow: hidden;
            padding-top: 120px;
            padding-bottom: 40px;
            z-index: 2; /* Added */
        }
        
        .hero-content {
            position: relative;
            z-index: 5; /* Increased from 2 to 5 */
            text-align: center;
        }
        
        /* FIX 2: Make event cards clickable */
        .event-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            border: 1px solid #f0f0f0;
            z-index: 3; /* Added */
        }
        
        .event-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--primary-color);
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            z-index: 4; /* Added */
        }
        
        /* FIX 3: Make buttons in hero section clickable */
        .hero-buttons .btn {
            position: relative;
            z-index: 5; /* Added */
        }
        
        /* FIX 4: Mobile menu button visibility */
        .navbar-toggler {
            position: relative;
            z-index: 1001; /* Added - ensure it's above everything */
        }
        
        /* FIX 5: Adjust particle container */
        .particle-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1; /* Keep this low */
            pointer-events: none;
        }
        
        /* FIX 6: Floating notes z-index fix */
        .floating-notes {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1; /* Changed from -1 to 0 */
        }
        
        /* FIX 7: Ensure content is above background elements */
        .container, .row, [data-aos] {
            position: relative;
            z-index: 3;
        }
        
        /* ADDED: Arrow icon for members dropdown */
        .dropdown-desktop .nav-link:after {
            content: '\f078';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            margin-left: 8px;
            font-size: 0.8rem;
            transition: transform 0.3s ease;
        }
        
        .dropdown-desktop:hover .nav-link:after {
            transform: rotate(180deg);
        }
        
        /* ADDED: Owl Carousel Custom Styles */
        .owl-carousel {
            position: relative;
        }
        
        .owl-nav {
            position: absolute;
            top: -70px;
            right: 0;
            display: flex;
            gap: 10px;
        }
        
        .owl-nav button {
            width: 45px;
            height: 45px;
            background: var(--gradient-primary) !important;
            color: white !important;
            border-radius: 50% !important;
            display: flex !important;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem !important;
            transition: all 0.3s ease !important;
            border: none !important;
            box-shadow: 0 5px 15px rgba(139, 69, 19, 0.2) !important;
        }
        
        .owl-nav button:hover {
            transform: translateY(-3px) scale(1.1);
            box-shadow: 0 10px 25px rgba(139, 69, 19, 0.3) !important;
        }
        
        .owl-dots {
            text-align: center;
            margin-top: 30px;
        }
        
        .owl-dot {
            width: 12px !important;
            height: 12px !important;
            background: rgba(139, 69, 19, 0.2) !important;
            border-radius: 50% !important;
            margin: 0 5px !important;
            transition: all 0.3s ease !important;
        }
        
        .owl-dot.active {
            background: var(--gradient-primary) !important;
            transform: scale(1.2);
        }
        
        /* Event Grid Carousel */
        .event-grid-carousel .owl-stage-outer {
            padding: 10px 5px;
            margin: -10px -5px;
        }
        
        .event-grid-carousel .owl-item {
            padding: 10px;
        }
        
        /* Video Grid Carousel */
        .video-grid-carousel .owl-stage-outer {
            padding: 15px 5px;
            margin: -15px -5px;
        }
        
        .video-grid-carousel .owl-item {
            padding: 15px;
        }
        
        /* ADDED: Image Collage Styles */
        .collage-section {
            position: relative;
            overflow: hidden;
        }
        
        .collage-container {
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            grid-template-rows: repeat(8, 80px);
            gap: 15px;
            margin: 40px 0;
        }
        
        .collage-item {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }
        
        .collage-item:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
            z-index: 10;
        }
        
        .collage-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s ease;
        }
        
        .collage-item:hover img {
            transform: scale(1.1);
        }
        
        .collage-item-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 70%);
            display: flex;
            align-items: flex-end;
            padding: 20px;
            opacity: 0;
            transition: opacity 0.5s ease;
        }
        
        .collage-item:hover .collage-item-overlay {
            opacity: 1;
        }
        
        .collage-item-title {
            color: white;
            font-size: 1.1rem;
            font-weight: 600;
            transform: translateY(20px);
            transition: transform 0.5s ease;
        }
        
        .collage-item:hover .collage-item-title {
            transform: translateY(0);
        }
        
        /* Collage Layout */
        .collage-item:nth-child(1) {
            grid-column: 1 / 5;
            grid-row: 1 / 5;
        }
        
        .collage-item:nth-child(2) {
            grid-column: 5 / 9;
            grid-row: 1 / 3;
        }
        
        .collage-item:nth-child(3) {
            grid-column: 9 / 13;
            grid-row: 1 / 5;
        }
        
        .collage-item:nth-child(4) {
            grid-column: 1 / 5;
            grid-row: 5 / 9;
        }
        
        .collage-item:nth-child(5) {
            grid-column: 5 / 9;
            grid-row: 3 / 7;
        }
        
        .collage-item:nth-child(6) {
            grid-column: 9 / 13;
            grid-row: 5 / 9;
        }
        
        .collage-item:nth-child(7) {
            grid-column: 5 / 9;
            grid-row: 7 / 9;
        }

        .guru-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
            background: rgba(26, 18, 11, 0.95);
            backdrop-filter: blur(10px);
        }
        
        .guru-modal.active {
            display: flex;
            animation: modalFadeIn 0.5s ease;
        }
        
        @keyframes modalFadeIn {
            from {
                opacity: 0;
                transform: scale(0.95);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }
        
        .guru-modal-content {
            background: var(--light-color);
            border-radius: 20px;
            max-width: 800px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(139, 69, 19, 0.2);
            animation: modalSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .guru-modal-header {
            padding: 30px 30px 20px;
            background: var(--gradient-primary);
            border-radius: 20px 20px 0 0;
            position: relative;
            color: white;
        }
        
        .guru-modal-title {
            font-size: 2.2rem;
            margin: 0;
            font-weight: 700;
            color: white;
            line-height: 1.3;
        }
        
        .guru-modal-close {
            position: absolute;
            top: 25px;
            right: 25px;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            border-radius: 50%;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10;
        }
        
        .guru-modal-close:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(90deg);
        }
        
        .guru-modal-body {
            padding: 30px;
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--dark-color);
        }
        
        .guru-modal-body p {
            margin-bottom: 20px;
            text-align: justify;
        }
        
        .guru-modal-body p:last-child {
            margin-bottom: 0;
        }
        
        .guru-modal-footer {
            padding: 20px 30px;
            background: var(--gradient-light);
            border-radius: 0 0 20px 20px;
            text-align: center;
            font-weight: 600;
            color: var(--primary-color);
            border-top: 1px solid rgba(139, 69, 19, 0.1);
            font-size: 1.1rem;
        }


        
        /* Responsive adjustments for modals */
        @media (max-width: 768px) {
            .guru-modal-content {
                max-width: 95%;
                max-height: 85vh;
            }
            
            .guru-modal-header {
                padding: 25px 20px 15px;
            }
            
            .guru-modal-title {
                font-size: 1.8rem;
                padding-right: 40px;
            }
            
            .guru-modal-body {
                padding: 25px 20px;
                font-size: 1rem;
            }
            
            .guru-modal-footer {
                padding: 15px 20px;
            }
        }
        
        @media (max-width: 480px) {
            .guru-modal-title {
                font-size: 1.5rem;
            }
            
            .guru-modal-body {
                padding: 20px 15px;
            }
            
            .guru-modal-close {
                top: 20px;
                right: 20px;
                width: 35px;
                height: 35px;
            }
        }
        
        
        /* Responsive adjustments for collage */
        @media (max-width: 991px) {
            .collage-container {
                grid-template-rows: repeat(8, 60px);
                gap: 10px;
            }
        }
        
        @media (max-width: 767px) {
            .collage-container {
                display: flex;
                flex-direction: column;
                gap: 20px;
            }
            
            .collage-item {
                height: 250px;
            }
        }
        
        /* Responsive adjustments for carousel nav */
        @media (max-width: 767px) {
            .owl-nav {
                top: -60px;
            }
            
            .owl-nav button {
                width: 40px;
                height: 40px;
                font-size: 1rem !important;
            }
        }
        
        .owl-carousel .owl-item img {
            display: block;
            width: 100%;
            height: auto;
        }
        
        .event-grid-carousel .owl-stage,
        .video-grid-carousel .owl-stage {
            display: flex;
        }
        
        /* Ensure event cards maintain proper height in carousel */
        .event-grid-carousel .event-card,
        .video-grid-carousel .video-card {
            height: 100%;
            margin-bottom: 0;
        }
        
        /* Add padding to carousel containers */
        .event-grid-carousel,
        .video-grid-carousel {
            padding-top: 40px;
        }
        
        /* Adjust hero section event grid */
        .hero-section .event-grid-carousel {
            margin-top: 40px;
        }
        
        .hero-section .event-grid-carousel .owl-nav {
            top: -60px;
        }
        
        .hero-section .view-all-btn {
            margin-top: 40px;
        }
        
        /* Fix for owl carousel items not showing initially */
        .owl-carousel .owl-item {
            opacity: 0;
            transition: opacity 0.5s ease;
        }
        
        .owl-carousel .owl-item.active {
            opacity: 1;
        }
        
        /* Ensure carousel items are visible */
        .owl-stage-outer {
            overflow: visible !important;
        }
        
        .owl-stage {
            display: flex !important;
        }
        
        .owl-item {
            display: flex !important;
            justify-content: center !important;
        }

        /* Video Section - Carousel with Direct Embeds */
.video-carousel {
    position: relative;
    padding-top: 50px;
}

.video-embed-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
    margin: 0 10px;
    height: 100%;
}

.video-embed-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.video-embed-card .ratio-16x9 {
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.video-embed-card iframe {
    border-radius: 15px 15px 0 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
    line-height: 1.4;
    min-height: 60px;
}

.video-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Owl Carousel Navigation */
.video-carousel .owl-nav {
    position: absolute;
    top: -70px;
    right: 0;
    display: flex;
    gap: 10px;
}

.video-carousel .owl-nav button {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary) !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem !important;
    transition: all 0.3s ease !important;
    border: none !important;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.2) !important;
}

.video-carousel .owl-nav button:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.3) !important;
}

.video-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.video-carousel .owl-dot {
    width: 12px !important;
    height: 12px !important;
    background: rgba(139, 69, 19, 0.2) !important;
    border-radius: 50% !important;
    margin: 0 5px !important;
    transition: all 0.3s ease !important;
}

.video-carousel .owl-dot.active {
    background: var(--gradient-primary) !important;
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .video-carousel .owl-nav {
        top: -60px;
    }
    
    .video-carousel .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 1rem !important;
    }
    
    .video-title {
        font-size: 1.1rem;
        min-height: auto;
    }
}

/* Remove old video modal styles */
.video-thumbnail,
.video-play,
#videoModal,
.video-modal {
    display: none !important;
}

/* Video Section - Carousel with Direct Embeds */
.video-carousel {
    position: relative;
    padding-top: 50px;
}

.video-embed-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
    margin: 0 10px;
    height: 100%;
}

.video-embed-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.video-embed-card .ratio-16x9 {
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.video-embed-card iframe {
    border-radius: 15px 15px 0 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 20px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    text-align: center;
}

.video-title {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--dark-color);
    line-height: 1.4;
    font-weight: 600;
}

/* Owl Carousel Navigation */
.video-carousel .owl-nav {
    position: absolute;
    top: -70px;
    right: 0;
    display: flex;
    gap: 10px;
}

.video-carousel .owl-nav button {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary) !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem !important;
    transition: all 0.3s ease !important;
    border: none !important;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.2) !important;
}

.video-carousel .owl-nav button:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.3) !important;
}

.video-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.video-carousel .owl-dot {
    width: 12px !important;
    height: 12px !important;
    background: rgba(139, 69, 19, 0.2) !important;
    border-radius: 50% !important;
    margin: 0 5px !important;
    transition: all 0.3s ease !important;
}

.video-carousel .owl-dot.active {
    background: var(--gradient-primary) !important;
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .video-carousel .owl-nav {
        top: -60px;
    }
    
    .video-carousel .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 1rem !important;
    }
    
    .video-title {
        font-size: 1rem;
    }
    
    .video-info {
        padding: 15px 10px;
        min-height: 70px;
    }
}

/* Remove old video modal styles */
.video-thumbnail,
.video-play,
#videoModal,
.video-modal,
.video-description,
.video-duration {
    display: none !important;
}

/* Video Section - Carousel with Direct Embeds */
.video-carousel {
    position: relative;
    padding-top: 50px;
}

.video-embed-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
    margin: 0 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-embed-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.video-embed-card .ratio-16x9 {
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    width: 100%;
    flex-shrink: 0; /* Prevent video from shrinking */
}

/* Ensure all iframes have consistent dimensions */
.video-embed-card iframe {
    border-radius: 15px 15px 0 0;
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    display: block;
}

.video-info {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    text-align: center;
    flex-grow: 1; /* Allow title area to grow */
}

.video-title {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--dark-color);
    line-height: 1.3;
    font-weight: 600;
    width: 100%;
}

/* Owl Carousel Navigation */
.video-carousel .owl-nav {
    position: absolute;
    top: -70px;
    right: 0;
    display: flex;
    gap: 10px;
}

.video-carousel .owl-nav button {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary) !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem !important;
    transition: all 0.3s ease !important;
    border: none !important;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.2) !important;
}

.video-carousel .owl-nav button:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.3) !important;
}

.video-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.video-carousel .owl-dot {
    width: 12px !important;
    height: 12px !important;
    background: rgba(139, 69, 19, 0.2) !important;
    border-radius: 50% !important;
    margin: 0 5px !important;
    transition: all 0.3s ease !important;
}

.video-carousel .owl-dot.active {
    background: var(--gradient-primary) !important;
    transform: scale(1.2);
}

/* Force consistent item sizing in Owl Carousel */
.video-carousel .owl-stage {
    display: flex !important;
}

.video-carousel .owl-item {
    display: flex !important;
    height: 100% !important;
}

.video-carousel .owl-item > .video-embed-card {
    width: 100% !important;
    height: 100% !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .video-carousel .owl-nav {
        top: -60px;
    }
    
    .video-carousel .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 1rem !important;
    }
    
    .video-title {
        font-size: 1rem;
        line-height: 1.2;
    }
    
    .video-info {
        padding: 12px 10px;
        min-height: 65px;
    }
    
    .video-embed-card iframe {
        height: 180px; /* Slightly smaller on mobile */
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .video-embed-card iframe {
        height: 180px; /* Consistent height for tablets */
    }
}

@media (min-width: 992px) {
    .video-embed-card iframe {
        height: 200px; /* Consistent height for desktop */
    }
}

/* Remove old video modal styles */
.video-thumbnail,
.video-play,
#videoModal,
.video-modal,
.video-description,
.video-duration {
    display: none !important;
}


/*contact page*/

 .page-hero {
            position: relative;
            min-height: 45vh;
            display: flex;
            align-items: center;
            margin-top: 96px; /* adjust based on your header height */
            padding: 80px 0;
            z-index: 2;
        }
        .page-hero .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(139, 69, 19, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
            z-index: 1;
        }
        .page-hero .container {
            position: relative;
            z-index: 5;
            color: white;
        }
        .page-title {
            font-size: 4rem;
            font-family: var(--font-heading);
            font-weight: 800;
            margin-bottom: 0.5rem;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }
        .page-subtitle {
            font-size: 1.3rem;
            color: rgba(255, 255, 255, 0.9);
            max-width: 600px;
            margin-bottom: 1.5rem;
        }
        .breadcrumb-custom {
            background: transparent;
            padding: 0;
            margin-bottom: 0;
            font-size: 1.1rem;
        }
        .breadcrumb-custom .breadcrumb-item {
            color: rgba(255, 255, 255, 0.8);
        }
        .breadcrumb-custom .breadcrumb-item a {
            color: var(--secondary-color);
            text-decoration: none;
            transition: color 0.2s;
        }
        .breadcrumb-custom .breadcrumb-item a:hover {
            color: white;
            text-decoration: underline;
        }
        .breadcrumb-custom .breadcrumb-item.active {
            color: white;
        }
        .breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
            color: rgba(255, 255, 255, 0.5);
            content: "›";
            font-size: 1.4rem;
            line-height: 1;
            padding-right: 0.8rem;
        }

        /* Contact Info Cards */
        .contact-section {
            padding: 80px 0;
            background: var(--light-color);
            position: relative;
            z-index: 3;
        }
        .info-card {
            background: white;
            border-radius: 20px;
            padding: 30px 25px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
            transition: all 0.4s ease;
            border: 1px solid rgba(139, 69, 19, 0.05);
            height: 100%;
        }
        .info-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 25px 50px rgba(139, 69, 19, 0.1);
            border-color: var(--secondary-color);
        }
        .info-icon {
            width: 70px;
            height: 70px;
            background: var(--gradient-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 25px;
            color: white;
            font-size: 1.8rem;
            box-shadow: 0 10px 20px rgba(139, 69, 19, 0.2);
        }
        .info-card h4 {
            font-size: 1.6rem;
            margin-bottom: 20px;
            font-weight: 700;
            color: var(--dark-color);
        }
        .info-card p, .info-card a {
            color: #555;
            font-size: 1.05rem;
            line-height: 1.6;
            margin-bottom: 8px;
            text-decoration: none;
            transition: color 0.2s;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .info-card a:hover {
            color: var(--primary-color);
        }
        .info-card i.fa-phone, 
        .info-card i.fa-envelope,
        .info-card i.fa-location-dot {
            width: 22px;
            color: var(--secondary-color);
            font-size: 1.2rem;
        }

        /* Contact Form */
        .contact-form-wrapper {
            background: white;
            border-radius: 30px;
            padding: 45px;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
            border: 1px solid rgba(212, 167, 106, 0.2);
            margin-top: 30px;
        }
        .form-title {
            font-size: 2.2rem;
            margin-bottom: 15px;
        }
        .form-subtitle {
            color: #666;
            margin-bottom: 35px;
            font-size: 1.1rem;
        }
        .form-floating {
            margin-bottom: 25px;
        }
        .form-floating input, 
        .form-floating textarea {
            border: 1px solid #e0d6cc;
            border-radius: 12px;
            font-family: var(--font-body);
            padding: 1rem 1.2rem;
            height: auto;
            background: #fefcf8;
            transition: all 0.2s;
        }
        .form-floating textarea {
            height: 140px;
        }
        .form-floating input:focus, 
        .form-floating textarea:focus {
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 4px rgba(212, 167, 106, 0.15);
            background: white;
        }
        .form-floating label {
            padding-left: 1.2rem;
            color: #6a5e51;
            font-weight: 400;
        }
        .btn-submit {
            background: var(--gradient-primary);
            color: white;
            border: none;
            padding: 16px 40px;
            border-radius: 60px;
            font-weight: 600;
            font-size: 1.2rem;
            width: 100%;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        .btn-submit:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--gradient-dark);
            transition: left 0.4s;
            z-index: -1;
        }
        .btn-submit:hover:before {
            left: 0;
        }
        .btn-submit:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 35px rgba(139, 69, 19, 0.3);
        }

        /* Side card with extra info */
        .info-side-card {
            background: white;
            border-radius: 24px;
            padding: 35px;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(212, 167, 106, 0.2);
            height: 100%;
        }

        /* Map Placeholder */
        .map-container {
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            border: 3px solid white;
            margin-top: 60px;
        }
        .map-placeholder {
            background: #ddd2c2;
            height: 380px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-image: url('https://itcsra.org/wp-content/uploads/2024/02/ITCSRA-Building-1-scaled.jpg');
            background-size: cover;
            background-position: center;
            position: relative;
        }
        .map-overlay {
            background: rgba(26, 18, 11, 0.7);
            backdrop-filter: blur(2px);
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.3rem;
            gap: 15px;
            flex-wrap: wrap;
        }
        .map-overlay i {
            font-size: 2.5rem;
            color: var(--secondary-color);
        }

        /* Responsive */
        @media (max-width: 991px) {
            .page-title { font-size: 3rem; }
            .page-hero { min-height: 35vh; padding: 60px 0; }
        }
        @media (max-width: 767px) {
            .page-title { font-size: 2.5rem; }
            .contact-form-wrapper { padding: 30px 20px; }
            .info-side-card { padding: 25px; }
        }

     /*   about page*/

         .about-intro {
            padding: 80px 0;
            background: var(--light-color);
        }
        .intro-text {
            font-size: 1.2rem;
            line-height: 1.8;
            color: #444;
            margin-bottom: 2rem;
            text-align: justify;
        }
        .founder-quote {
            background: var(--gradient-light);
            padding: 40px;
            border-radius: 30px;
            border-left: 8px solid var(--secondary-color);
            box-shadow: 0 20px 40px rgba(0,0,0,0.05);
            margin-top: 30px;
        }
        .founder-quote p {
            font-size: 1.3rem;
            font-style: italic;
            color: var(--dark-color);
            margin-bottom: 1rem;
        }
        .founder-quote footer {
            background: transparent;
            color: var(--primary-color);
            font-weight: 600;
            padding-top: 15px;
            border-top: 1px dashed rgba(139,69,19,0.2);
        }

        /* chronology grid */
        .chronology-section {
            background: white;
            padding: 80px 0;
        }
        .chronology-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
            margin-top: 40px;
        }
        .chrono-card {
            background: var(--light-color);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 30px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            border: 1px solid rgba(212,167,106,0.1);
        }
        .chrono-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 50px rgba(139,69,19,0.1);
            border-color: var(--secondary-color);
        }
        .chrono-img {
            height: 200px;
            overflow: hidden;
        }
        .chrono-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        .chrono-card:hover .chrono-img img {
            transform: scale(1.05);
        }
        .chrono-content {
            padding: 25px 20px;
        }
        .chrono-period {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 8px;
        }
        .chrono-title {
            font-size: 1.1rem;
            color: var(--dark-color);
            font-weight: 500;
        }

        /* vision section (with audio) */
        .vision-section {
            background: var(--gradient-dark);
            color: white;
            padding: 100px 0;
            position: relative;
            overflow: hidden;
        }
        .vision-section:before {
            content: '';
            position: absolute;
            top: -50%; left: -50%;
            width: 200%; height: 200%;
            background: radial-gradient(circle, rgba(212,167,106,0.1) 0%, transparent 70%);
            animation: rotate 30s linear infinite;
        }
        @keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
        .vision-block {
            position: relative;
            z-index: 2;
            max-width: 900px;
            margin: 0 auto;
            text-align: center;
        }
        .vision-icon {
            font-size: 4rem;
            color: var(--secondary-color);
            margin-bottom: 30px;
        }
        .vision-title {
            font-size: 3rem;
            margin-bottom: 30px;
            font-family: var(--font-heading);
        }
        .vision-text {
            font-size: 1.3rem;
            line-height: 1.8;
            opacity: 0.95;
            margin-bottom: 40px;
        }
        .soundcloud-wrapper {
            margin: 40px auto 20px;
            max-width: 700px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 30px rgba(0,0,0,0.3);
            border: 2px solid rgba(255,255,255,0.1);
        }
        .soundcloud-wrapper iframe {
            width: 100%;
            height: 166px;
            display: block;
        }

        /* founders & pioneers */
        .founders-section {
            padding: 100px 0;
            background: var(--gradient-light);
        }
        .founder-card {
            background: white;
            border-radius: 30px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0,0,0,0.05);
            transition: all 0.4s;
            height: 100%;
            border: 1px solid rgba(212,167,106,0.2);
        }
        .founder-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 30px 60px rgba(139,69,19,0.1);
        }
        .founder-img {
            height: 320px;
            overflow: hidden;
        }
        .founder-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s;
        }
        .founder-card:hover .founder-img img {
            transform: scale(1.05);
        }
        .founder-info {
            padding: 30px;
            text-align: center;
        }
        .founder-name {
            font-size: 1.8rem;
            margin-bottom: 5px;
            color: var(--dark-color);
        }
        .founder-role {
            color: var(--primary-color);
            font-weight: 500;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 2px dashed rgba(139,69,19,0.1);
        }

        /* aims & objectives */
        .aims-section {
            padding: 80px 0;
            background: white;
        }
        .aims-list {
            list-style: none;
            padding: 0;
            margin: 40px 0 0;
        }
        .aims-list li {
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
            padding: 25px;
            background: var(--light-color);
            border-radius: 20px;
            transition: all 0.3s;
            border-left: 5px solid transparent;
        }
        .aims-list li:hover {
            border-left-color: var(--secondary-color);
            box-shadow: 0 15px 30px rgba(0,0,0,0.05);
            transform: translateX(10px);
        }
        .aims-icon {
            width: 60px;
            height: 60px;
            background: var(--gradient-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.8rem;
            flex-shrink: 0;
        }
        .aims-text h4 {
            font-size: 1.5rem;
            margin-bottom: 8px;
            color: var(--dark-color);
        }
        .aims-text p {
            color: #555;
            margin: 0;
            font-size: 1.05rem;
        }

        /* realising the vision section (NEW) */
        .realising-section {
            padding: 80px 0;
            background: var(--gradient-light);
        }
        .realising-card {
            background: white;
            border-radius: 30px;
            padding: 50px;
            box-shadow: 0 25px 50px rgba(0,0,0,0.05);
            border: 1px solid rgba(212,167,106,0.2);
        }
        .kichlu-profile {
            display: flex;
            align-items: center;
            gap: 40px;
            margin-top: 40px;
            flex-wrap: wrap;
        }
        .kichlu-img {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            overflow: hidden;
            border: 5px solid var(--secondary-color);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        .kichlu-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .kichlu-quote {
            flex: 1;
            font-size: 1.2rem;
            font-style: italic;
            color: #555;
            border-left: 4px solid var(--secondary-color);
            padding-left: 30px;
        }

        /* platforms section (NEW) */
        .platforms-section {
            padding: 80px 0;
            background: white;
        }
        .platforms-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-top: 50px;
        }
        .platform-card {
            background: var(--light-color);
            padding: 40px 30px;
            border-radius: 30px;
            text-align: center;
            transition: all 0.4s;
            border: 1px solid rgba(212,167,106,0.1);
            height: 100%;
        }
        .platform-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 30px 60px rgba(139,69,19,0.1);
            border-color: var(--secondary-color);
        }
        .platform-icon {
            width: 90px;
            height: 90px;
            background: var(--gradient-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            color: white;
            font-size: 2.5rem;
        }
        .platform-card p {
            color: #555;
            line-height: 1.8;
            font-size: 1.05rem;
            text-align: left;
        }

        /* guru mini grid */
        .gurus-legacy {
            background: var(--gradient-light);
            padding: 80px 0;
        }
        .mini-guru-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }
        .mini-guru-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            text-align: center;
            box-shadow: 0 10px 25px rgba(0,0,0,0.03);
            transition: all 0.3s;
            border: 1px solid rgba(212,167,106,0.1);
        }
        .mini-guru-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(139,69,19,0.1);
        }
        .mini-guru-img {
            height: 160px;
            overflow: hidden;
        }
        .mini-guru-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .mini-guru-name {
            padding: 15px 10px;
            font-weight: 600;
            color: var(--dark-color);
            background: white;
        }

        /* library & archives */
        .library-section {
            background: var(--light-color);
            padding: 80px 0;
        }
        .feature-card {
            background: white;
            border-radius: 20px;
            padding: 35px;
            height: 100%;
            box-shadow: 0 15px 30px rgba(0,0,0,0.03);
            transition: all 0.3s;
            border: 1px solid rgba(212,167,106,0.15);
        }
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 25px 50px rgba(0,0,0,0.05);
        }
        .feature-icon {
            width: 70px;
            height: 70px;
            background: var(--gradient-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 25px;
            color: white;
            font-size: 2rem;
        }

        @media (max-width: 991px) {
            .chronology-grid { grid-template-columns: repeat(2, 1fr); }
            .platforms-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 767px) {
            .chronology-grid { grid-template-columns: 1fr; }
            .platforms-grid { grid-template-columns: 1fr; }
            .kichlu-profile { flex-direction: column; text-align: center; }
            .kichlu-quote { border-left: none; border-top: 4px solid var(--secondary-color); padding-left: 0; padding-top: 20px; }
        }
/*
Admission Page      */  

 .admissions-intro {
            padding: 60px 0 30px;
            background: var(--light-color);
        }
        .admissions-intro .lead {
            font-size: 1.25rem;
            color: #555;
            max-width: 900px;
            margin: 0 auto;
            text-align: center;
        }

        /* form container – styled to match theme */
        .admissions-form-wrapper {
            background: white;
            border-radius: 40px;
            padding: 50px;
            box-shadow: 0 30px 60px rgba(0,0,0,0.05);
            border: 1px solid rgba(212,167,106,0.2);
            margin: 40px auto 80px;
            max-width: 1100px;
        }

        /* fluent form overrides – keep original fields, only improve spacing/colors */
        .fluentform {
            --fluentform-primary: var(--primary-color);
            --fluentform-secondary: var(--secondary-color);
            background: #fff;
            padding: 25px 25px 15px;
            border-radius: 10px;
            margin-bottom: 50px;
        }
        .fluent_form_3 .ff-el-form-control {
            border: 1px solid #e0d6cc;
            border-radius: 12px;
            padding: 12px 16px;
            font-family: var(--font-body);
            background: #fefcf8;
            transition: all 0.2s;
        }
        .fluent_form_3 .ff-el-form-control:focus {
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 4px rgba(212,167,106,0.15);
            background: white;
        }
        .fluent_form_3 .ff-el-input--label label {
            font-weight: 600;
            color: var(--dark-color);
            font-size: 1rem;
            margin-bottom: 6px;
        }
        .fluent_form_3 .ff-t-container {
            gap: 20px;
        }
        .fluent_form_3 .ff-btn-submit {
            background: var(--gradient-primary) !important;
            border: none !important;
            padding: 16px 40px !important;
            border-radius: 60px !important;
            font-weight: 600 !important;
            font-size: 1.2rem !important;
            width: 100%;
            transition: all 0.3s ease !important;
            position: relative;
            overflow: hidden;
            z-index: 1;
            color: white !important;
            box-shadow: 0 10px 25px rgba(139,69,19,0.2);
        }
        .fluent_form_3 .ff-btn-submit:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(139,69,19,0.3);
        }
        .fluent_form_3 .ff-btn-submit:before {
            content: '';
            position: absolute;
            top: 0; left: -100%;
            width: 100%; height: 100%;
            background: var(--gradient-dark);
            transition: left 0.4s;
            z-index: -1;
        }
        .fluent_form_3 .ff-btn-submit:hover:before {
            left: 0;
        }

        /* file upload button styling */
        .fluent_form_3 .ff_upload_btn {
            display: inline-block;
            background: var(--gradient-primary);
            color: white;
            padding: 10px 25px;
            border-radius: 50px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
        }
        .fluent_form_3 .ff_upload_btn:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 20px rgba(139,69,19,0.2);
        }

        /* address sections spacing */
        .fluent-address .ff-t-container {
            margin-bottom: 15px;
        }

        /* flatpickr (datepicker) matches theme */
        .flatpickr-calendar {
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            border: 1px solid var(--secondary-color);
        }

        @media (max-width: 767px) {
            .admissions-form-wrapper {
                padding: 30px 20px;
            }
        }

         .admissions-form-wrapper {
                    background: white;
                    border-radius: 40px;
                    padding: 50px;
                    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
                    border: 1px solid rgba(212,167,106,0.3);
                    margin: 40px auto 80px;
                    max-width: 1200px;
                }

                /* Form section headers */
                .form-section-header {
                    background: #ffffff;
                    color: var(--primary-color);
                    padding: 10px 30px;
                    border-radius: 60px;
                    margin: 40px 0 30px;
                    font-family: var(--font-heading);
                    font-size: 1.6rem;
                    font-weight: 600;
                    letter-spacing: 0.5px;
                    box-shadow: 0 10px 20px rgba(139, 69, 19, 0.15);
                    display: flex;
                    align-items: center;
                    gap: 12px;
                    border-radius: 0;
                }
                .form-section-header i {
                    font-size: 2rem;
                    color: var(--primary-color);
                }
                .form-section-header:first-of-type {
                    margin-top: 10px;
                }

                /* Two-column layout */
                .ff-t-container {
                    display: grid;
                    grid-template-columns: 1fr 1fr;
                    gap: 25px;
                    margin-bottom: 20px;
                }

                /* Full width items */
                .ff-full-width {
                    grid-column: span 2;
                }

                /* Form group styling */
                .ff-el-group {
                    margin-bottom: 20px;
                }

                .ff-el-input--label label {
                    font-weight: 600;
                    color: var(--dark-color);
                    font-size: 0.95rem;
                    margin-bottom: 8px;
                    display: block;
                }

                .ff-el-form-control {
                    width: 100%;
                    border: 2px solid #e8ddd0;
                    border-radius: var(--input-radius);
                    padding: 14px 18px;
                    font-family: var(--font-body);
                    background: #fefcf8;
                    transition: all 0.2s;
                    font-size: 1rem;
                }

                .ff-el-form-control:focus {
                    border-color: var(--secondary-color);
                    box-shadow: 0 0 0 4px rgba(212,167,106,0.15);
                    background: white;
                    outline: none;
                }

                /* Address blocks */
                .fluent-address {
                    background: var(--section-bg);
                    border-radius: 30px;
                    padding: 30px;
                    margin-bottom: 30px;
                    border: 1px solid rgba(212,167,106,0.2);
                }

                .fluent-address .ff-el-input--label .spc-label {
                    font-size: 1.3rem;
                    font-weight: 700;
                    color: var(--primary-color);
                    margin-bottom: 20px;
                    display: block;
                    border-bottom: 3px solid var(--secondary-color);
                    padding-bottom: 10px;
                }

                /* File upload styling */
                .ff_file_upload_holder {
                    display: flex;
                    align-items: center;
                    gap: 15px;
                    background: var(--section-bg);
                    padding: 12px 20px;
                    border-radius: 60px;
                    border: 2px dashed var(--secondary-color);
                }

                .ff_upload_btn {
                    background: var(--gradient-primary);
                    color: white;
                    padding: 12px 28px;
                    border-radius: 50px;
                    font-weight: 600;
                    cursor: pointer;
                    transition: all 0.3s;
                    display: inline-block;
                    border: none;
                    font-size: 0.95rem;
                }

                .ff_upload_btn:hover {
                    transform: translateY(-3px);
                    box-shadow: 0 10px 20px rgba(139,69,19,0.2);
                }

                .ff_file_upload_holder span:last-child {
                    color: #666;
                    font-size: 0.95rem;
                }

                /* Submit button */
                .ff_submit_btn_wrapper {
                    margin-top: 50px;
                    text-align: center;
                }

                .ff-btn-submit {
                    background: var(--gradient-primary) !important;
                    border: none !important;
                    padding: 18px 60px !important;
                    border-radius: 60px !important;
                    font-weight: 700 !important;
                    font-size: 1.3rem !important;
                    color: white !important;
                    box-shadow: 0 15px 30px rgba(139,69,19,0.25) !important;
                    transition: all 0.3s ease !important;
                    cursor: pointer;
                    min-width: 280px;
                    letter-spacing: 0.5px;
                }

                .ff-btn-submit:hover {
                    transform: translateY(-5px) scale(1.02);
                    box-shadow: 0 25px 45px rgba(139,69,19,0.35) !important;
                }

                /* Responsive */
                @media (max-width: 768px) {
                    .ff-t-container {
                        grid-template-columns: 1fr;
                        gap: 15px;
                    }
                    .ff-full-width {
                        grid-column: span 1;
                    }
                    .admissions-form-wrapper {
                        padding: 30px 20px;
                    }
                    .form-section-header {
                        font-size: 1.3rem;
                        padding: 15px 20px;
                    }
                }

                /* Remove default fieldset styles */
                fieldset {
                    border: none !important;
                    margin: 0 !important;
                    padding: 0 !important;
                }

                /* Style dropdowns */
                select.ff-el-form-control {
                    appearance: none;
                    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238B4513' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
                    background-repeat: no-repeat;
                    background-position: right 18px center;
                    background-size: 16px;
                }

                /* Spacing for name fields */
                .ff-name-field-wrapper {
                    margin-bottom: 20px;
                }

/*Blog List Page*/

  /* Blog page specific styles */
        .blog-section {
            padding: 60px 0 100px;
            background: var(--light-color);
        }

        .blog-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-bottom: 50px;
        }

        .blog-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            height: 100%;
            border: 1px solid rgba(212,167,106,0.1);
        }

        .blog-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 50px rgba(139,69,19,0.1);
            border-color: var(--secondary-color);
        }

        .blog-card-link {
            text-decoration: none;
            color: inherit;
            display: block;
            height: 100%;
        }

        .blog-img {
            height: 220px;
            overflow: hidden;
        }

        .blog-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .blog-card:hover .blog-img img {
            transform: scale(1.05);
        }

        .blog-content {
            padding: 25px;
        }

        .blog-meta {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 12px;
            font-size: 0.9rem;
            color: #666;
        }

        .blog-date i {
            margin-right: 5px;
            color: var(--secondary-color);
        }

        .blog-category {
            background: var(--gradient-light);
            padding: 4px 12px;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 500;
            color: var(--primary-color);
        }

        .blog-title {
            font-size: 1.25rem;
            line-height: 1.4;
            margin-bottom: 12px;
            color: var(--dark-color);
            font-weight: 700;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .blog-excerpt {
            color: #555;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 20px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .blog-read-more {
            color: var(--primary-color);
            font-weight: 600;
            font-size: 0.95rem;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: gap 0.3s;
        }

        .blog-read-more i {
            font-size: 0.8rem;
            transition: transform 0.3s;
        }

        .blog-card:hover .blog-read-more {
            gap: 12px;
        }

        .blog-card:hover .blog-read-more i {
            transform: translateX(5px);
        }

        /* Pagination */
        .blog-pagination {
            text-align: center;
            margin-top: 50px;
        }

        .page-numbers {
            display: inline-block;
            width: 45px;
            height: 45px;
            line-height: 45px;
            text-align: center;
            border-radius: 50%;
            background: white;
            color: var(--dark-color);
            font-weight: 600;
            margin: 0 5px;
            transition: all 0.3s;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            text-decoration: none;
        }

        .page-numbers.current {
            background: var(--gradient-primary);
            color: white;
        }

        .page-numbers:not(.current):hover {
            background: var(--secondary-color);
            color: white;
            transform: translateY(-3px);
        }

        .page-numbers.dots {
            border: none;
            box-shadow: none;
            background: transparent;
        }

        .page-numbers.next {
            width: auto;
            padding: 0 20px;
            border-radius: 30px;
        }

        @media (max-width: 991px) {
            .blog-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 767px) {
            .blog-grid {
                grid-template-columns: 1fr;
            }
            .blog-img {
                height: 200px;
            }
        }

/*Blog Single*/

/* Blog Details Page Specific Styles */
        .blog-post-hero {
            min-height: 50vh;
            background: linear-gradient(rgba(26, 18, 11, 0.7), rgba(26, 18, 11, 0.8)), 
                        url('https://itcsra.org/wp-content/uploads/2026/01/Sammelan-blog-web-p-650x366.webp');
            background-size: cover;
            background-position: center;
        }

        .post-categories {
            margin-bottom: 20px;
        }

        .category-badge {
            background: var(--gradient-primary);
            color: white;
            padding: 6px 18px;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 600;
            display: inline-block;
            text-decoration: none;
            box-shadow: 0 5px 15px rgba(139,69,19,0.3);
        }

        .post-meta-hero {
            display: flex;
            gap: 30px;
            margin: 25px 0;
            color: rgba(255,255,255,0.9);
            font-size: 1rem;
        }

        .meta-item i {
            color: var(--secondary-color);
            margin-right: 8px;
        }

        .blog-post-section {
            padding: 80px 0;
            background: var(--light-color);
        }

        .blog-post-card {
            background: white;
            border-radius: 30px;
            overflow: hidden;
            box-shadow: 0 25px 50px rgba(0,0,0,0.05);
            border: 1px solid rgba(212,167,106,0.2);
            padding: 40px;
        }

        .post-featured-image {
            margin: -40px -40px 40px -40px;
            height: 500px;
            overflow: hidden;
        }

        .post-featured-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .post-content {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #444;
        }

        .post-content p {
            margin-bottom: 25px;
        }

        .post-content sup {
            color: var(--primary-color);
            font-weight: 600;
        }

        .post-tags {
            margin-top: 50px;
            padding-top: 30px;
            border-top: 2px dashed rgba(139,69,19,0.1);
        }

        .post-tags h4 {
            font-size: 1.2rem;
            margin-bottom: 15px;
            color: var(--dark-color);
        }

        .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .tag-link {
            background: var(--gradient-light);
            color: var(--primary-color);
            padding: 8px 18px;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s;
            border: 1px solid rgba(212,167,106,0.2);
        }

        .tag-link:hover {
            background: var(--gradient-primary);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(139,69,19,0.2);
        }

        .author-bio {
            display: flex;
            gap: 30px;
            margin-top: 50px;
            padding: 30px;
            background: var(--gradient-light);
            border-radius: 20px;
            align-items: center;
        }

        .author-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            overflow: hidden;
            border: 4px solid white;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }

        .author-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .author-info h4 {
            font-size: 1.4rem;
            margin-bottom: 10px;
        }

        .author-info a {
            color: var(--primary-color);
            text-decoration: none;
        }

        .author-info p {
            color: #555;
            margin: 0;
            font-size: 1rem;
        }

        /* Comments Section */
        .comments-section {
            margin-top: 60px;
            padding-top: 40px;
            border-top: 2px dashed rgba(139,69,19,0.1);
        }

        .comments-section h3 {
            font-size: 2rem;
            margin-bottom: 15px;
        }

        .comment-notes {
            color: #666;
            margin-bottom: 30px;
            font-style: italic;
        }

        .comment-form .form-group {
            margin-bottom: 25px;
        }

        .comment-form label {
            font-weight: 600;
            color: var(--dark-color);
            margin-bottom: 8px;
            display: block;
        }

        .comment-form input[type="text"],
        .comment-form input[type="email"],
        .comment-form input[type="url"],
        .comment-form textarea {
            width: 100%;
            padding: 14px 18px;
            border: 2px solid #e8ddd0;
            border-radius: 12px;
            font-family: var(--font-body);
            background: #fefcf8;
            transition: all 0.2s;
            font-size: 1rem;
        }

        .comment-form input:focus,
        .comment-form textarea:focus {
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 4px rgba(212,167,106,0.15);
            background: white;
            outline: none;
        }

        .form-check {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 20px 0;
        }

        .form-check input[type="checkbox"] {
            width: 20px;
            height: 20px;
            cursor: pointer;
            accent-color: var(--primary-color);
        }

        .form-check label {
            margin: 0;
            cursor: pointer;
            font-size: 0.95rem;
            color: #555;
        }

        .btn-submit-comment {
            background: var(--gradient-primary);
            color: white;
            border: none;
            padding: 16px 40px;
            border-radius: 60px;
            font-weight: 600;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 10px 25px rgba(139,69,19,0.2);
        }

        .btn-submit-comment:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(139,69,19,0.3);
        }

        /* Sidebar Styles */
        .blog-sidebar {
            position: sticky;
            top: 120px;
        }

        .sidebar-widget {
            background: white;
            border-radius: 20px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 15px 30px rgba(0,0,0,0.03);
            border: 1px solid rgba(212,167,106,0.1);
        }

        .widget-title {
            font-size: 1.4rem;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 15px;
        }

        .widget-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--gradient-primary);
            border-radius: 2px;
        }

        /* Search Widget */
        .sidebar-search {
            display: flex;
            gap: 10px;
        }

        .sidebar-search input {
            flex: 1;
            padding: 12px 18px;
            border: 2px solid #e8ddd0;
            border-radius: 12px;
            font-size: 0.95rem;
        }

        .sidebar-search button {
            width: 50px;
            height: 50px;
            background: var(--gradient-primary);
            border: none;
            border-radius: 12px;
            color: white;
            cursor: pointer;
            transition: all 0.3s;
        }

        .sidebar-search button:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 20px rgba(139,69,19,0.2);
        }

        /* Recent Posts */
        .recent-posts-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .recent-posts-list li {
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px dashed rgba(139,69,19,0.1);
        }

        .recent-posts-list li:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }

        .recent-post-item {
            text-decoration: none;
            display: block;
        }

        .recent-post-title {
            display: block;
            font-weight: 600;
            color: var(--dark-color);
            margin-bottom: 5px;
            transition: color 0.2s;
        }

        .recent-post-title:hover {
            color: var(--primary-color);
        }

        .recent-post-date {
            font-size: 0.85rem;
            color: #888;
        }

        .recent-post-date i {
            margin-right: 5px;
        }

        /* Categories */
        .categories-list {
            list-style: none;
            padding: 0;
        }

        .categories-list li {
            margin-bottom: 12px;
        }

        .categories-list a {
            display: flex;
            justify-content: space-between;
            color: #555;
            text-decoration: none;
            transition: color 0.2s;
            padding: 8px 0;
        }

        .categories-list a:hover {
            color: var(--primary-color);
        }

        .categories-list span {
            color: var(--secondary-color);
            font-weight: 600;
        }

        /* Responsive */
        @media (max-width: 991px) {
            .blog-sidebar {
                margin-top: 50px;
                position: static;
            }
            
            .post-featured-image {
                height: 350px;
            }
        }

        @media (max-width: 767px) {
            .blog-post-card {
                padding: 25px;
            }
            
            .post-featured-image {
                margin: -25px -25px 25px -25px;
                height: 250px;
            }
            
            .post-meta-hero {
                flex-direction: column;
                gap: 10px;
            }
            
            .author-bio {
                flex-direction: column;
                text-align: center;
            }
            
            .author-avatar {
                margin: 0 auto;
            }
        }


        /*Gallery Page*/

                .gallery-section {
            padding: 60px 0 80px;
            background: var(--light-color);
        }

        /* Clean Grid Gallery */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
            margin-top: 50px;
        }

        .gallery-grid-item {
            position: relative;
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            cursor: pointer;
            transition: all 0.3s ease;
            aspect-ratio: 1 / 1;
        }

        .gallery-grid-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(139,69,19,0.15);
        }

        .gallery-grid-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .gallery-grid-item:hover img {
            transform: scale(1.05);
        }

        .grid-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .gallery-grid-item:hover .grid-overlay {
            opacity: 1;
        }

        .overlay-icon {
            width: 50px;
            height: 50px;
            background: rgba(255,255,255,0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 1.3rem;
            transform: scale(0.8);
            transition: transform 0.3s ease;
        }

        .gallery-grid-item:hover .overlay-icon {
            transform: scale(1);
        }

        /* Video Gallery Section - Light Background */
        .video-gallery-section {
            padding: 80px 0 100px;
            background: var(--gradient-light);
        }

        .video-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-top: 50px;
        }

        .video-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.3s ease;
            border: 1px solid rgba(212,167,106,0.2);
            box-shadow: 0 15px 30px rgba(0,0,0,0.05);
        }

        .video-card:hover {
            transform: translateY(-10px);
            border-color: var(--secondary-color);
            box-shadow: 0 25px 50px rgba(139,69,19,0.1);
        }

        .video-wrapper {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
            height: 0;
            overflow: hidden;
        }

        .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        .video-card-content {
            padding: 20px;
        }

        .video-card-content h3 {
            font-size: 1.1rem;
            line-height: 1.4;
            margin: 0;
            color: var(--dark-color);
            font-weight: 600;
        }

        /* Responsive */
        @media (max-width: 991px) {
            .gallery-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 20px;
            }
            .video-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 767px) {
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
            }
            .video-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 575px) {
            .gallery-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Lightbox customization */
        .lb-loader .lb-cancel {
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%23D4A76A"><circle cx="50" cy="50" r="45"/></svg>');
        }
        .lb-nav a.lb-prev,
        .lb-nav a.lb-next {
            opacity: 1;
        }
        .lb-data .lb-close {
            background: var(--gradient-primary);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: white;
            text-decoration: none;
        }


         /* Scholars Page Specific Styles */
        .scholars-section {
            padding: 60px 0 80px;
            background: var(--light-color);
        }

        .scholars-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
            margin-top: 40px;
        }

        .scholar-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            border: 1px solid rgba(212,167,106,0.1);
            position: relative;
        }

        .scholar-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 50px rgba(139,69,19,0.1);
            border-color: var(--secondary-color);
        }

        .scholar-img {
            height: 280px;
            overflow: hidden;
        }

        .scholar-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .scholar-card:hover .scholar-img img {
            transform: scale(1.05);
        }

        .scholar-info {
            padding: 20px 15px 25px;
            text-align: center;
        }

        .scholar-name {
            font-size: 1.2rem;
            margin-bottom: 15px;
            color: var(--dark-color);
            line-height: 1.4;
            font-weight: 700;
        }

        .scholar-btn {
            background: var(--gradient-primary);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(139,69,19,0.2);
        }

        .scholar-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 25px rgba(139,69,19,0.3);
        }

        /* Modal Styles */
        .scholar-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            z-index: 10000;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .scholar-modal.active {
            display: flex;
        }

        .modal-content {
            background: white;
            border-radius: 20px;
            max-width: 600px;
            width: 100%;
            max-height: 80vh;
            overflow-y: auto;
            box-shadow: 0 30px 60px rgba(0,0,0,0.3);
        }

        .modal-header {
            padding: 25px 30px;
            background: var(--gradient-primary);
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-radius: 20px 20px 0 0;
        }

        .modal-header h3 {
            font-size: 1.6rem;
            margin: 0;
            color: white;
        }

        .modal-close {
            background: none;
            border: none;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            line-height: 1;
            transition: transform 0.3s;
        }

        .modal-close:hover {
            transform: rotate(90deg);
        }

        .modal-body {
            padding: 30px;
            font-size: 1.1rem;
            line-height: 1.7;
            color: #444;
        }

        .modal-body p {
            margin-bottom: 20px;
        }

        .modal-footer {
            padding: 20px 30px;
            background: var(--gradient-light);
            text-align: center;
            font-weight: 600;
            color: var(--primary-color);
            border-top: 1px solid rgba(139,69,19,0.1);
        }

        /* Pagination */
        .pagination-wrapper {
            margin-top: 60px;
            text-align: center;
        }

        .pagination {
            display: inline-flex;
            gap: 8px;
        }

        .page-numbers {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            background: white;
            border-radius: 50%;
            color: var(--dark-color);
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }

        .page-numbers.current {
            background: var(--gradient-primary);
            color: white;
        }

        .page-numbers:not(.current):hover {
            background: var(--secondary-color);
            color: white;
            transform: translateY(-3px);
        }

        .page-numbers.next {
            width: auto;
            padding: 0 20px;
            border-radius: 30px;
        }

        .page-numbers.dots {
            background: transparent;
            box-shadow: none;
        }

        /* Responsive */
        @media (max-width: 1199px) {
            .scholars-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 991px) {
            .scholars-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 575px) {
            .scholars-grid {
                grid-template-columns: 1fr;
            }
            .modal-header h3 {
                font-size: 1.3rem;
            }
        }

.events-filter-section {
            padding: 40px 0 20px;
            background: var(--light-color);
        }

        .filter-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
            background: white;
            padding: 20px 30px;
            border-radius: 60px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            border: 1px solid rgba(212,167,106,0.2);
        }

        .filter-tabs {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .filter-tab {
            background: none;
            border: none;
            padding: 10px 25px;
            border-radius: 50px;
            font-weight: 600;
            color: #666;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 1rem;
        }

        .filter-tab:hover {
            color: var(--primary-color);
            background: rgba(139,69,19,0.05);
        }

        .filter-tab.active {
            background: var(--gradient-primary);
            color: white;
            box-shadow: 0 5px 15px rgba(139,69,19,0.2);
        }

        .search-wrapper {
            flex: 0 1 300px;
        }

        .event-search-form {
            display: flex;
            align-items: center;
            background: #f5f0e9;
            border-radius: 50px;
            overflow: hidden;
            border: 1px solid #e8ddd0;
        }

        .event-search-input {
            flex: 1;
            padding: 12px 20px;
            border: none;
            background: transparent;
            font-size: 0.95rem;
        }

        .event-search-input:focus {
            outline: none;
        }

        .event-search-btn {
            background: var(--gradient-primary);
            border: none;
            width: 50px;
            height: 50px;
            color: white;
            cursor: pointer;
            transition: all 0.3s;
        }

        .event-search-btn:hover {
            background: var(--gradient-dark);
        }

        .events-section {
            padding: 20px 0 20px;
            background: var(--light-color);
        }

        .event-category {
            margin-bottom: 60px;
        }

        .category-title {
            font-size: 2.2rem;
            margin-bottom: 30px;
            position: relative;
            padding-bottom: 15px;
        }

        .category-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 4px;
            background: var(--gradient-primary);
            border-radius: 2px;
        }

        .events-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-bottom: 40px;
        }

        .event-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            border: 1px solid rgba(212,167,106,0.1);
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .event-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 50px rgba(139,69,19,0.1);
            border-color: var(--secondary-color);
        }

        .event-date-badge {
            background: var(--gradient-primary);
            color: white;
            padding: 20px;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .event-day {
            font-size: 2.5rem;
            font-weight: 800;
            line-height: 1;
            font-family: var(--font-heading);
        }

        .event-month {
            font-size: 1.2rem;
            font-weight: 600;
            text-transform: uppercase;
        }

        .event-year {
            font-size: 0.9rem;
            opacity: 0.9;
        }

        .event-content {
            padding: 25px;
            flex: 1;
        }

        .event-title {
            font-size: 1.3rem;
            margin-bottom: 15px;
            line-height: 1.4;
        }

        .event-title a {
            color: var(--dark-color);
            text-decoration: none;
            transition: color 0.2s;
        }

        .event-title a:hover {
            color: var(--primary-color);
        }

        .event-meta {
            margin-bottom: 15px;
            font-size: 0.95rem;
            color: #666;
        }

        .event-meta span {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 8px;
        }

        .event-meta i {
            color: var(--secondary-color);
            width: 18px;
        }

        .event-description {
            color: #555;
            line-height: 1.6;
            margin-bottom: 20px;
            font-size: 0.95rem;
        }

        .event-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--primary-color);
            font-weight: 600;
            text-decoration: none;
            transition: gap 0.3s;
            margin-top: auto;
        }

        .event-link:hover {
            gap: 12px;
        }

        .event-link i {
            font-size: 0.8rem;
        }

        .no-events-message {
            text-align: center;
            padding: 80px 20px;
            background: white;
            border-radius: 30px;
            margin-bottom: 60px;
            border: 1px solid rgba(212,167,106,0.2);
            box-shadow: 0 15px 40px rgba(0,0,0,0.05);
        }

        .message-icon {
            font-size: 5rem;
            color: var(--secondary-color);
            margin-bottom: 20px;
        }

        .no-events-message h3 {
            font-size: 2rem;
            margin-bottom: 15px;
            color: var(--dark-color);
        }

        .no-events-message p {
            color: #666;
            font-size: 1.1rem;
            max-width: 500px;
            margin: 0 auto;
        }

        .no-upcoming-placeholder {
            grid-column: 1 / -1;
            text-align: center;
            padding: 40px;
            background: white;
            border-radius: 20px;
            color: #666;
        }

        .view-all-wrapper {
            text-align: center;
            margin-top: 30px;
        }



        /* Export Links */
        .export-wrapper {
            margin-top: 60px;
            padding-top: 40px;
            border-top: 2px dashed rgba(139,69,19,0.1);
        }

        .export-links {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 30px;
            flex-wrap: wrap;
        }

        .export-label {
            font-weight: 600;
            color: var(--dark-color);
            font-size: 1.1rem;
        }

        .export-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #555;
            text-decoration: none;
            transition: color 0.2s;
            padding: 8px 15px;
            border-radius: 50px;
            background: white;
            border: 1px solid rgba(212,167,106,0.2);
        }

        .export-link:hover {
            color: var(--primary-color);
            border-color: var(--secondary-color);
            background: var(--gradient-light);
        }

        .export-link i {
            color: var(--secondary-color);
        }

        /* Pagination */
        .pagination-wrapper {
            margin-top: 50px;
            text-align: center;
        }

        .pagination {
            display: inline-flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .page-numbers {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            background: white;
            border-radius: 50%;
            color: var(--dark-color);
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }

        .page-numbers.current {
            background: var(--gradient-primary);
            color: white;
        }

        .page-numbers:not(.current):hover {
            background: var(--secondary-color);
            color: white;
            transform: translateY(-3px);
        }

        .page-numbers.next {
            width: auto;
            padding: 0 20px;
            border-radius: 30px;
        }

        .page-numbers.dots {
            background: transparent;
            box-shadow: none;
        }

        /* Responsive */
        @media (max-width: 1199px) {
            .events-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 991px) {
            .filter-wrapper {
                flex-direction: column;
                align-items: flex-start;
                border-radius: 30px;
            }
            
            .search-wrapper {
                width: 100%;
            }
            
            .export-links {
                gap: 15px;
            }
        }

        @media (max-width: 767px) {
            .events-grid {
                grid-template-columns: 1fr;
            }
            
            .category-title {
                font-size: 1.8rem;
            }
            
            .export-links {
                flex-direction: column;
                align-items: flex-start;
            }
        }

        @media (max-width: 575px) {
            .filter-tabs {
                width: 100%;
            }
            
            .filter-tab {
                flex: 1;
                text-align: center;
                padding: 10px 15px;
                font-size: 0.9rem;
            }
        }

        /* Event Details Page Specific Styles */
        .event-detail-hero {
            min-height: 35vh;
        }

        .event-detail-section {
            padding: 60px 0 100px;
            background: var(--light-color);
        }

        .event-detail-wrapper {
            max-width: 1200px;
            margin: 0 auto;
        }

        .event-back-link {
            margin-bottom: 30px;
        }

        .event-back-link a {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            padding: 10px 20px;
            background: white;
            border-radius: 50px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: all 0.3s;
        }

        .event-back-link a:hover {
            background: var(--gradient-primary);
            color: white;
            transform: translateX(-5px);
        }

        .event-passed-notice {
            background: #f8eaea;
            border-left: 5px solid #dc3545;
            padding: 18px 25px;
            border-radius: 12px;
            margin-bottom: 40px;
            display: flex;
            align-items: center;
            gap: 15px;
            color: #721c24;
            font-weight: 600;
        }

        .event-passed-notice i {
            font-size: 1.5rem;
            color: #dc3545;
        }

        .event-detail-grid {
            display: grid;
            grid-template-columns: 1fr 380px;
            gap: 40px;
            margin-bottom: 50px;
        }

        .event-main-info {
            background: white;
            border-radius: 30px;
            padding: 40px;
            box-shadow: 0 25px 50px rgba(0,0,0,0.05);
            border: 1px solid rgba(212,167,106,0.2);
        }

        .event-detail-title {
            font-size: 2.8rem;
            margin-bottom: 30px;
            color: var(--dark-color);
            line-height: 1.2;
        }

        .event-datetime-large {
            display: flex;
            gap: 20px;
            align-items: center;
            background: var(--gradient-light);
            padding: 25px;
            border-radius: 20px;
            margin-bottom: 30px;
            border: 1px solid rgba(212,167,106,0.3);
        }

        .datetime-icon {
            width: 70px;
            height: 70px;
            background: var(--gradient-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2rem;
            box-shadow: 0 10px 20px rgba(139,69,19,0.2);
        }

        .datetime-text {
            display: flex;
            flex-direction: column;
        }

        .event-date-full {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--dark-color);
            line-height: 1.2;
        }

        .event-time-full {
            font-size: 1.3rem;
            color: var(--primary-color);
            font-weight: 600;
        }

        .event-description-full {
            margin-bottom: 30px;
            font-size: 1.1rem;
            line-height: 1.8;
            color: #444;
        }

        .event-description-full p {
            margin-bottom: 20px;
        }

        .event-tags {
            margin-top: 40px;
            padding-top: 30px;
            border-top: 2px dashed rgba(139,69,19,0.1);
        }

        .tags-label {
            display: block;
            font-weight: 700;
            color: var(--dark-color);
            margin-bottom: 15px;
            font-size: 1.1rem;
        }

        .tags-label i {
            color: var(--secondary-color);
            margin-right: 8px;
        }

        .tags-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .event-tag {
            background: var(--gradient-light);
            color: var(--primary-color);
            padding: 8px 18px;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s;
            border: 1px solid rgba(212,167,106,0.2);
        }

        .event-tag:hover {
            background: var(--gradient-primary);
            color: white;
            transform: translateY(-2px);
        }

        /* Add to Calendar Dropdown */
        .add-to-calendar {
            margin-top: 30px;
        }

        .calendar-dropdown {
            position: relative;
            display: inline-block;
        }

        .calendar-btn {
            background: var(--gradient-primary);
            color: white;
            border: none;
            padding: 16px 35px;
            border-radius: 60px;
            font-weight: 600;
            font-size: 1.1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 10px 25px rgba(139,69,19,0.2);
            transition: all 0.3s;
        }

        .calendar-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(139,69,19,0.3);
        }

        .calendar-btn i:last-child {
            font-size: 0.9rem;
            transition: transform 0.3s;
        }

        .calendar-dropdown:hover .calendar-btn i:last-child {
            transform: rotate(180deg);
        }

        .calendar-dropdown-content {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            min-width: 280px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            border-radius: 20px;
            margin-top: 10px;
            padding: 10px 0;
            z-index: 100;
            border: 1px solid rgba(212,167,106,0.2);
        }

        .calendar-dropdown:hover .calendar-dropdown-content {
            display: block;
        }

        .calendar-option {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 25px;
            color: var(--dark-color);
            text-decoration: none;
            transition: all 0.2s;
        }

        .calendar-option:hover {
            background: var(--gradient-light);
            color: var(--primary-color);
        }

        .calendar-option i {
            width: 20px;
            color: var(--secondary-color);
        }

        /* Meta Cards */
        .event-meta-info {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .meta-card {
            background: white;
            border-radius: 20px;
            padding: 25px;
            box-shadow: 0 15px 30px rgba(0,0,0,0.03);
            border: 1px solid rgba(212,167,106,0.15);
        }

        .meta-card-title {
            font-size: 1.3rem;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid var(--secondary-color);
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--dark-color);
        }

        .meta-card-title i {
            color: var(--primary-color);
        }

        .meta-card-content {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .meta-item {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .meta-label {
            font-weight: 600;
            color: var(--primary-color);
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .meta-value {
            color: #444;
            font-size: 1.05rem;
        }

        .category-link {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
        }

        .category-link:hover {
            text-decoration: underline;
        }

        .organizer-name {
            font-weight: 600;
            color: var(--dark-color);
        }

        .venue-name {
            font-weight: 600;
            color: var(--dark-color);
            font-size: 1.2rem;
        }

        .venue-address {
            line-height: 1.5;
            color: #666;
        }

        .venue-map-link {
            margin-top: 10px;
        }

        .map-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            padding: 8px 15px;
            background: var(--gradient-light);
            border-radius: 50px;
            transition: all 0.3s;
        }

        .map-link:hover {
            background: var(--gradient-primary);
            color: white;
            transform: translateY(-2px);
        }

        /* Map Section */
        .event-map-section {
            margin-top: 50px;
            padding-top: 30px;
            border-top: 2px dashed rgba(139,69,19,0.1);
        }

        .map-title {
            font-size: 1.6rem;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--dark-color);
        }

        .map-title i {
            color: var(--secondary-color);
        }

        .map-container {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            border: 3px solid white;
        }

        .map-container iframe {
            display: block;
        }

        /* Event Navigation */
        .event-navigation {
            display: flex;
            justify-content: space-between;
            margin-top: 60px;
            padding-top: 40px;
            border-top: 2px dashed rgba(139,69,19,0.1);
        }

        .nav-previous, .nav-next {
            flex: 1;
            max-width: 45%;
        }

        .nav-next {
            text-align: right;
        }

        .event-navigation .nav-link {
            display: flex;
            flex-direction: column;
            gap: 8px;
            padding: 20px;
            background: white;
            border-radius: 15px;
            text-decoration: none;
            transition: all 0.3s;
            border: 1px solid rgba(212,167,106,0.1);
            color: var(--dark-color);
        }

        .event-navigation .nav-link:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(139,69,19,0.1);
            border-color: var(--secondary-color);
        }

        .event-navigation .nav-link.disabled {
            opacity: 0.5;
            pointer-events: none;
            background: #f5f5f5;
        }

        .event-navigation .nav-link i {
            color: var(--secondary-color);
            font-size: 1.1rem;
        }

        .event-navigation .nav-link span:first-of-type {
            font-size: 0.9rem;
            color: #666;
        }

        .nav-title {
            font-weight: 600;
            font-size: 1.1rem;
            color: var(--dark-color);
        }

        .nav-next .nav-link {
            align-items: flex-end;
        }

        /* Responsive */
        @media (max-width: 991px) {
            .event-detail-grid {
                grid-template-columns: 1fr;
            }
            
            .event-detail-title {
                font-size: 2.2rem;
            }
            
            .event-date-full {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 767px) {
            .event-datetime-large {
                flex-direction: column;
                text-align: center;
            }
            
            .event-navigation {
                flex-direction: column;
                gap: 20px;
            }
            
            .nav-previous, .nav-next {
                max-width: 100%;
            }
        }

        @media (max-width: 575px) {
            .event-detail-title {
                font-size: 1.8rem;
            }
            
            .event-main-info {
                padding: 25px;
            }
        }


.calendar-dropdown-content.show {
            display: block;
        }

.dropdown-item.active, .dropdown-item:active {
            background: var(--gradient-primary);
            color: #fff;
        }


/* Parent Details Section */
.styled-details-section {
    background: var(--gradient-light);
    border-radius: 30px;
    padding: 30px;
    margin: 40px 0;
    border: 1px solid rgba(212,167,106,0.2);
}

.parent-details-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 15px;
}

.parent-details-title i {
    font-size: 2rem;
}

.parent-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    border: 1px solid rgba(212,167,106,0.1);
}

.parent-card h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px dashed var(--secondary-color);
}

.parent-card h4 i {
    font-size: 1.2rem;
}

/* ID Proof Section */
.id-proof-section {
    background: white;
    border-radius: 25px;
    padding: 25px;
    margin-top: 20px;
    border: 2px dashed var(--secondary-color);
}

.id-proof-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.id-proof-title i {
    color: var(--primary-color);
}

.id-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.id-proof-item {
    background: var(--gradient-light);
    padding: 15px;
    border-radius: 15px;
    border: 1px solid rgba(212,167,106,0.2);
}

.id-proof-item label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.id-proof-item input {
    width: 100%;
    padding: 10px;
    border: 2px solid #e8ddd0;
    border-radius: 10px;
    background: white;
    font-size: 0.95rem;
}

.id-proof-item input:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212,167,106,0.1);
}

/* Audio Upload Section */
.audio-upload-section {
    background: var(--gradient-primary);
    border-radius: 30px;
    padding: 35px;
    margin: 40px 0 30px;
    color: white;
    position: relative;
    overflow: hidden;
}

.audio-upload-section:before {
    content: '♪';
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 150px;
    opacity: 0.1;
    color: white;
    transform: rotate(-15deg);
}

.audio-upload-title {
    font-size: 2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.audio-upload-title i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.audio-guidelines {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 25px;
    margin: 25px 0;
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    z-index: 2;
}

.audio-guidelines h5 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.audio-guidelines ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.audio-guidelines li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    font-size: 0.95rem;
}

.audio-guidelines li i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.audio-upload-area {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-top: 20px;
    text-align: center;
    border: 3px dashed var(--secondary-color);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.audio-upload-area:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.audio-upload-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.audio-upload-area h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.audio-upload-area p {
    color: #666;
    margin-bottom: 25px;
}

.audio-file-input {
    display: none;
}

.audio-upload-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(139,69,19,0.3);
}

.audio-upload-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(139,69,19,0.4);
}

.audio-file-info {
    margin-top: 20px;
    padding: 15px;
    background: var(--gradient-light);
    border-radius: 15px;
    color: var(--dark-color);
    display: none;
}

.audio-file-info.active {
    display: block;
    animation: slideIn 0.3s ease;
}

.audio-file-name {
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.audio-file-name i {
    color: #28a745;
}

.audio-file-size {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .id-proof-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .id-proof-grid {
        grid-template-columns: 1fr;
    }
    
    .audio-guidelines ul {
        grid-template-columns: 1fr;
    }
    
    .audio-upload-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 575px) {
    .parent-card {
        padding: 20px;
    }
    
    .audio-upload-section {
        padding: 25px;
    }
}

/* Upload hint text */
.upload-hint {
    font-size: 0.85rem;
    color: #666;
    margin-left: 10px;
}

.ff_file_upload_holder {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--section-bg);
    padding: 12px 20px;
    border-radius: 60px;
    border: 2px dashed var(--secondary-color);
    flex-wrap: wrap;
}

.ff_upload_btn {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    font-size: 0.95rem;
}

.ff_upload_btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(139,69,19,0.2);
}

.ff_upload_btn i {
    font-size: 1rem;
}

/* ID Proof Section Updates */
.id-proof-section {
    background: white;
    border-radius: 25px;
    padding: 30px;
    margin-top: 25px;
    border: 2px dashed var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.id-proof-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 15px;
}


.required-field label:after {
    content: " *";
    color: #dc3545;
    font-weight: bold;
}

/* Compact file upload boxes */
.ff_file_upload_holder {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #f9f6f0 !important;
    padding: 6px 12px !important;
    border-radius: 30px !important;
    border: 1px dashed var(--secondary-color) !important;
    min-height: 40px !important;
    margin-bottom: 0 !important;
    flex-wrap: wrap !important;
}

.ff_upload_btn {
    background: var(--gradient-primary) !important;
    color: white !important;
    padding: 6px 16px !important;
    border-radius: 30px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    border: none !important;
    font-size: 0.85rem !important;
    white-space: nowrap !important;
}

.ff_upload_btn i {
    font-size: 0.85rem !important;
}

.upload-hint {
    font-size: 0.8rem !important;
    color: #666 !important;
    margin-left: 0 !important;
    max-width: 150px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* For the birth certificate and photo upload rows */
.ff-t-container .ff_file_upload_holder {
    width: 100%;
}

/* Style for when file is selected */
.ff_file_upload_holder .ff_upload_btn.selected {
    background: var(--gradient-success, #28a745) !important;
}

/* ID Proof section file uploads */
.id-proof-section .ff_file_upload_holder {
    background: white !important;
    border: 1px solid #e8ddd0 !important;
    padding: 4px 10px !important;
}

/* Make the file inputs row tighter */
.ff-t-container {
    gap: 15px !important;
    margin-bottom: 10px !important;
}

/* Adjust spacing in ID proof section */
.id-proof-section {
    padding: 20px !important;
    margin-top: 15px !important;
}

.id-proof-section .ff-t-container {
    margin-bottom: 8px !important;
}

.id-proof-section .ff-t-cell {
    margin-bottom: 0 !important;
}

.id-proof-section .ff-el-group {
    margin-bottom: 0 !important;
}

/* Light background for audio upload section - REPLACE the existing .audio-upload-section */
.audio-upload-section {
    background: linear-gradient(135deg, #f9f0e6 0%, #f5e8d9 100%) !important;
    border-radius: 30px !important;
    padding: 30px !important;
    margin: 30px 0 !important;
    color: var(--dark-color) !important;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 167, 106, 0.3) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03) !important;
}

.audio-upload-section:before {
    content: '♪';
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 120px;
    opacity: 0.05;
    color: var(--primary-color);
    transform: rotate(-15deg);
}

.audio-upload-title {
    font-size: 1.8rem !important;
    margin-bottom: 15px !important;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
    color: var(--primary-color) !important;
}

.audio-upload-title i {
    font-size: 2.2rem !important;
    color: var(--secondary-color) !important;
}

/* Update the guidelines style for light background */
.audio-upload-section .fa-info-circle {
    color: var(--primary-color) !important;
}

.audio-upload-section span {
    color: #555 !important;
}

.audio-upload-area {
    background: white !important;
    border-radius: 20px !important;
    padding: 25px !important;
    margin-top: 20px;
    text-align: center;
    border: 2px dashed var(--secondary-color) !important;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02) !important;
}

.audio-upload-area:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(139,69,19,0.05) !important;
}

.audio-upload-icon {
    font-size: 3rem !important;
    color: var(--primary-color) !important;
    margin-bottom: 15px;
}

.audio-upload-icon i {
    color: var(--secondary-color) !important;
}

.audio-upload-area h4 {
    color: var(--dark-color) !important;
    margin-bottom: 8px;
    font-size: 1.2rem !important;
}

.audio-upload-area p {
    color: #666 !important;
    margin-bottom: 20px;
    font-size: 0.9rem !important;
}

.audio-file-input {
    display: none;
}

.audio-upload-btn {
    background: var(--gradient-primary) !important;
    color: white !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 60px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(139,69,19,0.15) !important;
}

.audio-upload-btn:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 12px 25px rgba(139,69,19,0.25) !important;
}

.audio-file-info {
    margin-top: 15px;
    padding: 12px;
    background: #f0e9e0 !important;
    border-radius: 12px;
    color: var(--dark-color) !important;
    display: none;
    border: 1px solid rgba(212,167,106,0.3) !important;
}

.audio-file-info.active {
    display: block;
    animation: slideIn 0.3s ease;
}

.audio-file-name {
    font-weight: 600;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    font-size: 0.95rem !important;
}

.audio-file-name i {
    color: #28a745 !important;
}

.audio-file-size {
    font-size: 0.8rem !important;
    color: #666 !important;
    margin-top: 5px;
}

/* Make form more compact overall */
.fluent_form_3 .ff-el-group {
    margin-bottom: 12px !important;
}

.fluent_form_3 .ff-el-input--label {
    margin-bottom: 4px !important;
}

.fluent_form_3 .ff-el-input--label label {
    font-size: 0.9rem !important;
}

.fluent_form_3 .ff-el-form-control {
    padding: 10px 14px !important;
    font-size: 0.95rem !important;
}

/* Make the parent details section more compact */
.styled-details-section {
    padding: 20px !important;
    margin: 25px 0 !important;
}

.parent-card {
    padding: 15px 20px !important;
    margin-bottom: 15px !important;
}

.parent-card h4 {
    font-size: 1.2rem !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
}

/* Form section headers if you uncomment them */
.form-section-header {
    padding: 8px 20px !important;
    margin: 25px 0 15px !important;
    font-size: 1.3rem !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ff_file_upload_holder {
        flex-direction: row !important;
        align-items: center !important;
    }
    
    .upload-hint {
        max-width: 120px !important;
    }
}

.modal-body p {
    text-align: justify;
}

/* Custom Scrollbar for Modal Content - Themed */
.modal-content::-webkit-scrollbar {
    width: 8px;
    background-color: var(--light-color);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--gradient-light);
    border-radius: 10px;
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-dark);
    transform: scale(1.05);
    cursor: pointer;
}

.modal-content::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, #8B4513 0%, #B8860B 100%);
}

/* For Firefox */
.modal-content {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--gradient-light);
}

/* Optional: Add a subtle glow effect on hover */
.modal-content:hover::-webkit-scrollbar-thumb {
    box-shadow: 0 0 10px rgba(139, 69, 19, 0.3);
}

/* Style for the modal content container to ensure scrollbar appears */
.guru-modal-content {
    max-height: 90vh;
    overflow-y: auto;
    /* Keep your existing styles */
}

/* Additional polish: Style the scrollbar corner if needed */
.modal-content::-webkit-scrollbar-corner {
    background: transparent;
}

/* For Edge and IE */
.modal-content {
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

/* Optional: Add a decorative element to the scrollbar thumb */
.modal-content::-webkit-scrollbar-thumb {
    position: relative;
    overflow: visible;
}

.modal-content::-webkit-scrollbar-thumb::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-content::-webkit-scrollbar-thumb:hover::after {
    opacity: 1;
}

/* Elegant version - More refined */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(139, 69, 19, 0.05);
    border-radius: 20px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--primary-light), var(--accent-color));
    box-shadow: 0 0 8px rgba(212, 167, 106, 0.4);
}

/* Firefox */
.modal-content {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) rgba(139, 69, 19, 0.05);
}

/* Bold version - More noticeable */
.modal-content::-webkit-scrollbar {
    width: 10px;
    background: var(--gradient-light);
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(212, 167, 106, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 20px;
    border: 2px solid var(--light-color);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-dark);
    transform: scale(1.02);
    border-color: var(--secondary-color);
}

/* Firefox */
.modal-content {
    scrollbar-width: auto;
    scrollbar-color: var(--primary-color) rgba(212, 167, 106, 0.1);
}