/* ==========================================================================
   North Coast Landscaping - Premium Stylesheet
   ========================================================================== */

/* --- Custom Properties / Design Tokens --- */
:root {
    --bg-dark: #070a07;
    --bg-black: #0c0f0c;
    --bg-topbar: #162d19;
    /* Deep forest green */
    --accent-green: #274c2d;
    /* Premium sage/forest green */
    --accent-green-hover: #34633b;
    --text-white: #ffffff;
    --text-muted: #b5c2b6;
    --text-gray: #e2e8f0;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    color: var(--text-white);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    outline: none;
}

/* --- Layout Utility --- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* ==========================================================================
   TOP CONTACT BAR
   ========================================================================== */
.top-bar {
    background-color: var(--bg-topbar);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    padding: 10px 0;
    position: relative;
    z-index: 100;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact {
    display: flex;
    gap: 24px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 400;
}

.contact-link i {
    color: var(--text-white);
    font-size: 0.9rem;
}

.contact-link:hover {
    color: var(--text-white);
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
}

.follow-us {
    font-weight: 500;
    margin-right: 5px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.top-bar-social a {
    color: var(--text-muted);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.top-bar-social a:hover {
    color: var(--text-white);
    background-color: var(--accent-green);
    transform: translateY(-2px);
}

/* ==========================================================================
   MAIN HEADER / NAVIGATION
   ========================================================================== */
.main-header {
    background-color: var(--bg-black);
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 99px;
    /* 80% bigger (55px * 3) */
    width: auto;
    object-fit: contain;
    margin-top: -10px;
    margin-bottom: -10px;
    position: relative;
    z-index: 10;
}

/* Nav Menu Styles */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--text-white);
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

/* Horizontal line under active/hover nav links */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-green-hover);
    transition: var(--transition-smooth);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 25px;
    /* Short green line under active link, matching design mockup */
}

/* Dropdown Sub-menu */
.dropdown {
    position: relative;
}

.dropdown-icon {
    font-size: 0.7rem;
    transition: var(--transition-smooth);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: var(--bg-black);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 15px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 25px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.dropdown-menu li a:hover {
    color: var(--text-white);
    background-color: rgba(39, 76, 45, 0.2);
    padding-left: 30px;
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Header Action Button */
.btn-header {
    font-size: 0.8rem;
    padding: 12px 24px;
}

/* Mobile Hamburger Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
    z-index: 101;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   BUTTONS SYSTEM
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn:hover {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.btn-primary:hover {
    background-color: var(--accent-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(39, 76, 45, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-white);
    color: var(--text-white);
}

.btn-outline:hover {
    background-color: var(--text-white);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.btn-block {
    width: 100%;
    padding: 15px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    height: calc(100vh - var(--header-height) - 49px);
    /* Subtract header and topbar heights */
    min-height: 550px;
    display: flex;
    align-items: center;
    background-color: var(--bg-dark);
    background-image: url('hero.png');
    /* Placed image, user uploads */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Rich, dark landscaping layout-focused gradient overlay */
    background: linear-gradient(to right, rgba(5, 10, 6, 0.85) 30%, rgba(5, 10, 6, 0.6) 60%, rgba(5, 10, 6, 0.45) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
    text-align: left;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    color: var(--text-white);
    text-transform: uppercase;
}

.highlight-text {
    display: inline-block;
}

.hero-description {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-gray);
    margin-bottom: 35px;
    max-width: 550px;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 16px 36px;
    font-size: 0.9rem;
}

.btn-hero i {
    margin-right: 8px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
    background-color: #f7f9f7; /* Soft off-white with green undertone */
    padding: 100px 0;
    color: #0c0f0c;
    overflow: hidden;
}

.about-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.about-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: var(--transition-slow);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.03);
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-green-hover);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.about-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.25;
    color: #0c0f0c;
    margin-bottom: 25px;
}

.about-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #3d4a3e;
    line-height: 1.7;
    margin-bottom: 35px;
}

.about-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 30px;
}

.about-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-info-item i {
    font-size: 1.1rem;
    color: var(--accent-green-hover);
    width: 36px;
    height: 36px;
    background-color: rgba(39, 76, 45, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-info-item span {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c352d;
}

/* Responsiveness for About Section */
@media (max-width: 991px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        height: 360px;
    }
    
    .about-title {
        font-size: 2.1rem;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-image {
        height: 280px;
    }
    
    .about-title {
        font-size: 1.8rem;
    }
    
    .about-info-grid {
        flex-direction: column;
        gap: 15px;
    }
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    background-color: #ffffff;
    padding: 100px 0;
    color: #0c0f0c;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-green-hover);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.services-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.25;
    color: #0c0f0c;
}

.services-slider-container {
    display: flex;
    align-items: center;
    position: relative;
    gap: 20px;
    margin-top: 40px;
}

.services-slider-track-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 15px 5px; /* space for shadows and hover translateY */
}

.services-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 30px; /* space between cards */
}

.service-card {
    flex: 0 0 calc(33.333% - 20px); /* 3 cards visible on desktop */
    min-width: 0;
    position: relative; /* anchor absolute badge */
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    overflow: visible; /* show badge overlap */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: rgba(39, 76, 45, 0.15);
}

.service-img-wrapper {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-slow);
}

.service-card:hover .service-img {
    transform: scale(1.04);
}

.service-icon-badge {
    position: absolute;
    top: 160px; /* Align to bottom of 160px image wrapper */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    background-color: var(--accent-green);
    border: 3px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.05rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    z-index: 5;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-badge {
    background-color: var(--accent-green-hover);
    transform: translate(-50%, -50%) scale(1.1);
}

.service-info {
    padding: 35px 20px 25px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #0c0f0c;
    margin-bottom: 12px;
    line-height: 1.35;
}

.service-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
    flex-grow: 1;
}

/* Slider navigation buttons */
.slider-nav {
    width: 48px;
    height: 48px;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    z-index: 10;
    flex-shrink: 0;
}

.slider-nav:hover {
    background-color: var(--accent-green);
    color: #ffffff;
    border-color: var(--accent-green);
    transform: scale(1.05);
}

.slider-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Slider dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(39, 76, 45, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background-color: var(--accent-green);
    transform: scale(1.1);
    border-radius: 5px;
    width: 24px; /* Pill shape active dot */
}

/* Responsiveness for Services Section */
@media (max-width: 991px) {
    .service-card {
        flex: 0 0 calc(50% - 15px); /* 2 cards visible */
    }
    .services-title {
        font-size: 2.1rem;
    }
    .slider-nav {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 768px) {
    .service-card {
        flex: 0 0 100%; /* 1 card visible */
    }
    .services-slider-container {
        gap: 10px;
    }
    .services-section {
        padding: 80px 0;
    }
}

@media (max-width: 576px) {
    .slider-nav {
        display: none; /* Hide arrows on mobile, rely on swipe touch */
    }
    .services-slider-container {
        margin-top: 25px;
    }
    .services-title {
        font-size: 1.8rem;
    }
    .services-section {
        padding: 60px 0;
    }
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.why-choose-section {
    position: relative;
    padding: 80px 0;
    background-color: #070a07;
    background-image: url('why-choose-bg.jpg'); /* user background image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    overflow: hidden;
}

.why-choose-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark forest green radial gradient overlay for premium atmospheric foliage lighting */
    background: radial-gradient(circle at center, rgba(10, 25, 12, 0.85) 0%, rgba(5, 10, 6, 0.95) 100%);
    z-index: 1;
}

.why-choose-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.why-choose-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 50px;
    position: relative;
}

.why-choose-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    gap: 15px;
}

.why-choose-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    flex: 1;
}

.why-choose-icon {
    font-size: 2.2rem;
    color: #ffffff;
    opacity: 0.9;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.why-choose-item:hover .why-choose-icon {
    transform: scale(1.15) rotate(5deg);
    color: var(--text-muted);
}

.why-choose-text h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ffffff;
    line-height: 1.25;
}

.why-choose-text p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.25;
}

.why-choose-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

/* Responsive Why Choose Us */
@media (max-width: 1200px) {
    .why-choose-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .why-choose-item {
        flex: 0 0 calc(33.333% - 20px);
        min-width: 200px;
        justify-content: center;
    }
    
    .why-choose-divider {
        display: none; /* Hide dividers in grid wrap mode */
    }
}

@media (max-width: 768px) {
    .why-choose-item {
        flex: 0 0 calc(50% - 15px);
    }
    .why-choose-section {
        padding: 60px 0;
    }
    .why-choose-title {
        font-size: 1.35rem;
        margin-bottom: 35px;
    }
}

@media (max-width: 576px) {
    .why-choose-item {
        flex: 0 0 100%;
        justify-content: flex-start;
        max-width: 280px;
        margin: 0 auto;
    }
    .why-choose-grid {
        gap: 25px;
    }
}

/* ==========================================================================
   RECENT PROJECTS SECTION (BEFORE / AFTER COMPARISON SLIDER)
   ========================================================================== */
.projects-section {
    background-color: #f7f9f7; /* soft light gray-green backdrop */
    padding: 100px 0;
    color: #0c0f0c;
}

.projects-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-green-hover);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.projects-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.25;
    color: #0c0f0c;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

/* Before / After Slider CSS */
.before-after-slider {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    user-select: none;
    cursor: ew-resize;
}

.before-after-slider .img-after,
.before-after-slider .img-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.before-after-slider .img-after img,
.before-after-slider .img-before img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.before-after-slider .img-before {
    width: 50%;
    z-index: 2;
    border-right: 1px solid rgba(255, 255, 255, 0.5); /* subtle divider line */
}

/* Force image inside img-before container to stay full size of the slider */
.before-after-slider .img-before img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #ffffff;
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: auto; /* handle responds to clicks */
    cursor: ew-resize;
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    background-color: var(--accent-green);
    border: 3px solid #ffffff;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.before-after-slider:hover .slider-button {
    background-color: var(--accent-green-hover);
    transform: translate(-50%, -50%) scale(1.08);
}

.badge-label {
    position: absolute;
    top: 15px;
    padding: 6px 12px;
    background-color: rgba(7, 10, 7, 0.85);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 2px;
    pointer-events: none;
    z-index: 4;
}

.badge-before {
    left: 15px;
}

.badge-after {
    right: 15px;
}

/* Project Info block */
.project-info {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-location {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-green-hover);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.project-location i {
    font-size: 0.85rem;
}

.project-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #0c0f0c;
    margin-bottom: 12px;
    line-height: 1.3;
}

.project-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
    flex-grow: 1;
}

/* Responsive Projects Section */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .projects-section {
        padding: 80px 0;
    }
    .projects-title {
        font-size: 2.1rem;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .before-after-slider {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .projects-title {
        font-size: 1.8rem;
    }
    .projects-section {
        padding: 60px 0;
    }
    .before-after-slider {
        height: 280px;
    }
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    background-color: #ffffff;
    padding: 100px 0;
    color: #0c0f0c;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.testimonial-card {
    background-color: #f7f9f7; /* soft light gray-green backdrop */
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 4px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border-color: rgba(39, 76, 45, 0.1);
}

.testimonial-subtitle {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-green);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: var(--accent-green);
    font-size: 0.9rem;
}

.testimonial-body {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 4.5rem;
    color: var(--accent-green);
    line-height: 0.7;
    flex-shrink: 0;
    user-select: none;
    margin-top: -5px; /* offset top whitespace to align with first line */
}

.testimonial-content {
    flex-grow: 1;
}

.testimonial-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-style: normal;
    color: #2b3e2d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.testimonial-author {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #0c0f0c;
}

.testimonial-author .author-location {
    font-weight: 500;
    color: #5c6e5e;
}

/* Responsive Testimonials */
@media (max-width: 991px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .testimonial-card {
        padding: 30px 25px;
    }
}

@media (max-width: 576px) {
    .testimonial-body {
        flex-direction: column;
        gap: 15px;
    }
    .quote-mark {
        margin-top: 0;
    }
    .testimonials-section {
        padding: 60px 0;
    }
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    background-color: #f7f9f7; /* soft light gray-green backdrop */
    padding: 100px 0;
    color: #0c0f0c;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: flex-start;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
}

.contact-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-green);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.25;
    color: #0c0f0c;
    margin-bottom: 25px;
}

.contact-description {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #3d4a3e;
    line-height: 1.65;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(39, 76, 45, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.contact-detail-item:hover .contact-detail-icon {
    background-color: var(--accent-green);
    color: #ffffff;
    transform: scale(1.05);
}

.contact-detail-text h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: #0c0f0c;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-detail-text a,
.contact-detail-text p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #3d4a3e;
    transition: color 0.2s ease;
}

.contact-detail-text a:hover {
    color: var(--accent-green);
}

/* Form styling on light section background */
.contact-form {
    background-color: #ffffff;
    padding: 50px;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 22px;
}

.contact-form label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    color: #5c6e5e;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    background-color: #f7f9f7;
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #0c0f0c;
    padding: 14px 18px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent-green);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(39, 76, 45, 0.08);
}

.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23274c2d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    padding-right: 45px;
    cursor: pointer;
}

.contact-form textarea {
    resize: vertical;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .contact-form {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.main-footer {
    background-color: #0c0f0c; /* Matches site theme background */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 30px;
    color: #b5c2b6;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    max-width: 170px;
    height: auto;
    margin-bottom: 20px;
}

.brand-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.6;
    color: #8fa091;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b5c2b6;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    color: #ffffff;
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: #5c8f65; /* custom sage green matching the image */
    letter-spacing: 0.08em;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    color: #b5c2b6;
    font-family: var(--font-body);
    font-size: 0.85rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links li a:hover {
    color: #ffffff;
}

.link-arrow {
    font-size: 0.65rem;
    color: #5c8f65;
    transition: transform 0.2s ease;
}

.footer-links li a:hover .link-arrow {
    transform: translateX(3px);
    color: #ffffff;
}

.view-all-link {
    color: #5c8f65 !important;
    font-weight: 600;
}

.view-all-link:hover {
    color: #ffffff !important;
}

.contact-col .contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.4;
}

.contact-info-list li i {
    color: #5c8f65;
    font-size: 0.95rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-info-list li a {
    color: #b5c2b6;
    transition: var(--transition-smooth);
}

.contact-info-list li a:hover {
    color: #ffffff;
}

.quote-col .quote-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.5;
    color: #8fa091;
    margin-bottom: 20px;
}

.footer-quote-btn {
    padding: 12px 20px;
    background-color: var(--accent-green);
    border: 1px solid var(--accent-green);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.footer-quote-btn:hover {
    background-color: var(--accent-green-hover);
    border-color: var(--accent-green-hover);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(39, 76, 45, 0.3);
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #8fa091;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.divider-bar {
    color: rgba(255, 255, 255, 0.1);
}

.footer-bottom-left a {
    color: #8fa091;
    transition: var(--transition-smooth);
}

.footer-bottom-left a:hover {
    color: #ffffff;
}

.footer-bottom-right a.designer-link {
    color: #5c8f65;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.footer-bottom-right a.designer-link:hover {
    color: #ffffff;
}

/* Responsive Footer */
@media (max-width: 1199px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 0 20px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 30px;
    }
    .footer-col {
        margin-bottom: 10px;
    }
    .footer-logo {
        max-width: 140px;
        margin-bottom: 12px;
    }
    .brand-text {
        font-size: 0.8rem;
        margin-bottom: 15px;
        line-height: 1.5;
    }
    .footer-title {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }
    .footer-links {
        gap: 8px;
    }
    .footer-links li a {
        font-size: 0.8rem;
    }
    .contact-col .contact-info-list {
        gap: 10px;
    }
    .contact-info-list li {
        font-size: 0.8rem;
        gap: 8px;
    }
    .quote-col .quote-text {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    .footer-quote-btn {
        padding: 10px 16px;
        font-size: 0.75rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding-top: 20px;
        gap: 12px;
    }
    .footer-bottom-left {
        justify-content: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* ==========================================================================
   POPUP / MODAL SYSTEM
   ========================================================================== */
.quote-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 10, 6, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.quote-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.quote-modal-box {
    background-color: var(--bg-black);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-smooth);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.quote-modal-overlay.active .quote-modal-box {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-white);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.modal-form .form-group {
    margin-bottom: 20px;
}

.modal-form label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    padding: 12px 16px;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    border-color: var(--accent-green-hover);
    background-color: rgba(255, 255, 255, 0.05);
}

.modal-form select option {
    background-color: var(--bg-black);
    color: var(--text-white);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 991px) {
    .nav-list {
        gap: 20px;
    }

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

@media (max-width: 868px) {

    /* Top Bar adjustments */
    .top-bar-contact {
        gap: 15px;
    }

    .contact-link span {
        display: none;
        /* Icon only on small screens for email/phone to save space */
    }

    .contact-link {
        font-size: 1.1rem;
    }

    /* Hide standard CTA and Nav */
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Mobile Nav Drawer style */
    .nav-menu {
        position: fixed;
        top: calc(var(--header-height) + 45px);
        /* Header + Topbar height */
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height) - 45px);
        background-color: var(--bg-black);
        z-index: 100;
        transition: var(--transition-slow);
        align-items: flex-start;
        padding: 40px 5%;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 25px;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 5px 0;
        width: 100%;
        justify-content: space-between;
    }

    /* Dropdown inside Mobile Nav */
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background-color: rgba(255, 255, 255, 0.02);
        border: none;
        box-shadow: none;
        padding: 10px 0 0 15px;
        margin-top: 10px;
        display: none;
        min-width: 0;
        width: 100%;
    }

    .dropdown-menu.active {
        display: block;
    }

    .dropdown-menu li a {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    /* Hamburger Morph Animation */
    .menu-toggle.active .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .hamburger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 576px) {
    .top-bar {
        display: none;
        /* Hide topbar on mobile to save vertical space */
    }

    .nav-menu {
        top: var(--header-height);
        height: calc(100vh - var(--header-height));
    }

    .hero-section {
        height: auto;
        min-height: 660px;
        padding: 120px 0;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn-hero {
        width: 100%;
        padding: 14px 20px;
    }

    .quote-modal-box {
        padding: 30px 20px;
    }
}