/* ---------- Vars (Page-level) ---------- */
:root {
    --nav-height: 5.5rem;
}

/* ---------- Sticky ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background-color: var(--color-white);
}

html,
body {
    overflow-x: visible;
}

/* ---------- Navbar Wrapper ---------- */
.site-header .navbar {
    background-color: var(--color-white);
    min-height: var(--nav-height);
    padding: 0;
    transition: box-shadow 0.3s ease;
}

.site-header .navbar.scrolled {
    box-shadow:
        0 10px 30px rgba(58, 77, 57, 0.22);
    border-bottom: 1px solid rgba(58, 77, 57, 0.15);
}

/* ---------- Brand / Logo ---------- */
.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 4.5rem !important;
    width: auto;
}

/* ---------- Navbar Links ---------- */
.navbar-nav {
    gap: 2rem;
}

.navbar-nav .nav-link {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    padding: 0;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-primary-dark);
}

/* ---------- Dropdown ---------- */
.dropdown-menu {
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.dropdown-item {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
}

/* ---------- Language Button ---------- */
.navbar .btn {
    font-size: 0.85rem;
    padding: 0.45rem 1.2rem;
    border-radius: 2rem;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.navbar .btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ---------- Navbar Toggler (Mobile) ---------- */
.navbar-toggler {
    border: none;
    padding: 0.4rem 0.6rem;
    font-size: 1.2rem;
    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='rgb(58,77,57)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


.navbar-toggler:hover,
.navbar-toggler:focus {
    background-color: var(--color-primary);
    border-radius: 0.9rem;
}

.navbar-toggler:hover .navbar-toggler-icon,
.navbar-toggler:focus .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .navbar-toggler {
        margin-left: auto;
    }

    .navbar-nav {
        gap: 1rem;
        margin-top: 1rem;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }

    .navbar-brand img {
        height: 2.4rem;
    }
}

/* =====================================================
   Hero 
   ===================================================== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: clamp(32rem, 70vh, 44rem);
    /* background-color: var(--color-primary); */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.26);
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -25%;
    background: radial-gradient(circle at 18% 30%,
            rgba(255, 255, 255, 0.12),
            transparent 58%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 42rem;
    text-align: left;
    color: var(--color-white);
    padding: 4rem 0;
}

.hero-content h1 {
    margin: 0 0 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
    color: var(--color-white);
    font-size: clamp(2.1rem, 4.2vw, 3.2rem);
}

.hero-content p {
    margin: 0 0 2rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.4rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.hero-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.hero-btn .btn-icon {
    width: 2.2rem;
    height: 2.2rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    font-size: 0.9rem;
}

.hero-btn.btn-primary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: none;
}

.hero-btn.btn-primary .btn-icon {
    background: rgba(58, 77, 57, 0.12);
    color: var(--color-primary);
}

.hero-btn.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.92);
}

.hero-btn.btn-outline-light {
    border-width: 2px;
    color: var(--color-white);
}

.hero-btn.btn-outline-light .btn-icon {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.hero-btn.btn-outline-light:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.hero-btn.btn-outline-light:hover .btn-icon {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Responsive */
@media (max-width: 576px) {
    .hero-content {
        padding: 3rem 0;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.85rem;
    }

    .hero-btn {
        width: auto;
        min-width: 15.5rem;
        justify-content: center;

        padding: 0.78rem 1.25rem;
        font-size: 0.9rem;
    }

    .hero-btn .btn-icon {
        width: 2rem;
        height: 2rem;
        font-size: 0.85rem;
    }
}

/* =====================================================
   About Preview + Floating Icons (FINAL)
   ===================================================== */
.about-preview {
    position: relative;
    background: #fff;
    padding: 5.5rem 0;
    overflow: hidden;
}

.about-wrap {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 24rem;
    text-align: center;
}

.about-content {
    max-width: 56rem;
    position: relative;
    z-index: 3;
}

.about-content h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #111;
}

.about-content p {
    max-width: 44rem;
    margin: 0 auto 1.8rem;
    color: #6b7280;
    line-height: 1.7;
}

.about-btn {
    border-width: 2px;
    font-weight: 700;
}

/* ================= Floating Icons ================= */
.floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.float-icon {
    position: absolute;
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 1.2rem;

    display: grid;
    place-items: center;

    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);

    will-change: transform;
    animation-name: floaty;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.float-icon:nth-child(1) {
    background: #e05a3b;
}

.float-icon:nth-child(2) {
    background: #e3a53a;
}

.float-icon:nth-child(3) {
    background: #3fa18c;
}

.float-icon:nth-child(4) {
    background: #3a4d39;
}

.float-icon:nth-child(5) {
    background: #e05a3b;
}

.float-icon:nth-child(6) {
    background: #e3a53a;
}

.float-icon:nth-child(1) {
    top: -10%;
    left: 18%;
}

.float-icon:nth-child(2) {
    top: -5%;
    right: 20%;
}

.float-icon:nth-child(3) {
    top: 42%;
    right: 6%;
}

.float-icon:nth-child(4) {
    bottom: 18%;
    right: 22%;
}

.float-icon:nth-child(5) {
    bottom: 18%;
    left: 22%;
}

.float-icon:nth-child(6) {
    top: 48%;
    left: 6%;
}

@keyframes floaty {
    0% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(var(--dx), var(--dy), 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width: 991px) {
    .about-wrap {
        min-height: 22rem;
    }
    
    .floating-icons {
        display: none;
    }

    .float-icon {
        width: 3.1rem;
        height: 3.1rem;
        font-size: 1.1rem;
        opacity: 0.85;
    }

    .float-icon:nth-child(1) {
        top: 10%;
        left: 10%;
    }

    .float-icon:nth-child(2) {
        top: 10%;
        right: 10%;
    }

    .float-icon:nth-child(3) {
        top: 48%;
        right: 4%;
    }

    .float-icon:nth-child(4) {
        bottom: 14%;
        right: 16%;
    }

    .float-icon:nth-child(5) {
        bottom: 14%;
        left: 16%;
    }

    .float-icon:nth-child(6) {
        top: 48%;
        left: 4%;
    }
}

@media (max-width: 767px) {
    .about-preview {
        padding: 4.5rem 0;
    }

    .about-wrap {
        min-height: 20rem;
    }

    .float-icon {
        width: 2.6rem;
        height: 2.6rem;
        font-size: 0.95rem;
        opacity: 0.6;
    }

    .float-icon:nth-child(1) {
        top: 5%;
        left: 4%;
    }

    .float-icon:nth-child(2) {
        top: 5%;
        right: 4%;
    }

    .float-icon:nth-child(3) {
        top: 75%;
        right: 2%;
    }

    .float-icon:nth-child(4) {
        bottom: 6%;
        right: 18%;
    }

    .float-icon:nth-child(5) {
        bottom: 6%;
        left: 18%;
    }

    .float-icon:nth-child(6) {
        top: 75%;
        left: 2%;
    }
}

.about-content {
    max-width: 56rem;
    position: relative;
    z-index: 3;
    text-align: center;
}

.about-content h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.about-content p {
    max-width: 44rem;
    margin: 0 auto 1.8rem;
    color: var(--color-gray);
    line-height: 1.75;
    font-size: 1.05rem;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;

    border-width: 2px;
    border-color: var(--color-primary);
    color: var(--color-primary);

    padding: 0.4rem 1.6rem;
    border-radius: 999px;

    font-weight: 700;
    transition: 0.2s;
}

.about-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.about-btn .btn-icon {
    width: 2.2rem;
    height: 2.2rem;
    display: grid;
    place-items: center;

    border-radius: 50%;
    background: rgba(58, 77, 57, 0.12);
    color: var(--color-primary);

    transition: 0.2s;
}

.about-btn:hover .btn-icon {
    background: rgba(255, 255, 255, 0.18);
    color: var(--color-white);
}

/* =====================================================
   Services
   ===================================================== */
.services {
    padding: 5.5rem 0;
    background: #f6f8f7;
}

.section-head {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 2.5rem;
}

.section-head h2 {
    font-weight: 800;
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    margin-bottom: 0.75rem;
}

.section-head p {
    color: var(--color-gray);
    margin: 0;
}

.section-head h2,
.about-content h2,
.service-card h3 {
    color: #1f2933;
}

.section-head p,
.about-content p {
    color: #5f6f68;
}

.services-slider {
    overflow: hidden;
}

.services-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(16.5rem, 20rem);
    gap: 1.2rem;

    overflow-x: auto;
    padding: 0.5rem 0.25rem 1rem;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.services-track::-webkit-scrollbar {
    display: none;
}

.service-card {
    scroll-snap-align: start;

    background: #fff;
    border-radius: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1.5rem;

    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card p {
    color: #6b7a73;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    background: rgba(58, 77, 57, 0.10);
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.service-card p {
    margin: 0;
    color: var(--color-gray);
    line-height: 1.7;
    font-size: 0.98rem;
}

.services-controls {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.services-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    border: none;
    background: rgba(58, 77, 57, 0.10);
    color: var(--color-primary);
    display: grid;
    place-items: center;
    transition: 0.2s;
}

.services-btn:hover {
    background: var(--color-primary);
    color: #fff;
}

@media (max-width: 576px) {
    .services-track {
        grid-auto-columns: 85%;
    }
}

/* =====================================================
    Footer
   ===================================================== */
.site-footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.85);
    padding: 4.5rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand img {
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 50%;
}

.footer-brand p {
    max-width: 26rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.site-footer h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact i {
    margin-right: 0.6rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-contact i {
        margin-right: 0.4rem;
    }
}


.hero.hero--video {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: clamp(32rem, 70vh, 44rem);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
}