:root {
    /* Brand Colors - Deep Green & Gold */
    --primary-color: #1a3c34;
    /* Deep Forest Green */
    --primary-light: #2c5e52;
    /* Lighter Green for hover */
    --accent-color: #e6b44a;
    /* Gold/Amber */
    --accent-hover: #f0c05b;
    /* Brighter Gold */

    /* Neutrals */
    --bg-light: #f4f7f5;
    /* Light Sage/Gray */
    --bg-white: #ffffff;
    --text-dark: #1f2937;
    /* Dark Gray text */
    --text-muted: #6b7280;
    /* Muted Gray */
    --border-color: #e5e7eb;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows & Radius */
    --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);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;

    /* Spacing */
    --container-max: 1280px;
    --header-height: 160px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.section-padding {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    height: var(--header-height);
    transition: transform 0.3s ease;
}

/* Intro Section */
.intro-section {
    background-color: var(--bg-white);
    padding-top: 2.5rem;
    /* Reduced from 5rem */
    padding-bottom: 2.5rem;
}

/* .intro-grid removed as it's now simple text */

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.intro-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* .intro-img removed */

@media (max-width: 768px) {
    /* Top bar style removed */

    /* Intro grid style removed */
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-self: center;
}

.logo-img {
    height: 140px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-self: start;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    justify-self: end;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--bg-white);
    margin-top: var(--header-height);
}

@media (max-width: 1024px) {
    .hero {
        background-attachment: scroll;
        background-position: center center;
    }
}

.hero-content {
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--bg-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

/* Services Section */
.services-section {
    background-color: var(--bg-light);
}

.section-header {
    margin-bottom: 3rem;
}

.section-label {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;

}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-img {
    height: 240px;
    width: 100%;
    object-fit: cover;
}

.service-info {
    padding: 2rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: var(--accent-color);
}

/* Trust Indicators */
.trust-section {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

/* Why Us Section */
/* Grid and sliding image styles removed */

.why-us-content {
    color: var(--bg-white);
}

.why-us-list {
    list-style: none;
    margin-top: 2rem;
}

.why-us-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.why-us-list i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 4px;
}

.why-us-list strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.why-us-list p {
    opacity: 0.9;
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* On mobile, maybe simpler animation or none */
    .sliding-image {
        transform: translateY(50px);
        /* Slide up instead of left on mobile structure */
    }

    .sliding-image.slide-in-active {
        transform: translateY(0);
    }
}

/* Happy Clients Section */
.happy-clients-section {
    background-color: var(--primary-color);
    color: white;
    background-image: url('hero.png');
    /* Reuse hero image for texture/background if suitable, or remove */
    background-blend-mode: overlay;
    background-size: cover;
    background-attachment: fixed;
}

@media (max-width: 1024px) {
    .happy-clients-section {
        background-attachment: scroll;
        background-position: center center;
    }
}

.happy-clients-section .section-title {
    color: white;
}

.featured-testimonial-box {
    max-width: 800px;
    margin: 3rem auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quote-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.featured-quote {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.all-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent-color);
}

.review-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.review-card .stars {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.review-card p {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CTA Bar */
.cta-banner {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white);
    text-align: center;
}

.cta-banner h2 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: #111827;
    color: #9ca3af;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-title {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #374151;
    padding-top: 2rem;
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {

    :root {
        --header-height: 140px;
    }

    .nav-menu,
    .nav-actions {
        display: none;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
    }

    .logo-img {
        height: 110px;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .container {
        padding: 0 1rem;
    }

    /* Mobile Menu State */
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-white);
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav-actions.active {
        display: flex;
        flex-direction: column;
        margin-top: 1rem;
        width: 100%;
        padding: 0 2rem 2rem;
        background: var(--bg-white);
        z-index: 999;
    }

    .btn {
        width: 100%;
    }
}

/* Modal Styles */
/* Modal Styles */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    /* Changed from flex to none */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.custom-modal.active {
    display: flex;
    /* Active state triggers flex */
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.custom-modal.active .modal-content {
    transform: translateY(0);
}

.modal-content {
    max-height: 85vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
}

/* View Management */
.hidden-view {
    display: none !important;
}

/* Service Detail Views */
.service-detail-view {
    background-color: var(--bg-white);
    min-height: 100vh;
    animation: fadeIn 0.4s ease-out;
    padding-bottom: 4rem;
}

.back-home-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    background: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.back-home-btn:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-lg);
}

.detail-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 8rem 1.5rem 4rem;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    margin-bottom: 3rem;
}

.detail-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.detail-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.detail-section {
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.detail-section h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.detail-list {
    display: grid;
    gap: 1.5rem;
}

.detail-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    font-size: 1.1rem;
}

.detail-list i {
    color: var(--accent-color);
    margin-top: 4px;
}

.highlight-box {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--accent-color);
}

.detail-cta {
    text-align: center;
    margin-top: 5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 4rem 2rem;
    border-radius: var(--radius-lg);
    color: white;
}

.detail-cta h3 {
    color: white;
    margin-bottom: 2rem;
    font-size: 2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .detail-hero {
        .detail-hero {
            padding-top: 180px;
        }
    }

    .detail-hero h1 {
        font-size: 2rem;
    }

    .back-home-btn span {
        display: none;
    }
}