/* ===================================
   Al-Mulhem Contracting - Bootstrap Theme
   Brand: Primary Dark Blue #324A93, Secondary Medium Blue #7691B3
   Font: Source Sans 3 (clean modern sans-serif)
   SEO-friendly, mobile-first responsive
   =================================== */

/* Prevent horizontal overflow and improve mobile UX */
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    min-height: 100%;
    /* Offset anchor targets so fixed navbar doesn’t cover them */
    scroll-padding-top: 80px;
}
body {
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
}
/* Footer always visible: stick to bottom when content is short, flow after content when long */
body .site-footer {
    margin-top: auto;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

/* Custom scrollbar – brand primary blue */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--brand-primary-hex);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-primary-dark);
}
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--brand-primary-hex) var(--bg-light);
}

:root {
    --brand-primary: rgb(50, 74, 147);
    --brand-primary-hex: #324A93;
    --brand-primary-dark: rgb(35, 52, 103);
    --brand-secondary: rgb(118, 145, 179);
    --brand-secondary-hex: #7691B3;
    --text-dark: #333;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    /* Bootstrap 5 primary = brand blue */
    --bs-primary: #324A93;
    --bs-primary-rgb: 50, 74, 147;
}

/* Buttons and primary elements */
.btn-primary {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
}
.btn-primary:hover {
    background-color: var(--brand-primary-dark) !important;
    border-color: var(--brand-primary-dark) !important;
}
.bg-primary { background-color: var(--brand-primary) !important; }
.border-primary { border-color: var(--brand-primary) !important; }
.text-primary { color: var(--brand-primary) !important; }
.dropdown-item:active { background-color: rgba(50, 74, 147, 0.15) !important; }

/* Typography - Source Sans 3 (clean modern sans-serif) */
body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    font-size: 1rem;
    padding-top: 76px; /* Offset for fixed navbar */
}
@media (max-width: 576px) {
    body {
        font-size: 16px; /* Prevents iOS zoom on input focus */
    }
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
}

/* Logo branding color */
.brand-logo {
    color: var(--brand-primary) !important;
    font-size: 1.25rem;
}
.brand-logo:hover {
    color: var(--brand-primary-dark) !important;
}
.navbar-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}
@media (min-width: 992px) {
    .navbar-logo {
        height: 45px;
    }
}
.footer-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Navbar */
.navbar .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--brand-primary) !important;
}
.navbar .nav-link.active {
    color: var(--brand-primary) !important;
}
.navbar.fixed-top {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
#langSwitcher {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    font-weight: 500;
}
#langSwitcher:hover {
    background: rgba(50, 74, 147, 0.08);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}
.lang-option.active {
    background: rgba(50, 74, 147, 0.1);
    color: var(--brand-primary);
    font-weight: 600;
}
/* Touch-friendly tap targets (min 44px) */
@media (max-width: 991px) {
    .navbar .nav-link {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    .navbar .btn {
        min-height: 44px;
        padding: 0.5rem 1rem;
    }
    /* Language switcher and Get in Touch: full width, clear spacing, no overlap */
    #navbarMain .navbar-nav {
        padding-top: 0.5rem;
    }
    #navbarMain .navbar-nav .nav-item.dropdown:has(#langSwitcher) {
        margin-top: 0.5rem;
        margin-bottom: 0.25rem;
    }
    #navbarMain .navbar-nav #langSwitcher {
        width: 100%;
        justify-content: center;
        min-height: 44px;
    }
    #navbarMain .navbar-nav .nav-item:last-child {
        margin-top: 0.75rem;
        margin-bottom: 0.5rem;
    }
    #navbarMain .navbar-nav .nav-item:last-child .btn-primary {
        width: 100%;
        margin-left: 0 !important;
        justify-content: center;
        min-height: 44px;
    }
}
@media (max-width: 576px) {
    .navbar-logo {
        height: 36px;
    }
    .brand-logo {
        font-size: 1rem;
    }
}

/* Our Services – 85vh, dark theme, content visible */
.services-slider-section {
    height: 85vh;
    min-height: 85vh;
    max-height: 85vh;
    background: #1e293b; /* dark slate */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1.5rem;
    overflow: hidden;
}
/* Force LTR for the carousel in RTL pages so Bootstrap carousel and slide layout display correctly */
[dir="rtl"] .services-blur-wrap {
    direction: ltr;
    text-align: left;
}
[dir="rtl"] .services-blur-wrap .services-slide-content,
[dir="rtl"] .services-blur-wrap .services-slide-content h2,
[dir="rtl"] .services-blur-wrap .services-slide-list,
[dir="rtl"] .services-blur-wrap .services-slide-list li {
    text-align: left;
}
[dir="rtl"] .services-blur-wrap .services-slide-list li {
    padding-left: 1.25rem;
    padding-right: 0;
}
[dir="rtl"] .services-blur-wrap .services-slide-list li::before {
    left: 0;
    right: auto;
}
.services-section-heading {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: center;
    width: 100%;
    flex-shrink: 0;
}
/* Blur background wraps only the two boxes (carousel), not the heading */
.services-blur-wrap {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 50vh;
    margin: 0 1rem 1rem;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}
@media (min-width: 992px) {
    .services-blur-wrap {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
        margin-bottom: 1.5rem;
        padding: 1.25rem;
    }
}
.services-slider-section .carousel {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
}
.services-blur-wrap .carousel {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.services-blur-wrap .carousel-inner {
    flex: 1;
    min-height: 0;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
}
.services-slider-section .carousel-item.active {
    height: 100%;
    min-height: 0;
    padding: 0.75rem 0 3rem;
    display: flex;
    align-items: stretch;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
}
/* Only the active slide is visible; Bootstrap toggles .active */
.services-blur-wrap .carousel-item:not(.active) {
    display: none !important;
}
.services-blur-wrap .carousel-item.active {
    display: flex !important;
    flex-direction: column;
    min-height: 0;
}
.services-slider-section .carousel-item .container {
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}
.services-slider-section .carousel-item .services-slide-row {
    flex: 1;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
}
@media (min-width: 992px) {
    .services-slider-section .carousel-item .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
.services-slide-row {
    align-items: stretch;
    gap: 0;
}
/* Left box 65%, right box 35% on desktop */
.services-slider-section .services-slide-row .services-box-left {
    flex: 0 0 65%;
    max-width: 65%;
    min-width: 0;
    padding-right: 0.5rem;
}
.services-slider-section .services-slide-row .services-box-right {
    flex: 0 0 35%;
    max-width: 35%;
    min-width: 0;
    padding-left: 0.5rem;
}
@media (max-width: 991px) {
    .services-slider-section .carousel-item .services-slide-row {
        flex-wrap: wrap;
    }
    .services-slider-section .services-slide-row .services-box-left {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
    }
    .services-slider-section .services-slide-row .services-box-right {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
    }
}
.services-slider-section .services-box-left {
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.services-slide-img-wrap {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    flex: 1;
    min-height: 200px;
    height: 100%;
    width: 100%;
    display: block;
}
.services-slide-img-wrap img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    object-position: center;
    display: block;
    vertical-align: middle;
}
.services-slider-section .services-box-right {
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
}
.services-slide-content {
    width: 100%;
    min-height: 0;
    display: block;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
.services-slide-content h2 {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin: 0 0 0.75rem 0;
    display: block;
}
.services-slide-content h2 .highlight {
    background: #eab308;
    color: #1e293b;
    padding: 0.1em 0.25em;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: #eab308;
}
.services-slide-content .services-slide-desc {
    color: rgba(255,255,255,0.92);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0 0 0.75rem 0;
    display: block;
}
.services-slide-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #fff;
    font-size: 0.9375rem;
    line-height: 1.6;
    display: block;
}
.services-slide-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.4rem;
}
.services-slide-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
}
.services-slider-section .carousel-control-prev,
.services-slider-section .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    opacity: 0.9;
    z-index: 2;
}
.services-slider-section .carousel-control-prev {
    left: 1rem;
}
.services-slider-section .carousel-control-next {
    right: 1rem;
}
.services-slider-section .carousel-control-prev-icon,
.services-slider-section .carousel-control-next-icon {
    filter: brightness(0) invert(1);
    width: 24px;
    height: 24px;
}
.services-slider-section .carousel-indicators {
    bottom: 1rem;
    margin-bottom: 0;
}
.services-slider-section .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 0;
    background-color: rgba(255,255,255,0.4);
    border: none;
}
.services-slider-section .carousel-indicators .active {
    background-color: #fff;
}
@media (max-width: 767px) {
    .services-slider-section .carousel-item {
        padding: 2rem 0 3.5rem;
    }
    .services-slide-img-wrap {
        min-height: 200px;
        flex: 0 0 auto;
    }
    .services-slide-content h2 {
        margin-bottom: 0.75rem;
    }
}

/* The Al-Mulhem Approach section */
.howwework-heading-main,
.howwework-heading-sub {
    letter-spacing: -0.02em;
}
.approach-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}
.approach-overline {
    letter-spacing: 0.12em;
    color: var(--brand-primary) !important;
}
.approach-title {
    letter-spacing: -0.02em;
}
.approach-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(50, 74, 147, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.approach-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(50, 74, 147, 0.12);
}
.approach-card .card-body {
    text-align: center;
}
.approach-card .card-body .approach-icon-wrap {
    width: 72px;
    height: 72px;
    background: #c5d4f0;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.approach-card .approach-icon {
    color: var(--brand-primary);
}
.approach-card-title {
    color: var(--text-dark);
    font-size: 1.125rem;
}
.approach-card-text {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* How we work section - four circular cards + diagonal corner */
.howwework-section {
    background: #fff;
    overflow: hidden;
}
.howwework-overline {
    letter-spacing: 0.12em;
    color: var(--brand-primary) !important;
}
.howwework-title {
    color: var(--brand-primary);
    letter-spacing: -0.02em;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.howwework-card-title {
    color: var(--brand-primary);
}
.howwework-img-wrap {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .howwework-img-wrap {
        width: 180px;
        height: 180px;
    }
}
.howwework-card-text {
    font-size: 0.8125rem;
    line-height: 1.55;
}
@media (min-width: 768px) {
    .howwework-card-text {
        font-size: 0.875rem;
    }
}
.howwework-corner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 120px 280px;
    border-color: transparent transparent var(--brand-primary) transparent;
    z-index: 0;
}
@media (min-width: 768px) {
    .howwework-corner {
        border-width: 0 0 160px 380px;
    }
}
/* Small screens: smaller corner so it doesn't overlap stacked cards */
@media (max-width: 575.98px) {
    .howwework-corner {
        border-width: 0 0 80px 160px;
    }
}
.howwework-logo-wrap {
    z-index: 1;
    padding: 0 0 12px 16px;
}
.howwework-logo {
    width: 48px;
    height: auto;
    filter: brightness(0) invert(1);
}
@media (min-width: 768px) {
    .howwework-logo {
        width: 56px;
    }
}
@media (max-width: 575.98px) {
    .howwework-logo {
        width: 40px;
    }
}

/* How we work – responsive on small screens */
@media (max-width: 575.98px) {
    .howwework-section .container {
        padding-bottom: 4rem;
    }
    .howwework-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem !important;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .howwework-cards-row {
        margin-bottom: 0.5rem;
    }
    .howwework-card {
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
    .howwework-img-wrap {
        width: 120px;
        height: 120px;
    }
    .howwework-card-title {
        font-size: 0.95rem;
    }
    .howwework-card-text {
        font-size: 0.8125rem;
    }
}
@media (min-width: 576px) and (max-width: 767.98px) {
    .howwework-section .container {
        padding-bottom: 3.5rem;
    }
    .howwework-title {
        font-size: 1.35rem;
    }
}

/* Main hero - showroom style (below header) */
.main-hero {
    height: 60vh;
    min-height: 400px;
}
@media (max-width: 768px) {
    .main-hero {
        height: 50vh;
        min-height: 350px;
    }
}
@media (max-width: 576px) {
    .main-hero {
        height: 45vh;
        min-height: 300px;
    }
}
.main-hero .carousel,
.main-hero .carousel-inner,
.main-hero .carousel-item {
    height: 100%;
}
.main-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.main-hero-overlay-box {
    background: rgba(50, 74, 147, 0.85);
    max-width: 340px;
    backdrop-filter: blur(4px);
    z-index: 2;
}
@media (max-width: 576px) {
    .main-hero-overlay-box {
        max-width: calc(100% - 2rem);
        margin: 1rem !important;
        padding: 1rem !important;
    }
}
.main-hero .carousel-control-prev,
.main-hero .carousel-control-next {
    z-index: 3;
}
.main-hero-address {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}
.main-hero-overlay-box p {
    font-size: 0.875rem;
    line-height: 1.5;
}
.main-carousel-prev,
.main-carousel-next {
    bottom: 1.5rem;
    top: auto;
    width: 44px;
    height: 44px;
    background: rgba(50, 74, 147, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    opacity: 0.85;
    transition: all 0.3s ease;
}
.main-carousel-prev { left: auto; right: 4.5rem; }
.main-carousel-next { right: 1rem; }
.main-carousel-prev:hover,
.main-carousel-next:hover {
    background: rgba(50, 74, 147, 0.8);
    border-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}
.main-carousel-prev .carousel-control-prev-icon,
.main-carousel-next .carousel-control-next-icon {
    filter: brightness(0) invert(1);
    width: 20px;
    height: 20px;
}
@media (max-width: 576px) {
    .main-carousel-prev,
    .main-carousel-next {
        width: 38px;
        height: 38px;
        bottom: 1rem;
    }
.main-carousel-prev { right: 3.5rem; }
.main-carousel-next { right: 0.75rem; }
}

/* ========== Split Hero Section (diagonal left blue / right image) ========== */
.hero-split {
    position: relative;
    height: 60vh;
    min-height: 60vh;
    display: flex;
    overflow: hidden;
}
.hero-split-inner {
    display: flex;
    width: 100%;
    height: 60vh;
    min-height: 60vh;
}
.hero-split-left {
    position: relative;
    flex: 0 0 49%;
    max-width: 49%;
    background: #003399;
    display: flex;
    align-items: center;
    padding: 3rem 4rem 3rem 4rem;
  
}
.hero-split-pattern {
    position: absolute;
    inset: 0;
    /* Construction blueprint style: cranes, scaffolding, building outlines */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='200' viewBox='0 0 280 200'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.07)' stroke-width='0.6'%3E%3Cpath d='M40 160v-120h20v120M50 40l30 80M80 40l-30 80M50 40h60M50 120h60'/%3E%3Cpath d='M140 160v-90h12v90M146 70l18 50M164 70l-18 50M146 70h36M146 120h36'/%3E%3Crect x='180' y='80' width='50' height='80'/%3E%3Cpath d='M205 80v80M180 120h50'/%3E%3Crect x='240' y='100' width='35' height='60'/%3E%3Cpath d='M257 100v60M240 130h35'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 320px 240px;
    opacity: 0.95;
    pointer-events: none;
}
.hero-split-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
}
.hero-split-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}
.hero-split-logo-img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}
.hero-split-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #fff;
    text-transform: uppercase;
}
.hero-split-headline {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}
.hero-split-headline .d-block {
    display: block;
}
.hero-split-year-box {
    display: inline-block;
    background: #2C2C2C;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0.6rem 1.75rem 0.6rem 1.25rem;
    margin-bottom: 2rem;
    /* Simple diagonal cut on top-right corner */
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}
.hero-split-tagline {
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}
.hero-split-right {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    overflow: hidden;
    background: #003399;
}
.hero-split-image {
    width: 100%;
    height: 100%;
    min-height: 60vh;
    object-fit: cover;
    object-position: center;
    display: block;
    /* Clip-path on image (diagonal edge where it meets the blue panel) */
    clip-path: polygon(28% 0, 100% 0, 100% 100%, 31% 100%, 15% 33%);
    -webkit-clip-path: polygon(28% 0, 100% 0, 100% 100%, 31% 100%, 15% 33%);
}
@media (max-width: 992px) {
    .hero-split,
    .hero-split-inner {
        height: 55vh;
        min-height: 55vh;
    }
    .hero-split-left {
        flex: 0 0 65%;
        max-width: 65%;
        /* No clip-path on small/medium: simple rectangle to avoid white space */
        clip-path: none;
        -webkit-clip-path: none;
        padding: 2.5rem 2.5rem;
    }
    .hero-split-image {
        min-height: 55vh;
        clip-path: none;
        -webkit-clip-path: none;
    }
}
@media (max-width: 768px) {
    .hero-split,
    .hero-split-inner {
        height: auto;
        min-height: auto;
    }
    .hero-split-inner {
        flex-direction: column;
    }
    .hero-split-left {
        flex: 0 0 auto;
        max-width: 100%;
        clip-path: none;
        -webkit-clip-path: none;
        padding: 2rem 1.5rem;
        min-height: auto;
    }
    .hero-split-right {
        min-height: 45vh;
    }
    .hero-split-image {
        min-height: 45vh;
        clip-path: none;
        -webkit-clip-path: none;
    }
}

/* Intro section - headline in main color */
.intro-headline {
    color: var(--brand-primary) !important;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    line-height: 1.3;
}

/* Legacy hero (if used elsewhere) */
.hero {
    min-height: 600px;
}
.hero-overlay {
    background: linear-gradient(135deg, rgba(50, 74, 147, 0.75), rgba(118, 145, 179, 0.5));
    pointer-events: none;
}
.hero-content h1 {
    color: var(--white) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.scroll-arrow {
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Cards - hover lift & image zoom */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(50, 74, 147, 0.15) !important;
}
.card-hover .img-zoom {
    transition: transform 0.3s ease;
}
.card-hover:hover .img-zoom {
    transform: scale(1.08);
}

/* Board - Chairman special layout */
.chairman-card {
    background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.03), rgba(255,255,255,0));
    border-radius: 12px;
    padding: 1rem;
}
.chairman-card .chairman-inner {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
}
.chairman-photo img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid var(--white);
    box-shadow: 0 12px 28px rgba(50, 74, 147, 0.15);
}
.chairman-meta h3 {
    font-size: 1.375rem;
    margin-bottom: 0.25rem;
}
.chairman-meta .chairman-title {
    color: var(--brand-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.chairman-meta .chairman-bio {
    color: var(--text-dark);
    line-height: 1.6;
}
@media (max-width: 767px) {
    .chairman-photo img { width: 140px; height: 140px; }
    .chairman-meta h3 { font-size: 1.125rem; }
}

/* Specialized Divisions - horizontal scroll, 30% width, 400px height */
.divisions-slider {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 0.75rem;
    -webkit-overflow-scrolling: touch;
}
.divisions-slider::-webkit-scrollbar {
    height: 8px;
}
.divisions-slider::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 4px;
}
.divisions-slider::-webkit-scrollbar-thumb {
    background: var(--brand-primary);
    border-radius: 4px;
}
.divisions-slider-item {
    flex: 0 0 30%;
    min-width: 280px;
}
.divisions-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.divisions-card-link:hover {
    color: inherit;
    text-decoration: none;
}
.divisions-card-link .card {
    height: 100%;
}
.divisions-section .division-card {
    height: 540px;
    display: flex;
    flex-direction: column;
}
.divisions-section .division-card .card-img-top {
    flex: 0 0 400px;
    min-height: 400px;
}
.divisions-section .division-card .card-body {
    flex: 1;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem 1.25rem;
}

/* Glass cards for Specialized Divisions */
.divisions-section .glass-card {
    background: rgba(255,255,255,0.56);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    backdrop-filter: blur(8px) saturate(120%);
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 10px 30px rgba(50, 74, 147, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.divisions-section .glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 46px rgba(50, 74, 147, 0.12);
}
.divisions-section .glass-card .card-img-top {
    position: relative;
}
.divisions-section .glass-card .card-img-top::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(50, 74, 147, 0.04), rgba(118, 145, 179, 0.02));
    mix-blend-mode: multiply;
    pointer-events: none;
}
.divisions-section .glass-card .card-body {
    background: transparent;
}
.divisions-section .card-title { color: var(--text-dark); }
.divisions-section .btn-primary {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
    border-color: transparent;
}
@media (max-width: 991px) {
    .divisions-slider-item {
        flex: 0 0 45%;
        min-width: 260px;
    }
}
@media (max-width: 576px) {
    .divisions-slider-item {
        flex: 0 0 85%;
        min-width: 240px;
    }
}

/* Project slider overlay - blue gradient */
.project-overlay {
    background: linear-gradient(to top, rgba(50, 74, 147, 0.9), transparent);
}

/* Dependable Delivery - brand blue gradient */
.dependable-delivery {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
}

/* Client logos - grayscale until hover */
.client-img {
    max-height: 70px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.client-logo:hover .client-img {
    filter: grayscale(0%);
    opacity: 1;
}
.client-logo {
    transition: transform 0.3s ease;
}
.client-logo:hover {
    transform: scale(1.05);
}

/* Our Partners and Clients - two rows, horizontal marquee (right-to-left like headlines) */
.partners-clients-section .marquee-row {
    width: 100%;
}
.marquee-wrap {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}
.marquee-track-clients {
    animation-duration: 35s;
}
.marquee-inner {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 1.5rem;
    padding: 0 1rem;
}
.partner-client-logo {
    flex-shrink: 0;
    width: 140px;
    height: 80px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.partner-client-logo:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.marquee-img {
    max-width: 100%;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(40%);
    opacity: 0.85;
    transition: filter 0.25s ease, opacity 0.25s ease;
}
.partner-client-logo:hover .marquee-img {
    filter: grayscale(0%);
    opacity: 1;
}
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
@media (max-width: 768px) {
    .partner-client-logo {
        width: 120px;
        height: 70px;
        padding: 0.5rem 0.75rem;
    }
    .marquee-inner {
        gap: 1rem;
    }
    .marquee-track {
        animation-duration: 30s;
    }
    .marquee-track-clients {
        animation-duration: 28s;
    }
}

/* Contact section - title below blue line, small & bold */
.contact-al-mulhem-title {
    margin-bottom: 2rem;
}
.contact-al-mulhem-heading {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
}
.contact-al-mulhem-line {
    width: 100%;
    max-width: 200px;
    height: 4px;
    background: var(--brand-primary);
    margin: 0 auto;
    border-radius: 2px;
}
#contact {
    scroll-margin-top: 5rem;
}

/* About page – Mission, Vision, Values (brand-colored redesign) */
.about-mvv-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}
.about-mvv-heading {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--brand-primary-hex);
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.about-mvv-card {
    background: #fff;
    box-shadow: 0 4px 20px rgba(50, 74, 147, 0.08);
    border: 1px solid rgba(50, 74, 147, 0.12) !important;
    border-radius: 12px;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.about-mvv-card:hover {
    box-shadow: 0 8px 28px rgba(50, 74, 147, 0.15);
    transform: translateY(-4px);
    border-color: rgba(50, 74, 147, 0.25) !important;
}
.about-mvv-icon-wrap {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
    background: rgba(50, 74, 147, 0.1);
    color: var(--brand-primary-hex);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}
.about-mvv-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-primary-hex);
    margin-bottom: 0.75rem;
}
.about-mvv-text {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Contact section - company details left, form right */
.contact-company-details p {
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}
.contact-company-details a {
    color: var(--brand-primary);
    text-decoration: none;
}
.contact-company-details a:hover {
    text-decoration: underline;
}
/* Contact form - same gradient as DEPENDABLE DELIVERY section */
.contact-form-wrap {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    padding: 1.75rem 1.75rem 2rem;
    padding-bottom: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(50, 74, 147, 0.25);
    overflow: visible;
}
.contact-form-wrap .lead-form {
    overflow: visible;
}
.lead-form-submit-row {
    margin-top: 1rem;
    margin-bottom: 0;
    display: block !important;
    visibility: visible !important;
}
.lead-form-submit-row button[type="submit"] {
    min-height: 44px;
    visibility: visible !important;
    display: inline-block !important;
    color: #fff !important;
    font-size: 1rem;
}
.contact-form-wrap .form-control,
.contact-form-wrap .form-select {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
}
.contact-form-wrap .form-control:focus {
    background: #fff;
    border-color: var(--brand-primary-dark);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}
.contact-form-wrap .btn-primary {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #fff !important;
    border: none;
    border-radius: 10px;
    font-weight: 600;
}
.contact-form-wrap .btn-primary:hover {
    background-color: var(--brand-primary-dark) !important;
    border-color: var(--brand-primary-dark) !important;
    color: #fff !important;
}

/* Lead form – labels and titles (Al-Mulhem lead capture, Google Sheets ready) */
.lead-form-wrap .lead-form-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
}
.lead-form-wrap .lead-form-desc {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
}
.lead-form-wrap .lead-form-label {
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.35rem;
}
/* Google Map full width below contact */
.contact-map-wrap {
    margin-top: 2.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.contact-map-wrap iframe {
    display: block;
    width: 100%;
    height: 320px;
    border: 0;
}
@media (min-width: 768px) {
    .contact-map-wrap iframe {
        height: 400px;
    }
}

/* Form controls - focus ring brand blue */
.form-control:focus,
.form-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 0.2rem rgba(50, 74, 147, 0.25);
}

/* Footer - multi-column, full width */
.site-footer {
    border-top: 1px solid #e9ecef;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
.site-footer .container-fluid {
    max-width: none !important;
    width: 100% !important;
}
.footer-main {
    background-color: var(--white);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
.footer-main-inner {
    width: 100% !important;
    max-width: none !important;
}
.footer-main .row {
    min-width: 0;
}
.footer-main .col-lg-3.col-md-6:first-child {
    min-width: 0;
}
.footer-brand {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    color: var(--brand-primary) !important;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    max-width: 100%;
    min-width: 0;
}
.footer-brand:hover {
    color: var(--brand-primary-dark) !important;
}
.footer-brand .footer-logo {
    flex-shrink: 0;
    max-width: 100%;
}
.footer-brand > span {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
@media (min-width: 576px) {
    .footer-brand > span {
        font-size: 1.15rem;
    }
}
@media (min-width: 768px) {
    .footer-brand > span {
        font-size: 1.25rem;
    }
}
@media (min-width: 992px) {
    .footer-brand .footer-logo {
        height: 64px;
    }
    .footer-brand > span {
        font-size: 1.35rem;
    }
}
.footer-about {
    color: var(--text-dark);
    line-height: 1.6;
}
.footer-read-more {
    color: var(--brand-primary) !important;
    text-decoration: underline;
    font-weight: 500;
    font-size: 0.9rem;
}
.footer-read-more:hover {
    color: var(--brand-primary-dark) !important;
}
.footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--brand-primary) !important;
    margin-bottom: 1rem;
}
.footer-address {
    color: var(--text-dark);
    line-height: 1.7;
    font-style: normal;
}
.footer-links li {
    margin-bottom: 0.35rem;
}
.footer-links a {
    color: var(--text-dark);
    text-decoration: none;
}
.footer-links a:hover {
    color: var(--brand-primary);
    text-decoration: underline;
}
.footer-phone {
    color: var(--text-dark);
    text-decoration: underline;
}

/* Footer: right columns push towards right to use space next to brand */
.footer-main .footer-cols-right {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: auto;
}

/* Footer Contact INFO box - full details, dark style (like reference image) */
.footer-contact-info-box {
    background: #2d3748;
    color: #fff;
    padding: 1.25rem 1.25rem 1.5rem;
    border-radius: 8px;
    width: 100%;
}
.footer-contact-info-box .contact-info-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.footer-contact-info-box .contact-info-title .accent {
    color: var(--brand-primary-hex);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.footer-contact-info-box .contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
}
.footer-contact-info-box .contact-info-item:last-child {
    margin-bottom: 0;
}
.footer-contact-info-box .contact-info-item svg {
    flex-shrink: 0;
    margin-top: 0.15rem;
}
.footer-contact-info-box .contact-info-item a {
    color: #fff;
    text-decoration: none;
}
.footer-contact-info-box .contact-info-item a:hover {
    text-decoration: underline;
}
.footer-contact-info-box .contact-info-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--brand-primary-hex);
    color: #fff !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border: none;
    transition: background 0.2s ease;
}
.footer-contact-info-box .contact-info-phone-btn:hover {
    background: var(--brand-primary-dark);
    color: #fff;
    text-decoration: none;
}
.footer-payment-icon {
    height: 28px;
    width: auto;
    margin-right: 8px;
    object-fit: contain;
}
.footer-bottom {
    background-color: var(--white);
}
.footer-copyright {
    color: var(--text-dark);
}
.footer-sitemap {
    color: var(--text-dark) !important;
}
.footer-sitemap:hover {
    color: var(--brand-primary) !important;
}
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-social-icon {
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-social-icon:hover {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
}
.footer-social-icon-whatsapp:hover {
    color: #25D366;
    border-color: #25D366;
}

/* Floating WhatsApp chat button - fixed bottom right, left of go-up button */
.whatsapp-chat-fab {
    position: fixed;
    bottom: 1.25rem;
    /* Leave space for back-to-top button (50px circle + 30px offset + gap) so it doesn’t cover go-up */
    right: calc(5.5rem + env(safe-area-inset-right, 0));
    z-index: 1035;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: #25D366;
    color: #fff;
    border-radius: 2rem;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding-bottom: calc(0.65rem + env(safe-area-inset-bottom, 0));
}
.whatsapp-chat-fab:hover {
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
.whatsapp-chat-fab svg {
    flex-shrink: 0;
}
.whatsapp-chat-fab-label {
    white-space: nowrap;
}
@media (max-width: 480px) {
    .whatsapp-chat-fab-label {
        display: none;
    }
    .whatsapp-chat-fab {
        padding: 0.75rem;
        bottom: 1rem;
        right: calc(4.25rem + env(safe-area-inset-right, 0));
    }
}

/* Footer: safe area for notched devices, responsive spacing */
.site-footer {
    padding-bottom: env(safe-area-inset-bottom, 0);
}
@media (max-width: 768px) {
    .footer-main .row {
        row-gap: 2rem;
    }
    .footer-heading {
        margin-top: 0.5rem;
    }
    .footer-links li a,
    .footer-phone {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}
/* Tap highlight for touch devices */
a, button {
    -webkit-tap-highlight-color: rgba(50, 74, 147, 0.15);
}
/* Prevent images from overflowing on small screens */
img {
    max-width: 100%;
}

/* Page banner - inner pages (About, Board, Divisions, Projects, Division pages) */
.page-banner {
    position: relative;
    height: 40vh;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.page-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.page-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(50, 74, 147, 0.85), rgba(118, 145, 179, 0.7));
    z-index: 1;
}
.page-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}
.page-banner-content h1 {
    color: #fff !important;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
}
.page-banner-content p {
    margin: 0;
    opacity: 0.95;
    font-size: 1.1rem;
}
@media (max-width: 576px) {
    .page-banner {
        height: 35vh;
        min-height: 240px;
    }
}

/* Form and button touch targets on mobile */
@media (max-width: 576px) {
    .btn {
        min-height: 44px;
        padding: 0.5rem 1rem;
    }
    .form-control, .form-select {
        font-size: 16px; /* Prevents zoom on focus in iOS */
    }
}

/* Project slider – smooth scroll */
.projects-slider {
    scroll-behavior: smooth;
}
.projects-slider::-webkit-scrollbar {
    height: 8px;
}
.projects-slider::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 4px;
}
.projects-slider::-webkit-scrollbar-thumb {
    background: var(--brand-primary);
    border-radius: 4px;
}

/* Projects page: intro, filter, cards */
.projects-intro {
    background: #fff;
}
.projects-intro-overline {
    letter-spacing: 0.12em;
    color: var(--brand-primary) !important;
    text-align: center;
    display: block;
}
.projects-intro-title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    color: var(--text-dark);
}
.projects-page-card {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(50, 74, 147, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.projects-page-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(50, 74, 147, 0.14);
}
.projects-page-card-img {
    height: 240px;
    background: #f1f5f9;
}
.projects-page-card-img img {
    transition: transform 0.4s ease;
}
.projects-page-card:hover .projects-page-card-img img {
    transform: scale(1.06);
}
.projects-page-card-badge {
    letter-spacing: 0.02em;
}
.projects-grid-section .filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 2px solid var(--brand-primary);
    background: transparent;
    color: var(--brand-primary);
    transition: background 0.2s ease, color 0.2s ease;
}
.projects-grid-section .filter-btn:hover,
.projects-grid-section .filter-btn.active {
    background: var(--brand-primary);
    color: #fff;
    border-color: var(--brand-primary);
}

/* Key Projects section on index - landscape cards with strongly rounded corners (mockup style) */
.key-projects-section .project-item {
    display: block;
    width: 440px;
    min-width: 440px;
    max-width: 440px;
    height: 300px;
    border-radius: 48px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(50, 74, 147, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.key-projects-section .project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 48px;
}
.key-projects-section .project-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(50, 74, 147, 0.15);
}
.key-projects-section .project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 80px;
    background: linear-gradient(to top, rgba(50, 74, 147, 0.9), transparent);
    border-radius: 0 0 48px 48px;
    display: flex;
    align-items: flex-end;
}
.key-projects-section .project-overlay h3 {
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 576px) {
    .key-projects-section .project-item {
        width: 360px;
        min-width: 360px;
        max-width: 360px;
        height: 250px;
        border-radius: 36px;
    }
    .key-projects-section .project-item img {
        border-radius: 36px;
    }
    .key-projects-section .project-overlay {
        border-radius: 0 0 36px 36px;
    }
}

/* Division inner pages: overview + services grid */
.division-overview {
    padding: 3rem 0;
    background: #fff;
}
.division-overview .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.division-overview h2 {
    color: var(--brand-primary-hex, #324A93);
    font-weight: 700;
    margin-bottom: 1rem;
}
.division-overview .division-tagline {
    color: var(--brand-primary-hex);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.division-overview p {
    color: #495057;
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0;
}
.division-services {
    padding: 3rem 0 4rem;
    background: #f8f9fa;
}
.division-services h2 {
    text-align: center;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
}
.division-service-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem;
    height: 100%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    transition: box-shadow 0.2s, transform 0.2s;
}
.division-service-card:hover {
    box-shadow: 0 8px 24px rgba(50, 74, 147, 0.12);
    transform: translateY(-2px);
}
.division-service-card .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(50, 74, 147, 0.12), rgba(50, 74, 147, 0.06));
    color: var(--brand-primary-hex, #324A93);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}
.division-service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}
.division-service-card p {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* Above Footer Image */
.footer-abv {
    width: 100%;
    height: 30vh;
    overflow: hidden;
    line-height: 0;
}
.footer-abv img {
    width: 100%;
    height: 30vh;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}
