:root {
    --light-green: #91ef18;
    --dark-green: #144434;
    --lime-green: #eaff1d;

    --max-width: 1200px;
    --transition: all 0.3s ease;
}

@font-face {
    font-family: "Allenoire";
    src: url(../assets/fonts/allenoire-allenoire-regular-400.woff2);
}

@font-face {
    font-family: "DM Sans";
    src: url(../assets/fonts/DMSans-VariableFont_opsz-wght.woff2);
}

@font-face {
    font-family: "Alexandria";
    src: url(../assets/fonts/Alexandria-VariableFont_wght.woff2);
}
@font-face {
    font-family: "Tajawal";
    src: url(../assets/fonts/Tajawal-Regular.woff2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "DM Sans", sans-serif;
}

body.rtl p,
body.rtl h2,
body.rtl h3,
body.rtl span,
body.rtl a,
body.rtl button {
    font-family: "Tajawal", sans-serif !important;
}
body.rtl h1 {
    font-family: "Alexandria", sans-serif !important;
    line-height: 1.5;
}

.btn-primary,
.btn-outline {
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    transition: all ease-in-out 0.3s;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--dark-green);
    color: var(--lime-green);
}
.btn-primary:hover {
    background-color: var(--lime-green);
    color: var(--dark-green);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--lime-green);
    color: var(--lime-green);
}
.btn-outline:hover {
    background-color: var(--lime-green);
    color: var(--dark-green);
}

/* Layout for hero buttons */
/* .about-hero .hero-buttons {
      display: flex;
      gap: 1.5rem;
      margin-top: 1.5rem;
      justify-content: center;
    } */

/* Small subtitle with dot */
.about-page #ar-top {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}

.about-page #ar-top #dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--light-green);
    position: relative;
    /* margin-top: 0.15rem; */
}

.about-page #ar-top #dot::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--light-green);
    opacity: 0.3;
    animation: dotRipple 2s ease-in-out infinite;
}
/* Subtitle text */
.about-page #ar-top h2 {
    font-size: clamp(1.25rem, 1.2vw, 1.25rem);
    font-weight: 500;
    color: var(--dark-green);
}

.about-page h1 {
    font-family: "Allenoire", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-green);
    /* margin: 0; */
    /* line-height: 1.2; */
}

/* Main section heading */
.about-page h1.section-title {
    font-family: "Allenoire", sans-serif;
    font-size: 2.5vw;
    font-weight: 600;
    letter-spacing: 0.1vw;
    color: var(--dark-green);
    margin: 0.5rem 0 1.5rem 0;
}

@keyframes dotPulse {
    0%,
    100% {
        transform: scale(1);
        background-color: var(--light-green);
    }
    50% {
        transform: scale(1.2);
        background-color: var(--lime-green);
    }
}
@keyframes dotRipple {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* =========================
      Fade-in Utility (used by homepage too)
    ========================= */
.section-fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.section-fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
      About Hero Section
    ========================= */
.about-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: linear-gradient(
            to right,
            rgba(24, 126, 24, 0.5),
            rgba(95, 210, 95, 0.3),
            rgba(255, 223, 120, 0.4)
        ),
        url("../assets/images/about/about.webp") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-attachment: fixed;
    color: #fff;
    padding: 0 2rem;
    opacity: 0.95;
    overflow: hidden;
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.about-hero .hero-content {
    position: relative;
    z-index: 1;
}

.about-hero h1 {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 700;
    max-width: 800px;
    line-height: 1.2;
    text-align: center;
    font-family: "Allenoire", sans-serif;
    text-transform: capitalize;
    margin: 0 auto;
}

/* =========================
      Mission & Vision
    ========================= */
.mission-vision {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6vw 8vw;
    gap: 4vw;
    /* max-width: var(--max-width); */
    max-width: 100%;
    margin: 0 auto;
}

.mission-vision .text {
    flex: 1;
}
.mission-vision .image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mission-vision img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}
.mission-vision img:hover {
    transform: scale(1.03);
}

.mission-vision .text > h2 {
    margin-top: 1.25rem;
    color: var(--dark-green);
    font-family: "Allenoire", sans-serif;
}
.mission-vision h3 {
    color: var(--dark-green);
    opacity: 0.9;
}
.mission-vision p {
    margin-top: 1rem;
    color: #555;
    line-height: 1.6;
}

.mission-vision #ar-top {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 1rem;
}
/* =========================
      Stats Section
    ========================= */
#stats {
    width: 100%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 6vw;
    margin: 2vw 0;
}

#stats #statstop {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1vw 0vw;
    margin-bottom: 2vw;
}

#stats #statstop #statstopl {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    gap: 1vw;
    /* margin-bottom: 2vw; */
}

#stats #statstop #statstopl #dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--light-green);
    position: relative;
}

#stats #statstop #statstopl #dot::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--light-green);
    opacity: 0.3;
    animation: dotRipple 2s ease-in-out infinite;
}

#stats #statstop #statstopl h2 {
    font-size: 1vw;
    font-weight: 500;
    color: var(--dark-green);
}

#stats #statstop h1 {
    font-family: "Allenoire", sans-serif;
    letter-spacing: 0.15vw;
    font-size: 2.5vw;
    font-weight: 600;
    color: var(--dark-green);
    margin: 1vw 0;
}

#stats #statsbtm {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#stats #statsbtm .statcard {
    width: 22%;
    height: 100%;
    background-color: var(--dark-green);
    display: flex;
    flex-direction: column;
    /* justify-content: flex-end; */
    gap: 1vw;
    padding: 2.5vw 1.5vw;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(20, 68, 52, 0.1);
    border: 1px solid rgba(20, 68, 52, 0.1);
    transition: all ease-in-out 0.3s;
}

#stats #statsbtm .statcard:hover {
    box-shadow: 0 20px 40px rgba(20, 68, 52, 0.2);
    transform: translateY(-5px);
    border: 1px solid rgba(145, 239, 24, 0.3);
}

#stats #statsbtm .statcard h1 {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    font-size: 2.5vw;
    font-weight: 600;
    font-family: "Allenoire", sans-serif;
    color: var(--light-green);
    letter-spacing: 0.1vw;
    line-height: 0.9vw;
}

/* Counter animation styles */
#stats #statsbtm .statcard h1.counter {
    transition: all 0.3s ease;
}

#stats #statsbtm .statcard h1.counter.counting {
    color: var(--light-green);
    text-shadow: 0 0 10px rgba(145, 239, 24, 0.3);
}

#stats #statsbtm .statcard h1.counter {
    transform-origin: center;
}

#stats #statsbtm .statcard h1 span {
    color: var(--lime-green);
    font-family: "Allenoire", sans-serif;
    font-size: 3vw;
    font-weight: 900;
}

#stats #statsbtm .statcard h2 {
    font-size: 1.3vw;
    font-weight: 500;
    color: white;
}

#stats #statsbtm .statcard p {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    letter-spacing: 0.1vw;
}

/* ===== STATS SECTION MOBILE RESPONSIVE STYLES ===== */

/* Tablet Styles */
@media (max-width: 1024px) {
    #stats {
        height: auto;
        min-height: 40vh;
        padding: 3rem 4vw;
        margin: 3rem 0;
    }

    #stats #statstop {
        margin: 1rem 0;
        margin-bottom: 2.5rem;
    }

    #stats #statstop #statstopl h2 {
        font-size: 1.2vw;
    }

    #stats #statstop h1 {
        font-size: 3vw;
        margin: 1.5rem 0;
        text-align: center;
    }

    #stats #statsbtm {
        gap: 2vw;
    }

    #stats #statsbtm .statcard {
        width: 23%;
        padding: 2rem 1.2rem;
        gap: 1.2rem;
    }

    #stats #statsbtm .statcard h1 {
        font-size: 2.2vw;
        gap: 0.3vw;
    }

    #stats #statsbtm .statcard h1 span {
        font-size: 2.8vw;
    }

    #stats #statsbtm .statcard h2 {
        font-size: 1.4vw;
    }

    #stats #statsbtm .statcard p {
        font-size: 0.8rem;
    }
}

/* Mobile Landscape and Smaller Tablets */
@media (max-width: 768px) {
    #stats {
        height: auto;
        padding: 3rem 5vw;
        margin: 2rem 0;
    }

    #stats #statstop {
        text-align: center;
        margin-bottom: 3rem;
    }

    #stats #statstop #statstopl {
        justify-content: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    #stats #statstop #statstopl h2 {
        font-size: 1rem;
        font-weight: 600;
    }

    #stats #statstop h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin: 1rem 0 0 0;
    }

    #stats #statsbtm {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    #stats #statsbtm .statcard {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 2rem;
        gap: 0.5rem;
        background: linear-gradient(
            135deg,
            var(--dark-green) 0%,
            rgba(20, 68, 52, 0.9) 100%
        );
        position: relative;
        text-align: left;
    }

    body.rtl #stats #statsbtm .statcard h1 span {
        padding-bottom: 0px;

        padding-top: 4px;
    }
    #stats #statsbtm .statcard:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(20, 68, 52, 0.25);
    }

    #stats #statsbtm .statcard h1 {
        font-size: 3rem;
        line-height: 1;
        margin: 0;
        align-self: flex-end;
        /* margin-bottom: 0.5rem; */
    }

    #stats #statsbtm .statcard h1 span {
        font-size: 3.5rem;
        margin-left: 0.2rem;
    }

    #stats #statsbtm .statcard h2 {
        font-size: 1.3rem;
        font-weight: 600;
        margin: 0;
        margin-bottom: 0.5rem;
    }

    #stats #statsbtm .statcard p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin: 0;
    }
    [dir="rtl"] .contact-text {
        text-align: right;
        line-height: 1.2;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    #stats {
        padding: 2.5rem 4vw;
        margin: 1.5rem 0;
    }

    #stats #statstop {
        margin-bottom: 2.5rem;
    }

    #stats #statstop #statstopl h2 {
        font-size: 0.9rem;
    }

    #stats #statstop h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    #stats #statsbtm {
        gap: 1.2rem;
    }

    #stats #statsbtm .statcard {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 0.5rem;
        justify-content: center;
        align-items: center;
    }

    #stats #statsbtm .statcard h1 {
        font-size: 2.5rem;
        /* margin-bottom: 0.5rem; */
        align-self: center;
    }

    #stats #statsbtm .statcard h1 span {
        font-size: 3rem;
    }

    #stats #statsbtm .statcard h2 {
        font-size: 1.2rem;
        /* margin-bottom: 0.5rem; */
    }

    #stats #statsbtm .statcard p {
        font-size: 0.85rem;
        line-height: 1.5;
        text-align: center;
    }

    .hideOnMobile {
        display: none !important;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 360px) {
    #stats {
        padding: 2rem 3vw;
    }

    #stats #statstop h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    #stats #statsbtm .statcard {
        padding: 1.8rem 1.2rem;
        gap: 0.8rem;
    }

    #stats #statsbtm .statcard h1 {
        font-size: 2.2rem;
    }

    #stats #statsbtm .statcard h1 span {
        font-size: 2.6rem;
    }

    #stats #statsbtm .statcard h2 {
        font-size: 1.1rem;
    }

    #stats #statsbtm .statcard p {
        font-size: 0.8rem;
    }
}

/* =========================
      Passion Section
    ========================= */
.passion {
    padding: 6vw 8vw;
    /* max-width: var(--max-width); */
    max-width: 100%;
    /* margin: 0 auto; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.passion .ar-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.passion .ar-top h2 {
    font-family: "Allenoire", sans-serif;
    font-size: clamp(1.25rem, 1.2vw, 1.25rem);
    font-weight: 500;
    color: var(--dark-green);
    margin: 0;
}

.passion p {
    max-width: 600px;
    margin: 0 0 2.5rem 0;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    color: rgb(18, 90, 18);
    /* font-family: 'Allenoire', sans-serif; */
}

.passion .ar-top #dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--light-green);
    position: relative;
    animation: dotPulse 2s ease-in-out infinite;
}

.passion .ar-top #dot::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--light-green);
    opacity: 0.3;
    animation: dotRipple 2s ease-in-out infinite;
}

.passion .images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: -6rem;
}

.passion img {
    width: 100%;
    border-radius: 8px;
    transition: var(--transition);
    /* margin-bottom: -10rem; */
}

@media (min-width: 1024px) {
    .passion img:nth-child(2),
    .passion img:nth-child(3) {
        margin-top: 6rem;
    }
}

.passion img:hover {
    transform: scale(1.05);
}

/* =========================
      Core Values
    ========================= */
.core-values {
    position: relative;
    padding: 8vw 8vw;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    background: linear-gradient(rgba(20, 68, 52, 0.9), rgba(20, 68, 52, 0.9)),
        url("../assets/images/hero/brandGuideline.webp") center/cover no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow-x: hidden;
    transform: none !important;
    will-change: auto;
    isolation: isolate;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background-color: var(--dark-green); /* fallback */
}

.core-values > h1 {
    margin: 0.75rem 0 2rem;
    font-family: "Allenoire", sans-serif;
    color: #fff; /* headline in white for contrast */
}

.core-values #ar-top {
    display: flex;
    justify-content: center; /* centers horizontally */
    align-items: center; /* aligns dot + text vertically */
    gap: 0.6rem; /* space between dot and text */
    margin-bottom: 1rem;
}

.core-values #ar-top h2 {
    color: #fff;
}

.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: #fff; /* white card */
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    color: var(--dark-green);
}

.value-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Icon inside a colored circle */
.value-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--lime-green); /* highlight circle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1rem;
    color: var(--dark-green);
}

.value-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-green);
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}
/* Base: all icons will always pulse */
.value-card .icon svg {
    animation: pulse 2s infinite;
    transform-origin: center;
}

/* Lightbulb (Innovation) – Pulse + Glow */
.value-card:nth-child(1) .icon svg {
    animation: pulse 2s infinite, glow 3s infinite alternate;
    filter: drop-shadow(0 0 3px var(--dark-green));
}

/* Handshake (Reliability) – Pulse + Bounce */
.value-card:nth-child(2) .icon svg {
    animation: pulse 2s infinite, bounce 2s infinite;
}

/* Leaf (Sustainability) – Pulse + Sway */
.value-card:nth-child(3) .icon svg {
    animation: pulse 2s infinite, sway 3s infinite ease-in-out;
}
@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 5px var(--light-green));
    }
    to {
        filter: drop-shadow(0 0 12px var(--lime-green));
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes sway {
    0%,
    100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(20deg);
    }
}

/* =========================
      FAQ
    ========================= */
.faq {
    padding: 5vw 8vw;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
}

.faq > #ar-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}
.faq > #ar-top h2 {
    color: var(--dark-green);
}

.faq > h2 {
    margin: 0.75rem 0 2rem;
    color: var(--dark-green);
    font-family: "Allenoire", sans-serif;
    text-align: center;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Each FAQ item as a box */
.faq-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(20, 68, 52, 0.1);
    transition: all 0.3s ease;
    background: #fff;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* Question button */
.faq-item button {
    width: 100%;
    background: var(--dark-green);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 1.25rem;
    border: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-item button:hover {
    background: var(--light-green);
    color: var(--dark-green);
}

/* Chevron */
.faq-item button i {
    transition: transform 0.3s ease;
}

/* Answer (hidden by default) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    background: #f9f9f9;
    transition: max-height 0.4s ease, padding 0.3s ease;
    justify-content: center;
}

.faq-answer p {
    color: #057113;
    line-height: 1.8;
    font-size: 0.95rem;
    font-weight: bold;
    margin: 1rem 0;
}

/* Open state */
.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0rem 1.25rem 2rem 1.25rem;
}

.faq-item.active button i {
    transform: rotate(180deg);
}

/* =========================
   Responsive Improvements
   ========================= */

/* Tablet and below */
@media (max-width: 992px) {
    /* Hero */
    .about-hero {
        height: 70vh; /* not full screen on smaller devices */
        padding: 0 1rem;
    }
    .about-hero h1 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        line-height: 1.3;
        max-width: 90%;
    }

    /* Mission & Vision */
    .mission-vision {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .mission-vision img {
        max-width: 90%;
    }

    /* Passion */
    /* .passion .images {
    grid-template-columns: repeat(2, 1fr);
  } */
    .passion .images {
        margin: 0;
    }

    /* Core Values */
    .values {
        grid-template-columns: 1fr 1fr;
    }

    /* FAQ */
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Small phones */
@media (max-width: 560px) {
    /* Hero */
    .about-hero {
        height: 70vh;
        padding: 4rem 1rem;
    }
    .about-hero h1 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    /* Mission & Vision */
    .mission-vision {
        padding: 3rem 1rem;
        gap: 1.5rem;
    }
    .passion .images {
        margin: 0;
    }

    /* Passion images */
    /* .passion .images {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .passion img {
    max-width: 100%;
  } */

    /* Core Values */
    .values {
        grid-template-columns: 1fr;
    }

    /* FAQ */
    .faq-item button {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    .faq-answer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .ar-top h2 {
        font-size: 1rem; /* readable on tablets */
    }
    .passion .images {
        margin: 0;
    }
}
@media (max-width: 480px) {
    .ar-top h2 {
        font-size: 1.1rem; /* slightly larger for small phones */
    }
    .passion .images {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .passion {
        position: relative;
    }

    /* Images as horizontal scroll (already done earlier) */
    .passion .images {
        display: flex;
        gap: 1.2rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 1rem 0;
        margin: 0;
    }

    .passion .images img {
        flex: 0 0 80%;
        max-width: 320px;
        border-radius: 20px;
        scroll-snap-align: center;
        opacity: 0.4;
        transform: scale(0.9);
        transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.6s ease;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    }

    .passion .images img.active {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    }

    .passion .images::-webkit-scrollbar {
        display: none;
    }

    /* Gradient fade edges */
    .passion::before,
    .passion::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 40px;
        pointer-events: none;
        z-index: 2;
    }
    .passion::before {
        left: 0;
        background: linear-gradient(to right, white, transparent);
    }
    .passion::after {
        right: 0;
        background: linear-gradient(to left, white, transparent);
    }

    /* Scroll indicator dots */
    .passion-dots {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
        gap: 8px;
    }
    .passion-dots span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #ccc;
        transition: background 0.3s ease, transform 0.3s ease;
    }
    .passion-dots span.active {
        background: var(--light-green);
        transform: scale(1.2);
    }

    @keyframes bounce {
        0%,
        100% {
            transform: translateX(0);
            opacity: 0.7;
        }
        50% {
            transform: translateX(5px);
            opacity: 1;
        }
    }
}

/* =========================
   RTL Support for About Page
   ========================= */

[dir="rtl"] .about-page #ar-top {
    justify-content: start;
}

[dir="rtl"] .mission-vision {
    flex-direction: row-reverse;
}

[dir="rtl"] .mission-vision .text {
    text-align: right;
}

[dir="rtl"] .about-page h1.section-title,
[dir="rtl"] .about-page h1,
[dir="rtl"] .about-page h2,
[dir="rtl"] .about-page h3,
[dir="rtl"] .about-page h4 {
    text-align: right;
    /* font-family: "Allenoire", sans-serif; */
}

[dir="rtl"] .about-page p {
    text-align: right;
    /* font-family: "Arial", "Tahoma", sans-serif; */
    line-height: 1.8;
}

[dir="rtl"] #stats #statstop h1,
[dir="rtl"] #stats #statstop h2 {
    text-align: center;
}

[dir="rtl"] #stats #statsbtm .statcard {
    justify-content: start;
}
[dir="rtl"] #stats #statsbtm .statcard p {
    text-align: right;
}

/* RTL Passion Section */
[dir="rtl"] .passion p {
    text-align: center;
    font-weight: 600;
    font-size: 1.4rem !important;
}

/* RTL Core Values */
[dir="rtl"] .core-values #ar-top {
}

[dir="rtl"] .core-values h1 {
    text-align: center;
}

[dir="rtl"] .value-card h4 {
    text-align: right;
}

[dir="rtl"] .value-card p {
    text-align: right;
}

/* RTL FAQ Section */
[dir="rtl"] .faq #ar-top {
}

[dir="rtl"] .faq h2 {
    text-align: center;
}

[dir="rtl"] .faq-item button {
    text-align: right;
}

[dir="rtl"] .faq-item button span {
    flex: 1;
    text-align: right;
}

[dir="rtl"] .faq-item button i {
    order: -1;
    margin-right: 0;
    margin-left: 1rem;
}

[dir="rtl"] .faq-answer p {
    text-align: right;
    line-height: 1.8;
}

/* RTL About Hero */
[dir="rtl"] .about-hero h1 {
    text-align: center;
}

[dir="rtl"] #stats #statsbtm .statcard h1 span {
    padding-bottom: 10px;
}

/* RTL Mobile Responsiveness */
@media (max-width: 768px) {
    [dir="rtl"] .mission-vision {
        flex-direction: column;
    }

    [dir="rtl"] .mission-vision .text {
        text-align: right;
    }

    [dir="rtl"] .passion p {
        text-align: center;
    }

    [dir="rtl"] .core-values h1 {
        text-align: center;
    }

    [dir="rtl"] .faq h2 {
        text-align: center;
    }
}
