﻿/* ============================================
   Genç Mühendislik - Site Styles
   Renk: Koyu Lacivert | Font: Endüstriyel
   ============================================ */

:root {
    --primary: #1a3352;
    --primary-dark: #0b1828;
    --primary-light: #2d4a73;
    --accent: #8fa8c4;
    --section-dark: #060b12;
    --primary-soft: rgba(26, 51, 82, 0.18);
    --primary-border: rgba(143, 168, 196, 0.35);
    --primary-glow: rgba(26, 51, 82, 0.55);
    --primary-glow-soft: rgba(45, 74, 115, 0.28);
    --value-gradient-1: linear-gradient(160deg, #0b1828 0%, #1a3352 55%, #2d4a73 100%);
    --value-gradient-2: linear-gradient(160deg, #152238 0%, #243b5c 45%, #3d5a80 100%);
    --value-gradient-3: linear-gradient(160deg, #060b12 0%, #0f1f33 50%, #1a3352 100%);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.28);
    --featured-glow: rgba(15, 31, 51, 0.55);
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: 0.3s ease;
    --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Oswald', 'Arial Narrow', sans-serif;
    --font-heading-weight: 600;
    --font-body-weight: 400;
    --font-label-spacing: 0.2em;
    --font-heading-spacing: 0.04em;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* ---- Scroll reveal ---- */
.scroll-reveal {
    opacity: 0;
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

    .scroll-reveal.is-visible {
        opacity: 1;
    }

.scroll-reveal--up {
    transform: translateY(56px);
}

.scroll-reveal--down {
    transform: translateY(-56px);
}

.scroll-reveal--left {
    transform: translateX(-56px);
}

.scroll-reveal--right {
    transform: translateX(56px);
}

.scroll-reveal--scale {
    transform: scale(0.94);
}

.scroll-reveal--soft {
    transition: opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1), transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}

    .scroll-reveal--soft.scroll-reveal--up {
        transform: translateY(40px);
    }

.scroll-reveal.is-visible.scroll-reveal--up,
.scroll-reveal.is-visible.scroll-reveal--down,
.scroll-reveal.is-visible.scroll-reveal--left,
.scroll-reveal.is-visible.scroll-reveal--right,
.scroll-reveal.is-visible.scroll-reveal--scale {
    transform: none;
}

.scroll-reveal.is-visible.value-pillar--featured {
    transform: translateY(-22px);
}

@media (max-width: 991.98px) {
    .scroll-reveal.is-visible.value-pillar--featured {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

h1, h2, h3, h4, h5, h6,
.section-title,
.hero-slide-title,
.values-title,
.footer-title,
.stat-number,
.stat-suffix,
.value-pillar h3 {
    font-family: var(--font-heading);
    font-weight: var(--font-heading-weight);
    letter-spacing: var(--font-heading-spacing);
}

.section-label,
.values-badge,
.activities-badge {
    font-family: var(--font-heading);
    letter-spacing: var(--font-label-spacing);
}

.section-title,
.hero-slide-title,
.values-title,
.value-pillar h3,
.footer-title,
.section-label,
.values-badge,
.activities-badge {
    text-transform: uppercase;
}

.hero-slide-title {
    line-height: 1.15;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    transition: color var(--transition), opacity var(--transition);
}

/* ---- Header ---- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* background: rgba(255, 255, 255, 0.95); */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

    .site-header.scrolled {
        background: var(--white);
        border-bottom-color: var(--gray-200);
        box-shadow: var(--shadow-sm);
    }

    /* Hero üzerinde şeffaf header */
    .site-header.hero-mode {
        /* background: transparent; */
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom-color: transparent;
        box-shadow: none;
    }

        .site-header.hero-mode .nav-link {
            color: rgba(255, 255, 255, 0.92);
        }

            .site-header.hero-mode .nav-link:hover,
            .site-header.hero-mode .nav-link.active {
                color: var(--white);
            }

            .site-header.hero-mode .nav-link::after {
                background: var(--white);
            }

        .site-header.hero-mode .nav-link-contact {
            background: transparent;
            border: none;
            color: var(--white) !important;
        }

            .site-header.hero-mode .nav-link-contact:hover {
                background: transparent;
                color: var(--white) !important;
                opacity: 0.85;
            }

        .site-header.hero-mode .lang-switch a {
            color: rgba(255, 255, 255, 0.6);
        }

            .site-header.hero-mode .lang-switch a.active {
                color: var(--white);
            }

        .site-header.hero-mode .lang-switch span {
            color: rgba(255, 255, 255, 0.35);
        }

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

        .site-header.hero-mode.scrolled {
            background: var(--primary);
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            border-bottom-color: var(--primary-dark);
            box-shadow: var(--shadow-sm);
        }

            .site-header.hero-mode.scrolled .nav-link {
                color: rgba(255, 255, 255, 0.92);
            }

                .site-header.hero-mode.scrolled .nav-link:hover,
                .site-header.hero-mode.scrolled .nav-link.active {
                    color: var(--white);
                }

                .site-header.hero-mode.scrolled .nav-link::after {
                    background: var(--white);
                }

            .site-header.hero-mode.scrolled .nav-link-contact {
                background: transparent;
                border: none;
                color: var(--white) !important;
            }

                .site-header.hero-mode.scrolled .nav-link-contact:hover {
                    background: transparent;
                    color: var(--white) !important;
                    opacity: 0.85;
                }

            .site-header.hero-mode.scrolled .lang-switch a {
                color: rgba(255, 255, 255, 0.6);
            }

                .site-header.hero-mode.scrolled .lang-switch a.active {
                    color: var(--white);
                }

            .site-header.hero-mode.scrolled .lang-switch span {
                color: rgba(255, 255, 255, 0.35);
            }

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

    .site-header .navbar {
        padding: 0.75rem 0;
    }

.navbar-brand {
    border-radius: 8px;
    line-height: 0;
}

.brand-logo {
    height: 110px;
    width: auto;
    display: block;
    transition: height var(--transition);
}

.brand-logo--color {
    display: none;
}

.site-header.scrolled:not(.hero-mode) .brand-logo--default {
    display: none;
}

.site-header.scrolled:not(.hero-mode) .brand-logo--color {
    display: block;
}

.site-header.scrolled .brand-logo {
    height: 70px;
}

.site-header .nav-link {
    color: var(--gray-800);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 0.85rem !important;
    position: relative;
}

    .site-header .nav-link:hover,
    .site-header .nav-link.active {
        color: var(--primary);
    }

    .site-header .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: all var(--transition);
        transform: translateX(-50%);
    }

    .site-header .nav-link:hover::after,
    .site-header .nav-link.active::after {
        width: 60%;
    }

.nav-link-contact {
    background: var(--primary);
    color: var(--white) !important;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.25rem !important;
    margin-left: 0.5rem;
}

    .nav-link-contact:hover {
        background: var(--primary-dark);
        color: var(--white) !important;
    }

    .nav-link-contact::after {
        display: none !important;
    }

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
}

    .lang-switch a {
        color: var(--gray-400);
    }

        .lang-switch a.active {
            color: var(--primary);
        }

    .lang-switch span {
        color: var(--gray-200);
    }

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

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

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

    .dropdown-item:hover {
        background: var(--gray-50);
        color: var(--primary);
    }

/* ---- Hero Slider ---- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    padding: 0;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease, visibility 1.2s ease;
    z-index: 1;
}

    .hero-slide.active {
        opacity: 1;
        visibility: visible;
        z-index: 2;
    }

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 8s ease;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1.06);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, rgba(0, 20, 40, 0.35) 0%, rgba(0, 30, 50, 0.25) 40%, rgba(0, 40, 60, 0.65) 100% );
    z-index: 1;
}

.hero-slide-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8rem;
    text-align: center;
}

.hero-slide-content {
    max-width: 900px;
    width: 100%;
}

.hero-slide-eyebrow {
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.hero-slide.active .hero-slide-eyebrow {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide-title {
    font-size: clamp(1.5rem, 3.5vw, 3.25rem);
    font-weight: var(--font-heading-weight);
    color: var(--white);
    line-height: 1.25;
    margin: 0 auto;
    max-width: 1100px;
    letter-spacing: -0.01em;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s ease 0.5s, transform 0.9s ease 0.5s;
}

.hero-slide.active .hero-slide-title {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
    padding: 0.85rem 2rem;
    background: var(--white);
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s ease 0.65s, transform 0.9s ease 0.65s, background var(--transition), color var(--transition), gap var(--transition);
}

.hero-slide.active .hero-slide-btn {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide-btn:hover {
    background: transparent;
    color: var(--white);
    gap: 0.75rem;
}

/* Sol slider navigasyonu */
.hero-nav {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity var(--transition);
}

    .hero-nav-btn:hover,
    .hero-nav-btn.active {
        opacity: 1;
    }

.hero-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white);
    flex-shrink: 0;
    transition: transform var(--transition), box-shadow var(--transition);
}

.hero-nav-btn.active .hero-nav-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.hero-nav-thumb {
    width: 0;
    height: 48px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    opacity: 0;
    overflow: hidden;
    transition: width 0.4s ease, opacity 0.4s ease;
    border: 2px solid var(--white);
}

.hero-nav-btn.active .hero-nav-thumb {
    width: 72px;
    opacity: 1;
}

/* Sayfayı kaydır */
.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 2rem;
    z-index: 10;
}

    .hero-scroll-hint a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.65rem;
        font-weight: 500;
        letter-spacing: 0.2em;
        text-transform: uppercase;
    }

.hero-scroll-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.hero-scroll-hint i {
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

.hero-scroll-hint a:hover {
    color: var(--white);
}

.btn-primary-custom {
    background: var(--white);
    color: var(--primary);
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--white);
    transition: all var(--transition);
}

    .btn-primary-custom:hover {
        background: transparent;
        color: var(--white);
    }

.btn-outline-custom {
    background: transparent;
    color: var(--white);
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
}

    .btn-outline-custom:hover {
        background: var(--white);
        color: var(--primary);
        border-color: var(--white);
    }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

/* ---- Section Common ---- */
section {
    padding: 5rem 0;
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: var(--font-heading-weight);
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-text {
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.8;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 1rem;
}

    .link-arrow:hover {
        color: var(--primary-dark);
        gap: 0.75rem;
    }

/* ---- Values ---- */
.values-section {
    position: relative;
    z-index: 3;
    padding: 4.5rem 0;
    overflow: hidden;
    background: var(--section-dark);
}

.values-section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(120deg, var(--primary-glow) 0%, transparent 45%), linear-gradient(300deg, var(--primary-glow-soft) 0%, transparent 50%), radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 35%);
    pointer-events: none;
}

.values-section-glow {
    position: absolute;
    width: 640px;
    height: 640px;
    right: -160px;
    bottom: -40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 74, 115, 0.42) 0%, transparent 68%);
    pointer-events: none;
    z-index: 1;
}

.values-shell {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) 2.6fr;
    gap: 2.25rem;
    align-items: center;
}

.values-intro {
    max-width: 420px;
}

.values-badge {
    display: inline-block;
    background: var(--primary-soft);
    border: 1px solid var(--primary-border);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    margin-bottom: 0.94rem;
}

.values-title {
    font-size: clamp(1.85rem, 3.4vw, 2.55rem);
    font-weight: var(--font-heading-weight);
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin: 0 0 0.94rem;
}

    .values-title span {
        display: block;
        background: linear-gradient(90deg, #ffffff 0%, var(--accent) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.values-lead {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.02rem;
    line-height: 1.75;
    margin: 0;
}

.values-showcase {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: center;
}

.value-pillar {
    position: relative;
    min-height: 300px;
    padding: 1.35rem 1.15rem;
    border-radius: 32px;
    overflow: hidden;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

    .value-pillar:hover {
        transform: translateY(-10px);
        box-shadow: 0 32px 70px rgba(0, 0, 0, 0.35);
        border-color: rgba(255, 255, 255, 0.28);
    }

.value-pillar--experience {
    background: var(--value-gradient-1);
}

.value-pillar--trust {
    background: var(--value-gradient-3);
}

.value-pillar--success {
    background: var(--value-gradient-2);
}

.value-pillar--responsibility {
    background: var(--value-gradient-2);
}

.value-pillar--excellence {
    background: var(--value-gradient-3);
}

.value-pillar--featured {
    position: relative;
    z-index: 2;
    min-height: 340px;
    transform: translateY(-22px);
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: 0 34px 80px var(--featured-glow);
}

    .value-pillar--featured .value-pillar-number {
        color: rgba(255, 255, 255, 0.28);
    }

    .value-pillar--featured:hover {
        transform: translateY(-28px);
    }

.value-pillar-watermark {
    position: absolute;
    right: -10px;
    bottom: -20px;
    font-size: 8rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.value-pillar-stat {
    display: block;
    font-size: clamp(2.25rem, 3.75vw, 3.38rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 0.15rem;
}

    .value-pillar-stat span {
        font-size: 0.55em;
        color: var(--accent);
    }

.value-pillar-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.94rem;
}

.value-pillar-number {
    display: block;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.14);
    margin-bottom: 0.65rem;
}

.value-pillar h3 {
    position: relative;
    z-index: 1;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin: 0 0 0.75rem;
}

.value-pillar p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 1199.98px) {
    .values-showcase {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .value-pillar--featured {
        transform: none;
        min-height: 300px;
    }
}

@media (max-width: 991.98px) {
    .values-shell {
        grid-template-columns: 1fr;
        gap: 1.875rem;
    }

    .values-intro {
        max-width: none;
        text-align: center;
    }

    .values-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
    }

    .value-pillar--featured {
        transform: none;
        min-height: 300px;
    }

        .value-pillar--featured:hover {
            transform: translateY(-10px);
        }
}

@media (max-width: 575.98px) {
    .values-showcase {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .values-section {
        padding: 3rem 0;
    }
}

/* ---- About ---- */
.about-section {
    position: relative;
    z-index: 2;
    overflow: hidden;
    background-color: #000;
    padding: 5rem 0;
}

.about-section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.22) 52%, rgba(0, 0, 0, 0.62) 100% );
    pointer-events: none;
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

.about-section .section-label,
.about-section .section-title,
.about-section .section-text,
.about-section .link-arrow {
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 28px rgba(0, 0, 0, 0.75);
}

.about-section .section-label {
    color: rgba(255, 255, 255, 0.92);
}

.about-section .section-text {
    color: rgba(255, 255, 255, 0.96);
}

.about-section .link-arrow:hover {
    color: rgba(255, 255, 255, 0.9);
}

.about-image-grid {
    position: relative;
    height: 420px;
}

.about-img {
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 85%;
    z-index: 2;
}

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 55%;
    z-index: 3;
    border: 4px solid var(--white);
}

/* ---- Stats ---- */
.stats-section {
    position: relative;
    z-index: 1;
    background: var(--primary);
    padding: 2rem 0;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: var(--font-heading-weight);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-suffix {
    font-size: clamp(1.65rem, 3.5vw, 2.25rem);
    font-weight: var(--font-heading-weight);
    color: var(--white);
}

.stat-label {
    margin-top: 0.35rem;
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ---- Activities ---- */
.activities-section {
    background: var(--white);
    padding: 5rem 0;
}

.activities-header {
    margin-bottom: 3rem;
}

.activities-badge {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.activities-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin: 0;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.activity-card {
    position: relative;
    display: block;
    height: 280px;
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
}

    .activity-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

.activity-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.activity-card:hover .activity-card-bg {
    transform: scale(1.08);
}

.activity-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.05) 100% );
    z-index: 1;
}

.activity-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    margin: 0;
    padding: 1.25rem 1rem;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.35;
}

@media (max-width: 767.98px) {
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .activity-card {
        height: 220px;
    }

    .activity-card-title {
        font-size: 0.8rem;
        padding: 1rem 0.75rem;
    }
}

@media (max-width: 479.98px) {
    .activities-grid {
        grid-template-columns: 1fr;
    }

    .activity-card {
        height: 240px;
    }
}

/* ---- Services ---- */
.services-section {
    background: var(--gray-50);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: all var(--transition);
}

    .service-card:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-4px);
    }

.service-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.service-body {
    padding: 1.75rem;
}

    .service-body h4 {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--gray-900);
        margin-bottom: 0.75rem;
    }

    .service-body p {
        color: var(--gray-600);
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

    .service-link:hover {
        gap: 0.65rem;
    }

/* ---- Featured Projects ---- */
.featured-projects-section {
    background: var(--primary);
    padding: 5rem 0;
}

.featured-projects-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.featured-projects-badge {
    display: inline-block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.featured-projects-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
}

.featured-projects-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    margin-top: 1.75rem;
    transition: color var(--transition), gap var(--transition);
}

    .featured-projects-link:hover {
        color: var(--white);
        gap: 0.55rem;
    }

.featured-projects-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.featured-projects-track-wrapper {
    overflow: hidden;
    flex: 1;
}

.featured-projects-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
}

.featured-project-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: calc(33.333% - 1rem);
    transition: transform var(--transition);
}

    .featured-project-card:hover {
        transform: translateY(-2px);
    }

.featured-slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--transition);
}

    .featured-slider-btn:hover {
        background: var(--white);
        color: var(--primary);
        border-color: var(--white);
    }

.featured-project-inner {
    display: block;
    text-decoration: none;
    color: inherit;
}

.featured-project-image {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    margin-bottom: 1rem;
    background: var(--gray-100);
}

    .featured-project-image img {
        width: 100%;
        height: 320px;
        object-fit: cover;
        display: block;
        transition: transform 0.6s ease;
    }

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

.featured-project-year {
    position: absolute;
    top: 1rem;
    right: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

.featured-project-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 0.25rem;
}

.featured-project-name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.35;
    flex: 1;
}

.featured-project-category {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    text-align: right;
    white-space: nowrap;
    padding-top: 0.15rem;
}

@media (max-width: 991.98px) {
    .featured-project-card {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: calc(50% - 0.75rem);
    }

    .featured-project-image img {
        height: 260px;
    }

    .featured-projects-link {
        margin-top: 0;
    }
}

@media (max-width: 767.98px) {
    .featured-slider-btn {
        display: none;
    }

    .featured-project-card {
        flex: 0 0 85%;
        min-width: 85%;
    }

    .featured-project-image img {
        height: 240px;
    }

    .featured-project-meta {
        flex-direction: column;
        gap: 0.35rem;
    }

    .featured-project-category {
        text-align: left;
        white-space: normal;
    }
}

/* ---- Testimonial ---- */
.testimonial-section {
    background: var(--gray-50);
}

.testimonial-author {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.testimonial-role {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.testimonial-quote {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 400;
    font-style: normal;
    color: var(--gray-600);
    line-height: 1.8;
    margin: 0;
}

/* ---- References ---- */
.references-section {
    background: var(--primary);
    padding: 5rem 0;
}

    .references-section .section-label {
        color: rgba(255, 255, 255, 0.85);
    }

    .references-section .section-title {
        color: var(--white);
    }

.references-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 40px;
}

.references-slider-track-wrapper {
    overflow: hidden;
    flex: 1;
}

.references-slider-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.5s ease;
}

.references-slider-card {
    flex: 0 0 calc(16.666% - 1.04rem);
    min-width: calc(16.666% - 1.04rem);
}

.references-slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--transition);
}

    .references-slider-btn:hover {
        background: var(--white);
        color: var(--primary);
        border-color: var(--white);
    }

.reference-item {
    background: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    height: 90px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

    .reference-item img {
        max-width: 100%;
        max-height: 58px;
        width: auto;
        height: auto;
        object-fit: contain;
        /* filter: grayscale(100%); */
        /* opacity: 0.85; */
        ransition: filter var(--transition), opacity var(--transition), transform var(--transition);
    }

    .reference-item:hover {
        border-color: var(--white);
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
    }

        .reference-item:hover img {
            filter: grayscale(0%);
            opacity: 1;
        }

@media (max-width: 991.98px) {
    .references-slider-card {
        flex: 0 0 calc(25% - 0.94rem);
        min-width: calc(25% - 0.94rem);
    }
}

@media (max-width: 767.98px) {
    .references-slider-btn {
        display: none;
    }

    .references-slider-card {
        flex: 0 0 calc(50% - 0.625rem);
        min-width: calc(50% - 0.625rem);
    }
}

/* ---- News ---- */
.news-section {
    background: var(--gray-50);
    padding: 5rem 0;
}

.news-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.news-slider-track-wrapper {
    overflow: hidden;
    flex: 1;
}

.news-slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
}

.news-slider-card {
    flex: 0 0 calc(25% - 1.125rem);
    min-width: calc(25% - 1.125rem);
}

.news-slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary-border);
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--transition);
}

    .news-slider-btn:hover {
        background: var(--primary);
        color: var(--white);
        border-color: var(--primary);
    }

.news-card {
    background: var(--white);
    border-radius: 28px;
    height: 100%;
    border: 1px solid var(--gray-100);
    overflow: hidden;
    transition: all var(--transition);
}

    .news-card:hover {
        box-shadow: var(--shadow-md);
        border-color: var(--primary);
        transform: translateY(-4px);
    }

.news-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

    .news-card-link:hover {
        color: inherit;
    }

.news-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--gray-100);
}

    .news-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.45s ease;
    }

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

.news-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    flex: 1;
}

.news-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .news-slider-card {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: calc(50% - 0.75rem);
    }
}

@media (max-width: 767.98px) {
    .news-slider-btn {
        display: none;
    }

    .news-slider-card {
        flex: 0 0 85%;
        min-width: 85%;
    }
}

/* ---- Videos ---- */
.videos-section {
    background-color: var(--primary);
    padding: 5rem 0;
}

    .videos-section .section-label {
        color: rgba(255, 255, 255, 0.85);
    }

    .videos-section .section-title {
        color: var(--white);
    }

.videos-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.videos-slider-track-wrapper {
    overflow: hidden;
    flex: 1;
}

.videos-slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
}

.videos-slider-card {
    flex: 0 0 calc(25% - 1.125rem);
    min-width: calc(25% - 1.125rem);
}

.videos-slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--transition);
}

    .videos-slider-btn:hover {
        background: var(--white);
        color: var(--primary);
        border-color: var(--white);
    }

.video-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: none;
    border-radius: 28px;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    text-align: left;
    background: rgba(255, 255, 255, 0.08);
    transition: transform var(--transition), box-shadow var(--transition);
}

    .video-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

.video-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s ease;
}

.video-card:hover .video-card-bg {
    transform: scale(1.06);
}

.video-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.15) 38%, transparent 62%);
    z-index: 1;
    pointer-events: none;
}

.video-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1;
    transition: transform var(--transition), background var(--transition);
    pointer-events: none;
}

    .video-card-play i {
        margin-left: 3px;
    }

.video-card:hover .video-card-play {
    transform: scale(1.08);
    background: var(--white);
}

.video-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    margin: 0;
    padding: 1.1rem 1rem;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.35;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

@media (max-width: 991.98px) {
    .videos-slider-card {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: calc(50% - 0.75rem);
    }
}

@media (max-width: 767.98px) {
    .videos-slider-btn {
        display: none;
    }

    .videos-slider-card {
        flex: 0 0 85%;
        min-width: 85%;
    }

    .video-card-title {
        font-size: 0.8rem;
        padding: 0.85rem 0.75rem;
    }

    .video-card-play {
        width: 48px;
        height: 48px;
        margin: -24px 0 0 -24px;
        font-size: 1.25rem;
    }
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    .video-modal.is-open {
        opacity: 1;
        visibility: visible;
    }

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.video-modal-dialog {
    position: relative;
    width: min(960px, 100%);
    z-index: 1;
}

.video-modal-close {
    position: absolute;
    top: -2.75rem;
    right: 0;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition);
}

    .video-modal-close:hover {
        background: rgba(255, 255, 255, 0.3);
    }

.video-modal-body {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

    .video-modal-body iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.intro-video-modal {
    z-index: 2100;
}

.intro-video-modal-dialog {
    width: min(920px, 100%);
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.intro-video-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
}

.intro-video-modal-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0.35rem;
}

.intro-video-modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
}

.intro-video-modal-close {
    position: static;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.14);
}

    .intro-video-modal-close:hover {
        background: rgba(255, 255, 255, 0.28);
    }

.intro-video-modal .video-modal-body {
    border-radius: 0;
    aspect-ratio: 16 / 9;
}

/* ---- CTA ---- */
.cta-section {
    padding: 3rem 0 5rem;
    background: var(--gray-50);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius);
    padding: 3rem;
    color: var(--white);
}

    .cta-box h2 {
        font-size: clamp(1.5rem, 3vw, 2rem);
        font-weight: 800;
        margin-bottom: 0.5rem;
    }

    .cta-box p {
        opacity: 0.9;
        margin: 0;
        font-size: 1rem;
    }

.btn-white-custom {
    background: var(--white);
    color: var(--primary);
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--white);
    transition: all var(--transition);
    display: inline-block;
}

    .btn-white-custom:hover {
        background: transparent;
        color: var(--white);
    }

.btn-outline-white-custom {
    background: transparent;
    color: var(--white);
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all var(--transition);
    display: inline-block;
}

    .btn-outline-white-custom:hover {
        background: var(--white);
        color: var(--primary);
    }

/* ---- Milestones ---- */
.milestones-section {
    position: relative;
    z-index: 2;
    padding: 5rem 0 4.5rem;
    background: var(--gray-50);
    overflow: hidden;
}

.milestones-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 12% 18%, rgba(26, 51, 82, 0.06) 0%, transparent 28%), radial-gradient(circle at 88% 72%, rgba(26, 51, 82, 0.05) 0%, transparent 32%), linear-gradient(rgba(26, 51, 82, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(26, 51, 82, 0.04) 1px, transparent 1px);
    background-size: auto, auto, 48px 48px, 48px 48px;
    opacity: 0.65;
}

.milestones-header {
    max-width: 640px;
    margin: 0 auto 3rem;
}

.milestones-badge {
    display: inline-block;
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: var(--font-label-spacing);
    text-transform: uppercase;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

.milestones-title {
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
    font-weight: var(--font-heading-weight);
    color: var(--primary);
    letter-spacing: var(--font-heading-spacing);
    text-transform: uppercase;
    margin: 0 0 0.75rem;
    padding: 15px 0;
}

.milestones-lead {
    color: var(--gray-600);
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0;
}

.milestones-controls {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.milestones-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--primary-border);
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}

    .milestones-nav-btn:hover {
        background: var(--primary);
        color: var(--white);
        border-color: var(--primary);
    }

.milestones-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0 1rem;
}

    .milestones-viewport::-webkit-scrollbar {
        display: none;
    }

.milestones-rail {
    position: relative;
    display: flex;
    gap: 0;
    min-width: max-content;
    padding: 7.5rem 0.5rem 7.5rem;
}

.milestones-rail-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 3px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, transparent 0%, var(--primary) 8%, var(--primary-light) 50%, var(--accent) 92%, transparent 100%);
    border-radius: 999px;
    z-index: 0;
}

    .milestones-rail-line::after {
        content: '';
        position: absolute;
        inset: -1px 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
        animation: milestonePulse 4s ease-in-out infinite;
    }

@keyframes milestonePulse {
    0%, 100% {
        opacity: 0.2;
        transform: translateX(-30%);
    }

    50% {
        opacity: 0.9;
        transform: translateX(30%);
    }
}

.milestone-node {
    position: relative;
    z-index: 1;
    flex: 0 0 240px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    min-height: 320px;
    scroll-snap-align: center;
    padding: 0 0.35rem;
}

.milestone-panel {
    padding: 0 0.5rem;
}

.milestone-panel--top {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 1rem;
}

.milestone-panel--bottom {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 1rem;
}

.milestone-heading {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: var(--font-heading-weight);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    margin: 0 0 0.45rem;
    line-height: 1.35;
}

.milestone-text,
.milestone-note {
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--gray-600);
    margin: 0;
}

.milestone-note {
    font-style: italic;
    color: var(--gray-400);
}

.milestone-connector {
    width: 2px;
    height: 24px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--primary-light), var(--accent));
    opacity: 0.55;
    flex-shrink: 0;
}

.milestone-marker {
    position: relative;
    width: 74px;
    height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 100%);
    transform: rotate(45deg);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(26, 51, 82, 0.28);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.milestone-marker--future {
    background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 55%, var(--accent) 100%);
    box-shadow: 0 14px 34px rgba(11, 24, 40, 0.35);
}

.milestone-node:hover .milestone-marker,
.milestone-node:focus-within .milestone-marker {
    transform: rotate(45deg) scale(1.08);
    box-shadow: 0 16px 36px rgba(26, 51, 82, 0.38);
}

.milestone-year {
    transform: rotate(-45deg);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--white);
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .milestone-node {
        flex-basis: 210px;
    }
}

@media (max-width: 767.98px) {
    .milestones-controls {
        display: none;
    }

    .milestones-viewport {
        overflow: visible;
        scroll-snap-type: none;
        padding: 0;
    }

    .milestones-rail {
        flex-direction: column;
        min-width: 0;
        padding: 0;
        gap: 0;
    }

    .milestones-rail-line {
        left: 28px;
        right: auto;
        top: 0;
        bottom: 0;
        width: 3px;
        height: auto;
        transform: none;
        background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
    }

        .milestones-rail-line::after {
            animation: none;
            opacity: 0.35;
        }

    .milestone-node {
        flex: none;
        display: grid;
        grid-template-columns: 56px 1fr;
        grid-template-rows: auto;
        gap: 0 1.15rem;
        min-height: 0;
        padding: 0 0 2.25rem 0;
        align-items: start;
    }

    .milestone-marker {
        grid-column: 1;
        grid-row: 1;
        width: 56px;
        height: 56px;
        margin: 0;
    }

    .milestone-year {
        font-size: 0.72rem;
    }

    .milestone-connector {
        display: none;
    }

    .milestone-panel--top,
    .milestone-panel--bottom {
        grid-column: 2;
        padding: 0;
        align-self: start;
    }

    .milestone-panel--top {
        padding-bottom: 0.35rem;
    }

    .milestone-panel--bottom {
        padding-top: 0;
    }

    .milestone-node--bottom .milestone-panel--top,
    .milestone-node--bottom .milestone-marker {
        order: unset;
    }

    .milestone-node--bottom .milestone-panel--top {
        grid-row: 1;
    }

    .milestone-node--bottom .milestone-panel--bottom {
        grid-row: 2;
    }

    .milestone-node--top .milestone-panel--top {
        grid-row: 1;
    }

    .milestone-node--top .milestone-panel--bottom {
        grid-row: 2;
    }
}

/* ---- Subpages ---- */
.subpage-accent-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-light) 50%, var(--accent) 100%);
}

.page-hero {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    margin-top: 0;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.02);
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 11, 18, 0.82) 0%, rgba(26, 51, 82, 0.55) 52%, rgba(26, 51, 82, 0.35) 100%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
    padding-top: 6.5rem;
    padding-bottom: 3rem;
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: var(--font-heading-weight);
    letter-spacing: var(--font-heading-spacing);
    text-transform: uppercase;
    margin: 0;
    line-height: 1.08;
    max-width: 720px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.subpage-shell {
    display: flex;
    align-items: stretch;
    background: var(--white);
}

.subpage-shell--no-sidebar .subpage-main {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.subpage-sidebar {
    flex: 0 0 280px;
    background: var(--primary-dark);
    padding: 2rem 0;
}

.subpage-sidebar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .subpage-sidebar-nav a {
        display: block;
        padding: 0.9rem 1.75rem;
        color: rgba(255, 255, 255, 0.78);
        font-family: var(--font-heading);
        font-size: 0.82rem;
        font-weight: 500;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        text-decoration: none;
        border-left: 3px solid transparent;
        transition: all var(--transition);
    }

        .subpage-sidebar-nav a:hover {
            color: var(--white);
            background: rgba(255, 255, 255, 0.06);
            border-left-color: var(--accent);
        }

    .subpage-sidebar-nav li.active a {
        color: var(--white);
        background: rgba(255, 255, 255, 0.1);
        border-left-color: var(--accent);
    }

.subpage-main {
    flex: 1;
    min-width: 0;
    padding: 2.5rem 3rem 4rem;
}

.subpage-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    margin-bottom: 1.75rem;
    color: var(--accent);
    font-weight: 600;
}

    .subpage-breadcrumb a {
        color: var(--primary-light);
        text-decoration: none;
        transition: color var(--transition);
    }

        .subpage-breadcrumb a:hover {
            color: var(--primary);
        }

.subpage-breadcrumb-sep {
    color: var(--gray-400);
    font-size: 0.95rem;
}

.subpage-breadcrumb-current {
    color: var(--primary);
}

.subpage-intro {
    margin-bottom: 1.75rem;
}

.subpage-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 2.8vw, 2.35rem);
    font-weight: var(--font-heading-weight);
    letter-spacing: var(--font-heading-spacing);
    text-transform: uppercase;
    color: var(--primary);
    margin: 0 0 0.75rem;
}

.subpage-subheading {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: var(--font-heading-weight);
    letter-spacing: 0.03em;
    color: var(--primary);
    margin: 0 0 1rem;
}

.subpage-lead {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--gray-600);
    margin: 0;
}

.subpage-body {
    color: var(--gray-600);
    line-height: 1.85;
    font-size: 1rem;
    text-align: left;
}

.subpage-body--ik .subpage-lead {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.subpage-body--ik p {
    color: var(--primary-light);
}

.subpage-body p + p {
    margin-top: 1rem;
}

.subpage-body--spaced {
    margin-top: 2rem;
}

.subpage-message {
    margin: 2.5rem 0;
    border-radius: calc(var(--radius) + 6px);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    background: var(--white);
    padding: 0;
}

.subpage-message-banner {
    position: relative;
    min-height: 340px;
    background: var(--primary-dark);
}

    .subpage-message-banner img {
        display: block;
        width: 100%;
        height: 450px;
        object-fit: cover;
        object-position: center 0;
    }

.subpage-message-banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 2.25rem;
    background: linear-gradient(90deg, rgba(6, 11, 18, 0.92) 0%, rgba(6, 11, 18, 0.72) 42%, rgba(6, 11, 18, 0.15) 100%);
    color: var(--white);
}

.subpage-message-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: var(--font-label-spacing);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0.65rem;
}

.subpage-message-author {
    margin: 0.85rem 0 0;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

.subpage-message-body {
    padding: 2rem 2.25rem 2.25rem;
}

.subpage-message-title {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.2vw, 1.65rem);
    font-weight: var(--font-heading-weight);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
    margin: 0;
    max-width: 760px;
    line-height: 1.35;
}

.subpage-message .subpage-message-title {
    color: var(--white);
}

.subpage-message-body .subpage-message-title {
    display: none;
}

.subpage-quote {
    margin: 1.5rem 0 1rem;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--primary-light);
    background: var(--white);
    font-style: italic;
    color: var(--primary);
    font-size: 1.05rem;
    line-height: 1.65;
}

.subpage-signature {
    margin: 0;
    color: var(--gray-800);
    line-height: 1.7;
}

.subpage-accordion {
    margin-top: 2.5rem;
    border-top: 1px solid rgba(26, 51, 82, 0.15);
}

    .subpage-accordion .accordion-item {
        border: none;
        border-bottom: 1px solid rgba(26, 51, 82, 0.15);
        background: transparent;
    }

    .subpage-accordion .accordion-button {
        padding: 1.15rem 0;
        font-family: var(--font-heading);
        font-size: 1.05rem;
        font-weight: var(--font-heading-weight);
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--primary);
        background: transparent;
        box-shadow: none;
    }

        .subpage-accordion .accordion-button:not(.collapsed) {
            color: var(--primary-dark);
            background: transparent;
            box-shadow: none;
        }

        .subpage-accordion .accordion-button:focus {
            box-shadow: none;
            border-color: transparent;
        }

        .subpage-accordion .accordion-button::after {
            filter: none;
            background-size: 1rem;
        }

    .subpage-accordion .accordion-body {
        padding: 0 0 1.35rem;
    }

.subpage-list {
    margin: 1.25rem 0;
    padding-left: 1.2rem;
    color: var(--gray-600);
}

    .subpage-list li + li {
        margin-top: 0.5rem;
    }

.subpage-highlight {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0;
    margin: 2.5rem 0;
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    box-shadow: var(--shadow-md);
}

.subpage-highlight-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.subpage-highlight-caption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    color: var(--white);
}

.subpage-highlight-label {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.subpage-highlight-caption p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.company-timeline {
    position: relative;
    max-width: 900px;
    margin: 3rem 0 1rem;
    padding: 1rem 0;
}

    .company-timeline::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 2px;
        transform: translateX(-50%);
        background: linear-gradient(180deg, var(--primary-border), var(--accent));
    }

.company-timeline-item {
    position: relative;
    width: 50%;
    padding: 0 2.5rem 2.5rem;
}

.company-timeline-item--right {
    margin-left: 50%;
}

.company-timeline-item--left {
    margin-right: 50%;
    text-align: right;
}

    .company-timeline-item--left .company-timeline-content {
        align-items: flex-end;
    }

.company-timeline-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

    .company-timeline-content::before {
        content: "";
        position: absolute;
        top: 0.65rem;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--primary);
        border: 3px solid var(--white);
        box-shadow: 0 0 0 2px var(--accent);
    }

.company-timeline-item--right .company-timeline-content::before {
    left: -2.5rem;
    transform: translateX(-50%);
}

.company-timeline-item--left .company-timeline-content::before {
    right: -2.5rem;
    transform: translateX(50%);
}

.company-timeline-year {
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 2.5vw, 2.2rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--primary-light);
    line-height: 1;
}

.company-timeline-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--gray-600);
    max-width: 320px;
}

.company-timeline-item--left .company-timeline-content p {
    margin-left: auto;
}

.subpage-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.subpage-cards--certificates {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.subpage-certificates-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.subpage-certificate-item {
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--gray-200);
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    cursor: zoom-in;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    text-align: left;
}

    .subpage-certificate-item:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
        border-color: var(--primary-border);
    }

    .subpage-certificate-item img {
        display: block;
        width: 100%;
        height: auto;
    }

.subpage-certificate-caption {
    display: block;
    padding: 0.85rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.certificate-modal .modal-content {
    border: none;
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
}

.certificate-modal .modal-header {
    background: var(--primary);
    color: var(--white);
    border-bottom: none;
    padding: 1rem 1.25rem;
}

.certificate-modal .modal-title {
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.certificate-modal .btn-close {
    filter: invert(1);
}

.certificate-modal .modal-body {
    padding: 0;
    background: var(--gray-100);
}

.certificate-modal-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    margin: 0 auto;
}

.subpage-partners-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.subpage-references-grid .subpage-partner-item {
    background: var(--primary);
    border-color: rgba(255, 255, 255, 0.12);
}

    .subpage-references-grid .subpage-partner-item:hover {
        border-color: rgba(255, 255, 255, 0.3);
    }

.subpage-partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--gray-200);
    border-radius: calc(var(--radius) + 2px);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

    .subpage-partner-item:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
        border-color: var(--primary-border);
    }

    .subpage-partner-item img {
        max-width: 100%;
        max-height: 150px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

.subpage-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: calc(var(--radius) + 2px);
    padding: 1.35rem;
    transition: all var(--transition);
}

    .subpage-card:hover {
        border-color: var(--primary-border);
        box-shadow: var(--shadow-sm);
        transform: translateY(-3px);
    }

.subpage-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
}

.subpage-card h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: var(--font-heading-weight);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
    margin: 0 0 0.35rem;
}

.subpage-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.55;
}

.subpage-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.subpage-feature {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--primary);
    border-radius: calc(var(--radius) + 2px);
    padding: 1.5rem;
}

.subpage-feature-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 0.65rem;
}

.subpage-feature h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: var(--font-heading-weight);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
    margin: 0 0 0.5rem;
}

.subpage-feature p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--gray-600);
}

@media (max-width: 1199.98px) {
    .subpage-cards--certificates {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .subpage-shell {
        flex-direction: column;
    }

    .subpage-sidebar {
        flex: none;
        width: 100%;
        padding: 0;
    }

    .subpage-sidebar-nav {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
    }

        .subpage-sidebar-nav::-webkit-scrollbar {
            display: none;
        }

        .subpage-sidebar-nav a {
            white-space: nowrap;
            border-left: none;
            border-bottom: 3px solid transparent;
            padding: 0.85rem 1.15rem;
        }

        .subpage-sidebar-nav li.active a {
            border-left: none;
            border-bottom-color: var(--accent);
        }

    .subpage-main {
        padding: 2rem 1.25rem 3rem;
    }

    .subpage-highlight {
        grid-template-columns: 1fr;
    }

    .company-timeline::before {
        left: 0;
        transform: none;
    }

    .company-timeline-item,
    .company-timeline-item--right,
    .company-timeline-item--left {
        width: 100%;
        margin: 0;
        padding: 0 0 2rem 1.75rem;
        text-align: left;
    }

        .company-timeline-item--left .company-timeline-content {
            align-items: flex-start;
        }

            .company-timeline-item--right .company-timeline-content::before,
            .company-timeline-item--left .company-timeline-content::before {
                left: -1.75rem;
                right: auto;
                transform: translateX(-50%);
            }

            .company-timeline-item--left .company-timeline-content p {
                margin-left: 0;
            }

    .subpage-cards,
    .subpage-features,
    .subpage-cards--certificates,
    .subpage-certificates-grid,
    .subpage-partners-grid {
        grid-template-columns: 1fr;
    }

    .subpage-message-banner {
        min-height: 260px;
    }

        .subpage-message-banner img {
            height: 260px;
        }

    .subpage-message-banner-overlay,
    .subpage-message-body {
        padding: 1.35rem;
    }
}

@media (max-width: 767.98px) {
    .page-hero {
        min-height: 220px;
    }

        .page-hero .container {
            padding-top: 5.5rem;
            padding-bottom: 2rem;
        }
}

/* ---- Footer ---- */
.site-footer {
    position: relative;
    z-index: 2;
    background: var(--primary);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 0;
}

.footer-logo {
    height: 116px;
    border-radius: 6px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-title {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.94rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 0.45rem;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.85rem;
    }

        .footer-links a:hover {
            color: var(--white);
        }

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-contact li {
        display: flex;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
        font-size: 0.85rem;
        align-items: flex-start;
    }

    .footer-contact i {
        color: var(--white);
        font-size: 1.1rem;
        margin-top: 2px;
        flex-shrink: 0;
        opacity: 0.9;
    }

    .footer-contact a,
    .footer-contact span {
        color: rgba(255, 255, 255, 0.85);
    }

        .footer-contact a:hover {
            color: var(--white);
        }

.footer-social {
    display: flex;
    gap: 0.75rem;
}

    .footer-social a {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.12);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        font-size: 1.1rem;
        transition: all var(--transition);
    }

        .footer-social a:hover {
            background: var(--white);
            color: var(--primary);
        }

.footer-bottom {
    margin-top: 2.25rem;
    padding: 1.125rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

    .footer-bottom p {
        margin: 0;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.7);
    }

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .about-image-grid {
        height: 320px;
        margin-top: 2rem;
    }

    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
        margin-top: 0.5rem;
    }

    .nav-link-contact {
        margin-left: 0 !important;
        text-align: center;
        display: block;
    }

    .lang-switch {
        justify-content: center;
        padding: 0.5rem 0;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 3.5rem 0;
    }

    .hero-slider {
        min-height: 100svh;
    }

    .hero-slide-inner {
        padding-bottom: 6rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-nav {
        left: 1rem;
        gap: 0.85rem;
    }

    .hero-nav-btn.active .hero-nav-thumb {
        width: 48px;
        height: 36px;
    }

    .hero-scroll-hint {
        display: none;
    }

    .values-section {
        padding-top: 2.65rem;
    }

    .cta-box {
        padding: 2rem;
        text-align: center;
    }

        .cta-box .text-lg-end {
            text-align: center !important;
        }

    .btn-outline-white-custom {
        margin-left: 0 !important;
        margin-top: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .hero-nav-thumb {
        display: none;
    }

    .about-image-grid {
        height: 260px;
    }
}

/* ---- Projects Page ---- */
.projects-page {
    background: var(--gray-50);
}

.projects-page-header {
    background: var(--primary-dark);
    padding: 2.5rem 0;
    min-height: 210px;
    display: flex;
}

.projects-page-header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2rem;
}

.projects-page-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: var(--font-heading-weight);
    letter-spacing: var(--font-heading-spacing);
    text-transform: uppercase;
    color: var(--white);
    margin: 0;
    line-height: 1;
}

.project-detail-page .projects-page-title {
    max-width: 720px;
    line-height: 1.2;
    text-transform: none;
    font-size: clamp(1.45rem, 2.8vw, 2.15rem);
}

.projects-page-header-inner--solo {
    justify-content: flex-start;
}

.projects-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.projects-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    min-width: 170px;
    min-height: 130px;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: calc(var(--radius) + 2px);
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    text-align: center;
    transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

    .projects-tab:hover {
        color: var(--white);
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.24);
        transform: translateY(-2px);
    }

    .projects-tab.is-active {
        color: var(--white);
        background: rgba(255, 255, 255, 0.16);
        border-color: var(--accent);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    }

.projects-tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    font-size: 1.35rem;
}

.projects-tab-label {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.35;
    max-width: 14rem;
}

.projects-page-body {
    padding: 3rem 0 4.5rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.project-card {
    margin: 0;
    border-radius: calc(var(--radius) + 2px);
    overflow: hidden;
}

.project-card-image {
    position: relative;
    min-height: 320px;
    border-radius: calc(var(--radius) + 2px);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.45s ease;
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 11, 18, 0.18) 0%, rgba(6, 11, 18, 0.55) 45%, rgba(6, 11, 18, 0.82) 100%);
}

.project-card-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
}

.project-card-title {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: var(--font-heading-weight);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
    margin: 0;
    line-height: 1.35;
    max-width: 90%;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.project-card-location {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    margin-top: auto;
    padding-bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
    font-weight: 600;
}

    .project-card-location i {
        color: var(--accent);
        font-size: 1rem;
    }

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

@media (max-width: 991.98px) {
    .projects-page-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .projects-tabs {
        width: 100%;
    }

    .projects-tab {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 0;
    }

    .project-card-image {
        min-height: 280px;
    }
}

@media (max-width: 767.98px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .projects-tab {
        flex: 1 1 100%;
        min-height: 110px;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    .projects-tab-label {
        max-width: none;
    }

    .project-card-image {
        min-height: 260px;
    }
}

/* ---- Project Detail Page ---- */
.project-detail-page {
    background: var(--white);
    padding-bottom: 4rem;
}

    .project-detail-page .project-detail-shell {
        /* max-width: 920px; */
        padding-top: 2.5rem;
        padding-bottom: 1rem;
    }

.project-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #c5a059;
    color: #9a7b3c;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.project-detail-meta-sep {
    opacity: 0.65;
}

.project-detail-headline {
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: var(--font-heading-weight);
    letter-spacing: 0.02em;
    line-height: 1.25;
    color: var(--primary-dark);
    margin: 0 0 1.5rem;
}

.project-detail-lead {
    margin: 0 0 2rem;
    padding-left: 1.25rem;
    border-left: 4px solid #0b1828;
    font-size: 1.02rem;
    font-style: italic;
    line-height: 1.75;
    color: var(--gray-800);
}

.project-detail-figure {
    margin: 0 0 2rem;
}

.project-detail-hero {
    display: block;
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius) + 2px);
    box-shadow: var(--shadow-md);
}

.project-detail-caption {
    margin-top: 0.85rem;
    font-size: 0.88rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--gray-600);
    text-align: center;
}

.project-detail-body {
    margin: 0 0 1.35rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-800);
}

.project-detail-specs {
    margin: 2.5rem 0;
}

.project-detail-specs-title {
    margin: 0 0 1rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: var(--font-heading-weight);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1a3352;
}

.project-detail-specs-table {
    border: 1px solid var(--gray-200);
    border-radius: calc(var(--radius) + 2px);
    overflow: hidden;
}

.project-detail-spec-row {
    display: grid;
    grid-template-columns: minmax(140px, 220px) 1fr;
}

    .project-detail-spec-row + .project-detail-spec-row {
        border-top: 1px solid var(--gray-200);
    }

.project-detail-spec-label {
    padding: 1rem 1.15rem;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-detail-spec-value {
    padding: 1rem 1.15rem;
    background: #f9f9f9;
    color: var(--gray-800);
    font-size: 0.95rem;
    line-height: 1.65;
}

.project-detail-quote {
    margin: 2rem 0 0;
    padding: 1.35rem 1.35rem 1.35rem 1.5rem;
    border: none;
    border-left: 4px solid #1a3352;
    background: #f9f9f9;
    font-size: 1.02rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.75;
    color: var(--primary-dark);
}

.project-detail-footer {
    margin-top: 3rem;
    padding: 1.75rem 1.5rem;
    background: var(--primary-dark);
    border-radius: calc(var(--radius) + 2px);
    text-align: center;
}

.project-detail-footer-title {
    margin: 0 0 0.65rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: var(--font-heading-weight);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
}

.project-detail-footer-tagline {
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
    font-style: italic;
    color: #f9f9f9;
}

.project-detail-footer-contact {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.78);
}

.project-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .project-detail-shell {
        padding-top: 1.75rem;
    }

    .project-detail-spec-row {
        grid-template-columns: 1fr;
    }

    .project-detail-spec-label {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
}

/* ---- News Archive ---- */
.news-archive-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.news-archive-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: calc(var(--radius) + 2px);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

    .news-archive-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
        border-color: var(--primary-border);
    }

.news-archive-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.news-archive-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--gray-100);
}

    .news-archive-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.45s ease;
    }

.news-archive-card:hover .news-archive-image img {
    transform: scale(1.04);
}

.news-archive-body {
    padding: 1.25rem 1.35rem 1.5rem;
    flex: 1;
}

.news-archive-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: var(--font-heading-weight);
    letter-spacing: 0.02em;
    color: var(--primary);
    margin: 0 0 0.85rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-archive-excerpt {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--gray-600);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- News Detail ---- */
.news-detail-figure {
    margin: 0 0 2rem;
}

.news-detail-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius) + 2px);
    box-shadow: var(--shadow-md);
}

.news-detail-lead {
    margin: 0 0 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.75;
    color: var(--primary-dark);
}

.news-detail-body {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.news-detail-panel {
    background: rgba(1, 91, 143, 0.7);
    color: #fff;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(1, 91, 143, 0.35);
    overflow: auto;
}

.news-detail-panel h1,
.news-detail-panel h2,
.news-detail-panel h3,
.news-detail-panel h4,
.news-detail-panel p,
.news-detail-panel li {
    color: #fff;
}

.news-detail-panel p,
.news-detail-panel li {
    margin: 0 0 1rem;
    line-height: 1.8;
}

.news-detail-panel img,
.news-detail-inline-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.25rem auto;
    border-radius: calc(var(--radius) + 2px);
}

.news-detail-inline-figure {
    margin: 1.25rem 0;
}

@media (min-width: 768px) {
    .news-detail-panel {
        margin-inline: 0;
        border-top-left-radius: 1.5rem;
        border-top-right-radius: 0;
        border-bottom-left-radius: 1.5rem;
        border-bottom-right-radius: 1.5rem;
    }
}

@media (max-width: 1199.98px) {
    .news-archive-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

@media (max-width: 575.98px) {
    .news-archive-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Forms & Contact ---- */
.subpage-alert {
    padding: 1rem 1.25rem;
    border-radius: calc(var(--radius) + 2px);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.subpage-alert-success {
    background: rgba(26, 51, 82, 0.08);
    border: 1px solid var(--primary-border);
    color: var(--primary);
}

.subpage-form {
    margin-top: 1.5rem;
}

.subpage-form-section {
    border: none;
    margin: 0 0 2rem;
    padding: 0;
}

.subpage-form-legend {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: var(--font-heading-weight);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
    width: 100%;
}

.subpage-form-label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-800);
}

.subpage-form-control {
    border-color: var(--gray-200);
    border-radius: calc(var(--radius) - 2px);
    min-height: 46px;
    font-size: 0.95rem;
}

    .subpage-form-control:focus {
        border-color: var(--primary-light);
        box-shadow: 0 0 0 0.2rem rgba(26, 51, 82, 0.12);
    }

.subpage-form-actions {
    margin-top: 0.5rem;
}

.subpage-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    min-height: 48px;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: calc(var(--radius) - 2px);
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background var(--transition), transform var(--transition);
}

    .subpage-form-submit:hover {
        background: var(--primary-light);
        color: var(--white);
        transform: translateY(-1px);
    }

.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: calc(var(--radius) + 2px);
    padding: 1.35rem 1.5rem;
}

.contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 0.85rem;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 1.1rem;
}

.contact-info-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: var(--font-heading-weight);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    margin: 0 0 0.65rem;
}

.contact-info-card p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--gray-800);
}

.contact-info-card a {
    color: var(--primary-light);
    text-decoration: none;
}

    .contact-info-card a:hover {
        color: var(--primary);
    }

.contact-info-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.contact-social {
    display: flex;
    gap: 0.65rem;
}

    .contact-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--white);
        border: 1px solid var(--gray-200);
        color: var(--primary);
        font-size: 1rem;
        transition: all var(--transition);
    }

        .contact-social a:hover {
            background: var(--primary);
            color: var(--white);
            border-color: var(--primary);
        }

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

.contact-map-wrap {
    margin-top: 2.5rem;
    border-radius: calc(var(--radius) + 2px);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.contact-map {
    display: block;
    width: 100%;
    min-height: 360px;
    border: 0;
}

@media (max-width: 991.98px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .contact-map {
        min-height: 300px;
    }
}
