/* ============================================================
   CSS VARIABLES & RESET
   ============================================================ */
:root {
    --primary: #0B1F3A;
    --primary-light: #1A365D;
    --secondary: #2563EB;
    --secondary-light: #3B82F6;
    --accent: #F59E0B;
    --accent-light: #FBBF24;
    --light: #F8FAFC;
    --dark: #111827;
    --white: #FFFFFF;
    --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;

    --font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.2);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --max-width: 1200px;
    --nav-height: 76px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    background-color: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-pad {
    padding: 80px 0;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary);
    background: rgba(37, 99, 235, 0.10);
    padding: 4px 16px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-text {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 640px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header .section-text {
    margin: 0 auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.30);
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.40);
}

.btn-accent {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.btn-accent:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(37, 99, 235, 0.06);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.30);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.0625rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    transition: var(--transition);
    letter-spacing: -0.02em;
}

.navbar.scrolled .nav-logo {
    color: var(--primary);
}

.nav-logo .logo-accent {
    color: var(--accent);
    margin-left: 4px;
}

.navbar.scrolled .nav-logo .logo-accent {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.80);
    border-radius: 100px;
    transition: var(--transition);
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--gray-600);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
}

.nav-cta {
    display: none;
}

@media (min-width: 1024px) {
    .nav-cta {
        display: inline-flex;
        padding: 10px 24px;
        font-size: 0.875rem;
        margin-left: 8px;
    }
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 4px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 4px;
    transition: var(--transition);
}

.navbar.scrolled .hamburger-line {
    background: var(--primary);
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15), transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08), transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(245, 158, 11, 0.15);
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 20px;
    border: 1px solid rgba(245, 158, 11, 0.20);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.60);
}

.hero-trust .dot {
    color: rgba(255, 255, 255, 0.20);
}

/* Hero Image */
.hero-image-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1 / 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.hero-image-container .hero-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.hero-shape.shape-1 {
    width: 200px;
    height: 200px;
    top: -40px;
    right: -40px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25), transparent 70%);
    animation: floatShape 8s ease-in-out infinite;
}

.hero-shape.shape-2 {
    width: 120px;
    height: 120px;
    bottom: -30px;
    left: -30px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.20), transparent 70%);
    animation: floatShape 10s ease-in-out infinite reverse;
}

.hero-shape.shape-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: -50px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    animation: floatShape 7s ease-in-out infinite;
}

/* Floating cards */
.hero-float-card {
    position: absolute;
    z-index: 3;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    animation: floatCard 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.30);
}

.hero-float-card svg {
    flex-shrink: 0;
    color: var(--secondary);
}

.hero-float-card.card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.hero-float-card.card-2 {
    bottom: 20%;
    left: -12%;
    animation-delay: 2s;
}

.hero-float-card.card-3 {
    top: 50%;
    right: -5%;
    animation-delay: 4s;
}

@keyframes floatCard {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes floatShape {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(10px, -15px) scale(1.05);
    }
    66% {
        transform: translate(-8px, 10px) scale(0.95);
    }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid var(--gray-100);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    flex-shrink: 0;
}

.trust-item h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.trust-item p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
    background: var(--gray-50);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
}

.about-shape-bg {
    position: absolute;
    width: 85%;
    height: 85%;
    bottom: -20px;
    right: -20px;
    border-radius: var(--radius-lg);
    background: var(--secondary);
    opacity: 0.08;
    z-index: 1;
}

.about-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin-top: 24px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.about-list li svg {
    flex-shrink: 0;
    color: var(--secondary);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--gray-50);
    padding: 36px 28px;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--secondary);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
    color: var(--primary);
}

/* ============================================================
   SUBJECTS
   ============================================================ */
.subjects {
    background: var(--gray-50);
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.subject-card {
    background: var(--white);
    padding: 20px 12px;
    text-align: center;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
}

.subject-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(37, 99, 235, 0.04);
}

/* ============================================================
   LEVELS
   ============================================================ */
.levels {
    background: var(--white);
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.level-card {
    background: var(--gray-50);
    padding: 32px 28px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
}

.level-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--secondary);
}

.level-number {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    background: rgba(37, 99, 235, 0.10);
    padding: 2px 14px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.level-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.level-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.levels-cta {
    text-align: center;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
    background: var(--gray-50);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
    padding: 0 12px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.30);
}

.step-content h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.step-connector {
    display: none;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-us {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--gray-50);
    padding: 32px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    text-align: center;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.why-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    margin: 0 auto 16px;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--secondary);
    color: var(--white);
}

.why-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.why-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ============================================================
   TUTORS
   ============================================================ */
.tutors {
    background: var(--gray-50);
}

.tutors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.tutor-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.tutor-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.tutor-image-wrap {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--gray-200);
}

.tutor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.tutor-card:hover .tutor-image {
    transform: scale(1.04);
}

.tutor-info {
    padding: 20px 24px 24px;
}

.tutor-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--secondary);
    background: rgba(37, 99, 235, 0.08);
    padding: 2px 12px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 8px;
}

.tutor-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
}

.tutor-info p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.tutors-cta {
    text-align: center;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    background: var(--primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-banner-content h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-banner-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.70);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.cta-banner-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.cta-shape-1 {
    width: 300px;
    height: 300px;
    top: -120px;
    right: -60px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.20), transparent 70%);
    animation: floatShape 10s ease-in-out infinite;
}

.cta-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: -40px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12), transparent 70%);
    animation: floatShape 12s ease-in-out infinite reverse;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
    background: var(--white);
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 48px;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 8px 4px;
}

.testimonial-card {
    background: var(--gray-50);
    padding: 40px 36px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
    text-align: center;
}

.testimonial-stars {
    font-size: 1.25rem;
    color: var(--accent);
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1.0625rem;
    color: var(--gray-700);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--gray-200);
}

.testimonial-name {
    font-weight: 600;
    color: var(--primary);
    display: block;
    font-size: 0.9375rem;
}

.testimonial-role {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* Carousel controls */
.testimonial-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: var(--white);
    font-size: 1.5rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.testimonial-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.testimonial-btn.prev {
    left: 0;
}

.testimonial-btn.next {
    right: 0;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.testimonial-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dots span.active {
    background: var(--secondary);
    width: 28px;
    border-radius: 10px;
}

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.areas {
    background: var(--gray-50);
}

.areas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
}

.area-chip {
    background: var(--white);
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    cursor: default;
}

.area-chip:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.areas-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--white);
    padding: 20px 32px;
    border-radius: var(--radius);
    max-width: 560px;
    margin: 0 auto;
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.areas-address svg {
    flex-shrink: 0;
    color: var(--secondary);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    background: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-title {
    font-size: 2.2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 28px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-400);
}

.contact-value {
    font-size: 1rem;
    color: var(--gray-800);
    font-weight: 500;
    display: block;
}

.contact-value a {
    color: inherit;
    transition: var(--transition);
}

.contact-value a:hover {
    color: var(--secondary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--gray-50);
    padding: 40px 36px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    transition: var(--transition);
    color: var(--gray-800);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.contact-form input.error,
.contact-form textarea.error {
    border-color: #EF4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.10);
}

.contact-form .error-message {
    font-size: 0.8125rem;
    color: #EF4444;
    margin-top: 4px;
    display: none;
}

.contact-form .form-group.error .error-message {
    display: block;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
    background: var(--gray-50);
}

.faq-accordion {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--gray-300);
}

.faq-question {
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: var(--transition);
    gap: 16px;
}

.faq-question:hover {
    color: var(--secondary);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--gray-400);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.70);
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo span {
    color: var(--accent);
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.40);
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 900;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.40);
    transition: var(--transition);
    animation: pulseWA 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.50);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--gray-900);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes pulseWA {
    0%,
    100% {
        box-shadow: 0 4px 24px rgba(37, 211, 102, 0.40);
    }
    50% {
        box-shadow: 0 4px 40px rgba(37, 211, 102, 0.70);
    }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 100px;
    left: 24px;
    z-index: 900;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-4px);
}

/* ============================================================
   MOBILE CONTACT BAR
   ============================================================ */
.mobile-contact-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 950;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding: 10px 16px;
    gap: 12px;
    border-top: 1px solid var(--gray-200);
}

.mobile-contact-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.mobile-contact-btn.call-btn {
    background: var(--gray-100);
    color: var(--primary);
}

.mobile-contact-btn.call-btn:hover {
    background: var(--gray-200);
}

.mobile-contact-btn.wa-btn {
    background: #25D366;
    color: var(--white);
}

.mobile-contact-btn.wa-btn:hover {
    background: #1DA85C;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* 1200px */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 1024px */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        align-items: stretch;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-link {
        color: var(--gray-700);
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary);
        background: rgba(37, 99, 235, 0.06);
    }

    .navbar.scrolled .nav-link {
        color: var(--gray-700);
    }

    .nav-cta {
        display: flex;
        margin: 12px 0 0;
        width: 100%;
        justify-content: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image-wrapper {
        order: 1;
        justify-content: center;
    }

    .hero-image-container {
        max-width: 400px;
    }

    .hero-text {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-float-card.card-1 {
        top: 5%;
        right: -5%;
    }
    .hero-float-card.card-2 {
        bottom: 15%;
        left: -5%;
    }
    .hero-float-card.card-3 {
        top: 45%;
        right: -2%;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        height: 320px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .subjects-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .levels-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tutors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 768px */
@media (max-width: 768px) {
    .section-pad {
        padding: 56px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero {
        padding: 100px 0 56px;
        min-height: auto;
    }

    .hero-image-container {
        max-width: 320px;
    }

    .hero-float-card {
        padding: 8px 14px;
        font-size: 0.75rem;
        gap: 6px;
    }
    .hero-float-card svg {
        width: 16px;
        height: 16px;
    }
    .hero-float-card.card-1 {
        top: 2%;
        right: -2%;
    }
    .hero-float-card.card-2 {
        bottom: 10%;
        left: -2%;
    }
    .hero-float-card.card-3 {
        display: none;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .trust-item {
        gap: 12px;
    }
    .trust-icon {
        width: 44px;
        height: 44px;
    }
    .trust-item h3 {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 28px 24px;
    }

    .subjects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .subject-card {
        min-height: 52px;
        font-size: 0.8125rem;
        padding: 14px 8px;
    }

    .levels-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .step {
        display: flex;
        align-items: center;
        gap: 20px;
        text-align: left;
        padding: 0;
    }

    .step-number {
        margin: 0;
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }

    .step-content {
        flex: 1;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tutors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 380px;
        margin: 0 auto 32px;
    }

    .tutor-image-wrap {
        height: 200px;
    }

    .cta-banner-content h2 {
        font-size: 2rem;
    }

    .testimonial-carousel {
        padding: 0 32px;
    }

    .testimonial-card {
        padding: 28px 20px;
    }

    .testimonial-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-desc {
        margin: 0 auto;
    }

    .areas-grid {
        gap: 10px;
    }

    .area-chip {
        padding: 8px 18px;
        font-size: 0.8125rem;
    }

    .areas-address {
        flex-direction: column;
        text-align: center;
        padding: 16px 20px;
        font-size: 0.875rem;
    }

    .whatsapp-float {
        bottom: 90px;
        right: 16px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .back-to-top {
        bottom: 90px;
        left: 16px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .mobile-contact-bar {
        display: flex;
    }

    .about-list {
        grid-template-columns: 1fr;
    }
}

/* 576px */
@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 1.625rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-image-container {
        max-width: 280px;
    }

    .hero-float-card.card-1,
    .hero-float-card.card-2 {
        display: none;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .trust-item {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
    .trust-icon {
        width: 40px;
        height: 40px;
    }
    .trust-icon svg {
        width: 20px;
        height: 20px;
    }
    .trust-item h3 {
        font-size: 0.9375rem;
    }
    .trust-item p {
        font-size: 0.75rem;
    }

    .subjects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-carousel {
        padding: 0 20px;
    }

    .testimonial-card {
        padding: 20px 16px;
    }

    .testimonial-text {
        font-size: 0.9375rem;
    }

    .testimonial-btn {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }

    .cta-banner-content h2 {
        font-size: 1.625rem;
    }

    .cta-banner-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-banner-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .faq-question {
        font-size: 0.9375rem;
        padding: 14px 18px;
    }

    .faq-answer p {
        font-size: 0.875rem;
    }

    .mobile-contact-btn {
        font-size: 0.8125rem;
        padding: 10px 12px;
    }
    .mobile-contact-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* 375px */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-image-container {
        max-width: 240px;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .trust-item {
        padding: 8px;
        background: var(--gray-50);
        border-radius: var(--radius-sm);
    }

    .subjects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .subject-card {
        min-height: 44px;
        font-size: 0.75rem;
        padding: 10px 6px;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 0.9375rem;
    }

    .contact-form-wrapper {
        padding: 20px 16px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px 14px;
        font-size: 0.9375rem;
    }
}

/* ============================================================
   ACCESSIBILITY - REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-float-card,
    .hero-shape {
        animation: none !important;
    }

    .whatsapp-float {
        animation: none !important;
    }
}

/* ============================================================
   IMAGE FALLBACK
   ============================================================ */
img[src=""],
img:not([src]) {
    opacity: 0;
}

img.error {
    opacity: 0.6;
    background: var(--gray-200);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   SCROLL REVEAL (JS)
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}
.reveal-delay-2 {
    transition-delay: 0.2s;
}
.reveal-delay-3 {
    transition-delay: 0.3s;
}
.reveal-delay-4 {
    transition-delay: 0.4s;
}