﻿
:root {
    /* Brand palette derived from Al Mudam logo: green wreath + bronze scales */
    --green: #1F7A4D;
    --green-dark: #145C39;
    --green-deep: #0D4429;
    --green-light: #2E9D67;
    --green-pale: #E8F5EE;
    --green-mist: #F2FAF6;
    --bronze: #9C6B3F;
    --bronze-dark: #7A5230;
    --bronze-light: #C08F5E;
    --bronze-pale: #F5EDE3;
    --gold: #C8992A;
    --gold-light: #E5B94D;
    --ink: #15211B;
    --ink-soft: #2C3A32;
    --text: #34433B;
    --text-light: #6B7A71;
    --text-mute: #94A29A;
    --white: #FFFFFF;
    --cream: #FCFBF7;
    --off: #F7F9F7;
    --line: #E6EDE8;
    --line-soft: #F0F4F1;
    --shadow-xs: 0 1px 2px rgba(20,92,57,.05);
    --shadow-sm: 0 2px 8px rgba(20,92,57,.06),0 1px 3px rgba(20,92,57,.04);
    --shadow: 0 8px 24px rgba(20,92,57,.08),0 2px 8px rgba(20,92,57,.05);
    --shadow-md: 0 16px 40px rgba(20,92,57,.1),0 4px 12px rgba(20,92,57,.06);
    --shadow-lg: 0 28px 64px rgba(13,68,41,.16),0 8px 24px rgba(13,68,41,.08);
    --shadow-glow: 0 0 0 1px rgba(31,122,77,.08),0 20px 50px rgba(31,122,77,.14);
    --r: 14px;
    --r-sm: 10px;
    --r-lg: 22px;
    --r-xl: 32px;
    --disp: 'Fraunces',serif;
    --body: 'Plus Jakarta Sans',sans-serif;
    --ar: 'Tajawal',sans-serif;
    --ease: cubic-bezier(.22,1,.36,1);
    --ease-soft: cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--body);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: var(--body);
    border: none;
    background: none;
}

::selection {
    background: var(--green-light);
    color: #fff;
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 11px;
}

::-webkit-scrollbar-track {
    background: var(--off);
}

::-webkit-scrollbar-thumb {
    background: var(--green-light);
    border-radius: 6px;
    border: 3px solid var(--off);
}

/* ── UTIL ── */
.wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.sec {
    padding: 96px 0;
    position: relative;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 16px;
}

    .eyebrow::before {
        content: '';
        width: 28px;
        height: 2px;
        background: linear-gradient(90deg,var(--green),var(--green-light));
        border-radius: 2px;
    }

    .eyebrow.center {
        justify-content: center;
    }

    .eyebrow.light {
        color: var(--green-light);
    }

.h-title {
    font-family: var(--disp);
    font-size: clamp(2rem,4vw,3.1rem);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.12;
    letter-spacing: -.02em;
}

    .h-title em {
        font-style: italic;
        color: var(--green);
    }

.h-sub {
    font-family: var(--ar);
    font-size: 1.05rem;
    color: var(--text-light);
    margin-top: 8px;
    direction: rtl;
}

.lead {
    font-size: 1.06rem;
    color: var(--text-light);
    line-height: 1.75;
    max-width: 620px;
}

.center-head {
    text-align: center;
    margin: 0 auto 60px;
    max-width: 680px;
}

    .center-head .h-sub {
        direction: rtl;
    }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 28px;
    font-size: .9rem;
    font-weight: 600;
    border-radius: 100px;
    transition: all .4s var(--ease);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    letter-spacing: .01em;
}

    .btn i {
        transition: transform .4s var(--ease);
    }

.btn-green {
    background: var(--green);
    color: #fff;
    box-shadow: 0 8px 24px rgba(31,122,77,.28);
}

    .btn-green:hover {
        background: var(--green-dark);
        transform: translateY(-3px);
        box-shadow: 0 16px 36px rgba(31,122,77,.4);
    }

        .btn-green:hover i {
            transform: translateX(4px);
        }

.btn-gold {
    background: linear-gradient(135deg,var(--gold),var(--bronze));
    color: #fff;
    box-shadow: 0 8px 24px rgba(200,153,42,.3);
}

    .btn-gold:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 36px rgba(200,153,42,.42);
    }

.btn-glass {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.3);
    backdrop-filter: blur(12px);
}

    .btn-glass:hover {
        background: rgba(255,255,255,.22);
        transform: translateY(-3px);
        border-color: rgba(255,255,255,.5);
    }

.btn-outline {
    background: transparent;
    color: var(--green);
    border: 1.5px solid var(--green);
}

    .btn-outline:hover {
        background: var(--green);
        color: #fff;
        transform: translateY(-3px);
    }

.btn-white {
    background: #fff;
    color: var(--green);
    box-shadow: var(--shadow);
}

    .btn-white:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .9s var(--ease),transform .9s var(--ease);
}

    .reveal.in {
        opacity: 1;
        transform: none;
    }

    .reveal.d1 {
        transition-delay: .08s;
    }

    .reveal.d2 {
        transition-delay: .16s;
    }

    .reveal.d3 {
        transition-delay: .24s;
    }

    .reveal.d4 {
        transition-delay: .32s;
    }

    .reveal.d5 {
        transition-delay: .4s;
    }

    .reveal.d6 {
        transition-delay: .48s;
    }

/* ════ TOP BAR ════ */
.topbar {
    background: var(--green-deep);
    color: rgba(255,255,255,.78);
    font-size: .78rem;
    padding: 8px 0;
    position: relative;
    z-index: 1001;
}

.topbar-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.topbar-l {
    display: flex;
    gap: 22px;
    align-items: center;
}

    .topbar-l a {
        display: flex;
        align-items: center;
        gap: 7px;
        color: rgba(255,255,255,.78);
        transition: color .3s;
    }

        .topbar-l a:hover {
            color: var(--gold-light);
        }

    .topbar-l i {
        font-size: .72rem;
        color: var(--green-light);
    }

.topbar-r {
    display: flex;
    align-items: center;
    gap: 14px;
}

    .topbar-r .soc {
        color: rgba(255,255,255,.7);
        transition: all .3s;
        font-size: .82rem;
    }

        .topbar-r .soc:hover {
            color: var(--gold-light);
            transform: translateY(-1px);
        }

.lang {
    display: flex;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 100px;
    overflow: hidden;
}

    .lang button {
        color: rgba(255,255,255,.65);
        padding: 3px 13px;
        font-size: .73rem;
        font-weight: 600;
        transition: all .3s;
        font-family: var(--body);
    }

    .lang a {
        color: rgba(255,255,255,.65);
        padding: 3px 13px;
        font-size: .73rem;
        font-weight: 600;
        transition: all .3s;
        font-family: var(--body);
    }

        .lang button.on, .lang button:hover {
            background: var(--gold);
            color: var(--green-deep);
        }
        .lang a.on, .lang a:hover {
            background: var(--gold);
            color: var(--green-deep); 
        }

/* ════ HEADER ════ */
.header {
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(20px) saturate(180%);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--line);
    transition: box-shadow .4s,background .4s;
}

    .header.scrolled {
        box-shadow: 0 8px 32px rgba(20,92,57,.08);
        background: rgba(255,255,255,.96);
    }

.header-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 86px;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

    .brand img {
        height: 62px;
        width: auto;
    }

.brand-txt {
    line-height: 1.15;
}

    .brand-txt .en {
        font-family: var(--disp);
        font-size: 1.06rem;
        font-weight: 600;
        color: var(--green-dark);
        display: block;
        letter-spacing: -.01em;
    }

    .brand-txt .ar {
        font-family: var(--ar);
        font-size: .82rem;
        color: var(--text-light);
        display: block;
    }

.nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

    .nav > a, .nav-dd > button {
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 9px 15px;
        font-size: .86rem;
        font-weight: 600;
        color: var(--ink-soft);
        border-radius: 100px;
        transition: all .3s var(--ease);
        white-space: nowrap;
        position: relative;
    }

        .nav > a::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 15px;
            right: 15px;
            height: 2px;
            background: var(--green);
            border-radius: 2px;
            transform: scaleX(0);
            transition: transform .35s var(--ease);
            transform-origin: center;
        }

        .nav > a:hover, .nav-dd > button:hover {
            color: var(--green);
            background: var(--green-mist);
        }

        .nav > a.on {
            color: var(--green);
        }

            .nav > a.on::after {
                transform: scaleX(1);
            }

.nav-dd {
    position: relative;
}

    .nav-dd .dd {
        position: absolute;
        top: calc(100% + 12px);
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--r);
        box-shadow: var(--shadow-md);
        min-width: 240px;
        padding: 8px;
        opacity: 0;
        visibility: hidden;
        transition: all .35s var(--ease);
    }

    .nav-dd:hover .dd {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

.dd a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    font-size: .85rem;
    color: var(--ink-soft);
    border-radius: var(--r-sm);
    transition: all .25s;
}

    .dd a:hover {
        background: var(--green-mist);
        color: var(--green);
        transform: translateX(3px);
    }

    .dd a i {
        width: 32px;
        height: 32px;
        background: var(--green-pale);
        border-radius: 9px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--green);
        font-size: .82rem;
        flex-shrink: 0;
    }

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}

    .burger span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--green-dark);
        border-radius: 2px;
        transition: all .3s;
    }

/* ════ HERO ════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--green-deep);
}
/* video background layer */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: var(--green-deep);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    will-change: transform;
}
/* tuned overlay: base dark wash + stronger left-side gradient where text lives + brand-green tint top & bottom for cohesion */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    /*background: linear-gradient(90deg,rgba(13,68,41,.82) 0%,rgba(13,68,41,.55) 38%,rgba(13,68,41,.22) 70%,rgba(13,68,41,.32) 100%), linear-gradient(180deg,rgba(13,68,41,.5) 0%,transparent 26%,transparent 64%,rgba(13,68,41,.62) 100%), rgba(0,0,0,.18);*/
    background:none!important;
}
/* animated mesh blobs — kept as a subtle brand-color wash over the video */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .34;
    z-index: 1;
    animation: float 18s ease-in-out infinite;
    pointer-events: none;
}

    .hero-blob.b1 {
        width: 480px;
        height: 480px;
        background: radial-gradient(circle,rgba(46,157,103,.6),transparent 70%);
        top: -10%;
        right: 5%;
    }

    .hero-blob.b2 {
        width: 420px;
        height: 420px;
        background: radial-gradient(circle,rgba(200,153,42,.28),transparent 70%);
        bottom: -8%;
        left: 0%;
        animation-delay: -6s;
    }

    .hero-blob.b3 {
        width: 340px;
        height: 340px;
        background: radial-gradient(circle,rgba(192,143,94,.3),transparent 70%);
        top: 40%;
        left: 40%;
        animation-delay: -11s;
    }

@keyframes float {
    0%,100% {
        transform: translate(0,0) scale(1);
    }

    33% {
        transform: translate(40px,-40px) scale(1.08);
    }

    66% {
        transform: translate(-30px,30px) scale(.94);
    }
}
/* grid pattern */
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: .3;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 100% 80% at 50% 40%,#000 30%,transparent 80%);
    pointer-events: none;
}
/* fine grain for premium texture over video */
.hero-noise {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: .04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}
/* reduced-motion: pause video animation gracefully */
@media (prefers-reduced-motion:reduce) {
    .hero-blob {
        animation: none;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px;
}

.hero-left {
    max-width: 760px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    padding: 7px 18px;
    font-size: .78rem;
    color: rgba(255,255,255,.92);
    letter-spacing: .05em;
    margin-bottom: 26px;
}

    .hero-tag .dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--gold-light);
        box-shadow: 0 0 0 4px rgba(229,185,77,.25);
        animation: pulse 2.4s ease-in-out infinite;
    }

@keyframes pulse {
    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: .4;
    }
}

.hero-h1 {
    font-family: var(--disp);
    font-size: clamp(2.6rem,5.4vw,4.6rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -.025em;
    margin-bottom: 18px;
}

    .hero-h1 em {
        font-style: italic;
        color: var(--gold-light);
        position: relative;
    }

.hero-h1-ar {
    font-family: var(--ar);
    font-size: clamp(1.3rem,2.4vw,1.9rem);
    color: rgba(255,255,255,.6);
    font-weight: 300;
    margin-bottom: 24px;
    direction: rtl;
}

.hero-desc {
    font-size: 1.12rem;
    color: rgba(255,255,255,.82);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 38px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 46px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

    .hero-trust .item {
        display: flex;
        align-items: center;
        gap: 11px;
    }

    .hero-trust .ic {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: rgba(255,255,255,.1);
        border: 1px solid rgba(255,255,255,.16);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--gold-light);
        font-size: 1rem;
        flex-shrink: 0;
    }

    .hero-trust .tx b {
        display: block;
        color: #fff;
        font-size: .92rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .hero-trust .tx span {
        font-size: .74rem;
        color: rgba(255,255,255,.6);
    }

/* ════ HERO SERVICE TILES (semi-transparent, dm.gov.ae-style hover) ════ */
.hero-tiles-wrap {
    position: relative;
    z-index: 10;
    width: 100%;
    margin-top: auto;
    padding-bottom: clamp(28px,5vh,56px);
}

.hero-tiles {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 16px;
}

.htile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px 54px;
    border-radius: var(--r);
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    overflow: hidden;
    cursor: pointer;
    transition: transform .45s var(--ease),background .45s var(--ease),box-shadow .45s var(--ease),border-color .45s var(--ease);
}
    /* top accent bar that sweeps in on hover */
    .htile::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg,var(--green),var(--green-light));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .5s var(--ease);
    }

    .htile:hover {
        transform: translateY(-14px);
        background: rgba(255,255,255,.98);
        border-color: #fff;
        box-shadow: 0 30px 60px rgba(13,68,41,.35);
    }

        .htile:hover::before {
            transform: scaleX(1);
        }

.htile-ic {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
    background: rgba(255,255,255,.18);
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
    transition: all .45s var(--ease);
}
/* icon recolors to brand green on hover */
.htile:hover .htile-ic {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
    transform: scale(1.05) rotate(-4deg);
    box-shadow: 0 10px 22px rgba(31,122,77,.4);
}

.htile h4 {
    font-family: var(--disp);
    font-size: 1.04rem;
    font-weight: 600;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 8px;
    transition: color .45s var(--ease);
    letter-spacing: -.01em;
}

.htile:hover h4 {
    color: var(--ink);
}

.htile p {
    font-size: .8rem;
    line-height: 1.5;
    color: rgba(255,255,255,.78);
    transition: color .45s var(--ease);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.htile:hover p {
    color: var(--text-light);
}

.htile-go {
    position: absolute;
    left: 22px;
    bottom: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    background: rgba(255,255,255,.16);
    color: #fff;
    border: 1px solid rgba(255,255,255,.28);
    transition: all .45s var(--ease);
}

.htile:hover .htile-go {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
    transform: translateX(4px);
}
/* "See all" tile gets a subtle gold tint when idle */
.htile.htile-all {
    background: rgba(200,153,42,.16);
    border-color: rgba(229,185,77,.32);
}

    .htile.htile-all .htile-ic {
        background: rgba(229,185,77,.2);
        border-color: rgba(229,185,77,.4);
        color: var(--gold-light);
    }

    .htile.htile-all:hover {
        background: rgba(255,255,255,.98);
        border-color: #fff;
    }

        .htile.htile-all:hover .htile-ic {
            background: var(--gold);
            color: #fff;
            border-color: var(--gold);
            box-shadow: 0 10px 22px rgba(200,153,42,.4);
        }

    .htile.htile-all::before {
        background: linear-gradient(90deg,var(--gold),var(--gold-light));
    }

/* ════ STATS ════ */
.stats {
    background: #fff;
    position: relative;
    margin-top: 30px;
    padding: 0;
}

.stats-card {
    max-width: 1180px;
    margin: -70px auto 0;
    position: relative;
    z-index: 20;
    background: #fff;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    padding: 48px 40px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    border: 1px solid var(--line);
}

.stat {
    text-align: center;
    position: relative;
    padding: 0 16px;
}

    .stat:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 10%;
        height: 80%;
        width: 1px;
        background: var(--line);
    }

    .stat .ic {
        width: 52px;
        height: 52px;
        margin: 0 auto 14px;
        border-radius: 15px;
        background: var(--green-pale);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--green);
        font-size: 1.3rem;
    }

    .stat .num {
        font-family: var(--disp);
        font-size: 2.6rem;
        font-weight: 600;
        color: var(--ink);
        line-height: 1;
        letter-spacing: -.02em;
    }

        .stat .num .suffix {
            color: var(--green);
        }

    .stat .lbl {
        font-size: .84rem;
        color: var(--text-light);
        margin-top: 7px;
        font-weight: 500;
    }

/* ════ SERVICES ════ */
.services {
    background: var(--white);
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.svc {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 36px 30px;
    overflow: hidden;
    transition: all .5s var(--ease);
    cursor: pointer;
}

    .svc::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(160deg,var(--green-mist),transparent 60%);
        opacity: 0;
        transition: opacity .5s var(--ease);
    }

    .svc::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg,var(--green),var(--green-light));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .5s var(--ease);
    }

    .svc:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-md);
        border-color: transparent;
    }

        .svc:hover::before {
            opacity: 1;
        }

        .svc:hover::after {
            transform: scaleX(1);
        }

.svc-ic {
    position: relative;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: linear-gradient(135deg,var(--green),var(--green-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 22px;
    box-shadow: 0 10px 24px rgba(31,122,77,.28);
    transition: transform .5s var(--ease);
}

.svc:hover .svc-ic {
    transform: scale(1.08) rotate(-4deg);
}

.svc.emergency .svc-ic {
    background: linear-gradient(135deg,#DC2626,#991B1B);
    box-shadow: 0 10px 24px rgba(220,38,38,.28);
}

.svc h3 {
    position: relative;
    font-family: var(--disp);
    font-size: 1.32rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -.01em;
}

.svc p {
    position: relative;
    font-size: .92rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 22px;
}

.svc .lnk {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .86rem;
    font-weight: 600;
    color: var(--green);
    transition: gap .4s var(--ease);
}

.svc.emergency .lnk {
    color: #DC2626;
}

.svc:hover .lnk {
    gap: 13px;
}

/* ════ DEPARTMENTS ════ */
.depts {
    background: linear-gradient(180deg,var(--green-mist),var(--white));
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 18px;
}

.dept {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 28px 20px;
    text-align: center;
    transition: all .45s var(--ease);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .dept:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-md);
        border-color: var(--green-light);
    }

.dept-ic {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--green-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1.4rem;
    transition: all .45s var(--ease);
}

.dept:hover .dept-ic {
    background: var(--green);
    color: #fff;
    transform: scale(1.1);
}

.dept h4 {
    font-size: .9rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35;
    margin-bottom: 8px;
}

.dept p {
    font-size: .76rem;
    color: var(--text-light);
    line-height: 1.55;
    margin-bottom: 14px;
}

.dept .lnk {
    font-size: .74rem;
    font-weight: 600;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transform: translateY(6px);
    transition: all .4s var(--ease);
}

.dept:hover .lnk {
    opacity: 1;
    transform: none;
}

/* ════ VISION (Chairman) ════ */
.vision {
    background: var(--green-deep);
    position: relative;
    overflow: hidden;
}

    .vision::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 60% 80% at 80% 50%,rgba(46,157,103,.3),transparent 60%),radial-gradient(ellipse 50% 60% at 10% 20%,rgba(200,153,42,.12),transparent 55%);
    }

.vision-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.vision-photo {
    position: relative;
}

    .vision-photo .frame {
        position: relative;
        border-radius: var(--r-lg);
        overflow: hidden;
        box-shadow: var(--shadow-lg);
        border: 1px solid rgba(255,255,255,.12);
    }

    .vision-photo img {
        width: 100%;
        height: 440px;
        object-fit: cover;
        object-position: top center;
    }

    .vision-photo .frame::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,transparent 55%,rgba(13,68,41,.5));
    }

    .vision-photo .badge {
        position: absolute;
        bottom: 20px;
        left: 20px;
        right: 20px;
        background: rgba(255,255,255,.1);
        backdrop-filter: blur(16px);
        border: 1px solid rgba(255,255,255,.18);
        border-radius: var(--r);
        padding: 14px 18px;
    }

        .vision-photo .badge .r {
            font-size: .64rem;
            text-transform: uppercase;
            letter-spacing: .12em;
            color: var(--gold-light);
            font-weight: 700;
            display: block;
            margin-bottom: 3px;
        }

        .vision-photo .badge .n {
            font-family: var(--disp);
            font-size: 1.05rem;
            color: #fff;
            font-weight: 600;
        }

    .vision-photo .deco {
        position: absolute;
        width: 120px;
        height: 120px;
        border: 2px solid rgba(200,153,42,.3);
        border-radius: var(--r-lg);
        top: -18px;
        right: -18px;
        z-index: -1;
    }

.vision-content .eyebrow {
    color: var(--gold-light);
}

    .vision-content .eyebrow::before {
        background: var(--gold-light);
    }

.vision-quote {
    font-family: var(--disp);
    font-size: clamp(1.3rem,2.2vw,1.75rem);
    font-weight: 400;
    font-style: italic;
    color: #fff;
    line-height: 1.55;
    margin: 22px 0 28px;
    position: relative;
    padding-left: 28px;
}

    .vision-quote::before {
        content: '"';
        position: absolute;
        left: -8px;
        top: -18px;
        font-size: 4rem;
        color: var(--gold-light);
        opacity: .5;
        font-family: var(--disp);
    }

.vmg {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin: 32px 0;
}

.vmg-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--r);
    padding: 20px 18px;
    transition: all .4s var(--ease);
}

    .vmg-card:hover {
        background: rgba(255,255,255,.12);
        transform: translateY(-4px);
    }

    .vmg-card i {
        color: var(--gold-light);
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .vmg-card h4 {
        font-size: .92rem;
        font-weight: 700;
        color: #fff;
        margin-bottom: 5px;
    }

    .vmg-card p {
        font-size: .78rem;
        color: rgba(255,255,255,.62);
        line-height: 1.5;
    }

.vision-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

    .vision-author .line {
        width: 40px;
        height: 2px;
        background: var(--gold-light);
    }

    .vision-author .who b {
        display: block;
        color: #fff;
        font-size: .95rem;
    }

    .vision-author .who span {
        font-size: .8rem;
        color: rgba(255,255,255,.6);
    }

/* ════ PROJECTS / EVENTS ════ */
.projects {
    background: var(--white);
}

.proj-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.proj {
    border-radius: var(--r-lg);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    transition: all .5s var(--ease);
    cursor: pointer;
    box-shadow: var(--shadow-xs);
}

    .proj:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-md);
    }

.proj-img {
    height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .proj-img i {
        font-size: 3.4rem;
        color: rgba(255,255,255,.25);
        transition: transform .6s var(--ease);
    }

.proj:hover .proj-img i {
    transform: scale(1.15);
}

.proj-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    color: var(--green-dark);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: 100px;
}

.proj-date {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(13,68,41,.6);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
}

.proj-body {
    padding: 22px 24px;
}

    .proj-body h3 {
        font-family: var(--disp);
        font-size: 1.18rem;
        font-weight: 600;
        color: var(--ink);
        line-height: 1.35;
        margin-bottom: 8px;
    }

    .proj-body p {
        font-size: .86rem;
        color: var(--text-light);
        line-height: 1.6;
        margin-bottom: 14px;
    }

    .proj-body .lnk {
        font-size: .82rem;
        font-weight: 600;
        color: var(--green);
        display: inline-flex;
        align-items: center;
        gap: 7px;
        transition: gap .4s var(--ease);
    }

.proj:hover .lnk {
    gap: 12px;
}

/* ════ MEDIA GALLERY ════ */
.media {
    background: var(--off);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-auto-rows: 200px;
    gap: 16px;
}

.gtile {
    position: relative;
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    transition: all .5s var(--ease);
}

    .gtile::before {
        content: '';
        position: absolute;
        inset: 0;
        transition: transform .7s var(--ease);
    }

    .gtile:hover::before {
        transform: scale(1.08);
    }

    .gtile::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,transparent 40%,rgba(13,68,41,.82));
    }

    .gtile.big {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gtile .play {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: rgba(255,255,255,.2);
        backdrop-filter: blur(8px);
        border: 1.5px solid rgba(255,255,255,.4);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 1.1rem;
        z-index: 3;
        transition: all .4s var(--ease);
    }

    .gtile:hover .play {
        background: var(--gold);
        transform: translate(-50%,-50%) scale(1.12);
    }

    .gtile .meta {
        position: relative;
        z-index: 2;
        padding: 18px 20px;
    }

        .gtile .meta .cat {
            font-size: .66rem;
            text-transform: uppercase;
            letter-spacing: .1em;
            color: var(--gold-light);
            font-weight: 700;
            display: block;
            margin-bottom: 4px;
        }

        .gtile .meta h4 {
            font-size: .95rem;
            color: #fff;
            font-weight: 600;
            line-height: 1.3;
        }

    .gtile.big .meta h4 {
        font-size: 1.3rem;
        font-family: var(--disp);
    }

/* ════ APP ════ */
.app {
    background: var(--white);
    overflow: hidden;
}

.app-wrap {
    background: linear-gradient(135deg,var(--green-deep),var(--green-dark) 60%,var(--green) 100%);
    border-radius: var(--r-xl);
    padding: 64px 56px;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: center;
}

    .app-wrap::before {
        content: '';
        position: absolute;
        width: 400px;
        height: 400px;
        border-radius: 50%;
        background: radial-gradient(circle,rgba(200,153,42,.18),transparent 70%);
        top: -30%;
        right: -5%;
    }

    .app-wrap::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
        background-size: 40px 40px;
        mask-image: radial-gradient(ellipse at 70% 50%,#000,transparent 75%);
    }

.app-content {
    position: relative;
    z-index: 2;
}

    .app-content .eyebrow {
        color: var(--gold-light);
    }

        .app-content .eyebrow::before {
            background: var(--gold-light);
        }

    .app-content h2 {
        font-family: var(--disp);
        font-size: clamp(1.8rem,3vw,2.6rem);
        font-weight: 600;
        color: #fff;
        line-height: 1.15;
        margin-bottom: 8px;
        letter-spacing: -.02em;
    }

    .app-content .ar-h {
        font-family: var(--ar);
        font-size: 1.1rem;
        color: rgba(255,255,255,.55);
        margin-bottom: 18px;
        direction: rtl;
    }

    .app-content p {
        font-size: 1rem;
        color: rgba(255,255,255,.78);
        line-height: 1.7;
        max-width: 440px;
        margin-bottom: 28px;
    }

.app-feats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
}

.app-feat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: rgba(255,255,255,.85);
}

    .app-feat i {
        color: var(--gold-light);
    }

.store-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.store {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 12px 22px;
    transition: all .4s var(--ease);
}

    .store:hover {
        background: rgba(255,255,255,.2);
        transform: translateY(-3px);
    }

    .store i {
        font-size: 1.8rem;
        color: #fff;
    }

    .store .t .s {
        font-size: .62rem;
        color: rgba(255,255,255,.6);
        text-transform: uppercase;
        letter-spacing: .06em;
        display: block;
    }

    .store .t .n {
        font-size: .98rem;
        font-weight: 700;
        color: #fff;
        display: block;
    }

.app-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.qr-card {
    background: #fff;
    border-radius: var(--r-lg);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.qr-code {
    width: 160px;
    height: 160px;
    border-radius: var(--r);
    background: repeating-linear-gradient(0deg,var(--ink) 0 8px,transparent 8px 16px), repeating-linear-gradient(90deg,var(--ink) 0 8px,transparent 8px 16px);
    background-size: 32px 32px;
    opacity: .85;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .qr-code::after {
        content: '\f5a0';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 2.4rem;
        color: var(--green);
        background: #fff;
        padding: 12px;
        border-radius: 12px;
    }

.qr-card p {
    font-size: .82rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ════ CONTACT ════ */
.contact {
    background: var(--off);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cc {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 24px 22px;
    transition: all .45s var(--ease);
}

    .cc:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow);
        border-color: var(--green-light);
    }

    .cc .ic {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        background: var(--green-pale);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--green);
        font-size: 1.15rem;
        margin-bottom: 16px;
    }

    .cc .lbl {
        font-size: .68rem;
        text-transform: uppercase;
        letter-spacing: .1em;
        color: var(--text-mute);
        font-weight: 700;
        display: block;
        margin-bottom: 5px;
    }

    .cc .val {
        font-size: .95rem;
        font-weight: 600;
        color: var(--ink);
        line-height: 1.4;
    }

    .cc.full {
        grid-column: span 2;
    }

.contact-map {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: relative;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

    .contact-map::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(var(--line-soft) 1px,transparent 1px),linear-gradient(90deg,var(--line-soft) 1px,transparent 1px);
        background-size: 32px 32px;
    }

    .contact-map .pin {
        width: 72px;
        height: 72px;
        border-radius: 50%;
        background: var(--green-pale);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--green);
        font-size: 1.8rem;
        position: relative;
        animation: bob 3s ease-in-out infinite;
    }

@keyframes bob {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.contact-map p {
    position: relative;
    text-align: center;
    color: var(--text-light);
    font-size: .9rem;
}

.contact-map .coord {
    position: relative;
    font-size: .78rem;
    color: var(--green);
    font-weight: 600;
    background: var(--green-pale);
    padding: 6px 16px;
    border-radius: 100px;
}

/* ════ FOOTER ════ */
.footer {
    background: var(--green-deep);
    color: rgba(255,255,255,.7);
    position: relative;
    overflow: hidden;
}

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg,transparent,var(--gold),transparent);
    }

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 44px;
    padding: 72px 0 48px;
    position: relative;
    z-index: 2;
}

.footer-brand .fb-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

    .footer-brand .fb-logo img {
        height: 58px;
        background: #fff;
        border-radius: 12px;
        padding: 6px;
    }

    .footer-brand .fb-logo .en {
        font-family: var(--disp);
        font-size: 1.05rem;
        font-weight: 600;
        color: #fff;
        display: block;
    }

    .footer-brand .fb-logo .ar {
        font-family: var(--ar);
        font-size: .8rem;
        color: rgba(255,255,255,.5);
        display: block;
    }

.footer-brand p {
    font-size: .88rem;
    color: rgba(255,255,255,.55);
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 340px;
}

.footer-soc {
    display: flex;
    gap: 11px;
}

    .footer-soc a {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: rgba(255,255,255,.07);
        border: 1px solid rgba(255,255,255,.12);
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,.7);
        font-size: .92rem;
        transition: all .4s var(--ease);
    }

        .footer-soc a:hover {
            background: var(--gold);
            color: var(--green-deep);
            transform: translateY(-3px);
            border-color: var(--gold);
        }

.footer-col h4 {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #fff;
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

    .footer-col ul a {
        font-size: .88rem;
        color: rgba(255,255,255,.55);
        transition: all .3s;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

        .footer-col ul a::before {
            content: '';
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--gold);
            opacity: .5;
            transition: all .3s;
        }

        .footer-col ul a:hover {
            color: #fff;
            transform: translateX(4px);
        }

            .footer-col ul a:hover::before {
                opacity: 1;
            }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 2;
}

    .footer-bottom p {
        font-size: .78rem;
        color: rgba(255,255,255,.4);
    }

    .footer-bottom .links {
        display: flex;
        gap: 22px;
    }

        .footer-bottom .links a {
            font-size: .76rem;
            color: rgba(255,255,255,.4);
            transition: color .3s;
        }

            .footer-bottom .links a:hover {
                color: #fff;
            }

/* BACK TO TOP */
.btt {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 600;
    box-shadow: 0 8px 24px rgba(31,122,77,.4);
    opacity: 0;
    transform: translateY(16px) scale(.8);
    pointer-events: none;
    transition: all .5s var(--ease);
}

    .btt.show {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .btt:hover {
        background: var(--green-dark);
        transform: translateY(-4px);
    }

/* MOBILE DRAWER */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    visibility: hidden;
}

    .drawer.open {
        visibility: visible;
    }

.drawer-ov {
    position: absolute;
    inset: 0;
    background: rgba(13,68,41,.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .4s;
}

.drawer.open .drawer-ov {
    opacity: 1;
}

.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(360px,86vw);
    height: 100%;
    background: #fff;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .5s var(--ease);
    overflow-y: auto;
}

.drawer.open .drawer-panel {
    transform: none;
}

.drawer-head {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

    .drawer-head img {
        height: 48px;
    }

.drawer-close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--green-mist);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.drawer-nav {
    padding: 12px;
    flex: 1;
}

    .drawer-nav a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 16px;
        font-size: 1rem;
        font-weight: 600;
        color: var(--ink-soft);
        border-radius: var(--r-sm);
        transition: all .3s;
    }

        .drawer-nav a:hover {
            background: var(--green-mist);
            color: var(--green);
        }

.drawer-foot {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--line);
}

/* RESPONSIVE */
@media(max-width:1080px) {
    .nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    .dept-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 30px;
    }

    .stats-card {
        grid-template-columns: repeat(2,1fr);
        gap: 32px 20px;
    }

    .stat:nth-child(2)::after {
        display: none;
    }

    .vision-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .vision-photo {
        max-width: 380px;
    }

    .gallery {
        grid-template-columns: repeat(2,1fr);
    }

    .hero-tiles {
        grid-template-columns: repeat(3,1fr);
    }

    .hero {
        min-height: auto;
    }
}

@media(max-width:820px) {
    .sec {
        padding: 72px 0;
    }

    .svc-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .proj-grid {
        grid-template-columns: 1fr;
    }

    .app-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 48px 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .hero-tiles {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:560px) {
    .wrap {
        padding: 0 18px;
    }

    .svc-grid {
        grid-template-columns: 1fr;
    }

    .dept-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-card {
        grid-template-columns: 1fr 1fr;
        padding: 36px 24px;
    }

    .stat::after {
        display: none !important;
    }

    .gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 180px;
    }

    .gtile.big {
        grid-column: span 1;
        grid-row: span 1;
    }

    .vmg {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .cc.full {
        grid-column: span 1;
    }

    .topbar-l {
        display: none;
    }

    .hero-tiles {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .htile {
        padding: 20px 18px 50px;
    }

    .hero-trust {
        gap: 16px;
    }

    .brand-txt .en {
        font-size: .92rem;
    }
}
