@font-face {
  font-family: 'Almarai';
  src: url('/fonts/almarai/Almarai-Bold.woff2') format('woff2');
  font-weight: 600;
}

@font-face {
  font-family: 'Almarai';
  src: url('/fonts/almarai/Almarai-Regular.woff2') format('woff2');
  font-weight: normal;
}

@font-face {
  font-family: 'Almarai';
  src: url('/fonts/almarai/Almarai-Medium.woff2') format('woff2');
  font-weight: 300;
}

@font-face {
  font-family: 'Almarai';
  src: url('/fonts/almarai/Almarai-Light.woff2') format('woff2');
  font-weight: lighter;
}


:root {
  --color-navy: #063454;
  --color-navy-2: #0d4569;
  --color-teal: #35b6a7;
  --color-gold: #d9a021;
  --color-page: #f4f6fa;
  --color-white: #ffffff;
  --color-text: #12344a;
  --color-heading: #173d56;
  --color-muted: #64748b;
  --color-input: #173f5f;
  --color-border: #dbe4ec;
  --color-border-soft: #d7dee5;
  --color-blue: #0873b7;
  --color-navy-light: #0d4266;
  --color-navy-text: #173b55;
  --gradient-promo-navy: linear-gradient(
    135deg,
    #24668d 0%,
    #175679 32%,
    #104b70 65%,
    #083c5d 100%
  );
  --gradient-promo-teal-button: linear-gradient(
    180deg,
    #40c6b5 0%,
    #2eb5a5 45%,
    #209e91 100%
  );
  --gradient-promo-blue-button: linear-gradient(
    180deg,
    #23678e 0%,
    #155679 45%,
    #073d61 100%
  );
  --shadow-promo-card:
    0 3px 8px rgba(6, 52, 84, 0.12), 0 1px 2px rgba(6, 52, 84, 0.08);
  --shadow-promo-hover:
    0 8px 18px rgba(6, 52, 84, 0.16), 0 2px 5px rgba(6, 52, 84, 0.1);
    --shary-site-font: "Tajawal", sans-serif;
}

html {
  scroll-behavior: smooth;
  font-family:'Almarai';
  font-size:16px;
  font-weight: normal;
}

.container-x {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.hero-bg {
  background:
    linear-gradient(180deg, rgba(35, 126, 164, 0.18), rgba(4, 51, 79, 0.94)),
    radial-gradient(
      circle at 30% 15%,
      rgba(255, 255, 255, 0.25),
      transparent 28%
    ),
    linear-gradient(145deg, #8bc6e1 0%, #3e8faf 46%, #0b3c5b 100%);
}

.wave {
  clip-path: ellipse(78% 58% at 50% 100%);
}

.glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  scrollbar-width: none;
}

/* =========================================================
   SHARY MARKET TICKER
   COMPLETE CSS
   Movement is handled by JavaScript
========================================================= */


/* =========================================================
   MAIN TICKER
========================================================= */

.market-ticker {
    position: relative;

    width: 100%;
    height: 54px;

    display: flex;
    align-items: center;

    font-family: 'Almarai', sans-serif;
    font-weight: normal;

    /*
     * We control RTL/LTR manually below.
     * Do not let inherited page direction affect
     * the physical ticker structure.
     */
    direction: ltr;
}


/* =========================================================
   SHARY INDEX BADGE
========================================================= */

.market-ticker-badge {
    position: relative;

    z-index: 20;

    flex: 0 0 105px;

    width: 105px;
    min-width: 105px;
    height: 38px;

    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--color-navy-text);

    background: #082f4c;

    border: none;
    border-radius: 30px;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.08);

    font-size: 11px;
    font-weight: 800;

    overflow: visible;
}


/* =========================================================
   BADGE INNER
========================================================= */

.market-ticker-badge-inner {
    position: relative;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 4px;

    padding: 0 5px;

    box-sizing: border-box;

    border-radius: 999px;

    background: linear-gradient(
        180deg,
        #f8fafb 0%,
        #e9eef1 45%,
        #d8e0e5 100%
    );

    box-shadow:
        inset 0 2px 3px rgba(255, 255, 255, 0.95),
        inset 0 -2px 3px rgba(120, 140, 150, 0.22),
        inset 1px 0 2px rgba(255, 255, 255, 0.7),
        0 1px 2px rgba(0, 0, 0, 0.18);

    overflow: hidden;
}


/* badge light reflection */
.market-ticker-badge-inner::before {
    content: "";

    position: absolute;

    top: 2px;
    left: 7px;
    right: 7px;

    height: 45%;

    border-radius: 999px;

    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.75),
        rgba(255, 255, 255, 0)
    );

    pointer-events: none;

    z-index: 0;
}


/*
 * Make actual badge content appear above reflection.
 */
.market-ticker-badge-inner > * {
    position: relative;
    z-index: 1;
}


/* =========================================================
   LIVE DOT
========================================================= */

.market-ticker-dot {
    width: 7px;
    height: 7px;

    flex: 0 0 7px;

    border-radius: 50%;

    background: var(--color-teal);

    box-shadow:
        0 0 0 3px rgba(53, 182, 167, 0.13);

    animation: tickerPulse 1.8s ease-in-out infinite;
}


/* =========================================================
   BADGE ARROW
========================================================= */

.market-ticker-arrow {
    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    color: var(--color-navy-text);

    font-size: 10px;
    font-weight: 900;
    line-height: 1;

    border-radius: 50%;

    background: linear-gradient(
        145deg,
        #f4f6f7 0%,
        #d8dee2 100%
    );

    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.9),
        0 1px 2px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   VIEWPORT
========================================================= */

.market-ticker-viewport {
    position: relative;

    min-width: 0;
    height: 100%;

    flex: 1 1 auto;

    overflow: hidden;
}


/* =========================================================
   LEFT / RIGHT GRADIENT FADES
========================================================= */

.market-ticker-viewport::before,
.market-ticker-viewport::after {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    width: 42px;

    z-index: 6;

    pointer-events: none;
}


.market-ticker-viewport::before {
    left: 0;

    background: linear-gradient(
        90deg,
        var(--color-navy) 0%,
        rgba(6, 52, 84, 0) 100%
    );
}


.market-ticker-viewport::after {
    right: 0;

    background: linear-gradient(
        270deg,
        var(--color-navy) 0%,
        rgba(6, 52, 84, 0) 100%
    );
}


/* =========================================================
   FIXED LABELS
========================================================= */

.market-ticker-labels {
    position: absolute;

    top: 0;
    bottom: 0;

    width: 145px;

    z-index: 10;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 4px;

    padding: 0 10px;

    box-sizing: border-box;

    white-space: nowrap;

    background: var(--color-navy);

    color: rgba(255, 255, 255, 0.75);

    font-size: 9px;
    font-weight: 600;
    line-height: 1.3;

    pointer-events: none;
}


.market-ticker-labels span {
    display: block;

    width: 100%;

    text-align: center;
}


/* =========================================================
   ANIMATED TRACK
   IMPORTANT: JavaScript handles transform
========================================================= */

.market-ticker-track {
    position: relative;

    width: max-content;
    min-width: max-content;
    height: 100%;

    display: flex;
    align-items: center;

    flex-wrap: nowrap;

    gap: 0;

    margin: 0;
    padding: 0;

    /*
     * Keep duplicated groups in predictable physical order.
     */
    direction: ltr !important;

    /*
     * JS updates this transform every frame.
     */
    transform: translate3d(0, 0, 0);

    will-change: transform;

    /*
     * VERY IMPORTANT:
     * Stop any previous CSS ticker animation.
     */
    animation: none !important;
    transition: none !important;
}


/* =========================================================
   EACH DUPLICATED GROUP
========================================================= */

.market-ticker-group {
    position: relative;

    height: 100%;

    display: flex;
    align-items: center;

    flex: 0 0 auto;
    flex-shrink: 0;

    flex-wrap: nowrap;

    gap: 0;

    margin: 0;
    padding: 0;

    /*
     * Physical ordering must remain LTR even on Arabic pages.
     */
    direction: ltr;
}


/* =========================================================
   MARKET ITEM
========================================================= */

.market-item {
    position: relative;

    width: 152px;
    min-width: 152px;
    height: 32px;

    flex: 0 0 152px;

    padding: 0 22px;

    box-sizing: border-box;

    display: grid;

    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 1fr 1fr;

    align-items: center;

    column-gap: 12px;

    color: var(--color-white);

    white-space: nowrap;

    overflow: hidden;
}


/* =========================================================
   PRICE
========================================================= */

.market-value {
    grid-column: 2;
    grid-row: 1;

    align-self: end;

    font-size: 9px;
    font-weight: 900;
    line-height: 1;

    color: var(--color-white);

    white-space: nowrap;
}


/* =========================================================
   CITY NAME
========================================================= */

.market-name {
    grid-column: 1;
    grid-row: 1 / span 2;

    align-self: center;

    min-width: 0;
    max-width: 100px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    font-size: 9px;
    font-weight: 600;
    line-height: 1.2;

    color: rgba(255, 255, 255, 0.88);
}


/* =========================================================
   CHANGE VALUE
========================================================= */

.market-change {
    grid-column: 2;
    grid-row: 2;

    align-self: start;

    font-size: 8px;
    font-weight: 900;
    line-height: 1;

    white-space: nowrap;
}


.market-change.up {
    color: #35d2bd;
}


.market-change.down {
    color: #ff9b9b;
}


/* =========================================================
   ENGLISH / LTR
========================================================= */

.market-ticker-section[dir="ltr"] .market-ticker {
    flex-direction: row;

    direction: ltr;
}


/*
 * BADGE LEFT
 *
 * [ SHARY INDEX ][ LABEL ][ MOVING DATA... ]
 */
.market-ticker-section[dir="ltr"] .market-ticker-badge {
    order: 1;
}


.market-ticker-section[dir="ltr"] .market-ticker-viewport {
    order: 2;

    margin-left: 8px;
    margin-right: 0;
}


/* fixed labels on LEFT */
.market-ticker-section[dir="ltr"] .market-ticker-labels {
    left: 0;
    right: auto;

    direction: ltr;

    border-right:
        1px solid rgba(255, 255, 255, 0.15);

    border-left: none;
}


/* LTR market item */
.market-ticker-section[dir="ltr"] .market-item {
    direction: ltr;

    border-right:
        1px solid rgba(255, 255, 255, 0.15);

    border-left: none;
}


/* LTR name */
.market-ticker-section[dir="ltr"] .market-name {
    text-align: left;
}


/* LTR numbers */
.market-ticker-section[dir="ltr"] .market-value,
.market-ticker-section[dir="ltr"] .market-change {
    text-align: left;
}


/* LTR badge */
.market-ticker-section[dir="ltr"]
.market-ticker-badge-inner {
    direction: ltr;
}


/* =========================================================
   ARABIC / RTL
========================================================= */

.market-ticker-section[dir="rtl"] .market-ticker {
    /*
     * row-reverse physically puts badge on RIGHT.
     */
    flex-direction: row-reverse;

    /*
     * Keep parent physical calculations predictable.
     */
    direction: ltr;
}


/*
 * VIEWPORT --------------------- BADGE
 */
.market-ticker-section[dir="rtl"] .market-ticker-badge {
    order: 1;
}


.market-ticker-section[dir="rtl"] .market-ticker-viewport {
    order: 2;

    margin-right: 8px;
    margin-left: 0;
}


/* fixed labels on RIGHT */
.market-ticker-section[dir="rtl"] .market-ticker-labels {
    right: 0;
    left: auto;

    direction: rtl;

    border-left:
        1px solid rgba(255, 255, 255, 0.15);

    border-right: none;
}


/* RTL market item */
.market-ticker-section[dir="rtl"] .market-item {
    direction: rtl;

    border-left:
        1px solid rgba(255, 255, 255, 0.15);

    border-right: none;
}


/* RTL city */
.market-ticker-section[dir="rtl"] .market-name {
    text-align: right;
}


/* RTL numbers */
.market-ticker-section[dir="rtl"] .market-value,
.market-ticker-section[dir="rtl"] .market-change {
    text-align: right;
}


/* RTL badge content */
.market-ticker-section[dir="rtl"]
.market-ticker-badge-inner {
    direction: rtl;
}


/* =========================================================
   DOT PULSE ANIMATION
   This animation stays CSS because it is only the green dot.
========================================================= */

@keyframes tickerPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.72);
        opacity: 0.55;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .market-ticker-labels {
        width: 130px;

        padding-left: 8px;
        padding-right: 8px;

        font-size: 8px;
    }


    .market-item {
        width: 140px;
        min-width: 140px;

        flex-basis: 140px;

        padding-left: 18px;
        padding-right: 18px;

        column-gap: 10px;
    }


    .market-name {
        max-width: 88px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    /* =====================================================
       MAIN
    ===================================================== */

    .market-ticker {
        height: 52px;
    }


    /* =====================================================
       BADGE
    ===================================================== */

    .market-ticker-badge {
        width: 115px;
        min-width: 115px;

        flex-basis: 115px;

        height: 36px;

        font-size: 9px;
    }


    .market-ticker-badge-inner {
        gap: 3px;

        padding-left: 5px;
        padding-right: 5px;
    }


    /* =====================================================
       BADGE DOT
    ===================================================== */

    .market-ticker-dot {
        width: 6px;
        height: 6px;

        flex-basis: 6px;

        box-shadow:
            0 0 0 2px rgba(53, 182, 167, 0.13);
    }


    /* =====================================================
       BADGE ARROW
    ===================================================== */

    .market-ticker-arrow {
        width: 17px;
        height: 17px;

        flex-basis: 17px;

        font-size: 9px;
    }


    /* =====================================================
       FIXED LABELS
    ===================================================== */

    .market-ticker-labels {
        width: 105px;

        gap: 3px;

        padding-left: 6px;
        padding-right: 6px;

        font-size: 7px;

        line-height: 1.25;
    }


    /* =====================================================
       MARKET ITEMS
    ===================================================== */

    .market-item {
        width: 130px;
        min-width: 130px;

        flex-basis: 130px;

        height: 32px;

        padding-left: 15px;
        padding-right: 15px;

        column-gap: 8px;
    }


    .market-value {
        font-size: 8px;
    }


    .market-name {
        max-width: 76px;

        font-size: 8px;
    }


    .market-change {
        font-size: 7px;
    }


    /* =====================================================
       EDGE FADES
    ===================================================== */

    .market-ticker-viewport::before,
    .market-ticker-viewport::after {
        width: 25px;
    }


    /* =====================================================
       LTR SPACING
    ===================================================== */

    .market-ticker-section[dir="ltr"]
    .market-ticker-viewport {
        margin-left: 5px;
        margin-right: 0;
    }


    /* =====================================================
       RTL SPACING
    ===================================================== */

    .market-ticker-section[dir="rtl"]
    .market-ticker-viewport {
        margin-right: 5px;
        margin-left: 0;
    }
}

.investment-section {
  padding: 40px 0;
}

.investment-section-inner {
  width: 100%;
  padding: 0 24px;
  box-sizing: border-box;
}

.investment-heading {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.investment-heading a {
  color: var(--color-muted);
  text-decoration: none;
}

.investment-shortcuts {
  width: 100%;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  margin-bottom: 18px;
  padding-bottom: 4px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.investment-shortcuts::-webkit-scrollbar {
  display: none;
}

.investment-shortcut {
  flex: 0 0 120px;
  width: 120px;
  min-width: 120px;
  text-decoration: none;
  text-align: center;
  justify-content: center;
  color: rgb(26, 32, 40);    
  border: 1px solid var(--color-border-soft);
  border-radius: 14px;
  box-shadow: 0 2px 6px #0634540d;
  background: var(--color-white);
}

.investment-shortcut-icon {
  width: 100%;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.investment-shortcut-icon img {
  width: 40px;
  height: 40px;
  color: #99BDD6;
}

.investment-shortcut span {
  display: block;
  margin-top: 7px;
  font-size: 14px;
  font-family: 'Almarai';
  font-weight: 300;
  white-space: nowrap;
  margin-bottom: 7px;
}

.investment-promo-grid {
  width: max-content;
  display: flex;
  gap: 10px;
  /* direction: rtl; */
}

.investment-promo-carousel {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.investment-promo-carousel::-webkit-scrollbar {
  display: none;
}

.investment-promo-card {
  position: relative;
  isolation: isolate;
  width: 200px;
  flex: 0 0 200px;
  min-width: 0;
  padding: 10px 12px 9px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  box-shadow:
    0 3px 8px rgba(6, 52, 84, 0.12),
    0 1px 2px rgba(6, 52, 84, 0.08);
  align-items: center;
}

.investment-promo-card::before {
  content: "";
  position: absolute;
  top: -70%;
  left: -25%;
  width: 85%;
  height: 190%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.24) 0%,
    rgba(255, 255, 255, 0.12) 22%,
    rgba(255, 255, 255, 0.04) 42%,
    transparent 65%
  );
  transform: rotate(12deg);
  pointer-events: none;
  z-index: 0;
}

.investment-promo-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  width: 84%;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  pointer-events: none;
  z-index: 2;
}

.investment-promo-card > * {
  position: relative;
  z-index: 3;
}

.investment-promo-card {
  box-shadow:
    0 8px 18px rgba(6, 52, 84, 0.16),
    0 2px 5px rgba(6, 52, 84, 0.1);
  filter: brightness(1.03);
}

.promo-map {
  background-image: url('../ui/images/egypt-map-bg.png');
  background-size: cover;
  color: var(--color-white);
  background-repeat: no-repeat;
}

.eg-promo-button {
  background-color: #08A69B;
}

.promo-card-shary,
.promo-navy {
  color: var(--color-white);
}

.promo-card-shary{
  background-image: url('../ui/images/shary-card-bg.png');
  background-size: cover;
  background-repeat: no-repeat;
}

.promo-white {
  background: linear-gradient(
    135deg,
    var(--color-white) 0%,
    var(--color-white) 42%,
    #f7fafc 72%,
    #edf3f6 100%
  );
  color: var(--color-heading);
  border: 1px solid #d7e0e6;
  box-shadow:
    0 3px 8px rgba(6, 52, 84, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.promo-card-content {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  direction: ltr;
  margin: auto;
  font-family: 'Almarai';
  font-weight: normal;
}

.promo-title {
  min-width: 0;
  padding-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.promo-title h3 {
  margin: 0 10;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
  white-space: nowrap;
  padding: 0 10px;
}

.promo-trending-card .promo-title h3 {
  color: #1D4265;
}

.promo-sales-card .promo-title h3 {
  color: var(--color-white);
}

.promo-sales-button {
  background-color: #08A69B;
  color: var(--color-white);
}

.promo-sahel-map {
  background-image: url('../ui/images/sahel-map-bg.png');
  background-size: cover;
  background-repeat: no-repeat;
}

.promo-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: visible;
}

.promo-icon img {
  width: 54px;
  height: 60px;
  display: block;
}

.promo-button {
  position: relative;
  width: 65%;
  height: 25px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: inherit;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition:
    transform 0.15s ease,
    filter 0.15s ease,
    box-shadow 0.15s ease;
}

.promo-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  width: 76%;
  height: 48%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.03)
  );
  border-radius: 999px;
  pointer-events: none;
}

.promo-button > * {
  position: relative;
  z-index: 1;
}

.promo-button span {
  font-size: 12px;
  line-height: 1;
}

.promo-map .promo-button {
  color: var(--color-white);
}

.promo-card-shary .promo-button,
.promo-navy .promo-button {
  background: var(--gradient-promo-teal-button);
  color: var(--color-white);
}

.shary-promo-button {
  background: linear-gradient(180deg, #1D4265 0%, #4DBFB1 100%);
}

.promo-trending-card {
  background-image: url('../ui/images/trending-card-bg.png');
  background-size: cover;
  background-repeat: no-repeat;
}

.promo-trending-button {
  background-color: #1D4265;
  color: var(--color-white);
}

.promo-white .promo-button {
  background: var(--gradient-promo-blue-button);
  color: var(--color-white);
}

.promo-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    0 3px 7px rgba(0, 0, 0, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.promo-button:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.promo-sales-card {
  background-image: url('../ui/images/offers-card-bg.png');
  background-size: cover;
  background-repeat: no-repeat;
}

@media (max-width: 900px) {
  .investment-section-inner {
    padding: 0 16px;
  }
  .investment-shortcuts {
    gap: 10px;
  }
  .investment-shortcut-icon {
    height: 68px;
  }
  .investment-shortcut-icon img {
    width: 27px;
    height: 27px;
  }
  .investment-shortcut span {
    font-size: 9px;
  }
  .investment-promo-grid {
    gap: 10px;
  }
  .investment-promo-card {
    height: 102px;
  }
}

@media (max-width: 600px) {
  .investment-section-inner {
    padding: 0 12px;
  }
  .investment-heading {
    margin-bottom: 14px;
  }

  .investment-shortcuts {
    gap: 8px;
    margin-bottom: 12px;
  }
  .investment-shortcut {
    align-items: center;
    min-height: 62px;
    padding: 8px 10px;
    background: var(--color-white);
    border: 1px solid var(--color-border-soft);
    border-radius: 12px;
    /* text-align: right; */
    gap: 9px;
    box-sizing: border-box;
    text-align: center;
    justify-items: center;
  }
  .investment-shortcut-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    background: #f5f9fc;
  }
  .investment-shortcut-icon img {
    width: 22px;
    height: 22px;
  }
  .investment-shortcut span {
    margin-top: 0;
    font-size: 9px;
    line-height: 1.4;
    white-space: normal;
  }
  .investment-promo-grid {
    gap: 8px;
  }
  .investment-promo-card {
    min-height: 105px;
    padding: 12px;
    border-radius: 13px;
  }
  .promo-card-content {
    gap: 8px;
  }
  .promo-title {
    padding-top: 2px;
  }
  .promo-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .promo-icon img {
    width: 36px;
    height: 50px;
  }
  .promo-card-content h3 {
    font-size: 12px;
  }
  .promo-card-content p {
    font-size: 8px;
  }
  .investment-promo-card button {
    height: 20px;
    font-size: 9px;
  }
  .promo-button span {
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .investment-section-inner {
    padding: 0 8px;
  }
  .investment-shortcuts {
    gap: 6px;
  }
  .investment-shortcut {
    min-height: 56px;
    padding: 6px 7px;
    gap: 6px;
  }
  .investment-shortcut-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  .investment-shortcut-icon img {
    width: 19px;
    height: 19px;
  }
  .investment-shortcut span {
    font-size: 8px;
  }
  .investment-promo-card {
    min-height: 98px;
    padding: 10px;
  }
  .promo-card-content h3 {
    font-size: 10px;
  }
  .promo-card-content p {
    font-size: 7px;
  }
  .investment-promo-card button {
    height: 20px;
    font-size: 8px;
  }

}

@media (max-width: 360px) {
  .promo-button {
    gap: 4px;
  }
  .promo-button span {
    font-size: 9px;
  }
}

.project-card {
  position: relative;
}

.best-projects-carousel {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.best-projects-carousel::-webkit-scrollbar {
  display: none;
}

.best-projects-track {
  width: max-content;
  display: flex;
  gap: 16px;
}

.project-favourite {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.5rem;
  background: var(--color-white);
  color: #000;
  font-family: Arial, sans-serif;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.project-favourite:hover {
  background: rgba(255, 255, 255, 0.28);

  border-color: rgba(255, 255, 255, 0.65);

  transform: scale(1.08);
}

.project-favourite.active {
  background: rgba(255, 255, 255, 0.95);

  color: #e53935;

  border-color: var(--color-white);
}

@media (max-width: 640px) {
  .project-favourite {
    top: 8px;
    left: 8px;

    width: 29px;
    height: 29px;

    font-size: 19px;
  }
}

.new-projects-section {
  overflow: hidden;
  background: var(--color-white);
}

.new-projects-header {
  width: 100%;
  padding: 0 1%;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  /* direction: rtl; */
}

.new-project-card, .project-card {
  font-family: 'Almarai';
  font-weight: normal;
}

.new-projects-view-all {
  text-decoration: none;
  cursor: pointer;
}

/* CAROUSEL */
.new-projects-carousel {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 2%;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
}

.new-projects-carousel::-webkit-scrollbar {
  display: none;
}

.new-projects-track {
  width: max-content;
  min-width: 100%;
  display: flex;
  gap: 10px;
  /* direction: ltr; */
  box-sizing: border-box;
}

.new-projects-carousel.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.new-projects-carousel.dragging .new-project-card {
  cursor: grabbing;
}

.new-project-card {
  flex: 0 0 auto;
}

/* CARDS */
.new-project-card {
  position: relative;
  flex: 0 0 500px;
  width: 500px;
  height: 185px;
  min-width: 0;
  border-radius: 11px;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  scroll-snap-align: center;
  box-shadow: 0 3px 8px rgba(6, 52, 84, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

/* Active card */
.new-project-card.active {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 52, 84, 0.22);
  filter: brightness(1.05);
}

.new-project-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 7px 16px rgba(6, 52, 84, 0.18);
  cursor: pointer;
}

.new-project-card::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -20%;
  width: 75%;
  height: 280%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.09) 30%,
    transparent 65%
  );
  transform: rotate(12deg);
  pointer-events: none;
  z-index: 0;
}

.new-project-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  width: 84%;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  pointer-events: none;
  z-index: 2;
}

/* PAGINATION */
.new-projects-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 12px;
  direction: ltr;
}

.new-projects-pagination span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #cbd8df;
  cursor: pointer;
  transition:
    width 0.2s ease,
    background 0.2s ease;
}

.new-projects-pagination span.active {
  width: 14px;
  background: var(--color-navy);
}

@media (max-width: 640px) {

  .new-projects-carousel {
    padding: 0 4%;
  }

  .new-projects-track {
    gap: 8px;
  }

  .new-project-card {
    flex-basis: 82vw;
    width: 82vw;
    height: 110px;
  }

  .new-projects-pagination {
    margin-top: 10px;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .new-project-card {
    flex-basis: 300px;
    width: 300px;
  }
}

.new-project-content {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: start;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0)
  ); 
  pointer-events: none;
  right: 10px;
  margin-top: auto;
  transition:
    background-color 0.3s ease,
    backdrop-filter 0.3s ease;
}

.new-project-content:hover {
    background-color: rgba(41, 68, 94, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.new-project-content h3 {
  margin: 0px 10px;
  color: var(--color-white);
  font-size: 17px;
  line-height: 1.1;
  font-weight: 900;
}

.new-project-content p {
  margin: 5px 10px;
  /* color: rgba(255, 255, 255, 0.75); */
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
}

.new-project-badge {
  position: absolute;
  top: 8px;
  right: 9px;
  z-index: 5;
  height: 14px;
  min-width: 42px;
  padding: 0 7px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  pointer-events: none;
}

.new-projects-pagination {
  width: 100%;
  height: 14px;
  margin-top: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  direction: ltr;
}

.new-projects-pagination span {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cbd5df;
}

.new-projects-pagination span.active {
  width: 10px;
  border-radius: 999px;
  background: #124d73;
}

@media (max-width: 900px) {
  .new-projects-header {
    padding: 0 3%;
  }

  .new-projects-carousel {
    padding: 0 1.5%;
  }

  .new-project-card {
    height: 135px;
  }
}

@media (max-width: 400px) {
  .new-projects-header {
    padding: 0 12px;
  }

  .new-projects-carousel {
    padding: 0 7px;
  }

  .new-project-card {
    height: 120px;
    border-radius: 9px;
  }

  .new-project-content h3 {
    font-size: 10px;
  }

  .new-project-content p {
    font-size: 8px;
  }
}

.compounds-content {
  font-weight: 900;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0)
  );
  transition:
    background-color 0.3s ease,
    backdrop-filter 0.3s ease;
}

/* Shared Horizontal Scroll */
.horizontal-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.horizontal-scroll::-webkit-scrollbar {
  display: none;
}

.horizontal-scroll.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.horizontal-scroll > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.areas-container {
  max-width: 1180px;
  margin: 0 auto;
  box-sizing: border-box;
}

.promo-banners-carousel {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  box-sizing: border-box;
}

.promo-banners-carousel::-webkit-scrollbar {
  display: none;
}

.promo-banners-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  width: max-content;
}

.shary-promo-banner {
  position: relative;
  flex: 0 0 500px;
  width: 500px;
  height: 160px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(
    105deg,
    #35b7aa 0%,
    #3dbbb0 35%,
    #8bd8d0 75%,
    #d8f3ef 100%
  );
  box-shadow: 0 2px 8px rgba(0, 60, 80, 0.06);
  isolation: isolate;
}

@media (max-width: 640px) {
  .shary-promo-banner {
    flex-basis: 260px;
    width: 260px;
    height: 85px; 
  }
}

.promo-brand {
  position: absolute;
  top: 7px;
  left: 13px;
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--color-white);
  font-size: 5px;
  font-weight: 700;
  direction: ltr;
  z-index: 5;
}

.promo-brand-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-white);
}

.promo-phone-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-7deg);
  z-index: 4;
}

.promo-phone {
  position: relative;
  width: 29px;
  height: 58px;
  padding: 3px;
  box-sizing: border-box;
  border-radius: 5px;
  background: #152d35;
  border: 1px solid #183840;
  box-shadow: 0 3px 7px rgba(0, 50, 60, 0.25);
}

.promo-phone::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: #243d42;
}

.phone-screen {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: linear-gradient(180deg, #f8fbfb, #dcefee);
}

.phone-line {
  position: absolute;
  top: 10px;
  left: 4px;
  width: 13px;
  height: 2px;
  border-radius: 999px;
  background: #7da4a5;
}

.phone-line.short {
  top: 15px;
  width: 8px;
  opacity: 0.7;
}

.phone-message {
  position: absolute;
  top: 20px;
  left: 7px;
  width: 16px;
  height: 11px;
  padding: 2px;
  box-sizing: border-box;
  border-radius: 2px;
  background: var(--color-white);
  color: #24515b;
  font-size: 2.5px;
  line-height: 1.1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.phone-message b {
  display: block;
  font-size: 2.4px;
}

.phone-button {
  position: absolute;
  left: 4px;
  bottom: 8px;
  width: 19px;
  height: 8px;
  border-radius: 2px;
  background: #2db3a4;
}

.promo-curve {
  position: absolute;
  right: 14%;
  top: -50px;
  width: 170px;
  height: 190px;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transform: rotate(-18deg);
  z-index: 1;
}

.promo-bottom-info {
  position: absolute;
  left: 12px;
  bottom: 7px;
  color: var(--color-white);
  z-index: 5;
}

.promo-small-title {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 4px;
}

.promo-small-title span:first-child {
  font-size: 4px;
}

.promo-socials {
  display: flex;
  gap: 4px;
  margin-top: 4px;
  font-size: 5px;
  opacity: 0.9;
}

.promo-download {
  position: absolute;
  right: 11px;
  bottom: 7px;
  z-index: 5;
  color: #15424d;
  text-align: right;
}

.promo-download-title {
  display: flex;
  flex-direction: column;
  font-size: 4px;
  line-height: 1.3;
}

.promo-download-title strong {
  font-size: 5px;
}

.promo-store-buttons {
  display: flex;
  gap: 3px;
  margin-top: 3px;
}

.promo-store-buttons span {
  padding: 2px 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 3.5px;
  white-space: nowrap;
}

.areas-section {
  padding-top: 18px;
  padding-bottom: 28px;
}

.areas-header {
  width: 100%;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.areas-header a {
  text-decoration: none;
}

.areas-grid {
  width: max-content;
  display: flex;
  gap: 25px;
}

.areas-carousel {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.areas-carousel::-webkit-scrollbar {
  display: none;
}

.area-card {
  position: relative;
  flex: 0 0 275px;
  width: 275px;
  height: 200px;
  padding: 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--color-heading);
  background: var(--color-white);
  border: 1px solid #dce2e6;
  border-radius: 11px;
  box-shadow: 0 2px 5px rgba(0, 50, 70, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  margin-top: 4px;
}

.area-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 50, 70, 0.12);
}

.area-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.area-card h3 {
  margin: 0;
  color: var(--color-heading);
  font-family: 'Almarai';
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  white-space: nowrap;
}

.area-subtitle {
  margin: 2px 0 0;
  color: #a1aab2;
  font-size: 10px;
  line-height: 1;
}

.area-divider {
  width: 85%;
  height: 1px;
  margin-top: 7px;
  margin-bottom: 5px;
  background: #e5e9ec;
}

.area-stats {
  width: 85%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.area-stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.area-stats > div + div {
  border-right: 1px solid #e3e8eb;
}

.area-stats strong {
  color: var(--color-heading);
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}

.area-stats span {
  margin-top: 2px;
  color: #8e999f;
  font-size: 10px;
  line-height: 1;
}

.properties-headline-3 {
  font-family: 'Almarai';
  font-weight: 600;
  font-size: 24px;
}

.properties-headline-6 {
  font-size: 16px;
}

@media (max-width: 800px) {
  .areas-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .shary-promo-banner {
    height: 100px;
  }

  .areas-grid {
    gap: 6px;
  }

  .area-card {
    height: 180px;
  }

  .area-subtitle, .area-stats span {
    font-size: 13px !important;
  }

  .headline-2 {
    font-size: 16px !important;
  }

  .show-all-btn {
    font-size: 15px !important;
  }

  .properties-headline-6 {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .shary-promo-banner {
    height: 100px;
    border-radius: 7px;
  }

  .promo-phone {
    transform: scale(0.9);
  }

  .areas-section {
    padding-top: 7px;
  }

  .areas-grid {
    gap: 6px;
  }

  .area-card {
    height: 160px;
    flex: 0 0 165px;    
    width: 165px;
    padding: 9px 4px 6px;
    border-radius: 9px;
  }

  .area-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 4px;
  }

  .area-icon svg {
    width: 15px;
    height: 15px;
  }

  .area-card h3 {
    font-size: 15px;
  }

  .area-divider {
    width: 88%;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .area-stats {
    width: 90%;
  }

  .area-stats strong {
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .shary-promo-banner {
    height: 90px;
  }

  .area-card {
    height: 145px;
    padding-top: 7px;
  }

  .area-icon {
    width: 27px;
    height: 27px;
  }

  .area-card h3 {
    font-size: 15px;
  }
}

.recommended-section {
  background: #f5f7f8;
}

.recommended-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  box-sizing: border-box;
}

.recommended-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* direction: rtl; */
  margin-bottom: 9px;
}

.recommended-header a {
  text-decoration: none;
}

.recommended-grid {
  width: max-content;
  display: flex;
  gap: 15px;
  /* direction: rtl; */
}

.recommended-carousel {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.recommended-carousel::-webkit-scrollbar {
  display: none;
}

.property-card {
  flex: 0 0 300px;
  width: 300px;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid #d8e0e5;
  border-radius: 13px;
  box-shadow: 0 2px 5px rgba(8, 50, 70, 0.1);
  /* direction: rtl; */
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.property-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(8, 50, 70, 0.15);
}

.property-image {
  position: relative;
  height: 150px;
  overflow: hidden;
  border-bottom: 3px solid rgba(20, 62, 82, 0.55);
}

.building-skyline {
  position: absolute;
  bottom: 0;
  height: 75px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  opacity: 0.72;
  z-index: 1;
}

.property-badge {
  position: absolute;
  top: 7px;
  right: 8px;
  z-index: 5;
  min-width: 52px;
  height: 16px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 999px;
  background: #238e81;
  color: var(--color-white);
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.property-actions, .compounds-actions {
  position: absolute;
  top: 7px;
  left: 8px;
  z-index: 6;
  display: flex;
  gap: 3px;
  direction: ltr;
}

.property-actions button {
  width: 19px;
  height: 19px;
  padding: 3px;
  border: 1px solid #d5dfe4;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  color: #174761;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.property-actions button:hover {
  transform: scale(1.08);
  background: var(--color-white);
}

.property-actions svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.property-actions button:first-child svg {
  fill: currentColor;
  stroke: none;
}

.property-year {
  position: absolute;
  right: 9px;
  bottom: 3px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--color-white);
  line-height: 1;
}

.property-year span {
  font-size: 10px;
  opacity: 0.95;
}

.property-year strong {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 900;
}

.property-content {
  padding: 8px 8px 7px;
  box-sizing: border-box;
}

.property-main {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  /* direction: ltr; */
}

.developer-logo {
  width: 55px;
  height: 50px;
  flex: 0 0 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e7ea;
  border-radius: 50%;
  background: var(--color-white);
  color: #667b86;
  font-size: 4px;
  font-weight: 800;
  direction: ltr;
}

.developers-carousel {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.developers-carousel::-webkit-scrollbar {
  display: none;
}

.developers-track {
  width: max-content;
  display: flex;
  gap: 12px;
}

.developer-card {
  flex: 0 0 112px;
  width: 112px;
  height: 112px;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #64748b;
}

.property-info {
  flex: 1;
  min-width: 0;
  text-align: start;
}

.property-location {
  margin: 0;
  color: #7d8b93;
  font-size: 9px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-info h3 {
  margin: 2px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-divider {
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: #e4e9ec;
}

.property-details {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* direction: rtl; */
  white-space: nowrap;
}

.detail-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.property-details span {
  display: flex;
  align-items: center;
  gap: 2px;
}

.property-payment {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  white-space: nowrap;
}

.property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
  margin-top: 5px;
}

.property-contact-buttons {
  display: flex;
  align-items: center;
  gap: 4px;
  direction: ltr;
}

.property-contact-buttons a {
  width: 27px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.property-contact-buttons a:hover {
  transform: scale(1.08);
}

.property-contact-buttons svg {
  width: 17px;
  height: 17px;
  fill: var(--color-white);
}

.property-contact-buttons .phone-symbol {
  fill: #20ca6a;
}

.property-price {
  color: #1b2831;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.property-price small {
  margin-left: 2px;
  font-size: 10px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .recommended-grid {
    gap: 8px;
  }

  .property-image {
    height: 150px;
  }
}

@media (max-width: 600px) {
  .recommended-section {
    padding-top: 5px;
  }

  .recommended-container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .recommended-header {
    margin-bottom: 8px;
  }

  .recommended-header a {
    font-size: 8px;
  }

  .recommended-grid {
    gap: 6px;
  }

  .property-image {
    height: 145px;
  }

  .property-content {
    padding: 7px 6px 6px;
  }

  .property-main {
    min-height: 34px;
    gap: 5px;
  }

  .developer-logo {
    width: 45px;
    height: 45px;
    flex-basis: 45px;
    font-size: 3.5px;
  }

  .contact-buttons a {
    width: 23px;
    height: 23px;
  }

  .contact-buttons svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 380px) {
  .recommended-grid {
    gap: 5px;
  }

  .property-image {
    height: 145px;
  }

  .property-content {
    padding: 6px 5px;
  }

  .property-badge {
    min-width: 45px;
    height: 14px;
    font-size: 8px;
  }

  .property-actions {
    left: 5px;
    top: 6px;
    gap: 2px;
  }

  .property-actions button {
    width: 17px;
    height: 17px;
  }

  .property-year strong {
    font-size: 10px;
  }

  .property-price {
    font-size: 9px;
  }

  .contact-buttons a {
    width: 21px;
    height: 21px;
  }
}

.contact-section {
  width: 100%;
  padding: 50px 20px;
  background: #f4f7fa;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  /* direction: rtl; */
}

.contact-card {
  width: 100%;
  max-width: 380px;
  padding: 24px;
  box-sizing: border-box;
  background: linear-gradient(180deg, #eef5fb 0%, #e5edf6 100%);
  border: 1px solid #cbdceb;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(20, 60, 90, 0.08);
  /* direction: rtl; */
}

.contact-label {
  margin: 0;
  color: #07947f;
  font-size: 11px;
  font-weight: 800;
}

.contact-header h2 {
  margin: 4px 0;
  color: #073b59;
  line-height: 1.4;
}

.contact-description {
  margin: 0 0 18px;
  color: #71818c;
  font-size: 11px;
  line-height: 1.6;
}

.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-field {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-field label {
  color: #000;
  font-size: 10px;
  font-weight: 700;
}

.contact-field label span {
  color: #d35454;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  outline: none;
  background: var(--color-white);
  color: #50636d;
  border-radius: 5px;
  font-family: inherit;
  font-size: 11px;
  text-align: start;
}

.contact-field input {
  height: 34px;
  padding: 0 10px;
}

.contact-field select {
  height: 34px;
  padding: 0 10px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.contact-field textarea {
  height: 70px;
  padding: 10px;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #a5afb5;
}

.egypt-flag {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper select {
  padding-left: 30px;
}

.select-arrow {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #496b7c;
  font-size: 14px;
  pointer-events: none;
}

.contact-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 5px;
}

.contact-buttons button {
  width: 100%;
  height: 36px;
  border: 0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  color: var(--color-white);
  cursor: pointer;
  box-shadow: 0 3px 7px rgba(10, 50, 80, 0.25);
  transition: 0.15s ease;
}

.contact-buttons button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.contact-submit,
.contact-call {
  background: linear-gradient(
    to bottom,
    #39749e 0%,
    #245a80 25%,
    #12466d 55%,
    #0b3b60 100%
  );
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.35),
    inset 0 -2px 3px rgba(0, 20, 40, 0.35),
    0 4px 6px rgba(5, 42, 70, 0.28);

  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.contact-call::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 10%;
  right: 10%;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

/* Needed because of ::before */
.contact-submit,
.contact-call {
  position: relative;
  overflow: hidden;
}

.contact-submit:hover,
.contact-call:hover {
  transform: translateY(-1px);

  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.4),
    inset 0 -2px 3px rgba(0, 20, 40, 0.35),
    0 5px 8px rgba(5, 42, 70, 0.32);
}

/* click */
.contact-submit:active,
.contact-call:active {
  transform: translateY(1px);

  box-shadow:
    inset 0 2px 3px rgba(0, 20, 40, 0.3),
    0 2px 3px rgba(5, 42, 70, 0.25);
}

.contact-call span {
  font-size: 12px;
}

@media (max-width: 600px) {
  .contact-section {
    padding: 30px 16px;
  }

  .contact-card {
    max-width: 100%;
    padding: 20px;
  }

  .contact-header h2 {
    font-size: 18px;
  }
}

/* .iti__search-input {
  width: calc(100% - 16px) !important;
  height: 32px !important;

  margin: 8px !important;
  padding: 0 8px !important;

  box-sizing: border-box !important;

  border: 1px solid #d9e1e6 !important;
  border-radius: 5px !important;

  outline: none !important;

  font-family: inherit !important;
  font-size: 11px !important;
}

.iti__country-list {
  width: 100% !important;

  max-height: 220px !important;

  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.iti__country {
  width: 100% !important;
  box-sizing: border-box !important;

  padding: 8px 10px !important;

  display: flex !important;
  align-items: center !important;
  gap: 8px !important;

  font-size: 11px !important;
}

.iti__country:hover {
  background: #f1f6f9 !important;
} */

/* :root {
  --iti-flag-width: 16px;
} */

.hero-bg.hero-section,
.hero-section {
  position: relative;
  min-height: 386px;
  height: 386px;
  overflow: visible;
  color: var(--color-white);
}

.hero-content {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 425px;
  padding: 0;
  z-index: 10;
}

.hero-image-placeholder {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.13);
  z-index: 2;
}

.hero-image-inner {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  position: relative;
  overflow: hidden;
}

.hero-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-slide-image.active {
  opacity: 1;
}

.hero-counter {
  position: absolute;
  top: 35px;
  right: 10%;
  width: 50px;
  height: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--color-white);
  font-size: 8px;
  font-weight: 700;
  z-index: 5;
}

.hero-project-info {
  position: absolute;
  left: 50%;
  bottom: 82px;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  z-index: 5;
}

.hero-project-info h1 {
  margin: 0;
  color: var(--color-white);
  font-family: inherit;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 900;
}

.hero-project-info p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 8px;
  font-weight: 600;
}

.hero-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
}

.hero-dots .hero-dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
}

.hero-dots .hero-dot.active {
  width: 13px;
  border-radius: 999px;
  background: var(--color-white);
}

.property-search-box {
  position: absolute;
  left: 50%;
  bottom: -69px;
  transform: translateX(-50%);
  width: 60%;
  max-width: calc(100% - 30px);
  height: 165px;
  padding: 8px 10px;
  margin: 0;
  background: var(--color-white);
  border: 1px solid #d8e2eb;
  border-radius: 16px;
  box-shadow:
    0 7px 18px rgba(15, 54, 82, 0.14),
    0 2px 5px rgba(15, 54, 82, 0.08);
  z-index: 20;
  box-sizing: border-box;
  font-family: 'Almarai';
  font-weight: normal;
}

.property-search-tabs {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  height: 29px;
  margin: 0 0 7px;
}

.search-tab {
  height: 29px;
  min-width: 60px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-input);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.search-tab.active {
  background: var(--color-navy-light);
  color: var(--color-white);
  border-color: var(--color-navy-light);
  box-shadow: 0 3px 7px rgba(13, 66, 102, 0.2);
}

.search-tab-icon {
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.search-tab-icon svg {
  width: 11px;
  height: 11px;
}

.search-input-icon {
  font-size: 13px;
  color: #71879a;
}

.property-search-filters {
  display: grid;
  grid-template-columns: 86px 82px 1fr 1fr 1fr;
  gap: 5px;
  width: 100%;
  height: 31px;
}

.property-filter {
  position: relative;
  height: 31px;
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-white);
  overflow: hidden;
}

.property-filter select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 100%;
  padding: 0 22px 0 8px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #71879a;
  font-family: inherit;
  font-size: 7px;
  text-align: start;
  cursor: pointer;
}

.filter-arrow {
  position: absolute;
  /* left: 9px; */
  top: 50%;
  inset-inline-end: 12px;
  padding: 0;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  pointer-events: none;
}

.filter-arrow img {
  width: 7px;
  height: 7px;
}

.advanced-search-btn {
  height: 31px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-input);
  font-family: inherit;
  font-size: 7px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  cursor: pointer;
}

.property-search-btn {
  height: 31px;
  border: 0;
  border-radius: 999px;
  background: var(--color-navy-light);
  color: var(--color-white);
  font-family: inherit;
  font-size: 8px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 4px 8px rgba(13, 66, 102, 0.25);
  cursor: pointer;
}

.hero-bg.hero-section::after,
.hero-section::after {
  content: "";
  position: absolute;
  left: -30px;
  right: -5%;
  bottom: -1px;
  height: 105px;
  background: #164967;
  border-radius: 50% 50% 0 0 / 35% 35% 0 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content,
.hero-image-placeholder,
.hero-counter,
.hero-project-info {
  z-index: 10;
}

.headline-2 {
  font-family: 'Almarai';
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  color: var(--color-navy);
}

.show-all-btn {
  font-family: 'Almarai';
  font-weight: 600;
}

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    font-family:'Almarai';
    font-weight: normal;
    font-size:16px;
  }

  .hero-section,
  .hero-bg.hero-section {
    position: relative !important;
    width: 100% !important;
    min-height: 500px !important;
    height: 500px !important;
    overflow: visible !important;
  }

  .hero-content {
    width: 100% !important;
    height: 300px !important;
    min-height: 300px !important;
    padding: 0 !important;
  }

  .hero-counter {
    top: 28px !important;
    right: 18px !important;
    width: 42px !important;
    height: 18px !important;
    font-size: 7px !important;
  }

  .hero-project-info {
    left: 50% !important;
    width: calc(100% - 30px) !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
  }

  .hero-project-info h1 {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }

  .hero-project-info p {
    margin-top: 4px !important;
    font-size: 7px !important;
  }

  .property-search-box {
    position: absolute !important;
    left: 50% !important;
    bottom: 20px !important; /* used*/ 
    transform: translateX(-50%) !important;
    width: calc(100% - 20px) !important;
    max-width: 600px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 8px !important;
    margin: 0 !important;
    border-radius: 25px !important;
    box-sizing: border-box !important;
    z-index: 50 !important;
  }

  .property-search-tabs {
    width: 100% !important;
    height: 28px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 4px !important;
    margin-bottom: 6px !important;
    overflow: hidden !important;
    /* direction: rtl !important; */
  }

  .search-tab {
    flex: 0 0 auto !important;
    height: 27px !important;
    min-width: auto !important;
    padding: 0 10px !important;
    font-size: 7px !important;
    gap: 3px !important;
  }

  .search-tab-icon {
    width: 10px !important;
    height: 10px !important;
  }

  .search-tab-icon svg {
    width: 9px !important;
    height: 9px !important;
  }

  .property-search-input {
    height: 30px !important;
    margin-bottom: 0px !important;
    padding: 0 8px !important;
  }

  .property-search-input input {
    font-size: 7px !important;
  }

  .search-input-icon {
    font-size: 11px !important;
  }

  .property-search-filters {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 5px !important;
    height: auto !important;
    /* direction: rtl !important; */
    align-items: center !important;
  }

  .property-filter,
  .advanced-search-btn,
  .property-search-btn {
    width: 100% !important;
    height: 28px !important;
    min-height: 28px !important;
    box-sizing: border-box !important;
  }

  .property-filter select {
    height: 28px !important;
    padding: 0 20px 0 7px !important;
    font-size: 7px !important;
  }

  .filter-arrow {
    inset-inline-end: 8px !important;
  }

  .advanced-search-btn {
    font-size: 7px !important;
    padding: 0 7px !important;
  }

  .advanced-icon {
    font-size: 10px !important;
  }

  .property-search-btn {
    font-size: 8px !important;
    padding: 0 8px !important;
  }

  .property-filter:nth-child(1) {
    order: 1 !important;
  }

  .property-filter:nth-child(2) {
    order: 2 !important;
  }

  .property-filter:nth-child(3) {
    order: 3 !important;
  }

  .advanced-search-btn {
    order: 4 !important;
  }

  .property-search-btn {
    order: 5 !important;
    grid-column: 1 / -1 !important;
  }

  .hero-bg.hero-section::after,
  .hero-section::after {
    bottom: 0 !important;
    height: 95px !important;
    left: -20% !important;
    right: -20% !important;
    border-radius: 50% 50% 0 0 / 35% 35% 0 0 !important;
  }
}

@media (max-width: 400px) {
  .hero-section,
  .hero-bg.hero-section {
    min-height: 400px !important;
    height: 400px !important;
  }

  .hero-content {
    height: 300px !important;
    min-height: 300px !important;
  }

  .hero-counter {
    right: 15px !important;
    top: 27px !important;
    width: 39px !important;
    height: 17px !important;
    font-size: 6px !important;
  }

  .hero-project-info h1 {
    font-size: 18px !important;
  }

  .property-search-box {
    width: calc(100% - 16px) !important;
    bottom: 25px !important;
    padding: 7px !important;
    border-radius: 14px !important;
  }

  .search-tab {
    padding: 0 8px !important;
    font-size: 6.5px !important;
  }

  .property-search-input {
    height: 26px !important;
  }

  .property-search-filters {
    gap: 4px !important;
  }

  .property-filter,
  .advanced-search-btn,
  .property-search-btn {
    height: 27px !important;
    min-height: 27px !important;
  }

  .property-filter select {
    height: 27px !important;
    font-size: 6.5px !important;
  }

  .advanced-search-btn,
  .property-search-btn {
    font-size: 7px !important;
  }
}

@media (max-width: 480px) {
  .property-search-input {
    height: 28px;
  }

  .property-search-input input {
    padding: 0 10px 0 30px;
    font-size: 8px;
  }

  .search-input-icon {
    width: 14px;
    height: 14px;
    font-size: 11px;
  }
/* 
  .iti__country-list {
    max-height: 210px !important;
  } */
}

.sell-rent-cards {
  background-color: #DDF5F3;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  height: 130px;

}

.sell-rent-cards h3 {
  color: #285A7C;
}

.sell-rent-cards h6{
  color: #416B83;
}

/* MOBILE SEARCH */
.property-search-mobile {
  display: none;
}

.mobile-filter-btn {
  display: none;
}

/* MOBILE FILTER POPUP */
.mobile-filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10;
  background: rgba(3, 29, 45, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: flex-end;
  justify-content: center;
}

.mobile-filter-overlay.active {
  display: flex;
}

.mobile-filter-modal {
  width: 100%;
  max-width: 500px;
  background: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  animation: mobileFilterUp 0.25s ease-out;
}

@keyframes mobileFilterUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}


/* Header */
.mobile-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #edf0f2;
}

.mobile-filter-header h3 {
  margin: 0;
  color: var(--color-navy-text);
  font-size: 16px;
  font-weight: 800;
}

.mobile-filter-close {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #f1f3f5;
  color: var(--color-navy-text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}


/* Body */
.mobile-filter-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px;
}

.mobile-filter-body .property-filter {
  width: 100%;
  height: 48px;
}


/* Footer */
.mobile-filter-footer {
  display: flex;
  gap: 10px;
  padding: 14px 20px 20px;
  border-top: 1px solid #edf0f2;
}

.mobile-filter-reset,
.mobile-filter-apply {
  height: 44px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.mobile-filter-reset {
  flex: 0 0 110px;
  border: 1px solid #dce3e8;
  background: #fff;
  color: var(--color-navy-text);
}

.mobile-filter-apply {
  flex: 1;
  border: 0;
  background: var(--color-navy-text);
  color: #fff;
}

/* SEARCH INPUT */
.property-search-input {
  position: relative;
  flex: 1;
  width: auto;
  height: 40px;
  margin: 0 0 0px;
  padding: 0 10px;
  /* direction: rtl; */
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 30px;
  border: 1px solid #d7e0e7;
  overflow: hidden;
  box-sizing: border-box;
}

.property-search-input input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0 55px 0 20px;
  text-align: start;
  font-size: 12px;
  color: #173c55;
}

.property-search-input input::placeholder {
  color: #8a98a3;
}

/* Search icon */
.search-input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0a466b;
  color: #fff;
  font-size: 11px;
  z-index: 2;
  padding: 6px 10px;
}

/* DESKTOP FILTERS */
.desktop-filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.property-filter {
  position: relative;
  height: 44px;
}

.property-filter select {
  width: 100%;
  height: 100%;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #d8e1e8;
  border-radius: 22px;
  background: #fff;
  color: #173c55;
  padding: 0 14px;
  padding-left: 34px;
  outline: none;
  font-size: 11px;
  text-align: start;
}

.filter-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  pointer-events: none;
}

.filter-arrow img {
  width: 10px;
  height: 10px;
}

/* Search button */
.property-search-btn {
  height: 44px;
  border: 0;
  border-radius: 22px;
  background: #0a466b;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

/* Advanced button */
.advanced-search-btn {
  height: 44px;
  border: 1px solid #d8e1e8;
  border-radius: 22px;
  background: #fff;
  color: #173c55;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

/* MOBILE FILTER BUTTON */
.mobile-filter-trigger {
  display: none;
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #0a466b;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.mobile-filter-trigger svg {
  width: 22px;
  height: 22px;
}

/* MOBILE FILTER POPUP */
.mobile-filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 28, 42, 0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* Popup opened */
.mobile-filter-overlay.active {
  display: flex;
}

/* FILTER MODAL */
.mobile-filter-modal {
  width: min(100%, 420px);
  max-height: calc(100vh - 32px);
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.mobile-filter-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 16px 100px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* Header */
.mobile-filter-header {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #e5eaee;
}

.mobile-filter-header h3 {
  margin: 0;
  color: #0a466b;
  font-size: 16px;
  font-weight: 800;
}

.mobile-filter-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #edf2f5;
  color: #173c55;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

/* Content */
.mobile-filter-content {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-filter-content .property-filter {
  height: 48px;
}

/* Footer */
.mobile-filter-footer {
  padding: 14px 18px;
  border-top: 1px solid #e5eaee;
  background: #fff;
}

.mobile-filter-apply {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 24px;
  background: #0a466b;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 767px) {
  .mobile-full {
    width: 100%;
  }

  /* Keep the search bar visible */
  .property-search-input {
    display: flex !important;
  }

  /* Make room for the filter button */
  .property-search-input input {
    padding-right: 55px;
    padding-left: 55px;
  }

  /* Show filter icon */
  .mobile-filter-trigger {
    display: flex;
  }

  .property-search-tabs{
    display: none !important;
  }

  /* Hide desktop filters */
  .desktop-filters {
    display: none !important;
  }

  /* Smaller tabs */
  .property-search-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
  }

  .search-tab {
    height: 36px;
    padding: 0 13px;
    border-radius: 20px;
  }

  /* Make popup truly fullscreen */
  .mobile-filter-overlay {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
  }

  .mobile-filter-modal {
    width: 100vw;
    height: 100vh;
    max-height: none;
    border-radius: 0;
    display: flex;
  }

  .mobile-filter-header {
    min-height: 64px;
  }

  .mobile-filter-content {
    padding: 20px;
  }

  .mobile-filter-footer {
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  }

  .hero-project-info .hero-dots {
    position: fixed;
    left: 50%;
    bottom: -110px;
    transform: translateX(-50%);
    margin: 0;
    z-index: 50;
  }
}

/* Horizontal Carousel Navigation */
.horizontal-carousel-wrapper {
  position: relative;
  width: 100%;
}

.horizontal-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 34px;
  height: 34px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.48);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.horizontal-carousel-btn:hover {
  background: rgba(0, 0, 0, 0.68);
}

.horizontal-carousel-btn.prev {
  inset-inline-end: 8px;
}

.horizontal-carousel-btn.next {
  inset-inline-start: 8px;
}

.horizontal-carousel-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.horizontal-carousel-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
}

@media (max-width: 640px) {
  .horizontal-carousel-btn {
    width: 30px;
    height: 30px;
  }

  .horizontal-carousel-btn svg {
    width: 16px;
    height: 16px;
  }

  .horizontal-carousel-btn.prev {
    inset-inline-end: 5px;
  }

  .horizontal-carousel-btn.next {
    inset-inline-start: 5px;
  }
}

.horizontal-carousel-btn.prev {
  inset-inline-start: 8px;
  inset-inline-end: auto;
}

.horizontal-carousel-btn.next {
  inset-inline-end: 8px;
  inset-inline-start: auto;
}

body[dir="ltr"] .horizontal-carousel-btn.prev svg {
  transform: scaleX(-1);
}

body[dir="ltr"] .horizontal-carousel-btn.next svg {
  transform: scaleX(-1);
}

.property-contact-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.property-contact-buttons a {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.property-contact-buttons svg {
  width: 21px;
  height: 21px;
  fill: white;
}

.call-button {
  background: #173F62;
}

.whatsapp-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #20C86B;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
}

@media (max-width: 640px) {
  .investment-shortcuts {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .investment-shortcuts::-webkit-scrollbar {
    display: none;
  }

  .investment-shortcut {
    flex: 0 0 120px;
    width: 120px;
    min-width: 120px;
  }
}

/* Mobile dots for investment promo carousel */
.investment-promo-dots {
  display: none;
}

@media (max-width: 767px) {
  .investment-section{
     padding: 30px 0px;
  }
  .investment-promo-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    /* direction: rtl; */
  }

  .investment-promo-dot {
    width: 4px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .investment-promo-dot.active {
    width: 10px;
    border-radius: 999px;
    background: #124d73;
  }
}

@media (max-width: 767px) {
  #properties .sell-rent-cards {
    position: relative;
    height: 165px !important;
    min-height: 165px;
    padding: 16px;
    display: block !important;
  }

  /* ICON */
  #properties .sell-rent-cards > div:last-child {
    position: absolute;
    top: 14px;
    left: 0;
    width: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
  }

  #properties .sell-rent-cards > div:last-child img {
    display: block !important;
    width: 75px !important;
    height: 75px !important;
    object-fit: contain;
    margin: 0 auto !important;
  }

  /* TEXT */
  #properties .sell-rent-cards > div:first-child {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
  }

  #properties .properties-headline-3 {
    margin: 0 !important;
    font-size: 20px;
    line-height: 1.2;
  }

  /* Arrow */
  #properties .sell-rent-cards::after {
    content: "‹";
    position: absolute;
    left: 14px;
    bottom: 16px;
    font-weight: bold;
    font-size: 28px;
    line-height: 1;
    color: #285a7c;
    transform: scaleX(-1);
  }
}

.property-card {
  font-family: var(--shary-site-font) !important;
  box-shadow: 0px 4px 4px 0px #00000040;
}

@media (max-width: 767px) {
    /* Remove the desktop search-box container styling on mobile */
    .property-search-box {
      position: absolute;
      left: 0;
      bottom: -69px;

      width: 100%;
      max-width: none;
      height: auto;

      padding: 0;
      margin: 0;

      background: transparent;
      border: 0;
      border-radius: 0;
      box-shadow: none;

      z-index: 20;
    }

    /* Search input becomes the main mobile pill */
    .property-search-input {
      width: calc(100% - 10px);
      height: 30px;

      margin: 0 auto;
      padding: 0 8px;

      border: 0;
      border-radius: 999px;

      background: var(--color-white);
      box-shadow: none;

      /* direction: rtl; */
    }

    .property-search-input input {
      height: 100%;

      padding: 0 10px;

      border: 0;
      outline: 0;

      background: transparent;

      font-size: 10px;
    }

    /* Search icon */
    .search-input-icon {
      width: 20px;
      height: 20px;

      flex-shrink: 0;

      display: flex;
      align-items: center;
      justify-content: center;

      border-radius: 50%;

      background: var(--color-navy-light);
      color: var(--color-white);

      font-size: 18px;
    }

    /* Filter button */
    .mobile-filter-trigger {
      width: 20px;
      height: 20px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid #d8e2eb;
      border-radius: 50%;
      background: var(--color-white);
    }

    .mobile-filter-trigger svg {
      width: 20px;
      height: 20px;
    }

    /* Hide tabs */
    .property-search-tabs {
      display: none !important;
    }

    /* Hide desktop filters */
    .desktop-filters {
      display: none !important;
    }
}

.property-search-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  /* direction: rtl; */
}

.property-status-filter {
  flex: 0 0 auto;
  height: 40px;
  display: flex;
  align-items: center;
  padding: 3px;
  background: var(--color-white);
  border: 1px solid #d8e2eb;
  border-radius: 32px;
  box-sizing: border-box;
  /* direction: rtl; */
  z-index: 10;
}

.property-status {
  height: 30px;
  padding: 0 9px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #285a7c;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.property-status.active {
  background: #E8F1F7;
  color: #285A7C;
}

@media (max-width: 767px) {
  .property-status-filter {
    display: none;
  }
}

/* SHARY APP */
.shary-app {
  position: relative;
  width: 100%;
  aspect-ratio: 4.48 / 1;
  background-image: url('../ui/images/ad-background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: visible;
}


/* QR */
.shary-qr {
  position: absolute;
  left: 6.5%;
  bottom: 11%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.shary-qr img {
  width: clamp(45px, 7vw, 85px);
  height: auto;
  display: block;
}

.shary-qr span {
  margin-top: 5px;
  text-align: center;
  font-size: clamp(6px, 0.7vw, 10px);
  line-height: 1.3;
  color: #000;
}


/* PHONE */
.shary-app-ad {
  position: absolute;
  left: 18%;
  bottom: 0%;   
  /* width: 42%;       */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.shary-app-ad img {
  width: 100%;
  height: auto;
  display: block;
}

/* TEXT CONTENT - DESKTOP */
.shary-app-content {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  width: 45%;
  color: #29445e;
  z-index: 5;
    /* direction: rtl; */
  text-align: right;
}

.shary-app-title {
  margin: 0 0 5px;
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  color: #304b66;
}

.shary-app-subtitle {
  margin: 0 0 12px;
  font-size: clamp(10px, 1.15vw, 16px);
  font-weight: 600;
  line-height: 1.4;
  color: #304b66;
}

.shary-app-description {
  margin: 0;
  font-size: clamp(7px, 0.72vw, 10px);
  line-height: 1.35;
  color: #08a69b;
}

.shary-app-buttons {
  /* display: flex; */
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  text-align: right;
}

.shary-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 75px;
  height: 20px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: clamp(6px, 0.62vw, 9px);
  font-weight: 700;
  color: white;
  text-decoration: none;
  white-space: nowrap;
}

.shary-installment {
  background: #254862;
}

.shary-purchase {
  background: #3a9f9c;
}

.shary-realestate {
  background: #e8a22d;
}

/* APP STORE BUTTONS Hidden on desktop */
.shary-store-buttons {
  display: none;
}

@media (max-width: 767px) {

  /* QR */
  .shary-qr {
    display: none;
  }

  .shary-app {
    width: 100%;
    aspect-ratio: 690 / 606;
    background-size: cover;
    background-position: center;
    overflow: visible;
  }


  /* PHONE */
  .shary-app-ad {
    position: absolute;
    left: 50%;
    top: -15%;    
    bottom: auto;
    transform: translateX(-50%);
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
  }

  .shary-app-ad img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* CONTENT */
  .shary-app-content {
    position: absolute;
    left: 50%;
    right: auto;
    top: auto;
    bottom: 13%;
    transform: translateX(-50%);
    width: 86%;
    text-align: center;
    color: #29445e;
    z-index: 5;
  }


  .shary-app-title {
    margin: 0 0 5px;
    font-size: clamp(26px, 8vw, 34px);
    font-weight: 800;
    line-height: 1.1;
    color: #304b66;
  }


  .shary-app-subtitle {
    margin: 0 0 9px;
    font-size: clamp(9px, 2.7vw, 12px);
    font-weight: 600;
    line-height: 1.4;
    color: #304b66;
  }


  .shary-app-description {
    margin: 0 auto;
    max-width: 290px;
    font-size: clamp(7px, 2vw, 9px);
    line-height: 1.4;
    color: #08a69b;
  }

  /* BUTTONS */
  .shary-app-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
  }

  .shary-download-btn {
    min-width: 0;
    height: 20px;
    padding: 0 9px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 6px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
  }

  .shary-store-buttons {
      position: static;

      transform: none;

      width: 100%;

      display: flex;

      align-items: center;
      justify-content: center;

      gap: 7px;

      margin-top: 7px;

      direction: ltr;
  }

  .shary-store-link {
      width: 82px;
      height: 26px;

      padding: 3px 6px;

      box-sizing: border-box;

      display: flex;

      align-items: center;
      justify-content: flex-start;

      gap: 4px;

      background: #fff;

      border: 1px solid #d3d9dd;

      border-radius: 5px;

      color: #111827;

      text-decoration: none;

      box-shadow:
          0 1px 2px rgba(0, 0, 0, 0.08);
  }

  .shary-store-icon {
      width: 14px;
      height: 14px;

      flex: 0 0 14px;

      display: block;
  }

  .shary-apple-icon {
      fill: #111;
  }

  .shary-store-text {
      min-width: 0;

      display: flex;
      flex-direction: column;

      align-items: flex-start;
      justify-content: center;

      text-align: left;

      line-height: 1;
  }

  .shary-store-small {
      display: block;

      margin-bottom: 1px;

      font-size: 4.5px;
      font-weight: 500;

      line-height: 1;

      color: #6b7280;

      white-space: nowrap;
  }

  .shary-store-title {
      display: block;

      font-size: 7.5px;
      font-weight: 700;

      line-height: 1;

      color: #111827;

      white-space: nowrap;
  }
}

@media (max-width: 380px) {

  .shary-app-content {
    width: 86%;
    bottom: 5%;
  }

  .shary-app-title {
    font-size: 25px;
  }

  .shary-app-subtitle {
    font-size: 9px;
  }

  .shary-app-description {
    font-size: 7px;
  }

  .shary-app-buttons {
    gap: 4px;
    margin-top: 8px;
  }

  .shary-download-btn {
    height: 18px;
    padding: 0 7px;
    font-size: 5.5px;
  }

  .shary-store-buttons {
    gap: 5px;
    margin-top: 6px;
  }
  .shary-store-link {
    width: 74px;
    height: 24px;
    padding: 3px 5px;
  }
  .shary-store-icon {
    width: 12px;
    height: 12px;
    flex-basis: 12px;
  }

  .shary-store-small {
    font-size: 4px;
  }

  .shary-store-title {
    font-size: 7px;
  }
}

.horizontal-scroll {
  max-width: 100% !important;
  overflow-x: auto;
  overflow-y: hidden;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

#search_advanced {
  top: calc(100% + 12px) !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  width: min(860px, calc(100vw - 48px)) !important;
  padding: 0 !important;
}

@media (max-width: 1023px) {
  #search_advanced {
    display: none !important;
  }
}

/* =========================================================
   HERO CUSTOM DROPDOWNS
========================================================= */

.custom-dropdown {
    position: relative;
}


.property-filter-button {
  position: relative;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  color: inherit;
  text-align: start;
}


.hero-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-start: 0;
    width: 100%;
    min-width: 190px;
    background: #fff;
    color: #161E2D;
    border-radius: 14px;
    padding: 8px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: .2s ease;
    z-index: 100;
}


.hero-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.hero-dropdown-option {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 12px 16px;
    text-align: start;
    color: #161E2D;
    cursor: pointer;
    font-size: 14px;
}


.hero-dropdown-option:hover {
    color: #1563DF;
    background: #f6f8fa;
}



/* =========================================================
   PRICE DROPDOWN
========================================================= */

.hero-price-dropdown {
    min-width: 280px;
    padding: 18px;
}


.hero-price-content {
    width: 100%;
}


.hero-dropdown-title {
    margin: 0 0 10px;
    color: #161E2D;
    font-size: 14px;
    font-weight: 700;
}


.hero-price-values {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #064E3B;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
}



/* =========================================================
   ADVANCED SEARCH
========================================================= */

.hero-advanced-search {
    position: absolute;
    top: calc(100% + 15px);
    inset-inline: 0;
    z-index: 200;

    background: #fff;
    color: #161E2D;

    border-radius: 22px;

    padding: 24px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .20);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;

    max-height: 80vh;
    overflow-y: auto;
}


.hero-advanced-search.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.hero-advanced-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}


.hero-advanced-header h3 {
    margin: 0;
    color: #161E2D;
    font-size: 20px;
    font-weight: 700;
}


.hero-advanced-header button {
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 50%;
    background: #f2f4f5;
    color: #161E2D;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}



/* =========================================================
   ADVANCED SECTIONS
========================================================= */

.hero-advanced-section {
    margin-bottom: 24px;
}


.hero-advanced-section > p {
    margin: 0 0 12px;
    color: #161E2D;
    font-size: 15px;
    font-weight: 700;
}


.hero-payment-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}


.hero-payment-fields input {
    height: 44px;
    width: 100%;
    border: 1px solid #E4E4E4;
    border-radius: 12px;
    outline: none;
    padding: 0 14px;
    color: #161E2D;
}


.hero-payment-fields input:focus {
    border-color: #1563DF;
}



/* =========================================================
   ADVANCED RANGE
========================================================= */

.hero-range-label {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
    color: #064E3B;
    font-size: 14px;
    font-weight: 700;
}


.hero-advanced-search .range-slider {
    width: 100%;
}



/* =========================================================
   ADVANCED GRID
========================================================= */

.hero-advanced-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}


.hero-advanced-dropdown label {
    display: block;
    margin-bottom: 7px;
    color: #161E2D;
    font-size: 14px;
    font-weight: 600;
}


.hero-advanced-dropdown select {
    width: 100%;
    height: 45px;
    border: 1px solid #E4E4E4;
    border-radius: 12px;
    background: #fff;
    color: #161E2D;
    padding: 0 12px;
    outline: none;
    cursor: pointer;
}


.hero-advanced-dropdown select:focus {
    border-color: #1563DF;
}



/* =========================================================
   AMENITIES
========================================================= */

.hero-amenities {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}


.hero-amenity {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #161E2D;
    font-size: 13px;
    cursor: pointer;
}


.hero-amenity input {
    width: 16px;
    height: 16px;
    accent-color: #1563DF;
}



/* =========================================================
   ADVANCED FOOTER
========================================================= */

.hero-advanced-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 5px;
}


.hero-advanced-footer .property-search-btn {
    min-width: 150px;
}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .hero-advanced-search {
        position: fixed;
        top: 50%;
        left: 16px;
        right: 16px;
        inset-inline: 16px;

        max-height: 85vh;

        transform: translateY(-45%);

        border-radius: 20px;

        padding: 18px;
    }


    .hero-advanced-search.show {
        transform: translateY(-50%);
    }


    .hero-payment-fields {
        grid-template-columns: 1fr;
    }


    .hero-advanced-grid {
        grid-template-columns: 1fr;
    }


    .hero-amenities {
        grid-template-columns: repeat(2, 1fr);
    }


    .hero-price-dropdown {
        min-width: 240px;
    }

}

.search-autocomplete-wrapper {
    position: relative !important;
}

#heroSearchResults {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 99999;
    width: 100%;
    display: none;
    max-height: 280px;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    border: 1px solid #eeeeee;
    /* direction: rtl; */
    /* text-align: start; */
}

#heroSearchResults.show {
    display: block;
}


/* =========================================================
   RESULT ITEM
   ========================================================= */

.hero-search-result {
    width: 100%;

    min-height: 65px;

    padding: 12px 16px;

    display: flex;

    align-items: center;

    gap: 12px;

    border: 0;

    border-bottom: 1px solid #eeeeee;

    background: #ffffff;

    cursor: pointer;

    /* direction: rtl; */

    text-align: start;

    transition: background 0.15s ease;
}

.hero-search-result:last-child {
    border-bottom: 0;
}

.hero-search-result:hover {
    background: #f6f8f8;
}


/* =========================================================
   ICON
   ========================================================= */

.hero-search-result-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef8f6;
    color: #159f92;
    font-size: 15px;
}


/* =========================================================
   TEXT
   ========================================================= */

.hero-search-result-content {
    flex: 1;
    min-width: 0;
}

.hero-search-result-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: #222;
}

.hero-search-result-location {
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.4;
    color: #888;
}


/* =========================================================
   LOADING / EMPTY
   ========================================================= */

.hero-search-loading,
.hero-search-empty {
    padding: 20px;
    text-align: center;
    font-size: 13px;
    color: #777;
    background: #ffffff;
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

#heroSearchResults::-webkit-scrollbar {
    width: 5px;
}

#heroSearchResults::-webkit-scrollbar-track {
    background: transparent;
}

#heroSearchResults::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 10px;
}

.search-autocomplete-wrapper {
    position: relative !important;
}

#heroSearchResults {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 999999 !important;
    display: none;
    max-height: 280px;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    border: 1px solid #eeeeee;
    /* direction: rtl; */
    /* text-align: start; */
    box-sizing: border-box;
}

#heroSearchResults.show {
    display: block !important;
}

#heroPrice.show {
    display: block !important;
}

.hero-bg {
    overflow: visible !important;
}

.hero-bg,
.hero-content,
.property-search-box,
.property-search-row,
.property-search-input,
.property-search-filters,
.property-filter,
#contactForm,
#contact {
    overflow: visible !important;
}


@media (max-width: 767px) {
    #heroAdvancedSearch {
        position: fixed !important;

        top: var(--mobile-navbar-height, 64px) !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;


        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;

        margin: 0 !important;

        z-index: 999999 !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;

        background: #ffffff;

        border-radius: 0 !important;
    }
}

@media (max-width: 767px) {

    #heroAdvancedSearch .hero-advanced-header {
        position: sticky;

        top: 0;

        z-index: 10;

        background: #ffffff;
    }

}

@media (max-width: 767px) {

    #heroAdvancedSearch .hero-advanced-footer {
        position: sticky;

        bottom: 0;

        z-index: 10;

        background: #ffffff;

        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }

}



/* =========================================================
   SEARCH RESPONSIVE BEHAVIOR
   Desktop  -> #heroAdvancedSearch
   Mobile   -> #filterBar
   ========================================================= */

/* -------------------------
   DESKTOP / LARGE SCREENS
   ------------------------- */

#heroAdvancedSearch {
    display: block;
}

#filterBar {
    display: none;
}


/* -------------------------
   MOBILE / TABLET
   ------------------------- */

@media (max-width: 767px) {

    /* Hide desktop advanced search on mobile */
    #heroAdvancedSearch {
        display: none !important;
    }

    /* Show mobile filter */
    #filterBar {
        display: block !important;
        max-height: 0;
        overflow: hidden;
        width: 100%;
        z-index: 40;
    }

    #filterBar.is-open {
        max-height: 100dvh;
        overflow: visible;
    }
}


/* -------------------------
   LARGE SCREENS
   ------------------------- */

@media (min-width: 768px) {

    #heroAdvancedSearch {
        display: block !important;
    }

    #filterBar {
        display: none !important;
    }

}

#filterBar {
    max-height: 0;
    overflow: hidden;
}

#filterBar.is-open {
    max-height: 100vh;
    /* overflow: visible; */
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}


@media (max-width: 767px) {
    #heroAdvancedSearch {
        display: none !important;
    }

    #filterBar {
        display: block !important;

        /* Allow the panel to occupy the screen */
        max-height: 100dvh;

        /* Scroll vertically */
        overflow-y: auto;
        overflow-x: hidden;

        /* Important for mobile browsers */
        -webkit-overflow-scrolling: touch;

        width: 100%;
        z-index: 40;
    }

    #filterBar:not(.is-open) {
        max-height: 0;
        overflow: hidden;
    }
}

@media (min-width: 768px) {
    #heroAdvancedSearch {
        display: block !important;
    }

    #filterBar {
        display: none !important;
    }
}


.sell-rent-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
}

.property-filter-button > span:not(.filter-arrow) {
  color: #000;
  font-size: 11px;
  padding: 0px 12px;;
}

.hero-dropdown {
  max-height: 200px;
  overflow-y: scroll;
}

/* ==============================
   PROJECT CARD
================================ */

.project-card {
    transition: transform 0.3s ease;
}


/* Text animation */
.project-card .compounds-content {
    transition:
        padding-bottom 0.35s ease,
        padding-top 0.35s ease;
}


/* ======================================
   HOVER ONLY WHEN MOUSE IS OVER THE TEXT
====================================== */

.project-card .compounds-content:hover + .card-overlay {
    background: linear-gradient(
        to top,
        rgba(4, 31, 56, 1) 0%,
        rgba(4, 31, 56, 0.98) 25%,
        rgba(4, 31, 56, 0.90) 45%,
        rgba(4, 31, 56, 0.55) 65%,
        rgba(4, 31, 56, 0.15) 82%,
        rgba(4, 31, 56, 0) 100%
    ) !important;
}


/* Move text slightly up on hover */
.project-card .compounds-content:hover {
    padding-bottom: 20px !important;
    padding-top: 60px !important;
}

.new-project-card .new-project-content:hover + .card-overlay {
    background: linear-gradient(
        to top,
        rgba(4, 31, 56, 1) 0%,
        rgba(4, 31, 56, 0.98) 25%,
        rgba(4, 31, 56, 0.90) 45%,
        rgba(4, 31, 56, 0.55) 65%,
        rgba(4, 31, 56, 0.15) 82%,
        rgba(4, 31, 56, 0) 100%
    ) !important;
}


/* Move text slightly up on hover */
.new-project-card .new-project-content:hover {
    padding-bottom: 20px !important;
     padding-top: 60px !important;
}
