:root {
    --bg: #f7fbf8;
    --surface: #ffffff;
    --surface-soft: #f1f8f3;
    --ink: #143125;
    --muted: #5a6f63;
    --brand: #008839;
    --brand-deep: #00642a;
    --accent: #f68b1f;
    --accent-soft: rgba(246, 139, 31, 0.12);
    --line: rgba(0, 136, 57, 0.14);
    --shadow: 0 20px 40px rgba(10, 68, 33, 0.08);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    font-family: "Cairo", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top right, rgba(246, 139, 31, 0.12), transparent 30%),
        radial-gradient(circle at bottom left, rgba(0, 136, 57, 0.1), transparent 28%),
        var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.navbar {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 136, 57, 0.08);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.navbar.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.06);
    padding: 0.7rem 0;
}

.nav-shell {
    display: flex;
    align-items: center;
    gap: 1rem;
    direction: ltr;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand-logo {
    height: 68px;
    width: auto;
    object-fit: contain;
}

.navbar-toggler {
    direction: rtl;
}

.navbar-collapse {
    direction: rtl;
    justify-content: flex-end;
    flex-grow: 1;
}

.navbar-nav {
    gap: 0.35rem;
    margin-right: auto;
}

.nav-link {
    color: var(--ink);
    font-weight: 700;
    position: relative;
    padding-inline: 0.9rem !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    right: 0.9rem;
    left: 0.9rem;
    bottom: 0.15rem;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.dropdown-menu {
    border-radius: 18px;
}

.dropdown-item:active,
.dropdown-item:hover {
    background: var(--accent-soft);
    color: var(--brand-deep);
}

.btn-brand {
    background: var(--brand);
    border: 0;
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 14px 26px rgba(0, 136, 57, 0.18);
}

.btn-brand:hover,
.btn-brand:focus {
    background: var(--brand-deep);
    color: #fff;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    overflow: hidden;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(0, 43, 18, 0.62), rgba(0, 136, 57, 0.42)),
        url("../../img/head/head.png") center/cover;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--accent);
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
    content: "";
    width: 42px;
    height: 1px;
    background: currentColor;
}

.hero-title {
    color: #fff;
    font-size: clamp(2.6rem, 5vw, 4.7rem);
    line-height: 1.15;
    font-weight: 800;
    margin: 1rem 0 1.2rem;
}

.hero-title span {
    color: var(--accent);
}

.hero-copy {
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.95;
    font-size: 1.02rem;
    max-width: 39rem;
}

.hero-copy a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(246, 139, 31, 0.6);
}

.hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-notes span {
    color: rgba(255, 255, 255, 0.88);
    border-bottom: 2px solid rgba(246, 139, 31, 0.45);
    padding-bottom: 0.2rem;
}

.hero-carousel {
    overflow: hidden;
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.hero-carousel img {
    height: 620px;
    object-fit: cover;
}

.section-space {
    padding: 6rem 0;
}

.section-light {
    background: rgba(255, 255, 255, 0.62);
}

.section-title {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.25;
    margin: 0.85rem 0 1rem;
    max-width: 54rem;
}

.section-copy {
    color: var(--muted);
    line-height: 1.95;
    max-width: 46rem;
}

.about-copy-en {
    border-top: 2px solid var(--accent-soft);
    padding-top: 1.5rem;
}

.about-copy-en p {
    line-height: 2;
    color: var(--ink);
    margin: 0;
}

.gallery-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
}

.gallery-tab {
    border: 1px solid rgba(0, 136, 57, 0.18);
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
    border-radius: 999px;
    padding: 0.8rem 1.35rem;
    font-weight: 700;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.gallery-tab:hover,
.gallery-tab.is-active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    transform: translateY(-2px);
}

.gallery-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.gallery-meta-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ink);
}

.gallery-counter {
    color: var(--muted);
    font-weight: 700;
}

.gallery-slider {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
}

.gallery-arrow {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

.gallery-arrow:hover:not(:disabled) {
    transform: translateY(-2px);
    background: var(--brand-deep);
}

.gallery-arrow:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    box-shadow: none;
}

.gallery-viewport {
    overflow: hidden;
}

.gallery-track {
    display: flex;
    transition: transform 0.45s ease;
    direction: ltr;
    will-change: transform;
}

.gallery-page {
    min-width: 100%;
}

.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.gallery-shot {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.gallery-shot img {
    width: 100%;
    aspect-ratio: 1 / 0.88;
    object-fit: cover;
    border-radius: 18px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: var(--shadow);
}

.gallery-shot:hover img {
    transform: translateY(-4px);
}

.gallery-empty {
    min-height: 320px;
    border-radius: 24px;
    border: 1px dashed rgba(0, 136, 57, 0.24);
    background: rgba(255, 255, 255, 0.62);
    display: grid;
    place-items: center;
    gap: 0.5rem;
    text-align: center;
    padding: 2rem;
    color: var(--muted);
}

.gallery-empty strong {
    color: var(--ink);
    font-size: 1.05rem;
}

.section-heading {
    margin-bottom: 0.8rem;
}

.simple-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 1.25rem;
}

.simple-section-head h3 {
    margin: 0;
    font-size: 1.3rem;
}

.simple-section-head span {
    color: var(--accent);
    font-weight: 700;
}

.media-simple,
.document-row,
.contact-line {
    border-bottom: 1px solid var(--line);
}

.media-simple {
    padding-bottom: 1rem;
}

.media-thumb-link {
    display: block;
    overflow: hidden;
    border: 0;
    padding: 0;
    width: 100%;
    border-radius: 18px;
    background: var(--surface-soft);
    position: relative;
}

.media-thumb-link img,
.media-thumb-link .media-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.media-local-preview {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.media-thumb-link .media-placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(0, 136, 57, 0.12), rgba(246, 139, 31, 0.16));
    color: var(--brand);
    font-size: 2rem;
}

.media-thumb-local {
    cursor: pointer;
    box-shadow: var(--shadow);
}

.media-local-preview {
    display: block;
    background: #0f1f17;
}


.media-label {
    display: inline-block;
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 700;
    margin: 0.9rem 0 0.45rem;
}

.media-title-link {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.7;
}

.media-title-link:hover {
    color: var(--brand);
}

.documents-list {
    display: grid;
    gap: 0;
}

.document-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.document-name {
    font-weight: 700;
    color: var(--ink);
}

.document-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.doc-link {
    color: var(--brand);
    font-weight: 700;
}

.doc-link.download-link {
    color: var(--accent);
}

.contact-list {
    display: grid;
    gap: 0;
}

.contact-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.contact-line strong {
    color: var(--brand);
}

.contact-line span {
    color: var(--muted);
    line-height: 1.8;
}

.contact-line span a {
    color: inherit;
    font-weight: 700;
}

.contact-line span a:hover {
    color: var(--brand);
}

.map-stack {
    display: grid;
    gap: 1.25rem;
}

.map-embed {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-embed iframe {
    width: 100%;
    min-height: 280px;
    border: 0;
}

.site-footer {
    padding: 1.2rem 0 2rem;
    color: var(--muted);
}

.footer-shell {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 3rem;
}

.footer-brand {
    justify-self: end;
}

.footer-copy {
    color: var(--ink);
    text-align: center;
    padding-inline: 1.5rem;
}

.footer-logo {
    width: auto;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.08));
}

.footer-links {
    justify-self: start;
}

.footer-links a:hover {
    color: var(--brand);
}

.gallery-modal-content,
.media-modal-content {
    background: #111;
    border: 0;
    border-radius: 24px;
    overflow: hidden;
}

.gallery-modal-content img {
    width: 100%;
    max-height: 84vh;
    object-fit: contain;
    background: #111;
}

.gallery-modal-caption {
    color: rgba(255, 255, 255, 0.85);
    padding: 1rem 1.25rem 1.35rem;
}

.media-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 16px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .nav-shell {
        direction: rtl;
        justify-content: space-between;
    }

    .navbar-collapse {
        direction: rtl;
        margin-top: 1rem;
    }

    .navbar-nav {
        margin-right: 0;
    }

    .hero-section {
        min-height: auto;
        padding-top: 6rem;
    }

    .hero-carousel img {
        height: 440px;
    }

    .gallery-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .section-space {
        padding: 4.5rem 0;
    }

    .brand-logo {
        height: 56px;
    }

    .gallery-meta,
    .gallery-slider {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .gallery-page-grid {
        grid-template-columns: 1fr;
    }

    .document-row,
    .contact-line,
    .simple-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-carousel img {
        height: 360px;
    }

    .footer-shell {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand,
    .footer-copy,
    .footer-links {
        justify-self: center;
        text-align: center;
        justify-content: center;
    }

    .footer-logo {
        height: 52px;
    }
}

.media-title-link.btn-link {
    color: var(--ink);
    text-decoration: none;
}

.media-title-link.btn-link:hover {
    color: var(--brand);
}



