﻿:root {
    --primary: #08683a;
    --primary-light: #0a9e53;
    --primary-dark: #054627;
    --secondary: #163528;
    --accent: #d8b36a;
    --text-dark: #1f2f27;
    --text-light: #68756d;
    --light-bg: #f7faf8;
    --white: #ffffff;
    --soft-bg: #f1f6f3;
    --border: rgba(8, 104, 58, 0.08);
    --shadow-sm: 0 8px 24px rgba(8, 104, 58, 0.08);
    --shadow-md: 0 14px 35px rgba(8, 104, 58, 0.12);
    --shadow-lg: 0 20px 55px rgba(8, 104, 58, 0.16);
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --transition: all .35s ease;
}

/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: @(isRtl ? "'Cairo', 'Tajawal', sans-serif" : "'Segoe UI', Tahoma, Arial, sans-serif");
    color: var(--text-dark);
    background: var(--light-bg);
    line-height: 1.7;
    overflow-x: hidden;
    direction: @(isRtl ? "rtl" : "ltr");
}*/

img, video {
    display: block;
    width: 100%;
}

a {
    text-decoration: none;
}

.container {
    width: min(1280px, 92%);
    margin: auto;
}

.section {
    padding: 100px 0;
}

    .section.soft {
        background: var(--soft-bg);
    }

    .section.white {
        background: var(--white);
    }

.section-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 55px;
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.15;
    color: var(--secondary);
    margin-bottom: 16px;
    font-weight: 800;
}

.section-desc {
    color: var(--text-light);
    font-size: 17px;
}

.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    box-shadow: var(--shadow-md);
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
        color: #fff;
    }

.btn-outline {
    border: 1px solid rgba(255,255,255,.28);
    color: #fff;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
}

    .btn-outline:hover {
        transform: translateY(-3px);
        background: rgba(255,255,255,.16);
        color: #fff;
    }

/* HERO */
.hero {
    position: relative;
    min-height: 130vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
}

    .hero video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
    }

/* INTRO STRIP */
.intro-wrap {
    margin-top: -60px;
    position: relative;
    z-index: 5;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.intro-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    height: 100%;
}

    .intro-card h3 {
        color: var(--secondary);
        margin-bottom: 12px;
        font-size: 22px;
    }

    .intro-card p {
        color: var(--text-light);
        font-size: 15px;
    }

/* FEATURE BANNER */
.split-banner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 40px;
    align-items: center;
}

.split-image {
    position: relative;
}

    .split-image img {
        height: 560px;
        object-fit: cover;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
    }

.split-floating {
    position: absolute;
    bottom: 24px;
    width: min(300px, calc(100% - 48px));
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow-md);
}

html[dir="ltr"] .split-floating {
    right: 24px;
    left: auto;
    text-align: left;
}

html[dir="rtl"] .split-floating {
    left: 24px;
    right: auto;
    text-align: right;
}

.split-floating strong {
    display: block;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 15px;
}

.split-text h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    margin-bottom: 18px;
    color: var(--secondary);
}

.split-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 16px;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 14px;
    margin: 26px 0 30px;
}

    .check-list li {
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 15px 18px;
        box-shadow: var(--shadow-sm);
        color: var(--text-dark);
        position: relative;
    }

html[dir="ltr"] .check-list li {
    padding-left: 44px;
}

html[dir="rtl"] .check-list li {
    padding-right: 44px;
}

.check-list li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 800;
    position: absolute;
    top: 14px;
}

html[dir="ltr"] .check-list li::before {
    left: 18px;
}

html[dir="rtl"] .check-list li::before {
    right: 18px;
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    min-height: 260px;
    box-shadow: var(--shadow-sm);
    background: #ddd;
}

    .gallery-card.large {
        grid-column: span 2;
        grid-row: span 2;
        min-height: 540px;
    }

    .gallery-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .45s ease;
    }

    .gallery-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(8,104,58,.70), rgba(8,104,58,.10));
        opacity: 0;
        transition: opacity .35s ease;
    }

.gallery-overlay {
    position: absolute;
    z-index: 2;
    color: #fff;
    opacity: 0;
    transform: translateY(12px);
    transition: var(--transition);
}

html[dir="ltr"] .gallery-overlay {
    left: 18px;
    right: 18px;
    bottom: 18px;
    text-align: left;
}

html[dir="rtl"] .gallery-overlay {
    right: 18px;
    left: 18px;
    bottom: 18px;
    text-align: right;
}

.gallery-overlay h4 {
    font-size: 19px;
    margin-bottom: 4px;
}

.gallery-overlay span {
    font-size: 14px;
    opacity: .94;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-card:hover::after {
    opacity: 1;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* CLASSIC GRID */
.classic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.classic-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    min-height: 320px;
    box-shadow: var(--shadow-sm);
}

    .classic-card.tall {
        min-height: 660px;
    }

    .classic-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .45s ease;
    }

    .classic-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(14,37,28,.72), rgba(14,37,28,.12));
        opacity: 0;
        transition: .35s ease;
    }

    .classic-card:hover img {
        transform: scale(1.08);
    }

    .classic-card:hover::after,
    .classic-card:hover .gallery-overlay {
        opacity: 1;
        transform: translateY(0);
    }

/* CTA */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, rgba(8,104,58,.95), rgba(5,70,39,.95));
    color: #fff;
    text-align: center;
    padding: 110px 0;
    overflow: hidden;
}

    .cta-section::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        background: rgba(255,255,255,.06);
        border-radius: 50%;
        top: -120px;
        left: -100px;
    }

    .cta-section::after {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        background: rgba(255,255,255,.05);
        border-radius: 50%;
        bottom: -100px;
        right: -80px;
    }

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 840px;
    margin: auto;
}

    .cta-content h2 {
        font-size: clamp(30px, 4vw, 52px);
        line-height: 1.15;
        margin-bottom: 16px;
    }

    .cta-content p {
        font-size: 20px;
        color: rgba(255,255,255,.90);
        margin-bottom: 28px;
    }

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .intro-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-banner {
        grid-template-columns: 1fr;
    }

    .split-image img {
        height: 420px;
    }

    .gallery-card.large {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 320px;
    }

    .classic-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .classic-card.tall {
        min-height: 340px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
    }

    .intro-wrap {
        margin-top: 0;
        padding-top: 32px;
    }

    .intro-grid,
    .gallery-grid,
    .classic-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 75px 0;
    }

    .gallery-card,
    .gallery-card.large,
    .classic-card,
    .classic-card.tall {
        min-height: 260px;
        grid-column: auto;
        grid-row: auto;
    }

    .intro-card {
        padding: 24px;
    }

    .split-image img {
        height: 320px;
    }

    .hero {
        height: 50vh;
        min-height: auto;
    }

        .hero video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
}
