/* ==========================================
   1. CSS VARIABLES & DESIGN TOKENS
   ========================================== */
:root {
    /* Color Palette: Earthy, premium tones mimicking natural stone, slate, and high-end construction */
    --primary-color: hsl(219, 37%, 17%);       /* Deep Slate / Navy - conveys professionalism and strength */
    --accent-color: hsl(30, 53%, 64%);        /* Warm Sandstone / Gold - adds high-end luxury feel */
    --text-dark: hsl(210, 11%, 15%);           /* Main readable text color */
    --text-light: hsl(208, 7%, 35%);   
    /* --text-light: hsl(208, 7%, 46%);          Supporting description text */
    --bg-light: hsl(210, 17%, 98%);            /* Clean light section background */
    --bg-white: hsl(0, 0%, 100%);            /* Pure white background blocks */
    --border-color: hsl(210, 14%, 89%);        /* Subtle divider borders */
    
    /* Layout Variables */
    --container-width: 1200px;
    --border-radius: 6px;
    --transition-speed: 0.3s ease;
}

/* ==========================================
   2. GLOBAL RESET & BASE STYLES
   ========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   3. REUSABLE COMPONENTS & UTILITIES
   ========================================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-speed);
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: #bc8a5b;
    border-color: #bc8a5b;
}

.btn-outline {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ==========================================
   4. HEADER & NAVIGATION
   ========================================== */
.site-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.logo span {
    color: var(--accent-color);
}

.desktop-nav {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color var(--transition-speed);
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--accent-color);
}



.phone-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
}

/* ==========================================
   5. HERO SECTION & PAGE HERO
   ========================================== */
.hero {
    /* background: linear-gradient(rgba(27, 38, 59, 0.8), rgba(27, 38, 59, 0.8)), url('k.png') center/cover no-repeat; */
    background: #000000;
    color: var(--bg-white);
    padding: 25px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Unified Page Sub-Hero Header Styles for Subpages */
.page-hero {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 70px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-hero p {
    color: #adb5bd;
    font-size: 1.1rem;
}

/* .badge {
    display: inline-block;
    background-color: rgba(212, 163, 115, 0.2);
    color: var(--accent-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid var(--accent-color);
} */

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: #e9ecef;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ==========================================
   6. TRUST & CREDIBILITY BAR
   ========================================== */
.trust-bar {
    background-color: var(--primary-color);
    /* color: var(--text-light); */
    color:hsl(0, 0%, 65%);
    padding: 20px 0;
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 1rem;
}

/* ==========================================
   7. SERVICES SECTION & SERVICE CARDS
   ========================================== */
.services-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 30px;
    transition: transform var(--transition-speed);
}

.service-card:hover {
    transform: translateY(-5px);
}

.card-img {
    height: 180px;
    background-color: #e2e8f0;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

/* Dedicated Service Page Benefits Grid */
.service-benefits-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 35px 30px;
    text-align: center;
    transition: transform var(--transition-speed);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Color Options Showcase Grid */
.color-options-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.color-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    padding-bottom: 20px;
    text-align: center;
}

.color-sample {
    height: 180px;
    background-color: #cbd5e1;
    margin-bottom: 20px;
}

.color-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* ==========================================
   8. ENGINEERING TRANSPARENCY SECTION
   ========================================== */
.engineering-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.split-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.split-text p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
}

.check-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.split-visual {
    height: 350px;
    background-color: #e2e8f0;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 500;
}

/* ==========================================
   9. PROCESS SECTION
   ========================================== */
.process-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    position: relative;
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(212, 163, 115, 0.3);
    display: block;
    margin-bottom: 10px;
}

.step-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-light);
}

/* ==========================================
   10. PORTFOLIO GALLERY & FILTER BAR
   ========================================== */
.portfolio-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.filter-section {
    background-color: var(--bg-light);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all var(--transition-speed);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.portfolio-item {
    height: 280px;
    background-color: #cbd5e1;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(27, 38, 59, 0.9));
    color: var(--bg-white);
    padding: 20px;
    font-weight: 600;
}

/* Extended Portfolio Grid for Dedicated Portfolio Page */
.portfolio-gallery-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.portfolio-grid-extended {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform var(--transition-speed);
}

.portfolio-card:hover {
    transform: translateY(-5px);
}

.card-img-placeholder {
    height: 240px;
    background-color: #cbd5e1;
}

.card-info {
    padding: 25px;
}

.location-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.card-info h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.card-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==========================================
   11. TESTIMONIALS SECTION
   ========================================== */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 35px 30px;
}

.stars {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--text-dark);
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.5;
}

.client-name {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
}

/* ==========================================
   12. ABOUT & TEAM SECTION STYLES
   ========================================== */
.story-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.team-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    padding-bottom: 30px;
    text-align: center;
    transition: transform var(--transition-speed);
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-img-placeholder {
    height: 250px;
    background-color: #cbd5e1;
    margin-bottom: 20px;
}

.team-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.team-role {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.team-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    padding: 0 20px;
}

.standards-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.standard-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 35px 30px;
    text-align: center;
}

.standard-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.standard-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==========================================
   13. QUOTE SECTION, FORM & CTA BANNERS
   ========================================== */
.quote-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.quote-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.quote-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.quote-intro p {
    color: #adb5bd;
    margin-bottom: 20px;
}

.direct-call {
    font-size: 1.1rem;
}

.direct-call strong {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.quote-form {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    color: var(--text-dark);
}

.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
}

.privacy-note{
    padding: 12px 0 ;
    font-size: 0.75rem;
    text-align: center;
}


.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.cta-banner-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.cta-banner-box {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.cta-banner-text {
    max-width: 600px;
}

.cta-banner-text h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-banner-text p {
    color: #adb5bd;
}

/* ==========================================
   14. FOOTER & MOBILE STICKY BAR
   ========================================== */
.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    /* margin-bottom: 60px; Leaves space for mobile sticky bar */
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    margin: 0 10px;
}

/* .mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 10px;
    z-index: 9999;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
} */

/* Responsive Media Query for Mobile screens */
@media (max-width: 768px) {
    /* .desktop-nav, .header-cta {
        display: none;
    } */
         .desktop-nav {
        display: none;
    }
    
.header-cta {
font-size: 14px;
padding: 4px;
}
    .hero h1, .page-hero h1 {
        font-size: 2.2rem;
    }
    .split-layout, .quote-container, .cta-banner-box {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
    }

    .quote-form{
        text-align: left;
    }
    /* .mobile-sticky-bar {
        display: flex;
        gap: 10px;
    }
    .mobile-btn {
        flex: 1;
        padding: 12px;
        text-align: center;
        text-decoration: none;
        font-weight: 700;
        border-radius: var(--border-radius);
    }
    .call-btn {
        background-color: var(--primary-color);
        color: var(--bg-white);
    }
    .quote-btn {
        background-color: var(--accent-color);
        color: var(--primary-color);
    } */
}