/* ── Brand Fonts ───────────────────────────────────────────────────────────── */
@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-Bold.ttf') format('truetype');
    font-weight: 700 900;
    font-style: normal;
    font-display: swap;
}

/* ── Brand Colors ──────────────────────────────────────────────────────────── */
:root {
    --primary--color:    #255227;
    --secondary--color:  #8dc63f;
    --green-color:       #255227;
    --dark-green-color:  #255227;
    --light-green-color: #8dc63f;
    --accent:            #8dc63f;
    --text-color:        #555;
    --white-color:       #fff;
    --orange:            #c97a3a;
}

/* ── Typography ────────────────────────────────────────────────────────────── */
* {
    letter-spacing: 0 !important;
}
body {
    font-family: 'Cairo', 'Segoe UI', Arial, sans-serif;
    font-weight: 600;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.generic-title h2,
.banner-title h1,
.wrok-content h2 {
    font-family: 'Cairo', Arial, sans-serif;
    font-weight: 700;
}

.banner-title h1 {
    margin-bottom: 44px;
}

[dir="rtl"] {
    font-family: 'Cairo', Arial, sans-serif;
}
[dir="rtl"] *:not(i):not(svg):not(path) {
    font-family: 'Cairo', Arial, sans-serif !important;
}
[dir="rtl"] .fab,
[dir="rtl"] i.fab {
    font-family: "Font Awesome 5 Brands" !important;
    font-weight: 400 !important;
}
[dir="rtl"] .fas,
[dir="rtl"] i.fas {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}
[dir="rtl"] .far,
[dir="rtl"] i.far,
[dir="rtl"] .fa,
[dir="rtl"] i.fa {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 400 !important;
}


/* ── Logo ──────────────────────────────────────────────────────────────────── */
.nav-logo {
    display: block;
    height: 64px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

/* ── Language Switcher ─────────────────────────────────────────────────────── */
.lang-btn {
    display: inline-flex;
    align-items: center;
    font-size: .78rem;
    font-weight: 700;
    padding: .28rem .9rem;
    border-radius: 20px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    background: transparent;

    transition: background .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.lang-btn:hover {
    background: rgba(255,255,255,.18);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
}

/* ── Hamburger toggle button ───────────────────────────────────────────────── */
.gt-toggler {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 !important;
    border: none !important;
    border-radius: 10px !important;
    background-color: var(--green-color) !important;
    box-shadow: 0 3px 10px rgba(37,82,39,.35);
    cursor: pointer;
    flex-shrink: 0;
    outline: none !important;
    transition: background .2s;
}
.gt-toggler:focus {
    box-shadow: 0 0 0 3px rgba(141,198,63,.45) !important;
}
.gt-toggler:hover {
    background-color: #1d401e !important;
}
.gt-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s ease, opacity .25s ease;
    pointer-events: none;
}

/* X animation when menu is open */
.gt-toggler:not(.collapsed) .gt-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.gt-toggler:not(.collapsed) .gt-bar:nth-child(2) {
    opacity: 0;
}
.gt-toggler:not(.collapsed) .gt-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Breadcrumb: hide on mobile ────────────────────────────────────────────── */
@media (max-width: 767px) {
    .breadcrum {
        display: none;
    }
}

/* ── Footer phone numbers always LTR/left ─────────────────────────────────── */
.contact-info ul li a[href^="tel"] {
    direction: ltr;
    display: inline-block;
    unicode-bidi: embed;
}

/* ── RTL Footer Responsive ─────────────────────────────────────────────────── */
[dir="rtl"] .footer-inner-con {
    direction: rtl;
}
[dir="rtl"] .footre-logo {
    display: block;
    text-align: right;
}
[dir="rtl"] .site-map h4,
[dir="rtl"] .site-map ul li,
[dir="rtl"] .contact-info ul li {
    text-align: right;
}
[dir="rtl"] .footer-content p,
[dir="rtl"] .footer-content span {
    padding-right: 0;
    padding-left: 94px;
    text-align: right;
}
[dir="rtl"] .footer-social-con ul {
    justify-content: flex-start;
}
[dir="rtl"] .site-map ul li a i {
    padding-right: 0;
    padding-left: 8px;
}
[dir="rtl"] .site-map ul li a i.fa-angle-right::before {
    content: "\f104";
}
[dir="rtl"] .contact-info ul li {
    padding-right: 0;
    padding-left: 10px;
}

@media only screen and (max-width: 991px) {
    [dir="rtl"] .footer-content p,
    [dir="rtl"] .footer-content span {
        padding-left: 38px;
        padding-right: 0;
    }
}

@media only screen and (max-width: 767px) {
    [dir="rtl"] .footer-content p,
    [dir="rtl"] .footer-content span {
        padding-left: 94px;
        padding-right: 0;
        text-align: center;
    }
    [dir="rtl"] .footer-content {
        text-align: center;
    }
    [dir="rtl"] .footer-social-con ul {
        justify-content: center;
    }
    [dir="rtl"] .site-map h4,
    [dir="rtl"] .footer-link,
    [dir="rtl"] .contact-info {
        text-align: right;
    }
    [dir="rtl"] .contact-info ul li {
        padding-left: 0;
        text-align: right;
    }
}

@media only screen and (max-width: 575px) {
    [dir="rtl"] .footer-link,
    [dir="rtl"] .contact-info {
        text-align: right;
    }
    [dir="rtl"] .footer-link ul {
        text-align: right;
        display: block;
    }
    [dir="rtl"] .footer-inner-con {
        text-align: right;
    }
    [dir="rtl"] .footer-content p,
    [dir="rtl"] .footer-content span {
        padding-left: 60px;
        padding-right: 0;
    }
    [dir="rtl"] .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    [dir="rtl"] .footer-legal-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media only screen and (max-width: 475px) {
    [dir="rtl"] .footer-content p {
        padding-left: 0;
    }
    [dir="rtl"] .footer-content span {
        padding-left: 27px;
    }
}

/* ── RTL Leaf Decorations ──────────────────────────────────────────────────── */
[dir="rtl"] .banner-img-box2 figure::before,
[dir="rtl"] .leaf-img2::before {
    left: auto;
    right: -49px;
}

/* ── RTL Breadcrumb ────────────────────────────────────────────────────────── */
[dir="rtl"] .breadcrum ul li:first-child:after {
    right: auto;
    left: -12px;
}

/* ── RTL Navigation ────────────────────────────────────────────────────────── */
[dir="rtl"] .header-con .navbar {
    flex-direction: row-reverse;
}
[dir="rtl"] .header-con .navbar-collapse {
    flex-direction: row-reverse;
}
[dir="rtl"] .header-con .navbar-light .navbar-nav .nav-link {
    text-align: right;
}
/* Flip lang-btn margin in RTL */
[dir="rtl"] .header-con .lang-btn {
    margin-left: 0 !important;
    margin-right: 1rem;
}

/* ── WhatsApp Float Button ─────────────────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    right: auto;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 18px rgba(37, 211, 102, .5);
    z-index: 9999;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, .65);
    color: #fff;
    text-decoration: none;
}
[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 28px;
}

/* ── Scroll-to-top button position ────────────────────────────────────────── */
#button {
    right: 28px !important;
    left: auto !important;
    background-color: #255227 !important;
}

/* ── Footer padding override ───────────────────────────────────────────────── */
.footer-con {
    margin-top: 0 !important;
    padding-top: 80px !important;
    padding-bottom: 20px !important;
}
@media only screen and (max-width: 1440px) {
    .footer-con {
        margin-top: 0 !important;
        padding-top: 80px;
        padding-bottom: 20px;
    }
}

/* ── Partner Logos Strip (logo-con) ────────────────────────────────────────── */
.logo-con {
    margin-top: 0 !important;
    position: relative;
    z-index: 1;
    clear: both;
    padding: 20px 0;
    border-bottom: 2px solid #e0e8e0;
}
.logo-con ul {
    grid-template-columns: repeat(3, 1fr) !important;
}
.logo-con ul li {
    padding: 28px 0 !important;
    background-color: #fff;
}
/* only first item of each row has no left border in 3-col layout */
.logo-con ul li:first-child,
.logo-con ul li:nth-child(4),
.logo-con ul li:nth-child(7) {
    border-left: none !important;
}
/* RTL: grid reverses — items 3,6,9 become the left edge, restore border on 1,4,7 */
[dir="rtl"] .logo-con ul li:first-child,
[dir="rtl"] .logo-con ul li:nth-child(4),
[dir="rtl"] .logo-con ul li:nth-child(7) {
    border-left: 1px solid #e0e8eb !important;
}
[dir="rtl"] .logo-con ul li:nth-child(3),
[dir="rtl"] .logo-con ul li:nth-child(6),
[dir="rtl"] .logo-con ul li:nth-child(9) {
    border-left: none !important;
}
/* RTL: first-child is in top-right corner — flip border-radius */
[dir="rtl"] .logo-con ul li:first-child {
    border-radius: 0 30px 0 0 !important;
}
.logo-con ul li figure img {
    max-height: 80px;
    max-width: 160px;
    width: 100%;
    height: auto;
    object-fit: contain;
    padding: 0 16px;
}
/* keep 3 columns at all screen sizes — override template's 50%/50% mobile rule */
@media only screen and (max-width: 575px) {
    .logo-con ul {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .logo-con ul li {
        padding: 18px 0 !important;
    }
    .logo-con ul li figure img {
        max-height: 52px;
        padding: 0 8px;
    }
}
@media only screen and (max-width: 475px) {
    .logo-con ul li figure img {
        max-height: 42px;
        padding: 0 6px;
    }
}

/* ── Footer Logo ───────────────────────────────────────────────────────────── */
.footer-logo-img {
    max-height: 70px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
}
@media only screen and (max-width: 991px) {
    .footer-logo-img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .footre-logo,
    .footre-logo figure {
        text-align: center;
    }
}

/* ── Footer Bottom Bar ─────────────────────────────────────────────────────── */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .15);
    margin-top: 40px;
    padding-top: 18px;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
@media (max-width: 767px) {
    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    .footer-copy {
        text-align: center;
    }
    .footer-legal-links {
        justify-content: center;
    }
    .footer-credit {
        justify-content: center;
    }
}
.footer-copy {
    font-size: 13px;
    color: rgba(255,255,255,.75);
    white-space: nowrap;
}
.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin: 0 auto;
}
.footer-legal-links li a {
    font-size: 12px;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: color .2s;
}
.footer-legal-links li a:hover {
    color: var(--secondary--color);
}
.footer-credit {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 12px;
    color: rgba(255,255,255,.7);
}
.hitech-logo {
    height: 18px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

/* ── Contact Page ──────────────────────────────────────────────────────────── */

/* ── personal-info background override ── */
.personal-info {
    background: #255227 !important;
}
.personal-details a:hover {
    color: var(--secondary--color) !important;
}

/* Override base template: figure is absolute by default — make it in-flow */
.personal-info ul li {
    align-items: flex-start;
    gap: 16px;
}
.personal-info ul li figure.contact-icon-fig {
    position: relative !important;
    left: auto !important;
    margin-top: 0 !important;
    flex-shrink: 0;
}
.personal-info ul li .personal-details {
    padding-left: 0 !important;
}

.contact-icon-fig {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-icon-fig i {
    font-size: 20px;
    color: #255227;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

/* personal-info text alignment LTR */
.personal-info h3 {
    font-size: 1.3rem !important;
    text-align: left;
}
.personal-info h5,
.personal-details span {
    text-align: left;
}

/* RTL: personal-info layout */
[dir="rtl"] .personal-info ul li {
    flex-direction: row;
}
[dir="rtl"] .personal-info ul li .personal-details {
    padding-right: 0 !important;
}
[dir="rtl"] .personal-info h3,
[dir="rtl"] .personal-info h5,
[dir="rtl"] .personal-details span,
[dir="rtl"] .personal-details {
    text-align: right;
}
[dir="rtl"] .personal-info .personal-details a[href^="tel:"],
[dir="rtl"] .personal-info .personal-details a[href^="mailto:"] {
    text-align: left;
    direction: ltr;
}
[dir="rtl"] .personal-info .personal-details a:not([href^="tel:"]):not([href^="mailto:"]) {
    text-align: right;
    direction: rtl;
}

/* RTL: form box */
[dir="rtl"] .form-box h2 {
    text-align: right;
}
[dir="rtl"] .contact-form-msg {
    text-align: right;
}
[dir="rtl"] .submit-btn {
    display: block;
}

/* Social links */
.contact-social-links {
    margin-top: 32px;
}
.contact-social-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 14px;
    text-align: left;
}
[dir="rtl"] .contact-social-title {
    text-align: right;
}
.contact-social-list {
    gap: 10px;
    flex-wrap: wrap;
}
.contact-social-list li a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: background .2s, border-color .2s;
}
.contact-social-list li a:hover,
.contact-social-list li a:focus {
    background: var(--secondary--color) !important;
    border-color: var(--secondary--color) !important;
    color: #fff !important;
}
.contact-social-list li a i.fab {
    font-family: "Font Awesome 5 Brands" !important;
    font-weight: 400 !important;
}
.contact-social-list li a i.fas {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

/* RTL: contact form inputs */
[dir="rtl"] .contact-form ul li input,
[dir="rtl"] .contact-form ul li textarea {
    direction: rtl;
    text-align: right;
}
[dir="rtl"] .contact-form ul li input::placeholder,
[dir="rtl"] .contact-form ul li textarea::placeholder {
    text-align: right;
}

/* Form message alert */
.contact-form-msg {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 18px;
    display: none;
}
.contact-form-msg:not(.d-none) {
    display: block;
}
.contact-form-success {
    background: #f0fae5;
    border: 1px solid #b8e080;
    color: #2e5c1a;
}
.contact-form-error {
    background: #fdf0f0;
    border: 1px solid #f0b8b8;
    color: #8c1a1a;
}

/* Map */
.map-con {
    padding-bottom: 0 !important;
}
.map-con iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

/* ── Footer Newsletter Form ────────────────────────────────────────────────── */
.footer-newsletter-text {
    font-size: 13px;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 14px;
    line-height: 1.6;
}
.footer-subscribe-form {
    width: 100%;
}
.footer-subscribe-group {
    display: flex;
    align-items: stretch;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .25);
}
.footer-subscribe-input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    font-size: 13px;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-radius: 0;
}
.footer-subscribe-input::placeholder {
    color: rgba(255, 255, 255, .5);
}
.footer-subscribe-input:focus {
    background: rgba(255, 255, 255, .13);
}
.footer-subscribe-btn {
    flex-shrink: 0;
    padding: 0 16px;
    background: var(--secondary--color, #8dc63f);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.footer-subscribe-btn:hover {
    background: var(--primary--color, #255227);
}
.footer-subscribe-msg {
    margin-top: 8px;
    font-size: 12px;
    border-radius: 4px;
    padding: 6px 10px;
    display: none;
}
.footer-subscribe-msg:not(.d-none) {
    display: block;
}
.footer-subscribe-success {
    background: rgba(141, 198, 63, .15);
    color: #b8e478;
    border: 1px solid rgba(141, 198, 63, .3);
}
.footer-subscribe-error {
    background: rgba(220, 53, 69, .15);
    color: #f5a0a9;
    border: 1px solid rgba(220, 53, 69, .3);
}
/* RTL: newsletter form */
[dir="rtl"] .footer-subscribe-group {
    flex-direction: row;
}
[dir="rtl"] .footer-subscribe-input {
    direction: rtl;
    text-align: right;
    border-radius: 0 6px 6px 0;  /* rounded right edge in RTL */
}
[dir="rtl"] .footer-subscribe-input::placeholder {
    text-align: right;
}
[dir="rtl"] .footer-subscribe-btn {
    border-radius: 6px 0 0 6px;  /* rounded left edge in RTL */
}
[dir="rtl"] .footer-subscribe-btn svg {
    transform: scaleX(-1);
}
[dir="rtl"] .footer-newsletter-text {
    text-align: right;
}

/* ── Responsive Navigation (≤ 991px) ──────────────────────────────────────── */
@media (max-width: 991px) {

    /* Show custom toggler, hide Bootstrap default lines */
    .gt-toggler {
        display: flex;
    }
    .navbar-toggler-icon {
        display: none !important;
    }
    /* Reset Bootstrap's toggler position */
    .navbar-toggler {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
    }

    /* Logo: never force a fixed width — always auto */
    .navbar-brand img,
    .navbar-brand .nav-logo {
        width: auto !important;
        height: 58px !important;
        max-width: 180px !important;
        object-fit: contain !important;
    }

    /* Navbar row alignment */
    .header-con .navbar {
        align-items: center;
        flex-wrap: nowrap;
    }

    /* ── Mobile collapse dropdown ── */
    .navbar-collapse.collapse,
    .navbar-collapse.collapsing {
        position: absolute !important;
        top: 100% !important;
        left: -15px !important;   /* break out of .wrapper's 15px padding */
        right: -15px !important;
        width: auto !important;
        background: #fff !important;
        border-radius: 0 0 16px 16px !important;
        box-shadow: 0 14px 30px rgba(0,0,0,.12) !important;
        z-index: 999;
        padding: 8px 16px 18px !important;
    }

    /* ── Nav list layout ── */
    .header-con .navbar-collapse .navbar-nav {
        flex-direction: column;
        gap: 2px !important;
        width: 100%;
        margin: 0 !important;
    }
    .header-con .navbar-collapse ul.navbar-nav .nav-item {
        padding: 0 !important;
        width: 100%;
    }
    /* Remove per-item top/bottom overrides */
    .header-con .navbar-collapse ul.navbar-nav .nav-item:first-child,
    .header-con .navbar-collapse ul.navbar-nav .nav-item:last-child {
        padding: 0 !important;
    }

    /* ── Nav links ── */
    .header-con .navbar-collapse .nav-link {
        display: block;
        color: var(--green-color) !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        padding: 11px 14px !important;
        border-radius: 8px;
        transition: background .18s, color .18s;
    }
    .header-con .navbar-collapse .nav-link:hover {
        color: var(--green-color) !important;
        background: rgba(37,82,39,.08) !important;
    }
    .header-con .navbar-collapse .nav-item.active > .nav-link,
    .header-con .navbar-light .navbar-nav .active > .nav-link {
        color: var(--green-color) !important;
        background: rgba(37,82,39,.10) !important;
        font-weight: 700 !important;
    }

    /* ── RTL mobile fixes ── */
    [dir="rtl"] .header-con .navbar-collapse .navbar-nav {
        flex-direction: column;
        align-items: flex-end;
    }
    [dir="rtl"] .header-con .navbar-collapse .nav-link {
        text-align: right !important;
    }
    [dir="rtl"] .navbar-collapse .lang-btn {
        margin-right: 14px !important;
        margin-left: 14px !important;
    }

    /* ── Language button inside mobile menu ── */
    .navbar-collapse .lang-btn {
        display: block;
        width: calc(100% - 28px);
        margin: 14px 14px 2px !important;
        text-align: center;
        padding: .55rem 1rem !important;
        font-size: .85rem !important;
        border-color: var(--green-color) !important;
        color: var(--green-color) !important;
        background: transparent !important;
    }
    .navbar-collapse .lang-btn:hover {
        background: var(--green-color) !important;
        border-color: var(--green-color) !important;
        color: #fff !important;
    }
}

/* ── Legal Pages ───────────────────────────────────────────────────────────── */

/* Tab switcher bar */
.legal-tabs-bar {
    background: #f4f9f4;
    border-bottom: 2px solid #e0ece0;
}
.legal-tabs-nav {
    display: flex;
    width: 100%;
    gap: 0;
    padding: 0;
    margin: 0;
    justify-content: flex-start;
}
.legal-tabs-nav li a {
    display: block;
    padding: 16px 32px;
    font-size: .95rem;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
}
.legal-tabs-nav li a:hover {
    color: #255227;
    border-bottom-color: var(--secondary--color);
}
.legal-tabs-nav li a.active {
    color: #255227;
    border-bottom-color: #255227;
    background: #fff;
}

/* Card */
.legal-page-section {
    background: #f7faf7;
}
.legal-page-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 32px rgba(37,82,39,.08);
    padding: 56px 64px;
    margin-bottom: 60px;
}
@media (max-width: 768px) {
    .legal-page-card {
        padding: 32px 20px;
    }
    .legal-tabs-nav li a {
        padding: 12px 18px;
        font-size: .85rem;
    }
}

/* Card header */
.legal-page-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 28px;
    border-bottom: 2px solid #eaf2ea;
    margin-bottom: 36px;
}
.legal-page-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #255227, #3d7a40);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.legal-page-icon i {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}
.legal-page-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a3c1b;
    margin: 0 0 6px;
    line-height: 1.2;
    font-family: 'Assistant', sans-serif;
}
.legal-page-updated {
    font-size: .82rem;
    color: #999;
    margin: 0;
    font-family: 'Assistant', sans-serif;
}

/* Card body */
.legal-page-body {
    font-family: 'Assistant', sans-serif;
    font-size: 16px;
}
.legal-page-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #255227;
    margin-top: 2rem;
    margin-bottom: .6rem;
    padding-left: 12px;
    border-left: 3px solid var(--secondary--color);
    line-height: 1.5;
    font-family: 'Assistant', sans-serif;
}
.legal-page-body p {
    font-size: 15px;
    line-height: 1.85;
    color: #4a4a4a;
    margin-bottom: 1rem;
}
.legal-page-body a {
    color: #255227;
    text-decoration: underline;
}
.legal-page-body a:hover {
    color: var(--secondary--color);
}

/* RTL overrides */
[dir="rtl"] .legal-page-title,
[dir="rtl"] .legal-page-updated {
    text-align: right;
}
[dir="rtl"] .legal-page-body {
    text-align: right;
}
[dir="rtl"] .legal-page-body h3 {
    padding-left: 0;
    padding-right: 12px;
    border-left: none;
    border-right: 3px solid var(--secondary--color);
    text-align: right;
}
[dir="rtl"] .legal-page-body p,
[dir="rtl"] .legal-page-body ul,
[dir="rtl"] .legal-page-body ol {
    text-align: right;
}

/* ── Padding-bottom utility overrides (reduce template defaults) ───────────── */
.padding-bottom                          { padding-bottom: 90px !important; }
@media only screen and (max-width: 1440px) { .padding-bottom { padding-bottom: 80px !important; } }
@media only screen and (max-width: 1199px) { .padding-bottom { padding-bottom: 60px !important; } }
@media only screen and (max-width: 991px)  { .padding-bottom { padding-bottom: 50px !important; } }
@media only screen and (max-width: 767px)  { .padding-bottom { padding-bottom: 40px !important; } }

/* ── Blog Page ─────────────────────────────────────────────────────────────── */
.blog-con {
    padding-bottom: 90px !important;
}
@media (max-width: 991px)  { .blog-con { padding-bottom: 60px !important; } }
@media (max-width: 767px)  { .blog-con { padding-bottom: 40px !important; } }

/* ── Blog Single Page ──────────────────────────────────────────────────────── */

.blog-single-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #255227;
    margin-bottom: 1rem;
    line-height: 1.35;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 1.5rem;
}
.post-meta span {
    font-size: .85rem;
    color: #888;
}
.post-meta span i {
    margin-right: 5px;
    color: var(--secondary--color);
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}
.post-meta .post-meta-category i {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

.blog-single-body {
    line-height: 1.9;
    color: #444;
}
.blog-single-body h2,
.blog-single-body h3,
.blog-single-body h4 {
    color: #255227;
    margin-top: 1.75rem;
    margin-bottom: .65rem;
}
.blog-single-body ul,
.blog-single-body ol {
    padding-left: 1.4rem;
    line-height: 2;
}
[dir="rtl"] .blog-single-body ul,
[dir="rtl"] .blog-single-body ol {
    padding-left: 0;
    padding-right: 1.4rem;
}
[dir="rtl"] .blog-single-body {
    text-align: right;
}

/* Blog single RTL — align all text right */
[dir="rtl"] .post-item-description,
[dir="rtl"] .blog-single-title,
[dir="rtl"] .post-meta,
[dir="rtl"] .blog-sidebar-title,
[dir="rtl"] .blog-sidebar-post-info a,
[dir="rtl"] .blog-sidebar-post-info span {
    text-align: right;
}
[dir="rtl"] .blog-sidebar-post-info span i {
    margin-right: 0;
    margin-left: 4px;
}

.blog-back-btn-wrap {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}
[dir="rtl"] .blog-back-btn-wrap {
    text-align: right;
}
[dir="rtl"] .blog-back-btn i {
    margin-right: 0;
    margin-left: 8px;
}
.blog-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #255227;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    border: 2px solid #255227;
    padding: 8px 20px;
    border-radius: 6px;
    transition: background .2s, color .2s;
}
.blog-back-btn:hover {
    background: #255227;
    color: #fff;
}
.blog-back-btn i {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

@media (max-width: 991px) {
    .single-post01 {
        margin-bottom: 48px;
    }
    .blog-sidebar {
        margin-bottom: 60px;
    }
}

/* Sidebar */
.blog-sidebar-widget {
    margin-bottom: 2rem;
}
.blog-sidebar-widget:last-child {
    margin-bottom: 0;
    padding: 1.5rem;
    border: 1px solid #e8f0e8;
    border-radius: 8px;
    background: #f9fdf9;
}
.blog-sidebar-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #255227;
    border-bottom: 2px solid var(--secondary--color);
    padding-bottom: 10px;
    margin-bottom: 16px;
}
.blog-sidebar-post {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eee;
}
.blog-sidebar-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.blog-sidebar-post img {
    width: 68px;
    height: 58px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}
.blog-sidebar-post-info a {
    font-size: .85rem;
    font-weight: 600;
    color: #333;
    display: block;
    line-height: 1.4;
    text-decoration: none;
}
.blog-sidebar-post-info a:hover {
    color: #255227;
}
.blog-sidebar-post-info span {
    font-size: .75rem;
    color: #999;
    margin-top: 4px;
    display: block;
}
.blog-sidebar-post-info span i {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 400 !important;
    margin-right: 4px;
}
[dir="rtl"] .blog-sidebar-post-info a,
[dir="rtl"] .blog-sidebar-post-info span {
    text-align: right;
}

/* Blog category filter bar */
.blog-filter-bar {
    background: #f4f9f4;
    border-bottom: 2px solid #e0ece0;
}
.blog-filter-nav {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    margin: 0;
}

.blog-box-content h3 {
    font-size: 18px !important;
    line-height: 1.4 !important;
}
.blog-box-content h3 a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-box-content p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-filter-nav li a {
    display: block;
    padding: 14px 28px;
    font-size: .9rem;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
}
.blog-filter-nav li a:hover {
    color: #255227;
    border-bottom-color: var(--secondary--color);
}
.blog-filter-nav li a.active {
    color: #255227;
    border-bottom-color: #255227;
    background: #fff;
}

/* Sub-category second row */
.blog-filter-bar--sub {
    background: #eaf2ea;
    border-top: 1px solid #cfe0cf;
    border-bottom: 1px solid #cfe0cf;
}
.blog-filter-nav--sub li a {
    padding: 9px 22px;
    font-size: .82rem;
    color: #4a6b4c;
    border-bottom-width: 2px;
}
.blog-filter-nav--sub li a:hover {
    color: #255227;
    border-bottom-color: var(--orange);
}
.blog-filter-nav--sub li a.active {
    color: var(--orange);
    border-bottom-color: var(--orange);
    background: #f4f9f4;
}
@media (max-width: 768px) {
    .blog-filter-nav--sub li a {
        padding: 8px 14px;
        font-size: .77rem;
    }
}

@media (max-width: 767px) {
    .blog-box {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

/* Blog index RTL */
[dir="rtl"] .blog-box-content {
    text-align: right;
    padding: 0 30px 30px 19px;
}
[dir="rtl"] .blog-box-content span {
    padding-left: 0;
    padding-right: 21px;
}
[dir="rtl"] .blog-box-content span:after {
    left: auto;
    right: 0;
    border-left: none;
    border-right: 6px solid #92c13e;
}
[dir="rtl"] .blog-time {
    text-align: right;
}

/* Blog pagination */
.blog-pagination .pagination {
    gap: 6px;
}
.blog-pagination .page-link {
    border-radius: 8px !important;
    border: 2px solid #e0ece0;
    color: #255227;
    font-weight: 600;
    padding: 8px 16px;
    transition: all .2s;
}
.blog-pagination .page-link:hover,
.blog-pagination .page-item.active .page-link {
    background: #255227;
    border-color: #255227;
    color: #fff;
}

@media (max-width: 768px) {
    .blog-filter-nav li a {
        padding: 10px 16px;
        font-size: .82rem;
    }
}

/* ── Gallery ────────────────────────────────────────────────────────────────── */
.gallery-section {
    background: #f4f8f4;
}
.gallery-section .generic-title span {
    color: #f4f8f4;
}
.gallery-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.gallery-item {
    position: relative;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #c8dcc8;
    box-shadow: 0 4px 18px rgba(37,82,39,.10);
    border: 2px solid transparent;
    transition: border-color .3s, box-shadow .3s, transform .3s;
}
.gallery-item--hidden {
    display: none;
}
.gallery-item:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 36px rgba(37,82,39,.18);
    transform: translateY(-4px);
}
.gallery-item img,
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.gallery-item img {
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}
.gallery-item:hover img {
    transform: scale(1.07);
}
.gallery-overlay {
    background: linear-gradient(to top, rgba(10,30,10,.75) 0%, rgba(10,30,10,.15) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .32s;
    color: #fff;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i {
    font-size: 2.8rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
}
.gallery-overlay span {
    font-size: .88rem;
    font-weight: 600;
    padding: 0 14px;
    text-align: center;
    text-shadow: 0 1px 6px rgba(0,0,0,.7);
}
.gallery-load-more {
    background: #255227;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 56px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: .03em;
    transition: background .25s, transform .25s, box-shadow .25s;
    box-shadow: 0 4px 18px rgba(37,82,39,.25);
}
.gallery-load-more:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(37,82,39,.3);
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.93);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.gallery-lightbox.active {
    opacity: 1;
    pointer-events: all;
}
.gallery-lb-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-lb-img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: 10px;
    object-fit: contain;
    display: block;
    box-shadow: 0 8px 48px rgba(0,0,0,.6);
}
.gallery-lb-close {
    position: fixed;
    top: 18px;
    right: 22px;
    left: auto;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    opacity: .85;
    transition: opacity .2s, background .2s;
}
.gallery-lb-close:hover { opacity: 1; background: rgba(255,255,255,.25); }
.gallery-lb-prev,
.gallery-lb-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: 2.6rem;
    line-height: 1;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.gallery-lb-prev:hover,
.gallery-lb-next:hover { background: rgba(255,255,255,.28); }
.gallery-lb-prev { left: 16px; right: auto; }
.gallery-lb-next { right: 16px; left: auto; }

/* Responsive */
@media (max-width: 1199px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-item { height: 200px; }
}
@media (max-width: 767px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 32px; }
    .gallery-item { height: 170px; }
    .gallery-lb-prev, .gallery-lb-next { display: none; }
}
@media (max-width: 475px) {
    .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
    .gallery-item { height: 220px; }
}

/* ── Products Page ──────────────────────────────────────────────────────────── */
.products-section {
    background: #f4f8f4;
}
#pf-grid.pf-loading {
    opacity: .35;
    pointer-events: none;
    transition: opacity .15s;
}

/* Load More button */
.pf-loadmore-wrap {
    padding-bottom: 8px;
}
.pf-loadmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 2px solid #255227;
    color: #255227;
    font-size: .9rem;
    font-weight: 700;
    padding: 12px 40px;
    border-radius: 50px;
    cursor: pointer;
    letter-spacing: .3px;
    transition: background .2s, color .2s, border-color .2s;
}
.pf-loadmore-btn::after {
    content: '\f078';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: .72rem;
}
.pf-loadmore-btn:hover {
    background: #255227;
    color: #fff;
}
.pf-loadmore-btn:disabled {
    opacity: .55;
    cursor: default;
    border-color: #aaa;
    color: #aaa;
    background: transparent;
}

/* ── Product Cards ──────────────────────────────────────────────────────────── */
.pcard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(37,82,39,.08);
    border: 1px solid #e4ede4;
    margin-bottom: 28px;
    height: calc(100% - 28px);
    transition: transform .25s ease, box-shadow .25s ease;
}
.pcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 36px rgba(37,82,39,.15);
}

/* Top row: image + title */
.pcard-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    background: #fafcfa;
    border-bottom: 1px solid #e4ede4;
    position: relative;
}
.pcard-top::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--orange);
}
/* row already flows R→L in RTL context; no flex-direction override needed */

/* Square image in top row */
.pcard-img-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    min-width: 140px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #edf3ed;
}
.pcard-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.pcard:hover .pcard-img {
    transform: scale(1.06);
}
.pcard-badge {
    position: absolute;
    top: 6px; right: 6px;
    background: var(--orange);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
    z-index: 2;
}
[dir="rtl"] .pcard-badge {
    right: auto; left: 6px;
}
.pcard-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--orange);
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

/* Body: description + button */
.pcard-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 22px 20px;
}
.pcard-desc {
    font-size: .84rem;
    color: #556655;
    line-height: 1.8;
    flex: 1;
    margin-bottom: 0;
}
.pcard-desc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pcard-desc ul li {
    margin-bottom: 5px;
    padding-left: 16px;
    position: relative;
}
.pcard-desc ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 8px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--orange);
}
[dir="rtl"] .pcard-title {
    text-align: right;
}
[dir="rtl"] .pcard-desc {
    text-align: right;
}
[dir="rtl"] .pcard-desc ul li {
    padding-left: 0;
    padding-right: 16px;
}
[dir="rtl"] .pcard-desc ul li::before {
    left: auto; right: 0;
}
.pcard-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #eef3ee;
    display: flex;
    justify-content: flex-end;
}
[dir="rtl"] .pcard-footer {
    justify-content: flex-end;  /* flex-end in RTL = left side (trailing/reading-end) */
}
.pcard-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #255227;
    color: #fff;
    padding: 9px 20px;
    border-radius: 7px;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, gap .2s;
}
.pcard-btn i {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-size: .76rem;
    transition: transform .2s;
}
.pcard-btn:hover {
    background: var(--orange);
    color: #fff;
    text-decoration: none;
    gap: 11px;
}
.pcard-btn:hover i { transform: translateX(3px); }
[dir="rtl"] .pcard-btn:hover i { transform: translateX(-3px); }

/* Mobile */
@media (max-width: 767px) {
    .pcard-img-wrap, .pcard-img {
        width: 100px;
        height: 100px;
        min-width: 100px;
    }
    .pcard-title { font-size: .93rem; }
    .pcard-top { padding: 16px; gap: 14px; }
    .pcard-body { padding: 14px 16px 16px; }
}

/* ── About Page ──────────────────────────────────────────────────────────── */

/* ─ Section 1: Company Info (template choose-con / generic-box) ─ */
.abt-section {
    background: #eef5ee;
    padding-top: 80px;
    padding-bottom: 90px;
    width: 100%;
    overflow: hidden;
}

.abt-grid {
    display: grid;
    grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
}

/* Image column — self-contained, badge stays INSIDE */
.abt-img-col { position: relative; min-width: 0; }

.abt-img-wrap {
    position: relative;
    width: 100%;
}

.abt-figure {
    position: relative;
    margin: 0;
    border-radius: 10px;
    overflow: hidden;          /* keeps frame & image clipped together */
    box-shadow: 0 16px 56px rgba(37,82,39,.2);
}

.abt-figure img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

/* White inner border frame (template's figure::after) — inside overflow:hidden */
.abt-figure::after {
    content: '';
    position: absolute;
    inset: 16px;
    border: 3px solid rgba(255,255,255,.55);
    border-radius: 6px;
    z-index: 2;
    pointer-events: none;
}

/* Green accent bar at bottom of image */
.abt-figure::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: var(--secondary--color);
    z-index: 3;
}

/* Badge INSIDE image bottom-right (template's .experience-title) */
.abt-badge {
    position: absolute;
    bottom: 24px;
    right: 22px;
    z-index: 4;
    background: var(--orange);
    color: #fff;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
    border-radius: 6px;
}
.abt-badge-icon { font-size: 1.7rem; line-height: 1; flex-shrink: 0; }
.abt-badge-text { font-size: .75rem; font-weight: 700; line-height: 1.4; text-transform: uppercase; }

/* RTL: badge flips to bottom-left inside image */
[dir="rtl"] .abt-badge { right: auto; left: 22px; }
[dir="rtl"] .abt-figure::before { left: 0; right: 0; } /* bar stays full width */

/* Content column */
.abt-content-col { min-width: 0; }

.abt-sublabel {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    color: var(--secondary--color);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
}
.abt-h2 {
    font-size: 1.85rem;
    font-weight: 700;
    color: #1a3e1c;
    line-height: 1.3;
    margin-bottom: 20px;
    overflow-wrap: break-word;
}
.abt-para {
    font-size: .96rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 24px;
}

/* Checkmark list (template's .generic-list with fa-check-circle) */
.abt-checks {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}
.abt-checks li {
    font-size: .96rem;
    color: #255227;
    line-height: 1.7;
    position: relative;
    margin-bottom: 14px;
    padding-inline-start: 30px;
}
.abt-checks li::before {
    content: '\f058';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    inset-inline-start: 0;
    top: 1px;
    color: var(--secondary--color);
    font-size: 1rem;
}

/* CTA button */
.abt-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #255227;
    color: #fff;
    padding: 13px 28px;
    border-radius: 7px;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, gap .18s;
}
.abt-cta:hover { background: var(--orange); color: #fff; text-decoration: none; gap: 14px; }

/* RTL content alignment — text-align only, grid column swap is automatic */
[dir="rtl"] .abt-content-col { text-align: right; }

/* Responsive */
@media (max-width: 1099px) {
    .abt-grid { gap: 48px; }
    .abt-figure img { height: 400px; }
    .abt-h2 { font-size: 1.6rem; }
}
@media (max-width: 767px) {
    .abt-grid { grid-template-columns: 1fr; gap: 44px; }
    .abt-figure img { height: 260px; }
    .abt-badge { bottom: 16px; right: 14px; }
    [dir="rtl"] .abt-badge { right: auto; left: 14px; }
    .abt-h2 { font-size: 1.4rem; }
}

/* ─ Section 2: Vision ─ */
.vision-section {
    background: linear-gradient(140deg, #1a3e1c 0%, #255227 60%, #306a33 100%);
    position: relative;
    overflow: hidden;
}
.vision-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: rgba(141,198,63,.06);
    pointer-events: none;
}
.vision-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: rgba(255,255,255,.03);
    pointer-events: none;
}

/* Centered top: icon + label + heading */
.vision-top {
    margin-bottom: 52px;
}
.vision-icon-circle {
    width: 88px; height: 88px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 2px solid rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 22px;
}
.vision-icon-circle i { font-size: 2.2rem; color: var(--secondary--color); }

.vision-sublabel {
    display: block;
    font-size: .76rem;
    font-weight: 700;
    color: var(--secondary--color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}
.vision-h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 0;
    max-width: 640px;
    margin-inline: auto;
}

/* Two numbered paragraph cards */
.vision-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    position: relative;
    z-index: 1;
}
.vision-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 32px 30px;
    position: relative;
    transition: background .25s;
}
.vision-card:hover { background: rgba(255,255,255,.11); }

.vision-card-num {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(141,198,63,.35);
    line-height: 1;
    margin-bottom: 16px;
    font-family: 'Cairo', sans-serif;
}
.vision-p {
    font-size: .95rem;
    line-height: 1.95;
    color: rgba(255,255,255,.82);
    margin: 0;
}

[dir="rtl"] .vision-top  { text-align: right; }
[dir="rtl"] .vision-card { text-align: right; }
[dir="rtl"] .vision-card-num { text-align: right; }

@media (max-width: 767px) {
    .vision-cards { grid-template-columns: 1fr; gap: 16px; }
    .vision-h2 { font-size: 1.35rem; }
    .vision-card { padding: 24px 22px; }
    .vision-card-num { font-size: 2.2rem; }
    .vision-top { margin-bottom: 36px; }
    [dir="rtl"] .vision-top  { text-align: center; }
}

/* ─ Section 3: Downloads ─ */
.downloads-section { background: #f4f9f4; }

.dl-section-header { margin-bottom: 44px; }
.dl-section-header .abt-sublabel { display: block; margin-bottom: 8px; }
.dl-section-header .abt-h2 { margin-bottom: 0; }

.dl-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Horizontal download banner (replaces old .dl-card) */
.dl-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #fff;
    border: 1.5px solid #d5e8d5;
    border-radius: 14px;
    padding: 26px 30px;
    box-shadow: 0 3px 20px rgba(37,82,39,.07);
    transition: box-shadow .25s, transform .22s, border-color .22s;
}
.dl-banner:hover {
    box-shadow: 0 10px 38px rgba(37,82,39,.14);
    transform: translateY(-3px);
    border-color: var(--secondary--color);
}

/* Left green stripe */
.dl-banner {
    border-left: 5px solid var(--secondary--color);
}
[dir="rtl"] .dl-banner {
    border-left: 1.5px solid #d5e8d5;
    border-right: 5px solid var(--secondary--color);
}

.dl-banner-icon {
    font-size: 3rem;
    color: #c0392b;
    line-height: 1;
    flex-shrink: 0;
}
.dl-banner-body { flex: 1; }
.dl-banner-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a3e1c;
    margin-bottom: 6px;
    line-height: 1.4;
}
.dl-banner-desc {
    font-size: .87rem;
    color: #666;
    line-height: 1.65;
    margin-bottom: 8px;
}
.dl-banner-size {
    font-size: .75rem;
    font-weight: 600;
    color: #888;
    background: #f0f5f0;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.dl-banner-action { flex-shrink: 0; }

.dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #255227;
    color: #fff;
    padding: 12px 26px;
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, transform .15s;
}
.dl-btn:hover { background: var(--orange); color: #fff; text-decoration: none; transform: scale(1.03); }
.dl-btn--soon { background: #b5c8b5; cursor: default; }
.dl-btn--soon:hover { background: #b5c8b5; transform: none; }

[dir="rtl"] .dl-banner-body { text-align: right; }

@media (max-width: 767px) {
    .dl-banner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px 20px; }
    [dir="rtl"] .dl-banner { align-items: flex-end; }
    .dl-banner-action { width: 100%; }
    .dl-btn { width: 100%; justify-content: center; }
}
/* ── CTA Section ──────────────────────────────────────────────────────────── */
.cta-section {
    background: #1d4220;
    border-top: 3px solid var(--secondary--color);
    padding: 42px 0;
    clear: both;
    float: none;
    width: 100%;
    position: relative;
    margin-top: 0 !important;
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: nowrap;
}

/* ── Home: Service / Work / Help / FAQ ─────────────────────────────────────── */


/* Work / Services section overrides */
.work-box {
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    gap: 30px;
}
.work-box-item {
    width: 300px;
    height: 300px;
}
.work-box-inner-item {
    width: 268px;
    height: 268px;
}
.work-con .generic-title h2 { margin-bottom: 60px; }
.work-con .generic-title span { color: #f1f8f8; }

/* Hide template arrow images, style FA icons */
.work-box-item::after,
.work-box .work-box-item:nth-child(2)::after { display: none; }
.work-con .container::after,
.work-con .container::before { display: none; }
.work-box-item figure { display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.work-icon { font-size: 48px; color: var(--accent); transition: color .3s; }
.work-box-item:hover .work-icon { color: #1a3b1c; }
.work-box-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0; color: #255227; }

/* Responsive */
@media (max-width: 991px) {
    .work-box { grid-template-columns: repeat(3, 1fr); }
    .work-box-item { width: 220px; height: 220px; }
    .work-box-inner-item { width: 192px; height: 192px; }
}
@media (max-width: 767px) {
    .work-box { grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
    .work-box-item { width: 170px; height: 170px; }
    .work-box-inner-item { width: 146px; height: 146px; }
    .work-icon { font-size: 36px; }
    .work-box-item h3 { font-size: .9rem; }
}
@media (max-width: 480px) {
    .work-box { grid-template-columns: 1fr; justify-items: center; }
    .work-box-item { width: 240px; height: 240px; }
    .work-box-inner-item { width: 210px; height: 210px; }
}

/* Help / Professional section — solid fallback bg if image missing */
.help-con { background-color: #255227; }

/* RTL padding flip for wrok-content */
.wrok-content.wrok-content--rtl {
    padding-right: 0;
    padding-left: 75px;
    direction: rtl;
    text-align: right;
}
.wrok-content.wrok-content--rtl h2,
.wrok-content.wrok-content--rtl p,
.wrok-content.wrok-content--rtl span {
    text-align: right;
}
@media (max-width: 991px) { .wrok-content.wrok-content--rtl { padding-left: 0; } }

/* ── Home RTL fixes ─────────────────────────────────────────────────────────── */

/* Service section — generic-title text direction */
[dir="rtl"] .service-con .generic-title,
[dir="rtl"] .work-con .generic-title,
[dir="rtl"] .faq-con .generic-title {
    direction: rtl;
}

/* Professional section — phone contact padding flip */
[dir="rtl"] .phone-con a {
    padding: 15px 20px 15px 59px;
}
[dir="rtl"] .phone-text {
    padding-left: 0;
    padding-right: 18px;
    text-align: right;
}
[dir="rtl"] .phone-text span,
[dir="rtl"] .phone-text small {
    text-align: right;
    direction: ltr; /* keep phone numbers LTR */
}

/* Professional section — phone number stays LTR */
[dir="rtl"] .phone-text small {
    direction: ltr;
    text-align: left;
}

/* FAQ — RTL button text align */
[dir="rtl"] .faq-box .card-header h5 button {
    text-align: right;
    padding-left: 40px;
    padding-right: 30px;
}
[dir="rtl"] .faq-box .card-header h5 button:after {
    left: 24px;
    right: auto;
}
[dir="rtl"] .faq-box .card-body {
    padding: 0 30px 25px 65px;
    text-align: right;
    direction: rtl;
}

/* Banner float fix in RTL */
[dir="rtl"] .banner-img-box1 .float-right {
    float: left !important;
}

/* ── Sub-banner leaf: pass clicks through to filter tabs below ──────────────── */
.sub-banner::before {
    pointer-events: none;
}

/* ── Banner & Breadcrumb image radius ───────────────────────────────────────── */
.banner-img-box1 figure img,
.banner-img-box2 figure img {
    border-radius: 16px;
}
.leaf-img img,
.leaf-img2 img {
    border-radius: 14px;
}

/* ── Hide breadcrumb side images on mobile ──────────────────────────────────── */
@media (max-width: 767px) {
    .sub-banner-img {
        display: none !important;
    }
    .banner-img-box2 {
        display: none !important;
    }
    .banner-img-box1 figure:last-child {
        display: none !important;
    }
}


/* ── Home: Video Section ────────────────────────────────────────────────────── */
.home-videos-section {
    background: var(--green-color);
    overflow: hidden;
}
.home-videos-section .generic-title span { color: var(--green-color); }
.home-videos-section .generic-title h2   { color: #fff; }
.home-videos-side {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}
.home-videos-side--left  { left: 0; }
.home-videos-side--right { right: 0; }
.home-videos-side img { max-height: 260px; opacity: .45; }
.home-videos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 40px;
}
.home-video-wrap {
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 36px rgba(0,0,0,.4);
}
.home-video-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    outline: none;
}
@media (max-width: 767px) {
    .home-videos-grid { grid-template-columns: 1fr; gap: 24px; }
    .home-videos-side { display: none; }
}

/* Heading block */
.cta-text {
    flex: 1;
    min-width: 0;
}
.cta-text h2 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.3;
}
.cta-text p {
    color: rgba(255,255,255,.6);
    margin: 0;
    font-size: .85rem;
    line-height: 1.5;
}

/* Contact items row */
.cta-contacts {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-shrink: 0;
}
.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    transition: border-color .2s, background .2s;
    white-space: nowrap;
}
.cta-contact-item:hover {
    border-color: var(--secondary--color);
    background: rgba(141,198,63,.1);
    color: #fff;
    text-decoration: none;
}
.cta-contact-item i {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-size: .85rem;
    color: var(--secondary--color);
    flex-shrink: 0;
}
.cta-contact-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.cta-contact-info span {
    font-size: .7rem;
    color: rgba(255,255,255,.5);
    font-weight: 600;
    text-transform: uppercase;
}
.cta-contact-info strong {
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
}

/* Button */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary--color);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .2s, transform .15s;
}
.cta-btn:hover {
    background: #7ab834;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* RTL */
[dir="rtl"] .cta-text h2,
[dir="rtl"] .cta-text p  { text-align: right; }
[dir="rtl"] .cta-contacts { flex-direction: row-reverse; }
[dir="rtl"] .cta-contact-item { flex-direction: row-reverse; }
[dir="rtl"] .cta-contact-item--email { flex-direction: row; }
[dir="rtl"] .cta-contact-info { text-align: right; }

/* Responsive */
@media (max-width: 991px) {
    .cta-inner {
        flex-wrap: wrap;
        gap: 20px;
    }
    .cta-contacts {
        flex-wrap: wrap;
        gap: 12px;
    }
}
@media (max-width: 575px) {
    .cta-section { padding: 32px 0; }
    .cta-inner   { flex-direction: column; align-items: flex-start; }
    .cta-contacts { flex-direction: column; align-items: flex-start; width: 100%; }
    [dir="rtl"] .cta-contacts { align-items: flex-end; }
    .cta-contact-item { width: 100%; justify-content: flex-start; }
    .cta-btn { width: 100%; justify-content: center; }
}
