/* --- THE MODERN CALM - DESIGN SYSTEM --- */

:root {
    --bg-color: #FDFBF7;
    --text-color: #2F4F4F; /* Deep Sage Green */
    --accent-color: #FF7F50; /* Soft Coral */
    --card-bg: #FFFFFF;
    --shadow-color: rgba(47, 79, 79, 0.05);
    --font-heading: 'Fraunces', serif;
    --font-body: 'Outfit', sans-serif;
}

/* --- GENERAL RESET & SETUP --- */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 18px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; color: var(--text-color); margin-bottom: 1rem; text-align: center; }
h3 { font-size: 1.5rem; }

p {
    font-size: 1rem;
    line-height: 1.6;
}

/* GLOBAL SECTION SPACING */
section {
    padding: 3rem 0; /* Reduced from 5rem to 3rem to close the gaps */
}

/* Make the gap between Pricing and FAQ consistent */
#faq {
    margin-top: 0;
    padding-top: 2rem;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 0.6rem 1.6rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: 2px solid transparent;
    font-size: 0.9rem;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.btn-primary:hover {
    background-color: var(--accent-color);
    color: white;
}

.btn-accent {
    background-color: var(--accent-color);
    color: white;
}

.btn-secondary {
    background-color: #f0f0f0;
    color: var(--text-color);
}

/* --- HEADER & NAVIGATION --- */
.main-header {
    padding: 1rem 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-color);
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    font-size: 0.9rem;
}

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

.nav-links li {
    list-style: none;
}


.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
}

.bar {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    background-color: var(--text-color);
}


/* --- HERO SECTION --- */
.hero-section {
    text-align: center;
    padding: 5rem 0;
}

.hero-section h1 {
    margin-bottom: 0.8rem;
}

.hero-section .sub-headline {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    opacity: 0.8;
}

/* --- BENTO GRID & CARDS --- */
.bento-grid {
    display: grid;
    gap: 1rem;
}

.card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px var(--shadow-color);
    transition: transform 0.15s ease;
}

.card:hover {
    transform: translateY(-3px);
}



/* --- Process Section --- */
.process-section {
    padding: 4rem 0;
    background-color: var(--card-bg);
}

.process-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.process-section .sub-headline {
    max-width: 550px;
    margin: 0.5rem auto 0;
    opacity: 0.9;
}

.roadmap-container {
    display: grid;
    grid-template-columns: 1fr; /* Mobile first */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.roadmap-step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    border: 4px solid var(--bg-color);
}

.step-content h3 {
    font-size: 1.3rem;
}


.pricing-grid {
    grid-template-columns: repeat(3, 1fr);
}

.pricing-card {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.pricing-card h4 {
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-color);
    opacity: 0.9;
    margin: -0.5rem 0 1.5rem 0;
}

.price-list {
    list-style: none;
    margin: 0 auto 1.5rem;
    padding: 1rem 0;
    text-align: left;
    display: inline-block;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    width: 90%;
}

.price-list li {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}
.price-list li:last-child {
    margin-bottom: 0;
}

.price-list strong {
    font-weight: 500;
}

.price-automatic {
    color: var(--accent-color);
}

.price-automatic strong {
    font-weight: 700;
}

.save-info {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 400;
    white-space: nowrap;
}

.pricing-card .price-note {
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
    padding: 0 0.5rem;
}

.pricing-card .btn {
    margin-top: 1rem;
}

.pricing-card.popular {
    position: relative;
    border: 2px solid var(--accent-color);
    transform: scale(1.03);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 500;
}


/* --- CONTACT FORM --- */
.contact-section {
    background-color: var(--card-bg);
}
.contact-section h2, .contact-section p {
    text-align: center;
}
.contact-section p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

#contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

#contact-form label {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--bg-color);
}

#contact-form button.full-width {
    grid-column: 1 / -1;
    font-size: 1.1rem;
    margin-top: 0.8rem;
}

/* --- FAQ Accordion --- */
.faq-section {
    padding-top: 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 2rem auto 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-color);
    overflow: hidden;
}

.faq-accordion details {
    background: var(--card-bg);
    border-bottom: 1px solid #eee;
}

.faq-accordion details:last-of-type {
    border-bottom: 0;
}

.faq-accordion summary {
    font-weight: 500;
    font-size: 1rem;
    padding: 1rem;
    cursor: pointer;
    list-style: none; /* Remove default marker */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}
.faq-accordion summary:hover {
    background-color: #f9f9f9;
}

.faq-accordion summary::-webkit-details-marker {
    display: none;
}

.faq-accordion summary::after {
    content: '▼';
    font-size: 0.9rem;
    transition: transform 0.15s ease;
    color: var(--accent-color);
}

.faq-accordion details[open] summary::after {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 1rem 1rem;
    line-height: 1.7;
}

.faq-content p {
    margin: 0;
}

.faq-content ul {
    list-style-position: inside;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

/* --- ABOUT SECTION --- */
.about-section {
    background: var(--card-bg);
    padding: 5rem 0;
}
.about-section h2 {
    margin-bottom: 2rem;
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.about-content p {
    margin-bottom: 1rem;
}

/* --- TESTIMONIALS --- */
.testimonials-section h2 {
    margin-bottom: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow-color);
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card p {
    margin-bottom: 1rem;
}

.testimonial-card cite {
    font-style: normal;
    font-weight: 500;
    opacity: 0.7;
}

.testimonial-card .badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 50px; /* pill shape */
    font-size: 0.75rem;
    font-weight: 500;
}


/* --- FOOTER --- */
.main-footer {
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
    background-color: var(--card-bg);
}

.main-footer p {
    margin-bottom: 0.5rem;
}


/* --- RESPONSIVE - MOBILE FIRST --- */

@media (min-width: 900px) {
    .roadmap-container {
        grid-template-columns: repeat(4, 1fr);
        position: relative;
        gap: 2rem;
    }
    
    /* The connecting line */
    .roadmap-container::before {
        content: '';
        position: absolute;
        top: 30px; /* Vertically center on the number circles */
        left: 50px;
        right: 50px;
        height: 2px;
        background-color: #e0e0e0;
        z-index: 0; 
    }

    .roadmap-step {
       z-index: 1; /* Ensure step content is above the line */
    }
}

@media (max-width: 900px) {
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.popular {
        transform: scale(1); /* remove scaling on stacked layout */
    }
}

@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 4rem;
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        border-radius: 10px;
        text-align: center;
        transition: 0.2s;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    }

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

    .nav-links li {
        margin: 2rem 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    #contact-form {
        grid-template-columns: 1fr;
    }

    .feature-card.card-large {
        grid-row: auto;
    }

    .form-group.full-width {
        grid-column: 1 / -1;
    }
}
/* --- REPAIR BLOCK: FONTS & FORMS --- */

/* 1. Force Global Font Sizing */
html {
    font-size: 18px !important; /* Forces readable text */
}

body {
    line-height: 1.6;
    color: #333;
}

/* 2. Fix Form Styling */
.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left; /* Ensures labels align left */
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2F4F4F; /* Sage Green */
}

/* Style Inputs, Textareas, and Dropdowns consistently */
.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    background-color: #fdfbf7; /* Slight off-white to match theme */
    transition: border-color 0.3s ease;
}

/* Fix Dropdown Arrow styling */
.form-group select {
    cursor: pointer;
    appearance: none; /* Removes default ugly browser arrow */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%232F4F4F%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right .7em top 50%;
    background-size: .65em auto;
}

/* Focus State (When clicking inside) */
.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus {
    outline: none;
    border-color: #FF7F50; /* Accent Coral */
    background-color: white;
}

/* Restore Footer Styling if missing */
footer {
    background-color: #2F4F4F;
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

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

.footer-content a {
    color: #fdfbf7;
    text-decoration: none;
    line-height: 2;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}
/* --- INTEGRATED GRID FORM (NO WHITE BOX) --- */

.contact-wrapper {
    background: transparent;     /* Keeps the integrated background look */
    box-shadow: none;            /* No shadow */
    /* THE NEW ORANGE OUTLINE */
    border: 3px solid #FF7F50;   /* Nice thick Coral/Orange border */
    border-radius: 25px;         /* Smooth rounded corners */
    padding: 40px;               /* Gives the form breathing room inside the border */
    max-width: 850px;            /* Slightly wider to accommodate padding */
    margin: 2rem auto 0;         /* Centers it with some space on top */
}
/* Tighten the gap between Roadmap and Instructor */
/* FIX: Add breathing room inside the sections */

/* 1. Ensure the Roadmap ends cleanly */
#roadmap {
    padding-bottom: 4rem; /* Gives space at the bottom of the white/beige block */
    margin-bottom: 0;     /* Removes external gap */
}

/* 2. Ensure the Instructor section starts comfortably */
#about {
    padding-top: 4rem !important; /* Pushes the headline down away from the color edge */
    padding-bottom: 4rem;
}
/* 3. The Grid System (TIGHTER VERSION) */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two Equal Columns */
    column-gap: 20px; /* Horizontal space between Name & Phone */
    row-gap: 10px;    /* Vertical space between rows (Reduced from 20px) */
}

/* Remove extra margins that push boxes apart */
.form-group {
    margin-bottom: 5px; /* Minimal space below each group */
}

/* Tighten the label spacing too */
.form-group label {
    margin-bottom: 3px; /* Brings the label closer to the input box */
    font-size: 0.95rem; /* Slightly smaller text helps it look compact */
}

/* Ensure inputs aren't too tall */
.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 10px 15px; /* Slightly reduced padding inside the box */
}

/* --- PRIVACY POLICY PAGE --- */
.privacy-policy {
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-policy h1 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.privacy-policy .text-muted {
    text-align: center;
    margin-bottom: 3rem;
    color: #888;
}

.privacy-policy article h2 {
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.8rem;
}

.privacy-policy article ul {
    list-style-position: inside;
    padding-left: 1rem;
}

/* --- SECTION BACKGROUND RHYTHM --- */

/* 1. Ensure these sections are BEIGE (The Cream Color) */
#hero,
#about,
#faq,
#contact {
    background-color: #FDFBF7;
}


/* 2. Ensure these sections are WHITE (For Contrast) */
#roadmap, 
#testimonials, 
#pricing {
    background-color: #ffffff;
}