/* --- START OF FILE styles.css --- */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --primary-green: #588157;
    --secondary-green: #3A5A40;
    --accent-sage: #A3B18A;
    --bg-cream: #F2F4F3;
    --text-dark: #333D29;
    --text-light: #656D4A;
    --border-color: rgba(0, 0, 0, 0.1);

    --transition: all 0.4s ease-in-out;
    --border-radius: 12px;
    --container-width: 1140px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lora', serif;
    color: var(--secondary-green);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: var(--primary-green);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-green);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 90px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 38px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-green);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-green);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: white;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(242, 244, 243, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo img {
    height: 100px;
}

/* Adjust as needed */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    margin-right: 30px;
}

.nav-list li {
    margin: 0 18px;
}

.nav-list a {
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
}

.nav-list a.active,
.nav-list a:hover {
    color: var(--primary-green);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    padding: calc(var(--header-height) + 80px) 0 120px;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1.2;
}

.hero-content h1 {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    border-radius: var(--border-radius);
    max-width: 450px;
}

.section-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 1;
    line-height: 0;
}

.section-divider svg {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
}

.section-divider .shape-fill {
    fill: #ffffff;
}

/* Partners Section (Replaces Stats) */
.partners {
    padding: 60px 0;
    background-color: #ffffff;
}

.partners .container {
    text-align: center;
}

.partners h3 {
    margin-bottom: 30px;
    color: var(--text-light);
    font-weight: 400;
    font-family: 'Lato', sans-serif;
    letter-spacing: 1px;
    font-size: 16px;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.partner-logo {
    max-height: 35px;
    opacity: 0.6;
    transition: var(--transition);
}

.partner-logo:hover {
    opacity: 1;
}

/* Services Section */
.services {
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 35px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-green);
}

.service-icon {
    font-size: 32px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    font-size: 16px;
}

/* About Section */
.about .container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--border-radius);
}

.about-text {
    flex: 1.2;
}

.about-text .section-header {
    text-align: left;
    margin-left: 0;
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 20px;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature i {
    color: var(--primary-green);
    margin-right: 12px;
}

.feature span {
    font-weight: 700;
}

/* Work Process Section */
.work-process {
    background-color: #ffffff;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--accent-sage);
    opacity: 0.3;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.process-step {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.process-step.left {
    left: 0;
}

.process-step.right {
    left: 50%;
}

.process-step::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--accent-sage);
    top: 32px;
    border-radius: 50%;
    z-index: 1;
}

.process-step.left::after {
    right: -8px;
}

.process-step.right::after {
    left: -8px;
}

.step-content {
    background-color: var(--bg-cream);
    padding: 30px;
    border-radius: var(--border-radius);
}

.step-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary-green);
}

/* Testimonials Section */
.testimonial-slide {
    display: none;
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-slide i {
    font-size: 28px;
    color: var(--accent-sage);
    margin-bottom: 20px;
}

.testimonial-slide p {
    font-family: 'Lora', serif;
    font-size: 22px;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 30px;
}

.author-info h4 {
    font-family: 'Lato';
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.author-info p {
    color: var(--text-light);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.testimonial-prev,
.testimonial-next {
    cursor: pointer;
    color: var(--accent-sage);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    color: var(--primary-green);
}

/* CTA Section */
.cta {
    background-color: var(--secondary-green);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 38px;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Footer */
.footer {
    padding: 80px 0 30px;
    background-color: #ffffff;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 50px;
}

.footer-logo {
    flex: 1.5;
    min-width: 250px;
}

.footer-logo img {
    height: 100px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: var(--text-light);
}

.footer-nav {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: var(--text-light);
}

.footer-col ul a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}


/* Contact & Legal Pages */
.page-hero {
    padding: calc(var(--header-height) + 60px) 0 60px;
    background: #ffffff;
    text-align: center;
}

.page-hero h1 {
    font-size: 44px;
    margin-bottom: 16px;
}

.page-hero p {
    color: var(--text-light);
}

.contact-section .container {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
}

.contact-form-wrapper {
    flex: 1.5;
    background: #ffffff;
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 8px;
    background: var(--bg-cream);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group.full-width {
    grid-column: span 2;
}

.btn-submit {
    grid-column: span 2;
}

.popup {
    /* Basic popup styles */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
}

.popup-content h3 {
    margin-bottom: 15px;
}

.popup-content p {
    margin-bottom: 30px;
}


/* Responsive */
@media(max-width: 992px) {

    .hero .container,
    .about .container {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        order: -1;
    }

    .about-text .section-header {
        text-align: center;
        margin-left: auto;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-timeline::after {
        left: 20px;
    }

    .process-step {
        width: 100%;
        padding-left: 50px;
    }

    .process-step.right {
        left: 0;
    }

    .process-step::after {
        left: 12px;
    }
}

@media(max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .mobile-toggle {
        display: block;
        font-size: 24px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding-top: 100px;
        align-items: flex-start;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        padding: 20px;
        margin: 0;
    }

    .nav-list li {
        width: 100%;
    }

    .nav .btn {
        margin: 20px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group.full-width,
    .btn-submit {
        grid-column: span 1;
    }
}

/* --- END OF FILE styles.css --- */