body {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

* {
    font-family: "IBM Plex Sans Arabic", "MyCustomFont", sans-serif;
}

ol {
    list-style-type: disc;
}

:root {
    --main-color: #04402B;
    --main-bg-color: #f7f7f7;
    --text-color: #fbce01;
}

.border {
    border: 1px solid #666666;
}

@font-face {
    font-family: "MyCustomFont";
    /* اسم الخط اللي هتستخدميه في CSS */
    src: url("../Fonts/arfonts-abdoullah-ashgar-el-kharef/abdoullah-ashgar-el-kharef.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

.right-5 {
    right: 20px;
}

.fs-0 {
    font-size: 1.5625rem;
}

.fs-1v {
    font-size: 1.25rem;
}

.fs-sm {
    font-size: 0.9375rem;
}

.w-10 {
    width: 15%;
}

.text-green {
    color: var(--main-color);
}

.top-5 {
    top: 10px;
}

.bg-baige {
    background-color: var(--main-bg-color);
}

.left-5 {
    left: 40px;
}

.w-25 {
    width: 25%;
}

.bottom-5 {
    bottom: 15px;
}

.fixed-margin-top {
    margin-top: 70px;
}

.w-c-25 {
    width: 300px;
}

.yellow-bg {
    background-color: var(--text-color);
}

.white-bg {
    background-color: var(--main-bg-color);
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.5;
}

/* NavBar  */

.add-park {
    color: var(--main-color);
    border: 1px solid var(--main-color);
}

.logo {
    width: 60px;
}

/* end it */
.top-banner {
    margin: 0;
    padding: 0.625rem 0.375rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 400;
    font-style: normal;
    background-image: url(../img/bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

.hero-section {
    position: relative;
    background-image: url(../img/hero.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    min-height: 620px;
    height: 80vh;
    display: flex;
    align-items: center;
}

.hero-section-info {
    width: 100%;
}

.hero-content {
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* RTL Specific placement */
[dir="rtl"] .hero-content {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

[dir="ltr"] .hero-content {
    margin-right: auto;
    margin-left: 0;
    text-align: left;
}

.hero-main-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--main-color);
    margin: 0 0 8px 0;
    line-height: 1.35;
}

.hero-sub-title {
    font-size: 1.25rem;
    font-weight: 400;
    color: #4A5568;
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.hero-search-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 480px;
    width: 100%;
}

.hero-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    padding: 6px 16px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.hero-search-wrapper:focus-within {
    border-color: var(--main-color);
    box-shadow: 0px 10px 25px rgba(4, 64, 43, 0.1);
}

.hero-search-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    color: #2D3748;
    flex-grow: 1;
    padding: 10px 0;
    font-family: inherit;
}

.hero-search-input::placeholder {
    color: #A0AEC0;
}

.hero-search-icon-btn {
    background: transparent;
    border: none;
    outline: none;
    color: #718096;
    font-size: 1.15rem;
    cursor: pointer;
    padding: 0 8px;
    transition: color 0.2s ease;
}

.hero-search-icon-btn:hover {
    color: var(--main-color);
}

.hero-explore-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--main-color);
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    overflow: hidden;
    width: fit-content;
    box-shadow: 0px 4px 15px rgba(4, 64, 43, 0.25);
    font-family: inherit;
}

.hero-explore-btn span {
    padding: 14px 28px;
}

.hero-explore-btn .arrow-box {
    background-color: rgba(0, 0, 0, 0.15);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.hero-explore-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

[dir="ltr"] .hero-explore-arrow {
    transform: scaleX(-1);
}

[dir="rtl"] .hero-explore-arrow {
    transform: none;
}

.hero-explore-btn:hover {
    background-color: #032d1e;
    transform: translateY(-2px);
    box-shadow: 0px 6px 20px rgba(4, 64, 43, 0.35);
}

.hero-explore-btn:hover .arrow-box {
    background-color: rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 520px;
        height: auto;
        padding: 60px 0;
    }

    .hero-content {
        align-items: center;
        text-align: center !important;
        margin: 0 auto !important;
    }

    .hero-main-title {
        font-size: 2.25rem;
    }

    .hero-sub-title {
        font-size: 1.1rem;
    }

    .hero-search-form {
        align-items: center;
    }
}

/* Search Input Styles */
.search-input {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.search-input:focus-within {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 30px rgba(0, 135, 55, 0.25);
    transform: translateY(-2px);
}

.search-icon {
    position: absolute;
    color: var(--main-color);
    font-size: 1.25rem;
    z-index: 1;
    pointer-events: none;
    transition: color 0.3s ease;
}

[dir="rtl"] .search-icon {
    left: 1.5rem;
}

[dir="ltr"] .search-icon {
    right: 1.5rem;
}

.search-input:focus-within .search-icon {
    color: var(--main-color);
}

.search {
    width: 100%;
    padding: 1.25rem 1.25rem 1.25rem 3.5rem;
    border: none;
    border-radius: 50px;
    outline: none;
    background: transparent;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
}

.search::placeholder {
    color: #999;
    font-weight: 400;
    transition: color 0.3s ease;
}

.search:focus::placeholder {
    color: #bbb;
}

.search-clear {
    position: absolute;
    right: 1rem;
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1;
}

.search-clear:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

.search-clear i {
    font-size: 0.875rem;
}

/* Responsive Design for Search */
@media (max-width: 768px) {
    .search-input {
        max-width: 100%;
        margin: 0 1rem;
    }

    .search {
        padding: 1rem 1rem 1rem 3rem;
        font-size: 0.9375rem;
    }

    .search-icon {
        left: 1.25rem;
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .search-input {
        margin: 0 0.5rem;
        border-radius: 30px;
    }

    .search {
        padding: 0.875rem 0.875rem 0.875rem 2.75rem;
        font-size: 0.875rem;
    }

    .search-icon {
        left: 1rem;
        font-size: 1rem;
    }

    .search-clear {
        right: 0.75rem;
        padding: 0.375rem;
    }
}

.explore-link {
    text-decoration: none;
    border-bottom: 2px solid white;
    font-size: 1.25rem;
    font-weight: 400;
    margin-top: 10px;
}

.main-tittle {
    font-size: 2.1875rem;
    font-weight: 400;
}

.describe-tittle {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #666666;
}

.carousel-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    margin: auto;
}

.carousel-track-wrapper {
    width: 100%;
    overflow: hidden;

    /* transform: translateX(px); */
}

.carousel-track {
    display: flex;
    gap: 10px;
    transition: tranform 0.4s ease-in-out;
    width: max-content;
    /* مهم علشان يمنع التمدد */
}

.carousel-slide {
    width: 250px;
    /* عرض ثابت لكل عنصر */
    flex-shrink: 0;
    position: relative;
    border-radius: 10px;
}

.carousel-slide img {
    width: 100%;
    border-radius: 10px;
}

.caption {
    color: white;
    position: absolute;
    bottom: 0;
    right: 5px;
    padding-inline: 3px;
}

/* أزرار الأسهم */
.carousel-arrow {
    /* position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: #fff; */
    /* color: #fff; */
    /* border-radius: 50%;
    border: none;
    font-size: 2rem;
    padding: 3px 18px;
    cursor: pointer; */
    position: absolute;
    top: 50%;
    /* transform: translateY(-50%); */
    z-index: 10;
    background: #fff;
    /* color: #fff; */
    border-radius: 50%;
    border: none;
    /* font-size: 1rem; */
    padding: 10px;
    cursor: pointer;
    width: 40px;
    height: 40px;
}

.carousel-arrow.prev {
    left: 7px;
}

.carousel-arrow.next {
    right: 7px;
}


/* Login css */
.login-section {
    background-color: var(--main-bg-color);
    height: 100vh;
    width: 100%;
}

.login-section {
    height: 100vh;
}

.login-section img {
    object-fit: cover;
}

.registBtn {
    background-color: var(--main-color);
}

.orLine p::before {
    content: "";
    display: inline-block;
    width: 45%;
    height: 2px;
    background-color: #666666;
}

.orLine p::after {
    content: "";
    display: inline-block;
    width: 45%;
    height: 2px;
    background-color: #666666;
}

.googleRegister {
    border: #666666 1px solid;
}

.phone-input {
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.country-select {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: #f7f7f7;
    border-radius: 8px;
    cursor: pointer;
}

.country-select .flag {
    width: 25px;
    border-radius: 4px;
}

.country-select i {
    font-size: 12px;
    color: #555;
}

.phone-field {
    border: none;
    flex: 1;
    outline: none;
    font-size: 16px;
}

.garden-news {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 330px);
    gap: 20px;
    grid-template-areas:
        "big top-right"
        "big bottom-right";
}

/* .big .blog-info {
    top: 80%;
} */
.blog-info {
    top: 60%;
}

.card {
    border-radius: 10px;
}

.big {
    grid-area: big;
}

.top-right {
    grid-area: top-right;
}

.bottom-right {
    grid-area: bottom-right;
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.event-section {
    margin-bottom: 100px;
}

/* park details */

.park-images {
    display: grid;
    grid-template-columns: 0.5fr 0.5fr 0.5fr;
    /* عمودين */
    grid-template-rows: repeat(2, 200px);
    /* صفين */
    gap: 4px;
    grid-template-areas:
        "img3 img2 img1"
        "img3 img5 img4";
}

.img-1 {
    grid-area: img1;
}

.img-2 {
    grid-area: img2;
}

.img-3 {
    grid-area: img3;
}

.img-4 {
    grid-area: img4;
}

.img-5 {
    grid-area: img5;
}

.activty {
    background-color: var(--main-bg-color);
}

.details-Main-Image {
    position: relative;
    background-color: #008737;
    width: 100%;
    height: 31.25rem;
    background-image: url(../img/explorParks6.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Park Cards - Most Rated Section */
.park-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

.park-card-link:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-8px);
}

.park-card {
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.park-card-link:hover .park-card {
    box-shadow: 0 8px 25px rgba(0, 135, 55, 0.2);
}

.park-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 216px;
    padding-top: 75%;
    /* 4:3 Aspect Ratio */
    overflow: hidden;
    background: #f0f0f0;
}

.park-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.park-card-link:hover .park-card-image {
    transform: scale(1.1);
}

.park-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.3) 70%,
            rgba(0, 0, 0, 0.7) 100%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.park-card-link:hover .park-card-overlay {
    opacity: 0.6;
}

.park-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--main-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.park-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.park-card-title {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.park-card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-stars {
    height: 18px;
    width: auto;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.rating-value {
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Ensure equal height cards in flex layout */
.exploe-section-parks .row {
    display: flex;
    flex-wrap: wrap;
}

.exploe-section-parks .park-card-link {
    display: flex;
    flex-direction: column;
}

/* تخليه أصغر في الشاشات الصغيرة */
@media (max-width: 768px) {
    .carousel-slide {
        width: 180px;
    }

    .garden-news {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(2, 250px);
        gap: 20px;
        grid-template-areas:
            "big big"
            "top-right bottom-right";
    }

    /* .big .blog-info {
        bottom: 70%;
    } */
    .park-images {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* عمودين */
        grid-template-rows: repeat(3, 200);
        /* صفين */
        gap: 4px;
        grid-template-areas:
            "img1 img2 "
            "img4 img3"
            "img5 img5 ";
    }

    /* Park Cards Responsive */
    .park-card-content {
        padding: 15px;
    }

    .park-card-title {
        font-size: 1rem;
    }

    .rating-stars {
        height: 16px;
    }

    .rating-value {
        font-size: 0.875rem;
    }

    .park-card-badge {
        top: 10px;
        left: 10px;
        padding: 5px 10px;
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }

    .carousel-slide {
        width: 140px;
    }

    .garden-news {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(1, 250px);
        gap: 20px;
        grid-template-areas:
            "big "
            "top-right"
            "bottom-right";
    }

    .blog-info {
        bottom: 80%;
    }

    /* Park Cards Mobile */
    .park-card-link {
        margin-bottom: 1rem;
    }

    .park-card-content {
        padding: 12px;
        gap: 6px;
    }

    .park-card-title {
        font-size: 0.9375rem;
    }

    .park-card-badge {
        top: 8px;
        left: 8px;
        padding: 4px 8px;
        font-size: 0.75rem;
    }

    .park-card-link:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 360px) {
    html {
        font-size: 10px;
    }

    .park-images {
        display: grid;
        grid-template-columns: 1fr;
        /* عمودين */
        grid-template-rows: repeat(1, 200);
        /* صفين */
        gap: 4px;
        grid-template-areas:
            "img1 "
            "img2 "
            "img3 "
            "img5"
            "img4";
    }
}

.registBtn:hover {
    opacity: 0.8;
}

[dir="rtl"] .header {
    left: left;
}

[data="rtl"] .dashboard-title-part .left .icon,
[lang="ar"] .dashboard-title-part .left .icon {
    margin-left: 10px;
}

[dir="rtl"] .text-start {
    text-align: left !important;
}

[dir="ltr"] .text-start {
    text-align: right !important;
}

[dir="rtl"] .text-end {
    text-align: right !important;
}

[dir="ltr"] .text-end {
    text-align: left !important;
}

.breadcrumb-item+.breadcrumb-item {
    padding-left: var(--bs-breadcrumb-item-padding-x);
}

[dir="ltr"] .breadcrumb-item::before,
[dir="ltr"] .breadcrumb-item::after {
    content: none !important;
    display: none !important;
}

[dir="ltr"] .breadcrumb-item+.breadcrumb-item::before {
    float: left;
    display: block !important;
    padding-right: var(--bs-breadcrumb-item-padding-x);
    color: var(--bs-breadcrumb-divider-color);
    content: var(--bs-breadcrumb-divider, "/") !important;
}

[dir="rtl"] .breadcrumb-item+.breadcrumb-item::before,
[dir="rtl"] .breadcrumb-item+.breadcrumb-item::after,
[dir="rtl"] .breadcrumb-item::before {
    content: none !important;
    display: none !important;
}

[dir="rtl"] .breadcrumb-item {
    display: flex;
    align-items: center;
}

[dir="rtl"] .breadcrumb-item:not(:last-child)::after {
    content: var(--bs-breadcrumb-divider, "/") !important;
    display: inline !important;
    margin: 0 0.5rem;
    color: var(--bs-breadcrumb-divider-color, #6c757d);
}

.breadcrumb-item.active::after {
    content: none !important;
    display: none !important;
}

.breadcrumb-item.active {
    color: var(--bs-breadcrumb-item-active-color);
}

/* ===== Main Navbar (Figma Design) ===== */
.main-navbar {
    background-color: #ffffff;
    padding: 0 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 100;
}

.main-navbar .navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
}

.main-navbar .navbar-logo img {
    height: 48px;
    width: auto;
}

.main-navbar .navbar-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navbar .navbar-nav-links li a {
    text-decoration: none;
    color: #333333;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.main-navbar .navbar-nav-links li a:hover,
.main-navbar .navbar-nav-links li a.active {
    color: var(--main-color);
    background-color: rgba(4, 64, 43, 0.06);
}

.main-navbar .navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.main-navbar .navbar-lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.main-navbar .navbar-lang-btn:hover {
    border-color: var(--main-color);
    color: var(--main-color);
}

.main-navbar .navbar-lang-btn i {
    font-size: 16px;
}

.main-navbar .navbar-login-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: color 0.25s ease;
    text-decoration: none;
}

.main-navbar .navbar-login-btn:hover {
    color: var(--main-color);
}

.main-navbar .navbar-login-btn i {
    font-size: 16px;
}

.main-navbar .navbar-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.main-navbar .navbar-download-btn:hover {
    background-color: #035c2a;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(4, 64, 43, 0.3);
}

.main-navbar .navbar-download-btn i {
    font-size: 16px;
}

/* Hamburger Menu */
.main-navbar .navbar-hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    font-size: 24px;
    color: #333;
}

/* Mobile Styles */
@media (max-width: 991px) {
    .main-navbar .navbar-nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #fff;
        padding: 16px 24px;
        gap: 4px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        z-index: 200;
        border-top: 1px solid #f0f0f0;
    }

    .main-navbar .navbar-nav-links.active {
        display: flex;
    }

    .main-navbar .navbar-nav-links li a {
        display: block;
        padding: 12px 16px;
        font-size: 15px;
    }

    .main-navbar .navbar-hamburger {
        display: block;
    }

    .main-navbar .navbar-actions {
        gap: 8px;
    }

    .main-navbar .navbar-download-btn span {
        display: none;
    }

    .main-navbar .navbar-download-btn {
        padding: 9px 14px;
    }
}

@media (max-width: 576px) {
    .main-navbar .navbar-container {
        padding: 0 16px;
    }

    .main-navbar .navbar-login-btn span {
        display: none;
    }
}

/* Activities Section */
.activities-section {
    padding: 60px 0 40px 0;
}

.activities-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 30px;
}

[dir="ltr"] .activities-header {
    justify-content: flex-end;
}

.activities-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--main-color);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.activities-leaf-icon {
    width: 24px;
    height: auto;
    object-fit: contain;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.activity-card {
    background: #ffffff;
    border: 1px solid #F0F0F0;
    border-radius: 16px;
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(4, 64, 43, 0.08);
    border-color: #E2E8F0;
}

.activity-icon-wrapper {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-icon-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.activity-card-title {
    font-size: 1.125rem;
    color: var(--main-color);
    font-weight: 600;
    margin: 0;
}

@media (max-width: 992px) {
    .activities-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .activities-title {
        font-size: 1.5rem;
    }

    .activity-card {
        padding: 24px 12px;
    }

    .activity-icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .activity-card-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .activities-header {
        justify-content: center;
    }

    [dir="ltr"] .activities-header {
        justify-content: center;
    }
}

/* Certified Gardens Section */
.certified-gardens-section .section-title {
    color: var(--main-color);
    margin-bottom: 2rem;
}

.certified-garden-card {
    background: #ffffff;
    border: 1px solid #ECECEC;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.certified-garden-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(4, 64, 43, 0.1);
    border-color: #E2E8F0;
}

.certified-garden-card .card-image-wrapper {
    position: relative;
    height: 200px;
    width: 100%;
}

.certified-garden-card .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.certified-garden-card .verified-badge,
.verified-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ffffff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.certified-garden-card .verified-badge img,
.verified-badge img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: block;
}

.certified-garden-card .heart-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ffffff;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s;
    border: 0;
    padding: 0;
    z-index: 5;
}

.certified-garden-card .heart-badge i {
    color: #9CA3AF;
    font-size: 16px;
}

.certified-garden-card .heart-badge:hover i,
.certified-garden-card .heart-badge.is-favourite i {
    color: #ef4444;
}

.certified-garden-card .heart-badge.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.certified-garden-card .card-content {
    padding: 20px;
}

.certified-garden-card .card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--main-color);
    margin: 0 0 16px 0;
    text-align: right;
}

[dir="ltr"] .certified-garden-card .card-title {
    text-align: left;
}

.certified-garden-card .card-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.certified-garden-card .stat-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #6B7280;
}

.certified-garden-card .stat-location i {
    color: var(--main-color);
}

.certified-garden-card .stat-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #F59E0B;
}

.certified-garden-card .card-btn {
    display: block;
    width: 100%;
    text-align: center;
    border: 1px solid var(--main-color);
    color: var(--main-color);
    padding: 10px 0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.certified-garden-card .card-btn:hover {
    background-color: var(--main-color);
    color: #ffffff;
}

[dir="ltr"] .certified-garden-card .verified-badge {
    left: auto;
    right: 12px;
}

[dir="ltr"] .certified-garden-card .heart-badge {
    right: auto;
    left: 12px;
}

/* Discover Nearby Parks Section */
.discover-parks-section {
    background-color: #F8F2EB;
    padding: 60px 0;
    margin-top: 50px;
    overflow: hidden;
}

.discover-parks-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.discover-parks-text {
    flex: 1;
    color: #666666;
    text-align: right;
}

[dir="ltr"] .discover-parks-text {
    text-align: left;
}

.discover-title {
    font-size: 2rem;
    font-weight: 800;
    color: #04402B;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.discover-desc {
    font-size: 1rem;
    color: #666666;
    margin: 0 0 30px 0;
    line-height: 1.7;
}

.discover-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #03462DF5;
    color: #ffffff;
    border: 1px solid #00412D80;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.discover-map-btn:hover {
    background-color: #04402B;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.map-btn-icon {
    font-size: 20px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.discover-parks-map {
    flex: 1.2;
    position: relative;
    min-height: 320px;
}

.map-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: none;
    /* removed shadow */
}

/* Nearest panel container overlayed on the map */
.nearest-panel {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    width: 376px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 16px;
    z-index: 10;
    box-sizing: border-box;
}

[dir="ltr"] .nearest-panel {
    right: auto;
    left: 24px;
}

.nearest-panel-header {
    margin-bottom: 12px;
}

.nearest-panel-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--main-color);
    margin: 0;
    text-align: right;
}

[dir="ltr"] .nearest-panel-title {
    text-align: left;
}

.nearest-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nearest-item {
    display: flex;
    flex-direction: row;
    /* RTL: right-to-left. Image is right, Actions are left */
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #ECECEC;
    gap: 12px;
    min-height: 100px;
    box-sizing: border-box;
}

.nearest-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.nearest-item:first-child {
    padding-top: 0;
}

.nearest-item-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.nearest-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nearest-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    text-align: right;
}

[dir="ltr"] .nearest-item-info {
    text-align: left;
}

.nearest-item-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nearest-item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: #666;
}

.nearest-item-city {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.nearest-item-city i {
    color: #9CA3AF;
    font-size: 0.85rem;
}

.nearest-item-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #F59E0B;
    font-weight: 600;
}

.nearest-item-rating i {
    font-size: 0.85rem;
}

.nearest-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

[dir="ltr"] .nearest-item-actions {
    align-items: flex-end;
}

.nearest-locator-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    text-decoration: none;
}

.nearest-locator-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border-color: #2563eb;
}

.nearest-price {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #22c55e;
    font-weight: 600;
    white-space: nowrap;
}

.nearest-price i {
    font-size: 0.8rem;
}

/* Map pin markers */
.map-pin {
    position: absolute;
    width: 28px;
    height: 28px;
    object-fit: contain;
    z-index: 4;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: pinBounce 2s ease-in-out infinite;
}

.map-pin-1 {
    top: 30%;
    left: 25%;
}

.map-pin-2 {
    top: 55%;
    left: 50%;
}

.map-pin-3 {
    bottom: 20%;
    left: 70%;
}

@keyframes pinBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .discover-parks-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .discover-parks-text {
        text-align: center;
    }

    .discover-parks-map {
        width: 100%;
        min-height: 280px;
    }

    .nearest-panel {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin-top: 24px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    }
}

@media (max-width: 768px) {
    .discover-parks-section {
        padding: 40px 0;
    }

    .discover-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .discover-parks-section {
        padding: 30px 0;
        margin-top: 30px;
    }

    .discover-title {
        font-size: 1.25rem;
    }

    .discover-desc {
        font-size: 0.9rem;
    }
}

/* ===== Upcoming Events Section ===== */
.upcoming-events-section {
    background-color: #FEFBF9;
    padding: 60px 0;
    margin-top: 0;
}

.upcoming-events-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.upcoming-events-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1A1A2E;
    text-align: center;
    margin: 0 0 40px 0;
}

.upcoming-events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.upcoming-event-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.upcoming-event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.upcoming-event-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.upcoming-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.upcoming-event-card:hover .upcoming-event-image img {
    transform: scale(1.08);
}

.event-date-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ffffff;
    border-radius: 10px;
    padding: 6px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    min-width: 48px;
}

[dir="ltr"] .event-date-badge {
    right: auto;
    left: 12px;
}

.event-date-day {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1A1A2E;
    line-height: 1.2;
}

.event-date-month {
    font-size: 0.7rem;
    font-weight: 600;
    color: #666;
    text-transform: capitalize;
}

.event-seats-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--main-color);
    color: #ffffff;
    border-radius: 8px;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

[dir="ltr"] .event-seats-badge {
    left: auto;
    right: 12px;
}

.event-seats-badge img.badge-ryal-icon {
    width: 14px;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    display: inline-block;
}

.upcoming-event-info {
    padding: 20px;
}

.upcoming-event-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1A1A2E;
    margin: 0 0 12px 0;
    text-align: right;
}

[dir="ltr"] .upcoming-event-name {
    text-align: left;
}

.upcoming-event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.upcoming-event-location,
.upcoming-event-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #666;
}

.upcoming-event-location i {
    color: var(--main-color);
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.upcoming-event-time i {
    color: #999;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.upcoming-event-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--main-color);
    color: #ffffff;
    padding: 12px 0;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.upcoming-event-btn:hover {
    background-color: #035c2a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(4, 64, 43, 0.3);
}

@media (max-width: 992px) {
    .upcoming-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .upcoming-events-grid {
        grid-template-columns: 1fr;
    }

    .upcoming-events-title {
        font-size: 1.5rem;
    }
}

/* ===== World Gardens Section ===== */
.world-gardens-section {
    padding: 80px 0;
}

.world-gardens-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.world-gardens-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--Primary-Color, #04402B);
    text-align: center;
    margin: 0 0 48px 0;
}

.world-gardens-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.world-garden-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    min-height: 420px;
    display: block;
    text-decoration: none;
    transition: all 0.35s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.world-garden-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.world-garden-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.world-garden-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.world-garden-card:hover .world-garden-image img {
    transform: scale(1.08);
}

.world-garden-verified-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ffffff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.world-garden-verified-badge img.badge-sealcheck-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: block;
}

.world-garden-card-wrap {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.world-garden-heart-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #666;
    transition: all 0.25s ease;
    border: 0;
    padding: 0;
    z-index: 5;
    cursor: pointer;
    font-size: 0.95rem;
}

.world-garden-heart-badge:hover,
.world-garden-heart-badge.is-favourite {
    color: #EF4444;
}

.world-garden-heart-badge.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

[dir="ltr"] .world-garden-verified-badge {
    left: auto;
    right: 12px;
}

[dir="ltr"] .world-garden-heart-badge {
    right: auto;
    left: 14px;
}

.world-garden-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 55%, transparent 100%);
    padding: 32px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    text-align: center;
}

.world-garden-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.world-garden-city {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    justify-content: center;
}

.world-garden-city i {
    color: #ffffff;
    font-size: 0.85rem;
}

.world-gardens-footer {
    text-align: center;
    margin-top: 40px;
}

.world-gardens-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--Primary-Color, #04402B);
    border: 1px solid var(--Stroke, #D1D1D1);
    padding: 12px 36px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0px 8px 12px -3px #03241E2E;
}

.world-gardens-view-all-btn:hover {
    background-color: var(--Primary-Color, #04402B);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0px 8px 16px -3px #03241E4D;
}

.verified-gardens-section .world-gardens-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
    .world-gardens-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .verified-gardens-section .world-gardens-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .world-garden-card {
        min-height: 320px;
        height: 100%;
    }
}

@media (max-width: 767.98px) {
    .world-gardens-grid,
    .verified-gardens-section .world-gardens-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .world-garden-card {
        min-height: 260px;
        height: 100%;
    }
}

/* ==========================================
   How Tarfihi Works Section
   ========================================== */
.how-works-section {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
}

.how-works-container {
    max-width: 1200px;
    margin: 0 auto;
}

.how-works-title {
    font-size: 2.2rem;
    color: #04402B;
    font-weight: 700;
    margin-bottom: 50px;
}

.how-works-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    position: relative;
}

/* For RTL layouts, order steps appropriately */
[dir="rtl"] .how-works-grid {
    flex-direction: row-reverse;
}

.how-works-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
    padding: 20px 10px;
    border-radius: 12px;
    position: relative;
    z-index: 2;
}

.step-icon-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #F59E0B;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
}

[dir="rtl"] .step-number {
    right: auto;
    left: -5px;
}

.step-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background-color: #FEFBF9;
    border: 2px dashed #04402B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #04402B;
    position: relative;
    transition: all 0.3s ease;
}

.step-icon i {
    font-size: 1.8rem;
}

/* Custom dual-icon for step 3 */
.step-icon .inner-star-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 0.7rem;
    color: #F59E0B;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #04402B;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.6;
    margin: 0;
    max-width: 220px;
}

/* Connecting Line */
.step-divider {
    flex-grow: 1;
    height: 2px;
    border-top: 2px dashed #04402B;
    opacity: 0.3;
    margin-top: -55px;
    /* Alignment with circle centers */
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .how-works-grid {
        flex-direction: column !important;
        gap: 30px;
    }

    .step-divider {
        display: none;
    }

    .how-works-step {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
}

/* ==========================================
   Download App Banner Section
   ========================================== */
.download-app-banner-section {
    padding: 10px 20px;
    background-color: #ffffff;
}

.download-app-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #04402B;
    border-radius: 24px;
    padding: 20px 40px;
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

.download-app-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

[dir="rtl"] .download-app-flex {
    flex-direction: row-reverse;
}

.download-app-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    margin-bottom: -25px;
    /* Overlap effect */
    margin-top: -5px;
}

.download-app-image img {
    max-width: 200px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

.download-app-content {
    flex: 1.5;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

[dir="rtl"] .download-app-content {
    text-align: center;
}

[dir="ltr"] .download-app-content {
    text-align: center;
}

.download-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.download-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 18px;
}

.download-buttons-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

[dir="rtl"] .download-buttons-group {
    justify-content: center;
}

[dir="ltr"] .download-buttons-group {
    justify-content: center;
}

.store-badge-btn img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.store-badge-btn:hover img {
    transform: scale(1.05);
}

.download-app-qr {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-app-qr img {
    width: 110px;
    height: 110px;
    background: #ffffff;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
    .download-app-banner-container {
        padding: 40px;
    }

    .download-app-flex {
        flex-direction: column !important;
        text-align: center;
    }

    .download-app-content {
        text-align: center !important;
    }

    .download-buttons-group {
        justify-content: center !important;
    }

    .download-app-image {
        margin-bottom: 0;
        margin-top: 0;
    }

    .download-app-qr {
        margin-top: 20px;
    }
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials-section {
    padding: 80px 20px;
    background-color: #FEFBF9;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #04402B;
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    direction: ltr;
    /* Always layout left-to-right internally for text vs user ordering */
}

/* Adjust order based on global LTR/RTL page direction */
[dir="rtl"] .testimonial-card {
    flex-direction: row-reverse;
}

.testimonial-content {
    flex: 1;
}

[dir="rtl"] .testimonial-content {
    text-align: right;
}

[dir="ltr"] .testimonial-content {
    text-align: left;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #444444;
    line-height: 1.6;
    margin-bottom: 12px;
}

.testimonial-stars {
    color: #F59E0B;
    font-size: 0.9rem;
    display: flex;
    gap: 4px;
}

[dir="rtl"] .testimonial-stars {
    justify-content: flex-start;
}

.testimonial-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 90px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #FEFBF9;
    color: #04402B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 2px;
    white-space: nowrap;
}

.testimonial-city {
    font-size: 0.78rem;
    color: #666666;
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

/* ==========================================
   Summer Offers Section
   ========================================== */
.summer-offers-section {
    padding: 40px 20px;
    background-color: #ffffff;
    overflow: visible;
}

.summer-offers-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #04402B;
    border-radius: 24px;
    padding: 30px 60px;
    color: #ffffff;
    position: relative;
    min-height: 220px;
    overflow: hidden;
}

.summer-offers-flex {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 30px;
}

[dir="rtl"] .summer-offers-flex {
    flex-direction: row-reverse;
}

.summer-offers-content {
    flex: 1.5;
}

[dir="rtl"] .summer-offers-content {
    text-align: right;
}

[dir="ltr"] .summer-offers-content {
    text-align: left;
}

.summer-offers-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.summer-offers-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    max-width: 600px;
    line-height: 1.6;
}

.summer-offers-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #04402B !important;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.summer-offers-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.summer-offers-image {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.summer-offers-image img {
    max-width: 380px;
    height: auto;
    object-fit: cover;
    object-position: top right;
}

@media (min-width: 992.02px) {
    .summer-offers-image {
        margin-top: -30px;
        margin-bottom: -30px;
        margin-right: -60px;
    }
}

@media (max-width: 992px) {
    .summer-offers-container {
        padding: 40px;
        min-height: auto;
    }

    .summer-offers-flex {
        flex-direction: column !important;
        text-align: center;
    }

    .summer-offers-content {
        text-align: center !important;
    }

    .summer-offers-image {
        margin-top: 20px;
        height: 150px;
    }

    .summer-offers-image img {
        position: relative;
        bottom: 0;
        max-width: 200px;
    }
}

/* ==========================================
   FAQ Section
   ========================================== */
.faq-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #04402B;
    text-align: center;
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: #FEFBF9;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-color: #04402B;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: right;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1A1A2E;
    cursor: pointer;
    gap: 15px;
}

[dir="rtl"] .faq-question {
    text-align: right;
}

[dir="ltr"] .faq-question {
    text-align: left;
}

.faq-arrow-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #04402B;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

[dir="rtl"] .faq-arrow-icon i {
    transform: rotate(0deg);
}

[dir="ltr"] .faq-arrow-icon i {
    transform: rotate(180deg);
}

.faq-item.active .faq-arrow-icon {
    background-color: #F59E0B;
    transform: rotate(-90deg);
}

/* Adjust rotational arrow for active state in LTR/RTL code */
[dir="ltr"] .faq-item.active .faq-arrow-icon {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 24px 20px 24px;
    display: none;
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-answer p {
    margin: 0;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}