/* ==========================================================================
   C10 EDUCARE — Main Stylesheet
   Design: Modern Education Brand
   Palette: Brand Red + Golden Yellow + Charcoal Black (from logo)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --primary: #CC1B17;
    --primary-light: #E53935;
    --primary-dark: #9B1310;
    --accent: #F5C518;
    --accent-hover: #DBA800;
    --accent-light: #FFF8E1;
    --secondary: #1a1a2e;
    --secondary-dark: #0f0f1a;
    --success: #10b981;
    --danger: #ef4444;
    --text: #1e1e1e;
    --text-light: #555555;
    --text-lighter: #888888;
    --bg: #ffffff;
    --bg-alt: #faf8f5;
    --bg-dark: #1a1a2e;
    --border: #e8e4df;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.06);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.08);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --max-width: 1280px;
    --header-height: 80px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.7; background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

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

/* ========== TOPBAR ========== */
.topbar {
    background: var(--secondary);
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
    padding: 8px 0;
    letter-spacing: 0.02em;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.topbar-left { display: flex; gap: 20px; align-items: center; }
.topbar-left a, .topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-left a:hover { color: var(--accent); }
.topbar-right { display: flex; gap: 12px; align-items: center; }
.topbar-social a {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; color: #fff;
    transition: var(--transition);
}
.topbar-social a:hover { background: var(--accent); transform: translateY(-1px); }

/* ========== HEADER / NAVBAR ========== */
.header {
    background: var(--bg);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 3px solid var(--primary);
}
.header.scrolled { box-shadow: var(--shadow-lg); }
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 54px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-text .brand {
    font-family: var(--font-heading);
    font-size: 1.5rem; font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
}
.logo-text .brand span { color: var(--accent); }
.logo-text .tagline { font-size: 0.7rem; color: var(--text-light); letter-spacing: 0.08em; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
    padding: 10px 18px; border-radius: var(--radius-sm);
    font-size: 0.9rem; font-weight: 500;
    color: var(--text); position: relative;
    transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); background: rgba(204,27,23,0.05); }
.nav-menu a.active::after {
    content: '';
    position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
    width: 20px; height: 3px; border-radius: 2px;
    background: var(--accent);
}

.nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(204,27,23,0.3); }

/* Mobile menu toggle */
.menu-toggle {
    display: none; background: none; border: none;
    font-size: 1.5rem; color: var(--text); padding: 8px;
}

/* ========== HERO SLIDER ========== */
.hero-slider { position: relative; height: 85vh; min-height: 550px; max-height: 800px; overflow: hidden; }
.slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 1s ease;
}
.slide.active { opacity: 1; z-index: 1; }
.slide-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    filter: brightness(0.35);
}
.slide-content {
    position: relative; z-index: 2;
    height: 100%; display: flex; flex-direction: column;
    justify-content: center; padding: 0 8%;
    color: #fff; max-width: 750px;
}
.slide-content .badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(245,197,24,0.2); border: 1px solid rgba(245,197,24,0.4);
    padding: 6px 16px; border-radius: 50px;
    font-size: 0.8rem; font-weight: 600; color: var(--accent);
    text-transform: uppercase; letter-spacing: 0.1em;
    width: fit-content; margin-bottom: 20px;
    animation: fadeInUp 0.6s ease forwards;
}
.slide-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700; line-height: 1.1;
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}
.slide-content p {
    font-size: 1.1rem; line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}
.slide-content .btn-group {
    display: flex; gap: 12px; flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}
.slide.active .badge,
.slide.active h1,
.slide.active p,
.slide.active .btn-group { opacity: 1; }

.slider-nav {
    position: absolute; bottom: 40px; left: 8%;
    z-index: 3; display: flex; gap: 8px;
}
.slider-dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: rgba(255,255,255,0.3); border: none;
    cursor: pointer; transition: var(--transition);
}
.slider-dot.active { background: var(--accent); width: 36px; border-radius: 6px; }

.slider-arrows {
    position: absolute; top: 50%; right: 40px;
    z-index: 3; display: flex; flex-direction: column; gap: 8px;
    transform: translateY(-50%);
}
.slider-arrow {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition); cursor: pointer;
}
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 50px;
    font-size: 0.95rem; font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--secondary); font-weight: 700; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,197,24,0.35); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(204,27,23,0.3); }

/* ========== SECTION STYLES ========== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}
.section-header .overline {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.8rem; font-weight: 700;
    color: var(--accent); text-transform: uppercase;
    letter-spacing: 0.12em; margin-bottom: 12px;
}
.section-header .overline::before,
.section-header .overline::after {
    content: ''; width: 24px; height: 2px;
    background: var(--accent); border-radius: 1px;
}
.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700; color: var(--primary);
    margin-bottom: 14px; line-height: 1.2;
}
.section-dark .section-header h2 { color: #fff; }
.section-header p { color: var(--text-light); font-size: 1.05rem; }
.section-dark .section-header p { color: rgba(255,255,255,0.6); }

/* ========== STATS BAR ========== */
.stats-bar {
    background: var(--primary);
    padding: 0;
    position: relative; z-index: 10;
    margin-top: -50px;
    border-radius: var(--radius-lg);
    max-width: 1100px;
    margin-left: auto; margin-right: auto;
    box-shadow: var(--shadow-xl);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stat-item {
    text-align: center;
    padding: 36px 24px;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem; font-weight: 700;
    color: var(--accent);
    line-height: 1;
}
.stat-number span { font-size: 1.6rem; }
.stat-label { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-top: 6px; font-weight: 500; }

/* ========== COURSES ========== */
.course-tabs {
    display: flex; justify-content: center;
    gap: 8px; flex-wrap: wrap;
    margin-bottom: 40px;
}
.course-tab {
    padding: 10px 24px; border-radius: 50px;
    font-size: 0.88rem; font-weight: 600;
    background: var(--bg-alt); color: var(--text-light);
    border: 1px solid var(--border);
    transition: var(--transition); cursor: pointer;
}
.course-tab.active, .course-tab:hover {
    background: var(--primary); color: #fff; border-color: var(--primary);
}
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.course-card {
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }
.course-card-icon {
    width: 56px; height: 56px; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 1.3rem;
    margin: 24px 24px 0;
}
.course-card-body { padding: 20px 24px 24px; }
.course-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem; font-weight: 700;
    color: var(--primary); margin-bottom: 10px;
}
.course-card-body p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; }
.course-features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.course-feature {
    padding: 4px 12px; border-radius: 50px;
    background: var(--accent-light);
    font-size: 0.75rem; font-weight: 600;
    color: var(--accent-hover);
}
.course-card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between;
    align-items: center;
}
.course-duration { font-size: 0.82rem; color: var(--text-light); font-weight: 500; }
.course-link {
    font-size: 0.88rem; font-weight: 600;
    color: var(--primary); display: flex; align-items: center; gap: 4px;
}
.course-link:hover { color: var(--accent); gap: 8px; }

/* ========== ABOUT SECTION ========== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image-wrapper { position: relative; }
.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-image img { width: 100%; height: 400px; object-fit: cover; }
.about-badge {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--accent); color: #fff;
    padding: 20px 28px; border-radius: var(--radius);
    text-align: center; box-shadow: var(--shadow-lg);
}
.about-badge .number { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.about-badge .label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.about-content .overline {
    font-size: 0.8rem; font-weight: 700;
    color: var(--accent); text-transform: uppercase;
    letter-spacing: 0.12em; margin-bottom: 12px;
    display: inline-flex; align-items: center; gap: 8px;
}
.about-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700; color: var(--primary);
    margin-bottom: 18px; line-height: 1.2;
}
.about-content p { color: var(--text-light); margin-bottom: 20px; font-size: 0.98rem; }
.about-features {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; margin: 28px 0;
}
.about-feature {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px; background: var(--bg-alt);
    border-radius: var(--radius-sm);
}
.about-feature i {
    width: 36px; height: 36px; border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 0.85rem; flex-shrink: 0;
}
.about-feature span { font-size: 0.88rem; font-weight: 600; color: var(--text); }

/* ========== TESTIMONIALS ========== */
.testimonials-slider { position: relative; max-width: 900px; margin: 0 auto; }
.testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 40px; text-align: center;
    display: none;
}
.testimonial-card.active { display: block; }
.testimonial-quote {
    font-size: 1.15rem; line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px; font-style: italic;
}
.testimonial-stars { color: var(--accent); margin-bottom: 16px; font-size: 1rem; letter-spacing: 4px; }
.testimonial-author { font-weight: 700; color: #fff; font-size: 1rem; }
.testimonial-role { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-top: 4px; }

/* ========== GALLERY ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden; position: relative;
    aspect-ratio: 4/3; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(204,27,23,0.8), transparent);
    display: flex; align-items: flex-end;
    padding: 20px; opacity: 0;
    transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-weight: 600; font-size: 0.9rem; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.92); backdrop-filter: blur(10px);
    display: none; align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close {
    position: absolute; top: 24px; right: 24px;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.1); color: #fff;
    font-size: 1.2rem; display: flex; align-items: center;
    justify-content: center; cursor: pointer; border: none;
    transition: var(--transition);
}
.lightbox-close:hover { background: var(--danger); }

/* ========== ACHIEVEMENTS ========== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.achievement-card {
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}
.achievement-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.achievement-card-top {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 24px;
    display: flex; align-items: center; gap: 16px;
}
.achievement-avatar {
    width: 60px; height: 60px; border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 1.4rem; font-weight: 700;
    border: 2px solid rgba(255,255,255,0.3);
    flex-shrink: 0; overflow: hidden;
}
.achievement-avatar img { width: 100%; height: 100%; object-fit: cover; }
.achievement-info h4 { color: #fff; font-size: 1.05rem; font-weight: 700; }
.achievement-info p { color: rgba(255,255,255,0.7); font-size: 0.82rem; }
.achievement-stats {
    display: flex; gap: 24px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
}
.achievement-stat { text-align: center; }
.achievement-stat .value { font-family: var(--font-heading); font-weight: 700; color: var(--primary); font-size: 1.1rem; }
.achievement-stat .label { font-size: 0.72rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; }
.achievement-testimonial {
    padding: 20px 24px;
    font-size: 0.9rem; color: var(--text-light);
    font-style: italic; line-height: 1.6;
}

/* ========== BRANCHES / MAP ========== */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
}
.branch-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
    position: relative;
}
.branch-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.branch-card.main { border-color: var(--accent); }
.branch-card.main::before {
    content: 'Main Branch';
    position: absolute; top: -10px; left: 20px;
    background: var(--accent); color: #fff;
    padding: 2px 14px; border-radius: 50px;
    font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.branch-card h4 { font-family: var(--font-heading); font-size: 1.05rem; color: var(--primary); margin-bottom: 12px; }
.branch-detail {
    display: flex; align-items: flex-start; gap: 10px;
    margin-bottom: 8px; font-size: 0.88rem; color: var(--text-light);
}
.branch-detail i { color: var(--accent); margin-top: 4px; width: 16px; text-align: center; flex-shrink: 0; }

/* ========== CONTACT FORM ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex; align-items: center; gap: 16px;
    transition: var(--transition);
}
.contact-info-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.contact-icon {
    width: 52px; height: 52px; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 1.2rem; flex-shrink: 0;
}
.contact-info-card h4 { font-size: 0.95rem; color: var(--primary); margin-bottom: 4px; }
.contact-info-card p { font-size: 0.88rem; color: var(--text-light); }

.contact-form {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
    display: block; margin-bottom: 6px;
    font-size: 0.85rem; font-weight: 600;
    color: var(--text);
}
.form-control {
    width: 100%; padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.92rem; color: var(--text);
    background: var(--bg-alt);
    transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245,158,11,0.15); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ========== YOUTUBE & INSTAGRAM ========== */
.social-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.yt-grid { display: grid; gap: 16px; }
.yt-card {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
}
.yt-card iframe { width: 100%; height: 100%; border: none; }
.ig-feed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.ig-post {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-alt);
    cursor: pointer; position: relative;
}
.ig-post img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ig-post:hover img { transform: scale(1.06); }

.social-follow-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 28px; border-radius: 50px;
    font-weight: 600; font-size: 0.92rem;
    margin-top: 16px; color: #fff;
    transition: var(--transition);
}
.social-follow-btn.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-follow-btn.yt { background: #ff0000; }
.social-follow-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ========== CTA BANNER ========== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: #fff; margin-bottom: 14px;
    position: relative;
}
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: 28px; font-size: 1.05rem; position: relative; }
.cta-banner .btn { position: relative; }

/* ========== FOOTER ========== */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 80px 0 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand {
    font-family: var(--font-heading);
    font-size: 1.5rem; font-weight: 700;
    color: #fff; margin-bottom: 14px;
    display: block;
}
.footer-brand .brand span { color: var(--accent); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.07);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6); font-size: 0.9rem;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.footer h4 {
    color: #fff; font-family: var(--font-heading);
    font-size: 1rem; font-weight: 700;
    margin-bottom: 20px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a {
    font-size: 0.88rem; color: rgba(255,255,255,0.55);
    display: flex; align-items: center; gap: 6px;
    transition: var(--transition);
}
.footer ul a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.88rem; margin-bottom: 12px;
}
.footer-contact i { color: var(--accent); margin-top: 4px; width: 16px; }
.footer-bottom {
    display: flex; justify-content: space-between;
    align-items: center; padding: 24px 0;
    font-size: 0.82rem;
}
.footer-bottom a { color: var(--accent); }
.footer-bottom a:hover { text-decoration: underline; }

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px;
    z-index: 999;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25d366;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(37,211,102,0.4);
    transition: var(--transition);
    animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ========== PAGE HERO ========== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff; margin-bottom: 12px;
    position: relative;
}
.page-hero .breadcrumb {
    display: flex; justify-content: center;
    gap: 8px; font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    position: relative;
}
.page-hero .breadcrumb a { color: var(--accent); }
.page-hero .breadcrumb a:hover { text-decoration: underline; }

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 12px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 24px rgba(37,211,102,0.6); }
}
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .about-grid, .contact-grid, .social-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    :root { --header-height: 70px; }
    .topbar { display: none; }
    .menu-toggle { display: block; }
    .nav-menu {
        position: fixed; top: 0; right: -300px;
        width: 300px; height: 100vh;
        background: var(--bg);
        flex-direction: column;
        padding: 80px 24px 24px;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        transition: var(--transition);
        z-index: 1001;
        align-items: stretch;
    }
    .nav-menu.open { right: 0; }
    .nav-menu a { padding: 14px 16px; border-radius: var(--radius-sm); }
    .nav-menu a.active::after { display: none; }
    .nav-overlay {
        position: fixed; inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 1000;
        display: none;
    }
    .nav-overlay.open { display: block; }
    .hero-slider { height: 70vh; min-height: 450px; }
    .slide-content { padding: 0 24px; }
    .stats-bar { margin: -30px 16px 0; border-radius: var(--radius); }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-item { padding: 24px 16px; }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-number { font-size: 2rem; }
    .section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }
    .courses-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .achievements-grid { grid-template-columns: 1fr; }
    .branches-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .cta-banner { padding: 40px 24px; border-radius: var(--radius); margin: 0 16px; }
    .slider-arrows { display: none; }
}
@media (max-width: 480px) {
    .hero-slider { height: 65vh; }
    .slide-content h1 { font-size: 1.8rem; }
    .btn { padding: 12px 24px; font-size: 0.88rem; }
    .ig-feed { grid-template-columns: repeat(3, 1fr); }
}
