/* ===================================
   Donovan Evans Tutoring - Stylesheet
   PowerPoint-Matched Design System
   Navy #24326A & Gold #D3A859
   =================================== */

/* ===================================
   GOOGLE FONTS IMPORT
   =================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ===================================
   COLOR SYSTEM
   =================================== */
:root {
    /* Brand Colors */
    --navy: #24326A;
    --gold: #D3A859;
    --dark-grey: #231F20;
    --light-grey: #EAEAEA;
    --white: #FFFFFF;
    --near-black: #010202;
    --mid-grey: #C7C6C5;
    
    /* Semantic Colors */
    --primary: var(--navy);
    --secondary: var(--gold);
    --text-dark: var(--dark-grey);
    --text-light: var(--white);
    --background-light: var(--light-grey);
    --background-white: var(--white);
    --accent: var(--gold);
    
    /* Status Colors */
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
    
    /* Font Sizes - Responsive with clamp() */
    --fs-hero: clamp(2.5rem, 5vw, 4rem);           /* 40-64px */
    --fs-h1: clamp(2rem, 4vw, 3rem);               /* 32-48px */
    --fs-h2: clamp(1.75rem, 3vw, 2.5rem);          /* 28-40px */
    --fs-h3: clamp(1.5rem, 2.5vw, 2rem);           /* 24-32px */
    --fs-h4: clamp(1.25rem, 2vw, 1.5rem);          /* 20-24px */
    --fs-body: clamp(1rem, 1.5vw, 1.125rem);       /* 16-18px */
    --fs-small: clamp(0.875rem, 1.25vw, 1rem);     /* 14-16px */
    --fs-caption: 0.875rem;                        /* 14px */
    
    /* Spacing Scale */
    --space-xs: 0.5rem;      /* 8px */
    --space-sm: 1rem;        /* 16px */
    --space-md: 1.5rem;      /* 24px */
    --space-lg: 2rem;        /* 32px */
    --space-xl: 3rem;        /* 48px */
    --space-2xl: 4rem;       /* 64px */
    --space-3xl: 6rem;       /* 96px */
    
    /* Border System */
    --border-width-thin: 1px;
    --border-width-standard: 3px;
    --border-width-bold: 5px;
    --border-color-navy: var(--navy);
    --border-color-gold: var(--gold);
    --border-color-light: var(--light-grey);
    
    /* Border Radius */
    --radius-sm: 0.5rem;      /* 8px */
    --radius-md: 0.75rem;     /* 12px */
    --radius-lg: 1rem;        /* 16px */
    --radius-xl: 1.5rem;      /* 24px */
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(36, 50, 106, 0.08);
    --shadow-md: 0 4px 8px rgba(36, 50, 106, 0.12);
    --shadow-lg: 0 8px 16px rgba(36, 50, 106, 0.16);
    --shadow-xl: 0 12px 24px rgba(36, 50, 106, 0.20);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
    
    /* Z-index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
    overflow-x: hidden;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--navy);
    color: var(--white);
    padding: var(--space-xs) var(--space-sm);
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--navy);
}

h1 {
    font-size: var(--fs-h1);
    font-weight: var(--font-weight-extrabold);
}

h2 {
    font-size: var(--fs-h2);
    font-weight: var(--font-weight-bold);
}

h3 {
    font-size: var(--fs-h3);
    font-weight: var(--font-weight-semibold);
}

h4 {
    font-size: var(--fs-h4);
    font-weight: var(--font-weight-semibold);
}

p {
    margin-bottom: var(--space-sm);
    line-height: 1.7;
}

a {
    color: var(--navy);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gold);
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

section {
    padding: var(--space-3xl) 0;
}

/* Section Headers with Gold Underline */
.section-title {
    font-size: var(--fs-h2);
    font-weight: var(--font-weight-bold);
    color: var(--navy);
    text-align: center;
    margin-bottom: var(--space-sm);
    position: relative;
    padding-bottom: var(--space-sm);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--navy) 100%);
    border-radius: var(--radius-full);
}

.section-subtitle {
    text-align: center;
    font-size: var(--fs-body);
    color: var(--dark-grey);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    border: var(--border-width-standard) solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn-primary:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn-secondary:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy);
}

/* ===================================
   NAVIGATION BAR
   =================================== */
.navbar {
    position: sticky;
    top: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    z-index: var(--z-sticky);
    padding: var(--space-sm) 0;
    border-bottom: var(--border-width-thin) solid var(--light-grey);
}

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

.nav-brand a {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--fs-h4);
    font-weight: var(--font-weight-bold);
    color: var(--navy);
}

.nav-brand i {
    font-size: 1.75rem;
    color: var(--gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--navy);
    transition: all var(--transition-fast);
    border-radius: var(--radius-full);
}

.nav-menu {
    display: flex;
    gap: var(--space-md);
    list-style: none;
    align-items: center;
}

.nav-menu a {
    font-weight: var(--font-weight-medium);
    color: var(--dark-grey);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-menu a:hover {
    background: var(--light-grey);
    color: var(--navy);
}

.btn-portal {
    background: var(--gold);
    color: var(--navy);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-semibold);
}

.btn-portal:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    background: linear-gradient(135deg, var(--light-grey) 0%, var(--white) 100%);
    padding: var(--space-3xl) 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

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

.hero-title {
    font-size: var(--fs-hero);
    font-weight: var(--font-weight-black);
    color: var(--navy);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--gold);
    display: block;
}

.hero-description {
    font-size: var(--fs-body);
    color: var(--dark-grey);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    padding-top: var(--space-lg);
    border-top: 3px solid var(--gold);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: var(--font-weight-black);
    color: var(--navy);
}

.stat-label {
    display: block;
    font-size: var(--fs-small);
    color: var(--dark-grey);
    margin-top: var(--space-xs);
}

.hero-image-placeholder {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--navy) 0%, var(--gold) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    border: var(--border-width-standard) solid var(--navy);
}

.hero-image-placeholder i {
    font-size: 8rem;
    color: var(--white);
    opacity: 0.3;
}

/* ===================================
   RESOURCES SECTION (YouTube Video)
   =================================== */
.resources-section {
    background: var(--light-grey);
    padding: var(--space-3xl) 0;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: var(--border-width-bold) solid var(--navy);
    box-shadow: var(--shadow-xl);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-caption {
    text-align: center;
    margin-top: var(--space-md);
    color: var(--dark-grey);
    font-size: var(--fs-body);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
}

.video-caption i {
    color: var(--navy);
    font-size: 1.25rem;
}

.playlist-link-container {
    text-align: center;
    margin-top: var(--space-lg);
}

.playlist-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    background: linear-gradient(135deg, var(--navy) 0%, var(--gold) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-semibold);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    border: var(--border-width-standard) solid var(--navy);
}

.playlist-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--gold) 0%, var(--navy) 100%);
}

/* ===================================
   CARDS (Subjects, Testimonials, etc.)
   =================================== */
.card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: var(--border-width-standard) solid var(--navy);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gold);
}

/* ===================================
   SUBJECTS SECTION
   =================================== */
.subjects-section {
    background: var(--white);
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.subject-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: var(--border-width-standard) solid var(--navy);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    text-align: center;
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gold);
}

.subject-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--gold) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    border: var(--border-width-standard) solid var(--navy);
}

.subject-icon i {
    font-size: 2rem;
    color: var(--white);
}

.subject-title {
    font-size: var(--fs-h3);
    color: var(--navy);
    margin-bottom: var(--space-md);
    font-weight: var(--font-weight-bold);
}

.subject-list {
    list-style: none;
    text-align: left;
}

.subject-list li {
    padding: var(--space-xs) 0;
    color: var(--dark-grey);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.subject-list li::before {
    content: '✓';
    color: var(--gold);
    font-weight: var(--font-weight-bold);
    font-size: 1.25rem;
}

/* ===================================
   PRICING CARDS
   =================================== */
.pricing-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto var(--space-lg);
}

.pricing-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: var(--border-width-standard) solid var(--navy);
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gold);
}

.pricing-card.featured {
    border-color: var(--gold);
    border-width: var(--border-width-bold);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy);
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--fs-small);
    font-weight: var(--font-weight-bold);
}

.pricing-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--navy) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.pricing-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.price {
    font-size: 2.5rem;
    font-weight: var(--font-weight-black);
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.price span {
    font-size: 1rem;
    font-weight: var(--font-weight-regular);
    color: var(--dark-grey);
}

.pricing-note {
    text-align: center;
    color: var(--dark-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-size: var(--fs-small);
}

.pricing-note i {
    color: var(--gold);
}

/* ===================================
   BOOKING SECTION (TutorBird Widgets)
   =================================== */
.booking-section {
    background: var(--light-grey);
}

.booking-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--space-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.widget-container {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: var(--border-width-standard) solid var(--navy);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.widget-container:hover {
    box-shadow: var(--shadow-lg);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.widget-header i {
    font-size: 2rem;
    color: var(--gold);
}

.widget-header h3 {
    font-size: var(--fs-h3);
    color: var(--navy);
    margin-bottom: 0;
}

.widget-description {
    color: var(--dark-grey);
    margin-bottom: var(--space-lg);
}

.tutorbird-widget {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-grey);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
    align-items: start;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--navy) 0%, var(--gold) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    border: var(--border-width-standard) solid var(--navy);
}

.about-image-placeholder i {
    font-size: 6rem;
    color: var(--white);
    opacity: 0.3;
}

.about-text .section-title {
    text-align: left;
}

.about-text .section-title::after {
    left: 0;
    transform: none;
}

.about-subtitle {
    font-size: var(--fs-h4);
    color: var(--gold);
    font-weight: var(--font-weight-semibold);
    margin-top: var(--space-xs);
}

.about-bio p {
    font-size: var(--fs-body);
    line-height: 1.8;
    color: var(--dark-grey);
    margin-bottom: var(--space-md);
}

.credentials {
    background: var(--light-grey);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    border: var(--border-width-standard) solid var(--navy);
}

.credentials h3 {
    color: var(--navy);
    margin-bottom: var(--space-md);
}

.credentials-list {
    list-style: none;
}

.credentials-list li {
    display: flex;
    align-items: start;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
    color: var(--dark-grey);
}

.credentials-list i {
    color: var(--gold);
    margin-top: 0.25rem;
    font-size: 1.125rem;
}

.service-area {
    background: var(--light-grey);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: var(--border-width-standard) solid var(--navy);
}

.service-area h3 {
    color: var(--navy);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.service-area i {
    color: var(--gold);
}

.service-note {
    font-size: var(--fs-small);
    color: var(--dark-grey);
    font-style: italic;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials-section {
    background: var(--light-grey);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.testimonial-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: var(--border-width-standard) solid var(--navy);
    border-left-width: var(--border-width-bold);
    border-left-color: var(--gold);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: var(--space-md);
}

.testimonial-rating i {
    color: var(--gold);
    font-size: 1.125rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--dark-grey);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 2px solid var(--light-grey);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--navy) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar i {
    font-size: 1.5rem;
    color: var(--white);
}

.author-name {
    font-weight: var(--font-weight-semibold);
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: var(--fs-small);
    color: var(--dark-grey);
    margin-bottom: 0;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
}

.contact-info {
    background: var(--light-grey);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: var(--border-width-standard) solid var(--navy);
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.contact-info h3 {
    color: var(--navy);
    margin-bottom: var(--space-lg);
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--navy) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-details h4 {
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.contact-details p {
    color: var(--dark-grey);
    margin-bottom: 0.25rem;
}

.text-small {
    font-size: var(--fs-small);
    color: var(--dark-grey);
}

.contact-link {
    color: var(--navy);
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-fast);
}

.contact-link:hover {
    color: var(--gold);
    text-decoration: underline;
}

.contact-cta {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 2px solid var(--navy);
}

/* ===================================
   CONTACT FORM
   =================================== */
.contact-form-wrapper {
    background: var(--light-grey);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: var(--border-width-standard) solid var(--navy);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: grid;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: var(--font-weight-medium);
    color: var(--navy);
    margin-bottom: var(--space-xs);
}

.required {
    color: var(--error);
    font-weight: var(--font-weight-bold);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: var(--border-width-standard) solid var(--navy);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(211, 168, 89, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error);
}

.error-message {
    color: var(--error);
    font-size: var(--fs-small);
    margin-top: var(--space-xs);
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.btn-submit {
    margin-top: var(--space-sm);
    justify-content: center;
}

.form-status {
    margin-top: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    display: none;
    text-align: center;
    font-weight: var(--font-weight-medium);
}

.form-status.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 2px solid var(--success);
}

.form-status.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid var(--error);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: var(--space-2xl) 0 var(--space-lg);
}

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

.footer-brand h3 {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.footer-brand i {
    font-size: 1.5rem;
    color: var(--gold);
}

.footer-tagline {
    color: var(--gold);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--fs-small);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: var(--space-sm);
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

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

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

.footer-contact i {
    color: var(--gold);
    width: 20px;
}

.footer-hours p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-sm);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xs);
}

.footer-note {
    color: var(--gold);
    font-size: var(--fs-small);
    margin-bottom: 0;
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--gold) 100%);
    color: var(--white);
    border: var(--border-width-standard) solid var(--navy);
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablets and smaller desktops */
@media (max-width: 992px) {
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text .section-title {
        text-align: center;
    }

    .about-text .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    :root {
        --space-xl: 2rem;
        --space-2xl: 3rem;
        --space-3xl: 4rem;
    }

    section {
        padding: var(--space-2xl) 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-lg);
        box-shadow: var(--shadow-lg);
        transition: left var(--transition-base);
    }

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

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: var(--space-md);
        text-align: center;
    }

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

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .subjects-grid,
    .pricing-info,
    .booking-widgets,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

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

    .footer-contact li {
        justify-content: center;
    }
}

/* Very small mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* ===================================
   ACCESSIBILITY ENHANCEMENTS
   =================================== */

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --navy: #000080;
        --dark-grey: #000000;
    }

    .btn {
        border-width: 3px;
    }
}

/* Print styles */
@media print {
    .navbar,
    .scroll-to-top,
    .hero-cta,
    .booking-section,
    .footer {
        display: none;
    }

    body {
        color: #000;
    }
}
