/* General Resets */

/* Colors 
#338476 - Thrive Green
#077c69 - Elf Green ... another green
#eff1f2 - Light Grey - Porcelain
#1a1a1a Blackish - Cod Gray
#8bb5b0 - Sea green? Gulf Stream
#8c8d8d - Gunsmoke gray mid gray
*/
/* --- 1. CORE BRANDING & VARIABLES --- */
:root {
    --thrive-teal: #1a7f64;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Gotham Rounded", "Segoe UI", sans-serif;
}

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

.cursive-font {
    font-family: "Lucida Handwriting", "Lucida Handwriting", cursive;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: white;
    color: #1a1a1a;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    padding: 0 15px;
}
/*
.nav-links a {
    color: #1a1a1a;
    text-decoration: none;
}

.nav-links a.client-portal {
    color: #1a1a1a;
    padding: 16px;
    border: 2px solid #8bb5b0;
    border-radius: 8px;
    text-decoration: none;
}
*/

/* Ensure the link acts as a container for stacked text */
.nav-links a, .dropdown-content a, .dropbtn {
    display: flex;
    flex-direction: column; /* Stacks text vertically */
    line-height: 1.2;
    padding: 10px 15px;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #1a1a1a;
}

/* Main Link Style */
.main-link {
    font-size: 1rem;
    font-weight: normal;
    transition: color 0.3s;
}

.main-link:hover {
    color: var(--thrive-teal);
    text-decoration: underline;
}

/* Subtext Style */
.sub-text {
    font-size: 0.75rem;
    color: #888;
    font-weight: 400;
    margin-top: 2px;
    font-family: 'Segoe UI', sans-serif; /* Clean font for clarity */
}

/* Hover Effects */
.nav-links a:hover {
    color: var(--thrive-teal);
    text-decoration: underline;
}

/*
.nav-links a:hover .sub-text {
    color: #666;
}*/

/* Adjust dropdown specific padding */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-top: 3px solid var(--thrive-teal); /* Brand accent */
    border-radius: 4px;
    margin-top: 10px;
}

.dropdown-content a {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: var(--thrive-teal);
}

/* Show the dropdown menu on hover 
.dropdown:hover .dropdown-content {
    display: block;
}

/* Optional: Add a little arrow animation or color change for the main button
.dropdown:hover .dropbtn {
    color: var(--thrive-teal);
}*/
 /* The Toggle Class */
    .show { display: block !important; }

/* Arrow Indicator */
.arrow {
    border: solid #555;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2.5px;
    margin-left: 8px;
    margin-bottom: 2px;
    transform: rotate(45deg);
    transition: 0.3s;
}

.dropbtn.active .arrow {
    transform: rotate(-135deg);
    margin-top: 4px;
    margin-bottom: 0;
}

/* Hero Section */
.hero {
    /* Stack the overlay (80% opacity) on top of the image */
    background: linear-gradient(
        rgba(26, 127, 100, 0.8), 
        rgba(26, 127, 100, 0.8)
    ), url('images/evergreens.jpg');

    /* Ensure the background covers the entire area */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    min-height: 80vh;
    text-align: left;
    padding: 120px 5% 20px;
    color: white;
}

.hero h1 {
    font-size: 4em;
    font-weight: normal;
    line-height: 1.2;
    font-family: Garamond, "Times New Roman", Times, serif;
}

.hero p {
    font-size: 1.5em;
}

.client-link {
    border: 1px solid white;
    padding: 16px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-size: 16px;
}

/* New Client Status */
#new-client-status {
    background-color: white;
    padding: 20px 5% 20px;
}
#new-client-status p {
    padding: 10px 0;
}

/* Responsive Grid (Flexbox) */
.container {
    text-align: left;
    padding: 60px 5% 20px;
    gap: 20px;
}

.container h1 {
    display: block;
}

.container ul:before{
    content:attr(aria-label);
    font-size: 1.2em;
    font-weight:bold;
}

.container ul {
    font-size: 1.2em;
    list-style-type: none;
}

.container ul li{
    padding: 8px 0;
}

/* 2. CENTERED HEADER */
    .header-container {
        text-align: center;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .header-container h1 {
        color: var(--thrive-teal);
        font-size: 3rem;
        margin: 0;
        font-family: "Gotham Rounded", "Segoe UI", sans-serif;
        font-weight: normal;
    }

    /* 3. RESPONSIVE 2-COLUMN GRID */
    .grid-container {
        display: flex;
        flex-wrap: wrap; /* Allows wrapping */
        justify-content: center;
        gap: 30px;
        max-width: 1000px; /* Limits the spread on giant monitors */
        margin: 0 auto;
    }

    .grid-item {
        /* Force 2 per row (50% minus half the gap) */
        flex: 0 1 calc(50% - 15px);
        min-width: 300px; /* Stacks on mobile when screen < 630px approx */
        display: flex;
    }

    /* 4. CARD STYLING */
    .card {
        background: white;
        padding: 30px;
        border-radius: 8px;
        border-left: 6px solid var(--thrive-teal);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        width: 100%;
    }

    .card h3 {
        margin-top: 0;
        color: #333;
        font-size: 1.5rem;
    }

    .card p {
        color: #666;
        line-height: 1.6;
    }

/* Footer Styling */
.site-footer {
    background-color: #2c3e50; /* Dark professional blue/grey */
    color: #ffffff;
    padding: 60px 5% 20px;
    margin-top: 50px;
    font-family: sans-serif; /* Using sans-serif for readability in small text */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    flex: 1 1 250px; /* Columns will grow and shrink, min-width 250px */
}

.footer-column a {
    color: #bdc3c7;
}

/* Contact Section */
.footer-contact h4, .footer-links h4 {
    color: #1a7f64; /* Thrive Teal */
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #bdc3c7;
}

.footer-contact a {
    color: #ffffff;
    text-decoration: none;
}

/* Logo Section */
.footer-logo {
    text-align: center;
}

.footer-svg {
    height: 60px;
    width: auto;
    margin-bottom: 10px;
    border-radius: 8px;
   /* filter: brightness(0) invert(1);  This turns a dark SVG white for the dark footer */
}

.logo-text {
    font-family: "Lucida Handwriting", cursive;
    color: #1a7f64;
    font-size: 2rem;
}

.footer-logo .tagline {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #bdc3c7;
}

/* Links Section */
.footer-links {
    text-align: right;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #1a7f64;
}

.portal-btn {
    font-weight: bold;
    color: #1a7f64 !important;
}

/* Bottom Bar */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #3e4f5f;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #7f8c8d;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-column {
        width: 100%;
    }

    .footer-logo {
        order: -1; /* Puts the logo at the top on mobile */
    }
}

/* --- Media Queries --- */

/* Tablet and Mobile (Screens smaller than 768px) */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }

    .nav-links {
        margin-top: 15px;
        padding: 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
}

/* Mobile Small (Screens smaller than 480px) */
@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links li {
        margin: 5px 0;
    }
}