/* --- CSS Variables (From Prompt) --- */
:root {
    --green: #34C759;
    --white: #FFFFFF;
    --light-gray: #F2F2F2;
    --dark-gray: #707070;
    --yellow: #F7DC6F;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Lato', sans-serif;
    --font-logo: 'Great Vibes', cursive;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* --- General Styles & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    background-color: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    color: #333;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--green);
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

.light-bg {
    background-color: var(--light-gray);
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--yellow);
    color: #333;
}
.btn-primary:hover {
    background-color: #f5d14e;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}
.btn-secondary:hover {
    background-color: var(--white);
    color: #333;
}

.card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

/* --- Header & Navigation --- */
header {
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-family: var(--font-logo);
    font-size: 2.5rem;
    color: var(--green);
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 700;
    padding: 0.5rem 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--green);
    transition: width 0.3s ease;
}
nav a:hover::after {
    width: 100%;
}

/* --- Hero Section (Option 2: Dynamic & Animated) --- */

/* Keyframes define the animations */
@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 0;
    min-height: calc(100vh - 70px);
    overflow: hidden; /* Important to contain the blobs */
    
    /* The new animated gradient background */
    background: linear-gradient(-45deg, #e8f5e9, #ffffff, #fffde7, #d4f0db);
    background-size: 400% 400%;
    animation: gradient-flow 15s ease infinite;
}

/* These are the floating blobs */
.hero::before, .hero::after {
    content: '';
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    filter: blur(60px); /* Creates the soft, diffused look */
    animation: float 20s ease-in-out infinite;
}

.hero::before {
    width: 300px;
    height: 300px;
    background: rgba(52, 199, 89, 0.15); /* Translucent Green */
    top: -50px;
    left: -100px;
}

.hero::after {
    width: 250px;
    height: 250px;
    background: rgba(247, 220, 111, 0.15); /* Translucent Yellow */
    bottom: -50px;
    right: -100px;
    animation-delay: -10s; /* Makes the animations out of sync */
}


.hero-content {
    position: relative;
    z-index: 2; /* Ensures content is on top of blobs */
}

.hero h1 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 900;
    color: #222;
    margin: 0 auto 1rem;
}

.hero .subheadline {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--dark-gray);
}

.cta-buttons {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero .btn-secondary {
    border-color: var(--green);
    color: var(--green);
}
.hero .btn-secondary:hover {
    background-color: var(--green);
    color: var(--white);
}

.trust-signals {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* --- Process Section --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}
.step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}
.fun-fact {
    text-align: center;
    margin-top: 3rem;
    padding: 1rem;
    background: var(--white);
    border-left: 4px solid var(--yellow);
    border-radius: 4px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Service Tiers Section --- */
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
}
.tier-card {
    text-align: center;
    position: relative;
}
.tier-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--green);
    margin: 1rem 0;
}
.tier-card .best-for {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}
.tier-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.tier-card li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
}
.tier-card li::before {
    content: '✓';
    color: var(--green);
    position: absolute;
    left: 0;
    font-weight: 900;
}
.tier-card blockquote {
    background-color: var(--light-gray);
    border-left: 4px solid var(--green);
    padding: 1rem;
    border-radius: 4px;
    text-align: left;
    font-style: italic;
}
.tier-card blockquote footer {
    font-style: normal;
    font-weight: 700;
    margin-top: 0.5rem;
    display: block;
}
.popular {
    border: 2px solid var(--green);
}
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}


/* --- Who We Serve Section --- */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: center;
}
.client-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

/* --- FAQ --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-list dt {
    font-weight: 700;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    margin-top: 1rem;
    cursor: pointer;
}
.faq-list dd {
    padding: 1.5rem;
    border: 1px solid var(--light-gray);
    border-top: none;
    margin-bottom: 1rem;
}


/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}
.contact-details address {
    margin-top: 1rem;
    font-style: normal;
}
.newsletter-form form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}
.newsletter-form input {
    flex-grow: 1;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-primary);
}
.newsletter-form .btn {
    border-radius: 4px;
}


/* --- Footer --- */
footer {
    background-color: #333;
    color: var(--light-gray);
    padding: 2.5rem 0;
    text-align: center;
}
.fun-fact-footer {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.social-links {
    margin-bottom: 1rem;
}
.social-links a {
    margin: 0 0.5rem;
}
.social-links img {
    border-radius: 50%;
}
/* ==========================================================================
   Responsive Styles (for tablets and phones)
   ========================================================================== */

@media (max-width: 768px) {

    /* --- General Typography & Spacing Adjustments --- */
    h1, .hero h1 {
        font-size: 2.2rem; /* Reduce heading 1 size */
    }

    h2 {
        font-size: 1.8rem; /* Reduce heading 2 size */
    }

    section {
        padding: 3.5rem 0; /* Reduce vertical space between sections */
    }

    /* --- Navigation for Mobile --- */
    .nav-container {
        flex-direction: column; /* Stack logo and nav links */
        height: auto;
        padding: 1rem 1.5rem;
    }

    nav ul {
        flex-direction: column; /* Stack nav links vertically */
        text-align: center;
        gap: 0.5rem;
        margin-top: 1rem;
    }


    /* --- FOR HERO OPTION 2 (Dynamic & Animated) --- */

    .hero {
        padding: 4rem 1.5rem; 
    }
    .hero::before, .hero::after {
         display: none; // Hides the distracting blobs on mobile to save power and improve clarity
    }
    */
    /* --- END OF HERO OPTION 2 STYLES --- */


    /* --- Adjusting other Grids and Layouts --- */
    .process-grid,
    .tiers-grid,
    .clients-grid {
        /* This changes the 3-column grid to a 1-column layout */
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr; /* Stack contact form and details */
        text-align: center;
    }
    
    .newsletter-form form {
        flex-direction: column; /* Stack the email input and button */
        max-width: 400px;
        margin: 1rem auto 0;
    }

    .problem-grid .card {
        text-align: center; /* Center text in the "problem" cards */
    }
}


/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 0.5rem 1.5rem;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
        padding-top: 0.5rem;
    }
    .hero h1 { font-size: 2.2rem; }
    .hero { height: auto; padding: 5rem 0; }
    h2 { font-size: 2rem; }
    .process-grid { grid-template-columns: 1fr; }
    .tiers-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .newsletter-form form { flex-direction: column; }
}