/* Global Styles - Elite Design System */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fluid root font — scales from 16px (small) → 18px (1440p) → 22px (4K) */
html {
    font-size: clamp(15px, 1.1vw, 22px);
}

:root {
    /* Base Surfaces - Professional Dark Navy */
    --bg-surface-1: #1e293b;
    --bg-surface-2: #334155;
    --bg-surface-glass: rgba(30, 41, 59, 0.8);

    /* Brand Accents - Professional Blue */
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.25);
    --secondary: #6366f1;
    --secondary-glow: rgba(99, 102, 241, 0.2);
    --accent-emerald: #10b981;

    /* WCAG AA Compliant Text Colors */
    --text-on-primary: #ffffff;
    /* 4.5:1 contrast with #3b82f6 */
    --text-on-secondary: #ffffff;
    /* 4.5:1 contrast with #6366f1 */
    --text-on-emerald: #ffffff;
    /* 4.5:1 contrast with #10b981 */

    /* Borders & Accents */
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-highlight: rgba(99, 102, 241, 0.4);
    --border-glass: rgba(255, 255, 255, 0.15);

    /* Text Hierarchy */
    --text-pure: #ffffff;
    --text-primary: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Legacy Support */
    --text-dark: #e2e8f0;
    --text-light: #94a3b8;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4);

    /* Spotlight Card Variables */
    --mouse-x: 50%;
    --mouse-y: 50%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
}

.container {
    width: 90%;
    max-width: clamp(1100px, 85vw, 1400px);
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Remove click outline — keep keyboard focus ring for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}


/* Buttons - Elite Design System */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 12px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn:focus {
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--primary-glow);
    color: var(--white);
    border-color: var(--border-highlight);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 12px;
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    border-color: transparent;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    color: #fff;
    border-color: rgba(37, 211, 102, 0.3);
}

/* Spotlight Card System */
.spotlight-card {
    position: relative;
    border-radius: 20px;
    background: var(--bg-surface-1);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.spotlight-card:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 1px;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
            rgba(37, 99, 235, 0.15),
            transparent 40%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spotlight-card:hover::before {
    opacity: 1;
}

.spotlight-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-highlight);
}

/* Glassmorphic Elements */
.glass {
    background: var(--bg-surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
}

.glass-capsule {
    background: rgba(13, 18, 31, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Magnetic Button Effect */
.magnetic-btn {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Floating HUD Badges */
.hud-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-surface-glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hud-badge .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-emerald);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, minmax(180px, auto));
    gap: 20px;
    padding: 20px;
}

.bento-item {
    background: var(--bg-surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.bento-item:hover {
    border-color: var(--border-highlight);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

/* Lucide Icon Styling */
.lucide-icon {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

.icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.icon-badge:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

/* Header - Elite Glass Capsule */
.global-header-wrapper {
    position: sticky;
    top: 16px;
    z-index: 1000;
    width: 100%;
    padding: 0 20px;
}

.main-header {
    background: rgba(13, 18, 31, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    padding: 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: clamp(60px, 5vw, 80px);
    gap: 20px;
    max-width: clamp(1100px, 88vw, 1600px);
    margin: 0 auto;
    padding: 0 clamp(20px, 2.5vw, 50px);
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-pure);
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    text-decoration: none;
}

.logo a:hover {
    color: var(--primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    /* Reduced gap slightly to fit links */
    align-items: center;
    margin: 0;
}

.main-nav a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    white-space: nowrap;
    transition: color 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a:focus {
    outline: none;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Header CTA Buttons */
.header-cta {
    display: flex;
    gap: 10px;
    align-items: center;
    white-space: nowrap;
}

.header-cta .btn {
    padding: 10px 18px;
    font-size: 0.95rem;
}

/* Hero Section - Elite 3D Globe Background */
.hero {
    padding: 120px 0 150px;
    position: relative;
    overflow: hidden;
    background: var(--bg-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

#hero-globe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, var(--bg-main) 70%);
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-surface-glass);
    backdrop-filter: blur(15px);
    color: var(--text-primary);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-text h1,
.hero-left h1,
.hero-left h2,
.page-hero h1,
.review-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-pure) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease-out forwards;
}

.dark-bg .hero-text h1,
.dark-bg .hero-left h1,
.dark-bg .hero-left h2,
.dark-bg .page-hero h1,
.dark-bg .review-hero h1 {
    background: linear-gradient(135deg, var(--text-pure) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text p,
.hero-left p {
    font-size: clamp(1rem, 1.5vw, 1.35rem);
    margin-bottom: 40px;
    color: var(--text-muted);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-glow {
    box-shadow: 0 0 30px var(--primary-glow);
}

/* Sections Common - Elite Design */
section {
    padding: clamp(80px, 8vw, 140px) 0;
    position: relative;
}

.section-title.center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 15px;
    color: var(--text-pure);
    background: linear-gradient(135deg, var(--text-pure) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Problem/Solution Block - Elite Design */
.why-us {
    background-color: var(--bg-surface-1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px;
    border-radius: 20px;
    background: var(--bg-surface-2);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-subtle);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-highlight);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 15px;
    color: var(--text-pure);
}

/* Age-Wise Pathways - Elite Design */
.pathways-section {
    background-color: var(--bg-main);
}

.pathways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.pathway-card {
    background: var(--bg-surface-1);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-subtle);
}

.pathway-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
    border-color: var(--border-highlight);
}

.pathway-img {
    height: 220px;
    position: relative;
    background: var(--primary);
    overflow: hidden;
}

.pathway-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pathway-card:hover .pathway-img img {
    transform: scale(1.05);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

.age-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-surface-glass);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    color: var(--primary);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-md);
}

.pathway-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pathway-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--text-pure);
}

.pathway-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
    flex-grow: 1;
}

.pathway-link {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    color: var(--primary);
}

.pathway-link:hover {
    gap: 12px;
}

/* Social Proof Carousel - Elite Design */
.reviews-section {
    background-color: var(--bg-surface-1);
    overflow: hidden;
}

.testimonial-carousel-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    padding: 40px;
    background: var(--bg-surface-2);
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
}

.rating {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.review-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 30px;
}

.parent-name {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface-2);
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Footer - Elite Design */
.main-footer {
    background-color: var(--bg-surface-1);
    color: var(--text-muted);
    padding: 80px 0 20px;
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: clamp(30px, 4vw, 80px);
    margin-bottom: clamp(40px, 5vw, 80px);
}

.footer-info h3 {
    color: var(--text-pure);
    font-size: clamp(1.3rem, 2vw, 1.9rem);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-surface-2);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.footer-links h4,
.footer-newsletter h4 {
    color: var(--text-pure);
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 20px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px 0 0 8px;
    font-family: 'Inter', sans-serif;
    outline: none;
    background: var(--bg-surface-2);
    color: var(--text-primary);
}

.newsletter-form input:focus {
    border-color: var(--primary);
}

.newsletter-form .btn {
    border-radius: 0 8px 8px 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-subtle);
}

/* Curriculum Page Styles - Elite Design */
.sticky-subnav {
    position: sticky;
    top: 90px;
    background: var(--bg-surface-1);
    box-shadow: var(--shadow-md);
    z-index: 999;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.sticky-subnav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.sticky-subnav a {
    font-weight: 600;
    color: var(--text-primary);
}

.sticky-subnav a:hover {
    color: var(--primary);
}

.curriculum-header {
    background: linear-gradient(135deg, var(--bg-main) 0%, rgba(37, 99, 235, 0.1) 100%);
    padding: 100px 0 60px;
}

.curriculum-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-pure);
}

.pathway-block {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.pathway-header {
    text-align: center;
    margin-bottom: 50px;
}

.pathway-header .age-badge {
    position: static;
    display: inline-block;
    margin-bottom: 15px;
}

.pathway-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-pure);
}

.pathway-header .prereq {
    color: var(--text-muted);
}

.pathway-body {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
}

.accordion-item {
    background: var(--bg-surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    color: var(--primary);
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
}

.accordion-item.active .accordion-content {
    padding: 0 20px 20px;
    max-height: 500px;
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(180deg);
}

.outcome-card {
    background: var(--bg-surface-2);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: sticky;
    top: 150px;
    border: 1px solid var(--border-subtle);
}

.outcome-card h3 {
    margin-bottom: 20px;
    color: var(--text-pure);
}

.outcome-media {
    width: 100%;
    height: 250px;
    background: var(--bg-surface-1);
    border-radius: 12px;
    margin-bottom: 25px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.outcome-media img,
.outcome-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-media {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.placeholder-media i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: rgba(37, 99, 235, 0.2);
}

.btn-enroll {
    width: 100%;
    justify-content: center;
}

/* Family Learning Page Styles - Elite Design */
.split-hero {
    display: flex;
    min-height: 80vh;
    background: var(--bg-surface-1);
}

.split-content {
    flex: 1;
    padding: 100px 5%;
    display: flex;
    align-items: center;
}

.split-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--text-pure);
}

.split-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.split-image {
    flex: 1;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-image .placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 8rem;
}

/* Timeline - Elite Design */
.bg-light {
    background: var(--bg-surface-1);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(37, 99, 235, 0.2);
    border-radius: 4px;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    width: 84px;
    height: 84px;
    background: var(--bg-surface-2);
    border: 4px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    z-index: 2;
    flex-shrink: 0;
    box-shadow: 0 0 0 10px var(--bg-surface-1);
}

.timeline-content {
    padding: 20px 0 20px 40px;
}

.timeline-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-pure);
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Pricing Grid - Elite Design */
.pricing-section {
    background: var(--bg-surface-1);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: var(--bg-surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-highlight);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.9rem;
    font-weight: bold;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--text-pure);
}

.pricing-header p {
    color: var(--text-muted);
}

.pricing-price {
    margin: 30px 0;
}

.price-val {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.pricing-features i {
    color: var(--accent-emerald);
    margin-right: 10px;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

.pricing-card.popular .btn {
    background: var(--secondary);
}

/* Pillars Section - Elite Design */
.pillars-section {
    background: var(--bg-surface-1);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.pillar-card {
    background: var(--bg-surface-2);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-highlight);
    box-shadow: var(--shadow-lg);
}

.pillar-icon {
    margin-bottom: 20px;
}

.pillar-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-pure);
}

.pillar-list {
    list-style: none;
}

.pillar-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.pillar-list li:last-child {
    border-bottom: none;
}

/* Removed old conflicting full-screen mobile menu styles */

.mobile-menu-btn {
    display: none;
    background: var(--bg-surface-2);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.row-reverse {
    flex-direction: row-reverse;
}

/* Hide mobile-specific navigation elements on desktop */
.mobile-nav-logo,
.mobile-nav-section-title,
.mobile-nav-close,
.mobile-nav-social {
    display: none;
}

@media (max-width: 992px) {

    /* ─── Hamburger Toggle Button ─── */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: rgba(59, 130, 246, 0.12);
        border: 1.5px solid rgba(59, 130, 246, 0.35);
        color: var(--primary);
        cursor: pointer;
        transition: all 0.25s ease;
        pointer-events: all;
        position: relative;
        z-index: 50;
        flex-shrink: 0;
    }

    .mobile-menu-btn svg {
        pointer-events: none;
        width: 22px;
        height: 22px;
    }

    .mobile-menu-btn:hover {
        background: var(--primary);
        border-color: var(--primary);
        color: #fff;
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
        transform: scale(1.05);
    }

    /* ─── Sidebar Panel ─── */
    .main-nav {
        position: fixed;
        top: 0;
        right: -110%;
        width: min(88vw, 360px);
        height: 100dvh;
        background: #ffffff;
        border-left: 1px solid #e8ecf0;
        box-shadow: -16px 0 48px rgba(0, 0, 0, 0.18);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        z-index: 3000;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 0;
        display: flex;
    }

    .main-nav.active {
        right: 0;
        padding: 10px;
    }

    /* ─── Sidebar Header Strip ─── */
    .mobile-nav-logo {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 28px 24px 22px;
        background: linear-gradient(135deg, #f0fdf9 0%, #e0f7f4 100%);
        border-bottom: 1px solid #d1fae5;
        margin-bottom: 0;
    }

    .mobile-nav-logo img {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        object-fit: cover;
        border: 2px solid rgba(13, 148, 136, 0.3);
        box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
    }

    .mobile-nav-logo span {
        font-size: 1.15rem;
        font-weight: 700;
        color: #0f172a;
        font-family: 'Outfit', sans-serif;
        letter-spacing: -0.3px;
    }

    /* ─── Close Button ─── */
    .mobile-nav-close {
        position: absolute;
        top: 22px;
        right: 20px;
        width: 36px;
        height: 36px;
        border-radius: 8px;
        background: rgba(15, 23, 42, 0.07);
        border: 1px solid rgba(15, 23, 42, 0.12);
        color: #475569;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.25s ease;
        z-index: 10;
    }

    .mobile-nav-close svg {
        pointer-events: none;
        width: 16px;
        height: 16px;
    }

    .mobile-nav-close:hover {
        background: #ef4444;
        border-color: #ef4444;
        color: #fff;
        transform: rotate(90deg);
    }

    /* ─── Section Labels ─── */
    .mobile-nav-section-title {
        display: block;
        font-size: 0.68rem;
        font-weight: 700;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        padding: 20px 24px 6px;
    }

    /* ─── Nav List ─── */
    .main-nav ul {
        flex-direction: column;
        text-align: left;
        width: 100%;
        gap: 2px;
        margin: 0;
        padding: 4px 16px;
        list-style: none;
    }

    .main-nav ul li {
        width: 100%;
    }

    /* ─── Nav Links ─── */
    .main-nav a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 13px 16px;
        border-radius: 10px;
        font-size: 1rem;
        font-weight: 500;
        width: 100%;
        color: #475569;
        background: transparent;
        transition: all 0.2s ease;
        position: relative;
        text-decoration: none;
    }

    /* Left accent stripe */
    .main-nav a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 20%;
        bottom: 20%;
        width: 3px;
        border-radius: 0 3px 3px 0;
        background: var(--primary-color);
        transform: scaleY(0);
        transition: transform 0.25s ease;
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav a:hover {
        background: #f1f5f9;
        color: #0f172a;
        padding-left: 20px;
    }

    .main-nav a:hover::before {
        transform: scaleY(1);
    }

    .main-nav a.active {
        background: #f0fdf9;
        color: var(--primary-color);
        font-weight: 600;
    }

    .main-nav a.active::before {
        transform: scaleY(1);
    }

    /* ─── CTA Section ─── */
    .main-nav .header-cta {
        flex-direction: column;
        padding: 8px 20px 24px;
        width: 100%;
        gap: 10px;
    }

    .main-nav .header-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.95rem;
        border-radius: 10px;
        font-weight: 600;
    }

    .main-nav .header-cta .btn::after {
        display: none;
    }

    .main-nav .header-cta .btn-teal {
        background: var(--primary-color);
        color: #fff;
        border: 2px solid var(--primary-color);
        box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
    }

    .main-nav .header-cta .btn-teal:hover {
        background: var(--secondary-color);
        border-color: var(--secondary-color);
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
    }

    .main-nav .header-cta .btn-outline-teal {
        background: transparent;
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
    }

    .main-nav .header-cta .btn-outline-teal:hover {
        background: #f0fdf9;
        transform: translateY(-1px);
    }

    /* ─── Social Row ─── */
    .mobile-nav-social {
        display: flex;
        gap: 10px;
        justify-content: center;
        padding: 20px 20px 30px;
        border-top: 1px solid #e8ecf0;
        margin-top: auto;
    }

    .mobile-nav-social a {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #64748b;
        transition: all 0.25s ease;
    }

    .mobile-nav-social a:hover {
        background: var(--primary-color);
        border-color: var(--primary-color);
        color: #fff;
        transform: translateY(-2px);
    }

    /* ─── Scrollbar ─── */
    .main-nav::-webkit-scrollbar {
        width: 4px;
    }

    .main-nav::-webkit-scrollbar-track {
        background: #f8fafc;
    }

    .main-nav::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 2px;
    }

    /* ─── Backdrop Overlay ─── */
    .mobile-nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        z-index: 2999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s ease;
    }

    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* ─── Header adjustments ─── */
    .global-header-wrapper {
        top: 0;
        padding: 0;
    }

    .main-header {
        border-radius: 0;
        border: none;
        border-bottom: 1px solid var(--border-subtle);
    }

    .row-reverse {
        flex-direction: column;
    }

    .split-hero-container {
        flex-direction: column;
    }
}

/* Split Hero - Elite Design */
.split-hero {
    display: flex;
    min-height: 80vh;
    background: var(--bg-surface-1);
}

.split-hero-container {
    display: flex;
    width: 100%;
    align-items: center;
}

.hero-left {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-right {
    flex: 1;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-subtle);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.mt-4 {
    margin-top: 1rem;
}

/* Pricing Highlight - Elite Design */
.pricing-highlight {
    background: var(--bg-surface-2);
    border: 1px solid var(--border-highlight);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.pricing-tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 35px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-tier {
    background: var(--bg-surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-tier:hover {
    transform: translateY(-5px);
    border-color: var(--border-highlight);
    box-shadow: var(--shadow-lg);
}

.pricing-tier.popular {
    border: 2px solid var(--secondary);
    transform: scale(1.05);
}

.pricing-tier.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.tier-icon {
    margin: 0 auto 20px;
}

.tier-price {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-top: 15px;
}

.tier-unit {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: normal;
    margin-left: 5px;
}

/* Advantage Section - Elite Design */
.advantage-section {
    background: var(--primary);
    color: var(--text-pure);
}

/* Tutors Page Styles - Elite Design */
.tutors-hero {
    padding: 100px 0 60px;
}

.hero-desc {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.tutors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.tutor-card {
    background: var(--bg-surface-2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.tutor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-highlight);
}

.tutor-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.tutor-avatar {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-surface-1);
    flex-shrink: 0;
}

.tutor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(37, 99, 235, 0.2);
}

.tutor-info h3 {
    margin-bottom: 5px;
    font-size: 1.5rem;
    color: var(--text-pure);
}

.tutor-info .degree {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.specialty-tag {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.tutor-bio {
    color: var(--text-primary);
    font-size: 1.05rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 20px;
}

/* Booking Flow Styles - Elite Design */
.booking-section {
    padding: 80px 0;
    background: var(--bg-main);
}

.booking-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-surface-1);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-subtle);
}

.booking-header {
    margin-bottom: 40px;
}

.booking-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-pure);
}

.booking-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.booking-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border-subtle);
    z-index: 1;
}

.progress-step {
    background: var(--bg-surface-2);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    border: 2px solid var(--border-subtle);
    z-index: 2;
    transition: all 0.3s ease;
}

.progress-step.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    outline: none;
    background: var(--bg-surface-2);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder {
    color: var(--text-dim);
}

.radio-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.radio-card {
    position: relative;
    cursor: pointer;
}

.radio-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: var(--bg-surface-2);
    border: 2px solid var(--border-subtle);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
}

.card-content i {
    width: 32px;
    height: 32px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.card-title {
    font-weight: 600;
    color: var(--text-primary);
}

.radio-card input:checked+.card-content {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
}

.radio-card input:checked+.card-content i {
    color: var(--primary);
}

.radio-card input:checked+.card-content .card-title {
    color: var(--primary);
}

.radio-card:hover .card-content {
    border-color: var(--border-highlight);
    transform: translateY(-2px);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.form-actions.right {
    justify-content: flex-end;
}

.form-actions.space-between {
    justify-content: space-between;
}

.booking-success {
    padding: 40px 20px;
    text-align: center;
}

.booking-success h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-pure);
}

.booking-success p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .global-header-wrapper {
        top: 0;
        padding: 0;
    }

    .main-header {
        border-radius: 0;
        border: none;
        border-bottom: 1px solid var(--border-subtle);
    }

    .main-header .container {
        padding: 0 20px;
        height: 60px;
    }

    .hero {
        padding: 100px 0 120px;
        min-height: auto;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .bento-large,
    .bento-wide,
    .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    section {
        padding: 80px 0;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .pricing-tier-grid {
        grid-template-columns: 1fr;
    }

    .split-hero-container {
        flex-direction: column;
    }

    .hero-left,
    .hero-right {
        padding: 30px 20px;
    }

    .hero-image-wrapper {
        height: 300px;
    }

    .booking-container {
        padding: 30px 20px;
    }

    .radio-cards {
        grid-template-columns: 1fr;
    }

    .main-nav {
        width: 100%;
        max-width: none;
    }

    .main-nav ul {
        gap: 20px;
    }

    .main-nav .header-cta {
        width: 100%;
        gap: 10px;
    }

    .main-nav .header-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .pricing-tier {
        padding: 20px;
    }

    .tier-price {
        font-size: 2rem;
    }

    .container {
        width: 95%;
    }
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s ease;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}

/* Focus States — outline removed for mouse clicks, preserved for keyboard via :focus-visible */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --border-subtle: rgba(255, 255, 255, 0.3);
        --border-highlight: rgba(56, 189, 248, 0.6);
        --border-glass: rgba(255, 255, 255, 0.4);
    }

    .spotlight-card::before {
        opacity: 0.5;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.text-white {
    color: var(--text-pure);
}

.text-muted {
    color: var(--text-muted);
}

.bg-primary {
    background-color: var(--primary);
}

.bg-surface-1 {
    background-color: var(--bg-surface-1);
}

.bg-surface-2 {
    background-color: var(--bg-surface-2);
}

.border-glass {
    border: 1px solid var(--border-glass);
}

.border-highlight {
    border: 1px solid var(--border-highlight);
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* Spinning animation for loading states */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.spin {
    animation: spin 1s linear infinite;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
}

.form-actions {
    margin-top: 30px;
    display: flex;
}

.form-actions.right {
    justify-content: flex-end;
}

.form-actions.space-between {
    justify-content: space-between;
}

.radio-cards {
    display: grid;
    gap: 15px;
}

.radio-card {
    position: relative;
    cursor: pointer;
}

.radio-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-card .card-content {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.radio-card input:checked+.card-content {
    border-color: var(--primary-color);
    background: rgba(0, 128, 128, 0.05);
}

.radio-card h4 {
    margin-bottom: 5px;
}

.radio-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Removed redundant .mobile-menu-btn that was breaking the toggle */

/* =========================================
   MOBILE RESPONSIVE OVERHAUL
   ========================================= */

@media (max-width: 1150px) {
    .main-nav ul {
        gap: 15px;
    }
}

@media (max-width: 992px) {

    /* Base Layout Adjustments */
    section,
    .split-hero,
    .page-hero,
    .tutors-hero {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .hero-text h1,
    .hero-left h1,
    .page-hero h1,
    .review-hero h1 {
        font-size: 2.8rem;
    }

    .hero-left h2 {
        font-size: 2.2rem;
    }

    /* Split Hero Layouts */
    .split-hero-container {
        flex-direction: column !important;
        text-align: center;
        gap: 50px;
        /* Increased from 30px for more breathing room */
    }

    .hero-right {
        margin-top: 20px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-left {
        width: 100%;
    }

    .hero-image-wrapper {
        padding: 0 15px;
        /* Prevent image from touching screen edges */
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .feature-list h3 {
        justify-content: center;
    }

    /* Header & Navigation removed to prevent conflict with mobile sidebar */

    /* Forms & Misc */
    .form-group.flex-row {
        flex-direction: column;
        gap: 15px;
    }

    /* Assuming flex rows */
    .review-hero .form-container form>div {
        flex-direction: column;
        gap: 0 !important;
    }
}

@media (max-width: 768px) {

    .hero-text h1,
    .hero-left h1,
    .page-hero h1,
    .review-hero h1 {
        font-size: 2.2rem;
    }

    .hero-text p,
    .hero-left p {
        font-size: 1.1rem;
    }

    .pillars-grid,
    .features-grid,
    .pricing-grid,
    .tutors-grid,
    .footer-grid,
    .teams-section .container {
        grid-template-columns: 1fr !important;
    }

    .booking-progress {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .booking-progress::before {
        display: none;
    }
}

/* Split Hero */
.split-hero {
    padding: 100px 0 60px;
    background: var(--bg-color);
}

.split-hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.split-hero-container.row-reverse {
    flex-direction: row-reverse;
}

.hero-left {
    flex: 1;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 500px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #e2e8f0;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-hero {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(0, 128, 128, 0.2);
}

/* Two-Pillar Grid */
.pillars-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.pillar-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.pillar-card.tech-pillar:hover {
    border-color: var(--secondary-color);
}

.pillar-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.tech-pillar .pillar-icon {
    color: var(--secondary-color);
}

.pillar-list {
    list-style: none;
    margin: 20px 0 30px;
}

.pillar-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.text-primary {
    color: var(--primary-color);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Advantage Banner */
.advantage-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 60px 0;
}

.advantage-banner h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.advantage-banner p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.bg-white {
    background: var(--white) !important;
}

/* Responsive updates for new elements */
@media (max-width: 768px) {
    .split-hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-right {
        justify-content: center;
        margin-top: 30px;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }
}

/* Tech Curriculum Layout */
.tech-tiers-section {
    padding: 60px 0 100px;
}

.tech-layout {
    display: flex;
    gap: 40px;
}

.tech-sidebar {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tech-tab-btn {
    background: var(--white);
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 12px;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tech-tab-btn .tier-number {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.tech-tab-btn:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.tech-tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.tech-tab-btn.active .tier-number {
    color: rgba(255, 255, 255, 0.8);
}

.tech-content-area {
    flex: 1;
}

.tech-tier-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tech-tier-content.active {
    display: block;
}

.tier-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid #e2e8f0;
}

.tier-header {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.tier-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.target-level {
    display: inline-block;
    background: #f1f5f9;
    color: var(--text-light);
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.concept-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.concept-list li {
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    font-weight: 500;
}

.tier-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f1f5f9;
}

.final-project h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.final-project p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Mobile Accordion */
.tech-accordion-btn {
    display: none;
    width: 100%;
    background: var(--white);
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 12px;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: space-between;
}

.tech-accordion-btn .tier-number {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.tech-accordion-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.tech-accordion-btn.active .tier-number {
    color: rgba(255, 255, 255, 0.8);
}

.tech-accordion-btn.active i {
    transform: rotate(180deg);
}

.tech-accordion-body {
    display: block;
}

@media (max-width: 992px) {
    .tech-sidebar {
        display: none;
    }

    .tech-tier-content {
        display: block !important;
        margin-bottom: 20px;
    }

    .tech-accordion-btn {
        display: flex;
    }

    .tech-accordion-body {
        display: none;
    }

    .tech-accordion-body.active {
        display: block;
    }

    .tier-card {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-top: none;
    }
}

/* Academic Prep Layout */
.academic-banner {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
    margin-bottom: 60px;
}

.academic-banner h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin: 20px 0;
}

.academic-banner p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.badge-white {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.subjects-section {
    padding: 0 0 80px;
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.subject-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.subject-icon {
    width: 70px;
    height: 70px;
    background: #f1f5f9;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.subject-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.subject-topics {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.subject-topics li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--text-light);
    display: flex;
    gap: 10px;
}

.subject-topics li i {
    color: var(--primary-color);
    margin-top: 4px;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Advantage Split Overlap Layout */
.advantage-split {
    position: relative;
    display: flex;
    align-items: center;
    margin: 40px 0;
}

.advantage-split.row-reverse {
    flex-direction: row-reverse;
}

.advantage-img-wrapper {
    width: 60%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.advantage-img {
    width: 100%;
    height: auto;
    display: block;
}

.advantage-content {
    position: absolute;
    right: 0;
    width: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: left;
    z-index: 2;
}

.advantage-split.row-reverse .advantage-content {
    right: auto;
    left: 0;
}

@media (max-width: 992px) {
    .advantage-split {
        flex-direction: column;
        align-items: stretch;
    }

    .advantage-img-wrapper {
        width: 100%;
    }

    .advantage-content {
        position: relative;
        width: 90%;
        margin: -50px auto 0;
        padding: 30px;
        text-align: center;
    }
}



/* =========================================
   SCROLL ANIMATIONS & SUBTLE HOVER EFFECTS
   ========================================= */

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay modifiers for staggered animations */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

/* Subtle Hover Effects (Preserving Original Theme) */
.pillar-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}

.pillar-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.btn-glow {
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 15px rgba(0, 128, 128, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(0, 128, 128, 0.6);
    }

    100% {
        box-shadow: 0 0 15px rgba(0, 128, 128, 0.3);
    }
}

.hero-right .hero-image-wrapper {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Active Nav Link Styles */
.main-nav a.active {
    color: var(--primary-color, #0d9488);
    font-weight: 700;
}

.main-nav a.active::after {
    width: 100%;
}

/* =======================================================
   PIXEL-PERFECT REFERENCE DESIGN SYSTEM (7 CORE SECTIONS)
   ======================================================= */

:root {
    --teal-primary: #0d9488;
    --teal-dark: #0f766e;
    --teal-forest: #0d5c58;
    --teal-light: #f0fdfa;
    --teal-badge-bg: #e6f7f5;
    --page-bg: #fcfdfd;
    --card-border: #eef2f6;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-doodle: 'Caveat', cursive, sans-serif;
}

/* Base resets & utilities */
.text-teal-highlight {
    color: #0d9488 !important;
}

/* Header & Floating Navigation */
.main-header {
    background: #ffffff !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid #eef2f6 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
    padding: 0 !important;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 78px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-emblem {
    width: clamp(38px, 3vw, 52px);
    height: clamp(38px, 3vw, 52px);
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.brand-emblem-light {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d9488;
}

.brand-text-group {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.1rem, 1.3vw, 1.5rem);
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -0.3px;
}

.brand-tagline {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.main-nav ul {
    display: flex;
    gap: clamp(16px, 2vw, 32px);
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav ul a {
    color: #334155;
    font-weight: 500;
    font-size: 0.98rem;
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 6px 0;
    position: relative;
}

.main-nav ul a:hover,
.main-nav ul a.active {
    color: #0d9488 !important;
    font-weight: 600;
}

.main-nav ul a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0d9488;
    border-radius: 2px;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-search-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.header-search-icon:hover {
    color: #0d9488;
    border-color: #0d9488;
    background: #f0fdfa;
}

.btn-outline-teal {
    border: 1.5px solid #0d9488 !important;
    color: #0d9488 !important;
    background: transparent !important;
    border-radius: 50px !important;
    padding: 9px 22px !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease !important;
}

.btn-outline-teal:hover {
    background: #0d9488 !important;
    color: #ffffff !important;
}

.btn-teal {
    background: #0d9488 !important;
    color: #ffffff !important;
    border: 1.5px solid #0d9488 !important;
    border-radius: 50px !important;
    padding: 9px 24px !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2) !important;
    transition: all 0.2s ease !important;
}

.btn-teal:hover {
    background: #0f766e !important;
    border-color: #0f766e !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.3) !important;
}

/* 1. HERO SECTION */
.reference-hero {
    padding: 70px 0 90px;
    background: #fcfdfd;
    position: relative;
    overflow: hidden;
}

.hero-grid-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    border: 1px solid #99f6e4;
    background: #f0fdfa;
    color: #0f766e;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: 22px;
}

.hero-pill-badge .bullet {
    font-size: 1.1rem;
    color: #0d9488;
}

.hero-main-title {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 4.8vw, 3.8rem);
    font-weight: 800;
    line-height: 1.12;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-description {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 530px;
    margin-bottom: 34px;
}

.hero-action-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-teal-pill {
    background: #0d9488 !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 13px 30px !important;
    font-weight: 600 !important;
    font-size: 0.98rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.25) !important;
    transition: all 0.25s ease !important;
}

.btn-teal-pill:hover {
    background: #0f766e !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.35) !important;
    color: #ffffff !important;
}

.btn-watch-video {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #0f172a;
    border-radius: 50px;
    padding: 11px 24px;
    font-weight: 600;
    font-size: 0.96rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.btn-watch-video:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    color: #0f172a;
}

.play-icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0fdfa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d9488;
}

.hero-trust-row {
    display: flex;
    gap: 28px;
    color: #475569;
    font-size: 0.92rem;
    font-weight: 500;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-item i {
    color: #0d9488;
    width: 18px;
    height: 18px;
}

/* Hero Right Photo Composition */
.hero-photo-composition {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

.hero-curved-backdrop {
    position: absolute;
    width: 112%;
    height: 112%;
    top: -6%;
    left: -6%;
    background: #e6f7f5;
    border-radius: 35% 65% 60% 40% / 45% 55% 45% 55%;
    z-index: 1;
}

.hero-doodle-tag {
    position: absolute;
    top: -24px;
    right: 15px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
}

.doodle-text {
    font-family: var(--font-doodle);
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f766e;
    transform: rotate(-6deg);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: inline-block;
}

.doodle-sparkles {
    position: absolute;
    top: -10px;
    left: -18px;
    color: #0d9488;
    font-size: 1rem;
    display: flex;
    gap: 4px;
}

.doodle-arrow {
    transform: rotate(-10deg);
    margin-top: -6px;
    margin-right: 25px;
}

.hero-image-frame {
    position: relative;
    z-index: 2;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 45px -10px rgba(13, 92, 88, 0.18);
}

.hero-image-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 2. OUR EXPERTISE SECTION */
.expertise-section {
    padding: 85px 0;
    background: #ffffff;
    position: relative;
}

.section-center-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 48px;
}

.section-micro-label {
    font-size: 0.82rem;
    font-weight: 800;
    color: #0d9488;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.section-heading-dark {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -0.4px;
}

.section-sub-text {
    color: #64748b;
    font-size: 1.02rem;
    line-height: 1.65;
}

.section-sub-text.left-align {
    text-align: left;
    margin-left: 0;
}

.expertise-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    max-width: 1140px;
    margin: 0 auto 40px;
}

.expertise-card {
    background: #ffffff;
    border: 1.5px solid #eef2f6;
    border-radius: 20px;
    padding: 35px 32px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(13, 148, 136, 0.08);
    border-color: #99f6e4;
}

.expertise-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.expertise-badge-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: #0d9488;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
    flex-shrink: 0;
}

.expertise-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    flex: 1;
    margin: 0 16px;
}

.expertise-arrow-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f0fdfa;
    color: #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.expertise-card:hover .expertise-arrow-circle {
    background: #0d9488;
    color: #ffffff;
    transform: translateX(3px);
}

.expertise-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.96rem;
    color: #334155;
    font-weight: 500;
    margin-bottom: 12px;
}

.check-icon {
    color: #0d9488;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.center-cta-box {
    text-align: center;
    margin-top: 35px;
}

.btn-large-teal {
    font-size: 1.05rem !important;
    padding: 14px 40px !important;
}

/* 3. POPULAR COURSES SECTION */
.popular-courses-section {
    padding: 90px 0;
    background: #f8fafc;
}

.courses-top-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 20px;
}

.view-all-link {
    color: #0d9488;
    font-weight: 700;
    font-size: 0.98rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.view-all-link:hover {
    color: #0f766e;
    gap: 10px;
}

.course-filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.course-filter-pill {
    padding: 8px 22px;
    border-radius: 50px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.course-filter-pill:hover {
    border-color: #0d9488;
    color: #0d9488;
}

.course-filter-pill.active {
    background: #0d9488;
    color: #ffffff;
    border-color: #0d9488;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.courses-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 22px;
}

.course-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.07);
    border-color: #99f6e4;
}

.course-thumb-wrapper {
    position: relative;
    height: 175px;
    overflow: hidden;
    background: #f1f5f9;
}

.course-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-card:hover .course-thumb-wrapper img {
    transform: scale(1.05);
}

.course-category-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    color: #0d9488;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.course-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.course-desc-container {
    max-height: 3em;
    /* Approx 2 lines based on 1.5 line height */
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
    margin-bottom: 8px;
    flex: 1;
    /* Pushes footer down when expanded */
}

.course-desc-container.expanded {
    max-height: 500px;
}

/* Gradient fade at the bottom when collapsed */
.course-desc-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5em;
    background: linear-gradient(to bottom, transparent, #ffffff);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.course-desc-container.expanded::after,
.course-desc-container.no-truncate::after {
    opacity: 0;
}

.course-card-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0;
    /* Reset margin, container handles it */
}

.course-desc-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: #0d9488;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-bottom: 16px;
    transition: color 0.2s ease;
}

.course-desc-toggle-btn:hover {
    color: #0f766e;
}

.course-desc-toggle-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

/* The inline script swaps the icon on click, so we don't strictly need rotate here, but it's fine. */

.course-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

.course-meta-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.78rem;
    color: #64748b;
}

.course-meta-group span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-meta-group span i {
    width: 14px;
    height: 14px;
    color: #0d9488;
}

.course-arrow-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #0d9488;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.course-arrow-btn:hover {
    background: #0f766e;
    transform: translateX(3px);
}

/* 4. TRANSPARENT PRICING SECTION */
.pricing-section {
    padding: 90px 0;
    background: #ffffff;
}

.pricing-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.pricing-toggle-pill {
    background: #f1f5f9;
    border-radius: 50px;
    padding: 4px;
    display: inline-flex;
    gap: 2px;
}

.pricing-toggle-btn {
    border: none;
    background: transparent;
    padding: 7px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.pricing-toggle-btn.active {
    background: #0d9488;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}

.pricing-grid-3col {
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr;
    gap: 30px;
    align-items: center;
}

.pricing-box {
    background: #ffffff;
    border: 1.5px solid #eef2f6;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.pricing-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.06);
    border-color: #99f6e4;
}

.pricing-tier-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
}

.pricing-rate-display {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 24px;
}

.currency-symbol {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
}

.currency-symbol.text-teal {
    color: #0d9488;
}

.price-val {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.price-val.text-teal {
    color: #0d9488;
}

.price-per {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
    margin-left: 4px;
}

.pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
}

.pricing-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #334155;
    margin-bottom: 12px;
}

.btn-full-width {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
}

.btn-outline-teal-pill {
    border: 1.5px solid #0d9488;
    color: #0d9488;
    background: transparent;
    border-radius: 50px;
    padding: 13px 24px;
    font-weight: 600;
    font-size: 0.98rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-outline-teal-pill:hover {
    background: #0d9488;
    color: #ffffff;
}

.pricing-doodle-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 10px;
}

.pricing-doodle-quote {
    position: relative;
    margin-bottom: 12px;
}

.pricing-doodle-quote .doodle-text {
    font-family: var(--font-doodle);
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f766e;
    transform: rotate(-3deg);
}

.doodle-sparkles-pricing {
    position: absolute;
    top: -12px;
    right: -24px;
    color: #0d9488;
    font-size: 1rem;
    display: flex;
    gap: 4px;
}

.pricing-books-img-wrapper {
    max-width: 290px;
    width: 100%;
}

.pricing-books-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.08));
}

/* 5. COLLABORATIVE BANNER SECTION */
.collaborative-banner-section {
    background: #0d5c58;
    color: #ffffff;
    padding: 85px 0;
    position: relative;
    overflow: hidden;
}

.collaborative-inner-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr 1fr;
    gap: 36px;
    align-items: center;
}

.collab-img-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.collab-img-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.collab-micro-label {
    font-size: 0.8rem;
    font-weight: 800;
    color: #99f6e4;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.collab-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.2vw, 2.6rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.collab-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.btn-collab-white {
    background: #ffffff !important;
    color: #0d5c58 !important;
    border-radius: 50px !important;
    padding: 13px 30px !important;
    font-weight: 700 !important;
    font-size: 0.98rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.2s ease !important;
}

.btn-collab-white:hover {
    background: #f0fdfa !important;
    color: #0f766e !important;
    transform: translateY(-2px);
}

.collab-feature-badge {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 14px 18px;
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
    transition: all 0.2s ease;
}

.collab-feature-badge:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateX(4px);
}

.collab-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.collab-feature-text h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.collab-feature-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
    margin: 0;
}

/* 6. TESTIMONIALS SECTION */
.testimonials-section {
    padding: 90px 0;
    background: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1.65fr;
    gap: 45px;
    align-items: center;
}

.testimonials-right-col {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-container {
    display: flex;
    gap: 18px;
    width: max-content;
}

.marquee-container:hover .marquee-group {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    gap: 18px;
    animation: marquee-scroll 45s linear infinite;
    flex-shrink: 0;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - 18px));
    }
}

.review-quote-card {
    background: #ffffff;
    border: 1.5px solid #eef2f6;
    border-radius: 18px;
    padding: 24px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 0 0 320px;
}

.review-stars {
    color: #fbbf24;
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
}

.star-filled {
    fill: #fbbf24;
    stroke: #fbbf24;
    width: 16px;
    height: 16px;
}

.review-quote-text {
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 18px;
}

.review-author-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f0fdfa;
    color: #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    font-size: 0.86rem;
    color: #0f172a;
}

.author-location {
    font-size: 0.78rem;
    color: #64748b;
}

.testimonial-arrow-controls {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    justify-content: flex-end;
}

.t-arrow-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.t-arrow-btn:hover {
    border-color: #0d9488;
    color: #0d9488;
    background: #f0fdfa;
}

/* 7. CTA BANNER SECTION */
.cta-banner-section {
    position: relative;
    padding: 95px 0;
    overflow: hidden;
}

.cta-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-bg-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-dark-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 28, 36, 0.94) 0%, rgba(13, 92, 88, 0.88) 100%);
}

.cta-container-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.cta-text-side {
    max-width: 560px;
}

.cta-micro-badge {
    font-size: 0.8rem;
    font-weight: 800;
    color: #99f6e4;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: block;
}

.cta-main-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 16px;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.06rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-cta-emerald {
    background: #0d9488 !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 14px 34px !important;
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.35) !important;
    border: none !important;
    transition: all 0.25s ease !important;
}

.btn-cta-emerald:hover {
    background: #14b8a6 !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(13, 148, 136, 0.45) !important;
    color: #ffffff !important;
}

.cta-badges-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cta-trust-pill {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 12px 26px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-trust-pill i {
    color: #99f6e4;
    width: 20px;
    height: 20px;
}

/* 8. FOOTER STYLING */
.main-footer {
    background: #09111e;
    color: #94a3b8;
    padding: 80px 0 25px;
    position: relative;
    border-radius: 0 !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 18px;
}

.footer-tagline-text {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 18px;
    max-width: 320px;
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: #94a3b8;
    margin-bottom: 20px;
}

.footer-email a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-email a:hover {
    color: #0d9488;
}

.footer-email i {
    color: #0d9488;
    width: 18px;
    height: 18px;
}

.footer-social-links {
    display: flex;
    gap: 12px;
}

.footer-social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-links a:hover {
    background: #0d9488;
    color: #ffffff;
    border-color: #0d9488;
}

.footer-links h4,
.footer-newsletter h4 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-newsletter p {
    font-size: 0.92rem;
    margin-bottom: 16px;
    line-height: 1.5;
    color: #94a3b8;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 11px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.newsletter-form input:focus {
    border-color: #0d9488;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 12px;
    color: #64748b;
}

.footer-bottom-links a {
    color: #64748b;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: #94a3b8;
}

.footer-bottom-links .divider {
    margin: 0 8px;
    opacity: 0.4;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .courses-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid-3col {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-doodle-box {
        grid-column: span 2;
        margin-top: 20px;
    }

    .collaborative-inner-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .collab-features-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-action-buttons {
        justify-content: center;
    }

    .hero-trust-row {
        justify-content: center;
    }

    .expertise-cards-grid {
        grid-template-columns: 1fr;
    }

    .courses-cards-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid-3col {
        grid-template-columns: 1fr;
    }

    .pricing-doodle-box {
        grid-column: span 1;
    }

    .collab-features-col {
        grid-template-columns: 1fr;
    }

    /* .testimonial-cards-wrapper removed to maintain horizontal scroll on mobile */

    .cta-container-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-badges-side {
        width: 100%;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* =======================================================
   COURSES / PROGRAMS PAGE DESIGN SYSTEM
   ======================================================= */

.courses-hero-section {
    padding: 70px 0 85px;
    background: #fcfdfd;
    position: relative;
    overflow: hidden;
}

.courses-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.courses-hero-trust-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.trust-pill-item {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    padding: 8px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #334155;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.trust-pill-item i {
    color: #0d9488;
    width: 16px;
    height: 16px;
}

.courses-hero-image-box {
    position: relative;
    max-width: 540px;
    margin: 0 auto;
}

.courses-hero-backdrop-shape {
    position: absolute;
    width: 112%;
    height: 112%;
    top: -6%;
    left: -6%;
    background: #e6f7f5;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 1;
}

.courses-hero-doodle-tag {
    position: absolute;
    top: -24px;
    right: 15px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
}

.courses-hero-img-frame {
    position: relative;
    z-index: 2;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 45px -10px rgba(13, 92, 88, 0.18);
}

.courses-hero-img-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.courses-hero-floating-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 3;
    background: #ffffff;
    border-radius: 50px;
    padding: 8px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.courses-hero-floating-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.badge-icon-wrap {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #0d9488;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon-wrap i {
    width: 18px;
    height: 18px;
}

.badge-text-wrap {
    display: flex;
    flex-direction: column;
}

.badge-sub {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
}

.badge-main {
    font-size: 0.85rem;
    color: #0f172a;
    font-weight: 700;
}

/* Feature Banners (Academic & Tech) */
.program-feature-banner {
    border-radius: 24px;
    padding: 60px 50px;
    margin: 60px auto;
    max-width: 1280px;
    width: 92%;
    position: relative;
    overflow: hidden;
}

.banner-dark-teal {
    background: #0d5c58;
    color: #ffffff;
    box-shadow: 0 20px 45px rgba(13, 92, 88, 0.2);
}

.banner-light-mint {
    background: #f0fdfa;
    border: 1.5px solid #ccfbf1;
    color: #0f172a;
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.04);
}

.program-feature-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.05fr 1fr;
    gap: 36px;
    align-items: center;
}

.feature-micro-pill {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: 50px;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
}

.pill-mint {
    background: rgba(153, 246, 228, 0.25);
    color: #99f6e4;
    border: 1px solid rgba(153, 246, 228, 0.4);
}

.pill-teal-outline {
    background: #ffffff;
    color: #0d9488;
    border: 1.5px solid #0d9488;
}

.feature-banner-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
}

.feature-banner-title.text-white {
    color: #ffffff;
}

.feature-banner-title.text-dark {
    color: #0f172a;
}

.feature-banner-desc {
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 26px;
}

.text-white-dim {
    color: rgba(255, 255, 255, 0.88);
}

.text-muted-dark {
    color: #475569;
}

.feature-tile-badge {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 13px 18px;
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.feature-tile-badge:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.18);
}

.feature-tile-badge.light-theme {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.feature-tile-badge.light-theme:hover {
    border-color: #99f6e4;
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.08);
}

.tile-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.tile-icon-circle.teal-bg {
    background: #f0fdfa;
    color: #0d9488;
}

.tile-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.feature-tile-badge.light-theme .tile-text h4 {
    color: #0f172a;
}

.tile-text p {
    font-size: 0.8rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.feature-tile-badge.light-theme .tile-text p {
    color: #64748b;
}

.feature-photo-wrapper {
    position: relative;
    padding-top: 36px;
    overflow: visible !important;
}

.banner-doodle-tag {
    position: absolute;
    top: 0px;
    left: 12px;
    z-index: 15;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.banner-doodle-tag .doodle-text {
    font-family: var(--font-doodle);
    font-size: 1.65rem;
    font-weight: 700;
    color: #5eead4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    transform: rotate(-3.5deg);
    display: inline-block;
}

.banner-doodle-tag.dark-theme-tag .doodle-text {
    color: #0f766e !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.85);
}

.banner-doodle-tag .doodle-sparkles {
    color: #5eead4;
    font-size: 1.1rem;
    display: inline-flex;
    gap: 4px;
    margin-left: 2px;
}

.banner-doodle-tag.dark-theme-tag .doodle-sparkles {
    color: #0d9488 !important;
}

.banner-img-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    position: relative;
}

.banner-img-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Subgrid Sections */
.courses-subgrid-section {
    padding: 30px 0 70px;
}

.academic-courses-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.tech-courses-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.simple-course-card {
    background: #ffffff;
    border: 1.5px solid #eef2f6;
    border-radius: 18px;
    padding: 26px 22px 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.simple-course-card:hover {
    transform: translateY(-5px);
    border-color: #99f6e4;
    box-shadow: 0 14px 28px rgba(13, 148, 136, 0.08);
}

.course-card-top-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f0fdfa;
    color: #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.course-card-top-icon i {
    width: 24px;
    height: 24px;
}

.simple-course-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.simple-course-desc {
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

.simple-course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

.simple-meta-wrap {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
    display: flex;
    gap: 6px;
    align-items: center;
}

.meta-dot {
    font-size: 1rem;
    color: #cbd5e1;
}

.course-circle-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0fdfa;
    color: #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.simple-course-card:hover .course-circle-btn {
    background: #0d9488;
    color: #ffffff;
    transform: translateX(3px);
}

/* 6. INVEST IN YOUR FUTURE BOTTOM BANNER */
.invest-future-section {
    background: #0d5c58;
    color: #ffffff;
    border-radius: 24px;
    padding: 60px 50px;
    margin: 80px auto 40px;
    max-width: 1280px;
    width: 92%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(13, 92, 88, 0.25);
}

.invest-future-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.6fr 1fr;
    gap: 40px;
    align-items: center;
}

.invest-main-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.2vw, 2.7rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 14px;
}

.invest-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 24px;
}

.invest-stats-col {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 24px 18px;
}

.invest-stat-item {
    text-align: center;
    flex: 1;
}

.stat-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin: 0 auto 10px;
}

.stat-icon-circle i {
    width: 18px;
    height: 18px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
}

.invest-right-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.invest-doodle-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.doodle-text.text-white {
    color: #ffffff;
}

.doodle-arrow-white {
    transform: rotate(15deg);
}

.invest-books-frame {
    max-width: 230px;
}

.invest-books-frame img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.25));
}

/* Responsive Media Queries for Programs Page */
@media (max-width: 1200px) {
    .tech-courses-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .program-feature-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .feature-banner-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .academic-courses-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-courses-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .invest-future-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .invest-left-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .invest-stats-col {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .courses-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .courses-hero-trust-row {
        justify-content: center;
    }

    .academic-courses-grid-4 {
        grid-template-columns: 1fr;
    }

    .tech-courses-grid-5 {
        grid-template-columns: 1fr;
    }

    .invest-stats-col {
        grid-template-columns: 1fr;
    }

    .program-feature-banner {
        padding: 40px 24px;
    }

    .invest-future-section {
        padding: 40px 24px;
    }
}

/* =======================================================
   REVIEWS & TESTIMONIALS PAGE DESIGN SYSTEM
   ======================================================= */

/* Top Announcement Micro-Bar */
.top-announcement-bar {
    background: #062b29;
    color: #e6f7f5;
    font-size: clamp(0.75rem, 1vw, 0.9rem);
    font-weight: 500;
    padding: clamp(6px, 0.5vw, 10px) 0;
    position: relative;
    z-index: 1010;
    letter-spacing: 0.2px;
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.announcement-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.announcement-item i {
    width: 14px;
    height: 14px;
    color: #2dd4bf;
}

.announcement-sep {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
}

/* Reviews Hero Section */
.reviews-hero-section {
    padding: 70px 0 85px;
    background: #fcfdfd;
    position: relative;
    overflow: hidden;
}

.reviews-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.badge-inline-icon {
    width: 14px;
    height: 14px;
}

.reviews-hero-image-box {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

/* reviews-hero-right is now the positioning parent for the stats card on desktop */
.reviews-hero-right {
    position: relative;
}

.reviews-hero-backdrop {
    position: absolute;
    width: 114%;
    height: 114%;
    top: -7%;
    left: -7%;
    background: #e6f7f5;
    border-radius: 45% 55% 65% 35% / 40% 55% 45% 60%;
    z-index: 1;
}

.reviews-doodle-tag {
    position: absolute;
    top: -25px;
    left: -15px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    pointer-events: none;
}

.reviews-doodle-tag .doodle-text {
    font-family: var(--font-doodle);
    font-size: 1.55rem;
    font-weight: 700;
    color: #0d9488;
    line-height: 1.15;
    transform: rotate(-5deg);
}

.reviews-doodle-arrow {
    transform: rotate(10deg);
    margin-top: 4px;
    margin-left: 20px;
}

.hero-doodle-sparkles {
    position: absolute;
    top: -15px;
    right: 25px;
    z-index: 3;
    display: flex;
    gap: 4px;
    color: #0d9488;
    font-size: 1.1rem;
}

.reviews-hero-img-frame {
    position: relative;
    z-index: 2;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 45px -10px rgba(13, 92, 88, 0.18);
}

.reviews-hero-img-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Floating Vertical Stats Card */
.reviews-floating-stats-card {
    position: absolute;
    bottom: -20px;
    right: -25px;
    z-index: 10;          /* above the image-box stacking context entirely */
    background: #ffffff;
    border-radius: 20px;
    padding: 16px 22px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 190px;
}

.r-stat-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.r-stat-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.r-stat-icon-circle.mint {
    background: #f0fdfa;
    color: #0d9488;
}

.r-stat-icon-circle.blue {
    background: #eff6ff;
    color: #3b82f6;
}

.r-stat-icon-circle.green {
    background: #ecfdf5;
    color: #10b981;
}

.r-stat-icon-circle i {
    width: 18px;
    height: 18px;
}

.r-stat-text {
    display: flex;
    flex-direction: column;
}

.r-stat-num {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.r-stat-label {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
}

/* 2. Featured Testimonials Section */
.featured-testimonials-section {
    padding: 85px 0 75px;
    background: #ffffff;
}

.testimonials-top-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 20px;
}

.pill-mint-light {
    background: #f0fdfa;
    color: #0d9488;
    border: 1.5px solid #ccfbf1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: 50px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.micro-icon {
    width: 14px;
    height: 14px;
}

.carousel-nav-arrows {
    display: flex;
    gap: 10px;
}

.nav-arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-arrow-btn:hover {
    background: #0d9488;
    color: #ffffff;
    border-color: #0d9488;
}

.featured-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.featured-review-card {
    background: #ffffff;
    border: 1.5px solid #eef2f6;
    border-radius: 18px;
    padding: 26px 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    position: relative;
    transition: all 0.25s ease;
}

.featured-review-card:hover {
    transform: translateY(-5px);
    border-color: #99f6e4;
    box-shadow: 0 14px 28px rgba(13, 148, 136, 0.08);
}

.review-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.gold-stars {
    display: flex;
    gap: 3px;
    color: #f59e0b;
}

.gold-stars i {
    width: 16px;
    height: 16px;
}

.star-filled {
    fill: #f59e0b;
}

.star-empty {
    fill: none;
    opacity: 0.3;
}

.card-quote-watermark {
    font-family: serif;
    font-size: 2.2rem;
    line-height: 1;
    color: #99f6e4;
    font-weight: 700;
}

.review-quote-body {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #334155;
    font-style: italic;
    margin-bottom: 22px;
    flex: 1;
}

.review-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

.author-avatar-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.author-role {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
}

/* 3. FAQ Section ("Got Questions?") */
.reviews-faq-section {
    padding: 75px 0 85px;
    background: #fcfdfd;
}

.reviews-faq-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 50px;
    align-items: center;
}

.faq-illustration-box {
    position: relative;
    margin-top: 30px;
    max-width: 440px;
}

.faq-speech-bubble {
    position: absolute;
    top: -24px;
    right: 20px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.faq-speech-bubble .bubble-text {
    font-family: var(--font-doodle);
    font-size: 1.55rem;
    font-weight: 700;
    color: #0d9488;
    line-height: 1.15;
    transform: rotate(4deg);
}

.bubble-arrow {
    transform: rotate(10deg);
    margin-top: 2px;
    margin-right: 15px;
}

.faq-img-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 35px rgba(13, 92, 88, 0.12);
}

.faq-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Modern FAQ Accordions */
.faq-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.accordion-item-modern {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}

.accordion-item-modern:hover {
    border-color: #99f6e4;
}

.accordion-item-modern.active {
    border-color: #0d9488;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.08);
}

.accordion-trigger {
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
}

.accordion-trigger-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.faq-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0fdfa;
    color: #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-icon-circle i {
    width: 18px;
    height: 18px;
}

.accordion-question {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
}

.accordion-chevron {
    width: 20px;
    height: 20px;
    color: #0d9488;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-item-modern.active .accordion-chevron {
    transform: rotate(180deg);
}

.accordion-collapse-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 20px;
}

.accordion-item-modern.active .accordion-collapse-body {
    padding-bottom: 20px;
}

.accordion-collapse-body p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

/* 4. Two-Box Action Section */
.review-actions-section {
    padding: 70px 0 90px;
    background: #ffffff;
}

.review-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: stretch;
}

.review-card-action {
    border-radius: 24px;
    padding: 45px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Dark Teal "Leave a Review" Card */
.dark-teal-theme {
    background: #0d5c58;
    color: #ffffff;
    box-shadow: 0 20px 45px rgba(13, 92, 88, 0.25);
}

.action-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(153, 246, 228, 0.2);
    border: 1px solid rgba(153, 246, 228, 0.35);
    color: #99f6e4;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.badge-star-icon {
    width: 14px;
    height: 14px;
}

.header-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.action-title-text {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.doodle-sparkle-stars {
    color: #99f6e4;
    font-size: 1.1rem;
}

.action-desc-text {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Interactive Star Rating Row */
.interactive-star-row {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    cursor: pointer;
}

.star-item {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
    user-select: none;
}

.star-item.active,
.star-item:hover {
    color: #f59e0b;
    transform: scale(1.1);
}

/* Modern Review Form Controls */
.modern-review-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-input-group {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #0d9488;
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.textarea-icon {
    top: 20px;
    transform: none;
}

.modern-input,
.modern-select,
.modern-textarea {
    width: 100%;
    padding: 13px 16px 13px 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: #ffffff;
    color: #0f172a;
    font-size: 0.92rem;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.modern-input:focus,
.modern-select:focus,
.modern-textarea:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.25);
}

.form-two-col-row {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 12px;
}

.btn-mint-submit {
    background: #14b8a6 !important;
    color: #042f2c !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    padding: 13px 26px !important;
    border-radius: 12px !important;
    border: none !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    transition: all 0.2s ease !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

.btn-mint-submit:hover {
    background: #2dd4bf !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(45, 212, 191, 0.3) !important;
}

.btn-icon {
    width: 16px;
    height: 16px;
}

/* Light Mint "Have a Suggestion?" Card */
.light-mint-theme {
    background: #f0fdfa;
    border: 1.5px solid #ccfbf1;
    color: #0f172a;
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.04);
}

.suggestion-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #ccfbf1;
    color: #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.suggestion-icon-circle i {
    width: 24px;
    height: 24px;
}

.suggestion-title-text {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.suggestion-desc-text {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 30px;
}

/* Elevated Email Card */
.elevated-email-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    margin-bottom: 35px;
}

.email-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0fdfa;
    color: #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.email-card-icon i {
    width: 22px;
    height: 22px;
}

.email-card-heading {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.direct-email-link {
    color: #0d9488;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.direct-email-link:hover {
    color: #0f766e;
    text-decoration: underline;
}

/* Suggestion Bottom Doodles */
.suggestion-bottom-doodles {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

.feedback-doodle-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feedback-doodle-text .doodle-text {
    font-family: var(--font-doodle);
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d9488;
}

.idea-lightbulb-doodle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px dashed #99f6e4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d9488;
}

.idea-lightbulb-doodle i {
    width: 22px;
    height: 22px;
}

/* Responsive Media Queries for Reviews Page */
@media (max-width: 1024px) {
    .reviews-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .featured-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .review-actions-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .announcement-content {
        font-size: 0.75rem;
        gap: 8px;
    }

    .announcement-sep {
        display: none;
    }

    .featured-cards-grid {
        grid-template-columns: 1fr;
    }

    .reviews-floating-stats-card {
        position: static;
        margin-top: 20px;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 8px;
        animation: none !important;
    }

    .reviews-hero-image-box {
        overflow: visible;
        padding-top: 40px;  /* clear the overhanging doodle tag */
    }

    .reviews-hero-backdrop {
        z-index: 0;
    }

    .reviews-hero-img-frame {
        z-index: 2;
    }

    .reviews-doodle-tag {
        top: 0;
        left: 0;
        z-index: 3;
        animation: none !important;
    }

    .form-two-col-row {
        grid-template-columns: 1fr;
    }

    .review-card-action {
        padding: 30px 20px;
    }
}

/* =======================================================
   ABOUT US PAGE DESIGN SYSTEM
   ======================================================= */

.section-micro-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 800;
    color: #0d9488;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.badge-dot {
    color: #0d9488;
    font-size: 0.9rem;
}

/* 1. About Hero Section */
.about-hero-section {
    padding: 70px 0 85px;
    background: #fcfdfd;
    position: relative;
    overflow: hidden;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.about-trust-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 35px;
}

.about-trust-pill {
    background: #ffffff;
    border: 1.5px solid #eef2f6;
    border-radius: 50px;
    padding: 8px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}

.about-trust-pill:hover {
    transform: translateY(-2px);
    border-color: #99f6e4;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.08);
}

.trust-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0fdfa;
    color: #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon-circle i {
    width: 18px;
    height: 18px;
}

.trust-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

.about-hero-image-box {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

.about-hero-backdrop {
    position: absolute;
    width: 114%;
    height: 114%;
    top: -7%;
    left: -7%;
    background: #e6f7f5;
    border-radius: 40% 60% 65% 35% / 40% 50% 50% 60%;
    z-index: 1;
}

.about-dot-matrix {
    position: absolute;
    top: -20px;
    right: -15px;
    width: 90px;
    height: 90px;
    background-image: radial-gradient(#2dd4bf 2px, transparent 2px);
    background-size: 14px 14px;
    opacity: 0.55;
    z-index: 1;
}

.about-doodle-tag {
    position: absolute;
    top: -28px;
    left: 20px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    pointer-events: none;
}

.about-doodle-tag .doodle-text {
    font-family: var(--font-doodle);
    font-size: 1.6rem;
    font-weight: 700;
    color: #0d9488;
    line-height: 1.15;
    transform: rotate(-6deg);
}

.about-doodle-arrow {
    transform: rotate(15deg);
    margin-top: 4px;
    margin-left: 25px;
}

.about-hero-img-frame {
    position: relative;
    z-index: 2;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 45px -10px rgba(13, 92, 88, 0.18);
}

.about-hero-img-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 2. Our Story Section ("How It All Started") */
.our-story-section {
    padding: 85px 0;
    background: #ffffff;
}

.our-story-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.story-desc-text {
    font-size: 1rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 28px;
}

.story-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.story-card {
    background: #f0fdfa;
    border: 1.5px solid #ccfbf1;
    border-radius: 18px;
    padding: 28px 22px;
    transition: all 0.25s ease;
}

.story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(13, 148, 136, 0.08);
    border-color: #99f6e4;
    background: #ffffff;
}

.story-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    color: #0d9488;
    border: 1.5px solid #ccfbf1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.story-card:hover .story-card-icon {
    background: #0d9488;
    color: #ffffff;
}

.story-card-icon i {
    width: 22px;
    height: 22px;
}

.story-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.story-card-desc {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

/* 3. Why Choose Us Section */
.why-choose-section {
    padding: 85px 0;
    background: #fcfdfd;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
}

.why-checklist {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.check-icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0d9488;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon-circle i {
    width: 16px;
    height: 16px;
}

.check-text {
    font-size: 0.96rem;
    font-weight: 600;
    color: #1e293b;
}

.why-choose-right {
    position: relative;
}

.why-visual-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.why-badges-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    height: 100%;
    pointer-events: none;
    z-index: 10; /* Keep badges above everything */
}

.why-badges-container .floating-glass-badge {
    pointer-events: auto;
}

.why-backdrop-shape {
    position: absolute;
    width: 114%;
    height: 114%;
    top: -7%;
    left: -7%;
    background: #e6f7f5;
    border-radius: 50% 50% 60% 40% / 40% 60% 40% 60%;
    z-index: 1;
}

.why-dot-matrix {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(#2dd4bf 2px, transparent 2px);
    background-size: 14px 14px;
    opacity: 0.55;
    z-index: 1;
}

/* Laptop Mockup */
.laptop-mockup-frame {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.laptop-screen-display {
    width: 90%;
    background: #0f172a;
    border: 10px solid #1e293b;
    border-radius: 16px 16px 0 0;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.laptop-brand-content {
    text-align: center;
    color: #ffffff;
}

.laptop-emblem {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #0d9488;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.laptop-emblem i {
    width: 26px;
    height: 26px;
}

.laptop-brand-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.laptop-brand-tagline {
    font-size: 0.75rem;
    color: #94a3b8;
    letter-spacing: 0.4px;
    margin: 0;
}

.laptop-base-stand {
    width: 100%;
    height: 14px;
    background: #334155;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.laptop-base-stand::before {
    content: '';
    position: absolute;
    top: 0;
    left: 42%;
    width: 16%;
    height: 4px;
    background: #1e293b;
    border-radius: 0 0 4px 4px;
}

/* Floating Glass Badges */
.floating-glass-badge {
    position: absolute;
    z-index: 3;
    background: #ffffff;
    border-radius: 50px;
    padding: 8px 18px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-glass-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(13, 148, 136, 0.15);
}

.badge-top-left {
    top: 25px;
    left: -20px;
}

.badge-top-right {
    top: 40px;
    right: -25px;
}

.badge-bottom-right {
    bottom: 25px;
    right: -20px;
}

.f-badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.f-badge-icon.mint {
    background: #f0fdfa;
    color: #0d9488;
}

.f-badge-icon.teal {
    background: #e6f7f5;
    color: #0f766e;
}

.f-badge-icon.green {
    background: #ecfdf5;
    color: #10b981;
}

.f-badge-icon i {
    width: 16px;
    height: 16px;
}

.f-badge-info {
    display: flex;
    flex-direction: column;
}

.f-badge-sub {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
}

.f-badge-main {
    font-size: 0.85rem;
    color: #0f172a;
    font-weight: 700;
}

/* 4. Our Team Section ("Meet Our Expert Tutors") */
.our-team-section {
    padding: 85px 0;
    background: #ffffff;
}

.our-team-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.team-photo-wrapper {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.team-img-frame {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.team-img-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.team-doodle-badge {
    position: absolute;
    bottom: -15px;
    left: -15px;
    background: #ffffff;
    border: 1.5px solid #ccfbf1;
    border-radius: 20px;
    padding: 10px 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
}

.team-doodle-badge .doodle-text {
    font-family: var(--font-doodle);
    font-size: 1.45rem;
    font-weight: 700;
    color: #0d9488;
    line-height: 1.1;
    transform: rotate(-4deg);
}

.team-doodle-badge .doodle-sparkles {
    color: #0d9488;
    font-size: 1rem;
}

/* 5. Bottom Stats Counter Banner (Dark Teal) */
.about-stats-banner {
    background: #0d5c58;
    color: #ffffff;
    border-radius: 24px;
    padding: 50px 40px;
    margin: 20px auto 70px;
    max-width: 1280px;
    width: 92%;
    box-shadow: 0 20px 45px rgba(13, 92, 88, 0.25);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}

.about-stat-item {
    text-align: center;
    position: relative;
    padding: 10px 20px;
}

.about-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.stat-top-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin: 0 auto 12px;
}

.stat-top-icon i {
    width: 22px;
    height: 22px;
}

.about-stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 6px;
    display: block;
}

.about-stat-item .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* Responsive Media Queries for About Page */
@media (max-width: 1024px) {
    .about-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 45px;
    }

    .about-trust-row {
        justify-content: center;
    }

    .our-story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .our-team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .about-stat-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .story-cards-grid {
        grid-template-columns: 1fr;
    }

    .floating-glass-badge {
        position: static !important;
        margin: 0;
        animation: none !important;
    }

    .why-visual-wrapper {
        overflow: visible;
        padding: 20px 16px 16px;
    }

    .why-backdrop-shape {
        z-index: 0;
    }

    .laptop-mockup-frame {
        position: relative;
        z-index: 2;
    }

    /* Lay badges out in a row below the laptop on mobile */
    .why-choose-right .why-visual-wrapper {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .why-choose-right .why-visual-wrapper > .floating-glass-badge {
        order: 10;
    }

    .why-choose-right .why-visual-wrapper > .laptop-mockup-frame {
        order: 1;
    }

    .why-badges-row-mobile {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 16px;
        justify-content: center;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-stat-item::after {
        display: none;
    }

    .about-stats-banner {
        padding: 35px 20px;
    }
}

/* =======================================================
   WHY US / OUR ADVANTAGE PAGE DESIGN SYSTEM
   ======================================================= */

/* 1. Hero Section */
.why-hero-section {
    padding: 70px 0 85px;
    background: #fcfdfd;
    position: relative;
    overflow: hidden;
}

.why-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.why-trust-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 35px;
}

.why-trust-pill {
    background: #ffffff;
    border: 1.5px solid #eef2f6;
    border-radius: 50px;
    padding: 8px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}

.why-trust-pill:hover {
    transform: translateY(-2px);
    border-color: #99f6e4;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.08);
}

.why-hero-image-box {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

.why-hero-backdrop {
    position: absolute;
    width: 114%;
    height: 114%;
    top: -7%;
    left: -7%;
    background: #e6f7f5;
    border-radius: 40% 60% 65% 35% / 40% 50% 50% 60%;
    z-index: 1;
}

.why-dot-matrix {
    position: absolute;
    top: -20px;
    right: -15px;
    width: 90px;
    height: 90px;
    background-image: radial-gradient(#2dd4bf 2px, transparent 2px);
    background-size: 14px 14px;
    opacity: 0.55;
    z-index: 1;
}

.why-doodle-tag {
    position: absolute;
    top: -28px;
    left: 20px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    pointer-events: none;
}

.why-doodle-tag .doodle-text {
    font-family: var(--font-doodle);
    font-size: 1.6rem;
    font-weight: 700;
    color: #0d9488;
    line-height: 1.15;
    transform: rotate(-5deg);
}

.doodle-sparkles-row {
    color: #0d9488;
    font-size: 1.1rem;
    display: flex;
    gap: 4px;
    margin-top: 2px;
    margin-left: 25px;
}

.why-hero-img-frame {
    position: relative;
    z-index: 2;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 45px -10px rgba(13, 92, 88, 0.18);
}

.why-hero-img-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Vertically Stacked Hero Badges */
.hero-stacked-badges {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stacked-pill-badge {
    background: #ffffff;
    border: 1.5px solid #eef2f6;
    border-radius: 50px;
    padding: 8px 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
}

.stacked-pill-badge:hover {
    transform: translateX(4px);
    border-color: #99f6e4;
    box-shadow: 0 14px 30px rgba(13, 148, 136, 0.12);
}

.s-badge-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.s-badge-icon.mint {
    background: #f0fdfa;
    color: #0d9488;
}

.s-badge-icon.blue {
    background: #eff6ff;
    color: #3b82f6;
}

.s-badge-icon.gold {
    background: #fffbeb;
    color: #f59e0b;
}

.s-badge-icon i {
    width: 16px;
    height: 16px;
}

.s-badge-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

/* 2. Advantage Step Sections */
.advantage-step-section {
    padding: 85px 0;
    background: #ffffff;
}

.advantage-step-section.alt-bg {
    background: #fcfdfd;
}

.advantage-step-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.advantage-step-grid.reverse-grid {
    grid-template-columns: 1.05fr 1fr;
}

.step-number-tag {
    font-size: 0.85rem;
    font-weight: 800;
    color: #0d9488;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
    display: inline-block;
}

.step-number-tag span {
    color: #64748b;
}

.step-main-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.2vw, 2.6rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 16px;
}

.step-desc-text {
    font-size: 1rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 24px;
}

.step-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.step-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0d9488;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-check-icon i {
    width: 14px;
    height: 14px;
}

.step-check-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
}

/* Step 01 Visual */
.step-visual-wrapper {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.step-backdrop-shape {
    position: absolute;
    width: 114%;
    height: 114%;
    top: -7%;
    left: -7%;
    border-radius: 40% 60% 60% 40% / 50% 50% 50% 50%;
    z-index: 1;
}

.shape-mint {
    background: #e6f7f5;
}

.step-dot-matrix {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(#2dd4bf 2px, transparent 2px);
    background-size: 14px 14px;
    opacity: 0.55;
    z-index: 1;
}

.step-img-frame {
    position: relative;
    z-index: 2;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.step-img-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Floating Badges in Step 01 */
.step-floating-badge {
    position: absolute;
    z-index: 3;
    background: #ffffff;
    border-radius: 16px;
    padding: 10px 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-floating-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(13, 148, 136, 0.14);
}

.badge-pos-top-left {
    top: 20px;
    left: -25px;
}

.badge-pos-mid-left {
    top: 48%;
    left: -35px;
}

.badge-pos-bottom-right {
    bottom: 20px;
    right: -25px;
}

.f-badge-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eff6ff;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.f-badge-avatar.mint {
    background: #f0fdfa;
    color: #0d9488;
}

.f-badge-avatar.green {
    background: #ecfdf5;
    color: #10b981;
}

.f-badge-avatar i {
    width: 18px;
    height: 18px;
}

.f-badge-text {
    display: flex;
    flex-direction: column;
}

.f-badge-text .f-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
}

.f-badge-text .f-sub {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
}

/* 3. Step 02 Visual (Flexible & Convenient) */
.step-visual-wrapper-alt {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 540px;
    margin: 0 auto;
}

.alt-photo-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    flex: 1.2;
}

.alt-img-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.alt-doodle-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    pointer-events: none;
}

.alt-doodle-overlay .doodle-text {
    font-family: var(--font-doodle);
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.doodle-clock-icon {
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.doodle-clock-icon i {
    width: 20px;
    height: 20px;
}

.alt-side-badges-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 0.95;
}

.alt-side-badge {
    background: #ffffff;
    border: 1.5px solid #eef2f6;
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.25s ease;
}

.alt-side-badge:hover {
    transform: translateX(4px);
    border-color: #99f6e4;
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.08);
}

.alt-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.alt-icon-box.mint {
    background: #f0fdfa;
    color: #0d9488;
}

.alt-icon-box.teal {
    background: #e6f7f5;
    color: #0f766e;
}

.alt-icon-box.green {
    background: #ecfdf5;
    color: #10b981;
}

.alt-icon-box i {
    width: 18px;
    height: 18px;
}

.alt-badge-text h4 {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.alt-badge-text p {
    font-size: 0.72rem;
    color: #64748b;
    margin: 0;
}

/* 4. Step 03 Visual (Expert Tutors) */
.tutor-wrapper {
    position: relative;
}

.tutor-doodle-tag {
    position: absolute;
    top: -30px;
    left: 10px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    pointer-events: none;
}

.tutor-doodle-tag .doodle-text {
    font-family: var(--font-doodle);
    font-size: 1.55rem;
    font-weight: 700;
    color: #0d9488;
    line-height: 1.15;
    transform: rotate(-5deg);
}

.tutor-arrow {
    transform: rotate(15deg);
    margin-top: 2px;
    margin-left: 20px;
}

.tutor-stacked-badges {
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tutor-pill-badge {
    background: #ffffff;
    border: 1.5px solid #eef2f6;
    border-radius: 50px;
    padding: 8px 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
}

.tutor-pill-badge:hover {
    transform: translateX(4px);
    border-color: #99f6e4;
    box-shadow: 0 14px 30px rgba(13, 148, 136, 0.12);
}

.t-badge-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.t-badge-icon.mint {
    background: #f0fdfa;
    color: #0d9488;
}

.t-badge-icon.teal {
    background: #e6f7f5;
    color: #0f766e;
}

.t-badge-icon.green {
    background: #ecfdf5;
    color: #10b981;
}

.t-badge-icon i {
    width: 16px;
    height: 16px;
}

.t-badge-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

/* 5. Step 04: Proven Results Banner */
.advantage-results-section {
    padding: 40px 0 90px;
}

.advantage-results-card {
    background: #f0fdfa;
    border: 1.5px solid #ccfbf1;
    border-radius: 24px;
    padding: 50px 45px;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 50px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.04);
}

.results-main-title {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 2.8vw, 2.4rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 14px;
}

.results-desc-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 24px;
}

.results-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.results-stat-box {
    background: #ffffff;
    border: 1.5px solid #eef2f6;
    border-radius: 18px;
    padding: 24px 14px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}

.results-stat-box:hover {
    transform: translateY(-4px);
    border-color: #99f6e4;
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.08);
}

.r-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.r-stat-icon.mint {
    background: #f0fdfa;
    color: #0d9488;
}

.r-stat-icon.teal {
    background: #e6f7f5;
    color: #0f766e;
}

.r-stat-icon.green {
    background: #ecfdf5;
    color: #10b981;
}

.r-stat-icon.blue {
    background: #eff6ff;
    color: #3b82f6;
}

.r-stat-icon i {
    width: 18px;
    height: 18px;
}

.r-stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 6px;
    display: block;
}

.r-stat-label {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
    line-height: 1.35;
    display: block;
}

/* Responsive Media Queries for Why Us Page */
@media (max-width: 1024px) {
    .why-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 45px;
    }

    .why-trust-row {
        justify-content: center;
    }

    .advantage-step-grid,
    .advantage-step-grid.reverse-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .step-visual-wrapper-alt {
        flex-direction: column;
    }

    .alt-side-badges-col {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .advantage-results-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .results-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .hero-stacked-badges {
        position: static;
        transform: none;
        margin-top: 15px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .badge-pos-top-left,
    .badge-pos-mid-left,
    .badge-pos-bottom-right {
        position: static;
        margin-top: 10px;
    }

    .tutor-stacked-badges {
        position: static;
        transform: none;
        margin-top: 15px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .alt-side-badges-col {
        grid-template-columns: 1fr;
    }

    .results-stats-grid {
        grid-template-columns: 1fr;
    }

    .advantage-results-card {
        padding: 35px 20px;
    }
}

/* ==========================================================================
   ADVANCED ANIMATIONS, TEXT REVEALS & SMOOTH TRANSITIONS SYSTEM
   ========================================================================== */

:root {
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in-out-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* 1. Header Scrolled State Transition */
.main-header {
    transition: background-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease !important;
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.8) !important;
}

/* 2. Text Reveal Effects */
.reveal-text {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(3px);
    transition: opacity 0.85s var(--ease-out-expo), transform 0.85s var(--ease-out-expo), filter 0.85s var(--ease-out-expo);
    will-change: opacity, transform, filter;
}

.reveal-text.is-revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Text Shimmer Effect on Highlighted Elements */
@keyframes textShimmerWave {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.shimmer-text,
.text-shimmer {
    background: linear-gradient(90deg, #0d9488 0%, #14b8a6 25%, #0ea5e9 50%, #14b8a6 75%, #0d9488 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmerWave 6s ease-in-out infinite;
}

/* 3. Card & Element Entrance Animations (Scroll Reveal) */
.reveal-card,
.reveal-on-scroll,
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
    will-change: opacity, transform;
}

.reveal-card.is-revealed,
.reveal-on-scroll.is-visible,
.reveal-on-scroll.is-revealed,
.animate-on-scroll.is-visible,
.animate-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Dynamic Stagger Delays */
.stagger-1 {
    transition-delay: 0.08s !important;
}

.stagger-2 {
    transition-delay: 0.16s !important;
}

.stagger-3 {
    transition-delay: 0.24s !important;
}

.stagger-4 {
    transition-delay: 0.32s !important;
}

.stagger-5 {
    transition-delay: 0.40s !important;
}

.stagger-6 {
    transition-delay: 0.48s !important;
}

/* 4. Organic Floating Physics for Badges */
@keyframes floatGentle {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(0.6deg);
    }
}

@keyframes floatGentleAlt {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(8px) rotate(-0.6deg);
    }
}

@keyframes floatGentleSubtle {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Applying Floating Animations to Multi-page Floating Cards & Badges */
.floating-glass-badge {
    animation: floatGentle 4.5s ease-in-out infinite !important;
}

.step-floating-badge {
    animation: floatGentle 4.8s ease-in-out infinite !important;
}

.courses-hero-floating-badge {
    animation: floatGentle 4.6s ease-in-out infinite !important;
}

.reviews-floating-stats-card {
    animation: floatGentleAlt 5.2s ease-in-out infinite !important;
}

.floating-metric-card {
    animation: floatGentle 4.8s ease-in-out infinite !important;
}

.hero-stacked-badges .stacked-pill-badge:nth-child(1) {
    animation: floatGentle 4.2s ease-in-out infinite !important;
}

.hero-stacked-badges .stacked-pill-badge:nth-child(2) {
    animation: floatGentleAlt 4.8s ease-in-out infinite 0.4s !important;
}

.hero-stacked-badges .stacked-pill-badge:nth-child(3) {
    animation: floatGentle 5.2s ease-in-out infinite 0.8s !important;
}

.badge-pos-top-left {
    animation: floatGentle 4.6s ease-in-out infinite !important;
}

.badge-pos-mid-left {
    animation: floatGentleAlt 5s ease-in-out infinite 0.5s !important;
}

.badge-pos-bottom-right {
    animation: floatGentle 4.4s ease-in-out infinite 0.9s !important;
}

.tutor-stacked-badges .tutor-pill-badge:nth-child(1) {
    animation: floatGentle 4.4s ease-in-out infinite !important;
}

.tutor-stacked-badges .tutor-pill-badge:nth-child(2) {
    animation: floatGentleAlt 4.9s ease-in-out infinite 0.5s !important;
}

.tutor-stacked-badges .tutor-pill-badge:nth-child(3) {
    animation: floatGentle 5.3s ease-in-out infinite 0.9s !important;
}

.alt-side-badge {
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo), border-color 0.3s ease !important;
}

.alt-side-badge:hover {
    transform: translateY(-4px) translateX(4px) !important;
    box-shadow: 0 12px 25px rgba(13, 148, 136, 0.1) !important;
}

/* 5. Button Hover Light Sweep & Spring Feedback */
.btn-teal,
.btn-brand-primary,
.btn-primary,
.btn-outline-teal,
.r-cta-btn,
.r-submit-btn,
.r-filter-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--ease-out-expo) !important;
}

.btn-teal::after,
.btn-brand-primary::after,
.r-cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: skewX(-20deg);
    transition: left 0.75s ease;
    pointer-events: none;
}

.btn-teal:hover::after,
.btn-brand-primary:hover::after,
.r-cta-btn:hover::after {
    left: 180%;
}

.btn:active,
.r-cta-btn:active,
.btn-teal:active,
.course-filter-pill:active {
    transform: scale(0.97) !important;
}

/* 6. Card Hover Elevate & Illumination Transitions */
.course-card,
.review-card,
.mission-card,
.subject-card,
.results-stat-box,
.about-stat-box,
.advantage-step-block,
.r-faq-item,
.faq-item {
    transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), border-color 0.3s ease !important;
}

.course-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 35px -10px rgba(13, 148, 136, 0.12), 0 0 0 1px rgba(13, 148, 136, 0.2) !important;
}

.review-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(204, 251, 241, 0.8) !important;
}

.mission-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 35px -10px rgba(13, 148, 136, 0.1) !important;
}

.about-stat-box:hover,
.results-stat-box:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px -8px rgba(13, 148, 136, 0.12) !important;
    border-color: #99f6e4 !important;
}

/* 7. Comprehensive Image Animations, Glare Sheen & Parallax Hover Suite */

/* Scroll Reveal for Image Containers */
.reveal-image {
    opacity: 0;
    transform: translateY(32px) scale(0.96);
    filter: blur(4px);
    transition: opacity 0.95s var(--ease-out-expo), transform 0.95s var(--ease-out-expo), filter 0.95s var(--ease-out-expo) !important;
    will-change: opacity, transform, filter;
}

.reveal-image.is-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Image Frames Setup with Smooth Transitions & Glow */
.hero-image-frame,
.pricing-books-img-wrapper,
.collab-img-frame,
.course-thumb-wrapper,
.course-card-thumb,
.courses-hero-img-frame,
.courses-hero-img-box,
.banner-img-frame,
.why-hero-img-frame,
.step-img-frame,
.alt-img-frame,
.alt-photo-card,
.about-hero-img-frame,
.about-hero-photo-wrapper,
.laptop-mockup-frame,
.laptop-screen-frame,
.team-img-frame,
.team-photo-frame,
.reviews-hero-img-frame,
.reviews-hero-photo,
.hero-student-card,
.r-faq-illustration-box {
    position: relative;
    overflow: hidden;
    transition: transform 0.65s var(--ease-out-expo), box-shadow 0.65s var(--ease-out-expo), border-color 0.4s ease !important;
    will-change: transform, box-shadow;
}

/* Glass Glare Sheen Sweep on Hover */
.hero-image-frame::after,
.pricing-books-img-wrapper::after,
.collab-img-frame::after,
.course-thumb-wrapper::after,
.course-card-thumb::after,
.courses-hero-img-frame::after,
.banner-img-frame::after,
.why-hero-img-frame::after,
.step-img-frame::after,
.alt-img-frame::after,
.about-hero-img-frame::after,
.about-hero-photo-wrapper::after,
.laptop-mockup-frame::after,
.team-img-frame::after,
.team-photo-frame::after,
.reviews-hero-img-frame::after,
.reviews-hero-photo::after,
.hero-student-card::after,
.r-faq-illustration-box::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -90%;
    width: 60%;
    height: 220%;
    background: linear-gradient(105deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.08) 25%,
            rgba(255, 255, 255, 0.38) 50%,
            rgba(255, 255, 255, 0.08) 75%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    pointer-events: none;
    transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
    z-index: 10;
}

/* Trigger Light Sweep & Glare on Hover */
.hero-photo-composition:hover .hero-image-frame::after,
.hero-image-frame:hover::after,
.pricing-doodle-box:hover .pricing-books-img-wrapper::after,
.pricing-books-img-wrapper:hover::after,
.collab-img-frame:hover::after,
.course-card:hover .course-thumb-wrapper::after,
.course-card:hover .course-card-thumb::after,
.courses-hero-img-box:hover .courses-hero-img-frame::after,
.feature-photo-wrapper:hover .banner-img-frame::after,
.banner-img-frame:hover::after,
.why-hero-img-frame:hover::after,
.why-hero-image-box:hover .why-hero-img-frame::after,
.step-img-frame:hover::after,
.alt-img-frame:hover::after,
.alt-photo-card:hover .alt-img-frame::after,
.about-hero-img-frame:hover::after,
.about-hero-image-box:hover .about-hero-img-frame::after,
.about-hero-photo-wrapper:hover::after,
.laptop-mockup-frame:hover::after,
.team-img-frame:hover::after,
.team-photo-wrapper:hover .team-img-frame::after,
.team-photo-frame:hover::after,
.reviews-hero-img-frame:hover::after,
.reviews-hero-image-box:hover .reviews-hero-img-frame::after,
.reviews-hero-photo:hover::after,
.hero-student-card:hover::after,
.r-faq-illustration-box:hover::after {
    transform: rotate(25deg) translate(320%, 160%);
    opacity: 1;
}

/* Dual-Layer Parallax Lift for Photo Frames on Hover */
.hero-image-frame:hover,
.pricing-books-img-wrapper:hover,
.collab-img-frame:hover,
.courses-hero-img-frame:hover,
.banner-img-frame:hover,
.why-hero-img-frame:hover,
.step-img-frame:hover,
.alt-img-frame:hover,
.about-hero-img-frame:hover,
.about-hero-photo-wrapper:hover,
.laptop-mockup-frame:hover,
.team-img-frame:hover,
.team-photo-frame:hover,
.reviews-hero-img-frame:hover,
.reviews-hero-photo:hover,
.hero-student-card:hover {
    transform: translateY(-8px) scale(1.012) !important;
    box-shadow: 0 25px 50px -10px rgba(13, 148, 136, 0.22), 0 0 20px rgba(13, 148, 136, 0.15) !important;
    border-color: rgba(13, 148, 136, 0.4) !important;
}

/* Image Zoom, Contrast & Saturation Enhancement on Hover */
.hero-image-frame img,
.pricing-books-img-wrapper img,
.collab-img-frame img,
.course-thumb-wrapper img,
.course-card-thumb img,
.courses-hero-img-frame img,
.courses-hero-img-box img,
.banner-img-frame img,
.why-hero-img-frame img,
.step-img-frame img,
.alt-img-frame img,
.about-hero-img-frame img,
.about-hero-photo-wrapper img,
.laptop-screen-frame img,
.team-img-frame img,
.team-photo-frame img,
.reviews-hero-img-frame img,
.reviews-hero-photo img,
.hero-student-card img,
.r-faq-illustration-box img {
    transition: transform 0.85s var(--ease-out-expo), filter 0.85s ease !important;
    will-change: transform, filter;
}

.hero-photo-composition:hover .hero-image-frame img,
.hero-image-frame:hover img,
.pricing-doodle-box:hover .pricing-books-img-wrapper img,
.collab-img-frame:hover img,
.course-card:hover .course-thumb-wrapper img,
.course-card:hover .course-card-thumb img,
.courses-hero-img-box:hover img,
.feature-photo-wrapper:hover .banner-img-frame img,
.banner-img-frame:hover img,
.why-hero-image-box:hover .why-hero-img-frame img,
.why-hero-img-frame:hover img,
.step-img-frame:hover img,
.alt-img-frame:hover img,
.alt-photo-card:hover .alt-img-frame img,
.about-hero-image-box:hover .about-hero-img-frame img,
.about-hero-img-frame:hover img,
.about-hero-photo-wrapper:hover img,
.laptop-screen-frame:hover img,
.team-photo-wrapper:hover .team-img-frame img,
.team-img-frame:hover img,
.team-photo-frame:hover img,
.reviews-hero-image-box:hover .reviews-hero-img-frame img,
.reviews-hero-img-frame:hover img,
.reviews-hero-photo:hover img,
.hero-student-card:hover img,
.r-faq-illustration-box:hover img {
    transform: scale(1.065) !important;
    filter: contrast(102%) saturate(108%) brightness(1.02) !important;
}

/* Idle Breathing Float for Hero Visuals across all pages */
@keyframes heroVisualFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hero-photo-composition,
.why-hero-image-box,
.courses-hero-img-box,
.about-hero-image-box,
.about-hero-photo-wrapper,
.reviews-hero-image-box,
.feature-photo-wrapper {
    animation: heroVisualFloat 5.5s ease-in-out infinite;
}

/* Doodle Tag Micro-Wiggle & Float */
@keyframes doodleFloatWiggle {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-5px) rotate(-1.5deg);
    }
}

.hero-doodle-tag,
.pricing-doodle-quote,
.courses-hero-doodle-tag,
.banner-doodle-tag,
.why-doodle-tag,
.alt-doodle-overlay,
.tutor-doodle-tag,
.about-doodle-tag,
.team-doodle-badge,
.reviews-doodle-tag,
.suggestion-bottom-doodles {
    animation: doodleFloatWiggle 4.2s ease-in-out infinite;
    transition: transform 0.4s var(--ease-out-back) !important;
}

.hero-photo-composition:hover .hero-doodle-tag,
.pricing-doodle-box:hover .pricing-doodle-quote,
.courses-hero-img-box:hover .courses-hero-doodle-tag,
.feature-photo-wrapper:hover .banner-doodle-tag,
.why-hero-image-box:hover .why-doodle-tag,
.alt-photo-card:hover .alt-doodle-overlay,
.tutor-wrapper:hover .tutor-doodle-tag,
.about-hero-image-box:hover .about-doodle-tag,
.team-photo-wrapper:hover .team-doodle-badge,
.reviews-hero-image-box:hover .reviews-doodle-tag {
    transform: scale(1.08) rotate(2deg) !important;
}

/* 8. Pulsing Status Dots & Trial Badges */
@keyframes pulseGlow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.65;
        transform: scale(1.15);
    }
}

.live-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    display: inline-block;
    animation: pulseGlow 2s ease-in-out infinite;
}

/* 9. Animated Counter Glow */
.stat-number.counting-up,
.r-stat-number.counting-up {
    color: #0d9488 !important;
    transition: color 0.4s ease;
}

/* 10. Accessible Motion Preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal-text,
    .reveal-card,
    .reveal-on-scroll,
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

/* ==========================================================================
   HIGH-END SVG PATTERNS, AMBIENT GLOWS & MESH TEXTURES
   ========================================================================== */

/* 1. Footer Constellation / Geometric Pattern & Ambient Top Glow */
.main-footer {
    position: relative;
    background-color: #0b1120 !important;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(13, 148, 136, 0.22) 0%, transparent 70%),
        url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2394a3b8' fill-opacity='0.038' fill-rule='evenodd'%3E%3Ccircle cx='24' cy='24' r='1.2'/%3E%3Cpath d='M24 0v48M0 24h48' stroke='%2394a3b8' stroke-width='0.5' stroke-opacity='0.038'/%3E%3C/g%3E%3C/svg%3E") !important;
    border-top: 1px solid rgba(13, 148, 136, 0.25) !important;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #0d9488 20%, #14b8a6 50%, #0d9488 80%, transparent);
    z-index: 2;
}

/* 2. Light Mint Sections & Containers (Geometric Honeycomb & Ambient Light) */
.advantage-results-card,
.program-feature-banner,
.review-card-action.light-mint-theme,
.advantage-step-section.alt-bg,
.pricing-doodle-box,
.story-card {
    position: relative;
    background-color: #f0fdfa !important;
    background-image:
        radial-gradient(circle at 95% 10%, rgba(20, 184, 166, 0.15) 0%, transparent 45%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%230d9488' stroke-width='1' stroke-opacity='0.055'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%230d9488' stroke-width='1' stroke-opacity='0.055'/%3E%3C/svg%3E") !important;
    background-size: auto, 42px 75px !important;
}

/* Subtle interactive spotlight for mint cards */
.advantage-results-card::before,
.review-card-action.light-mint-theme::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: radial-gradient(450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(13, 148, 136, 0.08), transparent 65%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.advantage-results-card:hover::before,
.review-card-action.light-mint-theme:hover::before {
    opacity: 1;
}

/* 3. Dark Teal Feature Banners (Tech Circuit & Constellation Pattern) */
.program-feature-banner.banner-dark-teal,
.invest-future-section,
.about-stats-banner,
.collaborative-banner-section,
.cta-banner-section {
    position: relative;
    background-color: #0f766e !important;
    background-image:
        radial-gradient(ellipse 60% 80% at 90% 20%, rgba(45, 212, 191, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 10% 80%, rgba(13, 148, 136, 0.3) 0%, transparent 60%),
        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' stroke='%23ffffff' stroke-width='0.7' stroke-opacity='0.055'%3E%3Cpath d='M30 0v60M0 30h60M0 0l60 60M60 0L0 60'/%3E%3Ccircle cx='30' cy='30' r='2' fill='%23ffffff' fill-opacity='0.08'/%3E%3C/g%3E%3C/svg%3E") !important;
    overflow: hidden;
}

/* Corner ambient gleam for dark teal banners */
.program-feature-banner.banner-dark-teal::before,
.about-stats-banner::before,
.collaborative-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(94, 234, 212, 0.4) 50%, transparent);
    z-index: 2;
}

/* 4. Primary Buttons Glow Aura & Illuminated Mesh */
.btn-teal,
.btn-teal-pill,
.btn-cta-emerald,
.btn-brand-primary,
.btn-primary {
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.28) !important;
}

.btn-teal:hover,
.btn-teal-pill:hover,
.btn-cta-emerald:hover,
.btn-brand-primary:hover,
.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.45), 0 0 0 1px rgba(94, 234, 212, 0.3) !important;
}

/* 5. Outline Buttons Subtle Backlight Glow */
.btn-outline-teal,
.btn-outline-teal-pill {
    background: rgba(13, 148, 136, 0.04) !important;
    border: 1.5px solid #0d9488 !important;
    box-shadow: 0 2px 10px rgba(13, 148, 136, 0.08) !important;
}

.btn-outline-teal:hover,
.btn-outline-teal-pill:hover {
    background: #0d9488 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 22px rgba(13, 148, 136, 0.35) !important;
}

/* ==========================================================================
   6. FEATURED TUTOR PROFILE CARDS (ABOUT.PHP SECTION 4)
   ========================================================================== */
.tutors-profile-container {
    margin-top: 65px;
    padding-top: 55px;
    border-top: 1.5px dashed rgba(13, 148, 136, 0.2);
}

.tutors-profile-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 45px;
}

.tutors-profile-header .section-heading-dark {
    margin-bottom: 12px;
}

.tutors-profile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    align-items: stretch;
}

.tutor-profile-card {
    background: #ffffff;
    border: 1.5px solid #e2f1ee;
    border-radius: 24px;
    padding: 24px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 10px 30px rgba(13, 92, 88, 0.05);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.38s ease,
        border-color 0.35s ease;
    overflow: hidden;
    z-index: 1;
}

.tutor-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #14b8a6, #0d9488, #0d5c58);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.tutor-profile-card:hover {
    transform: translateY(-8px);
    border-color: #14b8a6;
    box-shadow: 0 20px 45px rgba(13, 92, 88, 0.12), 0 0 0 1px rgba(20, 184, 166, 0.25);
}

.tutor-profile-card:hover::before {
    opacity: 1;
}

/* Card Top Bar */
.tutor-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.tutor-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    animation: statusPulse 2s infinite ease-in-out;
}

@keyframes statusPulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.tutor-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
}

.star-icon-filled {
    width: 14px;
    height: 14px;
    fill: #f59e0b;
    stroke: #f59e0b;
}

.rating-count {
    font-size: 0.74rem;
    font-weight: 500;
    color: #94a3b8;
    margin-left: 2px;
}

/* Avatar Frame */
.tutor-avatar-wrapper {
    position: relative;
    width: 92px;
    height: 92px;
    margin: 12px auto 14px;
}

.tutor-avatar-frame {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #14b8a6, #0d5c58);
    box-shadow: 0 8px 22px rgba(13, 148, 136, 0.22);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    overflow: hidden;
}

.tutor-avatar-frame.avatar-teal {
    background: linear-gradient(135deg, #2dd4bf, #0f766e);
}

.tutor-avatar-frame.avatar-emerald {
    background: linear-gradient(135deg, #34d399, #065f46);
}

.tutor-avatar-frame.avatar-cyan {
    background: linear-gradient(135deg, #38bdf8, #0369a1);
}

.tutor-avatar-frame.avatar-amber {
    background: linear-gradient(135deg, #fbbf24, #0f766e);
}

.tutor-svg-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
}

.tutor-profile-card:hover .tutor-avatar-frame {
    transform: scale(1.06);
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.35);
}

.tutor-subject-icon-badge {
    position: absolute;
    bottom: 0;
    right: -2px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #0d5c58;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
    transition: transform 0.3s ease, background 0.3s ease;
}

.tutor-subject-icon-badge i,
.tutor-subject-icon-badge svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

.tutor-profile-card:hover .tutor-subject-icon-badge {
    transform: scale(1.12);
    background: #0d9488;
}

/* Card Body */
.tutor-card-body {
    text-align: center;
    margin-bottom: 16px;
    flex-grow: 1;
}

.tutor-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0d3b43;
    margin-bottom: 3px;
}

.tutor-role-title {
    font-size: 0.84rem;
    font-weight: 600;
    color: #0d9488;
    margin-bottom: 10px;
}

.tutor-cred-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    color: #334155;
    background: #f0fdf9;
    border: 1px solid #ccfbf1;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
    font-weight: 600;
}

.tutor-cred-pill i,
.tutor-cred-pill svg {
    width: 13px;
    height: 13px;
    color: #0d9488;
}

.tutor-bio {
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 14px;
    min-height: 52px;
}

/* Tags Row */
.tutor-tags-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.tutor-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: #0f766e;
    background: rgba(13, 148, 136, 0.08);
    padding: 3px 9px;
    border-radius: 6px;
    border: 1px solid rgba(13, 148, 136, 0.16);
    transition: all 0.25s ease;
}

.tutor-profile-card:hover .tutor-tag {
    background: rgba(13, 148, 136, 0.16);
    border-color: rgba(13, 148, 136, 0.3);
}

/* Card CTA */
.tutor-card-footer {
    margin-top: auto;
}

.tutor-cta-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.88rem;
    padding: 10px 16px;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tutor-cta-btn i,
.tutor-cta-btn svg {
    width: 15px;
    height: 15px;
    transition: transform 0.25s ease;
}

.tutor-profile-card:hover .tutor-cta-btn {
    background: #0d9488 !important;
    color: #ffffff !important;
    border-color: #0d9488 !important;
    box-shadow: 0 6px 18px rgba(13, 148, 136, 0.35) !important;
}

.tutor-profile-card:hover .tutor-cta-btn i,
.tutor-profile-card:hover .tutor-cta-btn svg {
    transform: translateX(4px);
}

/* Responsive Grid for Tutors */
@media (max-width: 1100px) {
    .tutors-profile-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}

@media (max-width: 640px) {
    .tutors-profile-container {
        margin-top: 45px;
        padding-top: 40px;
    }

    .tutors-profile-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tutor-bio {
        min-height: auto;
    }
}


.testimonials-right-col { min-width: 0; }

/* =============================================
   LARGE SCREEN & 4K/8K RESPONSIVE SYSTEM
   Breakpoints: 1440px | 1920px | 2560px | 3840px
   ============================================= */

/* ─── 1440p (Large Laptop / Desktop) ─── */
@media (min-width: 1440px) {
    .container {
        max-width: clamp(1300px, 80vw, 1500px);
    }

    .main-header .container {
        max-width: clamp(1300px, 85vw, 1700px);
    }

    /* Grids: cap at 4 columns */
    .features-grid,
    .pathways-grid,
    .courses-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .section-title.center {
        max-width: 900px;
    }
}

/* ─── 1920p (Full HD / Large Monitor) ─── */
@media (min-width: 1920px) {
    .container {
        max-width: clamp(1500px, 78vw, 1800px);
    }

    .main-header .container {
        max-width: clamp(1500px, 82vw, 2000px);
        padding: 0 60px;
    }

    .section-title.center {
        max-width: 1000px;
    }

    .global-header-wrapper {
        padding: 0 40px;
    }

    /* Prevent narrow hero text at 1080p width */
    .hero-text,
    .hero-left {
        max-width: none;
    }
}

/* ─── QHD / 2K (2560px) ─── */
@media (min-width: 2560px) {
    .container {
        max-width: clamp(1800px, 75vw, 2200px);
    }

    .main-header .container {
        max-width: clamp(1800px, 78vw, 2400px);
        padding: 0 80px;
    }

    .main-header {
        border-radius: 28px;
    }

    .global-header-wrapper {
        padding: 0 60px;
        top: 20px;
    }

    .main-nav ul {
        gap: 35px;
    }

    .main-nav a {
        font-size: 1.1rem;
    }

    .section-title.center {
        max-width: 1200px;
        margin-bottom: 80px;
    }

    section {
        padding: clamp(120px, 7vw, 180px) 0;
    }

    /* Grids: cap at 4-5 columns at QHD */
    .features-grid,
    .pathways-grid,
    .courses-cards-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }

    .footer-grid {
        gap: 60px;
    }
}

/* ─── 4K UHD (3840px) ─── */
@media (min-width: 3840px) {
    html {
        font-size: clamp(20px, 0.6vw, 28px);
    }

    .container {
        max-width: clamp(2200px, 70vw, 3000px);
    }

    .main-header .container {
        max-width: clamp(2200px, 72vw, 3200px);
        padding: 0 120px;
        height: 100px;
    }

    .main-header {
        border-radius: 36px;
    }

    .global-header-wrapper {
        padding: 0 80px;
        top: 24px;
    }

    .logo a {
        font-size: 2rem;
        gap: 18px;
    }

    .brand-emblem {
        width: 56px;
        height: 56px;
    }

    .mobile-menu-btn {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }

    .main-nav ul {
        gap: 48px;
    }

    .main-nav a {
        font-size: 1.15rem;
        padding: 12px 18px;
    }

    .header-cta .btn {
        padding: 14px 28px;
        font-size: 1rem;
    }

    section {
        padding: clamp(150px, 6vw, 220px) 0;
    }

    .section-title.center {
        max-width: 1600px;
        margin-bottom: 100px;
    }

    /* Cap grids to sensible columns at 4K */
    .features-grid,
    .pathways-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 50px;
    }

    .courses-cards-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }

    .footer-grid {
        gap: 80px;
    }

    .top-announcement-bar {
        padding: 14px 0;
        font-size: 1.05rem;
    }
}

/* ─── 8K (7680px) ─── */
@media (min-width: 7680px) {
    html {
        font-size: clamp(28px, 0.45vw, 40px);
    }

    .container {
        max-width: clamp(4000px, 65vw, 5500px);
    }

    .main-header .container {
        max-width: clamp(4000px, 66vw, 5800px);
        padding: 0 200px;
        height: 140px;
    }

    .global-header-wrapper {
        padding: 0 160px;
        top: 32px;
    }

    section {
        padding: clamp(200px, 5vw, 300px) 0;
    }
}

/* ─── Intermediate header gap fix (1100px–1400px) ─── */
@media (min-width: 993px) and (max-width: 1200px) {
    .main-header .container {
        gap: 12px;
    }

    .main-nav ul {
        gap: 12px;
    }

    .main-nav a {
        font-size: 0.95rem;
        padding: 8px 8px;
    }

    .header-cta .btn {
        padding: 9px 14px;
        font-size: 0.88rem;
    }
}

/* ═══════════════════════════════════════════════════════
   MOBILE FIX — Hero Visual Sections (Reviews + Why-Choose)
   Prevents absolutely-positioned blobs/backdrops from
   covering content when stacked vertically on small screens.
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── Reviews Hero Right ────────────────────────── */
    .reviews-hero-right {
        width: 100%;
    }

    .reviews-hero-image-box {
        position: relative;
        overflow: visible !important;
        padding-top: 44px; /* prevent doodle tag from being clipped */
        margin-bottom: 16px;
    }

    /* Blobs/backdrops must sit BEHIND everything */
    .reviews-hero-backdrop {
        z-index: 0 !important;
        pointer-events: none;
    }

    /* Image frame always above backdrop */
    .reviews-hero-img-frame {
        position: relative;
        z-index: 2 !important;
    }

    /* Doodle tag: anchor to top-left, stay above image */
    .reviews-doodle-tag {
        position: absolute !important;
        top: 4px !important;
        left: 4px !important;
        z-index: 5 !important;
        animation: none !important;
        transform: none !important;
    }

    .hero-doodle-sparkles {
        z-index: 5;
        top: 8px;
    }

    /* Stop the whole image-box from floating (avoids stacking context chaos) */
    .reviews-hero-image-box,
    .why-hero-image-box,
    .about-hero-image-box {
        animation: none !important;
    }

    /* Stats card: go fully in-flow, display as row */
    .reviews-floating-stats-card {
        position: static !important;
        bottom: auto !important;
        right: auto !important;
        width: 100% !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-around !important;
        gap: 8px !important;
        margin-top: 18px !important;
        animation: none !important;
    }

    .r-stat-row {
        flex-direction: column;
        align-items: center;
        gap: 4px;
        min-width: 80px;
        text-align: center;
    }

    /* ── Why Choose Right (About page) ────────────── */
    .why-choose-right {
        width: 100%;
    }

    .why-visual-wrapper {
        position: relative !important;
        overflow: visible !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    /* Blob stays behind */
    .why-backdrop-shape,
    .why-dot-matrix {
        z-index: 0 !important;
        pointer-events: none !important;
    }

    /* Laptop is the main element */
    .laptop-mockup-frame {
        position: relative !important;
        z-index: 2 !important;
        width: 100% !important;
        order: 1 !important;
        animation: none !important;
    }

    /* All floating badges: come out of absolute positioning */
    .why-badges-container {
        position: static !important;
        transform: none !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
        margin-top: 24px !important;
        pointer-events: auto !important;
    }

    .why-badges-container .floating-glass-badge {
        position: static !important;
        animation: none !important;
        transform: none !important;
        width: auto !important;
        align-self: auto;
        justify-content: flex-start;
        padding: 8px 16px !important;
    }

    /* Stack the 3 badges in a clean row */
    .why-badges-container .badge-top-left,
    .why-badges-container .badge-top-right,
    .why-badges-container .badge-bottom-right {
        position: static !important;
    }
}

/* =========================================
   MOBILE NAVBAR OVERRIDE FIX (IMPROVED)
   ========================================= */
@media (max-width: 992px) {

/* =========================================
   MOBILE NAVBAR OVERRIDE FIX (FINAL FIX)
   ========================================= */
html, body {
    overflow-x: hidden !important;
}

@media (max-width: 992px) {
    .main-nav {
        position: fixed !important;
        top: 0 !important;
        right: -120% !important;
        width: min(88vw, 360px) !important;
        height: 100dvh !important;
        background: #ffffff !important;
        border-left: 1px solid #e8ecf0 !important;
        box-shadow: -16px 0 48px rgba(0, 0, 0, 0.18) !important;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        z-index: 3000 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 0 !important;
        display: flex !important;
        max-width: none !important;
    }

    .main-nav.active {
        right: 0 !important;
        padding: 10px !important;
    }

    .main-nav ul {
        flex-direction: column !important;
        text-align: left !important;
        width: 100% !important;
        gap: 2px !important;
        margin: 0 !important;
        display: flex !important;
    }

    .main-nav ul li {
        width: 100% !important;
    }
}
