/* =========================================================
   CICI'S GENERAL CONSTRUCTION — GLOBAL DESIGN SYSTEM
   ========================================================= */

:root {
    --color-primary: #007bff;
    --color-primary-dark: #0056b3;
    --color-navy: #0f172a;
    --color-footer: #0f1724;
    --color-white: #ffffff;
    --color-text: #334155;
    --color-text-muted: #64748b;
    --color-text-light: #cbd5e1;
    --color-text-subtle: #94a3b8;
    --color-background: #f8fafc;
    --color-border: #e2e8f0;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
    --container-width: 1200px;
    --transition: 0.3s ease;
}

/* =========================================================
   01. RESET & BASE
   ========================================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    line-height: 1.5;
    min-height: 100vh;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   04. NAVIGATION — SIGNATURE HEADER
   ========================================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.nav-container {
    max-width: var(--container-width);
    min-height: 76px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-navy);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--color-primary);
    font-weight: 800;
    font-size: 1.05rem;
    border: 2px solid var(--color-primary);
    border-radius: 8px;
}

.logo-small {
    width: 200px;
    max-width: 100%;
    object-fit: contain;
}

.logo-copy strong {
    color: var(--color-navy);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.logo-copy small {
    color: var(--color-text-muted);
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    margin-top: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
}

.nav-links li { margin: 0; }

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 28px 0;
    color: var(--color-navy) !important;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    transition: color var(--transition);
}

.nav-links a:hover { color: var(--color-primary) !important; }

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}

.nav-links a:hover::after { transform: scaleX(1); }

.nav-btn {
    background: var(--color-primary);
    color: var(--color-white) !important;
    padding: 12px 20px !important;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 18px rgba(0, 123, 255, 0.18);
}

.nav-btn::after { display: none; }
.nav-btn:hover {
    background: var(--color-primary-dark);
    color: var(--color-white) !important;
}

.dropdown { position: relative; }

.nav-links .dropdown-menu {
    position: absolute;
    top: calc(100% - 4px);
    left: -16px;
    min-width: 220px;
    padding: 8px;
    margin: 0;
    list-style: none;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-links li.dropdown:hover .dropdown-menu,
.nav-links li.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-links .dropdown-menu li { margin: 0; }
.nav-links .dropdown-menu a {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--color-text) !important;
    font-size: 0.88rem;
}

.nav-links .dropdown-menu a::after { display: none; }
.nav-links .dropdown-menu a:hover {
    background: var(--color-background);
    color: var(--color-primary) !important;
}

/* =========================================================
   04A. MOBILE NAVIGATION — SIDE PANEL
   ========================================================= */

/* -----------------------------------------
   MOBILE MENU BUTTON
----------------------------------------- */

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 9px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    color: var(--color-navy);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.mobile-menu-toggle:hover {
    background: var(--color-background);
    border-color: var(--color-primary);

    box-shadow:
        0 4px 12px rgba(15, 23, 42, 0.08);
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* -----------------------------------------
   MOBILE MENU OVERLAY
----------------------------------------- */

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1998;
    background: rgba(15, 23, 42, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* -----------------------------------------
   MOBILE SIDE PANEL
----------------------------------------- */

.mobile-side-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: min(84vw, 360px);
    height: 100vh;
    height: 100dvh;
    z-index: 1999;
    background: var(--color-white);
    border-right: 1px solid var(--color-border);

    box-shadow:
        12px 0 35px rgba(15, 23, 42, 0.14);

    transform: translateX(-105%);
    transition:
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.mobile-side-panel.active {
    transform: translateX(0);
}


/* -----------------------------------------
   PANEL HEADER
----------------------------------------- */

.mobile-panel-header {
    min-height: 76px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-border);
}

.mobile-panel-logo {
    width: 175px;
    max-width: 70%;
    height: auto;
    object-fit: contain;
}


/* -----------------------------------------
   CLOSE BUTTON
----------------------------------------- */

.mobile-menu-close {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-navy);
    font-family: Arial, sans-serif;
    font-size: 27px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.mobile-menu-close:hover {
    background: var(--color-background);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: rotate(90deg);
}


/* -----------------------------------------
   MOBILE NAVIGATION
----------------------------------------- */

.mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mobile-nav-links > li {
    margin: 0;
}

.mobile-nav-links > li > a,
.mobile-services-toggle {

    width: 100%;
    min-height: 50px;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--color-navy);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        padding-left 0.2s ease;
}

.mobile-nav-links > li > a:hover,
.mobile-services-toggle:hover {
    background: var(--color-background);
    color: var(--color-primary);
    padding-left: 18px;
}


/* -----------------------------------------
   MOBILE SERVICES
----------------------------------------- */

.mobile-services-arrow {
    font-size: 0.8rem;

    transition:
        transform 0.25s ease;
}

.mobile-services-toggle[aria-expanded="true"]
.mobile-services-arrow {
    transform: rotate(180deg);
}


/* -----------------------------------------
   MOBILE SERVICES SUBMENU
----------------------------------------- */

.mobile-services-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 12px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;

    transition:
        max-height 0.3s ease,
        opacity 0.25s ease,
        padding 0.3s ease;
}

.mobile-services-menu.active {
    max-height: 220px;
    padding-top: 3px;
    padding-bottom: 6px;
    opacity: 1;
}

.mobile-services-menu li {
    margin: 0;
}

.mobile-services-menu a {
    display: block;
    padding: 10px 14px 10px 16px;
    border-left: 2px solid var(--color-border);
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        padding-left 0.2s ease;
}

.mobile-services-menu a:hover {
    background: var(--color-background);
    color: var(--color-primary);
    padding-left: 20px;
}


/* -----------------------------------------
   MOBILE QUOTE BUTTON
----------------------------------------- */

.mobile-quote-item {
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.mobile-nav-btn {
    justify-content: center !important;
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    font-weight: 600 !important;

    box-shadow:
        0 8px 18px rgba(0, 123, 255, 0.18);
}

.mobile-nav-btn:hover {
    background: var(--color-primary-dark) !important;
    color: var(--color-white) !important;
    padding-left: 14px !important;
}


/* -----------------------------------------
   LOCK PAGE WHILE MENU IS OPEN
----------------------------------------- */

body.mobile-menu-open {
    overflow: hidden;
}


/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width: 949px) {

    /* Hide desktop navigation */
    .nav-links {
        display: none !important;
    }

    /* Show mobile menu button */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Keep logo and menu button aligned */
    .nav-container {
        min-height: 70px;
    }

    .navbar {
        z-index: 2000;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

    .nav-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .logo-small {
        width: 170px;
    }

    .mobile-side-panel {
        width: 88vw;
    }

    .mobile-panel-header {
        padding-left: 16px;
        padding-right: 16px;
    }

    .mobile-panel-logo {
        width: 165px;
    }

    .mobile-nav-links {
        padding: 14px;
    }
}


/* =========================================================
   LANDSCAPE PHONES
   ========================================================= */

@media (max-width: 949px) and (orientation: landscape) {

    .mobile-side-panel {
        width: min(70vw, 360px);
    }

    .mobile-panel-header {
        min-height: 64px;
    }

    .mobile-panel-logo {
        width: 150px;
    }

    .mobile-nav-links {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .mobile-nav-links > li > a,
    .mobile-services-toggle {
        min-height: 42px;

        padding-top: 8px;
        padding-bottom: 8px;
    }

    .mobile-services-menu a {
        padding-top: 7px;
        padding-bottom: 7px;
    }
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 950px) {

    .mobile-menu-toggle,
    .mobile-side-panel,
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* =========================================================
   06. HOMEPAGE — SIGNATURE DESIGN
   ========================================================= */
.hero {
    min-height: 78vh;
    width: 100%;
    background: url('Images/projectsBG.jpeg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 24, 45, 0.9) 0%, rgba(8, 24, 45, 0.72) 46%, rgba(8, 24, 45, 0.18) 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 123, 255, 0.12), transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(var(--container-width), calc(100% - 48px));
    margin: 0 auto;
    padding: 80px 0;
    color: var(--color-white);
    animation: fadeInUp 0.9s ease-out both;
}

.hero-content::before {
    content: '';
    display: block;
    width: 3px;
    height: 92px;
    margin-bottom: 24px;
    background: var(--color-primary);
}

.hero-content h1 {
    max-width: 760px;
    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: 0.98;
    font-weight: 700;
    letter-spacing: -0.045em;
    margin-bottom: 24px;
}

.hero-content h1 .hero-accent { color: #3da0ff; }

.hero-content p {
    max-width: 610px;
    margin-bottom: 32px;
    color: rgba(255,255,255,0.88);
    font-size: 1.08rem;
    line-height: 1.7;
}

.typing-line { display: inline; }

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 0.82em;
    margin-left: 7px;
    vertical-align: -0.04em;
    background: var(--color-primary);
    animation: cursorBlink 0.8s steps(1) infinite;
}

.typing-cursor.typing-complete {
    animation: cursorBlink 0.8s steps(1) 2, cursorFade 0.4s ease 1.6s forwards;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-btns .btn-primary,
.hero-btns .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    margin: 0;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.hero-content .hero-btns {
    opacity: 0;
    transform: translateY(14px);
}

.hero-ready p,
.hero-ready .hero-btns {
    animation: heroReveal 0.7s ease forwards;
}

.hero-ready .hero-btns { animation-delay: 0.12s; }

@keyframes heroReveal {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 0.9; transform: translateY(0); }
}

@keyframes cursorBlink {
    0%, 45% { opacity: 1; }
    46%, 100% { opacity: 0; }
}

@keyframes cursorFade {
    to { opacity: 0; }
}

/* =========================================================
   05. BUTTONS
   ========================================================= */

/* Button Styling */
.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.75);
    color: var(--color-white);
    background: rgba(255,255,255,0.04);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,123,255,0.28);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-navy);
    transform: translateY(-2px);
}

/* Container for the 2x2 layout */
/* =========================================================
   HOMEPAGE — SERVICE CARDS - WHAT-WE-DO
   ========================================================= */
.what-we-do {
    padding: 92px 0 88px;
    background: var(--color-white);
}

.section-heading {
    width: min(760px, calc(100% - 48px));
    margin: 0 auto 42px;
    text-align: center;
}

.section-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--color-primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-heading h2 {
    color: var(--color-navy);
    font-size: clamp(2rem, 4vw, 2.7rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.section-heading h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    margin: 16px auto 0;
    background: var(--color-primary);
}

.services-carousel {
    position: relative;
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
}

.services-viewport {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.services-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.service-slide {
    flex: 0 0 100%;
    min-height: 330px;
    padding: 58px 86px;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 34px;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.service-icon {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0,123,255,0.22);
    border-radius: 20px;
    color: var(--color-primary);
    background: rgba(0,123,255,0.06);
}

.service-icon svg { width: 46px; height: 46px; }

.service-number {
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.service-slide h3 {
    margin: 8px 0 14px;
    color: var(--color-navy);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.service-slide p {
    max-width: 680px;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.service-link {
    display: inline-flex;
    margin-top: 22px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
}

.service-link:hover { color: var(--color-primary-dark); }

.carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-navy);
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

.carousel-arrow:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.carousel-dot {
    width: 32px;
    height: 3px;
    padding: 0;
    border: 0;
    background: var(--color-border);
    cursor: pointer;
    transition: width var(--transition), background var(--transition);
}

.carousel-dot.active {
    width: 48px;
    background: var(--color-primary);
}

/* =========================================================
   HOMEPAGE — COMPANY STATS
   ========================================================= */
.company-stats {
    padding: 58px 0;
    background: var(--color-navy);
    color: var(--color-white);
}

.stats-grid {
    width: min(var(--container-width), calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    min-height: 130px;
    padding: 12px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255,255,255,0.16);
}

.stat-item:last-child { border-right: 0; }

.stat-number {
    color: var(--color-white);
    font-size: clamp(2.2rem, 4vw, 3.1rem);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.stat-label {
    margin-top: 10px;
    color: var(--color-text-light);
    font-size: 0.84rem;
    font-weight: 500;
}

/* =========================================================
   HOMEPAGE — TRUSTED BY / INFINITE LOGO CAROUSEL
   ========================================================= */
.trusted-by {
    padding: 88px 0 92px;
    background: var(--color-background);
    overflow: hidden;
}

.trusted-by .section-heading { margin-bottom: 38px; }

.trusted-logos-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.trusted-logos-track {
    display: flex;
    width: max-content;
    animation: trustedLogosScroll 34s linear infinite;
}

.trusted-logos-track:hover { animation-play-state: paused; }

.trusted-logos-group {
    display: flex;
    align-items: center;
    gap: clamp(34px, 6vw, 90px);
    padding: 0 clamp(34px, 6vw, 90px);
    flex-shrink: 0;
}

.trusted-logo {
    width: clamp(130px, 12vw, 190px);
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.62;
    filter: grayscale(100%);
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.trusted-logo:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: translateY(-2px);
}

.trusted-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 58px;
    object-fit: contain;
}

@keyframes trustedLogosScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =========================================================
   HOMEPAGE RESPONSIVE
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .trusted-logos-track { animation: none; }
    .typing-cursor { animation: none; opacity: 0; }
    .hero-content p, .hero-ready p, .hero-ready .hero-btns { animation: none; opacity: 1; transform: none; }
}

@media (max-width: 992px) {
    .nav-links { gap: 16px; }
    .nav-links a { font-size: 0.78rem; }
    .service-slide { padding: 48px 56px; }
    .home-about-grid { grid-template-columns: 1fr; gap: 36px; }
    .home-about-image { min-height: 320px; }
}

@media (max-width: 768px) {
    .nav-container { min-height: 68px; padding: 0 18px; }
    .nav-links { display: none; }
    .hero { min-height: 78svh; }
    .hero-content { width: min(100% - 36px, 700px); padding: 64px 0; }
    .hero-content h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
    .hero-btns { flex-direction: column; align-items: flex-start; }
    .hero-btns .btn-primary, .hero-btns .btn-secondary { width: min(100%, 280px); }
    .what-we-do, .home-about { padding: 68px 0; }
    .service-slide { min-height: 390px; padding: 40px 30px; grid-template-columns: 1fr; gap: 22px; }
    .service-icon { width: 70px; height: 70px; }
    .service-icon svg { width: 38px; height: 38px; }
    .carousel-prev { left: 10px; }
    .carousel-next { right: 10px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.16); }
    .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.16); }
    .stat-item:nth-last-child(-n+2) { border-bottom: 0; }
    .trusted-logos { grid-template-columns: repeat(2, 1fr); }
    .trusted-logo:nth-child(2n) { border-right: 0; }
    .trusted-logo { border-bottom: 1px solid var(--color-border); }
    .trusted-logo:nth-last-child(-n+1) { border-bottom: 0; }
}

@media (max-width: 480px) {
    .section-heading, .services-carousel, .stats-grid, .home-about-grid, .trusted-logos { width: min(100% - 32px, 1100px); }
    .hero-content { width: calc(100% - 32px); }
    .hero-content h1 { font-size: 2.45rem; }
    .service-slide { min-height: 430px; padding: 34px 24px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-item { padding: 12px 10px; }
    .stat-number { font-size: 2rem; }
}

/* =========================================================
   FOOTER — GLOBAL DESIGN SYSTEM
   ========================================================= */

.site-footer {
    background: var(--color-footer);
    color: var(--color-text-light);
    padding: 72px 0 0;
}

/* =========================================================
   FOOTER CONTENT
   ========================================================= */

.footer-content {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(280px, 1.15fr) minmax(360px, 1fr);

    gap: 80px;
    align-items: start;
}

/* =========================================================
   BRAND
   ========================================================= */

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
}

.footer-logo-link {
    display: inline-flex;
    text-decoration: none;
}

.footer-logo {
    width: 275px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-brand p {
    max-width: 400px;
    margin: 0;

    color: var(--color-text-light);

    font-size: 0.95rem;
    line-height: 1.7;
}

/* =========================================================
   CONTACT / ADDRESS
   ========================================================= */

.footer-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    width: 100%;
}

.footer-section h4 {
    margin: 0 0 18px;

    color: var(--color-white);

    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-section p {
    margin: 0;

    color: var(--color-text-light);

    font-size: 0.95rem;
    line-height: 1.8;
}

/* =========================================================
   CONTACT ITEMS
   ========================================================= */

.footer-contact-item {
    display: flex;
    flex-direction: column;
    gap: 2px;

    margin-bottom: 16px;
}

.footer-contact-item:last-child {
    margin-bottom: 0;
}

.footer-label {
    color: var(--color-text-subtle);

    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-section a {
    color: var(--color-text-light);

    font-size: 0.95rem;

    text-decoration: none;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.footer-section a:hover {
    color: #7dd3fc;
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    width: min(1280px, calc(100% - 48px));
    margin: 60px auto 0;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-copyright {
    margin: 0;
    color: var(--color-text-subtle);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* =========================================================
   FOOTER CONTROLS
   ========================================================= */

.footer-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}


/* =========================================================
   LANGUAGE
   ========================================================= */

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lang-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lang-icon svg {
    width: 18px;
    height: 18px;

    color: var(--color-text-light);

    display: block;

    transition: color 0.2s ease;
}

.lang-switch:hover .lang-icon svg {
    color: #7dd3fc;
}

.footer-lang {
    min-width: 105px;
    padding: 7px 10px;
    background: transparent;
    color: var(--color-text-light);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    appearance: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.footer-lang:hover {
    border-color: rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.03);
}

.footer-lang:focus {
    outline: 2px solid rgba(125, 211, 252, 0.25);
    outline-offset: 2px;
}


/* =========================================================
   LEGAL LINKS
   ========================================================= */

.footer-legal {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-legal a,
.footer-legal button {
    padding: 0;
    background: none;
    border: 0;
    color: var(--color-text-light);
    font-family: inherit;
    font-size: 0.82rem;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.footer-legal a:hover,
.footer-legal button:hover {
    color: #7dd3fc;
}


/* =========================================================
   COOKIE MODAL
   ========================================================= */

body.cookie-modal-open {
    overflow: hidden;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.cookie-modal.is-open {
    display: flex;
}

.cookie-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(5px);
}

.cookie-modal-panel {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    padding: 38px;
    background: var(--color-footer);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

.cookie-modal-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #7dd3fc;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cookie-modal-panel h2 {
    margin: 0 0 12px;
    color: var(--color-white);
    font-size: 1.7rem;
}

.cookie-modal-panel > p {
    margin: 0 0 28px;
    color: var(--color-text-light);
    font-size: 0.92rem;
    line-height: 1.7;
}

.cookie-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--color-text-light);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.cookie-modal-close:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--color-white);
}


/* =========================================================
   COOKIE OPTIONS
   ========================================================= */

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-option > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cookie-option strong {
    color: var(--color-white);
    font-size: 0.9rem;
}

.cookie-option span {
    color: var(--color-text-subtle);
    font-size: 0.78rem;
    line-height: 1.5;
}

/* =========================================================
   COOKIE TOGGLE
   ========================================================= */

.cookie-toggle {
    position: relative;
    flex: 0 0 auto;
    width: 44px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle span {
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: background 0.2s ease;
}

.cookie-toggle span::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
}

.cookie-toggle input:checked + span {
    background: #7dd3fc;
}

.cookie-toggle input:checked + span::before {
    transform: translateX(20px);
}

.cookie-toggle input:disabled + span {
    cursor: not-allowed;
    opacity: 0.65;
}


/* =========================================================
   COOKIE ACTIONS
   ========================================================= */

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 28px;
}

.cookie-btn {
    padding: 10px 16px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.cookie-btn-secondary {
    background: transparent;
    color: var(--color-text-light);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.cookie-btn-primary {
    background: #7dd3fc;
    color: #07131c;
    border: 1px solid #7dd3fc;
}

.cookie-btn-primary:hover {
    opacity: 0.9;
}

/* =========================================================
   LEGAL / PRIVACY PAGES
   ========================================================= */

.legal-page {
    background: var(--color-background);
    color: var(--color-text);
}

.legal-hero {
    padding: 150px 24px 80px;
    background:
        linear-gradient(
            180deg,
            rgba(125, 211, 252, 0.05),
            transparent
        );
}

.legal-container {
    width: min(820px, 100%);
    margin: 0 auto;
}

.legal-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #7dd3fc;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.legal-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    color: var(--color-heading);
}

.legal-hero p {
    max-width: 650px;
    margin: 0;
    color: var(--color-text);
    font-size: 1.05rem;
    line-height: 1.7;
}

.legal-content {
    padding: 20px 24px 100px;
}

.legal-updated {
    margin-bottom: 60px;
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

.legal-content h2 {
    margin: 50px 0 16px;
    color: var(--color-heading);
    font-size: 1.35rem;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    margin: 0 0 18px;
    color: var(--color-text);
    font-size: 0.96rem;
    line-height: 1.8;
}

.legal-content a {
    color: #7dd3fc;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .legal-hero {
        padding: 120px 20px 60px;
    }

    .legal-content {
        padding: 10px 20px 70px;
    }

    .legal-hero h1 {
        font-size: 2.7rem;
    }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-bottom {
        align-items: flex-start;
    }

    .footer-controls {
        align-items: flex-end;
        flex-direction: column;
        gap: 16px;
    }

}


@media (max-width: 640px) {

    .site-footer {
        padding-top: 50px;
    }

    .footer-content,
    .footer-bottom {
        width: min(100% - 32px, 1200px);
    }

    .footer-info {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-logo {
        width: 235px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        margin-top: 42px;
        text-align: center;
    }

    .footer-controls {
        width: 100%;
        align-items: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
    }

    .cookie-modal {
        padding: 16px;
    }

    .cookie-modal-panel {
        padding: 30px 24px;
    }

    .cookie-actions {
        flex-direction: column-reverse;
    }

    .cookie-btn {
        width: 100%;
    }

}

/* --- About Page Structural Elements --- */
/* =========================================================
   10. ABOUT PAGE
   ========================================================= */

/* =========================================================
   ABOUT PAGE
   ========================================================= */

.about-page {
    width: 100%;
    background: #f8fafc;
    overflow: hidden;
}


/* =========================================================
   HERO
   ========================================================= */

.about-hero {
    position: relative;
    width: 100%;
    min-height: 520px;
    margin-top: -70px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("Images/projectsBG.jpeg");
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(15, 23, 42, 0.92) 0%,
            rgba(15, 23, 42, 0.72) 55%,
            rgba(15, 23, 42, 0.58) 100%
        );
}

.about-hero-content {
    position: relative;
    z-index: 2;
    width: min(1100px, calc(100% - 48px));
    margin-top: 60px;
    color: var(--color-white);
}

.about-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #bfdbfe;
}

.about-hero-content h1 {
    max-width: 800px;
    margin: 0;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 0.98;
    font-weight: 700;
    letter-spacing: -0.045em;
}

.about-hero-content p {
    max-width: 620px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.1rem;
    line-height: 1.7;
}


/* =========================================================
   COMPANY STORY
   ========================================================= */

.about-story-section {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 110px 0 105px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
}

.about-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--color-primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-section-label span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-primary);
}

.about-story-intro h2 {
    max-width: 480px;
    margin: 0;
    color: var(--color-navy);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.about-story-lead {
    max-width: 480px;
    margin: 25px 0 0;
    color: #64748b;
    font-size: 1.08rem;
    line-height: 1.75;
}

.about-story-content {
    padding-top: 38px;
    border-top: 1px solid #e2e8f0;
}

.about-story-content p {
    max-width: 650px;
    margin: 0 0 28px;
    color: #475569;
    font-size: 1rem;
    line-height: 1.85;
}

.about-story-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   STATS
   ========================================================= */

.about-stats-section {
    width: 100%;
    background: var(--color-navy);
}

.about-stats-inner {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.about-stat {
    position: relative;
    padding: 58px 35px;
    text-align: center;
}

.about-stat:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 30%;
    right: 0;
    width: 1px;
    height: 40%;
    background: rgba(255, 255, 255, 0.15);
}

.about-stat strong {
    display: block;
    color: var(--color-white);
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.about-stat strong span {
    color: var(--color-primary);
}

.about-stat p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* =========================================================
   CORE CAPABILITIES
   ========================================================= */

.about-capabilities {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 115px 0 120px;
}

.about-section-heading {
    max-width: 700px;
    margin-bottom: 55px;
}

.about-section-heading h2 {
    margin: 0 0 18px;
    color: var(--color-navy);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.about-section-heading > p {
    max-width: 620px;
    margin: 0;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #dbe3ec;
    border-bottom: 1px solid #dbe3ec;
}

.capability-card {
    position: relative;
    min-height: 390px;
    padding: 40px 38px 42px;
    background: #fff;
    border-right: 1px solid #dbe3ec;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.capability-card:first-child {
    border-left: 1px solid #dbe3ec;
}

.capability-card:hover {
    z-index: 2;
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.09);
}

.capability-number {
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.capability-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 42px 0 28px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.08);
}

.capability-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.capability-card h3 {
    margin: 0 0 15px;
    color: var(--color-navy);
    font-size: 1.35rem;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.capability-card p {
    max-width: 310px;
    margin: 0;
    color: #64748b;
    font-size: 0.94rem;
    line-height: 1.75;
}

.capability-line {
    position: absolute;
    bottom: 0;
    left: 38px;
    width: 38px;
    height: 3px;
    background: var(--color-primary);
    transition: width 0.25s ease;
}

.capability-card:hover .capability-line {
    width: 75px;
}


/* =========================================================
   OUR APPROACH
   ========================================================= */

.about-approach {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 650px;
    background: #eef2f7;
}

.approach-content {
    width: min(760px, calc(100% - 48px));
    margin-left: auto;
    padding: 105px 70px 105px 0;
}

.approach-content h2 {
    margin: 0 0 25px;
    color: var(--color-navy);
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.approach-content > p {
    max-width: 620px;
    margin: 0 0 50px;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.8;
}

.approach-points {
    border-top: 1px solid #d6dee8;
}

.approach-point {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid #d6dee8;
}

.approach-point > span {
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.approach-point h3 {
    margin: 0 0 5px;
    color: var(--color-navy);
    font-size: 1rem;
    font-weight: 650;
}

.approach-point p {
    margin: 0;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.6;
}

.approach-accent {
    position: relative;
    min-height: 650px;
    background:
        linear-gradient(
            145deg,
            rgba(15, 23, 42, 0.96),
            rgba(30, 64, 175, 0.9)
        );
    overflow: hidden;
}

.approach-accent::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    right: -180px;
    top: -120px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.approach-accent::after {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    right: -330px;
    top: -220px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.approach-accent-inner {
    position: absolute;
    z-index: 2;
    left: 70px;
    bottom: 85px;
    color: var(--color-white);
}

.approach-accent-inner span {
    display: block;
    margin-bottom: 15px;
    color: #bfdbfe;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.approach-accent-inner strong {
    display: block;
    font-size: clamp(3.2rem, 5vw, 5rem);
    line-height: 0.9;
    letter-spacing: -0.05em;
}


/* =========================================================
   CTA
   ========================================================= */

.about-cta {
    width: 100%;
    background: var(--color-primary);
}

.about-cta-content {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 75px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-cta .about-eyebrow {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.about-cta h2 {
    margin: 0 0 10px;
    color: var(--color-white);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.035em;
}

.about-cta p {
    max-width: 580px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.65;
}

.about-cta-button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 15px 22px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 650;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.about-cta-button span {
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

.about-cta-button:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
}

.about-cta-button:hover span {
    transform: translateX(4px);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 992px) {

    .about-story-section {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 85px 0;
    }

    .about-story-content {
        padding-top: 30px;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .capability-card {
        min-height: auto;
        border-right: 1px solid #dbe3ec;
        border-bottom: 1px solid #dbe3ec;
    }

    .capability-card:last-child {
        border-bottom: 0;
    }

    .about-approach {
        grid-template-columns: 1fr;
    }

    .approach-content {
        width: min(900px, calc(100% - 48px));
        margin: 0 auto;
        padding: 85px 0;
    }

    .approach-accent {
        min-height: 420px;
    }

    .approach-accent-inner {
        left: max(24px, calc((100% - 900px) / 2));
        bottom: 60px;
    }
}


@media (max-width: 700px) {

    .about-hero {
        min-height: 460px;
    }

    .about-hero-content {
        width: calc(100% - 40px);
        margin-top: 45px;
    }

    .about-hero-content h1 {
        font-size: clamp(2.7rem, 12vw, 4rem);
    }

    .about-hero-content p {
        font-size: 0.95rem;
    }

    .about-story-section,
    .about-capabilities {
        width: calc(100% - 40px);
    }

    .about-stats-inner {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .about-stat {
        padding: 38px 20px;
    }

    .about-stat:not(:last-child)::after {
        top: auto;
        right: 10%;
        bottom: 0;
        width: 80%;
        height: 1px;
    }

    .about-capabilities {
        padding: 80px 0;
    }

    .capability-card {
        padding: 32px 28px 38px;
    }

    .capability-icon {
        margin-top: 32px;
    }

    .capability-line {
        left: 28px;
    }

    .about-approach {
        min-height: auto;
    }

    .approach-content {
        width: calc(100% - 40px);
        padding: 75px 0;
    }

    .approach-accent {
        min-height: 350px;
    }

    .approach-accent-inner {
        left: 20px;
        bottom: 45px;
    }

    .about-cta-content {
        width: calc(100% - 40px);
        padding: 60px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

/* ---------------------------------------------------------
   PAGE WRAPPER
   --------------------------------------------------------- */

.contact-page {
    width: 100%;
    background: #f8fafc;
    color: #111827;
}


/* ---------------------------------------------------------
   CONTACT HERO
   --------------------------------------------------------- */

.contact-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #0b1f3a 0%,
            #12345a 55%,
            #0d6efd 100%
        );
}

.contact-hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    top: -250px;
    right: -100px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.contact-hero::after {
    content: "";
    position: absolute;
    width: 720px;
    height: 720px;
    bottom: -570px;
    left: -180px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}


/* ---------------------------------------------------------
   HERO OVERLAY
   --------------------------------------------------------- */

.contact-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 15, 31, 0.35),
            transparent 65%
        );

    pointer-events: none;
}


/* ---------------------------------------------------------
   HERO CONTENT
   --------------------------------------------------------- */

.contact-hero-content {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 80px 24px;
}

.contact-hero-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.contact-hero-content h1 {
    margin: 0;
    font-size: clamp(48px, 7vw, 82px);
    line-height: 0.98;
    font-weight: 600;
    letter-spacing: -0.045em;
    color: #ffffff;
}

.contact-hero-content p {
    max-width: 560px;
    margin: 26px 0 0;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.78);
}


/* ---------------------------------------------------------
   CONTACT GRID
   --------------------------------------------------------- */

.contact-grid {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 100px 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    gap: 90px;
    align-items: start;
}


/* ---------------------------------------------------------
   SECTION HEADINGS
   --------------------------------------------------------- */

.contact-section-heading {
    margin-bottom: 42px;
}

.contact-eyebrow {
    display: block;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #2563eb;
}

.contact-section-heading h2 {
    margin: 0 0 18px;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.035em;
    color: #111827;
}

.contact-section-heading p {
    max-width: 620px;
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #64748b;
}


/* ---------------------------------------------------------
   CONTACT FORM
   --------------------------------------------------------- */

.contact-form-container {
    min-width: 0;
}

.contact-form {
    width: 100%;
}


/* ---------------------------------------------------------
   FORM ROW
   --------------------------------------------------------- */

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}


/* ---------------------------------------------------------
   FORM GROUP
   --------------------------------------------------------- */

.contact-form-group {
    margin-bottom: 24px;
}

.contact-form-group label {
    display: block;
    margin-bottom: 9px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}


/* ---------------------------------------------------------
   FORM INPUTS
   --------------------------------------------------------- */

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dbe2ea;
    border-radius: 5px;
    background: #ffffff;
    color: #111827;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}


/* ---------------------------------------------------------
   INPUT / SELECT
   --------------------------------------------------------- */

.contact-form input,
.contact-form select {
    min-height: 54px;
    padding: 0 16px;
}

.contact-form select {
    cursor: pointer;
}


/* ---------------------------------------------------------
   TEXTAREA
   --------------------------------------------------------- */

.contact-form textarea {
    min-height: 165px;
    padding: 15px 16px;
    resize: vertical;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   PLACEHOLDERS
   --------------------------------------------------------- */

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #94a3b8;
    opacity: 1;
}


/* ---------------------------------------------------------
   FORM FOCUS
   --------------------------------------------------------- */

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.10);

    background: #ffffff;
}


/* ---------------------------------------------------------
   SUBMIT BUTTON
   --------------------------------------------------------- */

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 54px;
    padding: 0 26px;
    border: 0;
    border-radius: 4px;
    background: #2563eb;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-submit svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

.contact-submit:hover {
    background: #1d4ed8;

    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(37, 99, 235, 0.20);
}

.contact-submit:hover svg {
    transform: translateX(4px);
}

.contact-submit:active {
    transform: translateY(0);
}


/* ---------------------------------------------------------
   FORM STATUS ALERTS
   --------------------------------------------------------- */

.contact-alert {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 28px;
    padding: 16px 18px;
    border-radius: 5px;

    font-size: 14px;
    line-height: 1.5;
}

.contact-alert strong {
    font-weight: 700;
}

.contact-alert-success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.contact-alert-error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}


/* ---------------------------------------------------------
   CONTACT DETAILS
   --------------------------------------------------------- */

.contact-details {
    min-width: 0;
}


/* ---------------------------------------------------------
   CONTACT ITEMS
   --------------------------------------------------------- */

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid #e5e7eb;
}

.contact-item:first-of-type {
    padding-top: 0;
}

.contact-item:last-of-type {
    border-bottom: 0;
}


/* ---------------------------------------------------------
   CONTACT ITEM ICON
   --------------------------------------------------------- */

.contact-item-icon {
    flex: 0 0 44px;

    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #eff6ff;
    color: #2563eb;
}

.contact-item-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ---------------------------------------------------------
   CONTACT ITEM CONTENT
   --------------------------------------------------------- */

.contact-item-content {
    min-width: 0;
}

.contact-item-content strong {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.contact-item-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #1e293b;
}

.contact-item-content a {
    font-size: 15px;
    font-weight: 500;
    color: #1d4ed8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item-content a:hover {
    color: #1e40af;
}


/* ---------------------------------------------------------
   DIRECT CONTACT CTA
   --------------------------------------------------------- */

.contact-direct {
    margin-top: 30px;
    padding: 30px;
    border-radius: 8px;
    background:
        linear-gradient(
            135deg,
            #0b1f3a,
            #12345a
        );

    color: #ffffff;
}

.contact-direct > span {
    display: block;
    margin-bottom: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.60);
}

.contact-direct h3 {
    margin: 0 0 22px;
    font-size: 23px;
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.contact-direct a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
}

.contact-direct a svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform 0.2s ease;
}

.contact-direct a:hover svg {
    transform: translateX(4px);
}


/* ---------------------------------------------------------
   ACCESSIBILITY
   --------------------------------------------------------- */

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible,
.contact-submit:focus-visible,
.contact-item-content a:focus-visible,
.contact-direct a:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.25);
    outline-offset: 2px;
}


/* ---------------------------------------------------------
   RESPONSIVE — TABLET
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .contact-details {
        max-width: 700px;
    }
}


/* ---------------------------------------------------------
   RESPONSIVE — MOBILE
   --------------------------------------------------------- */

@media (max-width: 640px) {

    .contact-hero {
        min-height: 360px;
    }

    .contact-hero-content {
        width: calc(100% - 32px);
        padding: 70px 16px;
    }

    .contact-hero-content h1 {
        font-size: clamp(44px, 13vw, 62px);
    }

    .contact-hero-content p {
        font-size: 16px;
    }

    .contact-grid {
        width: calc(100% - 32px);
        padding: 70px 16px;
        gap: 60px;
    }

    .contact-section-heading {
        margin-bottom: 32px;
    }

    .contact-section-heading h2 {
        font-size: 34px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form input,
    .contact-form select {
        min-height: 52px;
    }

    .contact-submit {
        width: 100%;
    }

    .contact-item {
        gap: 14px;
    }

    .contact-item-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .contact-direct {
        padding: 25px;
    }

}


/* ---------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .contact-submit,
    .contact-submit svg,
    .contact-form input,
    .contact-form select,
    .contact-form textarea,
    .contact-item-content a,
    .contact-direct a svg {
        transition: none;
    }

}

/* =========================================================
   SERVICES PAGE
   ========================================================= */

/* ---------------------------------------------------------
   01. PAGE FOUNDATION
   --------------------------------------------------------- */

.services-page {
    width: 100%;
    background: #ffffff;
    color: #111827;
    overflow: hidden;
}

.services-page *,
.services-page *::before,
.services-page *::after {
    box-sizing: border-box;
}


/* ---------------------------------------------------------
   02. SERVICES HERO
   --------------------------------------------------------- */

.services-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px;
    background:
        linear-gradient(
            120deg,
            rgba(8, 25, 48, 0.92),
            rgba(13, 55, 92, 0.68)
        ),
        url("Images/architectural.jpg") center / cover no-repeat;
    isolation: isolate;
}

.services-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(3, 18, 35, 0.82),
            rgba(3, 18, 35, 0.35)
        );
    z-index: -1;
}

.services-hero-content {
    width: min(100%, 1100px);
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
}

.services-eyebrow {
    display: inline-block;
    margin-bottom: 22px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #60a5fa;
}

.services-hero h1 {
    max-width: 950px;
    margin: 0 auto 24px;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    font-weight: 700;
}

.services-hero p {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.84);
}


/* ---------------------------------------------------------
   03. SERVICES INTRO
   --------------------------------------------------------- */

.services-intro {
    padding: 110px 24px 90px;
    background: #f8fafc;
}

.services-intro-inner {
    width: min(100%, 900px);
    margin: 0 auto;
    text-align: center;
}

.section-eyebrow {
    display: block;
    margin-bottom: 16px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #2563eb;
}

.services-intro h2 {
    margin: 0 0 22px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
    font-weight: 700;
    color: #0f172a;
}

.services-intro p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #64748b;
}


/* ---------------------------------------------------------
   04. MAIN SERVICES CONTAINER
   --------------------------------------------------------- */

.services-container {
    width: 100%;
}


/* ---------------------------------------------------------
   05. PRIMARY SERVICE BLOCK
   --------------------------------------------------------- */

.service-block {
    width: 100%;
    min-height: 650px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    background: #ffffff;
}

.service-block.inverted {
    background: #f8fafc;
}


/* ---------------------------------------------------------
   SERVICE IMAGES
   --------------------------------------------------------- */

.service-image,
.MEP-image,
.bms-image {
    min-height: 650px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.construction-image {
    background-image:
        linear-gradient(
            135deg,
            rgba(7, 30, 52, 0.20),
            rgba(7, 30, 52, 0.55)
        ),
        url("Images/construction-background.jpg");
}

.MEP-image {
    background-image:
        linear-gradient(
            135deg,
            rgba(7, 30, 52, 0.18),
            rgba(7, 30, 52, 0.52)
        ),
        url("Images/MEP_bg.jpeg");
}

.bms-image {
    background-image:
        linear-gradient(
            135deg,
            rgba(7, 30, 52, 0.18),
            rgba(7, 30, 52, 0.58)
        ),
        url("Images/BMS_BGimage.jpg");
}

/* ---------------------------------------------------------
   SERVICE TEXT
   --------------------------------------------------------- */

.service-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 90px clamp(40px, 7vw, 110px);
}

.service-number {
    display: block;
    margin-bottom: 24px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #94a3b8;
}

.service-eyebrow {
    display: block;
    margin-bottom: 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #2563eb;
}

.service-text h2 {
    max-width: 620px;
    margin: 0 0 24px;
    font-size: clamp(2.1rem, 4vw, 3.7rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #0f172a;
}

.service-text p {
    max-width: 650px;
    margin: 0 0 30px;
    font-size: 1rem;
    line-height: 1.85;
    color: #64748b;
}

.service-features {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-features li {
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
}

.service-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563eb;
}


/* ---------------------------------------------------------
   06. CAPABILITIES SECTION
   --------------------------------------------------------- */

.service-capabilities {
    padding: 110px 24px 120px;
    background: #f8fafc;
}

.capabilities-header {
    width: min(100%, 900px);
    margin: 0 auto 60px;
    text-align: center;
}

.capabilities-header h3 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: #0f172a;
}

.capabilities-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
    color: #64748b;
}


/* ---------------------------------------------------------
   07. CAPABILITIES GRID
   --------------------------------------------------------- */

.capabilities-grid {
    width: min(100%, 1200px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.capability-card {
    position: relative;
    min-height: 240px;
    padding: 32px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.capability-card:hover {
    transform: translateY(-5px);
    border-color: #bfdbfe;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.capability-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 26px;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
}

.capability-card h4 {
    margin: 0 0 12px;
    font-size: 1.08rem;
    line-height: 1.35;
    color: #0f172a;
}

.capability-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #64748b;
}


/* ---------------------------------------------------------
   08. BMS PLATFORM SECTION
   --------------------------------------------------------- */

.bms-capabilities {
    background: #ffffff;
}

.bms-platforms {
    width: min(100%, 1200px);
    margin: 0 auto 75px;
    padding: 65px 55px;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.bms-platforms-header {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
}

.platforms-eyebrow {
    display: block;
    margin-bottom: 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #2563eb;
}

.bms-platforms-header h4 {
    margin: 0 0 15px;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.bms-platforms-header p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #64748b;
}


/* ---------------------------------------------------------
   09. BMS LOGO WALL
   --------------------------------------------------------- */

.bms-logo-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.bms-logo {
    min-height: 105px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: #64748b;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.bms-logo:hover {
    transform: translateY(-3px);
    color: #0f172a;
    border-color: #cbd5e1;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.bms-logo span {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.bms-logo small {
    display: block;
    margin-top: 3px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
}


/* ---------------------------------------------------------
   10. BMS INTEGRATION STATEMENT
   --------------------------------------------------------- */

.bms-integration {
    width: min(100%, 1200px);
    margin: 80px auto 0;
    padding: 65px clamp(30px, 6vw, 85px);
    border-radius: 22px;
    background:
        linear-gradient(
            135deg,
            #0f2942,
            #123f67
        );
    color: #ffffff;
}

.bms-integration-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.bms-integration .section-eyebrow {
    color: #93c5fd;
}

.bms-integration h3 {
    margin: 0 0 20px;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.bms-integration p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.76);
}


/* ---------------------------------------------------------
   11. SERVICES CTA
   --------------------------------------------------------- */

.services-cta {
    padding: 120px 24px;
    background: #f8fafc;
}

.services-cta-content {
    width: min(100%, 900px);
    margin: 0 auto;
    text-align: center;
}

.services-cta h2 {
    margin: 0 0 20px;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: #0f172a;
}

.services-cta p {
    max-width: 650px;
    margin: 0 auto 32px;
    font-size: 1rem;
    line-height: 1.8;
    color: #64748b;
}

.services-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 8px;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.services-cta-button:hover {
    transform: translateY(-2px);
    background: #1d4ed8;
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.2);
}


/* ---------------------------------------------------------
   12. RESPONSIVE — TABLET
   --------------------------------------------------------- */

@media (max-width: 1000px) {

    .services-hero {
        min-height: 500px;
    }

    .service-block {
        grid-template-columns: 1fr;
    }

    .service-block .service-image,
    .service-block .MEP-image,
    .service-block .bms-image {
        min-height: 420px;
        order: -1;
    }

    .service-text {
        padding: 75px 8%;
    }

    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bms-logo-wall {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* ---------------------------------------------------------
   13. RESPONSIVE — MOBILE
   --------------------------------------------------------- */

@media (max-width: 680px) {

    .services-hero {
        min-height: 470px;
        padding: 80px 20px;
    }

    .services-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.16em;
    }

    .services-hero h1 {
        font-size: clamp(2.4rem, 12vw, 3.5rem);
    }

    .services-hero p {
        font-size: 0.95rem;
        line-height: 1.65;
    }


    .services-intro {
        padding: 80px 20px 70px;
    }


    .service-block .service-image,
    .service-block .MEP-image,
    .service-block .bms-image {
        min-height: 300px;
    }


    .service-text {
        padding: 65px 24px;
    }

    .service-number {
        margin-bottom: 18px;
    }

    .service-text h2 {
        font-size: 2rem;
    }

    .service-text p {
        font-size: 0.95rem;
    }


    .service-capabilities {
        padding: 80px 20px;
    }

    .capabilities-header {
        margin-bottom: 40px;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .capability-card {
        min-height: auto;
        padding: 28px;
    }


    .bms-platforms {
        margin-bottom: 55px;
        padding: 40px 20px;
        border-radius: 18px;
    }

    .bms-logo-wall {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .bms-logo {
        min-height: 90px;
        padding: 15px;
    }

    .bms-logo span {
        font-size: 0.88rem;
    }

    .bms-integration {
        margin-top: 55px;
        padding: 50px 25px;
        border-radius: 18px;
    }

    .services-cta {
        padding: 85px 20px;
    }

    .services-cta h2 {
        font-size: 2.15rem;
    }

}


/* ---------------------------------------------------------
   14. ACCESSIBILITY / MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .capability-card,
    .bms-logo,
    .services-cta-button {
        transition: none;
    }
}

/* =========================================================
   CICI'S GENERAL CONSTRUCTION
   PROJECT PORTFOLIO — GRID SYSTEM
   ========================================================= */


/* =========================================================
   01. PORTFOLIO HERO
   ========================================================= */

.projects-page {
    width: 100%;
    background: #f7f9fc;
    color: #172033;
}


.projects-hero {
    position: relative;
    min-height: 68vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    margin-top: -70px;
}

.projects-hero-background {
    position: absolute;
    inset: 0;
    background:
        url("Images/construction-background.jpg")
        center / cover no-repeat;

    transform: scale(1.03);
    z-index: -3;
}

.projects-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(7, 17, 38, 0.96) 0%,
            rgba(7, 17, 38, 0.78) 48%,
            rgba(7, 17, 38, 0.25) 100%
        );
    z-index: -2;
}


.projects-hero-content {
    width: min(1200px, calc(100% - 80px));
    margin: 70px auto 0;
}


.projects-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4cbb17;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
}


.projects-eyebrow span:first-child {
    width: 35px;
    height: 1px;
    background: #4cbb17;
}


.projects-hero h1 {
    max-width: 850px;
    margin: 18px 0;
    color: #ffffff;
    font-size: clamp(3.5rem, 7vw, 6.8rem);
    line-height: 0.94;
    font-weight: 300;
    letter-spacing: -0.055em;
}


.projects-hero-content p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,0.76);
    font-size: 1.05rem;
    line-height: 1.75;
    font-weight: 300;
}


.projects-hero-index {
    position: absolute;
    right: 60px;
    bottom: 45px;
    display: flex;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
}

/* =========================================================
   02. INTRO
   ========================================================= */

.projects-intro {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
    padding: 105px 0 70px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 60px;
}


.projects-intro-label {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 10px;
    color: #737c8d;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.intro-line {
    width: 35px;
    height: 1px;
    background: #4cbb17;
}

.projects-intro-content {
    max-width: 850px;
}

.projects-intro-content h2 {
    margin: 0 0 25px;
    color: #172033;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.04;
    font-weight: 300;
    letter-spacing: -0.045em;
}

.projects-intro-content h2 strong {
    display: block;
    color: #2446b8;
    font-weight: 400;
}

.projects-intro-content p {
    max-width: 720px;
    margin: 0;
    color: #687285;
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 300;
}

/* =========================================================
   03. FILTER BAR
   ========================================================= */

.projects-filter-section {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
    padding: 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid #dce2ea;
    border-bottom: 1px solid #dce2ea;
}


.projects-filter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.project-filter-link {
    position: relative;
    padding: 11px 15px;
    color: #727b8b;
    text-decoration: none;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition:
        color 0.25s ease;
}

.project-filter-link::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 5px;
    height: 1px;
    background: #4cbb17;
    transform:
        scaleX(0);
    transform-origin: left;
    transition:
        transform 0.25s ease;
}

.project-filter-link:hover,
.project-filter-link.active {
    color: #2446b8;
}

.project-filter-link.active::after {
    transform: scaleX(1);
}

.projects-count {
    flex-shrink: 0;
    color: #2446b8;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}


.projects-count span {
    margin-left: 5px;
    color: #8a92a0;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
}

/* =========================================================
   04. PROJECT GRID
   ========================================================= */

.projects-grid-section {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
    padding: 55px 0 85px;
}

.projects-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 28px;
}


/* =========================================================
   05. PROJECT CARD
   ========================================================= */

.project-grid-card {
    display: block;
    color: #172033;
    text-decoration: none;
    background: #ffffff;
    overflow: hidden;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.project-grid-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 18px 45px rgba(23,32,51,0.10);
}

/* IMAGE */

.project-grid-image {
    position: relative;
    height: 310px;
    overflow: hidden;
    background: #e9edf3;
}

.project-grid-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition:
        transform 0.7s cubic-bezier(.2,.65,.25,1);
}

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

.project-grid-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(7,17,38,0.35) 0%,
            rgba(7,17,38,0) 45%,
            rgba(7,17,38,0.35) 100%
        );
    transition:
        background 0.35s ease;
}

.project-grid-card:hover
.project-grid-overlay {
    background:
        linear-gradient(
            180deg,
            rgba(36,70,184,0.20) 0%,
            rgba(7,17,38,0.05) 45%,
            rgba(7,17,38,0.40) 100%
        );
}

.project-grid-number {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.15em;
}


.project-grid-view {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.project-grid-card:hover
.project-grid-view {
    opacity: 1;
    transform: translateY(0);
}

.project-grid-view svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

/* CONTENT */

.project-grid-content {
    padding: 25px 25px 23px;
}

.project-grid-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
    color: #2446b8;
    font-size: 0.63rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.project-grid-meta span:last-child {
    max-width: 65%;
    color: #89919f;
    text-align: right;
    text-transform: uppercase;
}

.project-grid-content h2 {
    min-height: 58px;
    margin: 0;
    color: #172033;
    font-size: 1.45rem;
    line-height: 1.15;
    font-weight: 300;
    letter-spacing: -0.025em;
    transition:
        color 0.25s ease;
}

.project-grid-card:hover
.project-grid-content h2 {
    color: #2446b8;
}

.project-grid-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 27px;
    padding-top: 18px;
    border-top: 1px solid #e4e8ee;
    color: #747d8d;
    font-size: 0.61rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.project-grid-arrow {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8dee7;
    border-radius: 50%;
    color: #2446b8;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.project-grid-card:hover
.project-grid-arrow {
    background: #2446b8;
    color: #ffffff;
    transform: translateX(4px);
}

.project-grid-arrow svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

/* =========================================================
   06. EMPTY RESULT
   ========================================================= */

.projects-empty {
    padding: 100px 20px;
    text-align: center;
    border: 1px solid #dfe4ec;
    background: #ffffff;
}

.projects-empty-number {
    color: #2446b8;
    font-size: 4rem;
    font-weight: 300;
}

.projects-empty h2 {
    margin: 10px 0;
    font-size: 2rem;
    font-weight: 300;
}


.projects-empty p {
    color: #737c8d;
}

.projects-empty a {
    display: inline-block;
    margin-top: 20px;
    padding: 13px 22px;
    background: #2446b8;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* =========================================================
   07. PAGINATION
   ========================================================= */

.projects-pagination {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
    padding: 25px 0 110px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-top: 1px solid #dce2ea;
}

.pagination-prev,
.pagination-next {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4f596a;
    text-decoration: none;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition:
        color 0.25s ease;
}

.pagination-next {
    justify-content: flex-end;
}

.pagination-prev:hover,
.pagination-next:hover {
    color: #2446b8;
}

.pagination-prev svg,
.pagination-next svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination-page {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #858d9b;
    text-decoration: none;
    font-size: 0.68rem;
    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.pagination-page:hover {
    color: #2446b8;
}

.pagination-page.active {
    background: #2446b8;
    color: #ffffff;
}

.pagination-prev.disabled,
.pagination-next.disabled {
    color: #c2c7cf;
    pointer-events: none;
}

/* =========================================================
   08. CTA
   ========================================================= */

.projects-cta {
    background: #172033;
    color: #ffffff;
}

.projects-cta-inner {
    width: min(1200px, calc(100% - 80px));
    min-height: 330px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 45px;
}

.projects-cta-number {
    align-self: start;
    padding-top: 48px;
    color: #4cbb17;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
}

.projects-cta-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: rgba(255,255,255,0.52);
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.projects-cta h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.04;
    font-weight: 300;
    letter-spacing: -0.04em;
}

.projects-cta h2 strong {
    color: #4cbb17;
    font-weight: 400;
}

.projects-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 17px 23px;
    border: 1px solid rgba(255,255,255,0.25);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition:
        background 0.25s ease,
        border-color 0.25s ease;
}

.projects-cta-button:hover {
    background: #2446b8;
    border-color: #2446b8;
}

.projects-cta-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

/* =========================================================
   09. PROJECT DETAIL
   ========================================================= */

.project-detail-page {
    width: 100%;
    background: #f7f9fc;
    color: #172033;
}

.project-detail-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    margin-top: -70px;
}

.project-detail-hero-image {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
    z-index: -3;
}

.project-detail-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(7,17,38,0.94) 0%,
            rgba(7,17,38,0.72) 50%,
            rgba(7,17,38,0.25) 100%
        );
    z-index: -2;
}

.project-detail-hero-content {
    width: min(1200px, calc(100% - 80px));
    margin: 70px auto 0;
}

.project-detail-meta {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #4cbb17;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-detail-meta i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #4cbb17;
}

.project-detail-hero h1 {
    max-width: 900px;
    margin: 25px 0 0;
    color: #ffffff;
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 0.98;
    font-weight: 300;
    letter-spacing: -0.055em;
}

.project-detail-scroll {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 60px;
    color: rgba(255,255,255,0.6);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.scroll-line {
    width: 45px;
    height: 1px;
    background: #4cbb17;
}

.project-detail-index {
    position: absolute;
    right: 60px;
    bottom: 50px;
    display: flex;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
}

/* =========================================================
   10. PROJECT OVERVIEW
   ========================================================= */

.project-overview {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
    padding: 120px 0;
}

.project-overview-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 65px;
    color: #737c8d;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.overview-line {
    width: 35px;
    height: 1px;
    background: #4cbb17;
}

.project-overview-content {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 60px;
}

.project-overview-heading span {
    color: #2446b8;
    font-size: 4rem;
    font-weight: 300;
}

.project-overview-heading div {
    width: 50px;
    height: 1px;
    margin-top: 20px;
    background: #d5dae2;
}

.project-overview-text {
    max-width: 850px;
}

.project-overview-text p {
    margin: 0;
    color: #4f596a;
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    line-height: 1.85;
    font-weight: 300;
}

/* =========================================================
   11. DETAIL GALLERY
   ========================================================= */

.project-gallery-section {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
    padding-bottom: 120px;
}

.project-gallery-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 25px;
    border-bottom: 1px solid #dfe4ec;
    color: #737c8d;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.project-gallery-heading > span:last-child {
    color: #2446b8;
}


.project-gallery-heading small {
    margin-left: 5px;
    color: #9299a6;
    font-size: 0.6rem;
}

.project-gallery {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.project-gallery-image {
    position: relative;
    height: 340px;
    margin: 0;
    overflow: hidden;
    background: #e7ebf1;
}

.project-gallery-image-large {
    grid-column: 1 / -1;
    height: 550px;
}

.project-gallery-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition:
        transform 0.7s ease;
}

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

.project-gallery-image figcaption {
    position: absolute;
    right: 18px;
    bottom: 15px;
    color: #ffffff;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-shadow:
        0 2px 8px rgba(0,0,0,0.3);
}

/* =========================================================
   12. DETAIL NAVIGATION
   ========================================================= */

.project-navigation {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
    padding-bottom: 100px;
}

.project-navigation-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 30px 0;
    border-top: 1px solid #dfe4ec;
    border-bottom: 1px solid #dfe4ec;
    color: #172033;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-navigation-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d5dbe4;
    border-radius: 50%;
    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.project-navigation-center:hover
.project-navigation-icon {
    background: #2446b8;
    border-color: #2446b8;
    color: #ffffff;
}

.project-navigation-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.project-navigation-sides {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.project-nav-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
    color: #172033;
    text-decoration: none;
}

.project-nav-next {
    align-items: flex-end;
    text-align: right;
}

.project-nav-direction {
    color: #2446b8;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.project-nav-item strong {
    max-width: 400px;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.35;
    transition: color 0.25s ease;
}

.project-nav-item:hover strong {
    color: #2446b8;
}

/* =========================================================
   13. NOT FOUND
   ========================================================= */

.project-not-found {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f7f9fc;
}

.project-not-found-inner span {
    color: #2446b8;
    font-size: 5rem;
    font-weight: 300;
}

.project-not-found-inner h1 {
    margin: 10px 0;
    font-size: 2rem;
    font-weight: 300;
}

.project-not-found-inner p {
    color: #6b7280;
}

.project-not-found-inner a {
    display: inline-block;
    margin-top: 25px;
    padding: 13px 22px;
    background: #2446b8;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* =========================================================
   14. TABLET
   ========================================================= */

@media (max-width: 1000px) {
    .projects-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .projects-intro {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .projects-cta-inner {
        grid-template-columns: 60px 1fr;
    }

    .projects-cta-button {
        grid-column: 2;
        justify-self: start;
    }
}


/* =========================================================
   15. MOBILE
   ========================================================= */

@media (max-width: 650px) {
    .projects-hero,
    .project-detail-hero {
        min-height: 78vh;
        margin-top: -55px;
    }

    .projects-hero-content,
    .project-detail-hero-content {
        width: calc(100% - 40px);
        margin-top: 55px;
    }

    .projects-hero h1 {
        font-size: clamp(
            3rem,
            15vw,
            4.5rem
        );
    }

    .projects-hero-content p {
        font-size: 0.93rem;
    }

    .projects-hero-index,
    .project-detail-index {
        right: 20px;
        bottom: 25px;
    }

    .projects-intro {
        width: calc(100% - 40px);
        padding: 75px 0 55px;
    }

    .projects-intro-content h2 {
        font-size: 2.4rem;
    }

    .projects-filter-section {
        width: calc(100% - 40px);
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .projects-filter {
        gap: 3px;
    }

    .project-filter-link {
        padding-left: 10px;
        padding-right: 10px;
    }

    .project-filter-link::after {
        left: 10px;
        right: 10px;
    }

    .projects-grid-section {
        width: calc(100% - 40px);
        padding-top: 35px;
        padding-bottom: 55px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .project-grid-image {
        height: 280px;
    }

    .project-grid-content {
        padding: 23px;
    }

    .project-grid-content h2 {
        min-height: auto;
        font-size: 1.55rem;
    }

    .project-grid-view {
        opacity: 1;
        transform: none;
    }

    .projects-pagination {
        width: calc(100% - 40px);
        grid-template-columns: 1fr auto 1fr;
        padding-bottom: 75px;
    }

    .pagination-prev span,
    .pagination-next span {
        display: none;
    }

    .pagination-pages {
        gap: 2px;
    }

    .pagination-page {
        width: 34px;
        height: 34px;
    }

    .projects-cta-inner {
        width: calc(100% - 40px);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        padding: 55px 0;
    }

    .projects-cta-number {
        padding-top: 0;
    }

    .projects-cta-button {
        margin-top: 5px;
    }

    .project-detail-hero h1 {
        font-size: clamp(
            2.8rem,
            12vw,
            4rem
        );
    }

    .project-detail-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .project-detail-meta i {
        display: none;
    }

    .project-overview {
        width: calc(100% - 40px);
        padding: 75px 0;
    }

    .project-overview-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .project-overview-heading span {
        font-size: 3rem;
    }

    .project-overview-text p {
        font-size: 1.05rem;
        line-height: 1.75;
    }

    .project-gallery-section,
    .project-gallery-empty {
        width: calc(100% - 40px);
        padding-bottom: 75px;
    }

    .project-gallery {
        grid-template-columns: 1fr;
    }

    .project-gallery-image,
    .project-gallery-image-large {
        grid-column: auto;
        height: 300px;
    }

    .project-navigation {
        width: calc(100% - 40px);
        padding-bottom: 70px;
    }

    .project-navigation-sides {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .project-nav-next {
        align-items: flex-start;
        text-align: left;
    }
}