 :root{
      --primary:#203f81;
      --secondary:#e87823;
      --secondaryHover:#d16618;
      --lightBg:#f8fafc;
    }
	@font-face {
	  font-family: 'Almarai_r';
	  src: url('../../img/ramadan2026/Almarai/Almarai-Regular.ttf') format('truetype');
	  font-weight: 400;
	  font-style: normal;
	}
	@font-face {
	  font-family: 'Almarai_l';
	  src: url('../../img/ramadan2026/Almarai/Almarai-Light.ttf') format('truetype');
	  font-weight: 300;
	  font-style: normal;
	}
	@font-face {
	  font-family: 'Almarai_b';
	  src: url('../../img/ramadan2026/Almarai/Almarai-Bold.ttf') format('truetype');
	  font-weight: 700;
	  font-style: normal;
	}
	@font-face {
	  font-family: 'Almarai_eb';
	  src: url('../../img/ramadan2026/Almarai/Almarai-ExtraBold.ttf') format('truetype');
	  font-weight: 800;
	  font-style: normal;
	}


	@font-face {
	  font-family: 'DTHULUTH';
	  src: url('../../img/ramadan2026/DTHULUTH-II-1.ttf') format('truetype');
	  font-weight: 800;
	  font-style: normal;
	}

	body{
  font-family:'Almarai_r';

}
	 .orphan_header{ display:none !important; }
	 .site-footer { margin-top:0px; margin-bottom: 0px; }
	 #contact_us{ margin-top:0px; !important; }
    .baslo2-hero{
      background: url('../../img/bas_lo2.png');
      color:#fff;
      position:relative;
      overflow:hidden;
	  
	  background-repeat:no-repeat;
	  background-size:cover;
	  background-position:top;
    }
	@media (max-width: 576px){
	  .baslo2-hero{
		background-attachment: scroll; 
		background-image: url('../../img/bas_lo_m.png');
	  }

  /* خلي طبقة الأوفرلاي أثقل شوي للموبايل */
  .baslo2-hero .hero-overlay{
    background: rgba(15,23,42,.62);
  }

  /* (اختياري) صندوق شفاف للنص فقط */
  .baslo2-hero .hero-text-box{
    background: rgba(15,23,42,.35);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    padding: 14px 14px;
    backdrop-filter: blur(6px);
  }
}
	
    .baslo2-hero:before{
      content:'';
      position:absolute;
      top:-120px; right:-120px;
      width:280px; height:280px;
      background: rgba(255,255,255,.06);
      border-radius:50%;
    }
    .baslo2-hero:after{
      content:'';
      position:absolute;
      bottom:-160px; left:-160px;
      width:360px; height:360px;
      background: rgba(232,120,35,.12);
      border-radius:50%;
    }

    .baslo2-card{
      border:0;
      border-radius:18px;
      overflow:hidden;
      box-shadow: 0 10px 24px rgba(0,0,0,.08);
      transition: all .2s ease;
      background:#fff;
      height:100%;
    }
    .baslo2-card:hover{ transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0,0,0,.12); }

    .baslo2-badge{
      position:absolute;
      top:12px; right:12px;
      background: var(--primary);
      color:#fff;
      font-size:12px;
      padding:6px 10px;
      border-radius:999px;
      font-weight:700;
    }

    .btn-baslo2{
      background: var(--secondary);
      color:#fff;
      border:1px solid var(--secondary);
      font-weight:700;
      border-radius:10px;
      padding:.75rem 1.25rem;
    }
    .btn-baslo2:hover{ background: var(--secondaryHover); border-color: var(--secondaryHover); color:#fff; }

    .btn-outline-baslo2{
      background: rgba(232,120,35,.08);
      color: var(--secondary);
      border:1px solid var(--secondary);
      font-weight:700;
      border-radius:12px;
      padding:.6rem 1rem;
    }
    .btn-outline-baslo2:hover{ background: var(--secondary); color:#fff; }

    .donate-box{
      background:#fff;
      border-radius:18px;
      box-shadow: 0 14px 34px rgba(0,0,0,.18);
      position:relative;
      z-index:2;
	  min-height:350px;
    }

    .amount-btn{
      border:2px solid #e9ecef;
      border-radius:12px;
      background:#fff;
      font-weight:800;
      padding:.6rem .75rem;
      width:100%;
    }
    .amount-btn.active{
      border-color: var(--secondary);
      color: var(--secondary);
      background: rgba(232,120,35,.08);
    }

    .section-light{ background: var(--lightBg); }
    .top-accent{
      border-right:4px solid var(--secondary);
      padding-right:12px;
    }

    .video-box{
      background:#111;
      border-radius:18px;
      overflow:hidden;
      box-shadow: 0 18px 40px rgba(0,0,0,.25);
      border:4px solid rgba(255,255,255,.08);
      position:relative;
    }
    .video-overlay{
      position:absolute; inset:0;
      display:flex; align-items:center; justify-content:center;
    }
    .play-btn{
      width:84px; height:84px;
      background: var(--secondary);
      border-radius:50%;
      display:flex; align-items:center; justify-content:center;
      box-shadow: 0 12px 22px rgba(0,0,0,.35);
      transition:.2s ease;
    }
    .video-box:hover .play-btn{ transform: scale(1.06); background: var(--secondaryHover); }

    /* RTL helper */
    [dir="rtl"] .top-accent{ border-right:4px solid var(--secondary); border-left:0; }
	/* Direction-aware text align */
.baslo2-page{
  text-align: left; /* default LTR */
}
[dir="rtl"] .baslo2-page{
  text-align: right;
}

/* RTL/LTR spacing helpers for icons */
.baslo2-page .icon-gap{
  margin-right: .5rem;
  margin-left: 0;
}
[dir="rtl"] .baslo2-page .icon-gap{
  margin-left: .5rem;
  margin-right: 0;
}
#cartToastSimple{
  position: fixed;
  z-index: 99999;
  left: 50%;
  transform: translateX(-50%);
  bottom: 78px;
  background: #0f7d3e;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  display: none;
  width: 92vw;
  max-width: 560px;
  text-align: center;
}

@media (min-width: 992px){
  #cartToastSimple{
    width: auto;
    min-width: 360px;
    max-width: 520px;
    bottom: 24px;
    padding: 12px 18px;
    border-radius: 12px;
  }
}
/* Currency + Amount glued (Bootstrap4 RTL/LTR safe) */
.currency-amount-group{
  display:flex;
  align-items:stretch;
  width:100%;
}

/* force same height + same look */
.currency-amount-group .form-control{
  height:48px !important;
  border-radius:0 !important;
  line-height:1.5 !important;
}

/* widths */
.currency-amount-group .currency_id{
  flex: 0 0 140px;
  max-width:140px;
  font-weight:700;
  padding-top:.375rem !important;
  padding-bottom:.375rem !important;
}
#projects {
	margin-top:0px !important;
}
.currency-amount-group .amount-input{
  flex: 1 1 auto;
  font-weight:800;
  padding-top:.375rem !important;
  padding-bottom:.375rem !important;
}

/* LTR: [Currency][Amount] and remove inner border */
[dir="ltr"] .currency-amount-group .currency_id{
  order:1;
  border-right:0 !important;
}
[dir="ltr"] .currency-amount-group .amount-input{
  order:2;
}

/* RTL: [Amount][Currency] and remove inner border */
[dir="rtl"] .currency-amount-group .amount-input{
  order:1;
}
[dir="rtl"] .currency-amount-group .currency_id{
  order:2;
  border-right:0 !important;
}
@media (max-width: 576px){
  .currency-amount-group .currency_id{
    flex: 0 0 110px;
    max-width:110px;
    font-size: 13px;
    padding-left: .5rem !important;
    padding-right: .5rem !important;
  }
  .currency-amount-group .amount-input{
    font-size: 16px;
  }
}
/* Icon-only cart button */
.btn-cart-icon{
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(32,63,129,.18);
  background: rgba(32,63,129,.06);
  color: var(--primary);
  transition: .2s ease;
  padding: 0;
}

.btn-cart-icon i{ font-size: 18px; }

.btn-cart-icon:hover{
  background: rgba(232,120,35,.12);
  border-color: rgba(232,120,35,.35);
  color: var(--secondary);
  transform: translateY(-1px);
}

.btn-cart-icon:active{ transform: translateY(0); }

/* Make cart icon align nicely beside donate button */
.action-row{
  display:flex;
  gap:10px;
}
.action-row .btn-baslo2{
  flex:1;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.action-row .btn-cart-icon{
  flex:0 0 48px;
}

/* Mobile: keep clean */
@media (max-width: 576px){
  .action-row{ gap:8px; }
  .action-row .btn-cart-icon{ width:46px; height:46px; flex-basis:46px; }
  .action-row .btn-baslo2{ height:46px; }
}
/* Card clickable area */
.project-card-click{
  cursor: pointer;
}

/* Info button on image (top-left/right based on dir) */
.project-info-btn{
  position:absolute;
  top:12px;
  width:42px;
  height:42px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
  color: var(--primary);
  z-index: 3;
  transition:.2s ease;
}

[dir="ltr"] .project-info-btn{ right:12px; }
[dir="rtl"] .project-info-btn{ left:12px; }

.project-info-btn:hover{
  transform: translateY(-1px);
  background: #fff;
  color: var(--secondary);
  border-color: rgba(232,120,35,.25);
}

/* make image overlay gradient for readability (optional, subtle) */
.project-image-wrap:after{
  content:'';
  position:absolute;
  left:0; right:0; bottom:0;
  height:60px;
  background: linear-gradient(to top, rgba(0,0,0,.28), rgba(0,0,0,0));
  pointer-events:none;
}

/* Compact “tag” on image */
.baslo2-badge{
  z-index: 3;
}

/* Success Stories slider cards */
.story-card{
  border:0;
  border-radius:18px;
  overflow:hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
  background:#fff;
  height:auto;
}

.story-card .img-wrap{
  position:relative;
  height:180px;
  overflow:hidden;
}

.story-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.25s ease;
}

.story-card:hover img{ transform: scale(1.03); }

.story-title{
  font-weight: 900;
  color: var(--primary);
  margin:0;
  font-size: 1rem;
}

.story-body{
  padding: 12px 14px;
  background:#fff;
}

/* Carousel arrows (nice + consistent) */
#storiesCarouselDesktop .carousel-control-prev,
#storiesCarouselDesktop .carousel-control-next{
  width: 48px;
  height: 48px;
  top: 45%;
  transform: translateY(-50%);
  opacity: 1;
}

#storiesCarouselDesktop .carousel-control-prev-icon,
#storiesCarouselDesktop .carousel-control-next-icon{

}

#storiesCarouselDesktop .carousel-control-prev,
#storiesCarouselDesktop .carousel-control-next{
  background: #e87823;
  border-radius: 999px;
}

/* keep arrows inside container a bit */
#storiesCarouselDesktop .carousel-control-prev{ left: -10px; }
#storiesCarouselDesktop .carousel-control-next{ right: -10px; }

@media (max-width: 767.98px){
  #storiesCarouselDesktop .carousel-control-prev,
  #storiesCarouselDesktop .carousel-control-next{ display:none; }
}
.story-card{
  transition:.25s ease;
}

.story-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  text-decoration:none;
}

.story-card:hover .story-title{
  color: var(--secondary);
}
/* Fix mobile carousel height + controls positioning */
#storiesCarouselMobile{
  position: relative;
  padding-bottom: 26px; /* space for dots */
}

#storiesCarouselMobile .carousel-inner,
#storiesCarouselMobile .carousel-item{
  height: auto !important;
}

#storiesCarouselMobile .story-card{
  height: auto !important; /* prevent stretching */
}

/* Force controls to be absolute (not taking page height) */
#storiesCarouselMobile .carousel-control-prev,
#storiesCarouselMobile .carousel-control-next{
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 44px;
  height: 44px;
  opacity: 1;
  background: rgba(32,63,129,.92);
  border-radius: 999px;
}

/* Place arrows correctly for RTL/LTR */
[dir="ltr"] #storiesCarouselMobile .carousel-control-prev{ left: 8px !important; right:auto !important; }
[dir="ltr"] #storiesCarouselMobile .carousel-control-next{ right: 8px !important; left:auto !important; }

[dir="rtl"] #storiesCarouselMobile .carousel-control-prev{ right: 8px !important; left:auto !important; }
[dir="rtl"] #storiesCarouselMobile .carousel-control-next{ left: 8px !important; right:auto !important; }

/* Dots (indicators) */
#storiesCarouselMobile .carousel-indicators{
  position: absolute !important;
  bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* FAQ Section */
.faq-box{
  border-radius:18px;
  overflow:hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
  background:#fff;
}

.faq-box .card{
  border:0;
  border-bottom:1px solid #f1f3f5;
}

.faq-box .card:last-child{
  border-bottom:0;
}

.faq-box .card-header{
  background:#fff;
  padding:0;
}

.faq-box .btn-link{
  display:block;
  width:100%;
  text-align:inherit;
  padding:18px 20px;
  font-weight:800;
  color:var(--primary);
  text-decoration:none;
  position:relative;
}

.faq-box .btn-link:hover{
  text-decoration:none;
  color:var(--secondary);
}

.faq-box .btn-link:after{
  content:"\f107";
  font-family:"FontAwesome";
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:16px;
}

[dir="ltr"] .faq-box .btn-link:after{
  right:20px;
}

[dir="rtl"] .faq-box .btn-link:after{
  left:20px;
}

.faq-box .card-body{
  padding:15px 20px 20px 20px;
  color:#6c757d;
  line-height:1.7;
}
.target-box{
  transition:.2s ease;
}

.target-box:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,.1);
}
/* Mobile only: center text vertically + horizontally */
@media (max-width: 767.98px){
  .target-box{
    display:flex;
    align-items:center;      /* vertical */
    justify-content:center;  /* horizontal */
    text-align:center;
    min-height:110px;        /* optional: make boxes equal */
  }
}
/* clamp text */
.clamp-2{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Offcanvas look */
.baslo2-offcanvas{
  width: 420px;
  max-width: 92vw;
  border-radius: 18px 0 0 18px;
  box-shadow: -12px 0 34px rgba(0,0,0,.18);
}

[dir="rtl"] .baslo2-offcanvas{
  border-radius: 0 18px 18px 0;
}

.baslo2-offcanvas .offcanvas-header{
  border-bottom: 1px solid #f1f3f5;
}

.baslo2-offcanvas .offcanvas-body{
  padding: 16px 18px 18px;
}

.baslo2-offcanvas .offcanvas-footer{
  position: sticky;
  bottom: 0;
  background: #fff;
  padding-top: 12px;
  border-top: 1px solid #f1f3f5;
}
.project-play-btn{
  position:absolute;
  top:12px;
  right:12px;
  width:42px;
  height:42px;
  border-radius:999px;
  background:var(--secondary);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  border:0;
}
/* خلي المودال يسكّرول داخلياً */
.modal-scroll-body{
  max-height: calc(100vh - 200px);
  overflow: auto;
  position: relative;
}

/* زر للأعلى داخل المودال */
.modal-to-top{
  position: sticky;
  bottom: 14px;
  float: right; /* لـ LTR */
  margin-top: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(32,63,129,.92);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* RTL */
[dir="rtl"] .modal-to-top{
  float: left;
}

.modal-to-top:hover{
  background: rgba(232,120,35,.95);
}
/* Divider instead of video section */
.baslo2-divider{
  position: relative;
  background: var(--primary);
  color:#fff;
  overflow:hidden;
  padding: 42px 0;
}

/* دوائر ناعمة زي الهيرو */
.baslo2-divider:before{
  content:'';
  position:absolute;
  top:-120px; right:-120px;
  width:280px; height:280px;
  background: rgba(255,255,255,.06);
  border-radius:50%;
}
.baslo2-divider:after{
  content:'';
  position:absolute;
  bottom:-160px; left:-160px;
  width:360px; height:360px;
  background: rgba(232,120,35,.12);
  border-radius:50%;
}

/* خط فاصل ناعم فوق/تحت (يعطي إحساس فصل أقوى) */
.baslo2-divider{
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 -1px 0 rgba(255,255,255,.06);
}

.baslo2-divider .divider-title{
  position:relative;
  z-index:2;
  font-weight:900;
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.baslo2-divider .divider-sub{
  position:relative;
  z-index:2;
  color: rgba(255,255,255,.82);
  font-weight: 700;
  font-size: .95rem;
}

/* موبايل */
@media (max-width: 576px){
  .baslo2-divider{ padding: 34px 0; }
  .baslo2-divider .divider-title{ font-size: 1.1rem; }
  .baslo2-divider .divider-sub{ font-size: .9rem; }
}

.baslo2-hero{
  position: relative;
}

/* Overlay لتحسين القراءة */
.baslo2-hero .hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  /* اتجاه التدرّج: RTL يغمّق جهة النص (اليمين) */
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, .15) 0%,
    rgba(15, 23, 42, .55) 45%,
    rgba(15, 23, 42, .70) 100%
  );
}

/* لو الصفحة RTL خلّي التغميق أقوى على اليمين */
[dir="rtl"] .baslo2-hero .hero-overlay{
  background: linear-gradient(
    270deg,
    rgba(15, 23, 42, .15) 0%,
    rgba(15, 23, 42, .55) 45%,
    rgba(15, 23, 42, .70) 100%
  );
}

/* تحسين وضوح العنوان والوصف */
.baslo2-hero h1{
  text-shadow: 0 6px 18px rgba(0,0,0,.45);
  letter-spacing: .2px;
}
.baslo2-hero p{
  text-shadow: 0 4px 14px rgba(0,0,0,.35);
}
@media (max-width: 576px){
    .baslo2-hero h1{
        font-size:1.7rem !important;
        line-height: 37px;
    }
}
.zakah-note{
  background: rgba(15,125,62,.08);
  border: 1px solid rgba(15,125,62,.18);
  color: #0f7d3e;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  width: 92%;
    margin: 16px auto;
  align-items: center;
  gap: 6px;
}

.zakah-note i{
  font-size: 15px;
}

.project-progress .small{
  font-weight: 700;
}

.baslo-progress{
  height: 10px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.06);
}

.baslo-progress .progress-bar{
  background: var(--secondary);
  border-radius: 999px;
}

.progress{
    width:100%;
}