/* Larger font for contact info phone and email links */
.info-card .info-text a[href^="tel"],
.info-card .info-text a[href^="mailto"] {
    font-size: 1.25em;
    font-weight: 600;
}
/* Address list hover effect in contact section */
.address-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.address-list li {
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--primary-blue);
    font-weight: 500;
    background: linear-gradient(135deg, rgba(27, 75, 143, 0.05), rgba(27, 75, 143, 0.02));
    border-left: 3px solid var(--primary-yellow);
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    padding-left: 40px;
}

.address-list li::before {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 14px;
    color: var(--primary-yellow);
    font-size: 14px;
}

.address-list li:hover {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 2px 10px var(--shadow-hover);
    transform: translateX(5px);
    border-left-color: var(--accent-yellow);
}

.address-list li:hover::before {
    color: var(--accent-yellow);
}
/* Footer phone and email links white color */
.footer-contact a[href^="tel"],
.footer-contact a[href^="mailto"] {
    color: #fff;
}
.footer-contact a[href^="tel"]:hover,
.footer-contact a[href^="mailto"]:hover {
    color: var(--accent-yellow);
}
/* Phone and Email Link Hover Effect (No Underline) */
a[href^="tel"],
a[href^="mailto"] {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s, background 0.3s, box-shadow 0.3s;
    border-radius: 4px;
    padding: 2px 4px;
    background: transparent;
}
a[href^="tel"]:hover,
a[href^="mailto"]:hover {
    color: var(--accent-yellow);
    background: rgba(27, 75, 143, 0.07);
    box-shadow: 0 2px 8px var(--shadow-hover);
    text-decoration: none;
}
/* ==================== 
   CSS Variables & Reset 
   ==================== */

:root {
    /* Primary Colors - Yellow & Blue Theme */
    --primary-yellow: #FDB813;
    --primary-blue: #1B4B8F;
    --dark-blue: #0F2C54;
    --light-blue: #4A90E2;
    --accent-yellow: #FFD700;
    --pale-yellow: #FFF8E7;
    
    /* Secondary Colors */
    --text-dark: #2C3E50;
    --text-light: #5A6C7D;
    --white: #FFFFFF;
    --off-white: #F9FAFB;
    --border-color: #E5E7EB;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    
    /* Cultural Accent Colors */
    --terracotta: #E86A33;
    --saffron: #FF9933;
    --cultural-gold: #C9A840;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-bengali: 'Hind Siliguri', sans-serif;
    --font-serif: 'Cormorant Garamond', serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* Remove tap highlight on mobile */
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure proper image rendering on mobile */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight */
}

ul {
    list-style: none;
}

/* Improve touch targets for mobile */
button,
input,
select,
textarea {
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    -webkit-tap-highlight-color: transparent;
}

/* ==================== 
   Navigation Bar 
   ==================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px var(--shadow-hover);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.logo:active {
    transform: scale(0.98);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-yellow));
    color: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-family: var(--font-bengali);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(253, 184, 19, 0.3);
}

.logo-text h1 {
    font-family: var(--font-bengali);
    font-size: 32px;
    margin-bottom: -5px;
    background: linear-gradient(135deg, #1B4B8F 0%, #4A90E2 30%, #FDB813 60%, #FFD700 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    animation: headerGradientShift 6s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(253, 184, 19, 0.3);
    filter: drop-shadow(0 2px 4px rgba(27, 75, 143, 0.2));
    transition: transform 0.4s ease;
}

/* Premium gradient animation */
@keyframes headerGradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Smooth fade-in animation */
@keyframes headerFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mild aesthetic hover - subtle scale and faster gradient */
.logo-text h1:hover {
    transform: scale(1.05);
    animation: headerGradientShift 3s ease-in-out infinite;
}

.logo-text p {
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.btn-join {
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-yellow));
    color: var(--primary-blue);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(253, 184, 19, 0.3);
    transition: var(--transition);
}

.btn-join:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 184, 19, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: var(--transition);
}

/* Mobile navigation elements (hidden on desktop) */
.nav-overlay,
.nav-swipe-indicator,
.mobile-menu-header {
    display: none;
}

/* ==================== 
   Hero Section 
   ==================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(135deg, rgba(8, 30, 65, 0.92) 0%, rgba(15, 50, 110, 0.90) 50%, rgba(22, 65, 130, 0.88) 100%),
        url('public/hero.jpg') center center / cover no-repeat;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.06;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 40px, var(--primary-yellow) 40px, var(--primary-yellow) 80px),
        repeating-linear-gradient(-45deg, transparent, transparent 40px, var(--primary-yellow) 40px, var(--primary-yellow) 80px);
    background-size: 120px 120px;
    pointer-events: none;
}

.hero-pattern::before {
    content: '🎭 📖 🎵 🎨';
    position: absolute;
    font-size: 100px;
    opacity: 0.03;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    letter-spacing: 60px;
    white-space: nowrap;
    animation: float 20s infinite alternate;
}

/* Flower Falling Animation - Left Side */
.flowers-left {
    position: absolute;
    left: 0;
    top: 0;
    width: 20%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.flowers-left .flower {
    position: absolute;
    font-size: 40px;
    animation: flowerFallLeft 12s linear infinite;
    text-shadow: 0 0 15px rgba(253, 184, 19, 0.6);
    opacity: 0;
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
}

/* Individual flower positioning - Left Side (scattered) */
.flowers-left .f1 { left: 10%; animation-duration: 10s; animation-delay: 0s; }
.flowers-left .f2 { left: 25%; animation-duration: 13s; animation-delay: 0.3s; }
.flowers-left .f3 { left: 45%; animation-duration: 11s; animation-delay: 0.7s; }
.flowers-left .f4 { left: 60%; animation-duration: 14s; animation-delay: 1.1s; }
.flowers-left .f5 { left: 80%; animation-duration: 12s; animation-delay: 1.5s; }
.flowers-left .f6 { left: 15%; animation-duration: 13s; animation-delay: 2s; }
.flowers-left .f7 { left: 35%; animation-duration: 11s; animation-delay: 2.4s; }
.flowers-left .f8 { left: 55%; animation-duration: 12s; animation-delay: 2.8s; }
.flowers-left .f9 { left: 70%; animation-duration: 14s; animation-delay: 3.2s; }
.flowers-left .f10 { left: 20%; animation-duration: 10s; animation-delay: 3.7s; }
.flowers-left .f11 { left: 40%; animation-duration: 13s; animation-delay: 4.1s; }
.flowers-left .f12 { left: 65%; animation-duration: 11s; animation-delay: 4.5s; }
.flowers-left .f13 { left: 12%; animation-duration: 12s; animation-delay: 5s; }
.flowers-left .f14 { left: 30%; animation-duration: 14s; animation-delay: 5.4s; }
.flowers-left .f15 { left: 50%; animation-duration: 11s; animation-delay: 5.8s; }
.flowers-left .f16 { left: 75%; animation-duration: 13s; animation-delay: 6.2s; }
.flowers-left .f17 { left: 18%; animation-duration: 12s; animation-delay: 6.7s; }
.flowers-left .f18 { left: 42%; animation-duration: 10s; animation-delay: 7.1s; }
.flowers-left .f19 { left: 62%; animation-duration: 14s; animation-delay: 7.5s; }
.flowers-left .f20 { left: 85%; animation-duration: 11s; animation-delay: 8s; }

/* Flower Falling Animation - Right Side */
.flowers-right {
    position: absolute;
    right: 0;
    top: 0;
    width: 20%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.flowers-right .flower {
    position: absolute;
    font-size: 40px;
    animation: flowerFallRight 12s linear infinite;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    opacity: 0;
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
}

/* Individual flower positioning - Right Side (scattered) */
.flowers-right .f1 { left: 15%; animation-duration: 11s; animation-delay: 0.2s; }
.flowers-right .f2 { left: 30%; animation-duration: 13s; animation-delay: 0.6s; }
.flowers-right .f3 { left: 50%; animation-duration: 12s; animation-delay: 1s; }
.flowers-right .f4 { left: 70%; animation-duration: 14s; animation-delay: 1.4s; }
.flowers-right .f5 { left: 88%; animation-duration: 10s; animation-delay: 1.8s; }
.flowers-right .f6 { left: 20%; animation-duration: 13s; animation-delay: 2.3s; }
.flowers-right .f7 { left: 42%; animation-duration: 11s; animation-delay: 2.7s; }
.flowers-right .f8 { left: 58%; animation-duration: 12s; animation-delay: 3.1s; }
.flowers-right .f9 { left: 78%; animation-duration: 14s; animation-delay: 3.5s; }
.flowers-right .f10 { left: 25%; animation-duration: 10s; animation-delay: 4s; }
.flowers-right .f11 { left: 45%; animation-duration: 13s; animation-delay: 4.4s; }
.flowers-right .f12 { left: 62%; animation-duration: 11s; animation-delay: 4.8s; }
.flowers-right .f13 { left: 82%; animation-duration: 12s; animation-delay: 5.3s; }
.flowers-right .f14 { left: 35%; animation-duration: 14s; animation-delay: 5.7s; }
.flowers-right .f15 { left: 52%; animation-duration: 11s; animation-delay: 6.1s; }
.flowers-right .f16 { left: 72%; animation-duration: 13s; animation-delay: 6.5s; }
.flowers-right .f17 { left: 18%; animation-duration: 12s; animation-delay: 7s; }
.flowers-right .f18 { left: 38%; animation-duration: 10s; animation-delay: 7.4s; }
.flowers-right .f19 { left: 65%; animation-duration: 14s; animation-delay: 7.8s; }
.flowers-right .f20 { left: 90%; animation-duration: 11s; animation-delay: 8.3s; }

/* Flower falling animations */
@keyframes flowerFallLeft {
    0% {
        transform: translate3d(0, -80px, 0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.35;
    }
    50% {
        transform: translate3d(-15px, 50vh, 0) rotate(180deg);
        opacity: 0.3;
    }
    95% {
        opacity: 0.3;
    }
    100% {
        transform: translate3d(10px, calc(100vh + 80px), 0) rotate(360deg);
        opacity: 0;
    }
}

@keyframes flowerFallRight {
    0% {
        transform: translate3d(0, -80px, 0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.35;
    }
    50% {
        transform: translate3d(15px, 50vh, 0) rotate(-180deg);
        opacity: 0.3;
    }
    95% {
        opacity: 0.3;
    }
    100% {
        transform: translate3d(-10px, calc(100vh + 80px), 0) rotate(-360deg);
        opacity: 0;
    }
}

/* ===== ACCESSIBILITY: Respect reduced motion preferences ===== */
@media (prefers-reduced-motion: reduce) {
    .flowers-left,
    .flowers-right {
        display: none;
    }
    
    .flowers-left .flower,
    .flowers-right .flower {
        animation: none !important;
    }
}

@keyframes float {
    0% { 
        transform: translate(-50%, -50%) rotate(0deg) scale(1); 
    }
    50% {
        transform: translate(-50%, -52%) rotate(3deg) scale(1.05);
    }
    100% { 
        transform: translate(-50%, -55%) rotate(5deg) scale(1); 
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    animation: contentFadeIn 1.5s ease-out;
}

@keyframes contentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(253, 184, 19, 0.25), rgba(255, 215, 0, 0.25));
    color: var(--primary-yellow);
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 25px;
    border: 2px solid rgba(253, 184, 19, 0.5);
    box-shadow: 0 4px 15px rgba(253, 184, 19, 0.3), 
                0 0 20px rgba(253, 184, 19, 0.2);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(253, 184, 19, 0.3), 
                    0 0 20px rgba(253, 184, 19, 0.2);
    }
    50% { 
        box-shadow: 0 4px 20px rgba(253, 184, 19, 0.5), 
                    0 0 30px rgba(253, 184, 19, 0.4);
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #FFFFFF;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6),
                 0 2px 10px rgba(0, 0, 0, 0.4),
                 0 0 40px rgba(253, 184, 19, 0.2);
    animation: fadeInUp 1s ease-out;
}

.bengali-text {
    font-family: var(--font-bengali);
    color: var(--primary-yellow);
    font-size: 68px;
    display: inline-block;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(253, 184, 19, 0.6),
                 0 0 60px rgba(253, 184, 19, 0.4),
                 0 4px 20px rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0 0 10px rgba(253, 184, 19, 0.5));
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 30px rgba(253, 184, 19, 0.6),
                     0 0 60px rgba(253, 184, 19, 0.4),
                     0 4px 20px rgba(0, 0, 0, 0.5);
    }
    100% {
        text-shadow: 0 0 40px rgba(253, 184, 19, 0.8),
                     0 0 80px rgba(253, 184, 19, 0.6),
                     0 4px 20px rgba(0, 0, 0, 0.5);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.6),
                 0 1px 5px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
    animation: fadeInUp 1.2s ease-out;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-yellow));
    color: var(--primary-blue);
    box-shadow: 0 4px 20px rgba(253, 184, 19, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(253, 184, 19, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-yellow);
}

.btn-secondary:hover {
    background: var(--primary-yellow);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.hero-features {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.feature-item i {
    font-size: 24px;
    color: var(--primary-yellow);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--primary-yellow);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 10px;
    background: var(--primary-yellow);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* ==================== 
   Page Header (for separate pages)
   ==================== */

.page-header {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(135deg, rgba(8, 30, 65, 0.92) 0%, rgba(15, 50, 110, 0.90) 50%, rgba(22, 65, 130, 0.88) 100%),
        url('public/hero.jpg') center center / cover no-repeat;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    text-align: center;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease-out;
}

.page-title .highlight {
    color: var(--primary-yellow);
    text-shadow: 0 0 20px rgba(253, 184, 19, 0.5),
                 0 3px 15px rgba(0, 0, 0, 0.6);
}

.page-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.2s ease-out;
    opacity: 0.9;
}

/* ==================== 
   Section Styling 
   ==================== */

section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.highlight {
    color: var(--primary-blue);
    position: relative;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--accent-yellow));
    margin: 0 auto 20px;
    border-radius: 2px;
    position: relative;
}

.title-underline::before,
.title-underline::after {
    content: '◆';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-yellow);
    font-size: 12px;
}

.title-underline::before {
    left: -20px;
}

.title-underline::after {
    right: -20px;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== 
   Bengali Cultural Icons Section 
   ==================== */

.cultural-icons-section {
    background: linear-gradient(135deg, #FFF8E7 0%, #FFFFFF 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cultural-icons-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5%;
    width: 50%;
    height: 100%;
    background-image: url('../public/Rabindranath1.png');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
    filter: grayscale(50%);
}

.cultural-icons-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: -5%;
    width: 50%;
    height: 100%;
    background-image: url('../public/najrul1.png');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
    filter: grayscale(50%);
}

.icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.icon-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
}

.icon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--accent-yellow));
}

.icon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-yellow);
    background: rgba(255, 255, 255, 1);
}

.icon-header {
    text-align: center;
    padding: 30px 0 20px;
}

.icon-symbol {
    font-size: 64px;
    color: var(--primary-yellow);
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 10px rgba(253, 184, 19, 0.3));
}

.icon-content {
    padding: 35px;
    position: relative;
    z-index: 1;
}

.icon-content h3 {
    font-family: var(--font-bengali);
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-weight: 700;
}

.icon-content h4 {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.icon-years {
    font-size: 14px;
    color: var(--primary-yellow);
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
    background: var(--pale-yellow);
    padding: 5px 15px;
    border-radius: 20px;
}

.icon-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
}

.icon-quote {
    background: linear-gradient(135deg, var(--pale-yellow), rgba(253, 184, 19, 0.1));
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-yellow);
    position: relative;
}

.icon-quote i {
    font-size: 24px;
    color: var(--primary-yellow);
    opacity: 0.3;
    margin-bottom: 10px;
}

.icon-quote p {
    font-family: var(--font-bengali);
    font-size: 18px;
    line-height: 1.8;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-style: italic;
}

.icon-quote span {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
    display: block;
}

/* Cultural Elements Grid */
.cultural-elements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 60px;
}

.element-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.element-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-yellow);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.element-icon {
    font-size: 48px;
    margin-bottom: 15px;
    filter: grayscale(20%);
    transition: all 0.3s ease;
}

.element-card:hover .element-icon {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.element-card h4 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: 600;
}

.element-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== 
   About Section 
   ==================== */

.about-section {
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background-image: url('../public/sukumar1.png');
    background-size: cover;
    background-position: center top;
    opacity: 0.04;
    pointer-events: none;
    filter: grayscale(70%);
    border-radius: 50% 0 0 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
}

.image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.image-pattern {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-yellow));
    border-radius: 20px;
    z-index: -1;
}

.about-stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    flex: 1;
    box-shadow: 0 5px 20px var(--shadow);
}

.stat-card h3 {
    font-size: 36px;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 14px;
    color: var(--text-light);
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
}

.about-intro {
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

.mission-box {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
}

.mission-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mission-box h3 i {
    color: var(--primary-yellow);
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.value-item i {
    font-size: 24px;
    color: var(--primary-yellow);
    margin-top: 5px;
}

.value-item h4 {
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.value-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* ==================== 
   Courses Section 
   ==================== */

.courses-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.courses-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 300px;
    height: 500px;
    background-image: url('../public/jibanananda1.png');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    pointer-events: none;
    filter: grayscale(80%);
    transform: translateY(-50%);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.course-card {
    background: var(--white);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 5px 25px var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card::before {
    content: '❋';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 120px;
    color: var(--primary-yellow);
    opacity: 0.05;
    transform: rotate(15deg);
    transition: all 0.5s ease;
}

.course-card:hover::before {
    opacity: 0.1;
    transform: rotate(25deg) scale(1.1);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-hover);
    border-color: var(--primary-yellow);
}

.course-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 32px;
    color: var(--white);
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.course-header h3 {
    font-size: 24px;
    color: var(--text-dark);
}

.course-badge {
    background: var(--primary-yellow);
    color: var(--primary-blue);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.course-badge.new {
    background: var(--terracotta);
    color: var(--white);
}

.course-badge.discount {
    background: #dc3545;
    color: var(--white);
}

.course-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
}

.course-features {
    margin-bottom: 25px;
    flex-grow: 1;
}

.course-features li {
    padding: 10px 0;
    color: var(--text-dark);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-features i {
    color: var(--primary-yellow);
    font-size: 16px;
}

.course-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--primary-blue);
    color: var(--white);
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
}

.course-btn:hover {
    background: var(--dark-blue);
    transform: scale(1.02);
}

.featured-card {
    background: linear-gradient(135deg, var(--pale-yellow), var(--white));
    border-color: var(--primary-yellow);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-yellow));
    color: var(--primary-blue);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(253, 184, 19, 0.3);
}

.featured-btn {
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-yellow));
    color: var(--primary-blue);
}

.featured-btn:hover {
    background: linear-gradient(135deg, var(--accent-yellow), var(--primary-yellow));
}

/* ==================== 
   Gallery Section 
   ==================== */

.gallery-section {
    background: var(--off-white);
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 2%;
    width: 180px;
    height: 220px;
    background-image: url('../public/Rabindranath1.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.04;
    pointer-events: none;
    filter: grayscale(70%);
}

.gallery-section::after {
    content: '';
    position: absolute;
    bottom: 5%;
    right: 2%;
    width: 180px;
    height: 220px;
    background-image: url('../public/najrul1.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.04;
    pointer-events: none;
    filter: grayscale(70%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    box-shadow: 0 5px 20px var(--shadow);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
}

.gallery-item.hidden {
    display: none;
}

/* Gallery Page Transition Animations */
.gallery-item.gallery-exit {
    opacity: 1;
    transform: scale(1);
}

.gallery-item.slide-out-left {
    animation: slideOutLeft 0.3s ease-in-out forwards;
}

.gallery-item.slide-out-right {
    animation: slideOutRight 0.3s ease-in-out forwards;
}

.gallery-item.gallery-enter {
    opacity: 0;
    display: block !important;
}

.gallery-item.slide-in-left {
    animation: slideInLeft 0.4s ease-out forwards;
}

.gallery-item.slide-in-right {
    animation: slideInRight 0.4s ease-out forwards;
}

@keyframes slideOutLeft {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(-50px) scale(0.95);
    }
}

@keyframes slideOutRight {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(50px) scale(0.95);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.gallery-item::before {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    opacity: 0;
    z-index: 10;
    transition: opacity 0.3s ease;
    pointer-events: none;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 44, 84, 0.9), transparent);
    padding: 30px 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 5px;
}

.gallery-overlay p {
    color: var(--primary-yellow);
    font-size: 14px;
}

/* Gallery Navigation */
.gallery-section {
    position: relative;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(27, 75, 143, 0.4);
    z-index: 10;
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-nav-btn:hover {
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-yellow));
    color: var(--primary-blue);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 25px rgba(253, 184, 19, 0.5);
}

.gallery-nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.gallery-nav-btn:disabled:hover {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 6px 20px rgba(27, 75, 143, 0.4);
}

.gallery-pagination {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.pagination-dot.active {
    background: var(--primary-yellow);
    transform: scale(1.3);
    border-color: var(--primary-blue);
}

.pagination-dot:hover {
    background: var(--light-blue);
    transform: scale(1.2);
}

/* ==================== 
   Videos Section
   ==================== */

.videos-section {
    padding: 40px 0 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.videos-section .container {
    max-width: 1400px;
    padding: 0 20px;
}

.videos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--primary-blue) 0%, 
        var(--primary-yellow) 50%, 
        var(--primary-blue) 100%);
    animation: shimmer 3s linear infinite;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 0;
}

@media (max-width: 1400px) {
    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 992px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 576px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.video-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(27, 75, 143, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    background: #000;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(253, 184, 19, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(253, 184, 19, 0.4);
}

.video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(253, 184, 19, 1);
    box-shadow: 0 8px 30px rgba(253, 184, 19, 0.6);
}

.play-button i {
    color: var(--white);
    font-size: 32px;
    margin-left: 5px;
}

.video-info {
    padding: 25px;
}

.video-info h3 {
    color: var(--primary-blue);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.video-info p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--white);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 100;
}

.video-modal-close:hover {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--primary-blue);
    transform: rotate(90deg);
}

.video-fullscreen-btn {
    position: absolute;
    top: 15px;
    right: 65px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--white);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 100;
}

.video-fullscreen-btn:hover {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--primary-blue);
    transform: scale(1.1);
}

.video-modal-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

/* Fullscreen mode styles */
.video-modal-wrapper:fullscreen,
.video-modal-wrapper:-webkit-full-screen,
.video-modal-wrapper:-moz-full-screen,
.video-modal-wrapper:-ms-fullscreen {
    width: 100vw;
    height: 100vh;
    padding-top: 0;
    border-radius: 0;
}

.video-modal-wrapper:fullscreen iframe,
.video-modal-wrapper:-webkit-full-screen iframe,
.video-modal-wrapper:-moz-full-screen iframe,
.video-modal-wrapper:-ms-fullscreen iframe {
    width: 100%;
    height: 100%;
}

.video-modal-wrapper:fullscreen .video-modal-close,
.video-modal-wrapper:-webkit-full-screen .video-modal-close,
.video-modal-wrapper:-moz-full-screen .video-modal-close,
.video-modal-wrapper:-ms-fullscreen .video-modal-close {
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
}

.video-modal-wrapper:fullscreen .video-fullscreen-btn,
.video-modal-wrapper:-webkit-full-screen .video-fullscreen-btn,
.video-modal-wrapper:-moz-full-screen .video-fullscreen-btn,
.video-modal-wrapper:-ms-fullscreen .video-fullscreen-btn {
    top: 20px;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
}

.video-modal-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Videos Pagination */
.videos-pagination {
    margin-top: 60px;
}

.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 12px 24px;
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(27, 75, 143, 0.3);
}

.pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination-number {
    width: 45px;
    height: 45px;
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid #ddd;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-number:hover {
    border-color: var(--primary-blue);
    background: #f0f4ff;
    transform: translateY(-2px);
}

.pagination-number.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    box-shadow: 0 5px 15px rgba(27, 75, 143, 0.3);
}

.pagination-ellipsis {
    color: var(--text-gray);
    font-weight: 600;
    padding: 0 5px;
}

.gallery-note {
    text-align: center;
    margin-top: 40px;
    padding: 15px;
    background: var(--white);
    border-radius: 10px;
    color: var(--text-light);
    border-left: 4px solid var(--primary-yellow);
}

.gallery-note i {
    color: var(--primary-blue);
    margin-right: 8px;
}

/* No Items Message */
.no-items-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    background: var(--off-white);
    border-radius: 15px;
    border: 2px dashed var(--border-color);
}

.no-items-message i {
    font-size: 64px;
    color: var(--primary-blue);
    opacity: 0.3;
    margin-bottom: 20px;
    display: block;
}

.no-items-message p {
    font-size: 18px;
    margin: 0;
    color: var(--text-light);
}

/* ==================== 
   Events Section 
   ==================== */

.events-section {
    background: var(--white);
    position: relative;
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 300px;
    background-image: url('../public/jibanananda1.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.03;
    pointer-events: none;
    filter: grayscale(80%);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--white);
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 5px 25px var(--shadow);
    display: flex;
    gap: 0;
    transition: var(--transition);
    border-left: 4px solid var(--primary-yellow);
    flex-direction: column;
    overflow: hidden;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px var(--shadow-hover);
}

.event-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 0;
    margin: 0;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-card-body {
    display: flex;
    gap: 20px;
    padding: 25px;
}

.event-date {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    min-width: 70px;
    height: fit-content;
}

.event-date .day {
    display: block;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-yellow);
}

.event-content {
    flex: 1;
}

.event-category {
    display: inline-block;
    background: var(--pale-yellow);
    color: var(--primary-blue);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.event-content h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.event-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-meta i {
    color: var(--primary-yellow);
}

/* ==================== 
   Class Details Section 
   ==================== */

.class-details-section {
    background: var(--light-bg);
    padding: 80px 0;
}

.class-details-section .container {
    max-width: 1400px;
    padding: 0 40px;
}

/* Carousel Styles */
.class-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 50px auto 60px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.class-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.carousel-slide.prev {
    transform: translateX(-100%);
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.carousel-slide:hover .carousel-image {
    transform: scale(1.03);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 75, 143, 0.15), rgba(253, 184, 19, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.carousel-slide:hover .carousel-overlay {
    opacity: 1;
}

.carousel-overlay i {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-btn i {
    font-size: 20px;
    color: var(--primary-blue);
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* Class Schedule Container - Full Width Below Carousel */
.class-schedule-container {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    margin: 0 auto;
}

.class-info-text {
    font-family: 'Hind Siliguri', sans-serif;
    font-size: 1.1em;
    line-height: 2;
    color: var(--text-dark);
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(27, 75, 143, 0.05), rgba(253, 184, 19, 0.05));
    border-radius: 15px;
    border-left: 4px solid var(--golden-yellow);
}

.class-info-text p {
    margin-bottom: 20px;
}

.class-info-text p:last-child {
    margin-bottom: 0;
}

.class-info-text strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.class-info-text em {
    color: var(--golden-yellow);
    font-style: italic;
    font-size: 1.05em;
}

.schedule-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--pale-yellow);
}

.schedule-header i {
    font-size: 32px;
    color: var(--primary-blue);
}

.schedule-header h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin: 0;
}

.class-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.loading-spinner,
.error-message,
.no-classes {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.loading-spinner i,
.error-message i,
.no-classes i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    color: var(--primary-blue);
}

.day-schedule {
    border: 2px solid var(--pale-yellow);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.day-schedule:hover {
    box-shadow: 0 5px 15px rgba(27, 75, 143, 0.15);
    transform: translateY(-2px);
}

.day-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.day-header i {
    font-size: 20px;
}

.day-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.day-classes {
    padding: 15px;
    background: var(--white);
}

.class-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.class-item:last-child {
    margin-bottom: 0;
}

.class-item:hover {
    background: var(--pale-yellow);
    transform: translateX(5px);
}

.class-info h5 {
    font-size: 16px;
    color: var(--text-dark);
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.class-info h5 i {
    color: var(--primary-yellow);
    font-size: 14px;
}

.class-branch {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.class-branch i {
    color: var(--primary-blue);
    font-size: 12px;
}

.class-time {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    color: var(--primary-blue);
    white-space: nowrap;
}

.class-time i {
    color: var(--primary-yellow);
}

/* ==================== 
   Bengali Poetry Section 
   ====================*/

.poetry-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.poetry-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('../public/sukanta1.png'),
        url('../public/jibanananda1.png');
    background-size: 500px auto, 500px auto;
    background-position: -10% center, 110% center;
    background-repeat: no-repeat;
    opacity: 0.06;
    pointer-events: none;
    filter: grayscale(100%);
}

.poetry-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        var(--dark-blue) 0%, 
        transparent 30%, 
        transparent 70%, 
        var(--dark-blue) 100%);
    pointer-events: none;
}

.poetry-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    color: var(--white);
}

.poetry-icon {
    font-size: 64px;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 15px rgba(253, 184, 19, 0.3));
    animation: poetryFloat 3s ease-in-out infinite;
}

@keyframes poetryFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.poetry-title {
    font-family: var(--font-bengali);
    font-size: 48px;
    color: var(--primary-yellow);
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.poetry-subtitle {
    font-family: var(--font-serif);
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-style: italic;
}

.poetry-quote {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-left: 5px solid var(--primary-yellow);
    padding: 40px;
    margin: 40px 0;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.bengali-verse {
    font-family: var(--font-bengali);
    font-size: 26px;
    line-height: 2;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 500;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.poetry-quote footer {
    text-align: right;
    margin-top: 20px;
}

.poetry-quote cite {
    font-family: var(--font-bengali);
    font-size: 16px;
    color: var(--primary-yellow);
    font-style: normal;
    font-weight: 600;
}

.poetry-message {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto;
}

/* ==================== 
   Testimonials Section 
   ==================== */

.testimonials-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
}

.testimonials-section .section-subtitle {
    color: var(--primary-yellow);
}

.testimonials-section .section-title,
.testimonials-section .highlight {
    color: var(--white);
}

.testimonials-section .title-underline {
    background: linear-gradient(90deg, var(--primary-yellow), var(--accent-yellow));
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 40px;
    color: var(--primary-yellow);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-yellow);
}

.author-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* ==================== 
   Contact Section 
   ==================== */

.contact-section {
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 350px;
    height: 100%;
    background-image: url('../public/Rabindranath1.png');
    background-size: cover;
    background-position: center;
    opacity: 0.04;
    pointer-events: none;
    filter: grayscale(80%) blur(2px);
}

.contact-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 350px;
    height: 100%;
    background-image: url('../public/sukumar1.png');
    background-size: cover;
    background-position: center;
    opacity: 0.04;
    pointer-events: none;
    filter: grayscale(80%) blur(2px);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    gap: 20px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-yellow));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.info-text h3 {
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.info-text p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Class Schedule Styling */
.contact-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-schedule-list p {
    margin: 0;
    padding: 12px 15px;
    background: linear-gradient(135deg, rgba(27, 75, 143, 0.05), rgba(27, 75, 143, 0.02));
    border-left: 3px solid var(--primary-yellow);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.contact-schedule-list p:hover {
    background: linear-gradient(135deg, rgba(27, 75, 143, 0.08), rgba(27, 75, 143, 0.04));
    border-left-color: var(--accent-yellow);
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-schedule-list p strong {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-block;
    min-width: 85px;
    font-size: 15px;
}

.social-links h3 {
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-yellow));
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 30px var(--shadow);
}

.contact-form h3 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form button {
    width: 100%;
}

.map-section {
    margin-top: 50px;
}

.map-section h3 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-align: center;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px var(--shadow);
}

.map-note {
    text-align: center;
    margin-top: 15px;
    padding: 12px;
    background: var(--white);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 14px;
}

/* ==================== 
   Footer 
   ==================== */

.footer {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.bengali-pattern-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 50px, var(--primary-yellow) 50px, var(--primary-yellow) 52px),
        repeating-linear-gradient(90deg, transparent, transparent 50px, var(--primary-yellow) 50px, var(--primary-yellow) 52px);
    pointer-events: none;
}

.bengali-pattern-decoration::before {
    content: '✦ ◆ ❋ ✦ ◆ ❋';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    letter-spacing: 30px;
    color: var(--primary-yellow);
    opacity: 0.3;
}

.cultural-tagline {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cultural-tagline p:first-child {
    font-family: var(--font-bengali);
    font-size: 16px;
    color: var(--primary-yellow);
    margin-bottom: 5px;
    font-weight: 600;
}

.cultural-tagline p:last-child {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-yellow));
    box-shadow: 0 4px 15px rgba(253, 184, 19, 0.3);
}

.footer-logo h3 {
    font-family: var(--font-bengali);
    font-size: 24px;
    margin-bottom: -5px;
}

.footer-logo p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-yellow);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-contact {
    font-size: 14px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--primary-yellow);
    margin-right: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom i {
    color: var(--primary-yellow);
}

/* ==================== 
   Scroll to Top Button 
   ==================== */

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-yellow));
    color: var(--primary-blue);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(253, 184, 19, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(253, 184, 19, 0.5);
}

/* ==================== 
   Animations 
   ==================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }
.fade-in:nth-child(5) { animation-delay: 0.5s; }
.fade-in:nth-child(6) { animation-delay: 0.6s; }

/* ==================== 
   Responsive Design 
   ==================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }
    
    .bengali-text {
        font-size: 54px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .icons-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .poetry-title {
        font-size: 38px;
    }
    
    .bengali-verse {
        font-size: 22px;
    }
    
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .about-stats {
        justify-content: center;
    }
    
    /* Contact Class Schedule Tablet Optimization */
    .contact-schedule-list p {
        padding: 11px 14px;
        font-size: 13.5px;
    }
    
    .contact-schedule-list p strong {
        font-size: 14.5px;
    }
    
    /* Address List Tablet Optimization */
    .address-list li {
        padding: 9px 12px 9px 38px;
        font-size: 13.5px;
    }
    
    .address-list li::before {
        left: 12px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    /* Adjust root variables for mobile */
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 15px;
    }
    
    /* Container adjustments */
    .container {
        padding: 0 15px;
    }
    
    /* ===== PERFORMANCE OPTIMIZATION: Reduce flower count for mobile ===== */
    /* Hide most flowers on mobile - keep only 5 per side (10 total instead of 40) */
    .flowers-left .flower,
    .flowers-right .flower {
        display: none !important;
    }
    
    /* Show only selective flowers for better performance */
    .flowers-left .f1,
    .flowers-left .f5,
    .flowers-left .f10,
    .flowers-left .f15,
    .flowers-left .f20,
    .flowers-right .f1,
    .flowers-right .f5,
    .flowers-right .f10,
    .flowers-right .f15,
    .flowers-right .f20 {
        display: block !important;
        font-size: 30px; /* Smaller flowers on mobile */
        text-shadow: 0 0 10px rgba(253, 184, 19, 0.4); /* Lighter shadow */
    }
    
    /* Simplified animations for mobile - no horizontal movement */
    @keyframes flowerFallLeft {
        0% {
            transform: translate3d(0, -60px, 0) rotate(0deg);
            opacity: 0;
        }
        10% {
            opacity: 0.3;
        }
        90% {
            opacity: 0.25;
        }
        100% {
            transform: translate3d(0, calc(100vh + 60px), 0) rotate(180deg);
            opacity: 0;
        }
    }
    
    @keyframes flowerFallRight {
        0% {
            transform: translate3d(0, -60px, 0) rotate(0deg);
            opacity: 0;
        }
        10% {
            opacity: 0.3;
        }
        90% {
            opacity: 0.25;
        }
        100% {
            transform: translate3d(0, calc(100vh + 60px), 0) rotate(-180deg);
            opacity: 0;
        }
    }
    
    /* Navigation improvements */
    .nav-wrapper {
        padding: 2px 0;
    }
    
    .logo {
        gap: 1px;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
        position: relative;
        padding: 8px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .hamburger:active {
        background: rgba(27, 75, 143, 0.1);
    }
    
    /* Mobile Navigation Overlay */
    .nav-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }
    
    .nav-overlay.active {
        background: rgba(0, 0, 0, 0.5);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        flex-direction: column;
        padding: 10px 18px 10px;
        gap: 0;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        transition: right 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        align-items: stretch;
        z-index: 1000;
        border-left: 3px solid var(--primary-yellow);
        display: flex;
        justify-content: flex-start;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    /* Mobile Menu Header */
    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: 8px 0;
    }
    
    .mobile-menu-header h1 {
        font-family: var(--font-bengali);
        font-size: 32px;
        margin: 0;
        padding: 10px 0 8px 0;
        text-align: center;
        background: linear-gradient(135deg, #1B4B8F 0%, #4A90E2 30%, #FDB813 60%, #FFD700 100%);
        background-size: 200% 200%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 700;
        letter-spacing: 1px;
        animation: headerGradientShift 6s ease-in-out infinite;
        text-shadow: 0 0 30px rgba(253, 184, 19, 0.3);
        filter: drop-shadow(0 2px 4px rgba(27, 75, 143, 0.2));
        flex: 1;
    }
    
    /* Mobile Menu Close Button */
    .mobile-menu-close {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        background: rgba(27, 75, 143, 0.08);
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 10;
        flex-shrink: 0;
    }
    
    .mobile-menu-close:hover,
    .mobile-menu-close:active {
        background: rgba(253, 184, 19, 0.2);
        transform: translateY(-50%) scale(1.1) rotate(90deg);
    }
    
    .mobile-menu-close svg {
        width: 20px;
        height: 20px;
        stroke: var(--primary-blue);
        stroke-width: 2.5;
        transition: stroke 0.3s ease;
    }
    
    .mobile-menu-close:hover svg {
        stroke: var(--primary-yellow);
    }
    
    .mobile-menu-divider {
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--primary-yellow), transparent);
        margin: 8px 0 6px 0;
        flex-shrink: 0;
    }
    
    /* Swipe indicator */
    .nav-swipe-indicator {
        display: flex;
        position: absolute;
        top: 50%;
        left: -30px;
        transform: translateY(-50%);
        width: 30px;
        height: 70px;
        background: linear-gradient(135deg, var(--primary-yellow) 0%, #FFD700 100%);
        border-radius: 35px 0 0 35px;
        align-items: center;
        justify-content: center;
        opacity: 0.9;
        animation: swipeHint 2.5s ease-in-out infinite;
        box-shadow: -2px 0 8px rgba(253, 184, 19, 0.4);
    }
    
    .nav-swipe-indicator::after {
        content: '→';
        color: var(--primary-blue);
        font-size: 18px;
        font-weight: bold;
        animation: swipeArrow 2.5s ease-in-out infinite;
    }
    
    @keyframes swipeHint {
        0%, 100% {
            transform: translateY(-50%) translateX(0);
            opacity: 0.9;
        }
        50% {
            transform: translateY(-50%) translateX(-10px);
            opacity: 1;
        }
    }
    
    @keyframes swipeArrow {
        0%, 100% {
            transform: translateX(0);
        }
        50% {
            transform: translateX(-3px);
        }
    }
    
    .nav-link {
        padding: 22px 26px;
        font-size: 21px;
        text-align: left;
        border-bottom: 1px solid rgba(27, 75, 143, 0.08);
        border-radius: 14px;
        margin-bottom: 4px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        flex-shrink: 0;
        -webkit-tap-highlight-color: transparent;
        font-weight: 500;
    }
    
    .nav-link:first-of-type {
        margin-top: 0;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 3px;
        background: var(--primary-yellow);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }
    
    /* Touch feedback ripple effect */
    .nav-link::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(27, 75, 143, 0.1);
        transform: translate(-50%, -50%);
        transition: width 0.4s ease, height 0.4s ease;
    }
    
    .nav-link:active::after {
        width: 300px;
        height: 300px;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(27, 75, 143, 0.06);
        border-bottom-color: var(--primary-yellow);
        padding-left: 30px;
        transform: translateX(2px);
    }
    
    .nav-link:active {
        transform: scale(0.97);
    }
    
    .nav-link:hover::before,
    .nav-link.active::before {
        transform: scaleY(1);
    }
    
    .btn-join {
        margin-top: 12px;
        margin-bottom: 12px;
        text-align: center;
        padding: 22px 36px;
        width: 100%;
        font-size: 21px;
        font-weight: 700;
        box-shadow: 0 6px 20px rgba(253, 184, 19, 0.4);
        flex-shrink: 0;
        border-radius: 45px;
        -webkit-tap-highlight-color: transparent;
        transition: all 0.3s ease;
    }
    
    .btn-join:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(253, 184, 19, 0.5);
    }
    
    .btn-join:active {
        transform: translateY(-1px) scale(0.98);
        box-shadow: 0 4px 15px rgba(253, 184, 19, 0.45);
    }
    
    /* Hamburger - hide when menu is active */
    .hamburger.active {
        opacity: 0;
        pointer-events: none;
    }
    
    /* Hamburger animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
        background: var(--primary-yellow);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
        background: var(--primary-yellow);
    }
    
    /* Logo adjustments */
    .logo-icon {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }
    
    .logo-text h1 {
        font-size: 28px;
    }
    
    .logo-text p {
        font-size: 11px;
    }
    
    /* Hero section mobile optimization */
    .hero {
        min-height: 90vh;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.3;
    }
    
    .bengali-text {
        font-size: 38px;
        display: block;
        margin: 10px 0;
    }
    
    .hero-subtitle {
        font-size: 20px;
        line-height: 1.4;
    }
    
    .hero-description {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .hero-badge {
        font-size: 14px;
        padding: 8px 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 0 20px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 30px;
        font-size: 15px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .feature-item {
        font-size: 14px;
    }
    
    .feature-item i {
        font-size: 20px;
    }
    
    /* Page Header (for separate pages like videos) */
    .page-header {
        min-height: 25vh;
        padding: 80px 0 40px;
    }
    
    .page-title {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .page-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }
    
    /* Section headers */
    .section-title {
        font-size: 30px;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 12px;
    }
    
    .section-description {
        font-size: 16px;
        padding: 0 15px;
    }
    
    /* About section */
    .about-content {
        gap: 30px;
    }
    
    .image-wrapper img {
        height: 350px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-card h3 {
        font-size: 32px;
    }
    
    .about-text {
        font-size: 15px;
    }
    
    .about-intro {
        font-size: 17px;
    }
    
    .mission-box {
        padding: 20px;
    }
    
    .values-list {
        gap: 15px;
    }
    
    .value-item i {
        font-size: 20px;
    }
    
    .value-item h4 {
        font-size: 16px;
    }
    
    /* Cultural icons section */
    .icons-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .icon-content {
        padding: 25px 20px;
    }
    
    .icon-content h3 {
        font-size: 26px;
    }
    
    .icon-content h4 {
        font-size: 20px;
    }
    
    .icon-symbol {
        font-size: 48px;
    }
    
    .icon-quote p {
        font-size: 16px;
    }
    
    .cultural-elements {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .element-card {
        padding: 20px 15px;
    }
    
    .element-icon {
        font-size: 36px;
    }
    
    .element-card h4 {
        font-size: 16px;
    }
    
    .element-card p {
        font-size: 13px;
    }
    
    /* Courses section */
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .course-card {
        padding: 25px 20px;
    }
    
    .course-header h3 {
        font-size: 20px;
    }
    
    .course-description {
        font-size: 14px;
    }
    
    .course-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    /* Gallery section */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
    
    .gallery-overlay h3 {
        font-size: 18px;
    }
    
    .gallery-overlay p {
        font-size: 14px;
    }
    
    /* Videos section */
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .videos-section {
        padding: 30px 0 60px;
    }
    
    .videos-section .container {
        padding: 0 15px;
    }
    
    .video-info h3 {
        font-size: 18px;
    }
    
    .video-info p {
        font-size: 13px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 24px;
    }
    
    .video-modal-content {
        width: 95%;
    }
    
    .video-modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .video-fullscreen-btn {
        top: 10px;
        right: 55px;
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    /* Videos Pagination */
    .pagination-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .pagination-number {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    /* Events section */
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .event-card {
        flex-direction: row;
        text-align: left;
        padding: 0;
        border-left: none;
        border-top: 3px solid var(--primary-yellow);
    }
    
    .event-card-body {
        flex-direction: row;
        padding: 20px;
        gap: 18px;
    }
    
    .event-date {
        min-width: 80px;
        width: 80px;
        padding: 18px 12px;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--primary-blue) 0%, #1e5ba8 100%);
        box-shadow: 0 4px 12px rgba(27, 75, 143, 0.25);
    }
    
    .event-date .day {
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 2px;
    }
    
    .event-date .month {
        font-size: 13px;
        letter-spacing: 0.5px;
    }
    
    .event-content {
        flex: 1;
        padding: 0;
    }
    
    .event-category {
        font-size: 11px;
        padding: 5px 12px;
        margin-bottom: 8px;
    }
    
    .event-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
        line-height: 1.3;
        font-weight: 600;
    }
    
    .event-content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 12px;
        color: var(--text-light);
    }
    
    .event-meta {
        display: flex;
        flex-direction: column;
        gap: 6px;
        font-size: 13px;
    }
    
    .event-meta span {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .event-meta i {
        width: 16px;
        font-size: 13px;
    }

    /* Class Details section */
    .class-details-section .container {
        padding: 0 10px;
        max-width: 100%;
    }

    /* Carousel Mobile Styles */
    .class-carousel-container {
        margin: 30px -5px 40px -5px;
        border-radius: 15px;
        width: calc(100% + 10px);
    }

    .class-carousel {
        height: 350px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-btn i {
        font-size: 16px;
    }

    .carousel-overlay i {
        font-size: 50px;
    }

    .carousel-indicators {
        bottom: 15px;
        gap: 8px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        width: 24px;
    }

    /* Schedule Container Mobile */
    .class-schedule-container {
        padding: 30px 18px;
        border-radius: 15px;
        margin: 0 -5px;
        width: calc(100% + 10px);
    }

    .class-info-text {
        padding: 25px 20px;
        font-size: 1em;
        line-height: 1.8;
        margin-left: -10px;
        margin-right: -10px;
        margin-bottom: 30px;
    }

    .class-info-text p {
        margin-bottom: 16px;
    }

    .schedule-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .schedule-header h3 {
        font-size: 20px;
    }

    .day-schedule {
        border-radius: 12px;
        margin-bottom: 15px;
        margin-left: -10px;
        margin-right: -10px;
    }

    .day-header {
        padding: 14px 20px;
    }

    .day-classes {
        padding: 14px 18px;
    }

    .class-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 15px;
        margin-bottom: 10px;
    }

    .class-info {
        width: 100%;
    }

    .class-info h5 {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .class-branch {
        font-size: 13px;
    }

    .class-time {
        align-self: flex-start;
        padding: 8px 14px;
        font-size: 14px;
    }
    
    /* Poetry section */
    .poetry-title {
        font-size: 28px;
        padding: 0 15px;
    }
    
    .poetry-subtitle {
        font-size: 18px;
    }
    
    .bengali-verse {
        font-size: 18px;
        line-height: 1.8;
        padding: 0 10px;
    }
    
    .poetry-quote {
        padding: 20px 15px;
        margin: 0 10px;
    }
    
    .poetry-message {
        font-size: 15px;
        padding: 0 15px;
    }
    
    .poetry-icon {
        font-size: 48px;
    }
    
    /* Testimonials section */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .testimonial-text {
        font-size: 15px;
    }
    
    /* Contact section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-wrapper {
        order: 1;
        padding: 25px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .info-card {
        padding: 20px 15px;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .info-text h3 {
        font-size: 18px;
    }
    
    .info-text p {
        font-size: 14px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .footer-col {
        padding: 0 15px;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-desc {
        font-size: 14px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-col h4 {
        position: relative;
        display: inline-block;
        padding-bottom: 10px;
    }
    
    .footer-col h4::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--primary-yellow), transparent);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links li a {
        display: inline-block;
        padding: 5px 12px;
        border-radius: 5px;
        transition: all 0.3s ease;
    }
    
    .footer-links a:hover {
        background: rgba(253, 184, 19, 0.15);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
    
    /* Map section */
    .map-container iframe {
        height: 300px;
    }
    
    /* Scroll indicator */
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Root variables for small screens */
    :root {
        --section-padding: 40px 0;
        --container-padding: 0 12px;
    }
    
    /* Container */
    .container {
        padding: 0 12px;
    }
    
    /* Navigation */
    .nav-wrapper {
        padding: 1px 0;
    }
    
    .logo {
        gap: 0px;
    }
    
    .hamburger {
        padding: 6px;
    }
    
    .nav-links {
        width: 90%;
        max-width: 340px;
        padding: 16px 16px 12px;
    }
    
    .mobile-menu-header h1 {
        font-size: 26px;
        margin-bottom: 0;
        padding: 10px 0 6px 0;
    }
    
    .nav-swipe-indicator {
        width: 22px;
        height: 55px;
        left: -22px;
    }
    
    .nav-swipe-indicator::after {
        font-size: 15px;
    }
    
    .nav-link {
        padding: 11px 13px;
        font-size: 14.5px;
        margin-bottom: 3px;
        border-radius: 7px;
    }
    
    .nav-link:hover,
    .nav-link.active {
        padding-left: 19px;
    }
    
    .btn-join {
        padding: 11px 20px;
        font-size: 14.5px;
        margin-top: 6px;
        margin-bottom: 5px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    
    .logo-text h1 {
        font-size: 26px;
    }
    
    .logo-text p {
        font-size: 10px;
    }
    
    /* Hero section */
    .hero {
        min-height: 85vh;
        padding: 90px 0 50px;
    }
    
    .hero-title {
        font-size: 26px;
        margin-bottom: 12px;
    }
    
    .bengali-text {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 17px;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .hero-badge {
        font-size: 13px;
        padding: 7px 18px;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        gap: 12px;
        margin-bottom: 40px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero-features {
        gap: 12px;
    }
    
    .feature-item {
        font-size: 13px;
    }
    
    .feature-item i {
        font-size: 18px;
    }
    
    /* Section headers */
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 26px;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 11px;
        letter-spacing: 1.5px;
    }
    
    .section-description {
        font-size: 15px;
    }
    
    /* About section */
    .image-wrapper img {
        height: 280px;
    }
    
    .about-stats {
        gap: 12px;
    }
    
    .stat-card {
        padding: 12px;
    }
    
    .stat-card h3 {
        font-size: 28px;
    }
    
    .stat-card p {
        font-size: 12px;
    }
    
    .about-intro {
        font-size: 16px;
    }
    
    .about-text {
        font-size: 14px;
    }
    
    .mission-box {
        padding: 18px;
    }
    
    .mission-box h3 {
        font-size: 17px;
    }
    
    .mission-box p {
        font-size: 14px;
    }
    
    .value-item h4 {
        font-size: 15px;
    }
    
    .value-item p {
        font-size: 13px;
    }
    
    /* Cultural icons section */
    .cultural-icons-section {
        padding: 60px 0;
    }
    
    .icons-grid {
        gap: 25px;
        margin-bottom: 40px;
    }
    
    .icon-content {
        padding: 20px 15px;
    }
    
    .icon-content h3 {
        font-size: 22px;
    }
    
    .icon-content h4 {
        font-size: 17px;
    }
    
    .icon-symbol {
        font-size: 40px;
    }
    
    .icon-years {
        font-size: 12px;
        padding: 4px 12px;
    }
    
    .icon-description {
        font-size: 14px;
    }
    
    .icon-quote {
        padding: 15px;
    }
    
    .icon-quote i {
        font-size: 20px;
    }
    
    .icon-quote p {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .icon-quote span {
        font-size: 12px;
    }
    
    .cultural-elements {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 40px;
    }
    
    .element-card {
        padding: 20px;
    }
    
    .element-icon {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .element-card h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .element-card p {
        font-size: 13px;
    }
    
    /* Courses section */
    .courses-grid {
        gap: 20px;
    }
    
    .course-card {
        padding: 20px 15px;
    }
    
    .course-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .course-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .course-header h3 {
        font-size: 19px;
    }
    
    .course-badge {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .course-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .course-features li {
        font-size: 13px;
    }
    
    .course-btn {
        font-size: 14px;
        padding: 12px 24px;
    }
    
    .featured-card .featured-badge {
        font-size: 13px;
        padding: 8px 15px;
    }
    
    /* Gallery section */
    .gallery-grid {
        gap: 15px;
    }
    
    .gallery-item img {
        border-radius: 12px;
    }
    
    .gallery-overlay {
        padding: 15px;
    }
    
    .gallery-overlay h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .gallery-overlay p {
        font-size: 13px;
    }
    
    .gallery-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .gallery-prev {
        left: 5px;
    }
    
    .gallery-next {
        right: 5px;
    }
    
    .gallery-note {
        font-size: 13px;
    }
    
    /* Events section */
    .events-grid {
        gap: 16px;
    }
    
    .event-card {
        border-radius: 12px;
        border-top-width: 3px;
    }
    
    .event-card-body {
        padding: 16px;
        gap: 14px;
    }
    
    .event-date {
        min-width: 70px;
        width: 70px;
        padding: 14px 10px;
        border-radius: 10px;
    }
    
    .event-date .day {
        font-size: 32px;
    }
    
    .event-date .month {
        font-size: 12px;
    }
    
    .event-content {
        padding: 0;
    }
    
    .event-category {
        font-size: 10px;
        padding: 4px 10px;
        margin-bottom: 6px;
    }
    
    .event-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .event-content p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    
    .event-meta {
        font-size: 12px;
        gap: 5px;
    }
    
    .event-meta i {
        font-size: 11px;
        width: 14px;
    }
    
    /* Class Details section */
    .class-details-section .container {
        padding: 0 20px;
    }

    /* Carousel Tablet Styles */
    .class-carousel-container {
        margin: 40px 0 50px;
    }

    .class-carousel {
        height: 450px;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
    }

    .carousel-btn i {
        font-size: 18px;
    }

    .carousel-overlay i {
        font-size: 60px;
    }

    .class-schedule-container {
        padding: 30px 25px;
    }

    .class-info-text {
        padding: 20px 18px;
        font-size: 1.05em;
        line-height: 1.85;
        margin-bottom: 30px;
    }

    .class-info-text p {
        margin-bottom: 16px;
    }

    .schedule-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
        gap: 12px;
    }

    .schedule-header i {
        font-size: 28px;
    }

    .schedule-header h3 {
        font-size: 20px;
    }

    .day-schedule {
        border-radius: 12px;
        margin-bottom: 15px;
        border-width: 1.5px;
    }

    .day-header {
        padding: 12px 16px;
    }

    .day-header h4 {
        font-size: 17px;
    }

    .day-classes {
        padding: 12px;
    }

    .class-item {
        padding: 13px 12px;
        margin-bottom: 10px;
        gap: 10px;
        border-radius: 8px;
    }

    .class-info h5 {
        font-size: 15px;
        margin-bottom: 5px;
    }

    .class-info h5 i {
        font-size: 12px;
    }

    .class-branch {
        font-size: 12px;
    }

    .class-branch i {
        font-size: 11px;
    }

    .class-time {
        padding: 7px 12px;
        font-size: 13px;
        border-radius: 15px;
    }

    .class-time i {
        font-size: 12px;
    }
    
    /* Poetry section */
    .poetry-section {
        padding: 50px 0;
    }
    
    .poetry-icon {
        font-size: 40px;
        margin-bottom: 15px;
    }
    
    .poetry-title {
        font-size: 24px;
        line-height: 1.4;
        margin-bottom: 8px;
    }
    
    .poetry-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .bengali-verse {
        font-size: 16px;
        line-height: 1.8;
    }
    
    .poetry-quote {
        padding: 18px 12px;
        margin: 25px 5px;
    }
    
    .poetry-message {
        font-size: 14px;
        line-height: 1.7;
    }
    
    /* Testimonials section */
    .testimonials-grid {
        gap: 18px;
    }
    
    .testimonial-card {
        padding: 20px 15px;
    }
    
    .quote-icon {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .testimonial-text {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 15px;
    }
    
    .testimonial-author h4 {
        font-size: 16px;
    }
    
    .testimonial-author p {
        font-size: 13px;
    }
    
    /* Contact section */
    .contact-form-wrapper {
        padding: 20px 15px;
    }
    
    .contact-form h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
        padding: 12px;
    }
    
    .info-card {
        padding: 18px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin: 0 auto;
    }
    
    .info-text h3 {
        font-size: 17px;
        margin-bottom: 8px;
    }
    
    .info-text p {
        font-size: 13px;
    }
    
    /* Contact Class Schedule Mobile Optimization */
    .contact-schedule-list {
        gap: 10px;
        max-height: none;
    }
    
    .contact-schedule-list p {
        padding: 10px 12px;
        font-size: 13px;
        line-height: 1.5;
        display: flex;
        flex-direction: column;
        gap: 4px;
        border-radius: 6px;
    }
    
    .contact-schedule-list p strong {
        min-width: auto;
        font-size: 14px;
        color: var(--primary-blue);
        margin-bottom: 2px;
    }
    
    .contact-schedule-list p:hover {
        transform: translateX(3px);
    }
    
    /* Address List Mobile Optimization */
    .address-list {
        gap: 8px;
    }
    
    .address-list li {
        padding: 10px 12px 10px 36px;
        font-size: 13px;
        line-height: 1.5;
        border-radius: 6px;
        text-align: left;
    }
    
    .address-list li::before {
        left: 12px;
        font-size: 12px;
    }
    
    .address-list li:hover {
        transform: translateX(3px);
    }
    
    .social-links h3 {
        font-size: 17px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    /* Map section */
    .map-section h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .map-container iframe {
        height: 250px;
    }
    
    .map-note {
        font-size: 12px;
    }
    
    /* Bengali Pattern - Mobile */
    .bengali-pattern-decoration::before {
        font-size: 16px;
        letter-spacing: 15px;
        top: 10px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 30px;
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col {
        padding: 0 10px;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .footer-logo .logo-icon {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }
    
    .footer-logo h3 {
        font-size: 20px;
    }
    
    .footer-logo p {
        font-size: 11px;
    }
    
    .footer-desc {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 15px;
        padding: 0 10px;
    }
    
    .cultural-tagline {
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .cultural-tagline .bengali-text {
        font-size: 15px;
    }
    
    .cultural-tagline p {
        font-size: 12px;
    }
    
    .footer-col h4 {
        font-size: 17px;
        margin-bottom: 12px;
        padding-bottom: 8px;
        position: relative;
        display: inline-block;
    }
    
    .footer-col h4::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--primary-yellow), transparent);
    }
    
    .footer-links {
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-links li {
        margin-bottom: 0;
    }
    
    .footer-links li a {
        font-size: 14px;
        display: inline-block;
        padding: 6px 15px;
        border-radius: 6px;
        transition: all 0.3s ease;
    }
    
    .footer-links a:hover {
        background: rgba(253, 184, 19, 0.1);
        padding-left: 15px;
    }
    
    .footer-social {
        justify-content: center;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .footer-contact {
        font-size: 13px;
        line-height: 2.2;
    }
    
    .footer-contact a {
        display: inline-block;
        margin: 2px 0;
    }
    
    .footer-contact i {
        font-size: 14px;
    }
    
    .footer-bottom {
        padding-top: 20px;
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-bottom p {
        font-size: 12px;
        line-height: 1.6;
    }
    
    /* Scroll to top button */
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    /* Utility adjustments */
    .fade-in {
        animation-duration: 0.8s;
    }
}

/* ==================== 
   Extra Small Devices (320px and below)
   ==================== */

@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .bengali-text {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .course-header h3,
    .event-content h3 {
        font-size: 17px;
    }
    
    .icon-content h3 {
        font-size: 20px;
    }
    
    .btn {
        font-size: 13px;
        padding: 11px 20px;
    }
}

/* ==================== 
   Landscape Orientation for Mobile
   ==================== */

/* Video Modal in Landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .video-modal-content {
        width: 98%;
        max-width: none;
        height: 95vh;
    }
    
    .video-modal-wrapper {
        height: 100%;
        padding-top: 0;
    }
    
    .video-modal-wrapper iframe {
        width: 100%;
        height: 100%;
    }
    
    .video-modal-close,
    .video-fullscreen-btn {
        top: 10px;
        background: rgba(0, 0, 0, 0.7);
        border-color: rgba(255, 255, 255, 0.5);
    }
    
    .video-modal-close {
        right: 10px;
    }
    
    .video-fullscreen-btn {
        right: 60px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        margin-bottom: 30px;
    }
    
    .hero-features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    section {
        padding: 50px 0;
    }
}

/* ==================== 
   High DPI Displays (Retina)
   ==================== */

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Ensure crisp rendering on retina displays */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* ==================== 
   Reduce Motion for Accessibility
   ==================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==================== 
   Contact Form Modal 
   ==================== */

.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.contact-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    position: relative;
    animation: slideUp 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #5A6C7D;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
    background: #dc3545;
    color: white;
    transform: rotate(90deg);
}

.modal-form {
    padding: 40px;
}

.modal-form h3 {
    margin-bottom: 30px;
    color: #1B4B8F;
    font-size: 28px;
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive Modal */
@media (max-width: 768px) {
    .contact-modal.active {
        padding: 10px;
    }
    
    .modal-content {
        max-height: 95vh;
        border-radius: 15px;
    }
    
    .modal-form {
        padding: 30px 20px;
    }
    
    .modal-form h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .modal-form {
        padding: 25px 15px;
    }
    
    .modal-form h3 {
        font-size: 20px;
    }
}

/* ==================== 
   Print Styles 
   ==================== */

@media print {
    .navbar,
    .scroll-top,
    .google-review-float,
    .hero-buttons,
    .btn,
    .hamburger {
        display: none;
    }
}

/* ==================== 
   Google Review Styles 
   ==================== */

/* Google Review Card in Contact Section */
.google-review-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: 2px solid var(--primary-yellow);
    box-shadow: 0 4px 15px rgba(253, 184, 19, 0.2);
}

.google-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(253, 184, 19, 0.3);
}

.google-review-card .info-icon {
    background: linear-gradient(135deg, #4285f4, #34a853);
}

.google-review-card .info-icon i {
    color: white;
}

.btn-google-review {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.btn-google-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
    background: linear-gradient(135deg, #3367d6, #2d8e47);
}

.btn-google-review i {
    font-size: 18px;
}

/* Floating Google Review Button */
.google-review-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: white;
    padding: 14px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
    z-index: 999;
    display: none; /* Hidden on desktop */
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    animation: pulse-review 2s infinite;
}

.google-review-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.5);
    animation: none;
}

.google-review-float i {
    font-size: 20px;
}

.review-text {
    white-space: nowrap;
}

@keyframes pulse-review {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
    }
    50% {
        box-shadow: 0 6px 30px rgba(66, 133, 244, 0.6);
    }
}

/* Mobile Responsive for Google Review Button */
@media (max-width: 768px) {
    /* Hide floating button on mobile */
    .google-review-float {
        display: none;
    }

    .btn-google-review {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
    
    /* Mobile navigation review link */
    .mobile-review-link {
        background: linear-gradient(135deg, #4285f4, #34a853) !important;
        color: white !important;
        padding: 12px 20px !important;
        border-radius: 8px;
        margin: 10px 0;
        font-weight: 600;
        display: flex !important;
        align-items: center;
        gap: 10px;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
        transition: all 0.3s ease;
    }
    
    .mobile-review-link:hover {
        background: linear-gradient(135deg, #3367d6, #2d8e47) !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
    }
    
    .mobile-review-link i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .google-review-float {
        display: none;
    }
}

/* Hide mobile review link on desktop */
@media (min-width: 769px) {
    .mobile-review-link {
        display: none !important;
    }
}

