
/* =========== General Styling & Variables =========== */
:root {
    --primary-green: #00682D;
    --primary-green-hover: #356940; /* A slightly darker green for hover effects */
    --dark-text: #000000;
    --body-text: #7A7A7A;
    --light-gray-bg: #f8f8f8;
    --dark-gray-text: #4d4d4d;
    --white-color: #ffffff;
    --border-color: #dddddd;
    --heading-font: 'Roboto', sans-serif;
    --body-font: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--body-font);
    color: var(--body-text);
    line-height: 1.6;
    background-color: var(--white-color);
    font-size: 17px;
}

.container {
    max-width: 61.5rem;
    margin: 0 auto;
    padding: 0 1.25rem; /* This is equivalent to 20px for small screen padding */
}

h1 {
    font-family: var(--heading-font);
    color: var(--dark-text);
    font-weight: 900;
}
h2 {
    font-family: var(--heading-font);
    color: var(--dark-text);
    font-weight: 900;
}
h3 {
    font-family: var(--heading-font);
    color: var(--primary-green);
    font-weight: 500;
}
h4 {
    font-family: var(--heading-font);
    color: var(--dark-text);
    font-weight: 700;
}
h5 {
    font-family: var(--heading-font);
    color: var(--dark-text);
    font-weight: 700;
}

h1 { font-size: 2.4rem; line-height: 2.4rem; }
h2 { font-size: 2.6rem; margin-bottom: 1.4rem; line-height: 2.6rem; }
h3 { font-size: 1.6rem; margin-bottom: 1rem; line-height: 1.6rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.5rem; line-height: 1.2rem;}
h5 { font-size: 1.1rem; margin-bottom: 0.5rem; line-height: 1.1rem;}

p { margin-bottom: 1rem; line-height: 1.6rem; }
a { color: var(--primary-green); text-decoration: none; }
img { max-width: 100%; height: auto; }

/* =========== Buttons =========== */
.btn {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white-color);
    padding: 6px 28px;
    border-radius: 24px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}
.btn:hover { background-color: var(--primary-green-hover); }

/* =========== Header =========== */
.site-header {
    background-color: var(--white-color);
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* Adjust this value to control spacing between nav, contact, and login */
}

.site-logo img { height: 40px; }
.main-navigation ul { list-style: none; display: flex; gap: 25px; }
.main-navigation a { color: var(--dark-text); font-weight: 400; }
.main-navigation a:hover { color: var(--primary-green); }
.main-navigation .active {
    color: var(--primary-green);
    font-weight: 500;
}
.text-right {
	text-align: right;
}


/* =========== Slider Section =========== */
.slider-container {
    position: relative;
    width: 100%;
    height: 48vh; /* Adjust height as needed */
    overflow: hidden; /* This hides the other slides */
}

.slides {
    display: flex;
    height: 100%;
    transition: transform 1.0s ease-in-out; /* Slide transition */
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Dark overlay for text readability */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.slide .container {
    position: relative;
    z-index: 3;
}

.slide-content {
    /* Container properties for alignment */
    max-width: 61.5rem;
    margin: 0 auto;
    padding: 0 1.25rem;
    width: 100%;
    
    /* Original styles */
    color: var(--white-color);
    position: relative;
    z-index: 3;
}
.slide-content h1 {
	color: var(--white-color);
	padding-bottom: 0.8rem;
}
/* Add these rules to shorten the text lines inside the slider */
.slide-content .slide-heading {
    max-width: 550px; /* Adjust this value as you see fit */
}

.slide-content .slide-description {
    max-width: 550px; /* Adjust this value as you see fit */
}

.slide-content .slide-heading,
.slide-content .slide-description,
.slide-content .btn {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 1.0s ease-out;
}
/* Add this to your Slider Section CSS */
.slide-description ul {
    list-style-position: inside;
    margin-top: 1rem;
    padding-left: 0;
}

/* Animation for the active slide's text */
.slide.active .slide-heading {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}
.slide.active .slide-description {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}
.slide.active .btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

/* Navigation Arrows */
/*.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
}
/*.slider-nav.prev { left: 15px; }*/
/*.slider-nav.next { right: 15px; }*/

/* Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--white-color);
}

/* =========== Content Sections =========== */
.content-section { padding: 80px 0; }
.content-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.content-text { flex: 1; }
.content-section.reversed .content-container { flex-direction: row-reverse; }
/* Add these new rules for the circular images */
.content-image {
    width: 365px;
    height: 365px;
    border-radius: 50%; /* This makes the container a circle */
    overflow: hidden;     /* This clips the image to the container's shape */
    flex-shrink: 0;       /* Prevents the circle from shrinking on smaller screens */
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This scales the image to fill the circle without stretching */
}

/* =========== How It Works Section =========== */
.how-it-works {
    background-color: var(--primary-green); /* Changed to the green background */
    color: var(--white-color);              /* Sets the default text color (for paragraphs) to white */
    padding: 80px 0;
    margin-bottom: 1.5rem;
}
.how-it-works h2 {
    color: var(--white-color);
    text-align: center;
}
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.step {
    padding: 1.5rem;
    text-align: left; /* Aligns all text in the steps to the left */
}

.step h4 {
    color: var(--white-color); /* Makes the step titles white */
}

.step-icon {
    background-color: var(--white-color); /* Makes the icon circle white */
    height: 70px;
    width: 70px;
    border-radius: 50%;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-icon img {
    height: 35px;
}
.steps-cta {
    text-align: center;
    margin-top: 3rem;
}
.steps-cta .btn {
	background-color: var(--white-color);
	color: var(--primary-green);}

/* =========== Difference & Pricing Sections =========== */
.difference, .pricing { padding: 80px 0; text-align: center; 
}
.difference-intro { max-width: 700px; margin: 0 auto 2rem auto; }
.pdf-viewer-container {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.pricing-content img { max-width: 500px; margin-bottom: 1rem; }
.pricing-content p { max-width: 400px; margin: 1rem auto; }

/* =========== Final CTA =========== */
.final-cta {
    background-color: var(--primary-green);
    color: var(--white-color);
    padding: 60px 0;
    text-align: center;
}
.final-cta h2 { color: var(--white-color); max-width: 600px; margin: 0 auto 1.5rem auto; }
.final-cta .btn { background-color: var(--white-color); color: var(--primary-green); }
.final-cta .btn:hover { background-color: #f0f0f0; }

/* =========== Footer =========== */
.site-footer {
    background-color: #1D1D1B;
    color: #a0a0a0;
    padding: 40px 0;
}
.footer-container { display: flex; justify-content: space-between; gap: 3rem; }
.footer-col { flex: 1; }
.footer-logo { height: 25px; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin-bottom: 1rem; }
.footer-col ul a { color: var(--white-color); }
.copyright { font-size: 0.9rem; }
.disclaimer { font-size: 0.8rem; line-height: 1.5; }
.disclaimer a { color: var(--white-color); text-decoration: underline; }

/* =========== Content Page Styling =========== */
.page-content {
    padding: 80px 0;
}

.page-content h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.exemptions-summary {
    margin-top: 3rem;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}
/* =========== Data Table Styling =========== */
.table-container {
    overflow-x: auto; 
    margin: 2.5rem 0;
}
.text-right {
    text-align: right;
}
.text-center {
    text-align: center;
}
.costs-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Prevents table from getting too cramped on small screens */
    empty-cells: show;
}

.costs-table th, 
.costs-table td {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    vertical-align: top;
}

.costs-table thead th {
    background-color: var(--light-gray-bg);
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--dark-text);
}

.costs-table .section-head {
    background-color: #e9e9e9;
    font-weight: 700;
}

.costs-table tbody tr:nth-of-type(odd) {
    background-color: var(--light-gray-bg);
}

.footnotes {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

/* =========== Resources Section =========== */
.resources {
    padding: 60px 0;
    background-color: var(--light-gray-bg);
}

.resource-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    text-align: center;
}

.resource-item img {
    width: 100%;               /* Make image fill the column horizontally */
    height: 250px;             /* Set a fixed height for all images */
    object-fit: cover;         /* Crop image to fit without distortion */
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.resource-buttons {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}
/* Add these two new rules to your Resources Section CSS */
.resource-item {
    display: flex;
    flex-direction: column; /* Stacks the items vertically */
    text-align: center;
}

.resource-item p {
    flex-grow: 1; /* Allows the paragraph to grow and fill empty space */
}

/* New Outlined Button Style */
.btn-outline {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

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

/* =========== Comprehensive Mobile Responsiveness =========== */
@media (max-width: 768px) {
    /* --- General Typography & Spacing --- */
    h1 { font-size: 2.2rem; line-height: 2.2rem; }
    h2 { font-size: 1.8rem; margin-bottom: 2rem; line-height: 1.8rem; }
    h3 { font-size: 1.5rem; line-height: 1.5rem;}
    
    .content-section,
    .how-it-works,
    .difference,
    .pricing,
    .final-cta {
        padding: 60px 0; /* Reduced vertical padding for all sections */
    }

    /* --- Header & Navigation --- */
    .header-container {
        flex-direction: column;
        gap: 20px;
    }
    .main-navigation ul {
        justify-content: center;
        flex-wrap: wrap; /* Allows nav items to wrap if needed */
        gap: 20px;
        font-weight: 400;
    }
    
    /* --- Hero Section --- */
    .hero {
        padding: 60px 0;
        text-align: center; /* Center text on mobile */
    }
    .hero-container {
        flex-direction: column;
    }
    .hero-text {
        text-align: center;
    }
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    /* --- Content & Image Sections --- */
    .content-container {
        flex-direction: column !important; /* Stacks image and text */
        gap: 2rem;
    }
    .content-text {
        text-align: center; /* Center the text below the image */
    }
    .content-text h2, .content-text h3 {
        text-align: center;
    }
    .content-image {
        width: 250px;
        height: 250px;
        margin: 0 auto 1rem auto; /* Center the circle when stacked */
    }

    /* --- "How It Works" Section --- */
    .steps-container {
        grid-template-columns: 1fr; /* Stack the steps */
        gap: 1.5rem;
    }

    /* --- Footer --- */
    .footer-container {
        flex-direction: column;
        text-align: center; /* Center footer content */
        gap: 2rem;
    }
    .footer-col ul {
        padding-left: 0; /* Remove default padding for lists */
    }
}
/* =========== New Pricing Table =========== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.pricing-tier {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    background-color: var(--white-color);
    position: relative;
    display: flex;
    flex-direction: column;
}

/**.pricing-tier.popular {
    border-color: var(--primary-green);
    border-width: 2px;
}**/

.pricing-tier h3 {
    font-weight: 700;
    color: var(--dark-gray-text);
    line-height: 0.8rem;
}

.pricing-tier .price {
    font-size: 3.0rem;
    font-weight: 900;
    color: var(--primary-green);
    margin: 1.5rem 0;
}

.pricing-tier .price span {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--dark-text);
}

.pricing-tier ul {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
    line-height: 1.2rem;
    flex-grow: 1;
}

.pricing-tier ul li {
    margin-bottom: 1rem;
    padding-left: 28px; /* Increased padding to make room for the circle */
    position: relative;
    display: flex;
    align-items: flex-start;
    min-height: 24px;
}

/* Adds a checkmark before each list item */
.pricing-tier ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0%;

    /* --- New styles to create the circle --- */
    background-color: var(--primary-green);
    color: var(--white-color);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.6rem;
    
    /* --- Flexbox to center the checkmark --- */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pricing-tier .btn {
    width: 100%;
    margin-top: 1rem;
}
/* Add these styles for the new text elements in the pricing table */
.pricing-tier .price-footnote {
    font-size: 0.8rem;
    font-style: italic;
    line-height: 0.9rem;
    min-height: 20px; /* Ensures consistent spacing even if empty */
}

.pricing-tier .tier-description {
    margin: 1.5rem 0;
    line-height: 1.3rem;
    min-height: 100px; /* Ensures consistent spacing */
	color: var(--dark-gray-text);
}

/* Adds the "Most Popular" badge */
/*.pricing-tier.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-green);
    color: var(--white-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}*/