/* ==========================================================================
   EMSQUARE - Stylesheet
   ========================================================================== */

/* Variables */
html {
    scroll-behavior: auto;
    /* Lenis handles smooth scrolling */
}

/* Lenis Smooth Scroll Recommended CSS */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

:root {
    --primary-red: #BF1A1A;
    /* Precise EMSQUARE Red color */
    --hover-red: #BF1A1A;
    --dark-text: #0D0D0D;
    /* Elegant almost-black color */
    --body-text: #52575C;
    /* Lighter color for description text */
    --body-bg: #F2F1F1;
    /* Light grey background */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Standardized Responsive Typography Scale */
    --fs-hero: clamp(2.2rem, 5.2vw, 3.75rem);
    --fs-display: clamp(2.5rem, 4.5vw, 2.9rem);
    --fs-h1: clamp(2rem, 3.8vw, 3rem);
    --fs-h2: clamp(1.75rem, 3.2vw, 2.5rem);
    --fs-h3: clamp(1.5rem, 2.8vw, 1.875rem);
    --fs-h4: clamp(1.25rem, 2.2vw, 2rem);
    --fs-h5: clamp(1.0625rem, 1.8vw, 1.375rem);
    --fs-h6: clamp(0.9375rem, 1.5vw, 1.25rem);
    --fs-body-lg: clamp(1rem, 1.25vw, 1.125rem);
    --fs-body: clamp(0.875rem, 1.1vw, 1rem);
    --fs-body-sm: clamp(0.92rem, 1vw, 0.9375rem);
    --fs-label: clamp(0.75rem, 0.9vw, 0.875rem);
    --fs-caption: clamp(0.6875rem, 0.85vw, 0.9rem);
    --fs-micro: clamp(0.625rem, 0.78vw, 0.6875rem);

    /* Standardized Line Heights */
    --lh-heading: 1.2;
    --lh-heading-tight: 1.15;
    --lh-body: 1.6;
    --lh-body-relaxed: 1.7;

    /* Standardized Letter Spacing */
    --ls-heading: -0.02em;
    --ls-heading-tight: -0.03em;
    --ls-label: 0.08em;

    --bg: #f4f4f2;
    --ink: #1c1a17;
    --muted: #8a8681;
    --line: #e4e2dd;
    --accent: #BF1A1A;
    --accent-soft: #fbe4da;
    --card: #ffffff;

    --accent-red: #BF1A1A;
    --accent-red-soft: #f6e2e1;
    --text-muted: #8a8a8e;
    --card-bg: #ffffff;
}

/* Base Styles */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: var(--font-body);
    background-color: var(--body-bg);
    color: var(--dark-text);
}


body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
}

.contact-section {
    padding: 80px 0;
}

.contact-section h1,
h2 {
    font-family: var(--font-heading);
}

/* ==========================================================================
   Hero Section & Overlay Background
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    background-image: url('../images/hero-img.webp');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* cover the full screen width and height */
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    /* starts hidden and fades in once first frame is ready */
    transition: opacity 0.5s ease;
    background-color: #000000;
    /* cinematic letterbox color */
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

#hero-canvas.canvas-ready {
    opacity: 1;
}

/* Custom Gradient Overlay matching the layout of the reference image */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgb(255 255 255 / 41%) 1%, rgba(132, 132, 132, 0) 19%, rgb(0 0 0) 130%);
    /* background: linear-gradient(180deg, rgb(255 255 255 / 9%) 30%, rgb(0 0 0 / 41%) 97%); */
    z-index: 1;
    pointer-events: none;
}

/* ==========================================================================
   Header & Floating Navigation
   ========================================================================== */

.header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding-top: 30px;
    background: transparent;
    transition: background-color 0.3s ease, padding-top 0.3s ease, box-shadow 0.3s ease;
}

.header-container.scrolled {
    background-color: #ffffff;
    padding-top: 5px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding-bottom: 5px;
}

.header-container.scrolled .logo-img {
    filter: none;
}

.header-container.scrolled .nav-link {
    color: var(--dark-text);
}

.header-container.scrolled .active-pill {
    background-color: var(--primary-red);
    color: #ffffff;
}

/* Logo Image */
.logo-img {
    height: 57px;
    width: auto;
    object-fit: contain;
    /* filter: brightness(16.5); */
}

.about-header .logo-img {
    filter: brightness(10);
}

/* Pill Navigation Container */
.nav-pill-container {
    background: rgb(255 255 255 / 25%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: 12px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03); */
}

/* Navigation Links */
.nav-pill-container .nav-link {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: 400;
    color: #000000;
    padding: 10px 24px !important;
    border-radius: 7px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/* Active Link (Pill Background) */
.nav-pill-container .nav-link.active-pill {
    background-color: var(--primary-red) !important;
    color: #ffffff !important;
    font-weight: 500;
}

/* Hover state for links */
.nav-pill-container .nav-link:hover:not(.active-pill) {
    color: var(--primary-red) !important;
}

/* Connect Us Button */
.btn-connect {
    background-color: var(--primary-red);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: 500;
    padding: 17px 28px;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(203, 33, 39, 0.15);
}

.btn-connect:hover {
    background-color: var(--hover-red);
    color: #ffffff;
    transform: translateY(-2px);
    /* box-shadow: 0 6px 20px rgba(203, 33, 39, 0.25); */
}

.btn-connect i {
    font-size: var(--fs-body);
    transform: translateY(1px);
}

/* ==========================================================================
   Hero Content
   ========================================================================== */
.hero-content-container {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 150px;
    padding-bottom: 50px;
}

/* Heading - Plus Jakarta Sans */
.hero-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #ffffff;
    font-size: var(--fs-hero);
    line-height: var(--lh-heading-tight);
    letter-spacing: var(--ls-heading-tight);
    margin-bottom: 24px;
}

/* Description - Inter */
.hero-desc {
    font-family: var(--font-body);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    font-size: var(--fs-body);
    line-height: var(--lh-body-relaxed);
    max-width: 680px;
    margin-bottom: 17px;
}

/* Bottom stats & action wrapper */
.border-top-custom {
    /* border-top: 1.5px solid rgba(0, 0, 0, 0.08); */
    padding-top: 40px !important;
}

/* Experience & Project Stats */
.stat-item {
    display: flex;
    align-items: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--fs-h2);
    color: var(--primary-red);
    line-height: 1;
    margin-right: 14px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: var(--fs-body-sm);
    color: #ffffff;
    line-height: 1.35;
    text-transform: capitalize;
}

.border-end-custom {
    border-right: 1.5px solid rgba(255, 255, 255, 0.15);
}

/* Discover More Button with embedded Arrow block */
.btn-discover {
    background-color: var(--primary-red);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: 600;
    padding: 8px 8px 8px 28px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(203, 33, 39, 0.15);
}

.btn-discover:hover {
    background-color: var(--hover-red);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(203, 33, 39, 0.25);
}

.btn-discover .btn-text {
    font-family: var(--font-body);
}

.btn-arrow-box {
    background-color: #ffffff;
    color: var(--primary-red);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-body-lg);
    transition: all 0.3s ease;
}

.btn-discover:hover .btn-arrow-box {
    transform: scale(1.05);
}

/* ==========================================================================
   Innovative Solutions Section
   ========================================================================== */
.solutions-section {
    background-color: var(--body-bg);
    padding-top: 100px;
    padding-bottom: 100px;
}

.solutions-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark-text);
    font-size: var(--fs-h1);
    line-height: var(--lh-heading);
    letter-spacing: var(--ls-heading);
    margin-bottom: 0;
}

.solutions-desc {
    font-family: var(--font-body);
    font-weight: 400;
    color: #272727;
    font-size: var(--fs-h5);
    line-height: var(--lh-body-relaxed);
    margin-bottom: 0;
}

/* Service Cards */
.service-card {
    background: radial-gradient(89.99% 125.35% at 10.85% 19.38%, rgba(224, 30, 38, 0.00) 0%, rgb(224 30 38 / 2%) 100%);
    border: 1.5px solid rgba(203, 33, 39, 0.12);
    border-radius: 16px;
    padding: 30px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-6px);
    background: linear-gradient(180deg, rgba(203, 33, 39, 0.08) 0%, rgba(203, 33, 39, 0.02) 100%);
    border-color: rgba(203, 33, 39, 0.22);
    /* box-shadow: 0 12px 30px rgba(203, 33, 39, 0.05); */
}

/* Red Icon Wrapper */
.card-icon-wrapper {
    background-color: var(--primary-red);
    width: 63px;
    height: 63px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .card-icon-wrapper {
    background-color: var(--hover-red);
    box-shadow: 0 4px 12px rgba(203, 33, 39, 0.15);
}

.card-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.card-icon-fallback {
    font-size: 32px;
    color: #ffffff;
}

/* Card Titles */
.card-title {
    font-family: var(--font-heading);
    font-size: var(--fs-h4);
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

/* Arrow inside card */
.card-arrow {
    font-size: var(--fs-h4);
    color: var(--primary-red);
    transition: transform 0.3s ease;
}

.service-card:hover .card-arrow {
    transform: translateX(6px);
}

/* ==========================================================================
   Comprehensive Engineering Solutions Section
   ========================================================================== */
.comprehensive-services-section {
    background-color: var(--primary-red);
    color: #ffffff;
    padding-top: 100px;
    padding-bottom: 100px;
}

.services-label {
    font-family: var(--font-body);
    font-size: var(--fs-label);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.services-main-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #ffffff;
    font-size: var(--fs-h1);
    line-height: var(--lh-heading);
    letter-spacing: var(--ls-heading);
    margin-bottom: 0;
}

.services-header-desc {
    font-family: var(--font-body);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--fs-body);
    line-height: var(--lh-body-relaxed);
    margin-bottom: 0;
}

/* Service Grid Items */
.service-grid-item {
    padding: 45px 35px;
    border-right: 1.5px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.3s ease;
}

.grid-number {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 4rem;
    color: #ffffff4a;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
    letter-spacing: -0.02em;
}

.grid-title {
    font-family: var(--font-heading);
    font-size: var(--fs-h3);
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 12px;
}

.grid-desc {
    font-family: var(--font-body);
    font-size: var(--fs-body-sm);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Hover effects */
.service-grid-item:hover .grid-number {
    transform: translateY(-4px);
}

.service-grid-item:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Desktop alignment and border grids */
@media (min-width: 992px) {

    /* Flush left side of the grid with margin */
    .service-grid-item:nth-child(3n+1) {
        padding-left: 0;
    }

    /* Flush right side of the grid with margin & remove outer right border */
    .service-grid-item:nth-child(3n) {
        padding-right: 0;
        border-right: none;
    }

    /* Remove bottom border on the last row */
    .service-grid-item:nth-child(n+4) {
        border-bottom: none;
    }
}

/* Custom generous container-fluid padding on desktop */
@media (min-width: 1200px) {

    .header-container .container-fluid,
    .hero-content-container,
    .solutions-container,
    .services-section-container,
    .projects-section-container,
    .process-section-container,
    .journey-section-container,
    .leadership-section-container,
    .testimonials-container,
    .contact-cta-container,
    .footer-container,
    .about-hero-content,
    .about-landmarks-container,
    .core-values-container,
    .service-details-container,
    .stories-container {
        padding-left: 200px !important;
        padding-right: 200px !important;
    }
}

/* ==========================================================================
   Featured Projects Section
   ========================================================================== */
.projects-section {
    background-color: var(--body-bg);
    padding-top: 100px;
    padding-bottom: 100px;
}

.projects-subtitle {
    font-family: var(--font-body);
    font-size: var(--fs-label);
    font-weight: 600;
    color: var(--primary-red);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.projects-main-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #000000;
    font-size: var(--fs-h1);
    line-height: var(--lh-heading);
    letter-spacing: var(--ls-heading);
    margin-bottom: 0;
}

/* Filter Pill Container */
.projects-filter-pill {
    background-color: rgba(203, 33, 39, 0.04);
    border: 1.5px solid rgba(203, 33, 39, 0.07);
    border-radius: 12px;
    padding: 6px 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.projects-filter-pill .nav-link {
    font-family: var(--font-body);
    font-size: var(--fs-body-sm);
    font-weight: 500;
    color: #4A4A4A;
    border-radius: 8px !important;
    padding: 10px 24px !important;
    border: none;
    background: transparent;
    transition: all 0.3s ease;
}

/* Active & Hover States */
.projects-filter-pill .nav-link.active-filter {
    background-color: var(--primary-red) !important;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(203, 33, 39, 0.15);
}

.projects-filter-pill .nav-link:hover:not(.active-filter) {
    color: var(--primary-red) !important;
}

/* View Projects CTA Button */
.btn-view-projects {
    background-color: var(--primary-red);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: var(--fs-body-sm);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(203, 33, 39, 0.12);
}

.btn-view-projects:hover {
    background-color: var(--hover-red);
    transform: translateY(-2px);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(203, 33, 39, 0.22);
}

/* Project Cards Grid & Heights */
.project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.card-tall {
    height: 580px;
}

.card-wide {
    height: 340px;
}

.card-uniform {
    height: 380px;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-card:hover .project-img {
    transform: scale(1.04);
}

/* Overlay & Text readability */
.project-card-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

@media (hover: none) {
    .project-card-overlay {
        opacity: 1;
    }
}

.project-card-title {
    font-family: var(--font-heading);
    font-size: var(--fs-h5);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.project-card-meta {
    font-family: var(--font-body);
    font-size: var(--fs-label);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Stat Box (Solid Red Square) */
.project-stat-box {
    background-color: var(--primary-red);
    color: #ffffff;
    border-radius: 20px;
    padding: 35px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(203, 33, 39, 0.12);
    align-items: center;
    text-align: center;
}

.stat-box-number {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: var(--fs-display);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.stat-box-label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.35;
}

/* Custom CSS Grid Layouts */
.projects-asymmetric-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 339px 217px 340px;
    gap: 24px;
}

.asymmetric-card-1 {
    grid-column: 1 / 7;
    grid-row: 1 / 3;
}

.asymmetric-card-2 {
    grid-column: 1 / 9;
    grid-row: 3 / 4;
}

.asymmetric-card-3 {
    grid-column: 7 / 13;
    grid-row: 1 / 2;
}

.asymmetric-card-stat {
    grid-column: 7 / 9;
    grid-row: 2 / 3;
    align-self: start;
    height: 217px;
}

.asymmetric-card-4 {
    grid-column: 9 / 13;
    grid-row: 2 / 4;
}

.projects-three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* JS Filter Fade-In Transition Classes */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.asymmetric-grid-fade,
.three-column-grid-fade {
    animation: cardFadeIn 0.5s ease forwards;
}

.three-col-card {
    transition: display 0.4s ease;
}

.three-col-card.show-card {
    display: block !important;
    animation: cardFadeIn 0.5s ease forwards;
}

.three-col-card.hide-card {
    display: none !important;
}

/* ==========================================================================
   Proven Process Section
   ========================================================================== */
.process-section {
    background-color: var(--body-bg);
    padding-top: 50px;
    padding-bottom: 100px;
}

.process-main-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark-text);
    font-size: var(--fs-h1);
    line-height: var(--lh-heading);
    letter-spacing: var(--ls-heading);
    margin-bottom: 0;
}

/* Image styling */
.process-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.process-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.6s ease;
}

.process-image-wrapper:hover .process-img {
    transform: scale(1.02);
}

/* Timeline grid & vertical line */
.process-timeline {
    position: relative;
    padding: 10px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 18px;
    bottom: 45px;
    left: 18px;
    width: 1.5px;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.timeline-step {
    position: relative;
    padding-left: 60px;
    margin-bottom: 65px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

/* Step badges active & inactive */
.step-badge {
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: var(--fs-label);
    font-weight: 700;
    z-index: 2;
    background-color: var(--body-bg);
    /* Mask vertical line background */
    color: #4A4A4A;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.active-badge {
    background-color: var(--primary-red) !important;
    color: #ffffff !important;
    border-color: #ffc107 !important;
    box-shadow: 0 4px 10px rgba(203, 33, 39, 0.12);
}

/* Timeline Content */
.step-title {
    font-family: var(--font-heading);
    font-size: var(--fs-h3);
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.step-desc {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    color: var(--body-text);
    line-height: var(--lh-body);
    margin-bottom: 0;
}

/* Hover highlights */
.timeline-step:hover .step-badge:not(.active-badge) {
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: scale(1.05);
}

.timeline-step:hover .step-title {
    color: var(--primary-red);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
    background-color: var(--body-bg);
    padding-top: 50px;
    padding-bottom: 100px;
}

.testimonials-main-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark-text);
    font-size: var(--fs-h1);
    line-height: var(--lh-heading);
    letter-spacing: var(--ls-heading);
    margin-bottom: 0;
}

.testimonial-nav-arrow {
    font-size: var(--fs-h3);
    color: var(--dark-text);
    cursor: pointer;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.testimonial-nav-arrow:hover {
    transform: translateX(6px) scale(1.05);
    color: var(--primary-red);
}

/* Testimonial Cards */
.testimonial-card {
    background: linear-gradient(180deg, rgb(255 255 255) 0%, rgb(255 255 255 / 76%) 100%);
    border: 1.5px solid rgba(203, 33, 39, 0.12);
    border-radius: 16px;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    background: linear-gradient(180deg, rgb(255 255 255) 0%, rgb(255 255 255 / 76%) 100%);
    border-color: rgba(203, 33, 39, 0.22);
    box-shadow: 0 12px 30px rgba(203, 33, 39, 0.05);
}

.card-quote-icon {
    font-size: var(--fs-display);
    color: rgba(203, 33, 39, 0.14);
    line-height: 1;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.testimonial-card:hover .card-quote-icon {
    color: rgba(203, 33, 39, 0.24);
    transform: scale(1.05);
}

.testimonial-quote {
    font-family: var(--font-body);
    font-size: var(--fs-h6);
    font-weight: 400;
    color: var(--body-text);
    line-height: var(--lh-body-relaxed);
    margin-bottom: 35px;
}

/* Author Info */
.author-name {
    font-family: var(--font-heading);
    font-size: var(--fs-body-lg);
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 6px;
}

.author-title {
    font-family: var(--font-body);
    font-size: var(--fs-label);
    color: #7D7D7D;
    margin-bottom: 0;
}

.contact-cta-section {
    background-color: var(--body-bg);
    padding: 0 0 80px;
}

.contact-cta-banner {
    min-height: 224px;
    padding: 34px 48px 34px 43px;
    border-radius: 15px;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    overflow: hidden;
}

.contact-cta-title {
    margin: 0 0 18px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: var(--fs-hero);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.055em;
}

.contact-cta-description {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: var(--fs-body-sm);
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: -0.045em;
}

.contact-cta-badge {
    position: relative;
    flex: 0 0 140px;
    width: 200px;
    height: 140px;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-cta-badge:hover {
    color: #ffffff;
    transform: rotate(8deg) scale(1.04);
}

.contact-badge-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: #ffffff;
}

.contact-badge-dots {
    fill: #ffffff;
}

.contact-badge-text {
    fill: #ffffff;
    font-family: var(--font-heading);
    font-size: var(--fs-caption);
    font-weight: 600;
    letter-spacing: 3px;
}

.contact-badge-icon {
    position: relative;
    z-index: 1;
    color: #050505;
    font-size: var(--fs-h2);
    line-height: 1;
}

.site-footer {
    background-color: #f2f1f1;
    color: var(--dark-text);
}

.footer-main-row {
    padding: 35px 0 25px;
}

.footer-logo-link {
    display: block;
    width: fit-content;
}

.footer-logo {
    display: block;
    width: 169px;
    height: auto;
}

.footer-address {
    margin-top: 26px;
}

.footer-address h3,
.footer-nav h3 {
    margin: 0px 0 16px;
    color: #111111;
    font-family: var(--font-body);
    font-size: var(--fs-body-lg);
    font-weight: 600;
    line-height: var(--lh-heading);
}

.footer-address p,
.footer-address a,
.footer-nav a,
.footer-bottom p {
    color: #4d4d4d;
    font-family: var(--font-body);
    font-size: var(--fs-label);
    font-weight: 400;
    line-height: var(--lh-body);
}

.footer-address p {
    margin: 0 0 8px;
}

.footer-address a,
.footer-nav a {
    display: block;
    width: fit-content;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-address a+a {
    margin-top: 8px;
}

.footer-address a:hover,
.footer-nav a:hover {
    color: var(--primary-red);
}

.footer-logo-link:focus-visible,
.footer-address a:focus-visible,
.footer-nav a:focus-visible,
.footer-socials a:focus-visible {
    outline: 2px solid var(--primary-red);
    outline-offset: 3px;
    border-radius: 3px;
}

.footer-links-column {
    padding-top: 6px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 27px;
}

.footer-socials a {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background-color: #dc292d;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: var(--fs-body-sm);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.footer-socials a:hover {
    color: #ffffff;
    background-color: var(--hover-red);
    transform: translateY(-2px);
}

.footer-nav a {
    margin-bottom: 7px;
    white-space: normal;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.11);
}

.footer-bottom .footer-container {
    min-height: 44px;
}

.footer-bottom p {
    margin: 0;
    font-size: var(--fs-caption);
    padding: 25px 0px;
}

.footer-bottom p a {
    color: #e63946;
    text-decoration: none;
}

.footer-bottom p a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Our Journey Section
   ========================================================================== */
.journey-section {
    background-color: var(--body-bg);
    padding-top: 100px;
    padding-bottom: 100px;
}

.journey-label-wrapper {
    display: inline-flex;
    align-items: center;
}

.journey-dash {
    display: inline-block;
    width: 26px;
    height: 2.5px;
    background-color: var(--primary-red);
    border-radius: 2px;
}

.journey-subtitle {
    font-family: var(--font-body);
    font-size: var(--fs-label);
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.journey-main-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--fs-display);
    color: var(--dark-text);
    line-height: var(--lh-heading-tight);
    letter-spacing: var(--ls-heading);
    margin-bottom: 0;
}

/* Left Featured Project Card */
.journey-project-card {
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.09);
}

.journey-project-img-wrapper {
    width: 100%;
    height: 380px;
    overflow: hidden;
    position: relative;
}

.journey-project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.journey-project-card:hover .journey-project-img {
    transform: scale(1.04);
}

.journey-project-info {
    padding: 28px 32px 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.journey-project-title {
    font-family: var(--font-heading);
    font-size: var(--fs-h5);
    font-weight: 700;
    color: #000000;
    line-height: 1.3;
    margin-bottom: 14px;
}

.journey-project-meta {
    font-family: var(--font-body);
    font-size: var(--fs-body-sm);
    color: var(--body-text);
    font-weight: 500;
}

/* Right 2x2 Milestones Grid Card */
.journey-grid-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 48px 44px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.journey-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
}

.journey-grid-cell {
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
}

/* 2x2 Grid Internal Divider Borders */
.journey-grid-cell:nth-child(1) {
    border-right: 1.5px dotted rgba(203, 33, 39, 0.3);
    border-bottom: 1.5px dotted rgba(203, 33, 39, 0.3);
    padding-top: 0;
    padding-left: 0;
}

.journey-grid-cell:nth-child(2) {
    border-bottom: 1.5px dotted rgba(203, 33, 39, 0.3);
    padding-top: 0;
    padding-right: 0;
}

.journey-grid-cell:nth-child(3) {
    border-right: 1.5px dotted rgba(203, 33, 39, 0.3);
    padding-bottom: 0;
    padding-left: 0;
}

.journey-grid-cell:nth-child(4) {
    padding-bottom: 0;
    padding-right: 0;
}

.journey-badge {
    font-family: var(--font-body);
    font-size: var(--fs-label);
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.journey-cell-title {
    font-family: var(--font-heading);
    font-size: var(--fs-h5);
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.3;
    margin-bottom: 12px;
}

.journey-cell-desc {
    font-family: var(--font-body);
    font-size: var(--fs-body-sm);
    color: var(--body-text);
    line-height: var(--lh-body);
    margin-bottom: 0;
}

/* ==========================================================================
   Leadership Message Section
   ========================================================================== */
.leadership-section {
    background-color: var(--body-bg);
    padding-top: 50px;
    padding-bottom: 100px;
}

.leadership-label-wrapper {
    display: inline-flex;
    align-items: center;
}

.leadership-dash {
    display: inline-block;
    width: 26px;
    height: 2.5px;
    background-color: var(--primary-red);
    border-radius: 2px;
}

.leadership-subtitle {
    font-family: var(--font-body);
    font-size: var(--fs-label);
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.leadership-main-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--fs-display);
    color: var(--dark-text);
    line-height: var(--lh-heading-tight);
    letter-spacing: var(--ls-heading);
    margin-bottom: 0;
}

/* Director Image Card */
.leadership-image-wrapper {
    width: 100%;
    height: 520px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #848A90;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
}

.leadership-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

.leadership-image-wrapper:hover .leadership-img {
    transform: scale(1.03);
}

/* Message Content Box */
.leadership-quote-icon {
    display: block;
    line-height: 1;
}

.leadership-text {
    font-family: var(--font-body);
    font-size: var(--fs-body-lg);
    font-weight: 400;
    color: #4A4A4A;
    line-height: var(--lh-body-relaxed);
}

.leadership-author {
    margin-top: 10px;
}

.leadership-author .author-name {
    font-family: var(--font-heading);
    font-size: var(--fs-h6);
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 3px;
    line-height: var(--lh-heading);
}

.leadership-author .author-role {
    font-family: var(--font-body);
    font-size: var(--fs-body-sm);
    font-weight: 400;
    color: #8C9297;
    margin-bottom: 0;
}

/* ==========================================================================
   Empowering Vision Section & Services List
   ========================================================================== */
.empowering-vision-section {
    padding: 100px 0;
    background-color: var(--body-bg);
}

.empowering-vision-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark-text);
    font-size: var(--fs-h1);
    line-height: var(--lh-heading-tight);
    letter-spacing: var(--ls-heading);
    margin-bottom: 0;
}

.empowering-vision-desc {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--body-text);
    font-size: var(--fs-body-sm);
    line-height: var(--lh-body);
    margin-bottom: 0;
}

/* Services List Wrapper */
.empowering-services-list {
    margin-top: 55px;
    border-top: 1.5px solid rgba(0, 0, 0, 0.12);
}

/* Individual List Item */
.empowering-service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
    border-bottom: 1.5px solid rgba(0, 0, 0, 0.12);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Service Number */
.empowering-service-num {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: var(--fs-h5);
    color: var(--primary-red);
    min-width: 100px;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

/* Service Name */
.empowering-service-name {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: var(--fs-h3);
    color: var(--dark-text);
    flex-grow: 1;
    letter-spacing: -0.01em;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Service Arrow Icon */
.empowering-service-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-h3);
    color: var(--dark-text);
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover Micro-Interactions */
.empowering-service-item:hover .empowering-service-name {
    color: var(--primary-red);
    transform: translateX(4px);
}

.empowering-service-item:hover .empowering-service-arrow {
    color: var(--primary-red);
    transform: translate(6px, 6px);
}


/* ==========================================================================
   Service Detail Blocks Section
   ========================================================================== */
.service-details-section {
    padding: 100px 0;
    background-color: var(--body-bg);
}

.service-detail-block {
    margin-bottom: 120px;
}

.service-detail-block:last-child {
    margin-bottom: 0;
}

/* Image styling */
.service-detail-image-wrapper {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
}

.service-detail-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content styling */
.service-detail-content {
    padding-top: 10px;
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.service-detail-num {
    font-family: var(--font-mono);
    font-size: var(--fs-h5);
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: -0.02em;
}

.service-detail-line {
    flex-grow: 1;
    height: 1px;
    background-color: #D1D1D1;
}

.service-detail-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    color: var(--dark-text);
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.04em;
}

.service-detail-tagline {
    font-family: var(--font-body);
    font-size: var(--fs-h5);
    font-weight: 500;
    color: #4A4A4A;
    line-height: 1.5;
    margin-bottom: 25px;
    max-width: 90%;
}

.service-detail-desc {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: 400;
    color: #52575C;
    line-height: 1.7;
    max-width: 95%;
}

/* MEP Services Tags */
.service-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
}

.service-tag {
    background-color: rgba(203, 33, 39, 0.05);
    border: 1px solid rgba(203, 33, 39, 0.12);
    border-radius: 50px;
    padding: 8px 20px;
    font-family: var(--font-body);
    font-size: var(--fs-caption);
    color: #52575C;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.service-tag:hover {
    background-color: var(--primary-red);
    color: #ffffff;
    border-color: var(--primary-red);
}

/* Construction Management List */
.service-detail-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 20px;
}

.service-detail-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-family: var(--font-body);
    font-size: var(--fs-body-sm);
    color: #52575C;
    line-height: 1.6;
}

.service-detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 15px;
    height: 1.5px;
    background-color: var(--primary-red);
}


.section-heading {
    font-size: var(--fs-h1);
    font-weight: 600;
    letter-spacing: var(--ls-heading);
}

.section-lead {
    color: var(--muted);
    font-size: var(--fs-body);
    max-width: 520px;
}

.office-heading {
    font-size: var(--fs-h4);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.icon-circle {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-body-lg);
}

.info-label {
    font-size: var(--fs-caption);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px;
}

.info-value {
    font-weight: 600;
    color: var(--ink);
    font-size: var(--fs-body);
}

.hours-title {
    font-size: var(--fs-body-sm);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--line);
    font-size: var(--fs-body-sm);
}

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

.hours-row .day {
    font-weight: 600;
}

.hours-row.highlight .time {
    color: var(--accent);
    font-weight: 700;
}

.map-wrap {
    border-radius: 14px;
    overflow: hidden;
    margin-top: 1.5rem;
    line-height: 0;
}

/* Form card */
.form-card {
    background: var(--card);
    border-radius: 18px;
    padding: 2.75rem;
    box-shadow: 0 20px 45px rgba(20, 18, 15, 0.06);
    height: 100%;
}

.form-heading {
    font-size: var(--fs-h3);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-lead {
    color: var(--muted);
    font-size: var(--fs-body-sm);
    margin-bottom: 2rem;
}

.form-label {
    font-weight: 600;
    font-size: var(--fs-body-sm);
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.form-label .req {
    color: var(--accent);
}

.form-control {
    background: #fafaf891;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: var(--fs-body-sm);
}

.form-control::placeholder {
    color: #a9a6a1;
}

.form-control:focus {
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.btn-send {
    background: #BF1A1A;
    color: #fff;
    font-weight: 600;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    border: none;
    width: 100%;
    transition: background 0.2s ease;
}

.btn-send:hover {
    background: #000;
    color: #fff;
}

.form-note {
    color: var(--muted);
    font-size: var(--fs-caption);
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
}

@media (max-width:991px) {
    .form-card {
        margin-top: 2.5rem;
        padding: 1.75rem;
    }
}






/* --------------------------------------------------------------------------------------------- */





.stories-section {
    padding: 56px 0 72px;
    scroll-margin-top: 100px;
}

.stories-heading {
    font-weight: 500;
    font-size: var(--fs-h2);
    letter-spacing: var(--ls-heading);
    margin-bottom: 28px;
}

/* Filter tabs */
.filter-tabs {
    background-color: rgba(203, 33, 39, 0.04);
    border: 1.5px solid rgba(203, 33, 39, 0.07);
    border-radius: 12px;
    scroll-margin-top: 100px;
    padding: 6px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 36px;
}

.filter-tab {
    border: none;
    background: transparent;
    color: #8a5350;
    font-weight: 500;
    font-size: var(--fs-body-sm);
    padding: 9px 20px;
    border-radius: 9px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.filter-tab:hover {
    color: var(--accent-red);
}

.filter-tab.active {
    background: var(--accent-red);
    color: #fff;
}

/* Cards */
.story-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
}

.story-card img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    display: block;
}

.story-card-body {
    padding: 16px 18px 18px;
}

.story-title {
    font-size: var(--fs-body);
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.35;
    color: #000000;
}

.story-meta {
    font-size: var(--fs-caption);
    color: var(--text-muted);
    display: flex;
    gap: 18px;
}

.story-meta span {
    display: inline-flex;
    align-items: center;
}

/* fade animation for filtering */
.story-col {
    transition: opacity 0.25s ease;
}

@media (max-width:576px) {
    .filter-tabs {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        width: 100%;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .filter-tab {
        white-space: nowrap;
    }
}

/* ==========================================================================
   About Page Styles (merged from about.css)
   ========================================================================== */
body.about-page {
    background-color: var(--body-bg);
}

.about-page .about-hero-section {
    position: relative;
    min-height: 372px;
    margin: 9px 15px 30px;
    border-radius: 15px;
    background-image: url('../images/about-banner.webp');
    background-position: center 56%;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.services-page .about-hero-section {
    background-image: url('../images/service-banner.webp');
}

.project-page .about-hero-section {
    background-image: url('../images/project-banner.webp');
}

.contact-page .about-hero-section {
    background-image: url('../images/contact-banner.webp');
}

.about-page .about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(358deg, rgb(0 0 0 / 73%) 0%, rgb(0 0 0 / 17%) 56%, rgb(0 0 0 / 19%) 70%);
}

.about-page .about-hero-content {
    position: relative;
    z-index: 2;
    min-height: 475px;
    padding-top: 0;
    padding-bottom: 45px;
    display: flex;
    align-items: flex-end;
}

.about-page .about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 5px 16px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: var(--fs-caption);
    font-weight: 400;
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
}

.about-page .about-hero-badge::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--primary-red);
    flex-shrink: 0;
}

.about-page .about-hero-content h1 {
    margin: 0 0 10px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: var(--fs-h1);
    font-weight: 600;
    line-height: var(--lh-heading);
    letter-spacing: var(--ls-heading-tight);
}

.about-page .about-hero-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--font-body);
    font-size: var(--fs-caption);
    font-weight: 400;
    line-height: 1.4;
}

.about-page .about-hero-stats {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 22px;
}

.about-page .about-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-page .about-stat+.about-stat {
    padding-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.7);
}

.about-page .about-stat strong {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: var(--fs-h2);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.06em;
}

.about-page .about-stat span {
    color: #ffffff;
    font-family: var(--font-body);
    font-size: var(--fs-caption);
    font-weight: 400;
    line-height: 1.15;
}

@media (max-width: 991.98px) {

    .about-page .about-hero-section,
    .about-page .about-hero-content {
        min-height: 540px;
    }

    .about-page .about-hero-content {
        padding-bottom: 38px;
    }

    .about-page .about-hero-stats {
        justify-content: flex-start;
        margin-top: 28px;
    }
}

@media (max-width: 575.98px) {
    .about-page .about-hero-section {
        min-height: 560px;
        margin: 8px;
        border-radius: 12px;
        background-position: 56% center;
    }

    .about-page .about-hero-section,
    .about-page .about-hero-content {
        min-height: 560px;
    }

    .about-page .about-hero-content {
        padding-bottom: 28px;
    }

    .about-page .about-hero-content h1 {
        font-size: var(--fs-h2);
    }

    .about-page .about-hero-content p {
        font-size: var(--fs-caption);
    }

    .about-page .about-hero-stats {
        gap: 14px;
        margin-top: 24px;
    }

    .about-page .about-stat {
        gap: 6px;
    }

    .about-page .about-stat+.about-stat {
        padding-left: 14px;
    }

    .about-page .about-stat strong {
        font-size: var(--fs-h3);
    }
}

.about-page .about-landmarks-section {
    padding: 60px 0 110px;
}

.about-page .about-landmarks-title {
    margin: 0;
    color: var(--dark-text);
    font-family: var(--font-heading);
    font-size: var(--fs-display);
    font-weight: 600;
    line-height: var(--lh-heading-tight);
    letter-spacing: -0.06em;
}

.about-page .about-landmarks-copy {
    max-width: 485px;
    color: #3f3f3f;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: var(--lh-body);
}

.about-page .about-landmarks-copy p {
    margin: 0 0 15px;
}

.about-page .about-landmarks-copy p:last-child {
    margin-bottom: 0;
}

.about-page .about-landmarks-content-row {
    margin-top: 64px;
}

.about-page .about-landmarks-image {
    display: block;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
}

.about-page .about-principles {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.about-page .about-principle-card {
    /* flex: 0 0 112px; */
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 12px;
    padding: 30px 32px;
    min-height: 112px;
    background-color: #ffffff;
    color: var(--primary-red);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, min-height 0.3s ease;
}

.about-page .about-principle-card h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--fs-h1);
    font-weight: 600;
    line-height: var(--lh-heading);
    letter-spacing: -0.055em;
}

.about-page .about-principle-card.is-active {
    flex: 1 1 auto;
    min-height: 205px;
    background-color: #BF1A1A;
    color: #ffffff;
}

.about-page .about-principle-card p {
    margin: 26px 0 0;
    color: var(--primary-red);
    font-family: var(--font-body);
    font-size: var(--fs-body-sm);
    font-weight: 400;
    line-height: 1.5;
}

.about-page .about-principle-card.is-active p {
    color: #ffffff;
}

.about-page .about-principle-card:focus-visible {
    outline: 3px solid var(--primary-red);
    outline-offset: 3px;
}

@media (min-width: 992px) {

    .about-page .about-landmarks-copy,
    .about-page .about-principles {
        margin-left: 24px;
    }
}

@media (max-width: 991.98px) {
    .about-page .about-landmarks-section {
        padding: 70px 0;
    }

    .about-page .about-landmarks-content-row {
        margin-top: 42px;
    }

    .about-page .about-landmarks-image {
        width: 100%;
        height: 420px;
    }
}

@media (max-width: 575.98px) {
    .about-page .about-landmarks-section {
        padding: 60px 0;
    }

    .about-page .about-landmarks-copy {
        font-size: var(--fs-body-sm);
    }

    .about-page .about-landmarks-content-row {
        margin-top: 34px;
    }

    .about-page .about-landmarks-image {
        height: 280px;
    }

    .about-page .about-principle-card {
        padding: 28px 22px;
    }

    .about-page .about-principle-card.is-active {
        min-height: 205px;
    }
}

.about-page .core-values-section {
    background-color: #BF1A1A;
    color: #ffffff;
    padding: 80px 0 70px;
}

.about-page .core-values-label {
    margin: 0 0 25px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: var(--fs-caption);
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-page .core-values-intro h2 {
    margin: 0 0 19px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: var(--fs-display);
    font-weight: 500;
    line-height: var(--lh-heading-tight);
    letter-spacing: -0.055em;
}

.about-page .core-values-intro>p:not(.core-values-label) {
    max-width: 410px;
    margin: 0;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: var(--lh-body);
}

.about-page .core-values-image {
    display: block;
    width: 100%;
    max-width: 410px;
    height: 500px;
    margin-top: 42px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
}

.about-page .core-values-list {
    padding-top: 105px;
}

.about-page .core-value-item {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) minmax(280px, 1.18fr);
    column-gap: 40px;
    align-items: start;
    min-height: 108px;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.about-page .core-value-item:first-child {
    padding-top: 0;
}

.about-page .core-value-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.about-page .core-value-item h3,
.about-page .core-value-item p {
    margin: 0;
    color: #ffffff;
}

.about-page .core-value-item h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-h4);
    font-weight: 500;
    line-height: var(--lh-heading);
    letter-spacing: -0.035em;
}

.about-page .core-value-item p {
    max-width: 340px;
    font-family: var(--font-body);
    font-size: var(--fs-body-sm);
    font-weight: 400;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .about-page .core-values-section {
        padding: 70px 0;
    }

    .about-page .core-values-list {
        padding-top: 0;
    }

    .about-page .core-values-image {
        max-width: none;
        height: 500px;
    }
}

@media (max-width: 575.98px) {
    .about-page .core-values-section {
        padding: 60px 0;
    }

    .about-page .core-values-intro h2 {
        font-size: var(--fs-h2);
    }

    .about-page .core-values-intro>p:not(.core-values-label) {
        font-size: var(--fs-label);
    }

    .about-page .core-values-image {
        height: 340px;
        margin-top: 30px;
    }

    .about-page .core-value-item {
        grid-template-columns: 1fr;
        row-gap: 12px;
        min-height: 0;
        padding: 24px 0;
    }

    .about-page .core-value-item h3 {
        font-size: var(--fs-h4);
    }

    .about-page .core-value-item p {
        max-width: none;
        font-size: var(--fs-body-sm);
    }
}

/* ==========================================================================
   Premium Preloader Styles (Replicating Overlapping m² Logo)
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0d0d0d;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    overflow: hidden;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 45px;
    transform: translateY(-10px);
}

/* Overlapping m² Logo Design from user upload */
.preloader-logo-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo-border {
    position: absolute;
    width: 90px;
    height: 90px;
    border: 3px solid;
    box-sizing: border-box;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Outer square: slightly offset, darker border */
.preloader-border-outer {
    transform: translate(-9px, 9px);
    border-color: #555555;
    z-index: 1;
    animation: preloader-outer-pulse 3s infinite ease-in-out;
}

/* Inner square: centered, bright border with dark fill to hide outer back line */
.preloader-border-inner {
    transform: translate(0px, 0px);
    border-color: #999999;
    background-color: #0d0d0d;
    z-index: 2;
    animation: preloader-inner-pulse 3s infinite ease-in-out;
}

/* Logo content centered inside */
.preloader-logo-text {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: baseline;
    margin-left: -5px;
    margin-top: -3px;
    user-select: none;
}

.m-letter {
    font-family: "Playfair Display", "Times New Roman", "Georgia", serif;
    font-style: italic;
    font-weight: 700;
    font-size: 56px;
    color: #e31e24;
    /* Iconic red color */
    line-height: 1;
    text-shadow: 0 0 20px rgba(227, 30, 36, 0.15);
    animation: preloader-text-glow 3s infinite ease-in-out;
}

.superscript-two {
    font-family: "Playfair Display", "Times New Roman", "Georgia", serif;
    font-style: italic;
    font-weight: 700;
    font-size: 26px;
    color: #e31e24;
    transform: translateY(-24px);
    display: inline-block;
    text-shadow: 0 0 20px rgba(227, 30, 36, 0.15);
}

/* Progress Bar and Counters */
.preloader-progress-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 220px;
}

.preloader-progress-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.preloader-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #b31015 0%, #e31e24 50%, #ff3a40 100%);
    transition: width 0.15s ease-out;
    box-shadow: 0 0 8px rgba(227, 30, 36, 0.5);
}

.preloader-percentage-container {
    font-family: "JetBrains Mono", "Courier New", monospace;
    font-size: 14px;
    color: #777777;
    letter-spacing: 0.12em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-percent {
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    margin-right: 1px;
}

.preloader-unit {
    color: #555555;
    font-size: 11px;
    font-weight: 500;
}

/* High-End Animations */
@keyframes preloader-outer-pulse {

    0%,
    100% {
        transform: translate(-9px, 9px) scale(1);
        border-color: #444444;
    }

    50% {
        transform: translate(-12px, 12px) scale(1.02);
        border-color: #666666;
    }
}

@keyframes preloader-inner-pulse {

    0%,
    100% {
        transform: translate(0px, 0px) scale(1);
        border-color: #888888;
    }

    50% {
        transform: translate(0px, 0px) scale(0.98);
        border-color: #bbbbbb;
    }
}

@keyframes preloader-text-glow {

    0%,
    100% {
        text-shadow: 0 0 15px rgba(227, 30, 36, 0.15);
        color: #e31e24;
    }

    50% {
        text-shadow: 0 0 25px rgba(227, 30, 36, 0.45);
        color: #ff3a40;
    }
}

/* ==========================================================================
   Floating CTA Button (Bottom Right Corner)
   ========================================================================== */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--primary-red);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(203, 33, 39, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: floating-cta-pulse 2.5s infinite ease-in-out;
}

.floating-cta:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(203, 33, 39, 0.55);
    color: #ffffff;
}

.floating-cta i {
    font-size: 24px;
}

@keyframes floating-cta-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(203, 33, 39, 0.4), 0 0 0 0 rgba(203, 33, 39, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(203, 33, 39, 0.4), 0 0 0 12px rgba(203, 33, 39, 0);
    }
}