/* ===================================
   CSS RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Warm, Educational, Modern */
    --primary-purple: #5B21B6;
    --primary-purple-light: #7C3AED;
    --primary-purple-dark: #4C1D95;
    --accent-gold: #F59E0B;
    --accent-gold-light: #FBBF24;
    --accent-orange: #F97316;
    --accent-blue: #1E40AF;
    --accent-blue-light: #3B82F6;

    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #5B21B6 0%, #7C3AED 100%);
    --gradient-warm: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
    --gradient-hero: linear-gradient(135deg, #5B21B6 0%, #1E40AF 100%);

    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Poppins', sans-serif;

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

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-purple);
}

.logo-icon {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-links a {
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
}

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

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* ===================================
   BUTTONS
   =================================== */
.btn-primary,
.btn-secondary,
.btn-service,
.btn-pricing {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: var(--font-primary);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white) !important;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-purple);
    border-color: var(--primary-purple);
}

.btn-secondary:hover {
    background: var(--primary-purple);
    color: var(--white) !important;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-service,
.btn-pricing {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    margin-top: var(--spacing-md);
}

.btn-service:hover,
.btn-pricing:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    padding: calc(80px + var(--spacing-3xl)) 0 var(--spacing-3xl);
    background: linear-gradient(135deg, #F9FAFB 0%, #EDE9FE 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(91, 33, 182, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    width: 100%;
    height: 500px;
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    position: relative;
    box-shadow: var(--shadow-2xl);
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 50%;
    right: -10%;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 10%;
    left: 10%;
    animation-delay: 2s;
}

.card-icon {
    font-size: 1.5rem;
}

.card-text {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.875rem;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ===================================
   SECTION HEADERS
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-warm);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    padding: var(--spacing-3xl) 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 2px solid var(--gray-100);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-purple-light);
}

.service-card.featured {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: var(--spacing-lg);
    background: var(--gradient-warm);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
}

.service-title {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
}

.service-description {
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.service-grade {
    display: inline-block;
    background: var(--primary-purple);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
}

.service-features {
    margin-bottom: var(--spacing-lg);
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--gray-700);
}

.feature-icon {
    color: var(--accent-gold);
    font-weight: 800;
    flex-shrink: 0;
}

/* ===================================
   PRICING SECTION
   =================================== */
.pricing {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #F9FAFB 0%, #EDE9FE 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

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

.pricing-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--spacing-xl);
    text-align: center;
}

.pricing-title {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
    color: var(--white)
}

.pricing-icon {
    font-size: 3rem;
}

.pricing-body {
    padding: var(--spacing-xl);
}

.price-options {
    margin-bottom: var(--spacing-lg);
}

.price-option {
    padding: var(--spacing-md);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    transition: var(--transition-normal);
    position: relative;
}

.price-option:hover {
    border-color: var(--primary-purple-light);
    background: var(--gray-50);
}

.price-option.recommended {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    right: var(--spacing-md);
    background: var(--gradient-warm);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.75rem;
}

.price-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--spacing-xs);
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-purple);
    font-family: var(--font-primary);
}

.price-period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-600);
}

.price-save {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
}

.pricing-features {
    border-top: 2px solid var(--gray-200);
    padding-top: var(--spacing-md);
}

.pricing-features li {
    padding: var(--spacing-xs) 0;
    color: var(--gray-700);
    position: relative;
    padding-left: var(--spacing-md);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 800;
}

.pricing-note {
    background: var(--white);
    border-left: 4px solid var(--accent-gold);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 0 auto;
}

.pricing-note p {
    margin: 0;
    color: var(--gray-700);
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: var(--spacing-3xl) 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-image-wrapper {
    width: 100%;
    height: 500px;
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    position: relative;
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
}

.tutor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-xl);
    position: relative;
    z-index: 1;
}

.about-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-gold);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.about-intro {
    font-size: 1.25rem;
    color: var(--primary-purple);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.about-description {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
}

.about-highlights {
    margin-bottom: var(--spacing-xl);
}

.highlight-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.highlight-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.highlight-item h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
    color: var(--gray-900);
}

.highlight-item p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.about-contact {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--gray-100);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition-normal);
}

.contact-link:hover {
    background: var(--primary-purple);
    color: var(--white);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 1.25rem;
}

/* ===================================
   BOOKING SECTION
   =================================== */
.booking {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #F9FAFB 0%, #EDE9FE 100%);
}

.booking-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.calendly-inline-widget {
    border-radius: var(--radius-lg);
}

.booking-info {
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, #5B21B6 0%, #7C3AED 100%);
    color: var(--white);
}

.booking-info h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-lg);
    color: var(--white);
}

.booking-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.booking-steps li {
    display: flex;
    gap: var(--spacing-md);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
    color: var(--white);
}

.step-content p {
    font-size: 0.9375rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer-tagline {
    line-height: 1.7;
    color: var(--gray-400);
}

.footer-title {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

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

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: var(--spacing-xs);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-contact a {
    color: var(--gray-400);
    transition: var(--transition-normal);
}

.footer-contact a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: var(--spacing-lg);
    text-align: center;
    color: var(--gray-500);
}

.footer-bottom p {
    margin: var(--spacing-xs) 0;
}

.footer-bottom a {
    color: var(--accent-gold);
    font-weight: 600;
    transition: var(--transition-normal);
}

.footer-bottom a:hover {
    color: var(--accent-gold-light);
    text-decoration: underline;
}

/* ===================================
   FLOATING CTA BUTTON
   =================================== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 700;
    font-family: var(--font-primary);
    z-index: 999;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(100px);
    pointer-events: none;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.floating-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 30px 60px -15px rgba(91, 33, 182, 0.4);
}

.floating-cta-icon {
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.floating-cta-text {
    font-size: 1rem;
    color: var(--white);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Clickable pricing cards */
.price-option.clickable {
    cursor: pointer;
    transition: all var(--transition-normal);
}

.price-option.clickable:hover {
    transform: scale(1.02);
    border-color: var(--primary-purple);
    box-shadow: var(--shadow-md);
}

.price-option.clickable:active {
    transform: scale(0.98);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--spacing-xl);
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }

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

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        justify-content: space-around;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .booking-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
    }

    /* Floating CTA mobile adjustments */
    .floating-cta {
        bottom: 20px;
        right: 20px;
        padding: 0.875rem 1.25rem;
    }

    .floating-cta-text {
        font-size: 0.9375rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .stat {
        text-align: left;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: var(--spacing-md);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .about-contact {
        flex-direction: column;
    }

    .contact-link {
        justify-content: center;
    }

    /* Floating CTA mobile small screens */
    .floating-cta {
        bottom: 15px;
        right: 15px;
        left: 15px;
        justify-content: center;
        padding: 0.75rem 1rem;
    }

    .floating-cta-icon {
        font-size: 1.25rem;
    }

    .floating-cta-text {
        font-size: 0.875rem;
    }
}