﻿/* ============================================
   Genç Mühendislik - Modern Site Styles
   Primary: #0077b6 | White: #ffffff
   ============================================ */

:root {
    --primary: #0077b6;
    --primary-dark: #005f92;
    --primary-light: #0096d6;
    --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-md: 0 4px 20px rgba(0, 119, 182, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: 0.3s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

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: 65px;
    width: auto;
    display: block;
    transition: height var(--transition);
}

.site-header.scrolled .brand-logo {
    height: 40px;
}

.site-header .nav-link {
    color: var(--gray-800);
    font-weight: 500;
    font-size: 0.9rem;
    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='%230077b6' 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: 700;
    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: 800;
    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 {
    background: var(--white);
    position: relative;
    z-index: 3;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.value-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: 100%;
    border: 1px solid var(--gray-100);
    transition: transform var(--transition), box-shadow var(--transition);
}

    .value-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

.value-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

    .value-icon i {
        font-size: 1.5rem;
        color: var(--white);
    }

.value-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.7;
}

/* ---- About ---- */
.about-section {
    background: var(--gray-50);
}

.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 {
    background: var(--primary);
    padding: 4rem 0;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-suffix {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    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: rgba(0, 119, 182, 0.1);
    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-projects-track-wrapper {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

        .featured-projects-track-wrapper::-webkit-scrollbar {
            display: none;
        }

    .featured-project-card {
        flex: 0 0 85%;
        min-width: 85%;
        scroll-snap-align: start;
    }

    .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.25rem, 2.5vw, 1.75rem);
    font-weight: 500;
    font-style: italic;
    color: var(--primary);
    line-height: 1.6;
    margin: 0;
    border: none;
    padding: 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-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.25rem;
}

.reference-item {
    /* background: var(--white); */
    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;
        }

/* ---- 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(33.333% - 1rem);
    min-width: calc(33.333% - 1rem);
}

.news-slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(0, 119, 182, 0.35);
    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-track-wrapper {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

        .news-slider-track-wrapper::-webkit-scrollbar {
            display: none;
        }

    .news-slider-card {
        flex: 0 0 85%;
        min-width: 85%;
        scroll-snap-align: start;
    }
}

/* ---- 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-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.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-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .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;
    }
}

@media (max-width: 479.98px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
}

.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;
    }

/* ---- 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);
    }

/* ---- Footer ---- */
.site-footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.85);
    padding: 4rem 0 0;
}

.footer-logo {
    height: 155px;
    border-radius: 6px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-title {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 0.6rem;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
    }

        .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: 1rem;
        font-size: 0.9rem;
        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: 3rem;
    padding: 1.5rem 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: 3.5rem;
    }

    .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;
    }

    .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .hero-nav-thumb {
        display: none;
    }

    .about-image-grid {
        height: 260px;
    }
}
