/* ========================================
   BUILDNAIJA HOMES & PROPERTIES
   Main Stylesheet
   Version: 5.0 (Final)
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #1A5C4A;        /* Darker corporate green (was #1F6E4E) */
    --secondary: #2E8F63;
    --accent: #D4A02B;         /* Muted gold (was #E8A93A) */
    --text: #17352E;
    --background: #F6F4EE;
    --vision-green: #1F6E4E;   /* Vision card green - used for footer & buttons */

    --primary-dark: #13493A;   /* Even darker for gradients (was #195a40) */
    --primary-light: #3a8f6e;
    --accent-light: #c99a2a;   /* Slightly lighter gold (was #f5c96a) */
    --text-light: #4a6a5a;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --container: 1200px;
    --gap: 2rem;

    --shadow: 0 8px 30px rgba(23, 53, 46, 0.08);
    --shadow-hover: 0 16px 48px rgba(23, 53, 46, 0.14);
    --radius: 8px;

    --transition: 0.25s ease;
}

/* ---------- Reset & Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--background);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color var(--transition);
}

a:hover {
    color: var(--secondary);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text);
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

.section-title {
    margin-bottom: 0.5rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 640px;
    margin-bottom: 2.5rem;
}

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 92, 74, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: var(--text);
    border-color: var(--accent);
}
.btn-accent:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: var(--text);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 160, 43, 0.3);
}

.btn-gold {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-gold:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: var(--text);
}

.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.85rem; }
.btn-lg { padding: 1.1rem 2.8rem; font-size: 1.05rem; }

/* ========================================
   HEADER - UPDATED with client requests
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 92, 74, 0.08);
    transition: all var(--transition);
    padding: 0.6rem 0;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: 0.4rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Logo - More Visible & Bolder */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo img {
    height: 60px;              /* Increased from 50px */
    width: auto;
    background: #ffffff;       /* White background to make it pop */
    padding: 4px 8px;          /* Inner spacing */
    border-radius: 6px;        /* Slightly rounded corners */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);  /* Stronger shadow */
    transition: all var(--transition);
    display: block;
}

.logo img:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transform: scale(1.02);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800; /* Bolder */
    font-size: 1.4rem; /* Slightly larger */
    color: #000000; /* Black - more visible */
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* "Naija" in green - as requested */
.logo-text .naija-green {
    color: #1F6E4E; /* Vision green */
}

.logo-text .logo-dot {
    color: #1F6E4E;
}

/* Navigation - Updated: Larger font, black color, more visible */
.nav-list {
    display: flex;
    align-items: center;
    gap: 2.2rem; /* Slightly more spacing */
}

.nav-list a {
    font-weight: 600; /* Increased from 500 */
    font-size: 1rem; /* Increased from 0.95rem */
    color: #000000; /* Black - more visible */
    position: relative;
    padding: 0.3rem 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px; /* Slightly thicker */
    background: #1F6E4E; /* Vision green */
    transition: width var(--transition);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list a:hover {
    color: #1F6E4E; /* Vision green on hover */
}

/* Navigation CTA Button - Green background, white text */
.nav-cta {
    margin-left: 0.5rem;
}

.nav-cta .btn {
    background: #1F6E4E !important; /* Vision green - force override */
    color: #FFFFFF !important; /* White text - force override */
    border-color: #1F6E4E !important;
    white-space: nowrap;
    font-size: 0.85rem;
    padding: 0.6rem 1.4rem;
    font-weight: 600;
}

.nav-cta .btn:hover {
    background: #2E8F63 !important; /* Secondary green on hover */
    border-color: #2E8F63 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(31, 110, 78, 0.3);
}

@media (max-width: 768px) {
    .nav-cta .btn {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
        white-space: normal;
    }
}

/* ---------- Hamburger ---------- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.3rem;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #000000; /* Black */
    border-radius: 2px;
    transition: all 0.25s ease;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Mobile Nav ---------- */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        align-items: flex-start;
        box-shadow: -8px 0 40px rgba(0,0,0,0.08);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        border-left: 1px solid rgba(26, 92, 74, 0.06);
    }

    .nav-list.open {
        right: 0;
    }

    .nav-list a {
        font-size: 1.2rem;
        width: 100%;
        padding: 0.6rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.04);
        color: #000000;
    }

    .nav-list a::after {
        display: none;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
    }
    .nav-cta .btn {
        display: block;
        text-align: center;
    }

    /* Overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(23, 53, 46, 0.4);
        z-index: -1;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* ---------- Container ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Grid Helpers ---------- */
.row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--gap);
}

/* ---------- Section Spacing ---------- */
section {
    padding: 5rem 0;
}
@media (max-width: 768px) {
    section {
        padding: 2.5rem 0;
    }
}

/* ---------- Badge ---------- */
.badge {
    display: inline-block;
    background: rgba(212, 160, 43, 0.15);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(212, 160, 43, 0.2);
}

/* ---------- Bold Tagline ---------- */
.tagline-bold,
.hero-content h1 strong,
.about-text .tagline strong,
.footer-brand p strong,
blockquote strong {
    font-weight: 700;
}

/* ========================================
   HERO
   ======================================== */
.hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    background: var(--background);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero .row {
    align-items: center;
}

.hero-content {
    grid-column: span 6;
}

.hero-content h1 {
    margin-bottom: 1.2rem;
}

.hero-content h1 .highlight {
    color: var(--primary);
    position: relative;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image {
    grid-column: span 6;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    position: relative;
    min-height: 400px;
    background: #e0ddd6;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

@media (max-width: 992px) {
    .hero-content { grid-column: span 12; text-align: center; }
    .hero-content p { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-image { grid-column: span 12; min-height: 280px; margin-top: 1rem; }
    .hero-image img { min-height: 280px; }
    .hero { padding-top: 6rem; min-height: auto; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 1rem; }
    .hero-buttons .btn { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
}

/* ========================================
   PROPERTY SEARCH
   ======================================== */
.search-section {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem 2.5rem;
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
    align-items: end;
}

.search-grid .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.search-grid label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.search-grid select,
.search-grid input {
    padding: 0.7rem 1rem;
    border: 1px solid #e0ded8;
    border-radius: 6px;
    background: var(--background);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    transition: border var(--transition);
    width: 100%;
}

.search-grid select:focus,
.search-grid input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 92, 74, 0.1);
}

.search-grid .btn {
    padding: 0.7rem 1.8rem;
    width: 100%;
}

@media (max-width: 768px) {
    .search-section {
        padding: 1rem;
        margin-top: -1rem;
    }
    .search-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .search-grid .btn {
        width: 100%;
    }
}

/* ========================================
   FEATURED PROPERTIES & PROPERTY CARDS
   ======================================== */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.property-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.property-card-image {
    height: 220px;
    background: #ddd8d0;
    position: relative;
    overflow: hidden;
}

.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.2rem 0.9rem;
    border-radius: 50px;
    letter-spacing: 0.04em;
}

.property-card-badge.sold { background: #c0392b; }
.property-card-badge.reserved { background: var(--accent); }
.property-card-badge.coming-soon { background: #2c3e50; }
.property-card-badge.under-construction { background: #2980b9; }

.property-card-body {
    padding: 1.5rem;
}

.property-card-body .category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    font-weight: 500;
}

.property-card-body h3 {
    font-size: 1.2rem;
    margin: 0.2rem 0 0.3rem;
}

.property-card-body .location {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.6rem;
}

.property-card-body .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.property-card-body .specs {
    display: flex;
    gap: 1rem;
    margin: 0.8rem 0 1.2rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.property-card-body .specs span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.property-card-body .btn {
    width: 100%;
    text-align: center;
}

@media (max-width: 1024px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .property-card-body h3 { font-size: 1rem; }
    .property-card-body .price { font-size: 1.1rem; }
    .property-card-body .specs { font-size: 0.75rem; flex-wrap: wrap; gap: 0.5rem; }
}

/* ========================================
   SERVICES
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-item {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all var(--transition);
    text-align: center;
    border-bottom: 4px solid transparent;
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--primary);
}

.service-item .icon {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
    display: block;
}

.service-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.service-item p {
    font-size: 0.9rem;
    color: #000000; /* Black - more readable */
    line-height: 1.5;
}

/* Featured service (larger) */
.service-item.featured {
    grid-column: span 2;
    grid-row: span 2;
    padding: 3rem 2rem;
    background: var(--primary);
    color: #fff;
    border-bottom-color: var(--accent);
}
.service-item.featured h4 { color: #fff; }
.service-item.featured p { color: rgba(255,255,255,0.85); }
.service-item.featured .icon { color: var(--accent); }

.service-item.featured .btn {
    margin-top: 1rem;
    background: var(--accent);
    color: var(--text);
    border-color: var(--accent);
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-item.featured {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .service-item.featured {
        grid-column: span 1;
        grid-row: span 1;
        padding: 2rem 1.5rem;
    }
    .service-item { padding: 1.2rem 1rem; }
    .service-item h4 { font-size: 0.95rem; }
    .service-item p { font-size: 0.85rem; }
}

/* ========================================
   ABOUT
   ======================================== */
.about-section {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
    align-items: center;
}

.about-grid.about-grid-single {
    grid-template-columns: 1fr;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    min-height: 320px;
    background: #ddd8d0;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
}

.about-text .tagline {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.about-text h2 {
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.2rem;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem 2rem;
    margin: 1.5rem 0;
}
.about-values li {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.about-values li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .about-grid {
        gap: 1.5rem;
    }
    .about-image { min-height: 200px; }
    .about-image img { min-height: 200px; }
    .about-values {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* ========================================
   ABOUT PAGE SPECIFIC
   ======================================== */
.about-block {
    margin-top: 3rem;
}
.about-block.highlight-box {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.about-what-we-do {
    list-style: disc;
    padding-left: 1.5rem;
    columns: 2;
    gap: 1rem;
}
.how-we-work-grid {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.how-we-work-grid li {
    display: flex;
    gap: 0.5rem;
}
.about-mvv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}
.mvv-card {
    padding: 2rem;
    border-radius: 8px;
    color: #fff;
}
.mvv-card h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}
.mvv-card.mission { background: var(--primary); }
.mvv-card.vision { background: var(--secondary); }
.mvv-card.values { background: var(--text); }
.mvv-card.values ul {
    list-style: none;
    padding: 0;
    color: rgba(255,255,255,0.9);
}
.mvv-card.values ul li { margin-bottom: 0.3rem; }
.about-cta {
    margin-top: 3rem;
    text-align: center;
}

/* ========================================
   CONTACT PAGE SPECIFIC
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #e0ded8;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.contact-info address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-info address div {
    display: flex;
    flex-direction: column;
}
.contact-info address div i {
    width: 2rem;
    margin-bottom: 0.2rem;
}
.map-placeholder {
    margin-top: 2rem;
    background: #e0ddd6;
    height: 200px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}
.map-placeholder i {
    font-size: 2rem;
    margin-right: 0.5rem;
}

/* ========================================
   PROJECT SHOWCASE
   ======================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.project-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #d5d0c8;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.project-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(23,53,46,0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: #fff;
}

.project-card .overlay h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.project-card .overlay .meta {
    font-size: 0.85rem;
    opacity: 0.85;
}

.project-card .overlay .status-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: var(--text);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.9rem;
    border-radius: 50px;
    text-transform: uppercase;
}

.project-card .overlay .btn {
    background: var(--accent);
    color: var(--text);
    border: none;
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    align-self: flex-start;
}

.project-card .overlay .btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .project-card {
        aspect-ratio: 16/9;
    }
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: #fff;
    padding: 2rem 1.8rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(26, 92, 74, 0.06);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.testimonial-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-rating {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--accent);
}

.testimonial-content {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.2rem;
    quotes: "“" "”" "‘" "’";
    flex: 1;
}

.testimonial-content::before {
    content: "“";
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
    display: block;
    margin-bottom: -1.2rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-author strong {
    font-size: 1rem;
    color: var(--text);
    font-weight: 600;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-light);
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .testimonial-card {
        padding: 1.5rem 1.2rem;
    }
    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
}

/* ========================================
   CUSTOMER JOURNEY
   ======================================== */
.journey-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.journey-step {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
}

.journey-step .step-num {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 0.8rem;
    font-size: 1.1rem;
}

.journey-step h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.journey-step p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.journey-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -0.8rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    color: var(--accent);
    opacity: 0.6;
}

@media (max-width: 1024px) {
    .journey-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    .journey-step:not(:last-child)::after { display: none; }
}

@media (max-width: 768px) {
    .journey-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ========================================
   FINAL CTA
   ======================================== */
.cta-section {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 5rem 2rem;
    border-radius: var(--radius);
    margin: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48cGF0aCBkPSJNMzAgMTBhMjAgMjAgMCAwIDEgMCA0MCAyMCAyMCAwIDAgMSAwLTQweiIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA0KSIvPjwvc3ZnPg==');
    background-size: 60px 60px;
    opacity: 0.3;
}

.cta-section * { position: relative; z-index: 1; }

.cta-section h2 {
    color: #fff;
    font-size: 2.8rem;
    max-width: 700px;
    margin: 0 auto 1rem;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    max-width: 540px;
    margin: 0 auto 2rem;
}

.cta-section .btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.cta-section .btn-outline {
    border-color: #fff;
    color: #fff;
}
.cta-section .btn-outline:hover {
    background: #fff;
    color: var(--primary);
}
.cta-section .btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text);
}
.cta-section .btn-accent:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 2.5rem 1.5rem;
        margin: 0.5rem;
        border-radius: 8px;
    }
    .cta-section h2 { font-size: 1.6rem; }
    .cta-section .btn-group { flex-direction: column; align-items: center; }
    .cta-section .btn-group .btn { width: 100%; max-width: 280px; }
}

/* ========================================
   FOOTER - Updated: Vision Green Background
   ======================================== */
.site-footer {
    background: #1F6E4E; /* Vision green - from the card */
    color: rgba(255, 255, 255, 0.9);
    padding: 4rem 0 2rem;
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 3fr 2fr 2fr 2fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand .logo-text {
    color: #fff;
    display: block;
    margin-bottom: 0.5rem;
}
.footer-brand .logo-text span { color: var(--accent); }

.footer-brand p {
    font-size: 0.9rem;
    max-width: 300px;
    line-height: 1.6;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.footer h4 {
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    font-family: var(--font-body);
    font-weight: 600;
}

/* All footer links - WHITE for visibility */
.footer ul li a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer ul li a:hover {
    color: var(--accent); /* Gold accent on hover */
}

/* Quick Links, Services, Contact */
.footer-grid a {
    color: rgba(255, 255, 255, 0.85) !important;
}
.footer-grid a:hover {
    color: var(--accent) !important;
}

.footer-contact li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.85);
}
.footer-contact li a:hover {
    color: var(--accent);
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.8rem;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: #FFFFFF !important;
    font-size: 1.1rem;
    transition: all var(--transition);
}
.footer-social a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}
.footer-bottom a {
    color: rgba(255, 255, 255, 0.7) !important;
}
.footer-bottom a:hover {
    color: var(--accent) !important;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   UTILITY
   ======================================== */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.bg-white { background: #fff; }

.placeholder-img {
    background: #e0ddd6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Scroll reveal (optional subtle) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   FLASH MESSAGES
   ======================================== */
.flash {
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}
.flash.success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.flash.error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ========================================
   PAGINATION
   ======================================== */
.pagination-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 2rem;
}
.pagination-wrapper a {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid #ddd;
    transition: all 0.2s;
}
.pagination-wrapper a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ========================================
   RESPONSIVE FORMS
   ======================================== */
@media (max-width: 768px) {
    .form-grid-2 {
        grid-template-columns: 1fr !important;
    }
    .form-grid-2 .form-group {
        grid-column: span 1 !important;
    }
    input, select, textarea {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
}

/* ========================================
   EXTRA SMALL (up to 480px)
   ======================================== */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .hero-buttons .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    .btn-lg {
        padding: 0.8rem 1.6rem;
        font-size: 0.9rem;
    }
    .property-card-body h3 {
        font-size: 1rem;
    }
    .property-card-body .price {
        font-size: 1.1rem;
    }
    .property-card-body .specs {
        font-size: 0.75rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .service-item {
        padding: 1.2rem 1rem;
    }
    .service-item h4 {
        font-size: 0.95rem;
    }
    .service-item p {
        font-size: 0.85rem;
    }
    .project-card .overlay h4 {
        font-size: 1rem;
    }
    .project-card .overlay .status-tag {
        font-size: 0.6rem;
        padding: 0.15rem 0.6rem;
    }
    .testimonial-card {
        padding: 1.2rem 1rem;
    }
    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }
    .testimonial-rating {
        font-size: 0.9rem;
    }
    .testimonial-content {
        font-size: 0.9rem;
    }
    .service-detail-main h1 {
        font-size: 1.5rem;
    }
    .breadcrumb {
        font-size: 0.8rem;
    }
    .sidebar-card .checklist li {
        font-size: 0.9rem;
    }
}

/* ========================================
   MOBILE RESPONSIVENESS FOR ABOUT & CONTACT (Overrides)
   ======================================== */
@media (max-width: 1024px) {
    .about-mvv-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-mvv-grid .mvv-card:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .about-what-we-do {
        columns: 1;
        padding-left: 1rem;
    }
    .how-we-work-grid {
        grid-template-columns: 1fr;
    }
    .about-mvv-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .about-mvv-grid .mvv-card:last-child {
        grid-column: span 1;
    }
    .about-block.highlight-box {
        padding: 1.5rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .contact-form input,
    .contact-form textarea {
        font-size: 16px;
    }
}

/* ========================================
   SERVICE HERO
   ======================================== */
.service-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(165deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.service-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(212, 160, 43, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.service-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.service-hero-breadcrumb {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.service-hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.service-hero-breadcrumb a:hover {
    color: var(--accent);
}

.service-hero-breadcrumb .separator {
    margin: 0 0.5rem;
}

.service-hero-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: inline-block;
    background: rgba(212, 160, 43, 0.15);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 160, 43, 0.2);
}

.service-hero h1 {
    color: #fff;
    font-size: 3.2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.service-hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.85;
    max-width: 500px;
    color: rgba(255, 255, 255, 0.85);
}

/* ========================================
   SERVICE CONTENT SECTION
   ======================================== */
.service-content-section {
    padding: 4rem 0 5rem;
    background: var(--background);
}

.service-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* ========================================
   SERVICE CONTENT MAIN
   ======================================== */
.service-description-wrapper {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2.5rem;
}

.service-description {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-light);
}

.service-description p {
    margin-bottom: 1rem;
}

/* ========================================
   SERVICE HIGHLIGHTS
   ======================================== */
.service-highlights {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2.5rem;
}

.service-highlights h3 {
    font-size: 1.3rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: var(--radius);
    background: var(--background);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.highlight-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(26, 92, 74, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.highlight-text h4 {
    font-size: 0.95rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.highlight-text p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

/* ========================================
   SERVICE CTA ROW
   ======================================== */
.service-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-cta-row .btn {
    min-width: 200px;
}

/* ========================================
   SERVICE SIDEBAR
   ======================================== */
.service-content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Sidebar Card Base */
.sidebar-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    box-shadow: var(--shadow-hover);
}

.sidebar-card h4 {
    font-size: 1.05rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Facts Card */
.facts-list {
    list-style: none;
    padding: 0;
}

.facts-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.facts-list li:last-child {
    border-bottom: none;
}

.fact-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.fact-value {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    text-align: right;
}

/* Why BuildNaija Homes? Card */
.why-card {
    border-left: 4px solid var(--primary);
}

.why-list {
    list-style: none;
    padding: 0;
}

.why-list li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    padding: 0.5rem 0;
    font-size: 0.92rem;
    color: var(--text-light);
}

.why-list li i {
    color: var(--primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* Sidebar CTA Card */
.sidebar-cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    padding: 2rem;
    color: #fff;
    text-align: center;
}

.cta-card-content h4 {
    color: #fff;
    font-size: 1.2rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cta-card-content p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.cta-card-content .btn-block {
    width: 100%;
    justify-content: center;
    background: var(--accent);
    color: var(--text);
    border-color: var(--accent);
}

.cta-card-content .btn-block:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: var(--text);
}

.cta-phone {
    margin-top: 1rem;
    font-size: 0.85rem;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.cta-phone i {
    color: var(--accent);
}

/* ========================================
   RESPONSIVE - SERVICE DETAIL
   ======================================== */
@media (max-width: 1024px) {
    .service-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-hero h1 {
        font-size: 2.8rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 7rem 0 3rem;
    }

    .service-hero h1 {
        font-size: 2.2rem;
    }

    .service-hero-subtitle {
        font-size: 1rem;
    }

    .service-hero-icon {
        font-size: 2.4rem;
        padding: 0.6rem 1rem;
    }

    .service-description-wrapper,
    .service-highlights {
        padding: 1.5rem;
    }

    .service-description {
        font-size: 0.98rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-cta-row {
        flex-direction: column;
    }

    .service-cta-row .btn {
        width: 100%;
        justify-content: center;
    }

    .sidebar-card {
        padding: 1.5rem;
    }

    .sidebar-cta-card {
        padding: 1.5rem;
    }

    .facts-list li {
        flex-direction: column;
        gap: 0.2rem;
    }

    .fact-value {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .service-hero {
        padding: 6rem 0 2.5rem;
    }

    .service-hero h1 {
        font-size: 1.8rem;
    }

    .service-hero-breadcrumb {
        font-size: 0.75rem;
    }

    .service-description-wrapper,
    .service-highlights {
        padding: 1.2rem;
    }

    .service-highlights h3 {
        font-size: 1.1rem;
    }

    .highlight-item {
        padding: 0.8rem;
    }

    .highlight-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .highlight-text h4 {
        font-size: 0.85rem;
    }

    .highlight-text p {
        font-size: 0.8rem;
    }

    .sidebar-cta-card .btn {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
}