/* =================================================================
   Elevra Tutoring Website - Enhanced Stylesheet
   ================================================================= */

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

:root {
    /* Colors */
    --dark-blue: #0d1b2a;
    --off-white: #e0e1dd;
    --purple: #56439a;
    --light-purple: #8593d1;
    --gold: #c29b64;
    --dark-red: #690d0d;
    --white: #ffffff;
    --text-muted: #5a6a7a;

    /* Layout */
    --section-padding: 6rem;
    --card-gap: 2rem;
    --container-width: 1400px;
    --container-wide: 1800px;
    --header-height: 80px;
    --header-height-scrolled: 70px;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Design tokens */
    --border-thick: 4px;
    --tilt-angle: 2deg;
    --card-radius: 16px;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);

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

    /* Shadow Scale */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.15);
    --shadow-purple-sm: 0 4px 20px rgba(86, 67, 154, 0.15);
    --shadow-purple-md: 0 8px 30px rgba(86, 67, 154, 0.2);

    /* Font Size Scale */
    --text-xs: 0.8125rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark-blue);
    background-color: var(--white);
    overflow-x: hidden;
    position: relative;
}

/* Noise texture overlay for depth */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: overlay;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 2rem;
}

/* =================================================================
   Typography
   ================================================================= */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-blue);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--purple);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    position: relative;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.section-title::before,
.section-title::after {
    content: '';
    display: block;
    width: clamp(50px, 6vw, 80px);
    height: clamp(50px, 6vw, 80px);
    background: url('../img/logo.png') no-repeat center;
    background-size: contain;
    opacity: 0.85;
    flex-shrink: 0;
    margin-bottom: 0.5rem;
}

.section-title::before {
    transform: scaleX(-1);
}

/* Removed underline - using section-divider below title instead */
.section-title {
    padding-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--light-purple);
    margin-bottom: 3rem;
}





/* =================================================================
   Header & Navigation
   ================================================================= */

header {
    background-color: var(--dark-blue);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background-color: rgba(13, 27, 42, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

header.scrolled .navbar {
    padding: 0.5rem 0;
}

header.scrolled .logo-full {
    height: 50px;
}

header.scrolled .logo-text {
    font-size: 1.4rem;
}

header.scrolled .logo-subtext {
    font-size: 0.6rem;
}

.navbar {
    padding: 0.5rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo:hover .logo-full {
    filter: drop-shadow(0 0 12px rgba(194, 155, 100, 0.6));
    transform: scale(1.05);
}

.logo-full {
    height: 60px;
    width: auto;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    font-family: 'Hanken Grotesk', sans-serif;
    line-height: 1;
}

.logo-subtext {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0.9;
    line-height: 1;
}

.logo-icon {
    width: 40px;
    height: auto;
    animation: logoFloat 3s ease-in-out infinite;
}

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

/* Skip to content link for accessibility */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--dark-red);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 8px 0;
    font-weight: 600;
}

.skip-to-content:focus {
    top: 0;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 1s linear infinite;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-links > li {
    position: relative;
}

/* Dropdown styling */
.has-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.has-dropdown > a::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.has-dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.3rem);
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 0.8rem 0 0.5rem 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1001;
}

/* Add invisible bridge to prevent hover break */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -0.3rem;
    left: 0;
    right: 0;
    height: 0.3rem;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--dark-blue) !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    border-left: 3px solid transparent;
    opacity: 1;
}

.dropdown-menu a:hover {
    background: var(--off-white);
    border-left-color: var(--purple);
    color: var(--purple) !important;
}


.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links > li > a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--light-purple);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):hover::after,
.nav-links a:not(.btn-primary).active::after {
    width: 100%;
}

.nav-links a:not(.btn-primary):hover,
.nav-links a:not(.btn-primary).active {
    color: var(--light-purple);
}

/* =================================================================
   Buttons
   ================================================================= */

.btn-primary,
.btn-cta,
.btn-cta-large,
.btn-secondary,
.btn-secondary-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary,
.btn-cta,
.btn-cta-large,
.calc-cta {
    background: linear-gradient(135deg, var(--dark-red), #873d3d);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(105, 13, 13, 0.4);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary::before,
.btn-cta::before,
.btn-cta-large::before,
.calc-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover,
.btn-cta:hover,
.btn-cta-large:hover,
.calc-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(105, 13, 13, 0.5);
    background: linear-gradient(135deg, #873d3d, var(--dark-red));
}

.btn-primary:hover::before,
.btn-cta:hover::before,
.btn-cta-large:hover::before,
.calc-cta:hover::before {
    left: 100%;
}

.btn-cta-large {
    padding: 1.3rem 3rem;
    font-size: 1.2rem;
}

.btn-secondary,
.btn-secondary-large {
    background-color: transparent;
    color: var(--purple);
    border: 2px solid var(--purple);
}

.btn-secondary:hover,
.btn-secondary-large:hover {
    background-color: var(--purple);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(86, 67, 154, 0.3);
}

.btn-secondary-large {
    padding: 1.3rem 3rem;
    font-size: 1.2rem;
}

/* =================================================================
   Hero Section - Enhanced
   ================================================================= */

.hero {
    background: linear-gradient(135deg, var(--dark-red) 0%, var(--purple) 40%, var(--light-purple) 100%, var(--gold) 200%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: var(--white);
    padding: 9rem 0 5rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero::after {
    content: none;
}

/* Particle Canvas */
.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

/* Floating Geometric Shapes + Logos */
.floating-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

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

/* Triangles */
.shape-1 {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 87px solid var(--gold);
    top: 10%;
    left: 5%;
    animation: float 20s infinite ease-in-out;
}

.shape-2 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid var(--white);
    top: 60%;
    right: 10%;
    animation: float 25s infinite ease-in-out 2s;
}

.shape-3 {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid var(--light-purple);
    bottom: 20%;
    left: 15%;
    animation: float 18s infinite ease-in-out 4s;
}

.shape-4 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(255,255,255,0.8);
    top: 30%;
    right: 25%;
    animation: float 22s infinite ease-in-out 1s;
}

.shape-5 {
    width: 0;
    height: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 61px solid var(--dark-red);
    bottom: 30%;
    right: 5%;
    animation: float 19s infinite ease-in-out 3s;
}

/* Floating Full Logos */
.shape-6,
.shape-8,
.shape-13,
.shape-14,
.shape-15,
.shape-20,
.shape-22,
.shape-24 {
    background: url('../img/logo-full.png') no-repeat center;
    background-size: contain;
}

.shape-6 {
    width: 130px;
    height: 85px;
    top: 8%;
    right: 18%;
    opacity: 0.08;
    animation: floatLogoReverse 22s infinite ease-in-out;
}

.shape-8 {
    width: 150px;
    height: 98px;
    top: 55%;
    left: 6%;
    opacity: 0.09;
    animation: floatLogo2 31s infinite ease-in-out;
}

.shape-13 {
    width: 140px;
    height: 92px;
    bottom: 35%;
    right: 35%;
    opacity: 0.07;
    animation: floatLogo 27s infinite ease-in-out;
}

.shape-14 {
    width: 120px;
    height: 78px;
    top: 25%;
    left: 45%;
    opacity: 0.06;
    animation: floatLogo3Reverse 19s infinite ease-in-out;
}

.shape-15 {
    width: 160px;
    height: 105px;
    bottom: 12%;
    left: 28%;
    opacity: 0.1;
    animation: floatLogo2Reverse 35s infinite ease-in-out;
}

.shape-20 {
    width: 135px;
    height: 88px;
    top: 72%;
    right: 25%;
    opacity: 0.08;
    animation: floatLogoReverse 24s infinite ease-in-out;
}

.shape-22 {
    width: 145px;
    height: 95px;
    top: 38%;
    right: 8%;
    opacity: 0.07;
    animation: floatLogo3 29s infinite ease-in-out;
}

.shape-24 {
    width: 155px;
    height: 101px;
    bottom: 48%;
    left: 65%;
    opacity: 0.09;
    animation: floatLogo2 26s infinite ease-in-out;
}

/* Floating Half Logos (Wing Icons) */
.shape-9,
.shape-10,
.shape-11,
.shape-12,
.shape-16,
.shape-17,
.shape-18 {
    background: url('../img/logo.png') no-repeat center;
    background-size: contain;
}

.shape-9 {
    width: 75px;
    height: 75px;
    top: 15%;
    left: 25%;
    opacity: 0.12;
    animation: floatLogo2Reverse 20s infinite ease-in-out;
}

.shape-10 {
    width: 85px;
    height: 85px;
    bottom: 25%;
    right: 12%;
    opacity: 0.14;
    animation: floatLogo3 25s infinite ease-in-out;
    transform: scaleX(-1);
}

.shape-11 {
    width: 70px;
    height: 70px;
    top: 48%;
    right: 52%;
    opacity: 0.1;
    animation: floatLogoReverse 33s infinite ease-in-out;
}

.shape-12 {
    width: 80px;
    height: 80px;
    bottom: 58%;
    left: 15%;
    opacity: 0.13;
    animation: floatLogo2 23s infinite ease-in-out;
    transform: scaleX(-1);
}

.shape-16 {
    width: 78px;
    height: 78px;
    top: 68%;
    left: 52%;
    opacity: 0.11;
    animation: floatLogo3Reverse 28s infinite ease-in-out;
}

.shape-17 {
    width: 88px;
    height: 88px;
    bottom: 8%;
    right: 45%;
    opacity: 0.13;
    animation: floatLogo 21s infinite ease-in-out;
    transform: scaleX(-1);
}

.shape-18 {
    width: 72px;
    height: 72px;
    top: 32%;
    right: 62%;
    opacity: 0.09;
    animation: floatLogo2Reverse 30s infinite ease-in-out;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-25px) rotate(15deg);
    }
    50% {
        transform: translateY(-40px) rotate(0deg);
    }
    75% {
        transform: translateY(-25px) rotate(-15deg);
    }
}

@keyframes floatLogoReverse {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(-10deg);
    }
    50% {
        transform: translateY(-50px) rotate(0deg);
    }
    75% {
        transform: translateY(-30px) rotate(10deg);
    }
}

@keyframes floatLogo2 {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) translateX(15px) rotate(8deg);
    }
    66% {
        transform: translateY(-45px) translateX(-10px) rotate(-5deg);
    }
}

@keyframes floatLogo2Reverse {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    33% {
        transform: translateY(-35px) translateX(20px) rotate(-10deg);
    }
    66% {
        transform: translateY(-50px) translateX(-15px) rotate(5deg);
    }
}

@keyframes floatLogo3 {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    20% {
        transform: translateY(-20px) translateX(-12px) rotate(5deg);
    }
    40% {
        transform: translateY(-40px) translateX(8px) rotate(-3deg);
    }
    60% {
        transform: translateY(-35px) translateX(18px) rotate(8deg);
    }
    80% {
        transform: translateY(-15px) translateX(-8px) rotate(-5deg);
    }
}

@keyframes floatLogo3Reverse {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    20% {
        transform: translateY(-25px) translateX(-15px) rotate(-6deg);
    }
    40% {
        transform: translateY(-45px) translateX(10px) rotate(4deg);
    }
    60% {
        transform: translateY(-35px) translateX(20px) rotate(-8deg);
    }
    80% {
        transform: translateY(-18px) translateX(-10px) rotate(5deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
    }
    50% {
        transform: translateY(-60px) rotate(180deg);
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
    }
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
    animation: patternPulse 10s ease-in-out infinite;
}

@keyframes patternPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 4rem;
    align-items: center;
    margin: 0 auto;
}

.hero-text {
    /* Left column */
}

.hero-stats-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 2.5rem;
    border-radius: 20px;
    transform: translateY(-30px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 3px 6px 12px rgba(0,0,0,0.3);
    letter-spacing: -1px;
    line-height: 1.1;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s ease-out forwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1.3rem, 3vw, 2rem);
    margin-bottom: 1rem;
    font-weight: 400;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.8s forwards;
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1s forwards;
}

.hero .btn-cta {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1.2s forwards;
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1.4s forwards;
}

.hero-stats-inline {
    display: flex;
    justify-content: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1.4s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.stat-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--gold);
}

/* =================================================================
   Pricing Calculator
   ================================================================= */

.pricing-calculator {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
}

.pricing-calculator::before {
    display: none;
}

.calculator-card {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto 2rem;
    border: 2px solid var(--off-white);
    transition: var(--transition-smooth);
}

.calculator-card:hover {
    box-shadow: 0 15px 60px rgba(86, 67, 154, 0.15);
    border-color: var(--purple);
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.input-group label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    color: var(--purple);
    font-size: 1.1rem;
}

.input-group label svg {
    width: 20px;
    height: 20px;
    stroke: var(--purple);
}

.calculator-select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--off-white);
    border-radius: 8px;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 1rem;
    background: var(--off-white);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.calculator-select:hover,
.calculator-select:focus {
    border-color: var(--purple);
    outline: none;
    background: var(--white);
}

.calculator-range {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right, var(--purple), var(--light-purple));
    outline: none;
    -webkit-appearance: none;
}

.calculator-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--dark-red);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: var(--transition-smooth);
}

.calculator-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(105, 13, 13, 0.4);
}

.calculator-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--dark-red);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.range-value {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--purple);
    color: var(--white);
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    min-width: 60px;
    text-align: center;
}

.calculator-results {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    padding: 2rem;
    border-radius: 12px;
    color: var(--white);
}

.result-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.breakdown-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

.breakdown-value {
    font-size: 1.3rem;
    font-weight: 700;
}

.result-total {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
}

.total-label {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0.8rem;
}

.total-amount {
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Hanken Grotesk', sans-serif;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: totalPulse 2s ease-in-out infinite;
}

@keyframes totalPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.total-note {
    font-size: 0.85rem;
    opacity: 0.85;
}

.calc-cta {
    width: 100%;
    justify-content: center;
    padding: 1.2rem;
    font-size: 1rem;
}

.calculator-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(86, 67, 154, 0.08);
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.calculator-note svg {
    width: 20px;
    height: 20px;
    stroke: var(--purple);
    flex-shrink: 0;
}

.calculator-note p {
    color: var(--purple);
    font-weight: 500;
    font-size: 0.95rem;
}

/* =================================================================
   Features Grid - Enhanced
   ================================================================= */

.why-elevra {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
    margin-top: 0;
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

.why-elevra::before {
    display: none;
}

/* Legacy features grid (kept for other pages) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--card-gap);
    max-width: var(--container-wide);
    margin: 0 auto;
}

@media (max-width: 1100px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* =================================================================
   Bento Grid Layout
   ================================================================= */

.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.25rem;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 2rem;
}

.bento-item {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--card-radius);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.bento-item.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.bento-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--purple);
}

/* Featured item - spans 2 columns and 2 rows */
.bento-featured {
    grid-column: span 2;
    grid-row: span 2;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--purple) 0%, var(--light-purple) 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-item.bento-featured h3 {
    color: var(--white) !important;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.bento-item.bento-featured > p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--white) !important;
    margin-bottom: 1.25rem;
}

.bento-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.bento-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--white) !important;
}

.bento-features li svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
    flex-shrink: 0;
}

.bento-item.bento-featured .bento-icon {
    background: var(--white) !important;
    border: none !important;
}

.bento-item.bento-featured .bento-icon svg {
    color: var(--purple) !important;
}

.bento-featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(86, 67, 154, 0.4);
}

.bento-accent {
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

/* Legacy large class - kept for compatibility */
.bento-large {
    grid-column: span 2;
}

/* Wide item - spans 2 columns */
.bento-wide {
    grid-column: span 2;
}

.bento-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: var(--transition-bounce);
}

.bento-item:hover .bento-icon {
    transform: scale(1.1);
}

.bento-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

.bento-icon.purple {
    background: rgba(86, 67, 154, 0.12);
    border: 1px solid rgba(86, 67, 154, 0.2);
}
.bento-icon.purple svg { color: var(--purple); }

.bento-icon.light-purple {
    background: rgba(133, 147, 209, 0.15);
    border: 1px solid rgba(133, 147, 209, 0.25);
}
.bento-icon.light-purple svg { color: var(--light-purple); }

.bento-icon.red {
    background: rgba(105, 13, 13, 0.1);
    border: 1px solid rgba(105, 13, 13, 0.2);
}
.bento-icon.red svg { color: var(--dark-red); }

.bento-icon.gold {
    background: rgba(194, 155, 100, 0.15);
    border: 1px solid rgba(194, 155, 100, 0.25);
}
.bento-icon.gold svg { color: var(--gold); }

.bento-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
}

.bento-item p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Bento responsive */
@media (max-width: 1100px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .bento-featured {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .bento-featured,
    .bento-large,
    .bento-wide {
        grid-column: span 1;
        grid-row: span 1;
    }
    .bento-item {
        padding: 1.5rem;
    }
    .bento-featured {
        padding: 2rem;
    }
    .bento-featured h3 {
        font-size: 1.4rem;
    }
    .bento-featured p {
        font-size: 1rem;
    }
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: var(--card-radius);
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-12px) rotate(var(--tilt-angle));
    border-color: var(--purple);
    box-shadow: 8px 8px 0 rgba(105, 13, 13, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) translateY(-4px);
    transition: transform 0.3s ease;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
}

.feature-icon.purple { background: linear-gradient(135deg, var(--purple), var(--light-purple)); color: var(--white); }
.feature-icon.light-purple { background: linear-gradient(135deg, var(--light-purple), #9da9da); color: var(--white); }
.feature-icon.red { background: linear-gradient(135deg, var(--dark-red), #873d3d); color: var(--white); }
.feature-icon.gold { background: linear-gradient(135deg, var(--gold), #ceaf83); color: var(--dark-blue); }

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--purple);
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--dark-blue);
    opacity: 0.85;
    line-height: 1.7;
}

/* =================================================================
   How It Works Timeline
   ================================================================= */

.how-it-works {
    padding: var(--section-padding) 0;
    background: var(--white);
    position: relative;
}

.timeline {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.timeline-item {
    flex: 1;
    max-width: 320px;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
}

.timeline-item.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 auto 1.75rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(86, 67, 154, 0.3);
}

.timeline-content {
    background: var(--white);
    padding: 2.25rem 1.75rem;
    border-radius: var(--card-radius);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-8px);
    border-color: var(--purple);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.timeline-item:hover .timeline-number {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(86, 67, 154, 0.4);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 12px rgba(86, 67, 154, 0.25);
}

.timeline-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.timeline-content h3 {
    color: var(--dark-blue);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.timeline-connector {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--purple), var(--light-purple));
    margin-top: 28px;
    flex-shrink: 0;
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-connector.aos-animate {
    opacity: 0.5;
    transform: scaleX(1);
}

/* Timeline responsive */
@media (max-width: 1000px) {
    .timeline {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .timeline-item {
        max-width: 400px;
        width: 100%;
    }

    .timeline-connector {
        width: 3px;
        height: 40px;
        margin: 0;
    }
}

@media (max-width: 600px) {
    .timeline-content {
        padding: 1.5rem 1rem;
    }
}

/* =================================================================
   Services Preview - Enhanced
   ================================================================= */

.services-preview {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
}

.services-preview::before {
    display: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--card-gap);
    margin-bottom: 3rem;
    max-width: var(--container-wide);
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: var(--card-radius);
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.sats-card::before { background: var(--light-purple); }
.ks3-card::before { background: var(--purple); }
.gcse-card::before { background: var(--dark-red); }
.alevel-card::before { background: var(--gold); }

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: var(--purple);
    box-shadow: 8px 8px 0 rgba(105, 13, 13, 0.1);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: -2rem auto 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
    border: 3px solid var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.sats-card .service-icon { background: linear-gradient(135deg, var(--light-purple), #9da9da); color: var(--white); }
.ks3-card .service-icon { background: linear-gradient(135deg, var(--purple), var(--light-purple)); color: var(--white); }
.gcse-card .service-icon { background: linear-gradient(135deg, var(--dark-red), #873d3d); color: var(--white); }
.alevel-card .service-icon { background: linear-gradient(135deg, var(--gold), #ceaf83); color: var(--dark-blue); }

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(-10deg);
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-blue);
}

.service-card ul {
    list-style: none;
    margin-bottom: auto;
    flex-grow: 1;
}

.service-card ul li {
    padding: 0.6rem 0;
    color: var(--dark-blue);
    opacity: 0.85;
}

.service-card .price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark-red);
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    font-family: 'Hanken Grotesk', sans-serif;
}

.service-card .online-price {
    display: block;
    font-size: 0.95rem;
    color: var(--light-purple);
    font-weight: 500;
}

.text-center {
    text-align: center;
    margin-top: 3rem;
}

/* =================================================================
   Testimonials Carousel
   ================================================================= */

.testimonials {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
}

.testimonials::before {
    display: none;
}

.testimonials-carousel {
    position: relative;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.testimonials-main {
    position: relative;
    padding: 0 60px;
}

.testimonials-sidebar {
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    padding: 3rem;
    border-radius: 20px;
    color: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(86, 67, 154, 0.3);
}

.testimonials-sidebar h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.testimonials-sidebar p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.testimonials-sidebar .btn-cta {
    background: var(--white);
    color: var(--purple);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    justify-content: center;
}

.testimonials-sidebar .btn-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.testimonials-wrapper {
    position: relative;
    min-height: 300px;
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--card-radius);
    border-left: 6px solid var(--gold);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    color: var(--off-white);
    line-height: 1;
}

.stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.stars svg {
    width: 20px;
    height: 20px;
    fill: var(--gold);
    stroke: var(--gold);
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.testimonial-author strong {
    color: var(--purple);
    font-size: 1.1rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--light-purple);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--purple);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--purple);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:hover svg {
    stroke: var(--white);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
    stroke: var(--purple);
    transition: var(--transition-smooth);
}

.carousel-btn:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 2px;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--off-white);
    border: 2px solid var(--purple);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background: var(--purple);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--light-purple);
}

.dot:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 2px;
}

/* =================================================================
   Stats Band - Full Width
   ================================================================= */

.stats-band {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--purple) 100%);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.stats-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.stats-band-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-block {
    text-align: center;
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
}

.stat-block.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    display: inline;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-suffix,
.stat-prefix {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.3), transparent);
}

@media (max-width: 900px) {
    .stats-band-inner {
        flex-wrap: wrap;
        gap: 2.5rem 3rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-block {
        flex: 1 1 40%;
        min-width: 140px;
    }
}

@media (max-width: 500px) {
    .stats-band {
        padding: 3rem 1.5rem;
    }

    .stat-block {
        flex: 1 1 100%;
    }

    .stats-band-inner {
        gap: 2rem;
    }
}

/* =================================================================
   About Snippet - Enhanced
   ================================================================= */

.about-snippet {
    padding: var(--section-padding) 0 0 0;
    background: var(--off-white);
    position: relative;
}

.about-snippet::before {
    display: none;
}

/* Credentials Bar - Horizontal Stat Bar Style */
.credentials-bar {
    background: linear-gradient(135deg, var(--purple) 0%, var(--dark-blue) 100%);
    padding: 3.5rem 2rem;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.credentials-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.credentials-bar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.credential-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.credential-block.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.credential-block-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.credential-block:hover .credential-block-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.credential-block-icon svg {
    width: 28px;
    height: 28px;
    color: var(--gold);
}

.credential-stat {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.credential-title {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.95;
    margin-top: 0.25rem;
}

.credential-subtitle {
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.75;
    margin-top: 0.5rem;
    max-width: 200px;
    line-height: 1.4;
}

.credential-divider {
    width: 1px;
    height: 80px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.3), transparent);
}

/* Credentials Bar - Responsive */
@media (max-width: 900px) {
    .credentials-bar-inner {
        flex-wrap: wrap;
        gap: 2.5rem 3rem;
    }

    .credential-divider {
        display: none;
    }

    .credential-block {
        flex: 1 1 40%;
        min-width: 200px;
    }
}

@media (max-width: 600px) {
    .credentials-bar {
        padding: 2.5rem 1.5rem;
    }

    .credentials-bar-inner {
        flex-direction: column;
        gap: 0;
    }

    .credential-block {
        flex: 1 1 100%;
        padding: 1.5rem 0;
        width: 100%;
    }

    .credential-block:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .credential-divider {
        display: none;
    }
}

/* Legacy credentials-grid styles (kept for about.html compatibility) */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--card-gap);
    margin-bottom: 3rem;
    max-width: var(--container-wide);
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1000px) {
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .credentials-grid {
        grid-template-columns: 1fr;
    }
}

.credential-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: var(--card-radius);
    text-align: center;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.credential-item.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.credential-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--dark-red), var(--gold));
}

.credential-item:hover {
    transform: translateY(-10px) rotate(-1deg);
    border-color: var(--purple);
    box-shadow: 8px 8px 0 rgba(105, 13, 13, 0.1);
}

.credential-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-bounce);
}

.credential-item:hover .credential-icon {
    transform: scale(1.1) translateY(-4px);
    transition: transform 0.3s ease;
}

.credential-icon svg {
    width: 32px;
    height: 32px;
}

.credential-item h3 {
    color: var(--purple);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.credential-item p {
    color: var(--dark-blue);
    opacity: 0.85;
    line-height: 1.7;
}

/* =================================================================
   Pricing Snippet
   ================================================================= */

.pricing-snippet {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
}

.pricing-snippet::before {
    display: none;
}

.pricing-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--card-gap);
    margin-bottom: 3rem;
    max-width: var(--container-wide);
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1000px) {
    .pricing-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pricing-highlights {
        grid-template-columns: 1fr;
    }
}

.pricing-highlight {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
}

.pricing-highlight.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.pricing-highlight:hover {
    transform: translateY(-8px);
    border-color: var(--purple);
    box-shadow: 8px 8px 0 rgba(105, 13, 13, 0.1);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.highlight-icon.red { background: linear-gradient(135deg, var(--dark-red), #873d3d); }
.highlight-icon.purple { background: linear-gradient(135deg, var(--purple), var(--light-purple)); }
.highlight-icon.gold { background: linear-gradient(135deg, var(--gold), #ceaf83); }

.pricing-highlight h3 {
    color: var(--purple);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.pricing-highlight p {
    color: var(--dark-blue);
    opacity: 0.85;
    font-size: 0.95rem;
}

/* =================================================================
   CTA Sections
   ================================================================= */

.final-cta {
    background: linear-gradient(135deg, var(--dark-red) 0%, var(--purple) 50%, var(--dark-blue) 100%, var(--light-purple) 200%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.final-cta > .container {
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.final-cta p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* =================================================================
   Footer
   ================================================================= */

footer {
    background: linear-gradient(180deg, var(--dark-blue) 0%, #0a1621 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-full {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.footer-section h4 {
    color: var(--light-purple);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-section ul li svg {
    width: 18px;
    height: 18px;
    stroke: var(--light-purple);
    flex-shrink: 0;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-section a:hover {
    color: var(--light-purple);
    transform: translateX(3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* =================================================================
   Scroll Animations
   ================================================================= */

/* Scroll animation elements - visible by default, hidden only when JS is ready */
[data-aos] {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* No-JS fallback: show all content if JavaScript disabled or fails */
.feature-card,
.service-card,
.credential-item,
.pricing-highlight,
.belief-item,
.credential-box,
.approach-list li,
.tag,
.reason-strip,
.option-strip,
.subject-section,
.support-badge,
.additional-card,
.offer-item,
.included-item,
.comparison-card,
.faq-item,
.contact-form-container,
.contact-info-container,
.step-card,
.faq-simple {
    opacity: 1;
    transform: none;
}

/* Only apply hidden state when JS has loaded (adds .js-ready to html) */
html.js-ready .feature-card:not(.aos-animate),
html.js-ready .service-card:not(.aos-animate),
html.js-ready .credential-item:not(.aos-animate),
html.js-ready .pricing-highlight:not(.aos-animate),
html.js-ready .belief-item:not(.aos-animate),
html.js-ready .credential-box:not(.aos-animate),
html.js-ready .approach-list li:not(.aos-animate),
html.js-ready .tag:not(.aos-animate),
html.js-ready .reason-strip:not(.aos-animate),
html.js-ready .option-strip:not(.aos-animate),
html.js-ready .subject-section:not(.aos-animate),
html.js-ready .support-badge:not(.aos-animate),
html.js-ready .additional-card:not(.aos-animate),
html.js-ready .offer-item:not(.aos-animate),
html.js-ready .included-item:not(.aos-animate),
html.js-ready .comparison-card:not(.aos-animate),
html.js-ready .faq-item:not(.aos-animate),
html.js-ready .contact-form-container:not(.aos-animate),
html.js-ready .contact-info-container:not(.aos-animate),
html.js-ready .step-card:not(.aos-animate),
html.js-ready .faq-simple:not(.aos-animate) {
    opacity: 0;
    transform: translateY(30px);
}

/* =================================================================
   Responsive Design
   ================================================================= */

@media (max-width: 1024px) {
    :root {
        --section-padding: 4rem;
    }
    
    .calculator-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(13, 27, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 0.5rem;
        transition: left 0.3s ease;
        gap: 0;
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 0;
    }

    /* Main nav items */
    .nav-links > li > a {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1.1rem 1.5rem;
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--white);
        letter-spacing: 0.02em;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    /* Hide desktop underline animation on mobile */
    .nav-links a:not(.btn-primary)::after {
        display: none;
    }

    /* Chevron indicator for dropdown parents */
    .has-dropdown > a::after {
        display: inline-block !important;
        content: '›' !important;
        font-size: 1.2rem !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        margin-left: 0.5rem;
        opacity: 0.5;
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform: rotate(90deg);
    }

    .has-dropdown.mobile-open > a::after {
        transform: rotate(270deg);
        opacity: 1;
    }

    /* Active parent highlight */
    .has-dropdown.mobile-open > a {
        color: var(--light-purple);
        background: rgba(86, 67, 154, 0.12);
    }

    /* Mobile dropdown panel */
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: none;
        background: rgba(86, 67, 154, 0.18);
        border-radius: 0;
        border-left: 3px solid var(--purple);
        padding: 0;
    }

    .has-dropdown.mobile-open .dropdown-menu {
        max-height: 400px;
    }

    /* Dropdown links — readable white text with clear hierarchy */
    .dropdown-menu a {
        padding: 0.85rem 1.5rem 0.85rem 2rem;
        font-size: 0.92rem;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.85) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        border-left: 3px solid transparent;
        text-align: left;
        transition: all 0.2s ease;
    }

    .dropdown-menu a:last-child {
        border-bottom: none;
    }

    .dropdown-menu a:hover,
    .dropdown-menu a:active {
        color: var(--white) !important;
        background: rgba(133, 147, 209, 0.15);
        border-left-color: var(--light-purple);
    }

    /* CTA button in mobile menu */
    .nav-links > li:last-child {
        padding: 1rem 1.25rem;
        margin-top: 0.5rem;
        border-bottom: none;
        box-sizing: border-box;
    }

    .nav-links > li:last-child > a.btn-primary {
        display: flex;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        justify-content: center;
        border-bottom: none;
    }

    .hero {
        padding: 7rem 0 4rem;
        min-height: auto;
    }

    .page-header {
        padding: 7rem 0 4rem;
    }
    
    .hero::after {
        width: 300px;
        height: 200px;
        right: -15%;
        opacity: 0.1;
    }

    /* Mobile hero layout */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-stats-card {
        transform: translateY(0);
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    /* Mobile features grid */
    .features-grid {
        padding: 0 1.5rem;
        gap: 2rem;
    }

    /* Mobile testimonials */
    .testimonials-carousel {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonials-main {
        padding: 0 3rem;
    }

    .testimonials-sidebar {
        order: -1;
    }

    /* Mobile credentials */
    .credentials-grid {
        padding-left: 1.5rem;
        margin-left: auto;
    }

    /* Mobile pricing highlights */
    .pricing-highlights .pricing-highlight:nth-child(1),
    .pricing-highlights .pricing-highlight:nth-child(2),
    .pricing-highlights .pricing-highlight:nth-child(3) {
        transform: none;
    }

    .calculator-card {
        padding: 2rem;
    }
    
    .carousel-btn {
        width: 44px;
        height: 44px;
    }

    .dot {
        width: 14px;
        height: 14px;
    }

    .final-cta::before {
        width: 250px;
        height: 150px;
        opacity: 0.08;
    }

    /* Hide decorative logo wings on mobile — they wrap vertically and look broken */
    .section-title::before,
    .section-title::after {
        display: none;
    }
}

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

    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .calculator-card {
        padding: 1.5rem;
    }
    
    .total-amount {
        font-size: 3rem;
    }

}

/* =================================================================
   About Page Additional Styles
   ================================================================= */

.our-purpose {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.beliefs-section { max-width: 1000px; margin: 0 auto; }
.beliefs-list { display: flex; flex-direction: column; gap: 2rem; }

.belief-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem 2.5rem;
    background: var(--white);
    border-radius: var(--card-radius);
    border: 1px solid rgba(86, 67, 154, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
}

.belief-item.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.belief-item:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(86, 67, 154, 0.15); }

.belief-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); flex-shrink: 0;
}

.belief-icon svg { width: 28px; height: 28px; }
.belief-item h4 { color: var(--purple); margin-bottom: 0.8rem; font-size: 1.3rem; }
.belief-item p { color: var(--dark-blue); line-height: 1.7; }

.belief-item:nth-child(1) { border-left: 4px solid var(--purple); }
.belief-item:nth-child(2) { border-left: 4px solid var(--gold); }
.belief-item:nth-child(3) { border-left: 4px solid var(--light-purple); }

.belief-item:nth-child(2) .belief-icon { background: linear-gradient(135deg, var(--gold), #ceaf83); color: var(--dark-blue); }
.belief-item:nth-child(3) .belief-icon { background: linear-gradient(135deg, var(--light-purple), #9da9da); }

.meet-tutor {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
    overflow: visible;
}

.meet-tutor::before {
    display: none;
}

/* Tutor Introduction Section */
.tutor-intro {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tutor-photo-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    gap: 0.5rem;
    flex-shrink: 0;
}

.tutor-photo-placeholder svg {
    width: 60px;
    height: 60px;
    opacity: 0.8;
}

.tutor-photo-placeholder span {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 500;
}

/* When photo is added, use this class instead */
.tutor-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--purple);
    box-shadow: 0 8px 24px rgba(86, 67, 154, 0.3);
    flex-shrink: 0;
}

.tutor-intro-text h3 {
    color: var(--purple);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.tutor-intro-text p {
    color: var(--dark-blue);
    line-height: 1.8;
    font-size: 1.1rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .tutor-intro {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .tutor-photo-placeholder,
    .tutor-photo {
        margin: 0 auto;
    }
}

.credentials-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--card-gap);
    margin-bottom: 4rem;
    max-width: var(--container-wide);
    margin-left: auto;
    margin-right: auto;
}

.credential-box {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 16px; text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--purple);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
}

.credential-box.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.credential-box:hover { transform: translateY(-8px); border-color: var(--purple); box-shadow: 8px 8px 0 rgba(105, 13, 13, 0.1); }
.credential-number { font-size: 4rem; font-weight: 700; color: var(--gold); margin: 0.5rem 0; }

.credential-icon-large {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    color: var(--white); margin: 0 auto 1rem;
    transition: var(--transition-bounce);
}

.credential-box:hover .credential-icon-large {
    transform: scale(1.08) translateY(-4px);
    transition: transform 0.3s ease;
}

.credential-icon-large svg { width: 36px; height: 36px; }
.credential-box h3 { color: var(--purple); margin-bottom: 1rem; font-size: 1.5rem; }

.tutor-approach, .expertise-areas {
    max-width: 900px; margin: 3rem auto;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.approach-list {
    list-style: none; margin-top: 2rem;
    display: flex; flex-direction: column; gap: 1.5rem;
}

.approach-list li {
    display: flex; gap: 1.5rem; align-items: flex-start;
    padding: 1.5rem; background: var(--off-white);
    border-left: 4px solid var(--purple); border-radius: 8px;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateX(-20px);
}

.approach-list li.aos-animate {
    opacity: 1;
    transform: translateX(0);
}

.approach-list li:nth-child(1) { transition-delay: 0s; }
.approach-list li:nth-child(2) { transition-delay: 0.1s; }
.approach-list li:nth-child(3) { transition-delay: 0.2s; }
.approach-list li:nth-child(4) { transition-delay: 0.3s; }

.approach-list li:hover { transform: translateX(5px); box-shadow: 0 4px 15px rgba(86, 67, 154, 0.1); }
.approach-list li svg { width: 24px; height: 24px; stroke: var(--purple); flex-shrink: 0; margin-top: 0.2rem; }
.approach-list li strong { display: block; color: var(--purple); margin-bottom: 0.5rem; font-size: 1.1rem; }

.expertise-tags { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; justify-content: center; }

.tag {
    display: flex; align-items: center; gap: 0.5rem;
    background: rgba(86, 67, 154, 0.12);
    color: var(--purple);
    border: 1px solid rgba(86, 67, 154, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 25px; font-size: 0.95rem; font-weight: 500;
    opacity: 0;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.tag.aos-animate {
    opacity: 1;
    transform: scale(1);
}

.tag svg { width: 18px; height: 18px; stroke: var(--purple); }

/* =================================================================
   Tutor Split Layout - Magazine Style
   ================================================================= */

.tutor-split-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.tutor-split-layout.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Left side - Visual area */
.tutor-visual-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.tutor-visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tutor-photo-frame {
    position: relative;
    z-index: 2;
    width: 240px;
    height: 240px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(86, 67, 154, 0.25);
    transform: rotate(-3deg);
    transition: var(--transition-smooth);
}

.tutor-split-layout:hover .tutor-photo-frame {
    transform: rotate(0deg) scale(1.02);
}

.tutor-photo-placeholder-new {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--purple) 0%, var(--light-purple) 50%, var(--gold) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    gap: 0.75rem;
}

.tutor-photo-placeholder-new svg {
    width: 70px;
    height: 70px;
    opacity: 0.9;
}

.tutor-photo-placeholder-new span {
    font-size: 0.9rem;
    opacity: 0.85;
    font-weight: 500;
}

.tutor-photo-new {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Decorative elements */
.tutor-visual-decor {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.tutor-visual-decor.decor-1 {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(86, 67, 154, 0.15), rgba(133, 147, 209, 0.1));
    top: 0;
    left: 0;
    z-index: 0;
    animation: floatDecor1 6s ease-in-out infinite;
}

.tutor-visual-decor.decor-2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold), rgba(194, 155, 100, 0.6));
    top: -10px;
    right: 10px;
    z-index: 3;
    animation: floatDecor2 4s ease-in-out infinite;
}

.tutor-visual-decor.decor-3 {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--dark-red), rgba(105, 13, 13, 0.6));
    bottom: 20px;
    left: 0;
    z-index: 3;
    animation: floatDecor3 5s ease-in-out infinite;
}

@keyframes floatDecor1 {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(3deg); }
}

@keyframes floatDecor2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-5px, 10px); }
}

@keyframes floatDecor3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(8px, -8px); }
}

/* Quick stats below photo */
.tutor-quick-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.quick-stat {
    text-align: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    border-radius: 12px;
    color: var(--white);
    min-width: 100px;
    box-shadow: 0 4px 15px rgba(86, 67, 154, 0.3);
    transition: var(--transition-smooth);
}

.quick-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(86, 67, 154, 0.4);
}

.quick-stat .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
}

.quick-stat .stat-label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Right side - Bio content */
.tutor-bio-side {
    padding: 1rem 0;
}

.tutor-bio-content {
    max-width: 500px;
}

.tutor-greeting {
    display: inline-block;
    font-size: 1rem;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.tutor-name {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--purple);
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

.tutor-tagline {
    font-size: 1.1rem;
    color: var(--light-purple);
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.tutor-bio-text {
    margin-bottom: 2rem;
}

.tutor-bio-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-blue);
    opacity: 0.9;
}

/* Highlight items */
.tutor-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(86, 67, 154, 0.08);
    border-radius: 10px;
    border-left: 3px solid var(--purple);
    transition: var(--transition-smooth);
}

.highlight-item:hover {
    background: rgba(86, 67, 154, 0.12);
    transform: translateX(5px);
}

.highlight-item svg {
    width: 22px;
    height: 22px;
    stroke: var(--purple);
    flex-shrink: 0;
}

.highlight-item span {
    font-size: 0.95rem;
    color: var(--dark-blue);
    font-weight: 500;
}

/* CTA button */
.tutor-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(86, 67, 154, 0.3);
    transition: var(--transition-smooth);
}

.tutor-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(86, 67, 154, 0.4);
}

.tutor-cta-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.tutor-cta-btn:hover svg {
    transform: translateX(5px);
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .tutor-split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2.5rem;
        max-width: 600px;
    }

    .tutor-visual-side {
        order: 1;
    }

    .tutor-bio-side {
        order: 2;
        text-align: center;
    }

    .tutor-bio-content {
        max-width: 100%;
    }

    .tutor-highlights {
        align-items: center;
    }

    .highlight-item {
        width: 100%;
        max-width: 400px;
    }

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

/* Responsive - Mobile */
@media (max-width: 600px) {
    .tutor-split-layout {
        padding: 1.5rem;
        gap: 2rem;
        border-radius: 16px;
    }

    .tutor-visual-wrapper {
        max-width: 260px;
    }

    .tutor-photo-frame {
        width: 200px;
        height: 200px;
    }

    .tutor-quick-stats {
        flex-direction: row;
        gap: 1rem;
    }

    .quick-stat {
        padding: 0.75rem 1rem;
        min-width: 90px;
    }

    .quick-stat .stat-number {
        font-size: 1.5rem;
    }

    .quick-stat .stat-label {
        font-size: 0.65rem;
    }

    .tutor-name {
        font-size: 2rem;
    }

    .tutor-tagline {
        font-size: 1rem;
    }

    .highlight-item {
        padding: 0.6rem 0.8rem;
    }

    .highlight-item span {
        font-size: 0.85rem;
    }

    .tutor-visual-decor.decor-2 {
        width: 45px;
        height: 45px;
    }

    .tutor-visual-decor.decor-3 {
        width: 30px;
        height: 30px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .tutor-visual-decor {
        animation: none;
    }

    .tutor-split-layout {
        transition: none;
    }

    .tutor-photo-frame {
        transition: none;
    }
}

.why-choose {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
    overflow: visible;
}

.why-choose::before {
    display: none;
}

/* Reason Strips - Horizontal Alternating Layout */
.reason-strips {
    display: flex;
    flex-direction: column;
    max-width: var(--container-width);
    margin: 0 auto;
}

.reason-strip {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.5rem;
    background: var(--white);
    border-radius: var(--card-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(86, 67, 154, 0.1);
    margin-bottom: 1.25rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: var(--transition-smooth);
}

.reason-strip.aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/* Last strip has no bottom margin */
.reason-strip:last-child {
    margin-bottom: 0;
}

.reason-strip:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(86, 67, 154, 0.15);
    border-color: rgba(86, 67, 154, 0.2);
}

/* Even strips: icon on right, text on left (zigzag) */
.reason-strip:nth-child(even) {
    flex-direction: row-reverse;
}

.reason-strip:nth-child(even) {
    transform: translateX(30px);
}

.reason-strip:nth-child(even).aos-animate {
    transform: translateX(0);
}

/* Left border accent for odd items (icon on left) */
.reason-strip:nth-child(1) { border-left: 4px solid var(--purple); }
.reason-strip:nth-child(3) { border-left: 4px solid var(--dark-red); }
.reason-strip:nth-child(5) { border-left: 4px solid var(--purple); }

/* Right border accent for even items (icon on right due to row-reverse) */
.reason-strip:nth-child(2) { border-right: 4px solid var(--light-purple); }
.reason-strip:nth-child(4) { border-right: 4px solid var(--gold); }
.reason-strip:nth-child(6) { border-right: 4px solid var(--light-purple); }

.reason-strip-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-bounce);
}

/* Icon background colors */
.reason-strip:nth-child(1) .reason-strip-icon { background: linear-gradient(135deg, var(--purple), var(--light-purple)); }
.reason-strip:nth-child(2) .reason-strip-icon { background: linear-gradient(135deg, var(--light-purple), #9da9da); }
.reason-strip:nth-child(3) .reason-strip-icon { background: linear-gradient(135deg, var(--dark-red), #873d3d); }
.reason-strip:nth-child(4) .reason-strip-icon { background: linear-gradient(135deg, var(--gold), #ceaf83); color: var(--dark-blue); }
.reason-strip:nth-child(5) .reason-strip-icon { background: linear-gradient(135deg, var(--purple), var(--light-purple)); }
.reason-strip:nth-child(6) .reason-strip-icon { background: linear-gradient(135deg, var(--light-purple), #9da9da); }

.reason-strip-icon svg {
    width: 30px;
    height: 30px;
}

.reason-strip:hover .reason-strip-icon {
    transform: scale(1.08);
}

.reason-strip-content {
    flex: 1;
}

.reason-strip-content h3 {
    color: var(--purple);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.reason-strip-content p {
    color: var(--dark-blue);
    line-height: 1.6;
    margin: 0;
}

/* Responsive: stack vertically on mobile */
@media (max-width: 768px) {
    .reason-strip {
        flex-direction: column !important;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        border-left: none !important;
        border-right: none !important;
        border-top: 4px solid transparent;
    }

    /* Top border accent on mobile */
    .reason-strip:nth-child(1) { border-top-color: var(--purple); }
    .reason-strip:nth-child(2) { border-top-color: var(--light-purple); }
    .reason-strip:nth-child(3) { border-top-color: var(--dark-red); }
    .reason-strip:nth-child(4) { border-top-color: var(--gold); }
    .reason-strip:nth-child(5) { border-top-color: var(--purple); }
    .reason-strip:nth-child(6) { border-top-color: var(--light-purple); }

    .reason-strip,
    .reason-strip:nth-child(even) {
        transform: translateY(30px);
    }

    .reason-strip.aos-animate,
    .reason-strip:nth-child(even).aos-animate {
        transform: translateY(0);
    }
}

/* =================================================================
   Services Page Styles
   ================================================================= */

.teaching-options {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
}

.teaching-options::before {
    display: none;
}

/* Options List - Horizontal Strips Layout */
.options-list {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
}

.option-strip {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: var(--white);
    border-radius: var(--card-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(86, 67, 154, 0.1);
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.option-strip:last-child {
    margin-bottom: 0;
}

.option-strip:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(86, 67, 154, 0.12);
    border-color: rgba(86, 67, 154, 0.2);
}

.option-strip-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}

.option-strip:hover .option-strip-icon {
    transform: scale(1.1);
}

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

.option-strip-icon.purple {
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    color: var(--white);
}

.option-strip-icon.light-purple {
    background: linear-gradient(135deg, var(--light-purple), #9da9da);
    color: var(--white);
}

.option-strip-icon.gold {
    background: linear-gradient(135deg, var(--gold), #ceaf83);
    color: var(--dark-blue);
}

.option-strip-icon.red {
    background: linear-gradient(135deg, var(--dark-red), #873d3d);
    color: var(--white);
}

.option-strip-content {
    flex: 1;
}

.option-strip-content h3 {
    color: var(--purple);
    margin-bottom: 0.35rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.option-strip-content p {
    color: var(--dark-blue);
    opacity: 0.8;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Mobile responsiveness for options list */
@media (max-width: 600px) {
    .options-list {
        padding: 0 0.5rem;
    }

    .option-strip {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }

    .option-strip-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

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

    .option-strip-content h3 {
        font-size: 1.1rem;
    }

    .option-strip-content p {
        font-size: 0.9rem;
    }
}

.subjects-detail {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
}

.subjects-detail::before {
    display: none;
}

.subject-section {
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
}

.subject-section.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.subject-section:hover { border-color: var(--purple); box-shadow: 8px 8px 0 rgba(105, 13, 13, 0.1); }

.subject-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.subject-header::before {
    content: 'π';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 10rem;
    opacity: 0.15;
    font-family: 'Space Grotesk', serif;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subject-header h3 { color: var(--white); font-size: 2rem; margin-bottom: 0.5rem; }
.years { font-size: 0.9rem; opacity: 0.9; }

.price-block { text-align: right; }
.price-tag {
    display: block;
    background: var(--white);
    color: var(--dark-red);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 900;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-family: 'Hanken Grotesk', sans-serif;
    border: 3px solid var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.online-tag {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}

.sats-section .subject-header { background: linear-gradient(135deg, var(--light-purple), #9da9da); }
.ks3-section .subject-header { background: linear-gradient(135deg, var(--purple), var(--light-purple)); }
.gcse-section .subject-header { background: linear-gradient(135deg, var(--dark-red), #873d3d); }
.alevel-section .subject-header { background: linear-gradient(135deg, var(--gold), #ceaf83); }
.alevel-section .subject-header h3,
.alevel-section .years { color: var(--dark-blue); }

.subject-content { padding: 2.5rem 2rem; }

.subject-topics {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.topic-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--off-white);
    border-radius: 12px;
}

.topic-item svg { width: 28px; height: 28px; stroke: var(--purple); flex-shrink: 0; margin-top: 0.2rem; }
.topic-item h4 { color: var(--purple); margin-bottom: 0.5rem; font-size: 1.3rem; }
.topic-item p { color: var(--dark-blue); opacity: 0.85; line-height: 1.7; }

.subject-note {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(86, 67, 154, 0.08);
    border-left: 4px solid var(--purple);
    border-radius: 8px;
}

.subject-note svg { width: 24px; height: 24px; stroke: var(--purple); flex-shrink: 0; margin-top: 0.2rem; }
.subject-note p { color: var(--dark-blue); opacity: 0.85; line-height: 1.7; }

/* =================================================================
   Services Tabs
   ================================================================= */

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    min-width: 120px;
}

.tab-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--purple);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.tab-btn:hover::before {
    opacity: 0.08;
}

.tab-btn.active::before {
    opacity: 1;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 3px;
    background: var(--gold);
    border-radius: 3px 3px 0 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn.active::after {
    transform: translateX(-50%) scaleX(1);
}

.tab-label {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark-blue);
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.tab-btn.active .tab-label {
    color: var(--white);
}

.tab-ages {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--light-purple);
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.tab-btn.active .tab-ages {
    color: rgba(255, 255, 255, 0.8);
}

.tab-btn:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 2px;
}

/* Tab color variants for active state */
.tab-btn[data-tab="sats"].active::before {
    background: linear-gradient(135deg, var(--light-purple), #9da9da);
}

.tab-btn[data-tab="ks3"].active::before {
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
}

.tab-btn[data-tab="gcse"].active::before {
    background: linear-gradient(135deg, var(--dark-red), #873d3d);
}

.tab-btn[data-tab="alevel"].active::before {
    background: linear-gradient(135deg, var(--gold), #ceaf83);
}

.tab-btn[data-tab="alevel"].active .tab-label,
.tab-btn[data-tab="alevel"].active .tab-ages {
    color: var(--dark-blue);
}

/* Tab Panels */
.tab-panels {
    position: relative;
}

.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Remove margin-bottom on subject-section within tabs since panel handles spacing */
.tab-panel .subject-section {
    margin-bottom: 0;
    opacity: 1;
    transform: none;
}

/* Mobile responsive tabs */
@media (max-width: 768px) {
    .services-tabs {
        gap: 0.35rem;
        padding: 0.35rem;
    }

    .tab-btn {
        padding: 0.75rem 1rem;
        min-width: auto;
        flex: 1;
    }

    .tab-label {
        font-size: 0.9rem;
    }

    .tab-ages {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .services-tabs {
        flex-direction: column;
        gap: 0.25rem;
    }

    .tab-btn {
        flex-direction: row;
        justify-content: center;
        gap: 0.75rem;
        padding: 0.875rem 1.25rem;
    }

    .tab-btn::after {
        left: 0;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%) scaleY(0);
        width: 3px;
        height: 60%;
        border-radius: 0 3px 3px 0;
    }

    .tab-btn.active::after {
        transform: translateY(-50%) scaleY(1);
    }

    .tab-label {
        font-size: 1rem;
    }

    .tab-ages {
        font-size: 0.75rem;
    }
}

.additional-services {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
}

.additional-services::before {
    display: none;
}

/* Additional Support Cards */
.additional-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--card-gap);
    max-width: var(--container-width);
    margin: 0 auto;
}

.additional-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--card-radius);
    text-align: center;
    border: 1px solid rgba(86, 67, 154, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
}

.additional-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--purple), var(--light-purple));
}

.additional-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.additional-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(86, 67, 154, 0.15);
    border-color: var(--purple);
}

.additional-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}

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

.additional-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.additional-card h3 {
    color: var(--dark-blue);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.additional-card p {
    color: var(--light-purple);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .additional-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .additional-grid {
        grid-template-columns: 1fr;
    }

    .additional-card {
        padding: 1.75rem;
    }
}

/* Support Badges - Compact inline badge/chip layout */
.support-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.support-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 2px solid rgba(86, 67, 154, 0.15);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: var(--transition-smooth);
    cursor: default;
}

.support-badge:hover {
    transform: translateY(-4px);
    border-color: var(--purple);
    background: var(--white);
    box-shadow: 0 8px 24px rgba(86, 67, 154, 0.15);
}

.support-badge svg {
    width: 22px;
    height: 22px;
    color: var(--purple);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.support-badge:hover svg {
    color: var(--light-purple);
    transform: scale(1.1);
}

.support-badge span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-blue);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .support-badges {
        gap: 0.75rem;
    }

    .support-badge {
        padding: 0.75rem 1.25rem;
    }

    .support-badge svg {
        width: 20px;
        height: 20px;
    }

    .support-badge span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .support-badge {
        padding: 0.625rem 1rem;
        gap: 0.5rem;
    }

    .support-badge svg {
        width: 18px;
        height: 18px;
    }

    .support-badge span {
        font-size: 0.85rem;
    }
}

.resource-subscription {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
}

.resource-subscription::before {
    display: none;
}

.subscription-card {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.subscription-header {
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.subscription-icon {
    width: 80px; height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
}

.subscription-icon svg { width: 36px; height: 36px; }
.subscription-header h2 { color: var(--white); margin-bottom: 1rem; font-size: clamp(1rem, 3.5vw, 2rem); letter-spacing: -0.5px; word-spacing: -2px; }

@media (max-width: 768px) {
    .subscription-header h2 {
        font-size: clamp(0.9rem, 5vw, 1.5rem);
        line-height: 1.3;
    }
}

.subscription-price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
}

.subscription-price span { font-size: 1.5rem; font-weight: 400; }

.subscription-body { padding: 2.5rem; }
.subscription-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-blue);
    margin-bottom: 2rem;
    text-align: center;
}

.subscription-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature-check {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--off-white);
    border-radius: 8px;
}

.feature-check svg { width: 20px; height: 20px; stroke: var(--purple); flex-shrink: 0; }
.feature-check span { color: var(--dark-blue); opacity: 0.85; }

.subscription-body .btn-secondary { display: block; text-align: center; margin: 0 auto; }

/* =================================================================
   Pricing Page Styles
   ================================================================= */

.page-header {
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    color: var(--white);
    padding: 8rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.page-header > .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.95;
}

.offers-banner {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
}

.offers-banner::before {
    display: none;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--card-gap);
    max-width: var(--container-wide);
    margin: 0 auto;
}

@media (max-width: 1000px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }
}

.offer-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
}

.offer-item.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.offer-item:hover { transform: translateY(-5px); border-color: var(--purple); box-shadow: 8px 8px 0 rgba(105, 13, 13, 0.1); }

.offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 900;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid rgba(255,255,255,0.3);
}

.offer-badge svg { width: 20px; height: 20px; }
.offer-badge.red { background: linear-gradient(135deg, var(--dark-red), #873d3d); color: var(--white); }
.offer-badge.purple { background: linear-gradient(135deg, var(--purple), var(--light-purple)); color: var(--white); }
.offer-badge.gold { background: linear-gradient(135deg, var(--gold), #ceaf83); color: var(--dark-blue); }
.offer-item h3 { color: var(--purple); margin-bottom: 0.8rem; font-size: 1.5rem; }
.offer-item p { color: var(--dark-blue); opacity: 0.85; }

.pricing-main {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
}

.pricing-main::before {
    display: none;
}

.pricing-table-wrapper {
    overflow-x: auto;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 3rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table thead tr { 
    background: linear-gradient(135deg, var(--dark-red), var(--purple)); 
    color: var(--white); 
}
.pricing-table th { padding: 1.5rem; text-align: left; font-weight: 600; font-size: 1.1rem; }
.pricing-table tbody tr { border-bottom: 1px solid var(--off-white); transition: var(--transition-smooth); }
.pricing-table tbody tr:hover { background: rgba(86, 67, 154, 0.05); }
.pricing-table td { padding: 1.5rem; }
.pricing-table td strong { color: var(--purple); font-size: 1.2rem; display: block; margin-bottom: 0.3rem; }

.years-tag {
    font-size: 0.85rem;
    color: var(--light-purple);
    font-weight: 400;
}

.price-cell {
    font-size: 2rem;
    font-weight: 900;
    color: var(--dark-red);
    font-family: 'Hanken Grotesk', sans-serif;
}

.price-cell.online { color: var(--light-purple); }

.sats-row { background: rgba(133, 147, 209, 0.05); }
.ks3-row { background: rgba(86, 67, 154, 0.05); }
.gcse-row { background: rgba(105, 13, 13, 0.05); }
.alevel-row { background: rgba(194, 155, 100, 0.05); }

.pricing-notes {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    padding: 0.25rem;
    box-shadow: 0 2px 15px rgba(86, 67, 154, 0.08);
    border: 1px solid rgba(86, 67, 154, 0.08);
}

.note-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.5rem;
    background: transparent;
    border-radius: 10px;
    transition: background 0.2s ease;
    position: relative;
}

.note-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50%;
    background: rgba(86, 67, 154, 0.15);
}

.note-item:hover {
    background: rgba(86, 67, 154, 0.04);
}

.note-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Different colored icons for each note */
.note-item:nth-child(1) svg { stroke: var(--purple); }
.note-item:nth-child(2) svg { stroke: var(--gold); }
.note-item:nth-child(3) svg { stroke: var(--dark-red); }

.note-item span {
    color: var(--dark-blue);
    font-weight: 500;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .pricing-notes {
        flex-direction: column;
        gap: 0;
    }

    .note-item:not(:last-child)::after {
        display: none;
    }

    .note-item {
        width: 100%;
        justify-content: center;
    }

    .note-item:not(:last-child) {
        border-bottom: 1px solid rgba(86, 67, 154, 0.08);
        border-radius: 0;
    }

    .note-item:first-child {
        border-radius: 10px 10px 0 0;
    }

    .note-item:last-child {
        border-radius: 0 0 10px 10px;
    }
}

.whats-included {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
}

.whats-included::before {
    display: none;
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--card-gap);
    max-width: var(--container-wide);
    margin: 0 auto;
}

@media (max-width: 1100px) {
    .included-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .included-grid {
        grid-template-columns: 1fr;
    }
}

.included-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.included-item.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.included-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--dark-red), var(--gold));
}

.included-item:hover { transform: translateY(-8px); border-color: var(--purple); box-shadow: 8px 8px 0 rgba(105, 13, 13, 0.1); }

.included-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    margin: 0 auto 1.5rem;
    transition: var(--transition-bounce);
}

.included-item:hover .included-icon {
    transform: scale(1.08) translateY(-4px);
    transition: transform 0.3s ease;
}
.included-icon svg { width: 28px; height: 28px; }
.included-item h3 { color: var(--purple); margin-bottom: 1rem; font-size: 1.3rem; }
.included-item p { color: var(--dark-blue); opacity: 0.85; line-height: 1.7; }

.subscription-pricing {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
}

.subscription-pricing::before {
    display: none;
}

.subscription-box {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.subscription-header h3 { color: var(--white); font-size: 1.8rem; margin-bottom: 1rem; }

.subscription-price-large {
    margin: 1.5rem 0;
}

.price-amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold);
}

.price-period { font-size: 1.5rem; font-weight: 400; opacity: 0.9; }

.subscription-details { padding: 3rem 2rem; }
.subscription-features-list h4 { color: var(--purple); margin-bottom: 1.5rem; text-align: center; }

.feature-checks {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.subscription-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(86, 67, 154, 0.08);
    border-left: 4px solid var(--purple);
    border-radius: 8px;
    margin: 2rem 0;
}

.subscription-note svg { width: 20px; height: 20px; stroke: var(--purple); flex-shrink: 0; margin-top: 0.2rem; }

.pricing-comparison {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
}

.pricing-comparison::before {
    display: none;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--card-gap);
    max-width: var(--container-wide);
    margin: 0 auto;
}

@media (max-width: 1100px) {
    .comparison-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

.comparison-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.comparison-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.comparison-card:hover { transform: translateY(-8px); border-color: var(--purple); box-shadow: 8px 8px 0 rgba(105, 13, 13, 0.1); }

.comparison-card.featured {
    border-color: var(--dark-red);
    box-shadow: 0 0 0 2px var(--dark-red);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.comparison-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    margin: 0 auto 1.5rem;
}

.comparison-icon svg { width: 32px; height: 32px; }
.comparison-card h3 { color: var(--purple); margin-bottom: 1rem; font-size: 1.8rem; }

.comparison-price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--dark-red);
    margin-bottom: 2rem;
    font-family: 'Hanken Grotesk', sans-serif;
    line-height: 1;
}

.comparison-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.comparison-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--off-white);
}

.comparison-features li svg { width: 18px; height: 18px; stroke: var(--purple); flex-shrink: 0; }

.pricing-faq {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
}

.pricing-faq::before {
    display: none;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--card-gap);
    max-width: var(--container-wide);
    margin: 0 auto;
}

@media (max-width: 1100px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
}

.faq-item.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover { transform: translateY(-5px); border-color: var(--purple); box-shadow: 8px 8px 0 rgba(105, 13, 13, 0.1); }

.faq-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.faq-icon svg { width: 28px; height: 28px; }
.faq-item h3 { color: var(--purple); margin-bottom: 1rem; font-size: 1.3rem; }
.faq-item p { color: var(--dark-blue); opacity: 0.85; line-height: 1.7; }

/* =================================================================
   Contact Page Styles
   ================================================================= */

.contact-section {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
    max-width: var(--container-wide);
    margin: 0 auto;
}

.contact-form-container,
.contact-info-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
}

.contact-form-container.aos-animate,
.contact-info-container.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-form-container:hover,
.contact-info-container:hover {
    border-color: var(--purple);
    box-shadow: 8px 8px 0 rgba(105, 13, 13, 0.1);
}

.form-header,
.info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--off-white);
}

.form-header svg,
.info-header svg {
    width: 28px;
    height: 28px;
    stroke: var(--purple);
}

.form-header h2,
.info-header h2 {
    color: var(--purple);
    font-size: 1.8rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--dark-blue);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper svg {
    position: absolute;
    left: 1rem;
    width: 20px;
    height: 20px;
    stroke: var(--light-purple);
    pointer-events: none;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--off-white);
    border-radius: 8px;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 1rem;
    transition: var(--transition-smooth);
    background: var(--off-white);
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 150px;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: var(--purple);
    background: var(--white);
}

.form-note {
    font-size: 0.9rem;
    color: var(--light-purple);
    text-align: center;
}

.contact-form .btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
}

.contact-form .btn-cta svg {
    width: 20px;
    height: 20px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
}

.form-success.show {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), #ceaf83);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 40px;
    height: 40px;
}

.form-success h3 {
    color: var(--purple);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--off-white);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.contact-method:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(86, 67, 154, 0.1);
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

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

.contact-details h3 {
    color: var(--purple);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-details a {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.contact-details a:hover {
    color: var(--purple);
    transform: translateX(2px);
}

.contact-details p {
    color: var(--dark-blue);
    opacity: 0.75;
    font-size: 0.95rem;
}

.detail-note {
    font-style: italic;
}

.availability-info {
    padding: 2rem;
    background: var(--off-white);
    border-radius: 12px;
    border-left: 4px solid var(--purple);
}

.availability-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.availability-header svg {
    width: 24px;
    height: 24px;
    stroke: var(--purple);
}

.availability-header h3 {
    color: var(--purple);
    font-size: 1.3rem;
}

.availability-info ul {
    list-style: none;
    margin: 1rem 0;
}

.availability-info ul li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
}

.availability-info ul li svg {
    width: 18px;
    height: 18px;
    stroke: var(--purple);
    flex-shrink: 0;
}

.availability-note {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(86, 67, 154, 0.2);
    font-weight: 500;
    color: var(--purple);
}

.availability-note svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.how-it-works {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
}

.how-it-works::before {
    display: none;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--card-gap);
    max-width: var(--container-wide);
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

.step-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.step-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--purple);
    box-shadow: 8px 8px 0 rgba(105, 13, 13, 0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(86, 67, 154, 0.3);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 1.5rem;
}

.step-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--purple);
}

.step-card h3 {
    color: var(--purple);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.step-card p {
    color: var(--dark-blue);
    opacity: 0.85;
    line-height: 1.7;
}

.contact-faq {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
}

.contact-faq::before {
    display: none;
}

.faq-simple {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.faq-simple.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.faq-simple:hover {
    transform: translateY(-5px);
    border-color: var(--purple);
    box-shadow: 8px 8px 0 rgba(105, 13, 13, 0.1);
}

.faq-icon-simple {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin: 0 auto 1.5rem;
}

.faq-icon-simple svg {
    width: 30px;
    height: 30px;
}

.faq-simple h3 {
    color: var(--purple);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.faq-simple p {
    color: var(--dark-blue);
    opacity: 0.85;
    line-height: 1.7;
}

/* Contact page FAQ grid - overrides the pricing page faq-grid */
.contact-faq .faq-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1000px) {
    .contact-faq .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .contact-faq .faq-grid {
        grid-template-columns: 1fr;
    }
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-cta-large,
.cta-buttons .btn-secondary-large {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.cta-buttons svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-wrapper {
        gap: 1.5rem;
    }

    .contact-form-container,
    .contact-info-container {
        padding: 1.5rem;
    }

    .form-header h2,
    .info-header h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .contact-wrapper {
        gap: 1rem;
    }

    .contact-form-container,
    .contact-info-container {
        padding: 1.25rem;
    }
}

/* =================================================================
   Section Dividers - Unified Background Approach
   ================================================================= */

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 400px;
    margin: 0.5rem auto 1.5rem auto;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 2px;
    border-radius: 2px;
}

.section-divider::before {
    background: linear-gradient(90deg, transparent, var(--purple));
}

.section-divider::after {
    background: linear-gradient(90deg, var(--purple), transparent);
}

.section-divider .divider-ornament {
    color: var(--gold);
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.9;
}

/* =================================================================
   WhatsApp Floating Button
   ================================================================= */

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    color: var(--white);
    stroke: var(--white);
}

.whatsapp-float .whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--dark-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.whatsapp-float .whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--dark-blue);
}

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

/* WhatsApp Contact Method Card */
.contact-method.whatsapp .contact-icon-box {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.contact-method.whatsapp .contact-icon-box svg {
    color: var(--white);
    stroke: var(--white);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    .whatsapp-float .whatsapp-tooltip {
        display: none;
    }
}
