/* ============================================================
   Lawyer Tech — Corporate Premium Design System
   Signature green identity on a light, professional canvas
   ============================================================ */

:root {
    --home-header-h: 106px; /* measured/refined by JS on home page */
    /* Brand (logo signature green) */
    --brand: #1B432B;
    --brand-dark: #12351F;
    --brand-deep: #0B2415;
    --brand-accent: #2E8B57;
    --brand-mint: #6BBE8A;
    --brand-light: #EAF5EF;
    --brand-lighter: #F4FAF6;

    /* Dark anchor (navy-green blend, harmonises with the logo) */
    --navy: #0A1F2E;
    --navy-dark: #071722;

    /* Neutrals */
    --surface: #F6F8F7;
    --text: #14201A;
    --text-strong: #0B1E14;
    --muted: #5C6E64;
    --border: #DDE6E1;

    /* Effects */
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --shadow-sm: 0 2px 10px rgba(11, 36, 21, 0.06);
    --shadow-md: 0 10px 30px rgba(11, 36, 21, 0.10);
    --shadow-lg: 0 24px 60px rgba(11, 36, 21, 0.16);
    --gradient-brand: linear-gradient(135deg, #1B432B 0%, #2E8B57 100%);
    --gradient-light: linear-gradient(160deg, #F4FAF6 0%, #EAF5EF 55%, #E0F0E6 100%);
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    color: var(--text);
    background-color: #FFFFFF;
    line-height: 1.75;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--text-strong);
}

a { transition: all 0.25s ease; }

.lead { color: var(--muted); font-size: 1.08rem; }

.container { position: relative; z-index: 1; }

/* ============================================================
   Top bar
   ============================================================ */
.topbar {
    background: linear-gradient(90deg, var(--brand-deep), var(--navy));
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.85rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(107, 190, 138, 0.25);
}

.topbar a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.topbar a:hover { color: var(--brand-mint); }
.topbar i { color: var(--brand-mint); margin-inline-end: 0.35rem; }

.topbar .social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    margin-inline-start: 0.4rem;
    transition: all 0.2s ease;
}
.topbar .social a:hover { background: var(--brand-mint); color: var(--brand-deep); }

/* ============================================================
   Navbar (dark green, blends with the logo on all pages)
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-main {
    background: linear-gradient(90deg, var(--brand-deep), var(--brand) 55%, var(--brand-dark));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(107, 190, 138, 0.25);
    transition: box-shadow 0.3s ease, background 0.3s ease;
    padding: 0.7rem 0;
}

.navbar-main.scrolled {
    box-shadow: var(--shadow-md);
    background: linear-gradient(90deg, var(--brand-deep), var(--brand) 55%, var(--brand-dark));
}

.navbar-brand img {
    max-height: 46px;
    transition: transform 0.2s ease;
}
.navbar-brand:hover img { transform: scale(1.03); }

.navbar-nav .nav-link {
    font-weight: 600;
    color: #fff !important;
    padding: 0.5rem 0.95rem !important;
    border-radius: 8px;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 2px;
    inset-inline-start: 0.95rem;
    height: 2px;
    width: 0;
    background: var(--brand-mint);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.navbar-nav .nav-link:hover { color: var(--brand-mint) !important; }
.navbar-nav .nav-link:hover::after { width: calc(100% - 1.9rem); }

.navbar-nav .nav-link.active { color: var(--brand-mint) !important; }
.navbar-nav .nav-link.active::after { width: calc(100% - 1.9rem); }

.site-header .dropdown-menu {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin-top: 0.75rem;
    padding: 0.5rem;
    min-width: 220px;
}

.site-header .dropdown-item {
    color: var(--text);
    padding: 0.6rem 1rem;
    font-weight: 600;
    border-radius: 8px;
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus {
    background: var(--brand-light);
    color: var(--brand-dark);
}

/* Navbar right controls */
.nav-controls { display: flex; align-items: center; gap: 0.75rem; }

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.12);
    transition: all 0.25s ease;
}
.lang-switch:hover { border-color: var(--brand-mint); color: #fff; background: rgba(255, 255, 255, 0.2); }

/* Search (expanding pill) */
.search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.search-input {
    width: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: #fff;
    outline: none;
    transition: width 0.3s ease, padding 0.3s ease;
    font-size: 0.9rem;
}
.search-input::placeholder { color: rgba(255, 255, 255, 0.55); }
.search-input:focus, .search-form:hover .search-input {
    width: 160px;
    padding-inline: 12px;
}
.search-icon-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
[dir="rtl"] .search-input:focus, [dir="rtl"] .search-form:hover .search-input { padding-inline: 12px; }

.navbar-toggler { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(107, 190, 138, 0.25); }
.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='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================================
   Buttons
   ============================================================ */
.btn { font-weight: 700; border-radius: 10px; transition: all 0.25s ease; }

.btn-brand {
    background: var(--gradient-brand);
    border: none;
    color: #FFFFFF;
    box-shadow: 0 6px 18px rgba(27, 67, 43, 0.28);
    padding: 0.75rem 1.6rem;
}
.btn-brand:hover, .btn-brand:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(27, 67, 43, 0.36);
}

.btn-outline-brand {
    background: transparent;
    border: 2px solid var(--brand);
    color: var(--brand-dark);
    padding: 0.72rem 1.6rem;
}
.btn-outline-brand:hover, .btn-outline-brand:focus {
    background: var(--brand);
    color: #fff;
    transform: translateY(-2px);
}

.btn-light-soft {
    background: rgba(255, 255, 255, 0.95);
    color: var(--brand-dark);
    box-shadow: var(--shadow-sm);
}
.btn-light-soft:hover { color: var(--brand-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-brand-sm, .btn-sm { border-radius: 8px; }

/* ============================================================
   Section scaffolding
   ============================================================ */
.section { padding: 5.5rem 0; }
.section-soft { background: var(--brand-lighter); }
.section-tint { background: var(--gradient-light); }

.section-head { margin-bottom: 3.2rem; }
.section-head.centered { text-align: center; max-width: 720px; margin-inline: auto; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--brand-light);
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.1rem;
}
.eyebrow::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--brand-accent);
}

.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 0.9rem; }
.section-head p { color: var(--muted); max-width: 640px; margin-bottom: 0; }
.section-head.centered p { margin-inline: auto; }

/* ============================================================
   Hero — light, readable, signature green accents
   ============================================================ */
.hero-modern {
    position: relative;
    padding: 7rem 0 8rem;
    overflow: hidden;
    color: #fff;
}

/* Hero slider: images cover the full hero section */
.hero-slider-section .hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slider-section .hero-slider,
.hero-slider-section .swiper-wrapper,
.hero-slider-section .swiper-slide {
    height: 100%;
}
.hero-slider-section .swiper-slide {
    overflow: hidden;
}
.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    animation: heroZoom 8s ease-out forwards;
}
@keyframes heroZoom {
    from { transform: scale(1.12); }
    to   { transform: scale(1.06); }
}

/* Dark green overlay for text readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(11, 36, 21, 0.55) 0%, rgba(18, 53, 31, 0.30) 40%, rgba(11, 36, 21, 0.05) 75%);
    pointer-events: none;
}

/* Slider navigation */
.hero-slider-nav {
    position: absolute;
    bottom: 2.2rem;
    inset-inline-end: 2.5rem;
    z-index: 5;
    display: flex;
    gap: 0.6rem;
}
.hero-slider-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}
.hero-slider-btn:hover {
    background: var(--brand-mint);
    border-color: var(--brand-mint);
}
.hero-slider-pagination {
    position: absolute;
    bottom: 2.4rem;
    inset-inline-start: 2.5rem;
    z-index: 5;
    width: auto;
    display: flex;
    gap: 0.5rem;
}
.hero-slider-pagination .swiper-pagination-bullet {
    width: 26px;
    height: 5px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    transition: all 0.3s ease;
}
.hero-slider-pagination .swiper-pagination-bullet-active {
    background: var(--brand-mint);
    width: 44px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    backdrop-filter: blur(6px);
    margin-bottom: 1.4rem;
}
.hero-badge .dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--brand-mint);
    box-shadow: 0 0 0 4px rgba(107, 190, 138, 0.3);
}

.hero-modern h1 {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: 1.18;
    margin-bottom: 1.2rem;
    color: #fff;
}
.hero-modern h1 .accent { color: var(--brand-mint); position: relative; }

.hero-modern .hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.8rem;
    max-width: 640px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.4rem; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.hero-trust .trust-item { display: flex; align-items: center; gap: 0.7rem; }
.hero-trust .trust-item i { font-size: 1.3rem; color: var(--brand-mint); }
.hero-trust .trust-item span { font-size: 0.88rem; font-weight: 600; color: rgba(255, 255, 255, 0.9); }

/* Inner hero (detail pages) — light overlay for readability */
.hero-inner {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.hero-inner h1 { color: var(--text-strong); }
.hero-inner .lead { color: var(--muted); }

/* ============================================================
   Partners / Trusted by
   ============================================================ */
.partners-strip { padding: 4.5rem 0; background: #fff; border-bottom: 1px solid var(--border); }
.partners-strip .strip-label {
    text-align: center;
    color: var(--muted);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 2.2rem;
}
.partners-strip .partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: all 0.3s ease;
}
.partners-strip .partner-logo:hover { filter: grayscale(0); opacity: 1; transform: translateY(-3px); }
.partners-strip .partner-logo img { max-height: 88px; max-width: 100%; }

/* ============================================================
   Feature cards (why choose us)
   ============================================================ */
.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.6rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}
.feature-card::after {
    content: "";
    position: absolute;
    top: 0; inset-inline-start: 0;
    width: 100%; height: 4px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transform-origin: var(--bs-text-pos, left);
    transition: transform 0.35s ease;
}
[dir="rtl"] .feature-card::after { transform-origin: right; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--brand-mint); }
.feature-card:hover::after { transform: scaleX(1); }

.feature-card .feature-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: var(--gradient-brand);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 8px 18px rgba(27, 67, 43, 0.24);
    transition: transform 0.3s ease;
}
.feature-card:hover .feature-icon { transform: rotate(-6deg) scale(1.06); }
.feature-card h5 { margin-bottom: 0.6rem; }
.feature-card p { color: var(--muted); margin-bottom: 0; font-size: 0.95rem; }

/* ============================================================
   About preview
   ============================================================ */
.about-preview .img-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-preview .img-wrap img { width: 100%; object-fit: cover; display: block; }
.about-preview .img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(11, 36, 21, 0.35));
}
.about-preview .experience-badge {
    position: absolute;
    bottom: 1.4rem;
    inset-inline-start: 1.4rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 0.9rem 1.3rem;
    z-index: 2;
}
.about-preview .experience-badge .num { font-size: 1.6rem; font-weight: 800; color: var(--brand-accent); line-height: 1; }
.about-preview .experience-badge .lbl { font-size: 0.8rem; color: var(--muted); font-weight: 600; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.45rem 0;
    font-weight: 500;
}
.check-list li i { color: var(--brand-accent); font-size: 1.15rem; margin-top: 0.15rem; }

/* ============================================================
   Stats band (dark, blends with logo green)
   ============================================================ */
.stats-band {
    position: relative;
    background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand) 60%, var(--brand-accent) 120%);
    color: #fff;
    padding: 4.2rem 0;
    overflow: hidden;
}
.stats-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.5;
}
.stat-item { text-align: center; position: relative; }
.stat-item .stat-num {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
    color: #fff;
}
.stat-item .stat-num .suffix { color: var(--brand-mint); }
.stat-item .stat-label { margin-top: 0.6rem; color: rgba(255,255,255,0.78); font-weight: 600; font-size: 0.95rem; }
.stat-item .stat-icon { font-size: 1.5rem; color: var(--brand-mint); margin-bottom: 0.7rem; }

/* ============================================================
   Service cards
   ============================================================ */
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.9rem 1.6rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--brand-mint); }

.service-card .service-icon {
    width: 60px; height: 60px;
    border-radius: 15px;
    background: var(--brand-light);
    color: var(--brand-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
    transition: all 0.3s ease;
}
.service-card:hover .service-icon { background: var(--gradient-brand); color: #fff; }
.service-card h5 { margin-bottom: 0.6rem; }
.service-card p { color: var(--muted); font-size: 0.95rem; flex-grow: 1; }
.service-card .service-link {
    color: var(--brand-accent);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
}
.service-card .service-link:hover { color: var(--brand-dark); }
[dir="rtl"] .service-card .service-link i { transform: rotate(180deg); }

/* Directional arrows for CTAs / links */
.bi-arrow-left { transition: transform 0.2s ease; }
[dir="ltr"] .btn .bi-arrow-left,
[dir="ltr"] .service-link .bi-arrow-left,
[dir="ltr"] .blog-card .service-link .bi-arrow-left { transform: rotate(180deg); }
.btn:hover .bi-arrow-left { transform: translateX(3px); }
[dir="rtl"] .btn:hover .bi-arrow-left { transform: translateX(-3px) rotate(180deg); }

/* ============================================================
   Certifications strip
   ============================================================ */
.cert-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.cert-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cert-item img { max-height: 70px; max-width: 100%; object-fit: contain; }

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner {
    position: relative;
    border-radius: var(--radius-xl);
    background: var(--gradient-brand);
    color: #fff;
    padding: 3.6rem 2.5rem;
    text-align: center;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.5;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.8rem; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto 1.8rem; }
.cta-banner .btn-light-soft { font-size: 1.05rem; }

/* ============================================================
   Blog cards
   ============================================================ */
.blog-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card .blog-thumb { height: 200px; overflow: hidden; }
.blog-card .blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-card .blog-body { padding: 1.4rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card .blog-meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.6rem; }
.blog-card .blog-meta i { color: var(--brand-accent); margin-inline-end: 0.25rem; }
.blog-card h5 a { color: var(--text-strong); text-decoration: none; }
.blog-card h5 a:hover { color: var(--brand-accent); }
.blog-card .blog-body p { color: var(--muted); font-size: 0.92rem; flex-grow: 1; }

/* ============================================================
   Contact section
   ============================================================ */
.contact-cards .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1.3rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}
.contact-cards .contact-item:hover { transform: translateX(0) translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-mint); }
.contact-cards .contact-item .icon {
    width: 48px; height: 48px;
    flex-shrink: 0;
    border-radius: 13px;
    background: var(--brand-light);
    color: var(--brand-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.contact-cards .contact-item strong { display: block; color: var(--text-strong); }
.contact-cards .contact-item span, .contact-cards .contact-item a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.contact-cards .contact-item a:hover { color: var(--brand-accent); }

.contact-form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

/* ============================================================
   Forms
   ============================================================ */
.form-control {
    border-radius: 10px;
    border: 1.5px solid var(--border);
    padding: 0.78rem 1rem;
    background: #fff;
}
.form-control:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 0.25rem rgba(46, 139, 87, 0.12);
}
.form-label { font-weight: 700; color: var(--text-strong); }

/* ============================================================
   Page header (inner pages)
   ============================================================ */
.page-header-modern {
    position: relative;
    padding: 4rem 0 4.4rem;
    background: var(--gradient-light);
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.page-header-modern::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(27, 67, 43, 0.08) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.6;
}
.page-header-modern h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 0.6rem; }
.page-header-modern .breadcrumb {
    --bs-breadcrumb-divider-color: var(--brand-mint);
    margin-bottom: 0;
}
.page-header-modern .breadcrumb a { color: var(--brand-accent); text-decoration: none; font-weight: 600; }
.page-header-modern .breadcrumb-item.active { color: var(--muted); }

/* ============================================================
   Cards (shared)
   ============================================================ */
.card { border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: all 0.3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card-img-top { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

/* ============================================================
   Footer
   ============================================================ */
footer.site-footer {
    background: linear-gradient(180deg, var(--navy-dark) 0%, #050D0A 100%);
    color: rgba(255, 255, 255, 0.72);
    padding-top: 4rem;
}
footer.site-footer h5 {
    color: #fff;
    font-size: 1.02rem;
    margin-bottom: 1.3rem;
    position: relative;
    padding-bottom: 0.7rem;
}
footer.site-footer h5::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 30px;
    height: 3px;
    border-radius: 3px;
    background: var(--gradient-brand);
}
footer.site-footer a { color: rgba(255, 255, 255, 0.72); text-decoration: none; transition: all 0.2s ease; }
footer.site-footer a:hover { color: var(--brand-mint); padding-inline-start: 3px; }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer ul li { margin-bottom: 0.6rem; font-size: 0.94rem; }
footer.site-footer ul li i { color: var(--brand-mint); margin-inline-end: 0.5rem; font-size: 0.85rem; }

.footer-brand p { font-size: 0.94rem; }
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    margin-inline-end: 0.5rem;
    transition: all 0.25s ease;
}
.footer-social a:hover { background: var(--gradient-brand); color: #fff; transform: translateY(-3px); padding-inline-start: 0; }

.footer-newsletter form { display: flex; gap: 0.5rem; }
.footer-newsletter .form-control {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff;
}
.footer-newsletter .form-control::placeholder { color: rgba(255,255,255,0.45); }
.footer-newsletter .form-control:focus { border-color: var(--brand-mint); box-shadow: 0 0 0 0.25rem rgba(107,190,138,0.15); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 3rem;
    padding: 1.2rem 0;
    font-size: 0.85rem;
}

/* ============================================================
   Home page: full-bleed hero behind transparent header
   ============================================================ */
body.home-page .topbar {
    background: linear-gradient(90deg, rgba(11, 36, 21, 0.82), rgba(10, 31, 46, 0.82));
    border-bottom: 1px solid rgba(107, 190, 138, 0.2);
}

body.home-page .navbar-main {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
}
body.home-page .navbar-main.scrolled {
    background: linear-gradient(90deg, var(--brand-deep), var(--brand) 55%, var(--brand-dark));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(107, 190, 138, 0.25);
    box-shadow: var(--shadow-md);
}
body.home-page .navbar-main:not(.scrolled) .navbar-nav .nav-link { color: #fff !important; }
body.home-page .navbar-main:not(.scrolled) .navbar-nav .nav-link:hover { color: var(--brand-mint) !important; }
body.home-page .navbar-main:not(.scrolled) .lang-switch {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.45);
}
body.home-page .navbar-main:not(.scrolled) .lang-switch:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    border-color: var(--brand-mint);
}
body.home-page .navbar-main:not(.scrolled) .search-form {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.45);
}
body.home-page .navbar-main:not(.scrolled) .search-icon-btn { color: #fff; }
body.home-page .navbar-main:not(.scrolled) .navbar-toggler { border-color: rgba(255, 255, 255, 0.5); }
body.home-page .navbar-main:not(.scrolled) .navbar-collapse.show {
    background: linear-gradient(180deg, var(--brand-deep), var(--brand));
    border: 1px solid rgba(107, 190, 138, 0.3);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    margin-top: 0.75rem;
}
body.home-page .navbar-main:not(.scrolled) .navbar-collapse.show .nav-link { color: #fff !important; }
body.home-page .navbar-main:not(.scrolled) .navbar-collapse.show .nav-link:hover { color: var(--brand-mint) !important; }
body.home-page .navbar-main:not(.scrolled) .navbar-collapse.show .lang-switch,
body.home-page .navbar-main:not(.scrolled) .navbar-collapse.show .search-form {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.45);
}
body.home-page .navbar-main:not(.scrolled) .navbar-collapse.show .search-icon-btn { color: #fff; }

body.home-page .hero-slider-section {
    margin-top: calc(-1 * var(--home-header-h, 0px));
    min-height: 100vh;
    padding-top: calc(var(--home-header-h, 0px) + 6rem);
}

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ============================================================
   Image download protection
   ============================================================ */
img,
svg,
picture img,
.hero-slide-bg,
[style*="background-image"] {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    pointer-events: auto;
}
a img { pointer-events: none; }

/* ============================================================
   Legacy / misc overrides
   ============================================================ */
.badge { font-weight: 700; }
.badge.bg-success { background: var(--gradient-brand) !important; border-radius: 50px; padding: 0.5em 1.1em; }

.nav-tabs { border-bottom: 2px solid var(--border); }
.nav-tabs .nav-link { color: var(--muted); border: none; padding: 0.9rem 1.4rem; font-weight: 700; }
.nav-tabs .nav-link.active { color: var(--brand-accent); border-bottom: 3px solid var(--brand-accent); background: transparent; }

.pagination .page-link { color: var(--brand-dark); border-radius: 8px; margin: 0 2px; }
.pagination .page-item.active .page-link { background: var(--brand); border-color: var(--brand); }

.text-muted { color: var(--muted) !important; }

/* ============================================================
   LTR phone numbers (always render +966 ... from the left)
   ============================================================ */
.phone-ltr {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
    text-align: left;
}

/* ============================================================
   Floating WhatsApp button
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 1.6rem;
    inset-inline-end: 1.6rem;
    z-index: 2000;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 0.85rem;
    background: #25D366;
    color: #fff;
    border-radius: 60px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.whatsapp-float:hover {
    background: #1fbf59;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}
.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    pointer-events: auto;
}
.whatsapp-float-text {
    font-size: 0.95rem;
    font-weight: 700;
    padding-inline-end: 0.2rem;
}

/* ============================================================
   Products store grid (like the main website store)
   ============================================================ */
.product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-mint);
}
.product-card-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--brand-lighter);
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body {
    padding: 1.4rem 1.4rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex: 1;
}
.product-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin: 0;
    line-height: 1.5;
}
.product-card-desc {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0;
    flex: 1;
}
.btn-store {
    align-self: flex-start;
    background: var(--gradient-brand);
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    padding: 0.55rem 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}
.btn-store:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27, 67, 43, 0.35);
    opacity: 0.95;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991.98px) {
    .navbar-collapse { padding: 1rem 0; }
    .navbar-nav .nav-link { padding: 0.6rem 0.5rem !important; }
    .navbar-nav .nav-link::after { inset-inline-start: 0.5rem; }
    .navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { width: 40px; }
    .nav-controls { flex-wrap: wrap; margin-top: 0.8rem; }
    .topbar .topbar-info .hide-md { display: none; }
    .hero-modern { padding: 4.5rem 0 6rem; }
    .hero-overlay { background: linear-gradient(180deg, rgba(11, 36, 21, 0.55) 0%, rgba(11, 36, 21, 0.35) 60%, rgba(11, 36, 21, 0.10) 100%); }
    .hero-slider-nav { bottom: 1.4rem; inset-inline-end: 1.2rem; }
    .hero-slider-pagination { bottom: 1.5rem; inset-inline-start: 1.2rem; }
    .section { padding: 4rem 0; }
}

@media (max-width: 575.98px) {
    .hero-trust { gap: 1rem; }
    .cta-banner { padding: 2.8rem 1.5rem; }
}
