/* ========================================
   Naveed-e-Sahar School Website
   Section-Based Theme System
   ======================================== */

/* ========== CSS Variables & Base ========== */
:root {
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.2);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50%;
}

/* Theme: Hero - Ocean Blue */
.theme-hero {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #38bdf8;
    --secondary: #06b6d4;
    --accent: #22d3ee;
    --bg: #0c1929;
    --bg-light: #132f4c;
    --text: #f0f9ff;
    --text-muted: #94a3b8;
}

/* Theme: About - Emerald Green */
.theme-about {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --secondary: #059669;
    --accent: #065f46;
    --bg: #f0fdf4;
    --bg-light: #ecfdf5;
    --text: #064e3b;
    --text-muted: #6b7280;
}

/* Theme: News - Sunset Orange */
.theme-news {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --primary-light: #fb923c;
    --secondary: #f59e0b;
    --accent: #fbbf24;
    --bg: #fff7ed;
    --bg-light: #fffbeb;
    --text: #9a3412;
    --text-muted: #78716c;
}

/* Theme: Classes - Sky Blue */
.theme-classes {
    --primary: #38bdf8;
    --primary-dark: #0ea5e9;
    --primary-light: #7dd3fc;
    --secondary: #60a5fa;
    --accent: #3b82f6;
    --bg: #f0f9ff;
    --bg-light: #e0f2fe;
    --text: #0c4a6e;
    --text-muted: #64748b;
}

/* Theme: Teachers - Royal Purple */
.theme-teachers {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --secondary: #6d28d9;
    --accent: #fbbf24;
    --bg: #1e1b4b;
    --bg-light: #312e81;
    --text: #f5f3ff;
    --text-muted: #c4b5fd;
}

/* Theme: Testimonials - Warm Coral */
.theme-testimonials {
    --primary: #f472b6;
    --primary-dark: #ec4899;
    --primary-light: #f9a8d4;
    --secondary: #fb7185;
    --accent: #fda4af;
    --bg: #fdf2f8;
    --bg-light: #fce7f3;
    --text: #831843;
    --text-muted: #9f1239;
}

/* Theme: Why Choose - Navy Blue */
.theme-why-choose {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary: #fbbf24;
    --accent: #f59e0b;
    --bg: #0f172a;
    --bg-light: #1e293b;
    --text: #f8fafc;
    --text-muted: #94a3b8;
}

/* Theme: Blog - Teal */
.theme-blog {
    --primary: #14b8a6;
    --primary-dark: #0d9488;
    --primary-light: #2dd4bf;
    --secondary: #0f766e;
    --accent: #5eead4;
    --bg: #f0fdfa;
    --bg-light: #ccfbf1;
    --text: #134e4a;
    --text-muted: #5eead4;
}

/* Theme: Alumni - Gold */
.theme-alumni {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --primary-light: #fbbf24;
    --secondary: #b45309;
    --accent: #fef3c7;
    --bg: linear-gradient(135deg, #92400e 0%, #b45309 50%, #d97706 100%);
    --bg-light: #fef3c7;
    --text: #451a03;
    --text-muted: #78350f;
}

/* Theme: Contact - Slate */
.theme-contact {
    --primary: #64748b;
    --primary-dark: #475569;
    --primary-light: #94a3b8;
    --secondary: #334155;
    --accent: #3b82f6;
    --bg: #f8fafc;
    --bg-light: #f1f5f9;
    --text: #1e293b;
    --text-muted: #64748b;
}

/* Theme: Footer - Dark Slate */
.theme-footer {
    --primary: #94a3b8;
    --primary-dark: #64748b;
    --primary-light: #cbd5e1;
    --secondary: #475569;
    --accent: #f8fafc;
    --bg: #1e293b;
    --bg-light: #334155;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
}

/* ========== Reset & Base Styles ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: #1f2937;
    background: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ========== Utility Classes ========== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ========== Progress Bar ========== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #10b981, #f97316, #8b5cf6, #f59e0b);
    z-index: 10001;
    transition: width 0.1s ease;
    width: 0%;
}

/* ========== Header ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
}

.header-top {
    background: linear-gradient(135deg, #0c1929 0%, #132f4c 100%);
    padding: var(--space-xs) 0;
    font-size: 0.85rem;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.header-contact {
    display: flex;
    gap: var(--space-md);
}

.header-contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: #e0f2fe;
    transition: color var(--transition-fast);
}

.header-contact-item:hover {
    color: #38bdf8;
}

.header-contact-item .icon {
    width: 16px;
    height: 16px;
}

.header-links {
    display: flex;
    gap: var(--space-md);
}

.header-link {
    color: #e0f2fe;
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}

.header-link:hover {
    color: #38bdf8;
}

.nav {
    padding: var(--space-sm) 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    transition: transform var(--transition-normal);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: var(--space-lg);
}

.nav-link {
    font-weight: 500;
    color: #374151;
    position: relative;
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0ea5e9, #10b981);
    transition: width var(--transition-normal);
}

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

.nav-link:hover,
.nav-link.active {
    color: #0ea5e9;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: #374151;
    transition: all var(--transition-fast);
}

/* ========== Hero Section - Ocean Blue ========== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0c1929 0%, #132f4c 30%, #0ea5e9 70%, #38bdf8 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-particles::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #38bdf8, transparent),
        radial-gradient(2px 2px at 40px 70px, #22d3ee, transparent),
        radial-gradient(2px 2px at 50px 160px, #67e8f9, transparent),
        radial-gradient(2px 2px at 70px 180px, #0ea5e9, transparent),
        radial-gradient(2px 2px at 90px 40px, #38bdf8, transparent),
        radial-gradient(2px 2px at 130px 80px, #22d3ee, transparent),
        radial-gradient(2px 2px at 160px 120px, #67e8f9, transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: particleFloat 20s linear infinite;
    opacity: 0.6;
}

@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-200px) translateX(50px); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
    padding: var(--space-2xl);
}

.hero-badge {
    display: inline-block;
    margin-bottom: var(--space-lg);
}

.hero-badge-text {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(56, 189, 248, 0.2);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: var(--radius-xl);
    color: #7dd3fc;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-heading);
    margin-bottom: var(--space-lg);
}

.hero-title-line {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: var(--space-sm);
}

.hero-title-gradient {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 400;
    font-style: italic;
    background: linear-gradient(90deg, #38bdf8, #22d3ee, #67e8f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #e0f2fe;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    line-height: 1.8;
}

.hero-description strong {
    color: #38bdf8;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-xl);
    font-weight: 600;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: linear-gradient(135deg, #fff 0%, #e0f2fe 100%);
    color: #0c1929;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
}

.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.float-element {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.3;
}

.float-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #38bdf8, transparent);
    top: 10%;
    right: 10%;
    animation: float1 8s ease-in-out infinite;
}

.float-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #22d3ee, transparent);
    top: 60%;
    left: 5%;
    animation: float2 10s ease-in-out infinite;
}

.float-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, #67e8f9, transparent);
    bottom: 20%;
    right: 20%;
    animation: float3 12s ease-in-out infinite;
}

.float-4 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #0ea5e9, transparent);
    top: 30%;
    left: 20%;
    animation: float4 7s ease-in-out infinite;
}

.float-5 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #7dd3fc, transparent);
    top: 70%;
    right: 5%;
    animation: float5 9s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.1); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-15px, 25px) scale(1.15); }
}

@keyframes float4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(25px, 15px) scale(1.1); }
}

@keyframes float5 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -10px) scale(1.08); }
}

/* ========== About Section - Emerald Green ========== */
.about {
    background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 50%, #d1fae5 100%);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.about-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #10b981, #34d399);
    top: -100px;
    left: -100px;
    animation: blobMove 15s ease-in-out infinite;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #059669, #065f46);
    bottom: -150px;
    right: -100px;
    animation: blobMove 12s ease-in-out infinite reverse;
}

@keyframes blobMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #10b981;
    margin-bottom: var(--space-sm);
    position: relative;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: #10b981;
}

.section-subtitle::before {
    right: calc(100% + 15px);
}

.section-subtitle::after {
    left: calc(100% + 15px);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #064e3b;
    max-width: 800px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-2xl);
    align-items: start;
}

.about-content {
    position: relative;
}

.about-text {
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.btn-outline {
    background: transparent;
    color: #059669;
    border: 2px solid #10b981;
}

.btn-outline:hover {
    background: #10b981;
    color: #fff;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all var(--transition-normal);
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #10b981;
}

.feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, #10b981, #34d399);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #064e3b;
    margin-bottom: var(--space-xs);
}

.feature-desc {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}

.section-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
}

.section-divider svg {
    width: 100%;
    height: 100%;
}

/* ========== News Section - Sunset Orange ========== */
.news {
    background: linear-gradient(180deg, #fff7ed 0%, #fed7aa 50%, #fff7ed 100%);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.news .section-subtitle {
    color: #ea580c;
}

.news .section-subtitle::before,
.news .section-subtitle::after {
    background: #ea580c;
}

.news .section-title {
    color: #9a3412;
}

.news-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sun-element {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #fbbf24 0%, #f97316 40%, transparent 70%);
    top: 50px;
    right: 100px;
    border-radius: 50%;
    opacity: 0.4;
}

.ray {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(180deg, #fbbf24, transparent);
    transform-origin: bottom center;
}

.ray-1 { top: 150px; right: 198px; transform: rotate(-30deg); opacity: 0.3; }
.ray-2 { top: 140px; right: 200px; transform: rotate(15deg); opacity: 0.2; }
.ray-3 { top: 145px; right: 205px; transform: rotate(-15deg); opacity: 0.25; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.news-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
    box-shadow: var(--shadow-sm);
}

.news-date-day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.news-date-month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.news-content {
    padding: var(--space-md);
}

.news-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #78350f;
    margin-bottom: var(--space-xs);
    line-height: 1.4;
}

.news-excerpt {
    font-size: 0.9rem;
    color: #78716c;
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: #ea580c;
    font-weight: 600;
    font-size: 0.9rem;
}

.news-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.news-link:hover svg {
    transform: translateX(4px);
}

.section-footer {
    text-align: center;
    margin-top: var(--space-2xl);
}

.btn-news {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}

.btn-news:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.5);
}

/* ========== Classes Section - Sky Blue ========== */
.classes {
    background: linear-gradient(180deg, #e0f2fe 0%, #f0f9ff 50%, #bae6fd 100%);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.classes .section-subtitle {
    color: #0369a1;
}

.classes .section-subtitle::before,
.classes .section-subtitle::after {
    background: #0369a1;
}

.classes .section-title {
    color: #0c4a6e;
}

.clouds {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: inherit;
}

.cloud-1 {
    width: 150px;
    height: 50px;
    top: 100px;
    left: 10%;
    animation: cloudFloat 25s linear infinite;
}

.cloud-1::before {
    width: 80px;
    height: 80px;
    top: -40px;
    left: 20px;
}

.cloud-1::after {
    width: 60px;
    height: 60px;
    top: -30px;
    right: 20px;
}

.cloud-2 {
    width: 120px;
    height: 40px;
    top: 200px;
    right: 15%;
    animation: cloudFloat 20s linear infinite reverse;
}

.cloud-2::before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 15px;
}

.cloud-2::after {
    width: 50px;
    height: 50px;
    top: -25px;
    right: 15px;
}

.cloud-3 {
    width: 100px;
    height: 35px;
    bottom: 150px;
    left: 50%;
    animation: cloudFloat 22s linear infinite;
}

.cloud-3::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 10px;
}

.cloud-3::after {
    width: 40px;
    height: 40px;
    top: -20px;
    right: 10px;
}

@keyframes cloudFloat {
    0% { transform: translateX(-100px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(calc(100vw + 100px)); opacity: 0; }
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.class-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

.class-card:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.25);
}

.class-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

.class-card:hover .class-image img {
    transform: scale(1.1);
}

.class-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(14, 165, 233, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: var(--space-md);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.class-card:hover .class-overlay {
    opacity: 1;
}

.class-link {
    color: #fff;
    font-weight: 600;
    padding: var(--space-xs) var(--space-md);
    border: 2px solid #fff;
    border-radius: var(--radius-xl);
    transition: all var(--transition-fast);
}

.class-link:hover {
    background: #fff;
    color: #0ea5e9;
}

.class-content {
    padding: var(--space-md);
}

.class-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #0369a1;
    margin-bottom: var(--space-xs);
}

.class-meta {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: #64748b;
    font-size: 0.9rem;
}

.class-teacher {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.class-teacher svg {
    width: 16px;
    height: 16px;
}

.class-grade {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    color: #fff;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.btn-classes {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #fff;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
}

.btn-classes:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.5);
}

/* ========== Teachers Section - Royal Purple ========== */
.teachers {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.teachers-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(251, 191, 36, 0.08) 50%,
        transparent 70%
    );
    background-size: 200% 200%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 200%; }
    100% { background-position: -200% -200%; }
}

.teachers .section-subtitle {
    color: #c4b5fd;
}

.teachers .section-subtitle::before,
.teachers .section-subtitle::after {
    background: #c4b5fd;
}

.teachers .section-title {
    color: #f5f3ff;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.teacher-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(196, 181, 253, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

.teacher-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: #fbbf24;
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.3);
}

.teacher-image {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto var(--space-md);
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-full);
    position: relative;
    z-index: 2;
}

.teacher-ring {
    position: absolute;
    inset: -5px;
    border: 3px solid #fbbf24;
    border-radius: var(--radius-full);
    opacity: 0;
    transition: all var(--transition-normal);
}

.teacher-card:hover .teacher-ring {
    opacity: 1;
    animation: ringRotate 3s linear infinite;
}

@keyframes ringRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.teacher-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #f5f3ff;
    margin-bottom: var(--space-xs);
}

.teacher-role {
    color: #c4b5fd;
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.teacher-socials {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: #c4b5fd;
    transition: all var(--transition-normal);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.social-link:nth-child(1):hover { background: #1877f2; color: #fff; }
.social-link:nth-child(2):hover { background: #1da1f2; color: #fff; }
.social-link:nth-child(3):hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.social-link:nth-child(4):hover { background: #0077b5; color: #fff; }

.btn-teachers {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #1e1b4b;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
}

.btn-teachers:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.5);
}

/* ========== Testimonials Section - Warm Coral ========== */
.testimonials {
    background: linear-gradient(180deg, #fdf2f8 0%, #fce7f3 50%, #fbcfe8 100%);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.testimonials .section-subtitle {
    color: #be185d;
}

.testimonials .section-subtitle::before,
.testimonials .section-subtitle::after {
    background: #be185d;
}

.testimonials .section-title {
    color: #831843;
}

.hearts-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.heart {
    position: absolute;
    opacity: 0.1;
}

.heart::before {
    content: '';
    display: block;
    width: 100px;
    height: 90px;
    background: #ec4899;
    position: relative;
    transform: rotate(-45deg);
    border-radius: 50% 0 0 50%;
}

.heart::after {
    content: '';
    display: block;
    width: 100px;
    height: 90px;
    background: #ec4899;
    position: absolute;
    top: 0;
    left: 50px;
    transform: rotate(45deg);
    border-radius: 50% 50% 0 0;
}

.heart-1 {
    top: 50px;
    right: 100px;
    transform: scale(0.5);
    animation: heartFloat 15s ease-in-out infinite;
}

.heart-2 {
    bottom: 100px;
    left: 50px;
    transform: scale(0.3);
    animation: heartFloat 12s ease-in-out infinite reverse;
}

@keyframes heartFloat {
    0%, 100% { transform: translateY(0) scale(0.5); }
    50% { transform: translateY(-30px) scale(0.55); }
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform var(--transition-slow);
}

.testimonial-card {
    flex: 0 0 100%;
    padding: var(--space-lg);
    text-align: center;
}

.testimonial-quote {
    position: relative;
    margin-bottom: var(--space-lg);
}

.quote-mark {
    width: 50px;
    height: 50px;
    color: #f9a8d4;
    opacity: 0.5;
    margin: 0 auto var(--space-sm);
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #831843;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid #ec4899;
}

.testimonial-info {
    text-align: left;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #9f1239;
}

.testimonial-role {
    font-size: 0.9rem;
    color: #be185d;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.testimonial-btn {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    background: #ec4899;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.testimonial-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

.testimonial-btn svg {
    width: 20px;
    height: 20px;
}

.testimonial-dots {
    display: flex;
    gap: var(--space-xs);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: #f9a8d4;
    border: none;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.dot.active {
    background: #ec4899;
    transform: scale(1.2);
}

.dot:hover {
    background: #ec4899;
}

/* ========== Why Choose Section - Navy Blue ========== */
.why-choose {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: var(--space-3xl) 0;
    position: relative;
}

.why-choose .section-subtitle {
    color: #fbbf24;
}

.why-choose .section-subtitle::before,
.why-choose .section-subtitle::after {
    background: #fbbf24;
}

.why-choose .section-title {
    color: #f8fafc;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.why-content {
    padding-right: var(--space-xl);
}

.why-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #f8fafc;
    margin-bottom: var(--space-md);
}

.why-text {
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.8;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    border-color: #fbbf24;
    background: rgba(255, 255, 255, 0.08);
}

.stat-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-info {
    flex: 1;
}

.stat-label {
    display: block;
    color: #f8fafc;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.stat-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: var(--space-xs);
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: var(--radius-sm);
    width: 0;
    transition: width 1.5s ease-out;
}

.stat-percent {
    color: #fbbf24;
    font-weight: 700;
    font-size: 0.9rem;
}

/* ========== Blog Section - Teal ========== */
.blog {
    background: linear-gradient(180deg, #f0fdfa 0%, #ccfbf1 50%, #f0fdfa 100%);
    padding: var(--space-3xl) 0;
}

.blog .section-subtitle {
    color: #0f766e;
}

.blog .section-subtitle::before,
.blog .section-subtitle::after {
    background: #0f766e;
}

.blog .section-title {
    color: #134e4a;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.blog-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    color: #fff;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: var(--space-md);
}

.blog-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #134e4a;
    margin-bottom: var(--space-xs);
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
    font-size: 0.85rem;
    color: #64748b;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.blog-date svg {
    width: 14px;
    height: 14px;
}

.blog-read-time {
    color: #14b8a6;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: #0d9488;
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.blog-link:hover svg {
    transform: translateX(4px);
}

/* ========== Alumni Section - Gold ========== */
.alumni {
    background: linear-gradient(135deg, #92400e 0%, #b45309 50%, #d97706 100%);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.alumni-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(254, 243, 199, 0.15) 50%,
        transparent 70%
    );
    background-size: 200% 200%;
    animation: shimmer 3s linear infinite;
}

.alumni .section-subtitle {
    color: #fef3c7;
}

.alumni .section-subtitle::before,
.alumni .section-subtitle::after {
    background: #fef3c7;
}

.alumni .section-title {
    color: #fffbeb;
}

.alumni-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

.alumni-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 243, 199, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

.alumni-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.25);
    border-color: #fbbf24;
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.4);
}

.alumni-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
    background: linear-gradient(135deg, #fbbf24, #d97706);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.alumni-icon svg {
    width: 28px;
    height: 28px;
}

.alumni-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #fffbeb;
    margin-bottom: var(--space-xs);
}

.alumni-degree {
    color: #fbbf24;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.alumni-institution {
    color: #fef3c7;
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

.alumni-desc {
    color: rgba(254, 243, 199, 0.8);
    font-size: 0.85rem;
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.alumni-link {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(251, 191, 36, 0.3);
    border: 1px solid #fbbf24;
    border-radius: var(--radius-xl);
    color: #fef3c7;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.alumni-link:hover {
    background: #fbbf24;
    color: #78350f;
}

.alumni-ctas {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
    position: relative;
    z-index: 1;
}

.btn-alumni {
    padding: var(--space-sm) var(--space-xl);
}

.btn-alumni-primary {
    background: rgba(255, 255, 255, 0.95);
    color: #78350f;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-alumni-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.btn-alumni-secondary {
    background: rgba(251, 191, 36, 0.3);
    color: #fef3c7;
    border: 1px solid #fbbf24;
}

.btn-alumni-secondary:hover {
    background: #fbbf24;
    color: #78350f;
}

/* ========== Contact Section - Slate ========== */
.contact {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    padding: var(--space-3xl) 0;
}

.contact .section-subtitle {
    color: #475569;
}

.contact .section-subtitle::before,
.contact .section-subtitle::after {
    background: #475569;
}

.contact .section-title {
    color: #1e293b;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: #64748b;
    margin-top: var(--space-sm);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
}

.contact-form-wrapper {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-md) var(--space-sm);
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    background: #f8fafc;
    color: #1e293b;
    transition: all var(--transition-fast);
    outline: none;
}

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

.form-group label {
    position: absolute;
    left: var(--space-sm);
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    transition: all var(--transition-fast);
    background: transparent;
    padding: 0 var(--space-xs);
}

.form-group textarea ~ label {
    top: var(--space-md);
    transform: translateY(0);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #3b82f6;
    background: #fff;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: 0;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: #3b82f6;
    background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-group .focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.form-group input:focus ~ .focus-border,
.form-group textarea:focus ~ .focus-border {
    width: 100%;
}

.btn-contact {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    margin-top: var(--space-sm);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-info-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    transition: all var(--transition-normal);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-info-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 2px;
}

.contact-info-card p {
    color: #64748b;
    font-size: 0.9rem;
}

.contact-info-card a {
    color: #3b82f6;
    transition: color var(--transition-fast);
}

.contact-info-card a:hover {
    color: #2563eb;
}

.contact-socials {
    background: #fff;
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.contact-socials h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: var(--space-sm);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: var(--radius-full);
    color: #64748b;
    transition: all var(--transition-normal);
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.social-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.social-btn:nth-child(1):hover { background: #1877f2; color: #fff; }
.social-btn:nth-child(2):hover { background: #1da1f2; color: #fff; }
.social-btn:nth-child(3):hover { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); color: #fff; }
.social-btn:nth-child(4):hover { background: #ff0000; color: #fff; }

/* ========== Footer - Dark Slate ========== */
.footer {
    background: #1e293b;
    padding-top: 0;
    position: relative;
}

.footer-wave {
    height: 100px;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
}

.footer .container {
    padding: var(--space-2xl) var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 60px;
    margin-bottom: var(--space-md);
}

.footer-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.footer-affiliation {
    display: inline-flex;
    flex-direction: column;
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
}

.footer-affiliation span {
    color: #64748b;
    font-size: 0.8rem;
}

.footer-affiliation strong {
    color: #f8fafc;
    font-size: 1rem;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #f8fafc;
    margin-bottom: var(--space-md);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width var(--transition-fast);
}

.footer-links a:hover {
    color: #f8fafc;
}

.footer-links a:hover::before {
    width: 10px;
}

.footer-newsletter p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.newsletter-form {
    display: flex;
    gap: var(--space-xs);
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    color: #f8fafc;
    outline: none;
    transition: all var(--transition-fast);
}

.newsletter-form input::placeholder {
    color: #64748b;
}

.newsletter-form input:focus {
    border-color: #3b82f6;
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: var(--radius-md);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.newsletter-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.newsletter-form button svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.copyright {
    color: #64748b;
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: var(--space-sm);
}

.footer-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    color: #94a3b8;
    transition: all var(--transition-normal);
}

.footer-socials a svg {
    width: 18px;
    height: 18px;
}

.footer-socials a:hover {
    background: #3b82f6;
    color: #fff;
    transform: translateY(-4px);
}

/* ========== Back to Top Button ========== */
.back-to-top {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: var(--radius-full);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ========== Scroll Animations ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Responsive Styles ========== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        order: 2;
    }

    .news-grid,
    .teachers-grid,
    .alumni-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .classes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-content {
        padding-right: 0;
        margin-bottom: var(--space-lg);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 4rem;
    }

    .header-top {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-sm);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-content {
        padding: var(--space-lg);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .section-subtitle::before,
    .section-subtitle::after {
        display: none;
    }

    .news-grid,
    .teachers-grid,
    .classes-grid,
    .alumni-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: var(--space-md);
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .stats-grid {
        gap: var(--space-sm);
    }

    .stat-card {
        padding: var(--space-sm);
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .stat-icon svg {
        width: 20px;
        height: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links ul {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .alumni-ctas {
        flex-direction: column;
        align-items: center;
    }

    .btn-alumni {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --space-3xl: 3rem;
    }

    .hero-title-line {
        font-size: 2rem;
    }

    .hero-title-gradient {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-info {
        text-align: center;
    }

    .contact-form-wrapper {
        padding: var(--space-md);
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
        height: 45px;
    }
}

/* ========== Print Styles ========== */
@media print {
    .header,
    .back-to-top,
    .progress-bar,
    .hero-wave,
    .section-divider,
    .floating-elements,
    .clouds,
    .hearts-bg,
    .news-bg-elements,
    .about-blobs,
    .teachers-bg,
    .alumni-shimmer {
        display: none !important;
    }

    .hero {
        min-height: auto;
        background: #f5f5f5;
        padding: var(--space-lg);
    }

    body {
        font-size: 12pt;
    }
}
