/*
===============================================
PRIMEGEN CONSTRUCTION - TITAN FRAME DESIGN
Strength. Structure. Solidity.
===============================================
*/

/* ============================================
   1. CSS VARIABLES & ROOT STYLES
   ============================================ */
:root {
    /* Titan Frame Color Palette */
    --deep-steel-gray: #2E323B;
    --blueprint-blue: #1A73E8;
    --concrete-white: #F4F5F7;
    --rust-accent: #C05C2D;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Spacing Scale (8px base unit) */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: 64px;
    --space-xl: 80px;
    --space-xxl: 128px;
    
    /* Transitions */
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   2. GLOBAL RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-secondary);
    font-size: 18px;
    line-height: 1.7;
    color: var(--deep-steel-gray);
    background-color: var(--concrete-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    color: var(--deep-steel-gray);
    letter-spacing: -0.5px;
}

h1 {
    font-size: 64px;
    font-weight: 800;
}

h2 {
    font-size: 36px;
    font-weight: 600;
}

h3 {
    font-size: 28px;
    font-weight: 600;
}

h4 {
    font-size: 22px;
    font-weight: 600;
}

p {
    margin-bottom: var(--space-sm);
}

a {
    color: var(--blueprint-blue);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--rust-accent);
}

/* ============================================
   4. NAVIGATION
   ============================================ */
.navbar {
    background-color: rgba(46, 50, 59, 0.512);
    backdrop-filter: blur(10px);
    padding: var(--space-sm) 0;
    transition: var(--transition-medium);
    border-bottom: 2px solid transparent;
}

.navbar.scrolled {
    background-color: rgba(46, 50, 59, 0.98);
    border-bottom: 2px solid var(--blueprint-blue);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 28px;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    display: flex; /* Use flex to align logo and text */
    align-items: center; /* Vertically align them */
}

.navbar-logo {
    height: 90px; /* Increased size */
    width: auto;
    transition: var(--transition-fast);
    margin-right: 0px; /* Removed all space between logo and text */
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.navbar-brand:hover {
    transform: none; /* Remove text brand specific hover effect */
}

/* Remove old text-based brand styles */
.brand-prime,
.brand-gen {
    /* display: none; */ /* Re-enable these */
    display: inline;
}

.brand-prime {
    color: var(--blueprint-blue); /* Assuming blueprint-blue for PRIME */
    margin-right: 11px; /* Add space between PRIME and GEN */
}

.brand-gen {
    color: var(--concrete-white); /* Assuming concrete-white for GEN */
}

.brand-full-name {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 24px; /* Larger font size for PRIME GEN */
    letter-spacing: 1px;
    color: var(--concrete-white); /* Default color for the whole text */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 15px; /* Increased space from the logo */
}

.brand-main-name {
    display: flex;
    align-items: center;
}

.brand-main-prime {
    color: var(--blueprint-blue); /* Blue color for PRIME */
    font-size: 24px;
    font-weight: 800;
    margin-right: 7px; /* Add space between PRIME and GEN */
}

.brand-main-gen {
    color: var(--concrete-white); /* White color for GEN */
    font-size: 24px;
    font-weight: 800;
}

.brand-suffix-limited {
    font-size: 12px; /* Smaller font size for NIGERIA LIMITED */
    color: var(--concrete-white);
    font-weight: 600;
    margin-top: -5px; /* Adjust vertical spacing */
    letter-spacing: 2.5px; /* Adjust as needed for alignment */
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--concrete-white) !important;
    padding: var(--space-xs) var(--space-sm) !important;
    margin: 0 var(--space-xs);
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--blueprint-blue);
    transform: translateX(-50%);
    transition: var(--transition-medium);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover {
    color: var(--blueprint-blue) !important;
}

.navbar-toggler {
    border-color: var(--blueprint-blue);
    padding: 8px 12px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826, 115, 232, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   5. HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    overflow: hidden;
    background: none; /* Ensure background is transparent or removed */
}

.hero-carousel-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: backgroundCarousel 36s infinite; /* 9 images * 1 second per image */
    z-index: 1;
}

/* Hide the old steel beams background */
.steel-beams-bg {
    display: none;
}

@keyframes backgroundCarousel {
    0%, 100% { background-image: url('../images/logistics3.png'); } /* Logistics Support */
    11.11% { background-image: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?w=1920&h=1080&fit=crop'); } /* Renewable Energy/Solar */
    22.22% { background-image: url('../images/construction1.jpg'); } /* Construction */
    33.33% { background-image: url('../images/tap.jpg'); } /* Water Treatment */
    44.44% { background-image: url('https://images.unsplash.com/photo-1557597774-9d273605dfa9?w=1920&h=1080&fit=crop'); } /* Security Solutions */
    55.55% { background-image: url('../images/cleaning.jpg'); } /* Cleaning/Fumigation */
    66.66% { background-image: url('../images/supply.jpg'); } /* Procurement/Supply Chain */
    77.77% { background-image: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1920&h=1080&fit=crop'); } /* Technology/Audiovisual */
    88.88% { background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&h=1080&fit=crop'); } /* Facility Management */
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.blueprint-frame {
    position: relative;
    padding: var(--space-md);
}

.blueprint-frame::before,
.blueprint-frame::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--blueprint-blue);
    opacity: 0.6;
}

.blueprint-frame::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.blueprint-frame::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.hero-title {
    color: var(--concrete-white);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
}

.highlight-text {
    color: var(--blueprint-blue);
    /* display: block; */
    position: relative;
}

.highlight-comma {
    color: var(--blueprint-blue);
}

.hero-line {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--blueprint-blue), var(--rust-accent));
    margin: var(--space-md) 0;
}

.hero-subtitle {
    color: rgba(244, 245, 247, 0.9);
    font-size: 20px;
    font-weight: 400;
    margin-bottom: var(--space-lg);
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--blueprint-blue);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    animation: float 2s ease-in-out infinite;
}

.wheel {
    width: 4px;
    height: 10px;
    background-color: var(--blueprint-blue);
    border-radius: 2px;
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes scroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(15px); }
}

/* ============================================
   6. BUTTONS
   ============================================ */
.btn-primary-custom {
    background: var(--blueprint-blue);
    color: white;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 16px 40px;
    border: 2px solid var(--blueprint-blue);
    border-radius: 2px;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--deep-steel-gray);
    transition: var(--transition-medium);
    z-index: -1;
}

.btn-primary-custom:hover {
    color: white;
    border-color: var(--blueprint-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26, 115, 232, 0.3);
}

.btn-primary-custom:hover::before {
    left: 0;
}

.btn-outline-custom {
    background: transparent;
    color: white;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 16px 40px;
    border: 2px solid white;
    border-radius: 2px;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn-outline-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: var(--transition-medium);
    z-index: -1;
}

.btn-outline-custom:hover {
    color: var(--deep-steel-gray);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn-outline-custom:hover::before {
    left: 0;
}

.btn-light-custom {
    background: white;
    color: var(--deep-steel-gray);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 16px 40px;
    border: 2px solid white;
    border-radius: 2px;
    transition: var(--transition-medium);
}

.btn-light-custom:hover {
    background: var(--blueprint-blue);
    color: white;
    border-color: var(--blueprint-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26, 115, 232, 0.3);
}

/* ============================================
   7. STATS SECTION
   ============================================ */
.stats-section {
    background: white;
    padding: var(--space-xl) 0;
    position: relative;
    z-index: 2;
    border-radius: 4px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.stat-card {
    text-align: center;
    padding: var(--space-md);
    transition: var(--transition-medium);
    border-radius: 4px;
    position: relative;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--blueprint-blue);
    transition: var(--transition-medium);
}

.stat-card:hover::after {
    width: 60%;
}

.stat-icon {
    font-size: 48px;
    color: var(--blueprint-blue);
    margin-bottom: var(--space-sm);
    display: block;
    transition: var(--transition-medium);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
    color: var(--rust-accent);
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 800;
    color: var(--deep-steel-gray);
    display: block;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6c757d;
}

/* ============================================
   8. SERVICES SECTION
   ============================================ */
.services-section {
    padding: var(--space-xxl) 0;
    background: var(--concrete-white);
}

.section-header {
    margin-bottom: var(--space-lg);
}

.section-title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--blueprint-blue), var(--rust-accent));
    margin: 0 auto var(--space-md);
}

.section-divider-left {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--blueprint-blue), var(--rust-accent));
    margin: var(--space-md) 0;
}

.section-subtitle {
    font-size: 20px;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

.section-label {
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blueprint-blue);
    display: block;
    margin-bottom: var(--space-sm);
}

.service-card {
    background: white;
    padding: 0; /* Remove all padding from the card */
    border-radius: 4px;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden; /* Ensure image and content stay within bounds */
    height: 100%;
    border: 2px solid transparent;
    text-align: center; /* Center content within the card */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 4px;
    height: 100%;
    background: var(--blueprint-blue);
    transition: var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    border-color: var(--blueprint-blue);
}

.service-card:hover::before {
    left: 0;
}

.service-icon {
    width: 100%;   /* Cover full width of the card */
    height: 50%;  /* Fixed height for the top half */
    background: none; /* Remove gradient background */
    border-radius: 4px 4px 0 0; /* Only top corners rounded */
    margin: 0; /* Remove margin to sit flush at the top */
    overflow: hidden;
    transition: var(--transition-medium);
    /* Removed display: flex, align-items, justify-content */
}

.service-icon .service-img {
    width: 100%;
    height: 100%; /* Fill the new larger container */
    object-fit: cover;
    border-radius: 4px 4px 0 0; /* Match parent border-radius */
    transition: transform 0.3s ease-in-out; /* Add transition for zoom effect */
}

.service-card:hover .service-icon .service-img {
    transform: scale(1.05); /* Zoom in effect on hover */
}

.service-icon i {
    display: none; /* Hide old icon */
}

/* Remove or modify hover effects for the image */
.service-card:hover .service-icon {
    transform: none; /* Remove any previous transforms */
}

.service-title {
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 700;
    margin-top: var(--space-md); /* Add top margin for spacing from image */
    margin-bottom: var(--space-sm);
    color: var(--deep-steel-gray);
    padding: 0 var(--space-md); /* Add horizontal padding for text */
}

.service-description {
    color: #6c757d;
    margin-bottom: var(--space-md);
    line-height: 1.7;
    padding: 0 var(--space-md); /* Add horizontal padding for text */
}

.service-link {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    color: var(--blueprint-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex; /* Use flex for centering */
    justify-content: center; /* Center the link */
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
    padding: 0 var(--space-md) var(--space-md); /* Add padding to the link container */
}

.service-link:hover {
    color: var(--rust-accent);
    gap: 12px;
}

/* ============================================
   9. FEATURED PROJECTS SECTION
   ============================================ */
.featured-projects-section {
    padding: var(--space-xxl) 0;
    background: white;
}

.project-card {
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
    position: relative;
}

.project-image {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: var(--transition-slow);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(46, 50, 59, 0.95) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-lg);
    transition: var(--transition-medium);
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-card:hover .project-overlay {
    background: linear-gradient(to top, rgba(26, 115, 232, 0.95) 0%, transparent 60%);
}

.project-details h3 {
    color: white;
    font-size: 32px;
    margin-bottom: var(--space-xs);
}

.project-details p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

/* ============================================
   10. CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, var(--deep-steel-gray) 0%, #1a1d24 100%);
    position: relative;
    overflow: hidden;
}

.cta-title {
    color: white;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

/* ============================================
   11. FOOTER
   ============================================ */
.footer-section {
    background: var(--deep-steel-gray);
    padding: var(--space-xl) 0 var(--space-md);
    color: rgba(255, 255, 255, 0.8);
}

.footer-brand {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 28px;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--blueprint-blue);
    border-color: var(--blueprint-blue);
    transform: translateY(-3px);
    color: white;
}

.footer-title {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    margin-bottom: var(--space-md); /* Keep existing margin-bottom for spacing from previous elements */
}

.footer-links {
    list-style: none;
    padding-left: 0; /* Align with the title */
}

.footer-links li {
    margin-bottom: var(--space-xs);
    /* Ensure no extra padding or margin on list items that would cause misalignment */
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--blueprint-blue);
    transform: translateX(4px);
}

.footer-contact {
    list-style: none;
    padding-left: 0; /* Align with the title */
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: start;
    gap: 12px;
}

.footer-contact i {
    color: var(--blueprint-blue);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 14px;
}

/* ============================================
   12. PAGE HEADER (Internal Pages)
   ============================================ */
.page-header {
    position: relative;
    min-height: 50vh;
    background: linear-gradient(135deg, var(--deep-steel-gray) 0%, #1a1d24 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 100px;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-title {
    color: var(--concrete-white);
    font-size: 56px;
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.breadcrumb-custom {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-custom a {
    color: var(--blueprint-blue);
}

.breadcrumb-custom span {
    margin: 0 var(--space-xs);
}

/* ============================================
   13. ABOUT PAGE STYLES
   ============================================ */
.about-story-section {
    padding: var(--space-xxl) 0;
    background: white;
}

.about-image-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.blueprint-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid var(--blueprint-blue);
    z-index: 2;
}

.blueprint-corner.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.blueprint-corner.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.about-content {
    padding-left: var(--space-lg);
}

.about-text {
    color: #6c757d;
    margin-bottom: var(--space-md);
    line-height: 1.8;
    text-align: justify;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.feature-item i {
    color: var(--blueprint-blue);
    font-size: 20px;
}

.values-section {
    padding: var(--space-xxl) 0;
    background: var(--concrete-white);
}

.value-card {
    background: white;
    padding: var(--space-lg);
    border-radius: 4px;
    text-align: center;
    transition: var(--transition-medium);
    height: 100%;
    border: 2px solid transparent;
}

.value-card:hover {
    border-color: var(--blueprint-blue);
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--blueprint-blue), #0d5dc5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    transition: var(--transition-medium);
}

.value-icon i {
    font-size: 48px;
    color: white;
}

.value-card:hover .value-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--rust-accent), #a04a20);
}

.value-title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.value-description {
    color: #6c757d;
    line-height: 1.7;
}

.services-detail-section {
    padding: var(--space-xxl) 0;
    background: white;
}

.service-detail-card {
    background: var(--concrete-white);
    padding: 0; /* Remove all padding from the card */
    border-radius: 4px;
    border-left: 4px solid var(--blueprint-blue);
    transition: var(--transition-medium);
    overflow: hidden; /* Ensure image and content stay within bounds */
    height: 100%;
}

.service-detail-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.service-detail-header {
    display: block; /* Change back to block to stack children vertically */
    /* Removed align-items: center; */
    /* Removed gap: var(--space-md); */
    margin-bottom: var(--space-md); /* Re-introduce margin bottom */
    padding-top: var(--space-md);
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

.service-detail-icon {
    width: 100%;   /* Cover full width of the card */
    height: 50%;  /* Cover top half */
    background: none; /* Remove background color */
    border-radius: 4px 4px 0 0; /* Only top corners rounded */
    margin: 0; /* Remove margin to sit flush at the top */
    overflow: hidden;
    flex-shrink: 0;
}

.service-detail-icon .service-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px 4px 0 0; /* Match parent border-radius */
    transition: transform 0.3s ease-in-out; /* Add transition for zoom effect */
}

.service-detail-card:hover .service-detail-icon .service-detail-img {
    transform: scale(1.05); /* Zoom in effect on hover */
}

.service-detail-icon i {
    display: none; /* Hide old icon */
}

.service-detail-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    margin-top: var(--space-md); /* Add top margin for spacing from image */
    margin-bottom: var(--space-sm);
}

.service-detail-text {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: var(--space-md);
    padding: 0 var(--space-md); /* Add horizontal padding */
}

.service-detail-list {
    list-style: none;
    padding: 0 var(--space-md) var(--space-md); /* Add padding to the list */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align list items to the start */
}

.service-detail-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--deep-steel-gray);
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.service-detail-list i {
    color: var(--blueprint-blue);
    font-size: 18px;
}

.team-section {
    padding: var(--space-xxl) 0;
    background: var(--concrete-white);
}

.team-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-medium);
    border: 2px solid transparent;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    border-color: var(--blueprint-blue);
}

.team-image {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    transition: var(--transition-slow);
}

.team-card:hover .team-image {
    transform: scale(1.05);
}

.team-info {
    padding: var(--space-md);
    text-align: center;
}

.team-name {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: var(--space-xs);
}

.team-role {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: var(--space-sm);
}

.team-social {
    display: flex;
    gap: var(--space-xs);
    justify-content: center;
}

.team-social a {
    width: 36px;
    height: 36px;
    background: var(--concrete-white);
    border: 1px solid #dee2e6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-steel-gray);
    transition: var(--transition-fast);
}

.team-social a:hover {
    background: var(--blueprint-blue);
    border-color: var(--blueprint-blue);
    color: white;
}

.certifications-section {
    padding: var(--space-xl) 0;
    background: white;
}

.cert-badge {
    text-align: center;
    padding: var(--space-md);
    background: var(--concrete-white);
    border-radius: 4px;
    transition: var(--transition-medium);
}

.cert-badge:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.cert-badge i {
    font-size: 48px;
    color: var(--blueprint-blue);
    margin-bottom: var(--space-sm);
}

.cert-badge p {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

/* ============================================
   14. PROJECTS PAGE STYLES
   ============================================ */
.filter-section {
    padding: var(--space-lg) 0;
    background: white;
    border-bottom: 1px solid #dee2e6;
}

.filter-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 28px;
    background: transparent;
    color: var(--deep-steel-gray);
    border: 2px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--blueprint-blue);
    color: white;
    border-color: var(--blueprint-blue);
}

.projects-grid-section {
    padding: var(--space-xl) 0;
    background: var(--concrete-white);
}

.project-item {
    transition: var(--transition-medium);
}

.project-item.hidden {
    display: none;
}

.project-grid-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.project-grid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    border-color: var(--blueprint-blue);
}

.project-grid-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: var(--transition-slow);
}

.project-grid-card:hover .project-grid-image {
    transform: scale(1.05);
}

.project-category {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: var(--blueprint-blue);
    color: white;
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 2px;
}

.project-grid-content {
    padding: var(--space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-grid-title {
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.project-grid-meta {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: var(--space-sm);
}

.project-grid-meta .separator {
    margin: 0 8px;
}

.project-grid-description {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: var(--space-md);
    flex: 1;
}

.project-grid-stats {
    display: flex;
    justify-content: space-between;
    padding-top: var(--space-sm);
    border-top: 1px solid #dee2e6;
}

.stat {
    text-align: center;
}

.stat-value {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    color: var(--blueprint-blue);
    display: block;
}

.stat-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.process-section {
    padding: var(--space-xxl) 0;
    background: white;
}

.process-step {
    text-align: center;
    padding: var(--space-md);
    position: relative;
}

.process-number {
    font-family: var(--font-primary);
    font-size: 72px;
    font-weight: 800;
    color: var(--concrete-white);
    line-height: 1;
    margin-bottom: var(--space-sm);
    position: relative;
}

.process-number::before {
    content: attr(data-number);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: var(--blueprint-blue);
    font-weight: 700;
}

.process-title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.process-description {
    color: #6c757d;
    line-height: 1.7;
}

/* ============================================
   15. CONTACT PAGE STYLES
   ============================================ */
.contact-info-section {
    padding: var(--space-xl) 0;
    background: white;
    margin-top: -80px;
    position: relative;
    z-index: 2;
}

.contact-info-card {
    background: var(--concrete-white);
    padding: var(--space-lg);
    border-radius: 4px;
    text-align: center;
    transition: var(--transition-medium);
    height: 100%;
    border: 2px solid transparent;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    border-color: var(--blueprint-blue);
}

.contact-info-icon {
    width: 80px;
    height: 80px;
    background: var(--blueprint-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    transition: var(--transition-medium);
}

.contact-info-icon i {
    font-size: 32px;
    color: white;
}

.contact-info-card:hover .contact-info-icon {
    background: var(--rust-accent);
    transform: rotateY(180deg);
}

.contact-info-title {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.contact-info-text {
    color: #6c757d;
    line-height: 1.8;
    margin: 0;
}

.contact-form-section {
    padding: var(--space-xxl) 0;
    background: var(--concrete-white);
}

.contact-form-intro {
    padding-right: var(--space-lg);
}

.contact-intro-text {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-feature-item {
    display: flex;
    gap: var(--space-sm);
    align-items: start;
}

.contact-feature-item i {
    width: 50px;
    height: 50px;
    background: var(--blueprint-blue);
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-feature-content h4 {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-feature-content p {
    color: #6c757d;
    margin: 0;
    font-size: 16px;
}

.contact-form-wrapper {
    background: white;
    padding: var(--space-lg);
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--deep-steel-gray);
    display: block;
    margin-bottom: var(--space-xs);
}

.form-control-custom {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    transition: var(--transition-fast);
    font-family: var(--font-secondary);
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--blueprint-blue);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.form-check-custom {
    display: flex;
    align-items: start;
    gap: 12px;
}

.form-check-custom input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-check-custom label {
    font-size: 14px;
    color: #6c757d;
    cursor: pointer;
}

.form-message {
    padding: var(--space-sm);
    border-radius: 4px;
    font-weight: 500;
    display: none;
}

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

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

.business-hours-section {
    padding: var(--space-xl) 0;
    background: white;
}

.hours-list {
    background: var(--concrete-white);
    padding: var(--space-lg);
    border-radius: 4px;
    border-left: 4px solid var(--blueprint-blue);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid #dee2e6;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item.emergency {
    background: linear-gradient(90deg, rgba(26, 115, 232, 0.1), transparent);
    padding: var(--space-sm);
    border-radius: 4px;
    border-bottom: none;
    margin-top: var(--space-sm);
}

.day {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--deep-steel-gray);
}

.time {
    font-weight: 600;
    color: var(--blueprint-blue);
}

.map-wrapper {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.map-placeholder iframe {
    display: block;
    border-radius: 4px;
}

.faq-section {
    padding: var(--space-xxl) 0;
    background: var(--concrete-white);
}

.accordion-item-custom {
    background: white;
    border-radius: 4px;
    margin-bottom: var(--space-sm);
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition-fast);
}

.accordion-item-custom:hover {
    border-color: var(--blueprint-blue);
}

.accordion-header-custom {
    padding: var(--space-md) var(--space-lg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    background: white;
    transition: var(--transition-fast);
}

.accordion-header-custom h3 {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.accordion-header-custom i {
    color: var(--blueprint-blue);
    transition: var(--transition-fast);
    font-size: 20px;
}

.accordion-header-custom.collapsed i {
    transform: rotate(-90deg);
}

.accordion-header-custom:not(.collapsed) {
    background: var(--concrete-white);
}

.accordion-body-custom {
    padding: 0 var(--space-lg) var(--space-md);
    color: #6c757d;
    line-height: 1.8;
}

/* ============================================
   16. UTILITY CLASSES
   ============================================ */
.min-vh-50 {
    min-height: 50vh;
}

.mt-64 {
    margin-top: 64px;
}

.mb-64 {
    margin-bottom: 64px;
}

/* ============================================
   17. RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 56px;
    }
    
    .section-title {
        font-size: 40px;
    }
}

@media (max-width: 992px) {
    :root {
        --space-xl: 60px;
        --space-xxl: 96px;
    }
    
    h1 {
        font-size: 48px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .page-title {
        font-size: 42px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: var(--space-md);
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .contact-form-intro {
        padding-right: 0;
        margin-bottom: var(--space-lg);
    }

    .service-detail-card {
        padding: var(--space-md);
    }

    .service-detail-icon {
        width: 60px;
        height: 60px;
    }

    .service-detail-icon i {
        font-size: 28px;
    }

    .service-detail-title {
        font-size: 20px;
    }

    .service-detail-text {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 48px;
        --space-xxl: 80px;
    }
    
    body {
        font-size: 16px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .navbar-collapse {
        background: rgba(46, 50, 59, 0.98);
        padding: var(--space-sm);
        margin-top: var(--space-sm);
        border-radius: 4px;
    }
    
    .nav-link {
        margin: var(--space-xs) 0;
    }
    
    .btn-primary-custom,
    .btn-outline-custom,
    .btn-light-custom {
        width: 100%;
        display: block;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-btn {
        width: 100%;
    }
    
    .project-grid-stats {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .value-card {
        padding: var(--space-md); /* Reduced padding for smaller screens */
    }

    .value-icon {
        width: 80px;
        height: 80px;
        margin-bottom: var(--space-sm);
    }

    .value-icon i {
        font-size: 36px;
    }

    .value-title {
        font-size: 18px;
    }

    .value-description {
        font-size: 14px;
    }

    .service-detail-card {
        padding: var(--space-sm);
    }

    .service-detail-icon {
        width: 100%;
        height: 50%; /* Consistently use 50% */
        margin-bottom: 0;
    }

    .service-detail-icon i {
        font-size: 24px;
    }

    .service-detail-title {
        font-size: 18px;
    }

    .service-detail-text {
        font-size: 14px;
    }

    .service-detail-list li {
        font-size: 14px;
    }

    .service-icon {
        width: 100%;
        height: 150px;
        margin-bottom: 0;
    }

    .service-icon img {
        border-radius: 4px;
    }

    .service-title {
        font-size: 20px;
    }

    .service-description {
        font-size: 15px;
    }

    .service-link {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    :root {
        --space-xl: 32px;
        --space-xxl: 64px;
    }
    
    .container-fluid {
        padding-left: var(--space-md) !important;
        padding-right: var(--space-md) !important;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .stats-section {
        margin-top: 0;
    }

    .value-title {
        font-size: 16px;
    }

    .value-description {
        font-size: 13px;
    }

    .service-icon {
        width: 100%;
        height: 100px;
        margin-bottom: 0;
    }

    .service-icon img {
        border-radius: 4px;
    }

    .service-title {
        font-size: 18px; /* Ensure title remains readable */
    }
}

@media (max-width: 375px) {
    .value-card {
        padding: var(--space-sm); /* Even smaller padding for very small screens */
    }

    .value-icon {
        width: 60px;
        height: 60px;
        margin-bottom: var(--space-xs);
    }

    .value-icon i {
        font-size: 28px;
    }

    .value-title {
        font-size: 15px;
        margin-bottom: var(--space-xs);
    }

    .value-description {
        font-size: 12px;
    }
}

/* ============================================
   18. ANIMATIONS & TRANSITIONS
   ============================================ */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes blueprintGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(26, 115, 232, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(26, 115, 232, 0.6);
    }
}

/* Blueprint hover effects */
.service-card:hover,
.project-grid-card:hover,
.value-card:hover,
.team-card:hover {
    animation: blueprintGlow 2s ease-in-out infinite;
}

/* ============================================
   19. PRINT STYLES
   ============================================ */
@media print {
    .navbar,
    .footer-section,
    .cta-section,
    .scroll-indicator {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    .hero-section,
    .page-header {
        background: white;
        color: black;
        min-height: auto;
    }
}

/* New gallery grid styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columns for large screens */
    gap: var(--space-sm); /* Adjust gap as needed */
}

.gallery-item {
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 200px; /* Fixed height for gallery images, adjust as needed */
    object-fit: cover;
    display: block;
}

/* Responsive adjustments for gallery */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns for medium-large screens */
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for medium screens */
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for small screens */
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(1, 1fr); /* 1 column for extra-small screens */
    }
}

/* Remove or modify old project card styles */
.project-card,
.project-image,
.project-overlay {
    display: none; /* or remove these rules entirely */
}

