:root {
    /* High-conversion color palette */
    --primary-color: #1a4d2e;
    /* Deep forest green for trust */
    --secondary-color: #4f6f52;
    /* Lighter green for accents */
    --accent-color: #fca311;
    /* Bright safety orange for CTAs */
    --accent-hover: #e5930f;

    --bg-color: #f8f9fa;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --card-bg: #ffffff;

    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.2);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}

body {
    background-color: var(--bg-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.accent {
    color: var(--accent-color);
}

/* --- Buttons --- */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.cta-button.primary {
    background-color: var(--accent-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.cta-button.primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo-icon {
    color: var(--accent-color);
    font-size: 1.75rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-cta {
    background-color: var(--primary-color);
    color: white;
}

.nav-cta:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
    /* Offset for navbar */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 77, 46, 0.9) 0%, rgba(26, 77, 46, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    color: white;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.trust-badge .fa-star {
    color: #fbbf24;
}

.trust-badge span {
    font-weight: 500;
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Hero Form Card */
.hero-form-card {
    background-color: var(--glass-bg);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    animation: slideUp 0.8s ease-out forwards;
}

.hero-form-card h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.hero-form-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

#lead-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#lead-form input,
#lead-form select {
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.8);
}

#lead-form input:focus,
#lead-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 77, 46, 0.1);
    background-color: white;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
    background-color: var(--accent-color);
    color: white;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.privacy-note {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero p {
        margin: 0 auto 2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-actions {
        flex-direction: column;
    }
}

/* --- Utilities --- */
.text-center {
    text-align: center;
}

.section-padding {
    padding: 5rem 0;
}

.section-title {
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Trust Signals --- */
.trust-section {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.trust-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.trust-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-item {
        justify-content: flex-start;
    }
}

/* --- Services Section --- */
.services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.service-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card-content {
    padding: 2.5rem;
    border-top: 4px solid var(--accent-color);
    flex-grow: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background-color: rgba(26, 77, 46, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Reviews Section --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--accent-color);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.review-card .stars {
    color: #fbbf24;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.review-card p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.review-card .reviewer {
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

.bottom-cta {
    background-color: #111827; /* Dark charcoal */
    padding: 6rem 0;
}

.bottom-cta h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.bottom-cta p {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 2rem;
}

/* Update the CTA button inside the orange section to stand out */
.bottom-cta .cta-button.primary.large {
    background-color: white;
    color: var(--accent-color);
}

.bottom-cta .cta-button.primary.large:hover {
    background-color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.large {
    font-size: 1.25rem;
    padding: 1rem 2.5rem;
}

/* --- Footer --- */
.footer {
    background-color: #111827;
    /* Dark charcoal */
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: #9ca3af;
    margin-top: 1.5rem;
    max-width: 400px;
}

.footer h4 {
    font-family: inherit;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.footer-links a,
.footer-contact p {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.footer-contact p a {
    color: var(--accent-color);
    font-weight: 700;
}


.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact i {
    width: 20px;
    color: var(--accent-color);
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #6b7280;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}