/* Motto Banner Section */
.motto-banner {
    padding: 50px 20px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    position: relative;
    overflow: hidden;
}

.motto-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: shimmer 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(20px); }
}

.motto-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.motto-text {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.motto-main {
    font-size: 38px;
    font-weight: 800;
    color: white;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
}

.motto-main i {
    font-size: 28px;
    margin: 0 15px;
    vertical-align: middle;
    animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.motto-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Responsive Motto Banner */
@media (max-width: 768px) {
    .motto-banner { padding: 35px 20px; }
    .motto-text { font-size: 16px; margin-bottom: 12px; }
    .motto-main { font-size: 28px; margin-bottom: 12px; }
    .motto-main i { font-size: 20px; margin: 0 10px; }
    .motto-subtitle { font-size: 14px; }
}

@media (max-width: 480px) {
    .motto-banner { padding: 25px 15px; }
    .motto-text { font-size: 14px; margin-bottom: 10px; }
    .motto-main { font-size: 22px; margin-bottom: 10px; word-wrap: break-word; }
    .motto-main i { font-size: 16px; margin: 0 8px; }
    .motto-subtitle { font-size: 12px; }
}

/* ======================
   GENERAL STYLES
   ====================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #9333ea;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======================
   NAVIGATION BAR
   ====================== */
.navbar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
    border-bottom: 2px solid #3b82f6;
    width: 100%;
    left: 0;
    right: 0;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.navbar-logo a {
    color: #2563eb;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.navbar-logo a:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
    background: white;
    padding: 4px;
}

.navbar-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
    background: white;
    padding: 4px;
}

.navbar-logo a:hover .navbar-logo-img {
    transform: scale(1.1);
}

.navbar-school-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    margin-left: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.navbar-school-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-logo i {
    font-size: 28px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    color: #3b82f6;
    transform: translateY(-2px);
}

.nav-link.active {
    border-bottom: 3px solid #3b82f6;
    color: #3b82f6;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-top: 10px;
    animation: slideDown 0.3s ease-out;
    z-index: 1001;
}

.dropdown.open-desktop .dropdown-menu {
    display: block;
}

.dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background-color: #eff6ff;
    border-left-color: var(--primary-color);
    padding-left: 28px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ======================
   HERO SECTION
   ====================== */
.hero {
    color: white;
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Slideshow Container */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    margin: 0;
    z-index: 1;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background-size: cover;
}

.slide.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    animation: fadeInSlide 1s ease-in-out;
    z-index: 1;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade {
    animation: fade 1s;
}

@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

/* Slideshow Navigation Dots */
.slideshow-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
    pointer-events: auto;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
    pointer-events: auto;
}

.dot.active {
    background-color: white;
    transform: scale(1.3);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Hero Overlay */
.hero-overlay {
    display: none;
}

.hero-background {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px 20px;
}

.hero-content {
    animation: fadeInLeft 0.8s ease-out;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fbbf24;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5), 2px 2px 8px rgba(0, 0, 0, 0.5), -2px -2px 8px rgba(0, 0, 0, 0.3);
    animation: titleGlow 2s ease-in-out infinite;
    letter-spacing: 1px;
}

.hero-word {
    display: inline-block;
    animation: wordBounce 0.8s ease-in-out infinite;
}

.hero-word:nth-child(1) {
    animation-delay: 0s;
}

.hero-word:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-word:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes wordBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(251, 191, 36, 0.5), 2px 2px 8px rgba(0, 0, 0, 0.5), -2px -2px 8px rgba(0, 0, 0, 0.3);
    }
    50% {
        text-shadow: 0 0 30px rgba(251, 191, 36, 0.8), 2px 2px 8px rgba(0, 0, 0, 0.5), -2px -2px 8px rgba(0, 0, 0, 0.3);
    }
}

.hero-location {
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.9;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.8;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Motto Label - Animated */
.hero-motto-label {
    font-size: 16px;
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: slideInDown 1s ease-out, pulse 2s ease-in-out 1s infinite;
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 2px solid rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-motto-label:hover {
    background: rgba(251, 191, 36, 0.2);
    border-color: #fbbf24;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
    color: #ffffff;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
    }
    50% {
        opacity: 0.8;
        text-shadow: 0 0 20px rgba(251, 191, 36, 0.8);
    }
}

.hero-motto-label i {
    margin: 0 8px;
    animation: twinkleIcon 1.5s ease-in-out infinite;
}

@keyframes twinkleIcon {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* Responsive Hero Motto Label */
@media (max-width: 768px) {
    .hero-motto-label {
        font-size: 14px;
        margin-bottom: 15px;
        letter-spacing: 1.5px;
    }

    .hero-motto-label i {
        margin: 0 6px;
    }

    /* Mobile Hero Section Adjustments */
    .hero {
        height: 60vh;
        min-height: 60vh;
    }

    .slideshow-container {
        height: 60vh;
    }

    .slide {
        height: 60vh;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .hero-background {
        padding: 40px 15px;
    }

    .hero-buttons {
        gap: 10px;
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
        z-index: 10;
        position: relative;
    }

    .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 700;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-primary {
        background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
        box-shadow: 0 12px 30px rgba(249, 115, 22, 0.5);
    }

    .btn-secondary {
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        box-shadow: 0 12px 30px rgba(37, 99, 235, 0.5);
    }

    .slideshow-dots {
        bottom: 20px;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .hero-motto-label {
        font-size: 12px;
        margin-bottom: 12px;
        letter-spacing: 1px;
        word-wrap: break-word;
    }

    .hero-motto-label i {
        margin: 0 4px;
        font-size: 12px;
    }

    /* Mobile Hero Section (Extra Small) */
    .hero {
        height: 50vh;
        min-height: 50vh;
    }

    .slideshow-container {
        height: 50vh;
    }

    .slide {
        height: 50vh;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .hero-background {
        padding: 30px 12px;
    }

    .hero-buttons {
        gap: 8px;
        flex-direction: column;
        width: 100%;
        margin-top: 12px;
        z-index: 10;
        position: relative;
    }

    .btn {
        width: 100%;
        padding: 12px 14px;
        font-size: 14px;
        font-weight: 700;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-primary {
        background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
        box-shadow: 0 10px 25px rgba(249, 115, 22, 0.5);
    }

    .btn-secondary {
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        box-shadow: 0 10px 25px rgba(37, 99, 235, 0.5);
    }

    .slideshow-dots {
        bottom: 15px;
        gap: 6px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .hero-word {
        animation: wordBounce 0.6s ease-in-out infinite;
    }
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 28px;
    font-weight: 700;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn {
    padding: 12px 28px;
    border: 2px solid white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: white;
    border: 2px solid #f59e0b;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: 2px solid #3b82f6;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.6);
}

/* Scholarship Card */
.scholarship-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInRight 0.8s ease-out;
    height: fit-content;
    max-width: 280px;
    color: white;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scholarship-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.scholarship-header i {
    font-size: 24px;
}

.scholarship-header h3 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.9;
}

.scholarship-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.scholarship-type {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0.9;
}

.scholarship-amount {
    text-align: center;
    margin-bottom: 20px;
}

.scholarship-amount h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 5px;
}

.scholarship-amount p {
    opacity: 0.9;
    font-size: 14px;
}

.scholarship-details {
    font-size: 12px;
    margin-bottom: 20px;
    opacity: 0.85;
}

.scholarship-details p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scholarship-details i {
    color: #34d399;
}

.scholarship-deadline {
    text-align: center;
    margin-bottom: 20px;
    font-size: 12px;
    opacity: 0.8;
    font-style: italic;
}

.btn-scholarship {
    width: 100%;
    background: white;
    color: #9333ea;
    font-weight: 700;
    letter-spacing: 1px;
}

.btn-scholarship:hover {
    background: #f3f4f6;
    transform: translateY(-3px);
}

/* ======================
   STATISTICS SECTION
   ====================== */
.statistics-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 25px;
    border-left: 5px solid transparent;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    flex-shrink: 0;
}

.stat-icon.red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.stat-icon.blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.stat-icon.green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stat-icon.purple {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
}

.stat-icon.orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.stat-icon.teal {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
    letter-spacing: 0.5px;
}

.stat-card:nth-child(1) {
    border-left-color: #ef4444;
}

.stat-card:nth-child(2) {
    border-left-color: #3b82f6;
}

.stat-card:nth-child(3) {
    border-left-color: #10b981;
}

.stat-card:nth-child(4) {
    border-left-color: #a855f7;
}

.stat-card:nth-child(5) {
    border-left-color: #f59e0b;
}

.stat-card:nth-child(6) {
    border-left-color: #14b8a6;
}

/* ======================
   ACADEMIC STAGES SECTION
   ====================== */
.academic-stages {
    padding: 80px 20px;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.header-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ef4444 0%, #3b82f6 100%);
    margin: 0 auto;
    border-radius: 2px;
}

.stages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stage-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.stage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.stage-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.stage-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.stage-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: white;
}

.stage-image.kindergarten-bg {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.stage-image.classroom-bg {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.stage-image.secondary-bg {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stage-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.stage-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 10px 0;
}

.stage-age {
    font-size: 13px;
    color: #ef4444;
    font-weight: 600;
    margin: 0 0 15px 0;
    letter-spacing: 0.3px;
}

.stage-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex: 1;
}

.learn-more-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    width: fit-content;
}

.learn-more-btn.orange {
    background: #f59e0b;
    color: white;
}

.learn-more-btn.orange:hover {
    background: #d97706;
    transform: translateX(5px);
}

.learn-more-btn.blue {
    background: #3b82f6;
    color: white;
}

.learn-more-btn.blue:hover {
    background: #2563eb;
    transform: translateX(5px);
}

.learn-more-btn.green {
    background: #10b981;
    color: white;
}

.learn-more-btn.green:hover {
    background: #059669;
    transform: translateX(5px);
}

/* ======================
   INSPIRED SCHOOL SECTION
   ====================== */
.inspired-school {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.inspired-title {
    font-size: 42px;
    font-weight: 800;
    color: #dc2626;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.inspired-intro {
    font-size: 15px;
    color: var(--text-light);
    text-align: center;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px;
    letter-spacing: 0.3px;
}

.inspired-btn {
    display: inline-block;
    margin: 0 auto 40px;
    padding: 12px 32px;
    background: #dc2626;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    transition: var(--transition);
    text-align: center;
}

.inspired-btn:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.inspired-subtitle {
    font-size: 15px;
    color: var(--text-dark);
    text-align: center;
    margin: 40px 0 50px;
    font-weight: 500;
}

.inspired-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.inspired-feature {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.inspired-feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.inspired-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: white;
}

.inspired-image.collaborative {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.inspired-image.growth {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.inspired-image.technology {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.inspired-feature h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 15px 0;
    letter-spacing: 1px;
}

.inspired-feature p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.inspired-btn {
    display: flex;
    justify-content: center;
}

/* ======================
   CHAT BUBBLE
   ====================== */
.chat-bubble {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

.chat-btn {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    border: 2px solid #3b82f6;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.2), var(--shadow-lg);
    transition: var(--transition);
}

.chat-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-color: #60a5fa;
    transform: translateY(-3px) scale(1.05);
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.2), 0 20px 40px rgba(37, 99, 235, 0.3);
}

.chat-btn i {
    animation: roboticPulse 2s infinite;
}

@keyframes roboticPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.chat-modal {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
    z-index: 1000;
}

.chat-modal.active {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-chat:hover {
    opacity: 0.8;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #f8f9fa;
}

.message {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    justify-content: flex-start;
}

.bot-message p {
    background: white;
    padding: 12px 15px;
    border-radius: 10px 10px 10px 0;
    max-width: 80%;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.user-message {
    justify-content: flex-end;
}

.user-message p {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 15px;
    border-radius: 10px 10px 0 10px;
    max-width: 80%;
}

.chat-input-area {
    display: flex;
    gap: 10px;
    padding: 15px;
    border-top: 1px solid #e5e7eb;
    background: white;
}

#userInput {
    flex: 1;
    border: 1px solid #e5e7eb;
    border-radius: 25px;
    padding: 10px 15px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

#userInput:focus {
    border-color: #667eea;
}

.send-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.send-btn:hover {
    transform: scale(1.1);
}

.send-btn:active {
    transform: scale(0.95);
}

.chat-loading {
    padding: 20px;
    text-align: center;
}

.typing-indicator {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        opacity: 0.5;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(-10px);
    }
}

/* ======================
   FEATURES SECTION
   ====================== */
.features {
    padding: 100px 20px;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 100px;
    animation: fadeInDown 0.8s ease-out;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 50%, #fb923c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    text-transform: capitalize;
}

.header-line {
    width: 120px;
    height: 6px;
    background: linear-gradient(135deg, #f59e0b 0%, #fb923c 100%);
    margin: 25px auto;
    border-radius: 3px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-light);
    margin-top: 20px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.3px;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    padding: 45px 35px;
    border-radius: 18px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Card 1 - Vibrant Orange */
.feature-card:nth-child(1) {
    animation-delay: 0.1s;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    box-shadow: 0 8px 20px rgba(251, 146, 60, 0.25);
}

.feature-card:nth-child(1)::before {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
}

.feature-card:nth-child(1) i {
    color: #fb923c;
}

.feature-card:nth-child(1) .feature-icon-wrapper {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 3px solid #fb923c;
}

/* Card 2 - Vibrant Blue */
.feature-card:nth-child(2) {
    animation-delay: 0.2s;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}

.feature-card:nth-child(2)::before {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.feature-card:nth-child(2) i {
    color: #3b82f6;
}

.feature-card:nth-child(2) .feature-icon-wrapper {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 3px solid #3b82f6;
}

/* Card 3 - Vibrant Purple */
.feature-card:nth-child(3) {
    animation-delay: 0.3s;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.25);
}

.feature-card:nth-child(3)::before {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
}

.feature-card:nth-child(3) i {
    color: #a855f7;
}

.feature-card:nth-child(3) .feature-icon-wrapper {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 3px solid #a855f7;
}

/* Card 4 - Vibrant Green */
.feature-card:nth-child(4) {
    animation-delay: 0.4s;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.feature-card:nth-child(4)::before {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.feature-card:nth-child(4) i {
    color: #10b981;
}

.feature-card:nth-child(4) .feature-icon-wrapper {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 3px solid #10b981;
}

/* Card 5 - Vibrant Red/Pink */
.feature-card:nth-child(5) {
    animation-delay: 0.5s;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.25);
}

.feature-card:nth-child(5)::before {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.feature-card:nth-child(5) i {
    color: #ef4444;
}

.feature-card:nth-child(5) .feature-icon-wrapper {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 3px solid #ef4444;
}

/* Card 6 - Vibrant Teal */
.feature-card:nth-child(6) {
    animation-delay: 0.6s;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.25);
}

.feature-card:nth-child(6)::before {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

.feature-card:nth-child(6) i {
    color: #14b8a6;
}

.feature-card:nth-child(6) .feature-icon-wrapper {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    border: 3px solid #14b8a6;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 18px;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-20px) scale(1.05);
    border-color: currentColor;
}

.feature-card:hover::before {
    left: 0;
}

.feature-card:hover h3,
.feature-card:hover p {
    color: white;
    position: relative;
    z-index: 1;
}

.feature-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon-wrapper {
    background: white !important;
    transform: rotate(-15deg) scale(1.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-card:hover i {
    transform: scale(1.3) rotate(15deg);
}

.feature-card i {
    font-size: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.feature-card:nth-child(2):hover i { color: #2563eb; }
.feature-card:nth-child(3):hover i { color: #9333ea; }
.feature-card:nth-child(4):hover i { color: #059669; }
.feature-card:nth-child(5):hover i { color: #dc2626; }
.feature-card:nth-child(6):hover i { color: #0d9488; }
.feature-card:nth-child(1):hover i { color: #f97316; }

.feature-card h3 {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 15px;
    margin-top: 10px;
    color: #1f2937;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    line-height: 1.3;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: #4b5563;
    line-height: 1.8;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-grow: 1;
    margin-top: auto;
    letter-spacing: 0.2px;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================
   CONTACT SECTION
   ====================== */
.contact {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.contact h2 {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.info-item i {
    font-size: 28px;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.info-item p {
    color: var(--text-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.contact-form input,
.contact-form textarea {
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form button {
    align-self: flex-start;
}

/* ======================
   FOOTER
   ====================== */
.footer {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: #fbbf24;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* ======================
   SPORTS PAGE STYLES
   ====================== */

/* Sports Hero Section */
.sports-hero {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sports-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="15" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="50" r="20" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="80" r="18" fill="rgba(255,255,255,0.04)"/></svg>');
    opacity: 0.5;
    z-index: 0;
}

.sports-hero .grade-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.sports-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.sports-hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.sports-hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 300;
}

.sports-cta-btn {
    display: inline-block;
    padding: 14px 40px;
    background: white;
    color: #dc2626;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.sports-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Sports Introduction */
.sports-intro {
    padding: 80px 20px;
    background: white;
}

.intro-content {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.intro-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.intro-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    margin: 0 auto 20px;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* Sports Programs Section */
.sports-programs {
    padding: 80px 20px;
    background: white;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

.program-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    transition: var(--transition);
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.program-card:hover {
    border-color: #ef4444;
    box-shadow: var(--shadow-lg);
}

.program-header {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.program-icon {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    flex-shrink: 0;
}

.program-icon.football {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.program-icon.netball {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.program-icon.athletics {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.program-icon.volleyball {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.program-icon.badminton {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.program-icon.swimming {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.program-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.program-level {
    color: #ef4444;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.program-details {
    flex: 1.5;
}

.program-details p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.program-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Program Showcase Section */
.program-showcase {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 30px;
    margin-bottom: 40px;
    transition: var(--transition);
}

.program-showcase:hover {
    border-color: #f59e0b;
    box-shadow: var(--shadow-lg);
}

.showcase-header {
    text-align: center;
    margin-bottom: 40px;
}

.showcase-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.showcase-header p {
    color: var(--text-light);
    font-size: 15px;
}

.showcase-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.showcase-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.showcase-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 9;
}

.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
    transition: var(--transition);
}

.netball-placeholder {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.netball-placeholder p {
    font-size: 18px;
    margin-top: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.showcase-image-wrapper:hover .showcase-image,
.showcase-image-wrapper:hover .placeholder-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0) 0%, rgba(245, 158, 11, 0.3) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.showcase-image-wrapper:hover .image-overlay {
    opacity: 1;
}

.image-badge {
    display: inline-block;
    background: #f59e0b;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.image-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.image-stats .stat {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.image-stats .stat h4 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 5px 0;
}

.image-stats .stat p {
    font-size: 13px;
    margin: 0;
    opacity: 0.95;
}

.showcase-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    aspect-ratio: 1 / 1;
}

.thumbnail:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.thumbnail:hover img {
    transform: scale(1.1);
}

.placeholder-thumbnail {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    transition: var(--transition);
}

.training-placeholder {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.match-placeholder {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.team-placeholder {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.thumbnail:hover .placeholder-thumbnail {
    transform: scale(1.1);
}

.thumbnail span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    color: white;
    padding: 12px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.showcase-description {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.description-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fef08a 100%);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.description-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.description-card i {
    font-size: 32px;
    color: #f59e0b;
    margin-bottom: 15px;
}

.description-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 10px 0;
}

.description-card p {
    color: var(--text-dark);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* Sports Achievements */
.sports-achievements {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-item {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.achievement-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.achievement-number {
    font-size: 48px;
    font-weight: 800;
    color: #ef4444;
    margin-bottom: 15px;
}

.achievement-item p {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 500;
}

/* Sports Schedule */
.sports-schedule {
    padding: 80px 20px;
    background: white;
}

.schedule-content {
    max-width: 1200px;
    margin: 0 auto;
}

.schedule-info {
    margin-bottom: 40px;
    text-align: center;
}

.schedule-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.schedule-info p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

.schedule-table {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.schedule-table thead {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.schedule-table th {
    color: white;
    padding: 16px;
    text-align: left;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.schedule-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.schedule-table tbody tr:hover {
    background-color: #f9fafb;
}

/* Sports CTA Section */
.sports-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    text-align: center;
}

.sports-cta h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
}

.sports-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 14px 40px;
    background: white;
    color: #2563eb;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: #f9fafb;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.footer-section h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* ======================
   MOBILE RESPONSIVE
   ====================== */
@media (max-width: 768px) {
    /* Hide scrollbar */
    body {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    body::-webkit-scrollbar {
        display: none;
    }

    /* Prevent horizontal scrolling on mobile and ensure full-width layout */
    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    /* Ensure containers and media fit the viewport on mobile */
    .container {
        padding: 0 16px;
        max-width: 100%;
        box-sizing: border-box;
    }

    img, picture, svg, iframe, video {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* Navigation */
    .navbar {
        position: sticky;
        top: 0;
        z-index: 1000;
        border-bottom: none;
    }

    .hamburger {
        display: flex;
    }

    /* Ensure hero/slideshow doesn't create horizontal overflow */
    .hero {
        overflow: hidden;
        width: 100%;
    }

    .slideshow-container,
    .slide,
    .slide img {
        max-width: 100%;
        box-sizing: border-box;
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 70px);
        background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
        padding: 15px 0;
        gap: 0;
        border-radius: 0;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
        animation: slideDown 0.3s ease-out;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-link {
        padding: 14px 20px;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 15px;
    }

    .dropdown-menu {
        position: static;
        display: none !important;
        background: rgba(0, 0, 0, 0.2);
        margin: 0;
        padding: 8px 0;
        box-shadow: none;
        border-radius: 0;
        min-width: auto;
        border: none;
        animation: none;
    }

    /* Mobile: make dropdown link text yellow and bold for better visibility */
    .nav-menu .dropdown-menu a {
        color: #fbbf24;
        font-weight: 600;
        text-decoration: none;
        padding: 10px 40px !important;
        border-left: none !important;
        display: block;
        font-size: 13px;
    }

    .nav-menu .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.15);
        padding-left: 40px !important;
    }

    .dropdown.active .dropdown-menu {
        display: block !important;
    }

    .dropdown-menu a {
        padding: 10px 40px;
        font-size: 14px;
        border-left: none;
    }

    /* Hero Section */
    .hero {
        padding: 0;
        height: 100vh;
        min-height: 100vh;
        width: 100%;
        overflow: hidden;
    }

    .slideshow-container {
        width: 100%;
        margin: 0;
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0;
    }

    .hero-background {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 15px;
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
    }

    .hero-content {
        order: 1;
    }

    .scholarship-card {
        order: 2;
    }

    .hero-buttons {
        gap: 12px;
        display: flex;
        flex-direction: column;
        width: 70%;
        order: 3;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
        align-items: center;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        max-width: 280px;
    }

    .btn-primary {
        margin-right: 0;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 20px;
        gap: 12px;
    }

    .stat-item {
        padding: 12px;
        border-radius: 8px;
    }

    .stat-item h3 {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .stat-item p {
        font-size: 24px;
    }

    .scholarship-card {
        padding: 14px;
        margin-bottom: 20px;
        max-width: 51%;
        width: 51%;
        aspect-ratio: 16 / 9;
        border-radius: 12px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        order: 2;
        background: rgba(255, 255, 255, 0.15) !important;
        backdrop-filter: blur(12px) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
    }

    .scholarship-header {
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .scholarship-header h3 {
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 1px;
        opacity: 0.95;
    }

    .scholarship-header i {
        font-size: 18px;
        color: #fbbf24;
    }

    .scholarship-content {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 8px;
        flex: 1;
    }

    .scholarship-type {
        font-size: 13px;
        opacity: 0.9;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .scholarship-type i {
        color: #34d399;
        font-size: 14px;
    }

    .scholarship-amount h2 {
        font-size: 18px;
        margin-bottom: 2px;
        font-weight: 800;
    }

    .scholarship-amount p {
        font-size: 11px;
        opacity: 0.85;
    }

    .scholarship-details {
        font-size: 11px;
        margin-bottom: 8px;
        opacity: 0.85;
    }

    .scholarship-details p {
        margin-bottom: 4px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .scholarship-details i {
        color: #34d399;
        font-size: 12px;
    }

    .scholarship-deadline {
        font-size: 10px;
        margin-bottom: 8px;
        opacity: 0.8;
        font-style: italic;
    }

    .btn-scholarship {
        padding: 8px 12px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    /* Chat Bubble */
    .chat-bubble {
        bottom: 20px;
        left: 20px;
    }

    .chat-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .chat-modal {
        width: 85vw;
        height: 60vh;
        bottom: 80px;
        left: 5vw;
    }

    .bot-message p,
    .user-message p {
        max-width: 85%;
    }

    /* Statistics Section */
    .statistics-section {
        padding: 60px 20px;
    }

    .statistics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-card {
        padding: 30px 20px;
        gap: 20px;
        flex-direction: column;
        text-align: center;
    }

    .stat-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin: 0 auto;
    }

    .stat-number {
        font-size: 32px;
    }

    /* Academic Stages */
    .academic-stages {
        padding: 60px 20px;
    }

    .section-header h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .header-line {
        width: 60px;
    }

    .stages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stage-image-wrapper {
        height: 180px;
    }

    .stage-image {
        font-size: 60px;
    }

    .stage-content {
        padding: 25px 20px;
    }

    .stage-title {
        font-size: 20px;
    }

    .stage-age {
        font-size: 12px;
    }

    .stage-description {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .learn-more-btn {
        padding: 9px 20px;
        font-size: 12px;
    }

    /* Inspired School */
    .inspired-school {
        padding: 60px 20px;
    }

    .inspired-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .inspired-intro {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .inspired-btn {
        padding: 10px 24px;
        font-size: 12px;
        margin-bottom: 30px;
    }

    .inspired-subtitle {
        font-size: 14px;
        margin: 30px 0 40px;
    }

    .inspired-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .inspired-feature {
        padding: 30px 20px;
    }

    .inspired-image {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
        font-size: 60px;
    }

    .inspired-image.collaborative,
    .inspired-image.growth,
    .inspired-image.technology {
        width: 150px !important;
        height: 150px !important;
    }

    .inspired-feature h3 {
        font-size: 16px;
    }

    .inspired-feature p {
        font-size: 13px;
    }

    /* Features */
    .features {
        padding: 60px 20px;
    }

    .features h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 30px;
    }

    /* Contact */
    .contact {
        padding: 60px 20px;
    }

    .contact h2 {
        font-size: 32px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    * {
        max-width: 100vw;
    }

    .navbar {
        position: sticky;
        top: 0;
        z-index: 1000;
        width: 100%;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 5px;
        padding: 8px;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background-color: white;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        margin: 0;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 70px);
        background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
        padding: 15px 0;
        gap: 0;
        border-radius: 0;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
        margin-left: 0;
        animation: slideDown 0.3s ease-out;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-link {
        padding: 14px 20px;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 15px;
    }

    .dropdown-menu {
        position: static;
        display: none !important;
        background: rgba(0, 0, 0, 0.2);
        margin: 0;
        padding: 8px 0;
        box-shadow: none;
        border-radius: 0;
        min-width: auto;
        animation: none;
    }

    .nav-menu .dropdown-menu a {
        color: #fbbf24;
        font-weight: 600;
        text-decoration: none;
        padding: 10px 40px !important;
        border-left: none !important;
        display: block;
        font-size: 13px;
    }

    .nav-menu .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.15);
        padding-left: 40px !important;
    }

    .dropdown.active .dropdown-menu {
        display: block !important;
    }

    .hero {
        padding: 0;
        height: 100vh;
        min-height: 100vh;
        width: 100%;
        overflow: hidden;
    }

    .slideshow-container {
        width: 100%;
        margin: 0;
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0;
    }

    .slideshow-dots {
        bottom: 20px;
        gap: 8px;
    }

    .dot {
        width: 14px;
        height: 14px;
        border: 2px solid white;
        padding: 2px;
    }

    .hero-background {
        padding: 20px 12px;
        z-index: 2;
        position: relative;
        height: auto;
        max-height: 100vh;
        overflow-y: auto;
    }

    /* Ensure all sections have full width on mobile */
    section {
        width: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .features,
    .academic-stages,
    .inspired-school,
    .sponsored-section,
    .gallery-section,
    .contact {
        width: 100%;
        padding: 40px 15px !important;
    }

    .features-grid,
    .stages-grid,
    .gallery-grid,
    .inspired-features {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .inspired-feature {
        padding: 20px 15px;
    }

    .inspired-image {
        width: 100% !important;
        height: auto !important;
        min-height: 200px;
        margin: 0 auto 15px !important;
    }

    .inspired-image.collaborative,
    .inspired-image.growth,
    .inspired-image.technology {
        width: 100% !important;
        height: auto !important;
        min-height: 200px;
        max-width: 100%;
    }

    .inspired-feature h3 {
        font-size: 16px;
    }

    .inspired-feature p {
        font-size: 13px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 15px;
    }

    .stat-item {
        padding: 10px;
        border-radius: 6px;
    }

    .stat-item h3 {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .stat-item p {
        font-size: 20px;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }

    .btn {
        flex: 1;
    }

    .btn-primary {
        margin-right: 0;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .scholarship-card {
        padding: 4px 6px;
        max-width: 260px;
        width: auto;
        border-radius: 5px;
        margin-left: auto;
        margin-right: auto;
    }

    .scholarship-header h3 {
        font-size: 7px;
        letter-spacing: 0.1px;
    }

    .scholarship-header i {
        font-size: 10px;
    }

    .scholarship-amount h2 {
        font-size: 13px;
    }

    .scholarship-amount p {
        font-size: 6px;
    }

    .scholarship-details {
        font-size: 6px;
        margin-bottom: 4px;
    }

    .scholarship-deadline {
        font-size: 5px;
    }

    .btn-scholarship {
        padding: 4px 5px;
        font-size: 7px;
    }

    .features h2,
    .contact h2 {
        font-size: 24px;
    }

    .info-item {
        flex-direction: column;
        padding: 20px;
    }

    .footer-content {
        gap: 30px;
    }
}

/* ======================
   APPLY NOW PAGE STYLES
   ====================== */
.page-header {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 80px 20px 60px;
    text-align: center;
    margin-top: 70px;
}

.page-header-content h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header-content p {
    font-size: 18px;
    opacity: 0.95;
}

.apply-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
}

.apply-form-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
    padding: 50px;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-intro {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.form-intro h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.form-intro p {
    color: var(--text-light);
    font-size: 16px;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h3 i {
    font-size: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label span {
    user-select: none;
}

.checkbox-label.checkbox-large {
    font-size: 15px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.terms-section {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.form-actions .btn {
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
}

.success-message {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    margin: 0 auto;
    animation: slideUp 0.5s ease-out;
}

.success-content {
    padding: 60px 40px;
    text-align: center;
}

.success-content i {
    font-size: 80px;
    color: var(--success-color);
    margin-bottom: 20px;
    display: block;
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    70% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.success-content h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.success-content p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.success-content strong {
    color: var(--primary-color);
}

.success-content .btn {
    margin-top: 30px;
}

/* ======================
   APPLY PAGE RESPONSIVE
   ====================== */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 20px 40px;
    }

    .page-header-content h1 {
        font-size: 32px;
    }

    .page-header-content p {
        font-size: 16px;
    }

    .apply-form-wrapper {
        padding: 30px 20px;
    }

    .form-intro h2 {
        font-size: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions .btn {
        width: 100%;
    }

    .success-content {
        padding: 40px 20px;
    }

    .success-content i {
        font-size: 60px;
        margin-bottom: 15px;
    }

    .success-content h3 {
        font-size: 22px;
    }

    /* Sports Page Mobile */
    .sports-hero {
        padding: 60px 20px;
    }

    .sports-hero-title {
        font-size: 36px;
    }

    .sports-hero-subtitle {
        font-size: 16px;
    }

    .sports-intro {
        padding: 60px 20px;
    }

    .intro-content h2 {
        font-size: 28px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sports-programs {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .program-card {
        padding: 20px;
        gap: 15px;
    }

    .program-header {
        flex-direction: column;
        gap: 15px;
    }

    .program-icon {
        width: 60px;
        height: 60px;
        font-size: 32px;
    }

    /* Program Showcase Mobile */
    .program-showcase {
        padding: 25px 20px;
        margin-bottom: 30px;
    }

    .showcase-header h3 {
        font-size: 22px;
    }

    .showcase-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .showcase-image-wrapper {
        aspect-ratio: auto;
        height: 250px;
    }

    .image-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .image-stats .stat {
        padding: 15px;
    }

    .image-stats .stat h4 {
        font-size: 20px;
    }

    .image-stats .stat p {
        font-size: 11px;
    }

    .showcase-thumbnails {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .showcase-description {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .description-card {
        padding: 20px;
    }

    .description-card i {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .description-card h4 {
        font-size: 14px;
    }

    .description-card p {
        font-size: 12px;
    }

    .sports-achievements {
        padding: 60px 20px;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .sports-schedule {
        padding: 60px 20px;
    }

    .schedule-table table {
        font-size: 12px;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 8px 5px;
    }

    .sports-cta {
        padding: 50px 20px;
    }

    .sports-cta h2 {
        font-size: 28px;
    }
}

/* ====================== 
   GRADE PAGES STYLING
   ====================== */

/* Grade Hero Sections */
.grade-hero {
    padding: 100px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grade-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.grade-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.grade-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.grade-hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.grade-hero p {
    font-size: 24px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Grade Color Classes */
.grade-1-hero {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

.grade-2-hero {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.grade-3-hero {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.grade-4-hero {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.grade-5-hero {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.grade-6-hero {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}

.grade-7-hero {
    background: linear-gradient(135deg, #ef4444 0%, #991b1b 100%);
}

.grade-8-hero {
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
}

.grade-9-hero {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

/* Grade Overview Section */
.grade-overview {
    padding: 80px 20px;
    background: #f8fafc;
}

.overview-header {
    text-align: center;
    margin-bottom: 60px;
}

.overview-header h2 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.header-line {
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 3px;
}

.overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.overview-main h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.overview-main p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

.overview-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.highlight-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-left: 5px solid var(--primary-color);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.highlight-item i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: block;
}

.highlight-item h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.highlight-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.overview-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.info-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border-top: 5px solid var(--primary-color);
}

.info-box h3 {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.info-value {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 8px;
}

.info-detail {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

/* Curriculum Section */
.grade-curriculum {
    padding: 80px 20px;
    background: white;
}

.section-title {
    font-size: 42px;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.curriculum-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 5px solid var(--primary-color);
}

.curriculum-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.curriculum-icon {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    font-weight: 600;
}

.curriculum-icon.language {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.curriculum-icon.mathematics {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.curriculum-icon.science {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.curriculum-icon.social {
    background: linear-gradient(135deg, #10b981, #059669);
}

.curriculum-icon.arts {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.curriculum-icon.pe {
    background: linear-gradient(135deg, #ec4899, #be185d);
}

.curriculum-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    padding: 20px 20px 10px;
    font-weight: 600;
}

.curriculum-list {
    list-style: none;
    padding: 0 20px 20px;
    margin: 0;
}

.curriculum-list li {
    font-size: 14px;
    color: var(--text-light);
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.curriculum-list li:last-child {
    border-bottom: none;
}

.curriculum-list li::before {
    content: '✓ ';
    color: var(--success-color);
    font-weight: 600;
    margin-right: 8px;
}

/* Activities Section */
.grade-activities {
    padding: 80px 20px;
    background: #f8fafc;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-light);
    margin-top: -40px;
    margin-bottom: 40px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.activity-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.activity-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.activity-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.activity-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Teachers Section */
.grade-teachers {
    padding: 80px 20px;
    background: white;
}

.teachers-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    border: 2px solid #e2e8f0;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.info-icon {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.info-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.info-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.grade-cta {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.grade-cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}

.grade-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 16px;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Grade Pages Mobile Responsive */
@media (max-width: 768px) {
    .grade-hero {
        padding: 60px 20px;
        min-height: 350px;
    }

    .grade-hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .grade-hero h1 {
        font-size: 36px;
    }

    .grade-hero p {
        font-size: 16px;
    }

    .grade-overview {
        padding: 50px 20px;
    }

    .overview-header h2 {
        font-size: 28px;
    }

    .overview-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .overview-highlights {
        grid-template-columns: 1fr;
    }

    .curriculum-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .activities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .teachers-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .grade-cta {
        padding: 40px 20px;
    }

    .grade-cta h2 {
        font-size: 24px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .highlight-item {
        padding: 20px;
    }

    .info-box {
        padding: 25px 20px;
    }

    .activity-card {
        padding: 30px 20px;
    }

    .info-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .curriculum-grid {
        grid-template-columns: 1fr;
    }

    .overview-highlights {
        grid-template-columns: 1fr;
    }

    .grade-hero {
        padding: 40px 15px;
        min-height: 300px;
    }

    .grade-hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .grade-hero h1 {
        font-size: 28px;
    }

    .grade-hero p {
        font-size: 14px;
    }

    .section-title {
        font-size: 22px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }
}

/* ======================
   CHATBOT STYLES
   ====================== */
.chat-bubble {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

.chat-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

/* ======================
   SPONSORED SECTION
   ====================== */
.sponsored-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.sponsored-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: backgroundShift 20s linear infinite;
}

@keyframes backgroundShift {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.sponsored-banner {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.sponsored-content {
    text-align: center;
}

.sponsored-title {
    font-size: 28px;
    color: #667eea;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: 1px;
}

.sponsored-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.church-icon {
    font-size: 80px;
    color: #764ba2;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.sponsored-text {
    animation: fadeIn 1s ease-out 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.sponsor-name {
    font-size: 32px;
    color: #764ba2;
    font-weight: 700;
    margin: 0;
    animation: scaleIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.sponsor-subtitle {
    font-size: 16px;
    color: #667eea;
    margin: 10px 0 0 0;
    font-weight: 500;
    letter-spacing: 0.5px;
    animation: fadeIn 1s ease-out 0.5s both;
}

.sponsored-description {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out 0.7s both;
}

/* Responsive Design for Sponsored Section */
@media (max-width: 768px) {
    .sponsored-section {
        padding: 40px 0;
    }

    .sponsored-banner {
        padding: 35px 25px;
    }

    .sponsored-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .sponsored-animation {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }

    .church-icon {
        font-size: 60px;
    }

    .sponsor-name {
        font-size: 24px;
    }

    .sponsor-subtitle {
        font-size: 14px;
    }

    .sponsored-description {
        font-size: 14px;
    }
}

/* ======================
   PHOTO GALLERY SECTION
   ====================== */
.gallery-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%);
    position: relative;
}

.gallery-section .section-header {
    margin-bottom: 60px;
}

.gallery-section h2 {
    font-size: 42px;
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 15px;
}

.gallery-section .section-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin-top: 15px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    overflow: hidden;
    background: #e5e7eb;
}

.gallery-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-image-wrapper img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(3px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    animation: captionSlide 0.4s ease-out forwards;
}

@keyframes captionSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery Grid - Masonry Style for Desktop */
@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Make some items larger for visual interest */
    .gallery-item:nth-child(2) {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }

    .gallery-item:nth-child(5) {
        grid-column: 3 / 4;
        grid-row: 1 / 3;
    }

    .gallery-image-wrapper {
        padding-bottom: 100%;
    }

    .gallery-item:nth-child(2) .gallery-image-wrapper,
    .gallery-item:nth-child(5) .gallery-image-wrapper {
        padding-bottom: 100%;
    }
}

/* Tablet View */
@media (min-width: 768px) and (max-width: 1023px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile View */
@media (max-width: 767px) {
    .gallery-section {
        padding: 50px 0;
    }

    .gallery-section h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .gallery-section .section-subtitle {
        font-size: 14px;
        margin-top: 10px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-caption {
        font-size: 16px;
    }

    .gallery-item:hover {
        transform: translateY(-8px);
    }
}


