/* ============================================
   Cambridge Group of Schools - Premium Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #1a365d;
    --primary-dark: #0f2340;
    --primary-light: #2c5282;
    --secondary: #d69e2e;
    --secondary-light: #ecc94b;
    --secondary-dark: #b7791f;
    --accent: #38a169;
    --white: #ffffff;
    --off-white: #faf9f7;
    --cream: #f7f5f0;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

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

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

/* ============================================
   Utility Classes
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

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

/* ============================================
   Preloader
   ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.school-logo-loader {
    width: 100px;
    height: 100px;
    background: var(--secondary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: pulse-glow 2s ease-in-out infinite;
}

.school-logo-loader .logo-text {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(214, 158, 46, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px 10px rgba(214, 158, 46, 0.2);
    }
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto 20px;
}

.loading-progress {
    width: 0;
    height: 100%;
    background: var(--secondary);
    border-radius: var(--radius-full);
    animation: loading 2s ease-in-out forwards;
}

@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}

.loading-text {
    color: var(--white);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* ============================================
   WhatsApp Float Button
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--gray-800);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition-normal);
    padding: 15px 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.logo-icon span {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
    transition: var(--transition-normal);
}

.logo-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    transition: var(--transition-normal);
}

.header.scrolled .logo-main {
    color: var(--primary);
}

.header.scrolled .logo-sub {
    color: var(--gray-500);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link i {
    font-size: 0.7rem;
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.15);
}

.header.scrolled .nav-link {
    color: var(--gray-700);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    background: var(--gray-100);
    color: var(--primary);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
}

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

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 16px;
    color: var(--gray-700);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.dropdown-menu li a:hover {
    background: var(--gray-100);
    color: var(--primary);
    padding-left: 20px;
}

/* Nav Buttons */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-admission-btn {
    background: var(--secondary);
    color: var(--primary-dark);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-normal);
}

.nav-admission-btn:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-admission-btn i {
    transition: var(--transition-normal);
}

.nav-admission-btn:hover i {
    transform: translateX(4px);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.header.scrolled .nav-toggle {
    color: var(--gray-700);
}

.nav-close {
    display: none;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn i {
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--secondary);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(214, 158, 46, 0.3);
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-outline {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-3px);
}

.btn-outline-white {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #0a1628 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(214, 158, 46, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(214, 158, 46, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(56, 161, 105, 0.05) 0%, transparent 40%);
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    top: -100px;
    right: -100px;
    animation: float1 20s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    bottom: 20%;
    left: -50px;
    animation: float2 15s ease-in-out infinite;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--secondary);
    top: 40%;
    left: 20%;
    animation: float3 18s ease-in-out infinite;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: var(--white);
    bottom: 10%;
    right: 20%;
    animation: float1 12s ease-in-out infinite reverse;
}

.shape-5 {
    width: 80px;
    height: 80px;
    background: var(--accent);
    top: 20%;
    right: 30%;
    animation: float2 10s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

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

@keyframes float3 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(20px, 20px); }
    50% { transform: translate(0, 40px); }
    75% { transform: translate(-20px, 20px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(214, 158, 46, 0.2);
    border: 1px solid rgba(214, 158, 46, 0.3);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(214, 158, 46, 0.4); }
    50% { box-shadow: 0 0 20px 5px rgba(214, 158, 46, 0.2); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .highlight-alt {
    color: var(--white);
    position: relative;
}

.hero-title .highlight-alt::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(214, 158, 46, 0.3);
    z-index: -1;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-image-container {
    position: relative;
}

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.hero-image-frame:hover .hero-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.4) 0%, transparent 50%);
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-xl);
    animation: cardFloat 3s ease-in-out infinite;
}

.floating-card .card-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.floating-card .card-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.floating-card .card-text {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.card-1 {
    top: 20px;
    left: -40px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 100px;
    right: -30px;
    animation-delay: 1s;
}

.card-3 {
    bottom: -20px;
    left: 40px;
    animation-delay: 2s;
}

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

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--secondary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* ============================================
   Marquee Banner
   ============================================ */
.marquee-banner {
    background: var(--secondary);
    padding: 15px 0;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: 60px;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.marquee-item i {
    color: var(--primary);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
}

.section-tag.center {
    justify-content: center;
}

.tag-line {
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.tag-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
}

.section-header.center .section-subtitle {
    margin: 0 auto;
}

/* ============================================
   About Preview Section
   ============================================ */
.about-preview {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.image-stack {
    position: relative;
}

.image-main {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.exp-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    font-size: 0.85rem;
    font-weight: 500;
}

.image-secondary {
    position: absolute;
    top: 50%;
    left: -60px;
    transform: translateY(-50%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 5px solid var(--white);
}

.image-secondary img {
    width: 200px;
    height: 150px;
    object-fit: cover;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--gray-500);
}

/* ============================================
   Classes Section
   ============================================ */
.classes-section {
    background: var(--white);
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.class-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
}

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

.class-card.featured {
    border: 2px solid var(--secondary);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.class-icon {
    position: relative;
    overflow: hidden;
}

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

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

.class-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
}

.class-content {
    padding: 24px;
}

.class-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.class-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.6;
}

.class-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.class-features li {
    font-size: 0.85rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 10px;
}

.class-features li i {
    color: var(--accent);
    font-size: 0.75rem;
}

/* ============================================
   Branches Section
   ============================================ */
.branches-section {
    position: relative;
    background: var(--primary);
    overflow: hidden;
}

.branches-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(214, 158, 46, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(214, 158, 46, 0.08) 0%, transparent 40%);
}

.branches-section .section-title {
    color: var(--white);
}

.branches-section .tag-text {
    color: var(--secondary);
}

.branches-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.branch-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-normal);
}

.branch-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.branch-image {
    position: relative;
    overflow: hidden;
}

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

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

.branch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 54, 93, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

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

.branch-content {
    padding: 24px;
}

.branch-badge {
    display: inline-block;
    background: rgba(214, 158, 46, 0.15);
    color: var(--secondary-dark);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.branch-content h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.branch-address {
    font-size: 0.9rem;
    color: var(--gray-500);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 16px;
    line-height: 1.5;
}

.branch-address i {
    color: var(--primary);
    margin-top: 3px;
}

.branch-features {
    display: flex;
    gap: 15px;
    margin-bottom: 16px;
}

.branch-features span {
    font-size: 0.8rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 6px;
}

.branch-features span i {
    color: var(--accent);
}

.branch-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition-normal);
}

.branch-phone:hover {
    color: var(--secondary-dark);
}

.branches-cta {
    text-align: center;
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.why-us-section {
    background: var(--cream);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us-text {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.8;
}

.why-us-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.why-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.why-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.why-text p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.video-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.play-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    background: var(--white);
    animation: playPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes playPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--secondary);
    color: var(--primary-dark);
}

.video-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    position: relative;
    background: var(--white);
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(26, 54, 93, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(214, 158, 46, 0.05) 0%, transparent 40%);
}

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

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    margin: 10px;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: var(--secondary);
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1.15rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--secondary);
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.nav-btn {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.nav-btn:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

.testimonials-dots {
    display: flex;
    gap: 10px;
}

.testimonials-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--gray-300);
    cursor: pointer;
    transition: var(--transition-normal);
}

.testimonials-dots .dot.active {
    background: var(--secondary);
    width: 30px;
}

/* ============================================
   Gallery Preview Section
   ============================================ */
.gallery-preview {
    background: var(--gray-50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 54, 93, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: var(--transition-normal);
}

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

.gallery-category {
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 1.5rem;
}

.gallery-cta {
    text-align: center;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(214, 158, 46, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(214, 158, 46, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content h2 span {
    color: var(--secondary);
}

.cta-content > p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
}

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

.cta-contact {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.cta-contact a {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.3rem;
    margin-left: 10px;
}

.cta-contact a:hover {
    color: var(--secondary-light);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 50px;
}

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

.footer-logo .logo-icon {
    background: var(--secondary);
}

.footer-logo .logo-main {
    color: var(--white);
}

.footer-logo .logo-sub {
    color: var(--gray-400);
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    color: var(--gray-400);
}

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

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--gray-400);
    transition: var(--transition-normal);
}

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

.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.contact-item i {
    color: var(--secondary);
    margin-top: 4px;
}

.contact-item span,
.contact-item a {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

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

.back-to-top:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* ============================================
   Animation Classes (for JS)
   ============================================ */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos="fade-down"] {
    transform: translateY(-40px);
}

[data-aos="fade-left"] {
    transform: translateX(40px);
}

[data-aos="fade-right"] {
    transform: translateX(-40px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .classes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-2xl);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 5px;
    }
    
    .nav-link {
        width: 100%;
        color: var(--gray-700);
        padding: 14px 20px;
        border-radius: var(--radius-md);
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: var(--gray-100);
        color: var(--primary);
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .nav-close {
        display: flex;
        position: absolute;
        top: 25px;
        right: 25px;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: var(--gray-700);
        cursor: pointer;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-admission-btn {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-image {
        height: 350px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .about-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-features {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 180px);
    }
    
    .gallery-item.large {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    .floating-card {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .classes-grid,
    .branches-grid {
        grid-template-columns: 1fr;
    }
    
    .image-secondary {
        display: none;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 200px);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 14px 24px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top {
        bottom: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
