/* Color Variables provided by user */
:root {
    --bg-dark: #020617;      /* deep navy background */
    --bg-card: #020818;      /* slightly different dark background */
    --accent: #f5c16c;       /* gold for accents */
    --text-main: #f9fafb;    /* white/light text */
    --text-muted: #9ca3af;   /* grey for secondary text */
    --border-subtle: rgba(148, 163, 184, 0.3); /* subtle border color */
    --text-main: #FFFFFF;
}

/* Hard Reset for Layout Consistency */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    /* font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--bg-card);  */
    font-family: 'Poppins', sans-serif; /* <-- CHANGE THIS LINE */
    line-height: 1.6;
    background-color: var(--bg-card); 
    color: var(--text-main);
    margin: 0;
    padding: 0;
}

/* You may also want to ensure headings use Poppins */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600; /* Poppins looks great with a heavy weight for headings */
}
/* ================== GENERAL & HELPER STYLES ================== */

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent);
}
.logo img{
    max-width: 110px;
    width: 100%;
    height: auto;
}

.content {
    padding: 0; 
    text-align: center;
    color: var(--text-main);
    background-color: var(--bg-card);
}

.section-heading {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--accent);
}

.section-divider {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 40px 5%;
}

/* ================== HEADER STYLES ================== */

.main-header {
    background-color: var(--bg-dark); 
    padding: 15px 5%;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); 
}

.nav-menu {
    display: flex; 
    align-items: center;
}

.nav-menu a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 25px;
    font-size: 1rem;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-menu .active-btn, .nav-menu a:hover {
    color: var(--accent);
}

.cta-button {
    background-color: var(--accent);
    color: var(--bg-dark) !important; 
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

/* Mobile Menu Toggle (hidden on desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 11;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 10px;
    transition: all 0.3s linear;
}

/* ================== FOOTER STYLES ================== */

.main-footer {
    background-color: var(--bg-dark); 
    color: var(--text-muted);
    padding: 40px 5%;
    display: flex;
    flex-wrap: wrap; 
    gap: 20px 30px; 
    justify-content: space-between;
    border-top: 1px solid var(--border-subtle);
}

.main-footer h3 {
    color: var(--text-main);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section {
    flex: 1 1 30%; 
    min-width: 250px; 
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.social-icons a {
    color: var(--text-main);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

/* ================== HOME PAGE CONTENT STYLES ================== */

/* --- 🦸 HERO SECTION --- */

.hero {
    background-color: var(--bg-dark); 
    padding: 80px 5% 0; 
    display: flex; 
    justify-content: space-between;
    flex-wrap: wrap; 
    align-items: flex-start; 
    position: relative; 
}

.home-content-hero{
    min-width: 200px;
}

.hero-content-left {
    flex: 1 1 50%; 
    min-width: 250px; 
    padding-bottom: 60px; 
    text-align: left; 
}

.hero-title {
    font-size: 3.5rem; 
    margin-bottom: 20px;
    color: var(--text-main);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin: 0 0 40px 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; 
    margin-bottom: 30px;
}

.hero-actions .cta-button {
    margin: 0; 
    padding: 12px 25px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap; 
}

.primary-cta {
    background-color: var(--accent);
    color: var(--bg-dark) !important;
}

.secondary-cta {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent) !important;
}

.tertiary-cta {
    background-color: var(--bg-card); 
    color: var(--text-main) !important;
    border: 1px solid var(--text-muted);
}
.tertiary-cta:hover {
    background-color: var(--accent);
    color: var(--bg-dark) !important;
}

.hero-image-right {
    flex: 1 1 40%; 
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 250px;
    padding-top: 20px; 
    width: 100%;
}

.image-placeholder {
    width: 100%;
    max-width: 500px; 
    height: 350px;
    background-color: var(--bg-card); 
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    overflow: hidden; 
    img {
        width: 100%;
        height: 100%;
        object-fit: cover; 
    }
}

/* Hero Metrics Bar */
.hero-metrics {
    width: 90%; 
    margin: -40px auto 0; 
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    z-index: 5;
    position: relative;
}

.metric-item {
    text-align: center;
    padding: 0 10px;
    /* border-right: 1px solid var(--border-subtle); */
}

.metric-item:last-child {
    border-right: none;
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 5px;
}

.metric-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    white-space: nowrap;
}

/* --- 📜 SHORT INTRO SECTION --- */

.short-intro {
    background-color: var(--bg-card); 
    padding: 40px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.intro-box {
    max-width: 850px; 
    margin: 0 auto;
    padding: 0 20px;
}

.intro-heading {
    font-size: 2.5rem;
    color: var(--accent); 
    margin-bottom: 25px;
    line-height: 1.2;
}

.intro-body {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.intro-body strong {
    color: var(--text-main);
    font-weight: bold;
}
/* --- 🤝 WHY CHOOSE US SECTION --- */

.why-choose-us {
    padding: 60px 5%;
    background-color: var(--bg-card); 
}

.why-choose-us .section-heading {
    margin-bottom: 40px;
}

.reasons-grid {
    display: grid;
    /* Explicitly define 3 columns on desktop for the 3x2 grid */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    max-width: 1200px; /* Optional: limits grid width */
    margin: 0 auto;
}

.why-choose-us .reasons-grid {
    @media (max-width: 992px) {
        grid-template-columns: repeat(2, 1fr); 
    }
    @media (max-width: 600px) {
        grid-template-columns: 1fr; 
    }
}



.reason-item {
    background-color: var(--bg-dark); 
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

.reason-item i {
    font-size: 2.8rem; 
    color: var(--accent);
    margin-bottom: 20px;
}

.reason-item h3 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.reason-item p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ================== FEATURED PROJECTS SECTION STYLES ================== */

.featured-projects {
    padding: 60px 5%;
    background-color: var(--bg-card);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 50px;
}
.projects-grid.four-columns {
    /* Explicitly set 4 equal columns on desktop */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; /* Reduced gap for tighter fit */
}

/* Ensure that on smaller screens (like 992px or less) it falls back to 2 columns */
@media (max-width: 992px) {
    .projects-grid.four-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .projects-grid.four-columns {
        grid-template-columns: 1fr;
    }
}
.projects-grid {
    display: grid;
    /* 2 columns on desktop, minimum width 300px per column */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
    max-width: 1200px; /* Optional: limit grid width on very large screens */
    margin: 0 auto;
}

.project-card {
    display: block; /* Make the entire card clickable */
    text-decoration: none;
    background-color: var(--bg-dark);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

.project-thumbnail {
    width: 100%;
    height: 250px; /* Fixed height for visual consistency */
    background-color: var(--bg-card); /* Placeholder color */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    /* In a real site, this would be background-image or an <img> tag */
}

.project-thumbnail img {
    /* Ensures the image itself fills the container */
    width: 100%;
    height: 100%;
    /* Ensures the image covers the area without being stretched */
    object-fit: cover; 
}

.project-details {
    padding: 20px;
    text-align: left;
}

.project-details h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 5px;
}

.project-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--accent);
    background-color: rgba(245, 193, 108, 0.1); /* Light gold background */
    padding: 4px 10px;
    border-radius: 4px;
}

/* ================== MEDIA QUERY ADJUSTMENTS for Featured Projects ================== */

@media (max-width: 768px) {
    .projects-grid {
        /* On tablet, keep two columns but allow minimum width to shrink */
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 600px) {
    .projects-grid {
        /* Stack into a single column on small phones */
        grid-template-columns: 1fr;
    }

    .section-subtitle {
        margin-bottom: 30px;
    }
}
/* --- ⭐ FEATURES GRID --- */

.features-grid {
    padding: 60px 5%;
}

.grid-container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap; 
}

.feature-card {
    flex: 1 1 300px; 
    background-color: var(--bg-card); 
    padding: 30px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--text-main);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
}

/* --- 📞 BOTTOM CTA BAR --- */

.bottom-cta-bar {
    background-color: var(--bg-dark);
    padding: 50px 5%;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

.bottom-cta-bar h2 {
    color: var(--text-main);
    margin-bottom: 25px;
}


/* ================== MEDIA QUERY ADJUSTMENTS (RESPONSIVE) ================== */

@media (max-width: 992px) {
    /* General Tablet/Small Desktop Adjustments */
    .hero {
        padding: 60px 5% 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .hero-content-left {
        padding-bottom: 40px;
        text-align: center;
    }

    .hero-image-right {
        order: -1; 
        padding-bottom: 40px;
        justify-content: center;
    }

    .image-placeholder {
        max-width: 100%;
        height: 250px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .intro-heading {
        font-size: 2rem;
    }
    
    .intro-body {
        font-size: 1rem;
    }

    /* Footer Fixes */
    .main-footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        flex: 1 1 100%; 
        min-width: auto;
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--border-subtle);
    }
}

@media (max-width: 768px) {
    /* Mobile Menu Display */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none; 
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        position: absolute;
        top: 65px; 
        left: 0;
        background-color: var(--bg-card); 
        padding: 10px 5%;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5); 
        z-index: 10;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        margin: 10px 0;
        padding: 10px;
        border-bottom: 1px solid var(--border-subtle);
        text-align: center;
    }

    .cta-button {
        margin: 10px auto;
        display: block;
    }

    .hero-metrics {
        flex-wrap: wrap;
        width: 100%;
        margin: 0 auto;
        border-radius: 0;
        box-shadow: none;
        border-left: none;
        border-right: none;
    }
}

@media (max-width: 600px) {
    /* Mobile Hero Button Stack */
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .metric-item {
        flex: 1 1 45%; 
        border-bottom: 1px solid var(--border-subtle);
        border-right: none;
        padding: 15px 5px;
    }

    .metric-item:nth-child(2n) {
        border-right: none;
    }
    
    .metric-item:nth-child(2n-1) {
        border-right: 1px solid var(--border-subtle);
    }
    
    .metric-item:last-child, 
    .metric-item:nth-last-child(2) {
        border-bottom: none;
    }

    .hero-title {
        font-size: 2rem;
    }
}

@media (min-width: 322px) and (max-width: 400px) {
    .metric-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 321px) {
  
    .metric-item:nth-child(2n-1) {
        border-right: none;
    }
    .metric-item:nth-last-child(2) {
        border-bottom: 1px solid var(--border-subtle);
    }
 
}

/* ================== ABOUT PAGE SPECIFIC LAYOUTS ================== */

/* 1. Centering Hero Content on About Page */
.about-hero .hero-content-left {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.about-hero-action{ 
    display: inline-flex;
}

/* 2. OUR STORY (Text + Image Side-by-Side) */
.story-layout {
    display: flex;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.story-text {
    flex: 1 1 55%;
}

.story-image-placeholder {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
}

.image-placeholder-inner {
    width: 100%;
    height: 350px;
    background-color: var(--bg-dark);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.image-placeholder-inner img{
    width: 100%;
    /* height: 245px; */
}

.about-intro-box{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* 3. MISSION & VISION (2-Column Block) */
.mission-vision {
    display: flex;
    gap: 30px;
    padding: 60px 5% 0px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-item, .vision-item {
    flex: 1 1 50%;
    background-color: var(--bg-dark);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    border-top: 5px solid var(--accent);
}

.mission-item i, .vision-item i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.about-core {
    grid-template-columns: repeat(5, 1fr); 
    @media (max-width: 576px) {
        grid-template-columns: repeat(2, 1fr); 
    }
    @media (min-width: 577px) and (max-width: 1024px) {
        grid-template-columns: repeat(3, 1fr);     
    }
}

.about-item h3 {
    font-size: 1.1rem;
}

/* 4. TEAM LAYOUT (Image + Text Side-by-Side) */
.team-layout {
    display: flex;
    gap: 50px;
    align-items: center;
    max-width: 900px;
    margin: 0px auto;
    text-align: left;
}

.about-short{
    padding: 0px 5%;
    gap: 50px;
}

.team-image-placeholder {
    flex: 0 0 300px; /* Fixed width for image container */
    height: 350px;
}

.team-details-box {
    flex: 1;
}

.team-details-box .intro-heading {
    text-align: left;
    margin-top: 0;
}

/* 5. CORE VALUES grid adjustment (To make the cards square/look better) */
.core-values-grid .reason-item {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 6. Media Queries for About Page */

@media (max-width: 992px) {
    .story-layout, .team-layout {
        flex-direction: column;
        text-align: center;
    }

    .story-text {
        order: 2;
    }

    .story-image-placeholder, .team-image-placeholder {
        order: 1;
        width: 100%;
        margin-bottom: 20px;
    }

    .mission-vision {
        flex-direction: column;
        padding: 40px 5%;
    }
}

@media (max-width: 769px) {
    .image-placeholder-inner {
        height: 300px;
    }
    .about-short {
        margin-bottom: 80px;
        gap: 20px;
    }
    .team-layout {
        gap: 20px;
    }
    .team-image-placeholder {
        justify-items: center;
    }

    .about-short .intro-heading {
        text-align: center;
    }
    .image-placeholder-inner {
        height: auto;
        width: 400px;
    }
}

@media (max-width: 426px) {
    .about-short {
        flex-direction: column;
        margin-bottom: 50px;
        gap: 20px;
    }
    .about-short .section-heading {
        margin-bottom: 20px;
    }
    
    .image-placeholder-inner {
        width: auto;
        height: 250px;
    }
}
/* ================== EXPERTISE PAGE SPECIFIC LAYOUT ================== */

/* Centering Hero Content on Expertise Page */
.expertise-hero .hero-content-left {
    text-align: center;
    max-width: 900px; /* Constrain width for better readability */
    margin: 0 auto;
}

/* ================== SERVICES PAGE SPECIFIC LAYOUTS ================== */

/* 1. Centering Hero Content on Services Page */
.services-hero .hero-content-left {
    text-align: center;
    max-width: 900px; 
    margin: 0 auto;
}

/* 2. Project Types (Residential & Commercial) - Two Column Split */
.project-types {
    padding: 60px 5%;
    text-align: center;
}

.types-layout {
    display: flex;
    gap: 30px;
    justify-content: center;
    max-width: 1000px;
    margin: 40px auto;
}

.type-card {
    flex: 1 1 45%;
    background-color: var(--bg-dark);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

.type-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.type-card h3 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: center; /* Center list items within the card */
}

.service-list li {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* 3. Civil Works Grid */
.civil-works {
    padding-top: 40px;
    padding-bottom: 80px;
}

.civil-works .intro-heading {
    margin-bottom: 10px;
}

.civil-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.civil-item {
    background-color: var(--bg-dark);
    color: var(--text-main);
    padding: 15px 25px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1rem;
    border: 1px solid var(--border-subtle);
}

.civil-item i {
    color: var(--accent);
    margin-right: 8px;
}

/* 4. Media Queries */

@media (max-width: 768px) {
    .types-layout {
        flex-direction: column;
    }

    .type-card {
        flex: 1 1 100%;
    }
}

/* ================== PROJECTS PAGE SPECIFIC LAYOUTS ================== */

/* 1. Centering Hero Content on Projects Page */
.projects-hero .hero-content-left {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* 2. Global Project Stats (Reuses .hero-metrics from homepage) 
   No new CSS needed here, but the HTML ensures it appears below the Hero. */


/* 3. Project Detail Card Structure */
.project-showcase {
    padding: 60px 5%;
}

.project-card-detail {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card-detail.reversed {
    /* Swap the order of text and images for an alternating design */
    flex-direction: row-reverse;
}

.project-info {
    flex: 1 1 45%;
    text-align: left;
}

.project-images-grid {
    flex: 1 1 55%;
    display: grid;
    /* Default grid for 21 Century Group (4 images in a 2x2 grid) */
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.single-image-grid {
    /* Layout for projects with just one prominent image */
    grid-template-columns: 1fr;
}

.image-box {
    height: 250px;
    background-color: var(--bg-dark); /* Dark box placeholder */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    overflow: hidden;
}

.project-name {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 5px;
}

.project-type {
    display: block;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: bold;
}

.project-type i {
    color: var(--text-muted);
    margin-right: 8px;
}

.project-description {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}
.project-highlight {
    display: block; /* Ensures it's on its own line */
    font-size: 0.8rem;
    color: var(--accent); /* Use your accent color */
    margin-top: 5px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.project-divider {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 60px 5%;
}

/* 4. Media Queries for Projects Page */
@media (max-width: 992px) {
    .project-card-detail {
        flex-direction: column; /* Stack vertically */
    }

    .project-card-detail.reversed {
        flex-direction: column; /* Keep order consistent when stacked */
    }

    .project-info {
        text-align: center;
    }

    .project-images-grid {
        /* Stack 2x2 grid into 2x1 grid on tablets */
        grid-template-columns: 1fr 1fr; 
    }
}

@media (max-width: 600px) {
    .hero-metrics {
        width: 95%
    }
    .project-images-grid {
        /* Stack all images vertically on mobile */
        grid-template-columns: 1fr;
    }

    .image-box {
        height: 200px;
    }
}

@media (max-width: 321px) {
    .metric-label {
        font-size: 1.2rem;
    }
}

/* ================== CLIENTS PAGE SPECIFIC LAYOUTS ================== */

/* 1. Centering Hero Content on Clients Page */
.clients-hero .hero-content-left {
    text-align: center;
    max-width: 900px; 
    margin: 0 auto;
}

/* 2. Client Grid Adjustments (Making the six items fit well) */
.client-grid {
    /* Set to 3 columns on desktop for the 6 items (3x2 layout) */
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Specific styling for placeholder cards (Corporate/Individual) */
.placeholder-card {
    cursor: default;
    opacity: 0.8;
}

.placeholder-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.placeholder-card h3 {
    margin-top: 10px;
    margin-bottom: 5px;
}

/* 3. Trust Factors Grid (2x2 layout on desktop) */
.trust-factors-grid {
    /* Set to 2 columns on desktop for the 4 items (2x2 layout) */
    grid-template-columns: repeat(2, 1fr) !important; 
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.trust-factors-grid .reason-item i {
    font-size: 2rem;
}

/* Media Query adjustments for Client Grid */
@media (max-width: 992px) {
    .client-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .trust-factors-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 600px) {
    .client-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ================== NETWORK PAGE SPECIFIC LAYOUTS ================== */

/* 1. Centering Hero Content on Network Page */
.network-hero .hero-content-left {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* 2. Network Grid (What we give) - Using a 2x2 layout like the trust factors */
.network-list-grid {
    display: grid;
    /* 2 columns on desktop for the 4 items (2x2 layout) */
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
    max-width: 900px;
    margin: 40px auto;
}

.network-item {
    background-color: var(--bg-dark); 
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    text-align: center;
}

.network-item i {
    font-size: 2.2rem; 
    color: var(--accent);
    margin-bottom: 15px;
}

.network-item h3 {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.network-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}
a.network-link {
    text-decoration: none;
}

/* 3. Collaboration Opportunities (Reusing .types-layout for 2 columns) */

.collaboration-layout {
    /* Reuses the existing flex structure from the Services page */
    display: flex;
    gap: 30px;
    justify-content: center;
    max-width: 1000px;
    margin: 40px auto;
}

.collaboration-card {
    /* Reuses .type-card structure */
    flex: 1 1 45%;
    padding: 40px;
}

/* Media Query adjustments for Network Grid */

@media (max-width: 768px) {
    .network-list-grid {
        grid-template-columns: 1fr !important; /* Stack vertically on mobile */
    }

    .collaboration-layout {
        flex-direction: column;
    }
}

/* ================== CONTACT PAGE SPECIFIC LAYOUTS ================== */

/* 1. Centering Hero Content on Contact Page */
.contact-hero .hero-content-left {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.contact-intro-body{
    text-align: left;
}
/* 2. Contact Details & Form (Two-Column Layout) */
.contact-section {
    display: flex;
    gap: 50px;
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.contact-details-box {
    flex: 1 1 35%; /* Smaller column for details */
    padding: 20px;
    background-color: var(--bg-dark);
    border-radius: 8px;
}

.enquiry-form-box {
    flex: 1 1 60%; /* Larger column for the form */
}

/* Styling for Detail Items */
.detail-item {
    margin-bottom: 30px;
    text-align: left;
    border-left: 3px solid var(--accent);
    padding-left: 15px;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-right: 10px;
}

.detail-item h3 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin: 0 0 5px 0;
    display: inline-block;
}

.detail-item p.detail-value {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0;
    display: block;
}

/* Styling for the Form */
.contact-form {
    display: grid;
    gap: 20px;
    padding: 0 20px 20px 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 5px;
    font-size: 1rem;
        text-align: left;

}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    padding: 12px;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.submit-button {
    width: 100%;
    margin-top: 10px;
}

/* 3. Map Placeholder */
.map-placeholder {
    padding: 0 5% 60px 5%;
}

.map-box {
    width: 100%;
    height: 350px;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

iframe{
    width: 100%;
    height: 350px;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}
/* 4. Media Query for Contact Section */
@media (max-width: 992px) {
    .contact-section {
        flex-direction: column;
        gap: 40px;
    }

    .contact-details-box,
    .enquiry-form-box {
        flex: 1 1 100%; /* Full width when stacked */
        max-width: 100%;
    }
    .map-placeholder {
        flex-direction: column;    
    }
}