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

body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 16px;
    line-height: 1.7;
    color: #1a1a1a;
    background-color: #f9fafb;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #2d5a27;
    color: white;
    padding: 1rem 0;
    position: relative;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

a.logo {
    text-decoration: none !important;
}

a.logo:link,
a.logo:visited,
a.logo:hover,
a.logo:active {
    text-decoration: none !important;
    color: inherit !important;
}

a.logo h1,
a.logo p,
a.logo div {
    text-decoration: none !important;
}

.logo img {
    height: 90px;
    width: auto;
    border-radius: 20px;
    object-fit: contain;
}

.logo h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.logo p {
    font-size: 1rem;
    opacity: 0.95;
    font-style: italic;
    color: #e74c3c;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(231, 76, 60, 0.4);
}

header .contact-header, header .contact-info {
    text-align: right;
}

header .contact-header p, header .contact-info p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

        /* Navigation */
        nav {
            background: #2d5a27;
            padding: 0.5rem 0;
            margin-top: 1rem;
        }

        nav ul {
            list-style: none;
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            align-items: center;
            flex-wrap: wrap;
        }

        nav li {
            white-space: nowrap;
        }

        nav a {
            color: #f5fff5;
            text-decoration: none;
            font-weight: 600;
            position: relative;
            transition: color 0.25s ease, background-color 0.25s ease;
            padding: 0.5rem 1rem;
            border-radius: 22px;
            display: block;
            font-size: 1rem;
            text-shadow: 0 1px 2px rgba(0,0,0,0.2);
        }

        /* animated underline */
        nav a::after {
            content: '';
            position: absolute;
            left: 1rem;
            right: 1rem;
            bottom: 6px;
            height: 2px;
            border-radius: 2px;
            background: linear-gradient(90deg, #90EE90, #66bb6a);
            transform: scaleX(0);
            transform-origin: center;
            transition: transform 200ms ease;
            opacity: 0.85;
        }

        nav a:hover, nav a:focus-visible {
            color: #eaffea;
            background: rgba(255,255,255,0.08);
        }
        nav a:hover::after, nav a:focus-visible::after {
            transform: scaleX(1);
        }

        .nav-cta {
            background: linear-gradient(135deg, #43a047, #2e7d32);
            color: white !important;
            padding: 0.75rem 1.5rem !important;
            border-radius: 28px;
            font-weight: 700;
            letter-spacing: 0.2px;
            transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
            white-space: nowrap;
            box-shadow: 0 6px 18px rgba(0,0,0,0.25);
        }

        .nav-cta:hover, .nav-cta:focus-visible {
            filter: brightness(1.05) saturate(1.05);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.35);
        }

        .nav-hiring {
            background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
            box-shadow: 0 6px 18px rgba(231, 76, 60, 0.3) !important;
        }

        .nav-hiring:hover, .nav-hiring:focus-visible {
            background: linear-gradient(135deg, #ec7063, #d63031) !important;
            box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4) !important;
            transform: translateY(-2px);
        }

/* Keep navbar items on a single line on desktop */
@media (min-width: 1024px) {
        nav ul {
            flex-wrap: nowrap;
            gap: 1rem;
        }
        nav a {
            font-size: 0.9rem;
            padding: 0.45rem 0.8rem;
        }
        nav a::after {
            left: 0.8rem;
            right: 0.8rem;
            bottom: 6px;
        }
        .nav-cta {
            padding: 0.6rem 1rem !important;
            border-radius: 24px;
        }
        
        .nav-hiring {
            padding: 0.6rem 1rem !important;
            border-radius: 24px;
        }
}

/* Hamburger Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 1rem;
    z-index: 1001;
    position: relative;
}

.menu-toggle-icon {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Header social icons (top right) */
.header-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-link {
    color: #f5fff5;
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: inline-flex;
}

.social-link:hover { opacity: 1; transform: translateY(-1px); }

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* Slideshow layers */
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroFade 21s infinite;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 7s; }
.hero-slide:nth-child(3) { animation-delay: 14s; }

@keyframes heroFade {
    0% { opacity: 0; transform: scale(1); }
    5% { opacity: 1; }
    30% { opacity: 1; transform: scale(1.05); }
    35% { opacity: 0; }
    100% { opacity: 0; }
}

/* Dark overlay for text readability */
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.35)); }

.hero-content { position: relative; z-index: 1; padding: 0 1rem; }

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.hero-content h3 {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    padding: 0 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.cta-button {
    background: #4CAF50;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.cta-button:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Main Content */
main {
    padding: 4rem 0;
}

.section {
    margin-bottom: 4rem;
}

        .section h2 {
            font-size: 2.8rem;
            color: #1b4d1b;
            margin-bottom: 1rem;
            text-align: center;
            font-weight: 800;
            text-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.2rem;
            color: #666;
            margin-bottom: 3rem;
            font-style: italic;
        }

        .section h3 {
            font-size: 2rem;
            color: #2d5a27;
            margin-bottom: 1rem;
            font-weight: 700;
        }

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: #ffffff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2a2a2a;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

        /* Services Section */
        .services-section {
            margin-bottom: 0;
            background: linear-gradient(135deg, #F5F5DC 0%, #E8E4C9 100%);
            padding: 3rem 0;
            margin-left: calc(-50vw + 50%);
            margin-right: calc(-50vw + 50%);
            width: 100vw;
        }
        
        .services-section .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .services-section h2 {
            font-size: 2.8rem;
            color: #1b4d1b;
            margin-bottom: 2rem;
            text-align: center;
            font-weight: 800;
            text-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }

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

                 .service-card {
             position: relative;
             overflow: hidden;
             padding: 1.875rem 1.6rem;
             border: 1px solid rgba(0,0,0,0.05);
             border-radius: 14px;
             box-shadow: 0 10px 24px rgba(0,0,0,0.07);
             transition: transform 260ms ease, box-shadow 260ms ease, filter 260ms ease;
             will-change: transform, filter;
         }

        /* Gradient backgrounds by category */
                 .landscaping-card {
             background: linear-gradient(135deg, rgba(76, 175, 80, 0.14) 0%, rgba(129, 199, 132, 0.24) 100%);
             backdrop-filter: blur(0.5px);
         }

                 .property-card {
             background: linear-gradient(135deg, rgba(161, 94, 43, 0.12) 0%, rgba(174, 142, 112, 0.20) 100%);
             backdrop-filter: blur(0.5px);
         }

        /* Hover lift + more vivid gradient */
                 .service-card:hover {
             transform: translateY(-4px);
             box-shadow: 0 14px 30px rgba(0,0,0,0.12);
         }

                 .landscaping-card:hover {
             background: linear-gradient(135deg, rgba(76, 175, 80, 0.22) 0%, rgba(102, 187, 106, 0.32) 100%);
             filter: saturate(1.08);
         }

                 .property-card:hover {
             background: linear-gradient(135deg, rgba(161, 94, 43, 0.18) 0%, rgba(174, 142, 112, 0.28) 100%);
             filter: saturate(1.08);
         }

        /* Title as interactive trigger */
        .service-card__title {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
            font-weight: 700;
            font-size: 1.3rem;
            letter-spacing: 0.2px;
            margin: 0;
            cursor: pointer;
            user-select: none;
        }

        /* Add a subtle chevron */
                 .service-card__title::after {
             content: '';
             width: 8px;
             height: 8px;
             border-right: 2px solid currentColor;
             border-bottom: 2px solid currentColor;
             transform: rotate(45deg);
             opacity: 0.6;
             transition: transform 250ms ease, opacity 250ms ease;
         }

        /* Expanded state rotates chevron */
        .service-card[aria-expanded='true'] .service-card__title::after,
        .service-card__title[aria-expanded='true']::after {
            transform: rotate(225deg);
            opacity: 1;
        }

        /* Reveal container */
                 .service-details {
             position: relative;
             margin-top: 0.75rem;
             max-height: 0;
             opacity: 0;
             transform: translateY(8px);
             transition: max-height 320ms ease, opacity 240ms ease, transform 240ms ease;
             will-change: max-height, opacity, transform;
             pointer-events: none;
         }

        /* Show details on hover (desktop) */
        @media (hover: hover) and (pointer: fine) {
            .service-card:hover .service-details {
                max-height: 500px;
                opacity: 1;
                transform: translateY(0);
                pointer-events: auto;
            }
        }

        /* Show details when title is toggled (mobile JS adds aria-expanded) */
        .service-card__title[aria-expanded='true'] + .service-details,
        .service-card[aria-expanded='true'] .service-details {
            max-height: 500px;
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        /* Service description styling */
        .service-description {
            font-size: 1.1rem;
            line-height: 1.7;
            color: #2c3e50;
            margin-bottom: 1.25rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(0,0,0,0.08);
        }

        .service-details h4 {
            font-size: 1rem;
            font-weight: 600;
            color: #2c3e50;
            margin: 1rem 0 0.75rem 0;
            letter-spacing: 0.3px;
        }

        /* Sub-services list styling */
                 .service-details ul {
             list-style: none;
             margin: 0;
             padding: 0.35rem 0 0 0;
         }

                 .service-details li {
             display: flex;
             align-items: center;
             gap: 0.6rem;
             padding: 0.6rem 0.25rem;
             line-height: 1.6;
             font-size: 1.1rem;
             border-bottom: 1px solid rgba(0,0,0,0.06);
             color: #2a2a2a;
         }

        .service-details li:last-child {
            border-bottom: none;
        }

        /* Minimalist check icon */
                 .service-details li::before {
             content: '';
             flex: 0 0 16px;
             height: 16px;
             width: 16px;
             display: inline-block;
             background: conic-gradient(from 315deg, currentColor 0 25%, #0000 0) 0 55% / 60% 60% no-repeat,
                         linear-gradient(currentColor, currentColor) 45% 70% / 2px 40% no-repeat,
                         radial-gradient(circle 65% at 50% 50%, #fff 98%, #0000 100%);
             border-radius: 50%;
             color: #2e7d32;
         }

        /* Use an overlay checkmark */
                 .service-details li::after {
             content: none;
         }

                 /* Category tint for icons */
                 .landscaping-card .service-details li::before { color: #2e7d32; }
         .property-card .service-details li::before { color: #6d4c41; }

                 /* Headings color balance */
         .service-card.landscaping-card .service-card__title { color: #1b5e20; }
         .service-card.property-card .service-card__title { color: #6d4c41; }
 
         /* Remove legacy borders to let gradients define the accent */
         .service-card.landscaping-card,
         .service-card.property-card { border-left: 0; }
 
 /* Fallback when no JS (make details visible to preserve access on touch-only) */
 .no-js .service-details {
     max-height: none;
     opacity: 1;
     transform: none;
     pointer-events: auto;
 }
 
 /* Respect reduced motion */
 @media (prefers-reduced-motion: reduce) {
     .service-card, .service-details { transition: none !important; }
     .hero-slide { animation: none !important; opacity: 1 !important; }
 }
 
 /* Mobile: 1 per row already handled; ensure ample tap area */
        @media (max-width: 768px) {
            .service-card {
                padding: 1.25rem 1rem;
            }
            .service-card__title {
                font-size: 1.1rem;
                padding: 0.25rem 0;
            }
            .service-description {
                font-size: 0.9rem;
                line-height: 1.6;
                margin-bottom: 1rem;
                padding-bottom: 0.75rem;
            }
            .service-details h4 {
                font-size: 0.95rem;
                margin: 0.75rem 0 0.5rem 0;
            }
        }

        .service-card h3 {
            color: #2d5a27;
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            font-weight: 700;
            line-height: 1.3;
        }

        .service-card ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .service-card li {
            padding: 0.5rem 0;
            border-bottom: 1px solid #f0f0f0;
            position: relative;
            padding-left: 1.5rem;
        }

        .service-card li:before {
            content: none;
        }

        .service-card li:last-child {
            border-bottom: none;
        }

        /* Landscaping Cards */
        .landscaping-card {
            border-left: 4px solid #4CAF50;
        }

        .landscaping-card h3 {
            color: #2d5a27;
        }

        .landscaping-card li:before {
            color: #4CAF50;
        }

        /* Property Cards */
        .property-card {
            border-left: 4px solid #8B4513;
        }

        .property-card h3 {
            color: #8B4513;
        }

        .property-card li:before {
            color: #8B4513;
        }

/* Social groups in contact/footer */
.contact-social, .footer-social { display: flex; align-items: center; gap: 12px; justify-content: center; }
.contact-social .social-link, .footer-social .social-link { color: #2d5a27; }
.footer-social .social-link { color: #f5fff5; }

/* Gallery Section */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

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

.gallery-cta .cta-button {
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
}

/* Gallery Page Styles */
.gallery-section {
    padding: 4rem 0;
}

.gallery-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.gallery-header h2 {
    font-size: 3.2rem;
    color: #1b4d1b;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    letter-spacing: -0.5px;
}

.gallery-subtitle {
    font-size: 1.4rem;
    color: #4a7c59;
    margin-bottom: 3rem;
    font-weight: 500;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(45, 90, 39, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 160px;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.feature-label {
    font-size: 1rem;
    color: #2d5a27;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

.gallery-categories {
    margin-top: 3rem;
}

.gallery-category {
    margin-bottom: 4rem;
}

.gallery-category h3 {
    font-size: 2.2rem;
    color: #2d5a27;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
    border-bottom: 3px solid #4CAF50;
    padding-bottom: 1rem;
    display: inline-block;
    width: 100%;
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item figcaption {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    color: #2c3e50;
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: left;
    font-weight: 400;
    border-top: 3px solid #27ae60;
    margin-top: 0;
    transition: all 0.3s ease;
    position: relative;
}

.gallery-item:hover figcaption {
    background: linear-gradient(to bottom, #ffffff, #f0f4f2);
    border-top-color: #229954;
    color: #1a252f;
}

.gallery-item figcaption::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #27ae60, #229954);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover figcaption::before {
    opacity: 1;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.gallery-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Navigation current page indicator */
.nav-current {
    background: rgba(255,255,255,0.15) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.nav-current::after {
    transform: scaleX(1) !important;
    background: linear-gradient(90deg, #ffffff, #e8f5e8) !important;
}



/* Footer */
footer {
    background: #2d5a27;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #90EE90;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section a:hover {
    color: #90EE90;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a7c59;
    color: #ccc;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .header-social {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .menu-toggle {
        display: flex;
    }

    .contact-header {
        text-align: center;
        margin-top: 1rem;
    }

    nav {
        max-height: 0;
        opacity: 0;
        margin-top: 0;
        padding: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease, margin 0.3s ease;
    }

    nav[aria-expanded="true"] {
        max-height: 600px;
        opacity: 1;
        margin-top: 1rem;
        padding: 0.5rem 0;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    nav li {
        width: 100%;
    }

    nav a {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
    }

    .gallery-item figcaption {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-content h3 {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    /* Gallery responsive styles */
    .gallery-header {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }

    .gallery-header h2 {
        font-size: 2.5rem;
    }

    .gallery-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    /* Ensure gallery content is visible on mobile (fade-in relies on JS; avoid invisible content if observer doesn't fire) */
    .gallery-section.fade-in {
        opacity: 1;
        transform: none;
    }
}

/* === Contact Hub (Unified Card) === */
.contact-grid {
	/* center the single card and remove 2-column layout for this section */
	grid-template-columns: 1fr;
	justify-items: center;
}

.contact-hub {
	max-width: 720px;
	width: 100%;
	background: linear-gradient(180deg, rgba(76,175,80,0.06) 0%, rgba(139,69,19,0.04) 100%), #ffffff;
	border-radius: 16px;
	padding: 1.5rem;
	box-shadow: 0 12px 28px rgba(0,0,0,0.08);
	border: 1px solid rgba(0,0,0,0.06);
}

.contact-hub-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.25rem;
	margin-bottom: 0.75rem;
}

.contact-hub-header h3 {
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: 0.2px;
	color: #2d5a27;
}

.contact-hub-header p {
	font-size: 0.95rem;
	opacity: 0.85;
}

.contact-section {
	padding: 0.75rem 0 0.25rem 0;
	border-top: 1px dashed rgba(0,0,0,0.08);
	margin-top: 0.75rem;
}

.contact-section:first-of-type {
	border-top: none;
	margin-top: 0;
	padding-top: 0;
}

.contact-section-title {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.2px;
	color: #4a4a4a;
	margin-bottom: 0.5rem;
}

.contact-item {
	display: grid;
	grid-template-columns: 28px 1fr;
	align-items: start;
	gap: 0.5rem 0.75rem;
	padding: 0.35rem 0;
}

.contact-item span {
	font-size: 1.05rem;
	line-height: 1.4;
	opacity: 0.9;
}

/* Map refinement */
.map-container iframe {
	height: 240px;
	border-radius: 10px;
}

/* Hours table polish */
.hours-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 6px;
	margin-top: 0.25rem;
	font-size: 0.95rem;
}

.hours-table td {
	padding: 0.4rem 0.25rem;
	vertical-align: middle;
	color: #333;
}

.hours-table tr td:first-child {
	font-weight: 600;
	color: #2d5a27;
	width: 55%;
}

.hours-table tr td:last-child {
	text-align: right;
	color: #555;
}

@media (max-width: 768px) {
	.contact-hub {
		max-width: 100%;
		padding: 1.25rem;
	}
	.hours-table tr td:last-child {
		text-align: left;
	}
}

/* Form Result Messages */
.form-result {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    font-weight: 600;
    line-height: 1.6;
}

.form-result.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-result.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-result.success a,
.form-result.error a {
    color: inherit;
    text-decoration: underline;
    font-weight: bold;
}

/* Form loading state */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


/* File Sharing Header */
.file-sharing-header {
    margin-bottom: 1.5rem;
}

.file-sharing-title {
    font-size: 1.0rem;
    color: #2d5a27;
    font-weight: 700;
    margin-bottom: 0.5rem;
    border-bottom: 3px solid #4CAF50;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.file-sharing-subtitle {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* File Sharing Container */
.file-sharing-container {
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    border-radius: 12px;
    padding: 1.8rem;
    margin-top: 0.5rem;
    border: 2px solid #e0e0e0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.file-sharing-option {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e8e4c9;
}

.file-sharing-option:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.file-option-icon {
    font-size: 2.2rem;
    min-width: 50px;
    text-align: center;
    padding-top: 0.25rem;
}

.file-option-content {
    flex: 1;
}

.file-option-content h4 {
    color: #2d5a27;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.file-option-content p {
    margin: 0.5rem 0;
    line-height: 1.5;
    color: #444;
}

/* Email Address Styling */
.email-address {
    margin: 0.75rem 0 !important;
}

.email-link {
    color: #2d5a27;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
    padding: 0.5rem 1rem;
    background: #f0f8f0;
    border-radius: 6px;
    border: 2px solid #4CAF50;
    display: inline-block;
    transition: all 0.2s ease;
}

.email-link:hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

/* Important Note */
.important-note {
    background: #fff8e1;
    border-left: 4px solid #ffb300;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.important-note strong {
    color: #e67e22;
}

/* File Link Input */
.file-link-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #E8E4C9;
    border-radius: 6px;
    font-size: 1rem;
    margin-top: 0.75rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.file-link-input:focus {
    outline: none;
    border-color: #2d5a27;
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

/* Phone Number */
.phone-number {
    margin: 0.75rem 0 !important;
}

.phone-number a {
    color: #2d5a27;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: #f0f8f0;
    border-radius: 6px;
    border: 2px solid #4CAF50;
    display: inline-block;
    transition: all 0.2s ease;
}

.phone-number a:hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .file-sharing-title {
        font-size: 1.3rem;
    }
    
    .file-sharing-container {
        padding: 1rem;
        margin-top: 0.5rem;
    }
    
    .file-sharing-option {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .file-option-icon {
        margin-bottom: 0.5rem;
    }
    
    .file-option-content {
        width: 100%;
        box-sizing: border-box;
    }
    
    .file-option-content h4 {
        font-size: 1rem;
        word-wrap: break-word;
    }
    
    .file-option-content p {
        font-size: 0.9rem;
        word-wrap: break-word;
    }
    
    .email-address {
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .email-link {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0.6rem 0.75rem;
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center;
        white-space: normal;
    }
    
    .phone-number {
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
    }
    
    .phone-number a {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0.6rem 0.75rem;
        font-size: 0.9rem;
        text-align: center;
        white-space: normal;
    }
    
    .important-note {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-top: 0.75rem;
        white-space: normal;
    }
    
    .important-note strong {
        display: block;
        margin-bottom: 0.25rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Symmetrical services layout: 2 columns centered on desktop */
@media (min-width: 900px) {
        .services-grid {
            grid-template-columns: repeat(2, minmax(300px, 1fr));
            max-width: 980px;
            margin-left: auto;
            margin-right: auto;
            justify-items: stretch;
        }
}

/* Add space after the second beige section only */
#property.services-section {
    margin-bottom: 3rem;
}