/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Root Variables */
:root {
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Color Variables - Heraldic Construction Theme */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Affordable Lawn & Order Green Color Palette - WCAG AA Compliant */
    --green-primary: #267033;
    --green-dark: #1e5a2e;
    --green-light: #85c88a;
    --green-lighter: #c8e6c9;
    --green-accent: #4caf50;
    --light-gray: #F0F0F0;
    --accent-gray: #E0E0E0;
    --white: #ffffff;
    --off-white: #f8f9fa;

    /* Brand color mappings for component compatibility */
    --orange-50: #e8f5e9;
    --orange-100: #c8e6c9;
    --orange-200: #a5d6a7;
    --orange-300: #85c88a;
    --orange-700: #388e3c;
    --orange-800: #2e7d32;
    --red-100: #fee2e2;
    --red-600: #dc2626;
    
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    line-height: 1.5;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Global Focus Styles for Accessibility */
*:focus {
    outline: 3px solid var(--green-primary);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--green-primary);
    outline-offset: 2px;
}

/* Typography */
.font-serif {
    font-family: var(--font-serif);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

/* Container */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1280px;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.w-full {
    width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to Content Link */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 600;
    z-index: 10001;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 1rem;
}

/* Section Narrow Container */
.section-narrow {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .section-narrow {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
    white-space: nowrap;
}

@media (min-width: 640px) {
    .btn {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

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

.btn-primary:hover {
    background: var(--green-dark);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Navigation Base Styles */
nav {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

nav a {
    font-family: var(--font-sans);
    transition: 0.25s ease-in-out all;
    text-decoration: none;
    color: var(--black);
}

nav a:hover {
    color: var(--green-primary);
}

nav .phone span,
nav .phone p {
    transition: 0.25s ease-in-out all;
}

nav .phone:hover span,
nav .phone:hover p {
    color: var(--green-primary);
}

/* Main Navigation Container */
.main-nav {
    position: fixed;
    z-index: 999;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1.5rem;
    max-width: 1400px;
    width: 100%;
}

@media (min-width: 1024px) {
    .main-nav {
        top: 24px;
    }
}

@media (max-width: 640px) {
    .main-nav {
        max-width: 90% !important;
    }
}

/* Nav Container (Flexbox Layout) */
.nav-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

@media (min-width: 1024px) {
    .nav-container {
        flex-wrap: wrap;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Logo Styles */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 0;
    transition: opacity 0.2s;
}

@media (max-width: 1024px) {
    .nav-logo {
        padding-left: 1rem;
    }
}

@media (min-width: 768px) {
    .nav-logo {
        gap: 0;
    }
}

@media (max-width: 640px) {
    .nav-logo {
        padding-left: 0;
    }
}

.nav-logo:hover {
    opacity: 0.8;
}

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

@media (max-width: 640px) {
    .nav-logo img {
        height: 40px;
    }
}

/* Nav Actions Container */
.nav-actions {
    display: flex;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .nav-actions {
        order: 2;
        gap: 0;
    }
}

/* Phone Button Styles */
.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .nav-phone {
        margin-right: 0.5rem;
    }
}

@media (max-width: 640px) {
    .nav-phone {
        margin-right: 0 !important;
    }
}

.nav-phone-content {
    display: block;
}

@media (max-width: 640px) {
    .nav-phone-content {
        display: none;
    }
}

.nav-call-label {
    font-size: 14px;
    color: var(--gray-600);
    display: block;
}

.nav-call-number {
    font-weight: 600;
    color: var(--black);
    margin: 0;
}

/* Mobile Toggle Button */
.nav-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
    border-radius: 0.25rem;
    color: var(--black);
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-mobile-toggle:focus {
    outline: none !important;
}

@media (min-width: 768px) {
    .nav-mobile-toggle {
        display: none;
    }
}

button[data-collapse-toggle="navbar-sticky"] {
    outline: none;
}

button[data-collapse-toggle="navbar-sticky"] .close {
    display: none;
}

button[data-collapse-toggle="navbar-sticky"].active .close {
    display: block;
    min-width: 32px;
    height: auto;
}

button[data-collapse-toggle="navbar-sticky"].active .open {
    display: none;
}

/* Hero Section - With Form */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 1rem 3rem;
}

@media (min-width: 640px) {
    .hero {
        padding: 8rem 1.5rem 3rem;
    }
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1.5fr 1fr;
        gap: 3rem;
        padding: 0 2rem;
    }
}

.hero-content {
    position: relative;
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-content {
        text-align: left;
    }
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-title em {
    font-style: italic;
    color: var(--green-light);
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.125rem;
    }
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

/* Hero Form Styles */
.hero-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 550px;
    margin-left: auto;
}

@media (min-width: 640px) {
    .hero-form-container {
        padding: 2.5rem;
    }
}

.hero-form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1.5rem;
    text-align: center;
}

@media (min-width: 640px) {
    .hero-form-title {
        font-size: 1.75rem;
    }
}

.hero-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-form .form-group {
    margin-bottom: 1rem;
}

.hero-form .form-row .form-group {
    margin-bottom: 0;
}

.hero-form input[type="text"],
.hero-form input[type="email"],
.hero-form input[type="tel"],
.hero-form select,
.hero-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
    font-family: var(--font-sans);
    background: white;
}

.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus {
    outline: none;
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px rgba(0, 112, 64, 0.1);
}

.hero-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.hero-form textarea {
    resize: vertical;
    min-height: 80px;
}

.hero-form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--green-primary);
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.hero-form-submit:hover {
    background: var(--green-dark);
}

.hero-form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 0.75rem;
}

/* Sections */
section {
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    section {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    section {
        padding: 5rem 0;
    }
}

#services {
    position: relative;
    z-index: 2;
    background-color: var(--gray-50);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    color: var(--black);
    margin-bottom: 1rem;
    text-align: center;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-title em {
    font-style: italic;
    color: var(--green-primary);
}

.section-description {
    font-size: 1rem;
    color: var(--gray-700);
    max-width: 768px;
    margin: 0 auto 3rem;
    text-align: center;
}

@media (min-width: 640px) {
    .section-description {
        font-size: 1.125rem;
        margin-bottom: 4rem;
    }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease-out;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-card-image {
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 300px;
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.3) 50%, 
        transparent 100%);
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: white;
    z-index: 1;
}

@media (min-width: 640px) {
    .service-card-content {
        padding: 1.5rem;
    }
}

.service-card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .service-card-title {
        font-size: 1.5rem;
    }
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.875rem;
}

.service-feature {
    display: flex;
    align-items: center;
}

.service-feature::before {
    content: '•';
    margin-right: 0.5rem;
    color: var(--green-light);
}

/* Value Props Grid */
.value-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .value-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.value-card {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }
.value-card:nth-child(4) { animation-delay: 0.4s; }
.value-card:nth-child(5) { animation-delay: 0.5s; }
.value-card:nth-child(6) { animation-delay: 0.6s; }

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

.value-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .value-icon {
        width: 4rem;
        height: 4rem;
        margin-bottom: 1.5rem;
    }
}

/* All value icons now use green/gold color scheme */
.value-icon {
    background: var(--orange-100);
    color: var(--green-primary);
}

.value-icon.blue,
.value-icon.blue,
.value-icon.purple,
.value-icon.orange,
.value-icon.red,
.value-icon.teal {
    background: var(--orange-100);
    color: var(--green-primary);
}

.value-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--black);
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .value-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

.value-description {
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.75;
}

@media (min-width: 640px) {
    .value-description {
        font-size: 1rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    padding: 5rem 0;
    background: var(--gray-50);
    overflow: hidden;
}

.testimonials-section .section-title {
    color: var(--black);
    text-align: center;
    margin-bottom: 1rem;
}

.testimonials-section .section-description {
    color: var(--gray-700);
    text-align: center;
    margin-bottom: 3rem;
}

.reviews-wrapper {
    position: relative;
    margin: 0 0 3rem;
}

.reviews-row {
    display: flex;
    position: relative;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 5%,
        black 95%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 5%,
        black 95%,
        transparent
    );
}

.reviews-track {
    display: flex;
    gap: 1.5rem;
    animation: scrollLeftOptimized 40s linear infinite;
}

.reviews-track.paused {
    animation-play-state: paused;
}

.reviews-row:hover .reviews-track {
    animation-play-state: paused;
}

.review-card {
    flex: 0 0 380px;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    position: relative;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: #fbbf24;
    font-size: 1.5rem;
}

.review-text {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    min-height: 80px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}


.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--black);
    font-size: 1rem;
    margin-bottom: 0.125rem;
}

.author-location {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.review-source {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.875rem;
    text-decoration: none;
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.review-source:hover {
    color: var(--green-primary);
    border-color: var(--green-primary);
    background: rgba(0, 112, 64, 0.05);
}

.external-icon {
    transition: transform 0.2s;
}

.review-source:hover .external-icon {
    transform: translate(1px, -1px);
}

@keyframes scrollLeftOptimized {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-25%);
    }
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 320px;
        padding: 1.5rem;
    }

    .reviews-track {
        gap: 1rem;
        animation-duration: 35s;
    }

    .star {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .review-card {
        flex: 0 0 280px;
    }
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.trust-badge {
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.badge-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-primary);
    margin-bottom: 0.25rem;
}

.badge-text {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 640px) {
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .badge-number {
        font-size: 1.5rem;
    }
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

.contact-form-container {
    background: var(--gray-50);
    border-radius: 1rem;
    padding: 1.5rem;
}

@media (min-width: 640px) {
    .contact-form-container {
        padding: 2rem;
    }
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .form-title {
        font-size: 1.875rem;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
    font-family: var(--font-sans);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px rgba(0, 112, 64, 0.1);
}

textarea {
    resize: none;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.checkbox-label:hover {
    background: rgba(0, 112, 64, 0.05);
    border-color: var(--green-primary);
}

input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--green-primary);
}

.checkbox-text {
    color: var(--gray-700);
}

.consent-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.consent-text {
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--green-primary);
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.form-submit:hover {
    background: var(--green-dark);
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 1rem;
}

.map-container {
    background: var(--gray-100);
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 16/9;
    margin-bottom: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-info-card {
    background: linear-gradient(135deg, rgba(45, 122, 62, 0.95) 0%, rgba(30, 90, 46, 1) 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    color: white;
}

@media (min-width: 640px) {
    .contact-info-card {
        padding: 2rem;
    }
}

.contact-info-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .contact-info-title {
        font-size: 1.875rem;
    }
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* All contact icons now use green color scheme */
.contact-icon-wrapper.blue,
.contact-icon-wrapper.blue,
.contact-icon-wrapper.purple,
.contact-icon-wrapper.orange {
    background: var(--green-primary);
}

.contact-info-content h4 {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.contact-info-content p {
    color: var(--orange-100);
    margin-bottom: 0.5rem;
}

.contact-info-content .note {
    font-size: 0.875rem;
    color: var(--orange-200);
}

.contact-divider {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--orange-700);
}

.license-info {
    font-size: 0.875rem;
    color: var(--orange-200);
    text-align: center;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 1.5rem;
    background: var(--gray-50);
}

.faq-container {
    max-width: 896px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-title {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    color: var(--slate-800);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .faq-title {
        font-size: 3rem;
    }
}

.faq-subtitle {
    font-size: 1.125rem;
    color: var(--slate-600);
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: white;
    border-radius: 0.5rem;
    border: 1px solid var(--gray-200);
    padding: 0 1.5rem;
    transition: all 0.3s;
}

.accordion-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: var(--green-primary);
}

.accordion-trigger {
    width: 100%;
    text-align: left;
    font-weight: 500;
    color: var(--black);
    padding: 1.5rem 0;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    transition: color 0.2s;
    font-family: var(--font-sans);
}

.accordion-trigger:hover {
    color: var(--green-primary);
}

.accordion-trigger::after {
    content: '+';
    font-size: 1.25rem;
    transition: transform 0.3s;
    color: var(--green-primary);
}

.accordion-item.active .accordion-trigger::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content-inner {
    color: var(--gray-700);
    padding-bottom: 1.5rem;
    line-height: 1.75;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
}

.faq-cta p {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background: #ffffff;
    color: var(--black);
    padding: 4rem 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    grid-column: 1;
}

@media (min-width: 1024px) {
    .footer-brand {
        grid-column: span 1;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo-text {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--black);
}

.footer-logo-subtitle {
    font-weight: 300;
    font-size: 1.25rem;
    color: var(--black);
}

.footer-description {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
}

.footer-column h4 {
    color: var(--black);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray-700);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--gray-200);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-legal-links {
    display: flex;
    gap: 1rem;
}

.footer-legal-links a {
    color: var(--gray-600);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: var(--green-primary);
}

/* Background Utility Classes */
.bg-gray-50 {
    background-color: var(--gray-50);
}

.bg-white {
    background-color: white;
}

.bg-slate-50 {
    background-color: var(--slate-50);
}

/* Icons */
.icon {
    width: 1.5rem;
    height: 1.5rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-sm {
    width: 1.25rem;
    height: 1.25rem;
}

.icon-lg {
    width: 2rem;
    height: 2rem;
}

/* Project Showcase Section */
.showcase-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(45, 122, 62, 0.1) 0%, rgba(30, 90, 46, 0.15) 100%);
    overflow: hidden;
    position: relative;
    clip-path: polygon(
        0 3%,
        2% 1%,
        4% 3.5%,
        6% 1.5%,
        8% 2.8%,
        10% 1%,
        12% 3%,
        14% 1.8%,
        16% 2.5%,
        18% 1.2%,
        20% 3%,
        22% 2%,
        24% 3.2%,
        26% 1.5%,
        28% 2.8%,
        30% 1.8%,
        32% 3%,
        34% 2.2%,
        36% 1.5%,
        38% 2.5%,
        40% 1.8%,
        42% 3%,
        44% 2%,
        46% 3.2%,
        48% 1.5%,
        50% 2.5%,
        52% 1.8%,
        54% 3%,
        56% 2%,
        58% 3.2%,
        60% 1.5%,
        62% 2.8%,
        64% 1.8%,
        66% 3%,
        68% 2.2%,
        70% 1.5%,
        72% 2.5%,
        74% 1.8%,
        76% 3%,
        78% 2%,
        80% 3.2%,
        82% 1.5%,
        84% 2.8%,
        86% 1.8%,
        88% 3%,
        90% 2%,
        92% 3.2%,
        94% 1.5%,
        96% 2.5%,
        98% 1.8%,
        100% 3%,
        100% 97%,
        98% 99%,
        96% 97.5%,
        94% 98.5%,
        92% 97.2%,
        90% 99%,
        88% 97%,
        86% 98.2%,
        84% 97.5%,
        82% 98.8%,
        80% 97%,
        78% 98%,
        76% 96.8%,
        74% 98.5%,
        72% 97.2%,
        70% 98.2%,
        68% 97%,
        66% 98.8%,
        64% 98.5%,
        62% 97.5%,
        60% 98.2%,
        58% 97%,
        56% 98%,
        54% 96.8%,
        52% 98.5%,
        50% 97.5%,
        48% 98.2%,
        46% 97%,
        44% 98%,
        42% 96.8%,
        40% 98.5%,
        38% 97.2%,
        36% 98.2%,
        34% 97%,
        32% 98.8%,
        30% 98.5%,
        28% 97.5%,
        26% 98.2%,
        24% 97%,
        22% 98%,
        20% 96.8%,
        18% 98.5%,
        16% 97.2%,
        14% 98.2%,
        12% 97%,
        10% 98.8%,
        8% 98.5%,
        6% 97.5%,
        4% 98.2%,
        2% 97%,
        0 99%
    );
}

.showcase-section .section-title {
    color: var(--black);
    margin-bottom: 1rem;
}

.showcase-section .section-description {
    color: var(--gray-700);
    margin-bottom: 2rem;
}

.showcase-wrapper {
    position: relative;
    margin: 0;
}

.showcase-row {
    display: flex;
    position: relative;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 5%,
        black 95%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 5%,
        black 95%,
        transparent
    );
}

.showcase-track {
    display: flex;
    gap: 1.5rem;
    animation: scrollRightOptimized 30s linear infinite;
}

/* Desktop: Keep auto-scroll with hover pause */
@media (min-width: 1024px) {
    .showcase-track.paused {
        animation-play-state: paused;
    }

    .showcase-row:hover .showcase-track {
        animation-play-state: paused;
    }
}

/* Mobile/Tablet: Enable touch scrolling */
@media (max-width: 1023px) {
    .showcase-track {
        animation: none !important;
        cursor: grab;
        user-select: none;
        -webkit-user-select: none;
        touch-action: pan-y pinch-zoom;
    }

    .showcase-track:active {
        cursor: grabbing;
    }
}

.showcase-item {
    position: relative;
    flex: 0 0 450px;
    height: 350px;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    background: transparent;
    transition: transform 0.2s ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (hover: hover) {
    .showcase-item:hover {
        transform: translateY(-5px);
    }
    
    .showcase-item:hover .showcase-overlay {
        transform: translateY(0);
    }
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
    opacity: 1;
    visibility: visible;
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9),
        transparent
    );
    color: white;
    transform: translateY(100%);
    transition: transform 0.2s ease-out;
    pointer-events: none;
}

@media (hover: none) {
    .showcase-overlay {
        transform: translateY(0) !important;
    }
}

.showcase-overlay h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.showcase-overlay p {
    font-size: 0.875rem;
    color: var(--green-200);
}

@keyframes scrollRightOptimized {
    from {
        transform: translateX(-25%);
    }
    to {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .showcase-section {
        padding: 2rem 0;
        /* Simplified clip-path for mobile to reduce potential overflow */
        clip-path: polygon(
            0 2%,
            5% 1%,
            10% 2.5%,
            15% 1.5%,
            20% 2%,
            25% 1%,
            30% 2.5%,
            35% 1.5%,
            40% 2%,
            45% 1.5%,
            50% 2%,
            55% 1%,
            60% 2%,
            65% 1.5%,
            70% 2%,
            75% 1.5%,
            80% 2%,
            85% 1%,
            90% 2%,
            95% 1.5%,
            100% 2%,
            100% 98%,
            95% 99%,
            90% 98%,
            85% 98.5%,
            80% 98%,
            75% 99%,
            70% 98%,
            65% 98.5%,
            60% 98%,
            55% 99%,
            50% 98%,
            45% 98.5%,
            40% 98%,
            35% 98.5%,
            30% 98%,
            25% 99%,
            20% 98%,
            15% 98.5%,
            10% 98%,
            5% 99%,
            0 98%
        );
    }

    .showcase-item {
        flex: 0 0 320px;
        height: 240px;
    }

    .showcase-track {
        gap: 1rem;
        animation-duration: 40s;
    }
}

@media (max-width: 480px) {
    .showcase-item {
        flex: 0 0 280px;
        height: 210px;
    }
}

.showcase-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.control-hint {
    color: var(--gray-600);
    font-size: 0.875rem;
    text-align: center;
}

/* FIXED LIGHTBOX STYLES */
.project-lightbox-simple {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.2s;
}

.lightbox-content-simple {
    max-width: 800px;
    max-height: 90vh;
    width: 100%;
    background: black;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.lightbox-content-simple img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    display: block;
    background: #000;
}

.lightbox-info-simple {
    padding: 2rem;
    text-align: center;
    background: white;
    position: relative;
    z-index: 10;
    width: 100%;
}

.lightbox-info-simple h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--slate-800);
    display: block !important;
    visibility: visible !important;
}

.lightbox-info-simple p {
    color: var(--slate-600);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    display: block !important;
    visibility: visible !important;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-700);
}

.lightbox-close:hover {
    background: var(--gray-100);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .project-lightbox-simple {
        padding: 1rem;
    }
    
    .lightbox-content-simple {
        max-width: 95%;
        max-height: 95vh;
    }
    
    .lightbox-content-simple img {
        height: 50vh;
    }
    
    .lightbox-info-simple {
        padding: 1.5rem;
    }
    
    .lightbox-info-simple h3 {
        font-size: 1.5rem;
    }
}

/* Loading Animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.loading {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid rgba(0, 112, 64, 0.3);
    border-radius: 50%;
    border-top-color: var(--green-primary);
    animation: spin 0.8s linear infinite;
}

/* Success Message */
.success-message {
    position: fixed;
    top: 5rem;
    right: 1rem;
    background: var(--green-primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    animation: slideIn 0.3s ease-out;
    max-width: 90%;
}

/* Error Banner */
.error-banner {
    position: fixed;
    top: 5rem;
    right: 1rem;
    background: var(--red-600);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    animation: slideIn 0.3s ease-out;
    max-width: 90%;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .success-message,
    .error-banner {
        top: 6rem;
        left: 1rem;
        right: 1rem;
        max-width: calc(100% - 2rem);
    }
}

/* Navigation Menu Container */
#navbar-sticky {
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

@media (min-width: 768px) {
    #navbar-sticky {
        display: flex !important;
        width: auto;
        order: 1;
    }
}

@media (max-width: 767px) {
    #navbar-sticky {
        outline: none;
        position: absolute;
        top: 84px;
        left: 0;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    #navbar-sticky ul {
        border: none !important;
        margin: 0 !important;
        border-radius: 25px;
        background: #ffffff;
    }
}

/* Navigation Menu (UL) */
.nav-menu {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    margin-top: 1rem;
    font-weight: 500;
    border: 1px solid var(--gray-200);
    border-radius: 0.25rem;
    background-color: var(--gray-100);
    list-style: none;
}

@media (min-width: 768px) {
    .nav-menu {
        padding: 0;
        margin-top: 0;
        flex-direction: row;
        border: 0;
        background-color: transparent;
        gap: 1rem;
    }
}

/* Navigation Links */
.nav-link {
    display: block;
    padding: 0.5rem 0.25rem;
    color: var(--black);
    text-decoration: none;
    transition: 0.25s ease-in-out all;
}

@media (min-width: 1024px) {
    .nav-link {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

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

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--green-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 40;
    border: none;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
}

/* Lazy Loading Styles */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-image.loaded {
    opacity: 1;
}

/* Print Styles */
@media print {
    nav, .btn, .form-submit, .scroll-to-top {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    section {
        page-break-inside: avoid;
    }
}