/*
Theme Name: Colourcrete Construction V65
Theme URI: https://colourcrete.pk/
Author: Faisal Mahmood
Description: A premier WordPress theme for Colourcrete Company with hero banner slide button clickability and touch pointer events fully resolved.
Version: 65.0.0
Text Domain: colourcrete-v65
*/

/* ==========================================================================
   Colourcrete Company - Global Stylesheet
   ========================================================================== */

/* Import Premium Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary: #0F172A;        /* Deep Slate Navy (High Contrast) */
    --primary-light: #1E293B;  /* Slate Charcoal */
    --accent: #0EA5E9;         /* Lighter Premium Blue */
    --accent-hover: #0284C7;   /* Hover state blue */
    --text-main: #334155;      /* Slate Grey for body text */
    --text-light: #64748B;     /* Muted Grey */
    --text-white: #FFFFFF;
    --bg-light: #F8FAFC;       /* Off-white background */
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    
    /* Font Families */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows & Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
    --shadow-gold: 0 10px 20px -5px rgba(0, 114, 184, 0.2);
    --glass-bg: rgba(15, 23, 42, 0.75);
    --glass-blur: blur(12px);
    --glass-border: rgba(255, 255, 255, 0.08);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout Sizes */
    --max-width: 1280px;
    --header-height: 80px;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden; /* Must be on html NOT body — body overflow-x:hidden breaks position:fixed */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    padding-top: var(--header-height); /* Push content below fixed header */
}

/* WordPress Admin Bar compatibility */
body.admin-bar .header {
    top: 32px !important;
}
body.admin-bar {
    padding-top: calc(var(--header-height) + 32px) !important;
}
@media screen and (max-width: 782px) {
    body.admin-bar .header { top: 46px !important; }
    body.admin-bar { padding-top: calc(var(--header-height) + 46px) !important; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.25;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* Custom Containers */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Header & Navigation - Uniform Fixed Deep Navy Styling Across All Pages (Lyallpur Builder Standard) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--header-height);
    background-color: #0F172A !important;
    border-bottom: 1px solid rgba(14, 165, 233, 0.3);
    z-index: 99999 !important;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
}

/* WordPress Admin Bar compatibility override */
body.admin-bar .header {
    top: 32px !important;
}
@media screen and (max-width: 782px) {
    body.admin-bar .header {
        top: 46px !important;
    }
}

.header.scrolled {
    height: 70px;
    background-color: #0F172A !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(14, 165, 233, 0.4);
}

.header .logo-text {
    color: #FFFFFF;
    font-weight: 800;
    letter-spacing: 1px;
}

.header .logo-subtitle {
    color: var(--accent);
    font-weight: 600;
}

.header .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.header .nav-link:hover,
.header .nav-link.active {
    color: var(--accent);
}

.header .menu-toggle span {
    background-color: #FFFFFF;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

/* Logo Styling - 100% Merged & Transparent into Header & Footer All Over Site */
.logo-wrapper,
.logo,
.logo-img,
.logo-text-group,
.footer-logo,
.footer-about .logo {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

.logo-img {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary);
    line-height: 1.1;
    transition: var(--transition-fast);
}

.logo-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    font-weight: 600;
    transition: var(--transition-fast);
}

/* Page Banner & Inner Pages — compensate for fixed header */
.page-banner,
.page-banner-inner {
    padding-top: calc(var(--header-height) + 2rem);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu li.has-dropdown > a::after {
    content: ' \f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.72rem;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.nav-menu li.has-dropdown:hover > a::after {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #0F172A;
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    padding: 0.6rem 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 100000;
}

.nav-menu li.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li {
    width: 100%;
    margin: 0;
}

.nav-dropdown a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: #E2E8F0 !important;
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.nav-dropdown a::after {
    display: none !important;
}

.nav-dropdown a:hover {
    background: rgba(14, 165, 233, 0.18);
    color: var(--accent) !important;
    padding-left: 1.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-light);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-fast);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background-color: var(--text-white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-dark:hover {
    background-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* Hero Slider Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--text-white);
    overflow: hidden;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--header-height));
    min-height: 620px;
    overflow: hidden;
    background: #0F172A;
    /* Negative margin compensates for body padding-top so hero touches header */
    margin-top: calc(-1 * var(--header-height));
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none !important;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto !important;
    z-index: 10 !important;
}

.hero-slide .hero-content {
    max-width: 850px;
    position: relative;
    z-index: 20 !important;
    pointer-events: auto !important;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

/* Slider Controls: Arrows */
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: var(--transition-fast);
    backdrop-filter: blur(8px);
}

.hero-slider-arrow:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.hero-prev {
    left: 2rem;
}

.hero-next {
    right: 2rem;
}

/* Slider Pagination Dots */
.hero-slider-dots {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 15;
}

.hero-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.hero-dot.active {
    background: var(--accent);
    width: 40px;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.7);
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
    animation: fadeInUp 0.8s ease forwards;
}

.hero h1 {
    color: var(--text-white);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -1px;
    animation: fadeInUp 1s ease forwards;
}

.hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease forwards;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 30 !important;
    pointer-events: auto !important;
    animation: fadeInUp 1.4s ease forwards;
}

.hero-btns a,
.hero-btns .btn {
    position: relative;
    z-index: 40 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    position: relative;
}

.mouse::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 2px;
    animation: scrollMouse 1.5s infinite;
}

@keyframes scrollMouse {
    0% { top: 8px; opacity: 1; }
    50% { top: 18px; opacity: 0; }
    100% { top: 8px; opacity: 1; }
}

/* Stats Section */
.stats {
    background-color: var(--primary);
    padding: 4rem 0;
    color: var(--text-white);
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.stat-card {
    flex: 1 1 300px;
    max-width: 380px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(226, 177, 60, 0.3);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.section-header p {
    font-size: 1.1rem;
}

/* Divisions/Companies Section */
.section-padding {
    padding: 7rem 0;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.company-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.company-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.company-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.company-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.company-card:hover .company-img img {
    transform: scale(1.05);
}

.company-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background-color: var(--primary);
    color: var(--accent);
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.company-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.company-title {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.company-partner {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
    display: block;
}

.company-info p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.company-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.company-link svg {
    transition: var(--transition-fast);
}

.company-link:hover {
    color: var(--accent-hover);
}

.company-link:hover svg {
    transform: translateX(4px);
}

/* Feature/Highlights Section */
.features-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-visual {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 480px;
    box-shadow: var(--shadow-lg);
}

.features-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.features-overlay-card {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background-color: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 8px;
    padding: 1.5rem;
    color: var(--text-white);
}

.features-overlay-card h4 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.features-overlay-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(226, 177, 60, 0.1);
    border: 1.5px solid var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.feature-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Core Values Page & Section */
.bg-dark-section {
    background-color: var(--primary);
    color: var(--text-white);
}

.bg-dark-section .section-title {
    color: var(--text-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* Services Page Execution Guarantee Grid (1, 2, 3 in top row, 4 centered in middle below) */
.execution-guarantee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    justify-content: center;
}

.execution-guarantee-grid .value-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.execution-guarantee-grid .value-card:nth-child(4) {
    grid-column: 2 / span 1;
}

@media (max-width: 991px) {
    .execution-guarantee-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .execution-guarantee-grid .value-card:nth-child(4) {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .execution-guarantee-grid {
        grid-template-columns: 1fr;
    }
}

.value-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.value-card:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(226, 177, 60, 0.3);
    transform: translateY(-5px);
}

.value-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 1rem;
    line-height: 1;
}

.value-card h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.value-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Project Showcases & Filters */
.project-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding: 0.5rem;
}

.filter-btn {
    background-color: #FFFFFF;
    color: var(--primary, #0F172A);
    border: 1px solid #CBD5E1;
    padding: 0.65rem 1.4rem;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.filter-btn:hover {
    background-color: #F1F5F9;
    color: var(--primary, #0F172A);
    border-color: #94A3B8;
    transform: translateY(-1px);
}

.filter-btn.active {
    background-color: var(--primary, #0F172A) !important;
    color: #FFFFFF !important;
    border-color: var(--primary, #0F172A) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.project-card.hide {
    display: none;
}

.project-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--accent-hover);
    margin-bottom: 0.5rem;
    display: block;
}

.project-title h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

/* Inner Page Banner */
.page-banner {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('assets/hero-bg.png') no-repeat center center/cover;
    background-attachment: fixed;
    padding: 6rem 0;
    color: var(--text-white);
    text-align: center;
}

.page-banner h1 {
    color: var(--text-white);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    color: var(--accent);
}

/* About Us Layout */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.about-intro-text h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about-intro-visual {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-intro-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Leadership Section */
.leadership-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.leader-card {
    width: calc(25% - 1.5rem);
    min-width: 250px;
    height: 380px; /* Consistent height across all cards */
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.leader-img {
    height: 80%; /* Takes exactly 80% height of card */
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    overflow: hidden;
}

.leader-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.leader-img svg {
    width: 80px;
    height: 80px;
    opacity: 0.3;
}

.leader-info {
    height: 20%; /* Takes remaining 20% height of card */
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.leader-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.leader-role {
    font-size: 0.85rem;
    color: var(--accent-hover);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Companies Detailed Profiles page */
.company-profile-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 8rem;
}

.company-profile-row:nth-child(even) {
    grid-template-columns: 1fr 1.2fr;
}

.company-profile-row:nth-child(even) .company-profile-text {
    order: 2;
}

.company-profile-row:nth-child(even) .company-profile-visual {
    order: 1;
}

.company-profile-row:last-child {
    margin-bottom: 0;
}

.company-profile-text h2 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.company-profile-partner-tag {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    display: block;
}

.company-profile-text p {
    font-size: 1.05rem;
}

.company-profile-visual {
    height: 420px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.company-profile-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-features-list {
    margin-top: 1.5rem;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.product-feature-bullet {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
}

.product-feature-bullet svg {
    color: var(--accent);
    flex-shrink: 0;
}

.company-profile-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

/* Contact Page Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
}

.contact-info-panel {
    background-color: var(--primary);
    color: var(--text-white);
    padding: 3rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-panel h2 {
    color: var(--text-white);
    margin-bottom: 2rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    list-style: none;
    margin-bottom: 3rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.25rem;
}

.contact-detail-icon {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-detail-text h4 {
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-detail-text p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-socials {
    display: flex;
    gap: 1rem;
}

.social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: var(--transition-fast);
}

.social-circle:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

.contact-form-container {
    background-color: var(--bg-white);
    padding: 3.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.contact-form-container h2 {
    margin-bottom: 1rem;
}

.contact-form-container p {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--bg-light);
    color: var(--primary);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(226, 177, 60, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Branch Addresses Map section */
.office-branches {
    margin-top: 6rem;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.branch-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.branch-card h3 {
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.branch-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Careers Page Layout */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(226, 177, 60, 0.08);
    border-radius: 50%;
    color: var(--accent-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.benefit-card h3 {
    margin-bottom: 0.75rem;
}

.benefit-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.jobs-section {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.jobs-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.job-item {
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.job-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.job-details h3 {
    margin-bottom: 0.5rem;
}

.job-tags {
    display: flex;
    gap: 0.75rem;
}

.job-tag {
    background-color: var(--bg-light);
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: 600;
    color: var(--text-light);
}

.job-tag.division-tag {
    background-color: rgba(226, 177, 60, 0.1);
    color: var(--accent-hover);
}

/* Footer styling */
.footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem 0;
    border-top: 1.5px solid var(--accent);
}

.footer h3, .footer h4 {
    color: var(--text-white);
    font-family: var(--font-heading);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-about .logo-text {
    color: var(--text-white);
}

.footer-about .logo-subtitle {
    color: var(--accent);
}

.footer-about p {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-title {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact-item svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.85rem; }
    
    .hero h1 { font-size: 2.75rem; }
    
    .companies-grid,
    .projects-grid,
    .values-grid,
    .benefits-grid,
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        gap: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .leader-card {
        width: calc(50% - 1.5rem);
    }
    
    .about-intro-grid,
    .features-container,
    .company-profile-row,
    .company-profile-row:nth-child(even),
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .company-profile-row:nth-child(even) .company-profile-text {
        order: 2;
    }
    .company-profile-row:nth-child(even) .company-profile-visual {
        order: 1;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        transition: var(--transition-smooth);
        z-index: 999;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 1.25rem;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--accent) !important;
    }
    
    .hero {
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .companies-grid,
    .projects-grid,
    .values-grid,
    .benefits-grid,
    .branches-grid {
        grid-template-columns: 1fr;
    }
    
    .leader-card {
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .job-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .job-item .btn {
        width: 100%;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .contact-info-panel {
        padding: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .features-visual {
        height: 350px;
    }
    
    .features-overlay-card {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        /* Flexbox handles wrapping automatically */
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2.75rem;
    }
    
    .product-features-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Certifications & Enlistments Page Styles
   ========================================================================== */

.cert-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 5rem;
}
.cert-detail-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}
.cert-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}
.cert-badge-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(226, 177, 60, 0.1);
    color: var(--accent-hover);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    border: 1.5px solid var(--accent);
}
.cert-detail-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.35rem;
    color: var(--primary);
    font-family: var(--font-heading);
}
.cert-scope {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-hover);
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: block;
}
.cert-detail-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--text-light);
}

/* Enlistment Grid */
.enlistment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.enlistment-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    gap: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}
.enlistment-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}
.enlistment-logo-box {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--accent);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
    font-family: var(--font-heading);
}
.enlistment-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--primary);
    font-family: var(--font-heading);
}
.enlistment-details .approved-items {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}
.enlistment-details p {
    font-size: 0.88rem;
    margin-bottom: 0;
    line-height: 1.5;
    color: var(--text-main);
}

/* Responsiveness for Certifications */
@media (max-width: 1024px) {
    .cert-card-grid, .enlistment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .cert-card-grid, .enlistment-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Services Page Styles (Lyallpur Builder Standard)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-color: rgba(30, 41, 59, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
    background-color: var(--primary);
    color: var(--accent);
}

.service-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 20px;
    background-color: rgba(217, 119, 6, 0.12);
    color: var(--accent-hover);
}

.service-content h3 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.service-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem 0;
}

.service-feature-list li {
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.service-card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.service-card-footer .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* Process Step Cards */
.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.process-step-card {
    background-color: var(--bg-white);
    padding: 2rem 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition-smooth);
}

.process-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.step-badge {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--primary);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.process-step-card h4 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.process-step-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   Products Page Styles (Envicrete-Inspired Layout)
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    margin-bottom: 3rem;
}

.product-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.product-card-visual {
    position: relative;
    height: 180px;
    background-color: #f1f5f9;
    overflow: hidden;
}

.product-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-visual img {
    transform: scale(1.08);
}

.product-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--primary);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.product-card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.product-sku {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-hover);
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.35rem;
}

.product-card-body h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
    line-height: 1.35;
}

.product-card-body p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.product-specs-list {
    background-color: #f8fafc;
    border-radius: 6px;
    padding: 0.85rem;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border-color);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    padding: 3px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--text-light);
    font-weight: 500;
}

.spec-val {
    color: var(--primary);
    font-weight: 700;
}

.color-swatches-box {
    margin-top: 0.75rem;
}

.swatch-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    display: block;
    margin-bottom: 6px;
}

.swatches-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.swatch-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid #FFFFFF;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.swatch-dot:hover {
    transform: scale(1.3);
}

.product-card-footer {
    padding: 1.25rem 1.5rem;
    background-color: #f8fafc;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

.product-card-footer .btn-sm {
    padding: 8px 12px;
    font-size: 0.8rem;
    flex: 1;
    text-align: center;
    justify-content: center;
}

/* Responsiveness for Services and Products */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .services-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .process-steps-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}




/* ==========================================================================
   Top Bar Header & Theme 42 Custom Extensions
   ========================================================================== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 38px;
    background-color: #080D1A !important;
    border-bottom: 1px solid rgba(226, 177, 60, 0.25);
    z-index: 999999 !important;
    display: flex;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.top-bar-tagline {
    font-weight: 500;
    color: #E2B13C;
    letter-spacing: 0.5px;
}

.top-bar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition-fast);
}

.top-bar-link:hover {
    color: #E2B13C;
}

.vertical-pipe {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.8rem;
}

/* Top Bar Enabled vs Disabled Page Padding */
body.has-top-bar {
    padding-top: 118px !important;
}

body.has-top-bar .header {
    top: 38px !important;
}

body.no-top-bar {
    padding-top: 80px !important;
}

body.no-top-bar .header {
    top: 0 !important;
}

/* Hero Slider Section negative margin */
body.has-top-bar .hero-slider-container {
    margin-top: -118px !important;
}

body.no-top-bar .hero-slider-container {
    margin-top: -80px !important;
}

/* Inner Page Banners Header Clearance */
body.has-top-bar .page-banner {
    padding-top: 135px !important;
}

body.no-top-bar .page-banner {
    padding-top: 105px !important;
}

/* High Contrast GET A QUOTE Button */
.btn-get-quote-outline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 18px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    background-color: #0F172A !important;
    border: 2px solid #E2B13C !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 0 15px rgba(226, 177, 60, 0.35) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.btn-get-quote-outline:hover {
    background-color: #E2B13C !important;
    color: #0F172A !important;
    box-shadow: 0 0 25px rgba(226, 177, 60, 0.6) !important;
    transform: translateY(-2px) !important;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Design System
   ========================================================================== */

/* Prevent horizontal overflow on mobile screens */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

body.mobile-menu-open {
    overflow: hidden !important;
}

@media (max-width: 991px) {
    .logo-divider-pipe {
        display: none !important;
    }
    
    .nav-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 1rem !important;
    }

    .menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 30px !important;
        height: 21px !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
        z-index: 1000001 !important;
    }

    .menu-toggle span {
        width: 100% !important;
        height: 3px !important;
        background-color: #FFFFFF !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
        display: block !important;
    }

    .nav-menu {
        position: fixed !important;
        top: 68px !important;
        left: -100% !important;
        width: 100% !important;
        height: calc(100vh - 68px) !important;
        background-color: #0F172A !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        padding: 1.5rem 2rem 4rem 2rem !important;
        gap: 0 !important;
        transition: left 0.3s ease !important;
        z-index: 999999 !important;
        overflow-y: auto !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    }

    .nav-menu.active {
        left: 0 !important;
    }

    .nav-menu > li {
        width: 100% !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .nav-menu > li > a {
        display: block !important;
        padding: 1rem 0 !important;
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        color: #FFFFFF !important;
        text-align: left !important;
    }

    .nav-menu .has-dropdown .nav-dropdown {
        position: static !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background-color: rgba(255, 255, 255, 0.05) !important;
        box-shadow: none !important;
        border-radius: 6px !important;
        padding: 0.5rem 1rem !important;
        margin-bottom: 0.5rem !important;
        transform: none !important;
    }

    .nav-menu .has-dropdown.open .nav-dropdown {
        display: block !important;
    }

    .nav-menu .has-dropdown .nav-dropdown a {
        color: rgba(255, 255, 255, 0.8) !important;
        padding: 8px 12px !important;
        font-size: 0.95rem !important;
    }

    /* Grids responsive stack */
    .companies-grid,
    .projects-grid,
    .values-grid,
    .stats-grid,
    .leadership-grid,
    .product-grid,
    .services-grid,
    .about-intro-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .about-intro-grid {
        display: flex !important;
        flex-direction: column-reverse !important;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none !important;
    }

    /* Hide Hero Slider Arrows on Mobile */
    .hero-prev,
    .hero-next,
    .hero-arrow,
    .slider-arrow {
        display: none !important;
    }

    /* Transparent Logo Background */
    .logo-wrapper,
    .logo,
    .logo-img,
    .logo-text-group {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    .logo-img {
        height: 38px !important;
        max-width: 130px !important;
        object-fit: contain !important;
    }

    .logo-text {
        font-size: 1.1rem !important;
    }

    .logo-subtitle {
        font-size: 0.65rem !important;
    }

    /* Adjust Mobile GET A QUOTE Button */
    .btn-get-quote-outline {
        padding: 6px 12px !important;
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        line-height: 1.2 !important;
        height: 34px !important;
        border-radius: 4px !important;
        border: 1.5px solid #E2B13C !important;
        box-shadow: 0 0 10px rgba(226, 177, 60, 0.3) !important;
    }

    body.has-top-bar,
    body.no-top-bar {
        padding-top: 68px !important;
    }

    body.has-top-bar .header,
    body.no-top-bar .header {
        top: 0 !important;
        height: 68px !important;
    }

    body.has-top-bar .hero-slider-container,
    body.no-top-bar .hero-slider-container {
        margin-top: -68px !important;
    }

    body.has-top-bar .page-banner,
    body.no-top-bar .page-banner {
        padding-top: 95px !important;
        padding-bottom: 35px !important;
    }

    .page-banner h1 {
        font-size: 1.85rem !important;
    }

    .section-padding {
        padding: 3rem 0 !important;
    }

    .container {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    /* Hero Slide text on Mobile */
    .hero-slide {
        min-height: 520px !important;
        padding: 95px 1.25rem 50px !important;
    }

    .hero-content {
        text-align: center !important;
        max-width: 100% !important;
    }

    .hero-brand {
        font-size: 0.8rem !important;
        margin-bottom: 8px !important;
    }

    .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.25 !important;
        margin-bottom: 1rem !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-description {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-cta {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center !important;
    }

    .hero-cta .btn {
        width: 100% !important;
        max-width: 280px !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* Category Filter Buttons on Mobile */
    .project-filters {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-bottom: 2rem !important;
        padding: 0 !important;
    }

    .filter-btn {
        font-size: 0.8rem !important;
        padding: 6px 14px !important;
        border-radius: 20px !important;
    }

    /* Footer on Mobile */
    .footer-grid {
        text-align: center !important;
    }

    .footer-col {
        align-items: center !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .btn-get-quote-outline {
        font-size: 0.68rem !important;
        padding: 5px 9px !important;
    }

    .hero-title {
        font-size: 1.55rem !important;
    }

    .section-title {
        font-size: 1.5rem !important;
    }
}

/* Floating WhatsApp Quick Connect Button */
.floating-whatsapp-btn {
    position: fixed !important;
    bottom: 25px !important;
    right: 22px !important;
    width: 58px !important;
    height: 58px !important;
    background-color: #25D366 !important;
    color: #FFFFFF !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45) !important;
    z-index: 999999 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1) translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.65) !important;
    background-color: #20BA5A !important;
    color: #FFFFFF !important;
}

.floating-whatsapp-btn svg {
    width: 30px !important;
    height: 30px !important;
    fill: #FFFFFF !important;
}

@media (max-width: 768px) {
    .floating-whatsapp-btn {
        bottom: 20px !important;
        right: 16px !important;
        width: 52px !important;
        height: 52px !important;
        box-shadow: 0 4px 14px rgba(37, 211, 102, 0.5) !important;
    }
    .floating-whatsapp-btn svg {
        width: 26px !important;
        height: 26px !important;
    }
}
