﻿/* --- Reset & Global Base Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #fdfaf4; /* Off-white/cream background */
    color: #164632; /* Dark green text default */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Ensure the content handles footer layout pushes nicely */
main.page-container {
    flex: 1;
}

/* --- 1. Top Navigation Bar --- */
.main-nav {
    background-color: #fdfaf4;
    border-bottom: 1px solid #ebdcc5;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 45px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 28px;
}

    .nav-links a {
        text-decoration: none;
        color: #4a5d55;
        font-weight: 600;
        font-size: 1rem;
        transition: color 0.2s ease;
    }

        .nav-links a:hover {
            color: #164632;
        }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.login-link {
    text-decoration: none;
    color: #164632;
    font-weight: 700;
    font-size: 1rem;
}

.phone-btn {
    background-color: #1fa374;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    font-weight: 700;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(31, 163, 116, 0.15);
    transition: background-color 0.2s ease;
}

    .phone-btn:hover {
        background-color: #17835d;
    }

/* --- 2. Central Layout Area --- */
.page-container {
    max-width: 800px;
    margin: 40px auto 40px auto;
    padding: 0 24px;
}

/* Back Link Button */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1fa374;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 32px;
    transition: color 0.2s ease;
}

    .back-link:hover {
        color: #17835d;
    }

/* --- Typography Content --- */
.content-section .sub-title {
    color: #e28743; /* Warm orange accent */
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 12px;
}

.content-section h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #113c29;
    margin-bottom: 20px;
    line-height: 1.15;
}

.content-section .description {
    font-size: 1.15rem;
    line-height: 1.5;
    color: #4a5d55;
    margin-bottom: 36px;
}

/* --- Styled Callouts (Banner & Info Box) --- */
.promo-banner {
    background-color: #1fa374;
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 20px 24px;
    border-radius: 20px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(31, 163, 116, 0.12);
}

    .promo-banner .badge {
        background-color: rgba(255, 255, 255, 0.2);
        font-size: 1.6rem;
        font-weight: 700;
        width: 54px;
        height: 54px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        margin-right: 20px;
        flex-shrink: 0;
    }

.promo-text {
    font-size: 1.1rem;
    line-height: 1.4;
}

.info-box {
    background-color: #ffeeda; /* Light yellow/orange highlight block */
    padding: 24px;
    border-radius: 20px;
    margin-bottom: 40px;
}

    .info-box p {
        font-size: 1.05rem;
        line-height: 1.5;
        color: #164632;
    }

/* --- 3. Form Card Layout --- */
.form-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

    .form-group.full-width {
        flex: none;
        width: 100%;
    }

/* Form Inputs & Labels */
label {
    font-weight: 700;
    font-size: 0.95rem;
    color: #164632;
}

    label .optional {
        font-weight: 400;
        color: #70847b;
    }

input[type="text"],
input[type="tel"],
input[type="email"],
select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1dcd6;
    border-radius: 8px;
    font-size: 1rem;
    color: #164632;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder {
    color: #a3b5ad;
}

input:focus,
select:focus {
    border-color: #1fa374;
    box-shadow: 0 0 0 3px rgba(31, 163, 116, 0.1);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23164632' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.btn-submit {
    background-color: #1fa374;
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease;
}

    .btn-submit:hover {
        background-color: #17835d;
    }

    .btn-submit i {
        font-size: 0.9rem;
        transform: rotate(-15deg);
    }

/* --- 4. Alternative Phone Contact Line --- */
.talk-alternative {
    text-align: center;
    margin-top: 45px;
    margin-bottom: 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #4a5d55;
}

    .talk-alternative a {
        color: #1fa374;
        text-decoration: none;
        font-weight: 700;
        white-space: nowrap;
        margin-left: 4px;
        transition: color 0.2s ease;
    }

        .talk-alternative a:hover {
            color: #17835d;
            text-decoration: underline;
        }

/* --- 5. Main Site Footer --- */
.main-footer {
    background-color: #113c29; /* Dark Forest Green block base */
    color: #b0c7bd; /* Muted greenish-white text accents */
    padding-top: 60px;
    width: 100%;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 50px 24px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr 0.8fr;
    gap: 40px;
}

.footer-column h3 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer-column ul {
    list-style: none;
}

    .footer-column ul li {
        margin-bottom: 14px;
        font-size: 0.95rem;
    }

        .footer-column ul li a {
            color: #b0c7bd;
            text-decoration: none;
            transition: color 0.2s ease;
        }

            .footer-column ul li a:hover {
                color: #ffffff;
            }

/* Brand column customization */
.brand-info .footer-logo {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Turns dark logo mock crisp white */
}

.brand-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #9ab4a7;
}

/* Custom list adjustments for tracking contact options */
.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list i {
    color: #1fa374; /* Highlights modern icons in structural light green */
    width: 16px;
    text-align: center;
}

/* Footer Bottom Strip Layout */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 26px 0;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #8fa89b;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

    .footer-legal a {
        color: #8fa89b;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .footer-legal a:hover {
            color: #ffffff;
        }

/* --- 6. Full Page Responsive Breakpoints --- */
@media (max-width: 992px) {
    .nav-links {
        display: none; /* Simplifies top header bar navigation lists on smaller spaces */
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }
}

@media (max-width: 600px) {
    .page-container {
        margin: 20px auto;
    }

    .content-section h1 {
        font-size: 2.2rem;
    }

    .promo-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

        .promo-banner .badge {
            margin-right: 0;
        }

    .form-card {
        padding: 24px 16px;
    }

    .form-row {
        flex-direction: column;
        gap: 24px;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}
