/* ===================== */
/*  GENERAL CLEANING     */
/* ===================== */

.rehla-top-bar {
  display: none;
}

h1, h2, h3 {
  font-weight: 700 !important;
  margin-bottom: 16px;
}

.logo img {
  width: 60% !important;
  height: auto !important;
}

.py-20 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.py-2 {
  display: none;
}

.rehla-text-with-image-text {
  line-height: 32px;
}

.rehla-default-product.rehla-fixed-products.item {
  margin: 24px 0;
}

ul.flex li:last-child {
  order: -1;
}

footer .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.px-12 {
  padding: 0 !important;
}

.py-16 {
  padding: 4rem !important;
}


/* ===================== */
/*   PARTNERS SLIDER     */
/* ===================== */

.rehla-links .swiper-slide .aspect-square {
  height: 180px;
  width: 100%;
  display: block;
}

.rehla-links .swiper-slide .aspect-square > a > div {
  width: 100%;
  height: 100%;
  display: block;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  transition: transform .3s ease;
}

.rehla-links .swiper-slide .aspect-square:hover > a > div {
  transform: scale(1.03);
}


/* ===================== */
/*     SOCIAL LINKS      */
/* ===================== */

.social-link {
  background-color: #0E2F1A !important;
  color: #fff !important;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  transition: .3s;
}

.social-link:hover {
  background-color: #144225 !important;
  transform: translateY(-3px);
}

.social-link i {
  color: #fff !important;
}


/* ===================== */
/*  CONTACT ICON STYLES  */
/* ===================== */

.s-contacts-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  transition: .3s;
}

.s-contacts-item .s-contacts-icon {
  background-color: #0E2F1A !important;
  width: 42px; height: 42px; min-width: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: .3s;
}

.s-contacts-item .s-contacts-icon svg,
.s-contacts-item .s-contacts-icon i {
  fill: #fff !important;
  color: #fff !important;
  width: 22px; height: 22px;
}

.s-contacts-item:hover .s-contacts-icon {
  background-color: #144225 !important;
  transform: translateY(-2px);
}


/* ===================== */
/* FOOTER GRADIENT BAR   */
/* ===================== */

.w-full.flex.justify-center.mb-2 {
  background: linear-gradient(to bottom, #b89872, #8a6a45 45%, #5c4327);
  padding: 14px 0;
}

.w-full.flex.justify-center.mb-2 p,
.w-full.flex.justify-center.mb-2 a {
  color: #fff !important;
}

.w-full.flex.justify-center.mb-2 a:hover {
  opacity: 0.9;
  text-decoration-color: #fff;
}


/* ========================= */
/*     FEATURES SECTION      */
/* ========================= */
.s-block{
  padding:3rem;
}
/* Glass Feature Cards */
.s-block--features__item {
  width: 100% !important;
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(12px) !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
  padding: 40px 30px !important;
  transition: .3s;
}


/* Number Circle */
.s-block--features__item .feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .7) !important;
  border: 2px solid rgba(160, 116, 72, .4) !important;
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
  position: relative; /* مهم عشان التوسيط */
}

/* Center numbers perfectly inside the circle */
.s-block--features__item .feature-icon::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  font-weight: 700;
  color: #A07448;
  line-height: 1;
}

/* Numbers */
.s-block--features__item:nth-child(1) .feature-icon::before { content: "01"; }
.s-block--features__item:nth-child(2) .feature-icon::before { content: "02"; }
.s-block--features__item:nth-child(3) .feature-icon::before { content: "03"; }


/* ========================= */
/*      REVIEWS SECTION      */
/* ========================= */
/* ========================= */
/*      REVIEWS SECTION      */
/* ========================= */

.rehla-reviews {
  background: linear-gradient(
        to bottom,
        #BB946A 0%,
        #634423 100%
    ) !important;
  padding: 90px 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Heading */
.rehla-reviews::before {
    content: "آراء عملائنا";
    display: block;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 35px;
}

/* Slider container size */
.rehla-reviews .swiper {
  max-width: 900px !important;
  margin: auto !important;
}

/* Review Card */
.rehla-reviews .swiper-slide {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
}


.rehla-text-with-image-bg {
    background: linear-gradient(
        to bottom,
        #BB946A 0%,
        #634423 100%
    );
} 

/* ----------------------------- */
/*     إضافة عنوان قبل السيكشن   */
/* ----------------------------- */

.s-block--features.container::before {
    content: "ما يميزنا";
    display: block;
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: #231f1e; /* لون تراثي */
    margin-bottom: 30px;
    margin-top: 20px;
}

/* ----------------------------- */
/*        MOBILE LAYOUT          */
/*  جعل جميع الكروت صف كامل      */
/* ----------------------------- */

@media (max-width: 768px) {
    .s-block--features.container .grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }

    .s-block--features__item {
        width: 100% !important;
    }
}

/* ----------------------------- */
/*     DESKTOP: 3 COLUMNS        */
/* ----------------------------- */

@media (min-width: 1024px) {
    .s-block--features.container .grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 24px !important;
    }
}

/* ERTH-INTRO-START: pre-loader shown from first paint (same small logo as the animated intro in custom JS); remove this block to revert */
html body::before{content:""!important;display:block!important;position:fixed!important;top:0!important;left:0!important;width:100%!important;height:100%!important;z-index:2147483645!important;opacity:1!important;background:radial-gradient(600px 400px at 50% 45%,#FBF7F0,#F3EADC)!important;animation:erth-pre 0s linear 4.6s forwards!important}
html body::after{content:""!important;display:block!important;position:fixed!important;top:0!important;left:0!important;right:auto!important;width:100%!important;height:100%!important;z-index:2147483646!important;opacity:1!important;background:url(https://cdn.salla.sa/DGreVw/j6Pg6EuwHcDvsRDxsHAOUFDGMUvfLEnT1D3UmsCf.png) center/128px auto no-repeat!important;animation:erth-pre 0s linear 4.6s forwards!important}
@keyframes erth-pre{to{opacity:0;visibility:hidden}}
/* ERTH-INTRO-END */