/* =========================
   RTL FIX - Header only
========================= */
html[dir="rtl"] .topbar .container {
  flex-direction: row-reverse;
}

html[dir="rtl"] .topbar .container > div:first-child {
  justify-content: flex-start;
}

html[dir="rtl"] .topbar .container > div:last-child {
  justify-content: flex-end;
}

/* Navbar: اجعل ترتيب العناصر RTL بدون تخريب collapse */
html[dir="rtl"] .navbar .navbar-brand {
  margin-right: 0 !important;
  margin-left: 1rem !important;
}

/* القائمة في الوسط: mx-lg-auto في RTL تسبب لخبطة */
html[dir="rtl"] .navbar-nav.mx-lg-auto {
  margin-left: 0 !important;
  margin-right: auto !important; /* خليه يتجه لليمين */
}

/* مكان قائمة اللغات: بدّل ms-lg-3 */
html[dir="rtl"] .ms-lg-3 {
  margin-left: 0 !important;
  margin-right: 1rem !important;
}

/* dropdown-menu-end في RTL لازم تفتح لليسار */
html[dir="rtl"] .dropdown-menu-end {
  right: auto !important;
  left: 0 !important;
}

/* محاذاة نصوص وروابط القائمة */
html[dir="rtl"] .navbar-nav .nav-link {
  text-align: right;
}

/* في الموبايل داخل الـ collapse: اجعل العناصر يمين */
@media (max-width: 991px) {
  html[dir="rtl"] .navbar-collapse {
    text-align: right;
  }
  html[dir="rtl"] .navbar-nav {
    padding-right: 0;
  }
  html[dir="rtl"] .navbar-nav .nav-link {
    padding-right: 0.75rem;
    padding-left: 0;
  }
  html[dir="rtl"] .d-flex.align-items-center.gap-2.ms-lg-3 {
    justify-content: flex-end;
  }
}


/* =========================
   RTL Support
========================= */
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

/* Bootstrap helpers */
html[dir="rtl"] .ms-auto { margin-right: auto !important; margin-left: 0 !important; }
html[dir="rtl"] .me-auto { margin-left: auto !important; margin-right: 0 !important; }

/* Swap common spacing utilities used in your header */
html[dir="rtl"] .ms-lg-3 { margin-right: 1rem !important; margin-left: 0 !important; }
html[dir="rtl"] .mx-lg-auto { margin-left: 0 !important; margin-right: 0 !important; }

/* Dropdown align */
html[dir="rtl"] .dropdown-menu-end {
  right: auto !important;
  left: 0 !important;
}

/* Hero text (اختياري لو بدك) */
html[dir="rtl"] .hero-content {
  text-align: right;
}


:root{
  --brand:#0b6a72;
}

/* ===== Top Bar ===== */
.topbar{
  font-size:.95rem;
  padding:10px 0;
}
.topbar a{ text-decoration:none; }

/* Social icons animation */
.topbar .bi{
  font-size:1.1rem;
  transition: color .3s ease, transform .3s ease, text-shadow .3s ease;
}
.topbar a:hover .bi{
  color: var(--brand);
  transform: translateY(-2px) scale(1.15);
  text-shadow: 0 4px 10px rgba(11,106,114,.35);
}

/* ===== Sticky wrapper ===== */
.main-header-wrap{
  padding:10px 0 18px;
  position: sticky;
  top: 0;
  z-index: 999;
}

/* ===== Main Header ===== */
.main-header{
  background: var(--brand);
  border-radius:14px;
  padding:18px 20px;
  box-shadow:0 10px 22px rgba(0,0,0,.08);
  transition: padding .3s ease, box-shadow .3s ease, transform .3s ease;
}

/* Scroll effect */
.main-header.scrolled{
  padding:12px 20px;
  box-shadow:0 14px 28px rgba(0,0,0,.12);
  transform: translateY(-1px);
}

/* Logo */
.navbar-brand img{
  height:56px;
  width:auto;
}

/* ===== Nav Links ===== */
.nav-link{
  color:#fff !important;
  font-weight:600;
  padding:.5rem .9rem !important;
  position: relative;
  transition: opacity .25s ease;
}
.nav-link:hover{ opacity:.95; }

/* Underline animation */
.nav-link::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  width:0;
  height:2px;
  background:#fff;
  transition: all .3s ease;
  transform: translateX(-50%);
}
.nav-link:hover::after{ width:70%; }

/* Active link */
.nav-link.active::after{ width:70%; }

/* ===== Language Button ===== */
.lang-btn{
  background:#fff;
  color: #0b6a72;
  border:0;
  border-radius:10px;
  padding:10px 14px;
  font-weight:600;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.lang-btn:hover{
  background: var(--brand);
  color:#fff;
  transform: translateY(-2px);
}

/* ===== CTA Button ===== */
.btn-cta{
  background:#fff;
  border-radius:10px;
  padding:10px 16px;
  border:0;
  transition: transform .25s ease, opacity .25s ease;
}
.btn-cta:hover{
  transform: translateY(-2px);
  opacity: .95;
}

/* Desktop spacing */
@media (min-width: 992px){
  .navbar-nav{ gap:6px; }
}

/* Mobile menu styling */
@media (max-width: 991px){
  .navbar-collapse{
    background: var(--brand);
    border-radius:12px;
    padding:15px;
    margin-top:10px;
  }
  .btn-cta{ width: 100%; }
  .dropdown{ width: 100%; }
  .lang-btn{ width: 100%; text-align: left; }
}

/* ===== Topbar mobile fix ===== */

/* ===== Topbar background enhancement ===== */
.topbar{
  background: #f3fcf8 !important;
  border-bottom: 1px solid#f3fcf8 !important;
}

.topbar .container{
  flex-wrap: wrap;
}

@media (max-width: 576px){
  .topbar .container{
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px;
  }

  .topbar .container > div:first-child{
    flex-direction: column;
    align-items: flex-start !important;
    gap: 6px !important;
    width: 100%;
  }

  .topbar .container > div:last-child{
    width: 100%;
    justify-content: flex-start;
  }


  .topbar a{
  white-space: nowrap;   /* يمنع كسر الرقم/الإيميل */
  padding: 6px 10px;
  border-radius: 8px;
  transition: background .25s ease;
}

.topbar a:hover{
  background: rgba(11,106,114,0.1);
}

}


/* ===== Nav Links underline fix ===== */
.nav-link{
  display: inline-block;
  padding-bottom: 10px !important; /* مساحة للخط */
}

.nav-link::after{
  bottom: 2px;            /* ثابت وواضح */
}

.nav-link::after{ bottom: 0px; }

.nav-link{ overflow: hidden; }


/* =========================================================================================================================== */

/* ===== Footer ===== */
.site-footer{
  margin-top: 60px;
  background: var(--brand);
  color: #fff;
}

.footer-top{
  padding: 40px 0;
}

.footer-brand img{
  height: 52px;
  width: auto;
}

.footer-title{
  font-weight: 800;
  letter-spacing: .3px;
}

.footer-subtitle{
  font-size: .9rem;
  opacity: .85;
}

.footer-desc{
  opacity: .9;
  max-width: 420px;
  line-height: 1.6;
}

.footer-heading{
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li{
  margin: 10px 0;
}
.footer-links a{
  color: rgba(255,255,255,.88);
  text-decoration: none;
  position: relative;
  transition: opacity .25s ease, transform .25s ease;
}
.footer-links a:hover{
  opacity: 1;
  transform: translateX(2px);
}

/* Contact items */
.footer-contact .item{
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  margin: 10px 0;
}
.footer-contact .item i{
  opacity: .95;
}

/* Social icons */
.footer-social a{
  color: rgba(255,255,255,.9);
  font-size: 1.2rem;
  transition: transform .25s ease, opacity .25s ease, text-shadow .25s ease;
}
.footer-social a:hover{
  opacity: 1;
  transform: translateY(-2px) scale(1.12);
  text-shadow: 0 6px 14px rgba(0,0,0,.18);
}

/* Language button */
.footer-lang-btn{
  width: 100%;
  background: #fff;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  transition: transform .25s ease, opacity .25s ease;
}
.footer-lang-btn:hover{
  transform: translateY(-2px);
  opacity: .96;
}

/* Newsletter */
.footer-newsletter{
  display: flex;
  gap: 10px;
}
.footer-newsletter .form-control{
  border-radius: 10px;
  border: 0;
}
.btn-footer{
  background: #fff;
  color: #0b6a72;
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  padding: 10px 14px;
  transition: transform .25s ease, opacity .25s ease;
}
.btn-footer:hover{
  transform: translateY(-2px);
  opacity: .96;
}

/* Bottom bar */
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.18);
  padding: 14px 0;
}
.footer-bottom-links a{
  color: rgba(255,255,255,.88);
  text-decoration: none;
}
.footer-bottom-links a:hover{
  color: #fff;
}

/* Mobile */
@media (max-width: 576px){
  .footer-newsletter{
    flex-direction: column;
  }
}

@media (max-width: 576px){
  .site-footer{
    padding-left: 18px;
    padding-right: 18px;
  }
  .site-footer .container{
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}


/* ================================================================================================================ */

/* ===== Hero Section ===== */
.hero-section{
  position: relative;
  min-height: 85vh;
  background: url('../img/hero-optimized.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background: rgba(11,106,114,0.55); /* نفس لون الهوية */
}

.hero-content{
  position: relative;
  z-index: 2;
  max-width: 70%;
}

@media (max-width: 992px){
  .hero-content{
    max-width: 90%;
  }
}


.hero-subtitle{
  font-size: 2rem;
  letter-spacing: 1px;
  opacity: .9;
}

.hero-title{
  font-family: 'Patrick Hand', cursive;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 20px 0;
}


.hero-text{
  font-size: 1.05rem;
  max-width: 650px;
  opacity: .95;
}


/* Hero Button */
.btn-hero{
  background: #fff;
  color: var(--brand);
  font-weight: 800;
  padding: 12px 26px;
  border-radius: 10px;
  transition: transform .25s ease, opacity .25s ease;
}

.btn-hero:hover{
  transform: translateY(-3px);
  opacity: .95;
}

/* ================================================================================================================================= */
.section_title h3 {
  margin-top: 50px;
  margin-bottom: 50px;
  font-size: 40px;
  font-weight: 400;
  color: #191d34;
  z-index: 1;
  font-family: "Yeseva One", cursive;
  line-height: 1.3;
}

.section_title h3 span {
  position: relative;
  display: inline-block;
  z-index: 2;
}

.section_title h3 span::before {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #005f71;
  height: 10px;
  width: 100%;
  content: '';
  opacity: .5;
  bottom: 7px;
  z-index: -1;
}

@media (max-width: 767px) {
  .section_title h3 {
    font-size: 25px;
    line-height: 36px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .section_title h3 {
    font-size: 36px;
    line-height: 42px;
  }
}

@media (max-width: 767px) {
  .section_title h3 br {
    display: none;
  }
}

.section_title p {
  font-size: 16px;
  color: #6b6a6a;
  line-height: 30px;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .section_title p br {
    display: none;
  }
}


.reson_area .single_reson {
  position: relative;
}

@media (max-width: 767px) {
  .reson_area .single_reson {
    margin-bottom: 30px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .reson_area .single_reson {
    margin-bottom: 40px;
  }
}

.reson_area .single_reson .thum {
  margin-right: 84px;
  padding-bottom: 84px;
}


.reson_area .single_reson .thum .thum_1 img{
  height: 330px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.reson_area .single_reson .thum .thum_1 img {
  width: 100%;
  -webkit-border-radius: 9px;
  -moz-border-radius: 9px;
  border-radius: 9px;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.reson_area .single_reson .help_content {
  background: #fff;
  position: absolute;
  bottom: 0;
  right: 0;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  padding: 47px 40px 33px 40px;
  left: 46px;
}

.reson_area .single_reson .help_content h4 {
  font-size: 20px;
  font-weight: 400;
}

.reson_area .single_reson .help_content p {
  margin-top: 21px;
  margin-bottom: 30px;
}

.reson_area .single_reson .help_content .read_more {
  font-size: 16px;
  color: #BCBDBF;
  text-transform: capitalize;
  position: relative;
  display: inline-block;
  padding-left: 68px;
}

.reson_area .single_reson .help_content .read_more::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 36px;
  height: 2px;
  background: #707070;
  content: '';
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.reson_area .single_reson .help_content .read_more:hover {
  color: #005f71;
}

.reson_area .single_reson .help_content .read_more:hover::before {
  background: #005f71;
}

.reson_area .single_reson:hover .thum img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

/* ====================================================================================== */

/* =========================
   Intro Video + About
========================= */
.intro-about {
  background: #f7f8fb;
}

.intro-about__media {
  position: relative;
  height: 420px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.intro-about__video,
.intro-about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform .45s ease;
}

.intro-about__mediaOverlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 95, 113, 0.22);
}

.intro-about__media:hover .intro-about__video,
.intro-about__media:hover img {
  transform: scale(1.06);
}

/* Play button (اختياري) */
.intro-about__play {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 0;
  background: rgba(255,255,255,0.92);
  color: #005f71;
  font-size: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  cursor: pointer;
  transition: transform .2s ease;
}

.intro-about__play:hover {
  transform: translateY(-2px);
}

/* Right card */
.intro-about__card {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.intro-about__text {
  color: #111;
  line-height: 1.9;
  margin: 12px 0 22px;
}

.intro-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.intro-about__btn {
  background: #005f71;
  border-color: #005f71;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
}

.intro-about__btn:hover {
  background: #004c5b;
  border-color: #004c5b;
}

.intro-about__arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform .25s ease;
}

.intro-about__btn:hover .intro-about__arrow {
  transform: translateX(4px);
}

/* Link line مثل campaigns */
.intro-about__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #191d34;
  font-weight: 600;
  text-decoration: none;
}

.intro-about__line {
  width: 34px;
  height: 2px;
  background: #005f71;
  display: inline-block;
  transition: width .3s ease;
}

.intro-about__link:hover .intro-about__line {
  width: 52px;
}

@media (max-width: 991px) {
  .intro-about__media {
    height: 320px;
  }
  .intro-about__card {
    padding: 22px;
  }
}


/* =========================
   Projects / Reasons Cards
========================= */

.project-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 40px 25px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  transition: all .35s ease;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.10);
}

.project-icon {
  width: 250px;
  height: 250px;
  margin: 0 auto 22px;
  background: #f3f7f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-icon img {
  width: 220px;
  height: auto;
    border-radius: 50%;

}

.project-card h4 {
  font-family: "Patrick Hand", cursive;
  font-size: 22px;
  color: #191d34;
  margin: 0;
}

/* Mobile */
@media (max-width: 767px) {
  .project-card {
    padding: 30px 20px;
  }
}

/* =========================
   About Page Hero
========================= */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: 0 0 70px;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 95, 113, 0.7);
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero__title {
  font-family: "Patrick Hand", cursive;
  font-size: 70px;
  color: #fff;
  margin: 0;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 991px) {
  .page-hero {
    min-height: 320px;
    padding-bottom: 55px;
  }
  .page-hero__title {
    font-size: 44px;
  }
}

/* =========================
   About Page Content
========================= */
.about-page__card {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.about-page__text {
  color: #5b5f73;
  line-height: 1.9;
  margin: 12px 0 0;
}

.about-page__image {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  height: 420px;
}

.about-page__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.about-page__image:hover img {
  transform: scale(1.05);
}

.about-page__btn {
  background: #005f71;
  border-color: #005f71;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 18px;
}

.about-page__btn:hover {
  background: #004c5b;
  border-color: #004c5b;
}

.about-page__arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform .25s ease;
}

.about-page__btn:hover .about-page__arrow {
  transform: translateX(4px);
}

@media (max-width: 991px) {
  .about-page__image {
    height: 320px;
  }
}


/* =========================
   Card Icons Styling
========================= */


 .about_i {
  font-size: 62px;
  color: #005f71;
  transition: all 0.35s ease;
}

 .about_i:hover {
  color: #91bcbf;
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 767px) {

   .about_i {
    font-size: 34px;
  }
}

/* =========================
   Contact Section
========================= */

.contact-section {
  background: #ffffff;
}

.contact-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.contact-title {
  font-family: "Patrick Hand", cursive;
  font-size: 38px;
  color: #191d34;
  margin: 0 0 18px;
}

/* Inputs */
.contact-input {
  border: 1px solid #e6e8ef;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: none !important;
  outline: none !important;
  color: #191d34;
}

.contact-input::placeholder {
  color: #9aa0b4;
}

.contact-input:focus {
  border-color: #005f71;
  box-shadow: 0 0 0 4px rgba(0, 95, 113, 0.12) !important;
}

/* Button */
.contact-btn {
  background: #005f71;
  border: 1px solid #005f71;
  color: #fff;
  padding: 12px 34px;
  border-radius: 10px;
  font-weight: 600;
  transition: all .25s ease;
}

.contact-btn:hover {
  background: #004c5b;
  border-color: #004c5b;
  transform: translateY(-2px);
}

/* Right info */
.contact-info {
  padding: 10px 6px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}

.info-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #f3f7f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #005f71;
  font-size: 18px;
  flex: 0 0 46px;
}

.info-title {
  font-weight: 600;
  color: #191d34;
}

@media (max-width: 991px) {
  .contact-title {
    font-size: 32px;
  }
}

/* =========================
   Campaign Cards
========================= */
.campaign-card {
  /*border: 1px solid #e6eaee; */
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: all 0.35s ease;
}

.campaign-card:hover {
  border-color: #005f71;       /* لون الهوية */
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* Image */
.campaign-card-img {
  height: 220px;                 /* ارتفاع ثابت */
  background: #f6f7f9;           /* خلفية ناعمة */
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 12px; */
}

.campaign-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;           /* الأهم */
  transition: transform .3s ease;
}

/* Hover (اختياري خفيف) */
.campaign-card:hover .campaign-card-img img {
  transform: scale(1.03);
}

/* Body */
.campaign-card .card-body {
  background-color: #005f71;
  padding: 22px;
}

.campaign-card .card-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.campaign-card .card-text {
  color: #fff;
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 18px;
}

/* Button */
.btn-campaign {
  background: #fff;
  border: none;
  color: #005f71;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  transition: all .25s ease;
}

.btn-campaign:hover {
  background: #004c5b;
  color: #fff;
  transform: translateY(-2px);
}

/* RTL support */
html[dir="rtl"] .campaign-card .card-title,
html[dir="rtl"] .campaign-card .card-text {
  text-align: right;
}

/* =========================
   Campaign Details Page
========================= */


/* .campaign-details__card {
  background: #fff;
  border: 1px solid #e6eaee;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.campaign-details__excerpt {
  color: #005f71;
  font-weight: 600;
  line-height: 1.8;
  margin-bottom: 14px;
}

.campaign-details__content {
  color: #5b5f73;
  line-height: 2;
  font-size: 16px;
}

.campaign-details__side {
  background: #fff;
  border: 1px solid #e6eaee;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

.campaign-details__cover {
  height: 240px;
  background: #f6f7f9;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.campaign-details__cover img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; 
}

html[dir="rtl"] .campaign-details__card,
html[dir="rtl"] .campaign-details__content,
html[dir="rtl"] .campaign-details__excerpt {
  text-align: right;
}

.campaign-cover img{
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid #e6eaee;
}

.campaign-section__title{
  font-weight: 700;
  font-size: 24px;
  color: #191d34;
  margin-bottom: 14px;
}

.campaign-section__img{
  background:#f6f7f9;
  border:1px solid #e6eaee;
  border-radius: 16px;
  overflow:hidden;
  margin-bottom: 14px;
}

.campaign-section__img img{
  width:100%;
  height: 420px;
  object-fit: cover;
  display:block;
}

.campaign-section__text{
  color:#5b5f73;
  line-height: 2;
  font-size: 16px;
}

html[dir="rtl"] .campaign-section__title,
html[dir="rtl"] .campaign-section__text{
  text-align:right;
} */

/* =========================
   Campaign Details (Full width sections)
========================= */

.campaign-cover img{
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid #e6eaee;
}

.campaign-section {
  background: #fff;
  border: 1px solid #e6eaee;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.campaign-section__title{
  font-weight: 700;
  font-size: 24px;
  color: #191d34;
  margin: 0 0 14px;
}

.campaign-section__img{
  background:#f6f7f9;
  width: 80%;
  margin: auto;
  border:1px solid #e6eaee;
  border-radius: 16px;
  overflow:hidden;
  margin-bottom: 14px;
}

.campaign-section__img img{
  width:100%;
  height: 524px;       /* ثابت */
  object-fit: cover;   /* Full width + شكل جميل */
  display:block;
}

.campaign-section__text{
  color:#5b5f73;
  line-height: 2;
  font-size: 16px;
}

html[dir="rtl"] .campaign-section__title,
html[dir="rtl"] .campaign-section__text{
  text-align:right;
}

/* =========================
   Modern Rebuild Layer
========================= */
:root {
  --brand: #0a6f75;
  --brand-dark: #073f48;
  --brand-soft: #e7f5f4;
  --ink: #17212b;
  --muted: #66717f;
  --line: #e5ebef;
  --surface: #ffffff;
  --surface-2: #f6f8f6;
  --accent: #d86d4a;
  --gold: #e5b75d;
  --shadow-sm: 0 8px 24px rgba(21, 37, 47, .08);
  --shadow-md: 0 18px 48px rgba(21, 37, 47, .14);
  --radius: 8px;
}

* {
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(180deg, rgba(231, 245, 244, .48), rgba(255, 255, 255, 0) 520px),
    var(--surface-2);
  color: var(--ink);
  font-family: "Inter", "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

html[dir="rtl"] body {
  font-family: "Cairo", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a,
button,
input,
textarea {
  min-width: 0;
}

img,
video,
iframe {
  max-width: 100%;
}

.scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 1100;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--brand));
  box-shadow: 0 0 16px rgba(216, 109, 74, .35);
}

.topbar {
  background: rgba(255, 255, 255, .88) !important;
  border-bottom: 1px solid rgba(229, 235, 239, .8) !important;
  backdrop-filter: blur(16px);
  font-size: .88rem;
}

.topbar a {
  color: var(--ink) !important;
  font-weight: 600;
}

.main-header-wrap {
  top: 10px;
  padding: 10px 0 12px;
}

.main-header {
  background: rgba(7, 63, 72, .94);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.main-header.scrolled {
  padding: 8px 14px;
  box-shadow: var(--shadow-md);
}

.navbar-brand img {
  height: clamp(42px, 5vw, 58px);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .16));
}

.nav-link {
  border-radius: var(--radius);
  color: rgba(255, 255, 255, .86) !important;
  font-size: .96rem;
  line-height: 1.2;
  overflow: visible;
}

.nav-link::after {
  display: none;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, .12);
  color: #fff !important;
  opacity: 1;
}

.lang-btn,
.btn-cta,
.btn-hero,
.intro-about__btn,
.contact-btn,
.btn-campaign,
.btn-footer {
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  white-space: normal;
  text-align: center;
}

.lang-btn {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
}

.lang-btn:hover {
  background: #fff;
  color: var(--brand-dark);
}

.btn-cta {
  color: var(--brand-dark);
  font-weight: 800;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--radius);
  padding: 9px 11px;
}

.section_padding,
.reson_area {
  padding: clamp(42px, 7vw, 86px) 0;
}

.section_title h3 {
  color: var(--ink);
  font-family: "Cairo", "Inter", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 30px;
}

.section_title h3 span::before {
  background: linear-gradient(90deg, var(--gold), var(--accent));
  bottom: 5px;
  height: 9px;
  opacity: .36;
}

.section-kicker {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .86rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

html[dir="rtl"] .section-kicker::before {
  order: 2;
}

.hero-section {
  isolation: isolate;
  min-height: min(760px, calc(100vh - 38px));
  padding: clamp(78px, 10vw, 132px) 0 clamp(56px, 8vw, 92px);
  background-position: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: auto 7% 8% auto;
  width: min(320px, 36vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  z-index: 1;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 63, 72, .92), rgba(10, 111, 117, .72) 48%, rgba(216, 109, 74, .35)),
    linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .45));
}

.hero-content {
  max-width: 840px;
}

.hero-subtitle {
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  display: inline-flex;
  font-family: "Inter", "Cairo", sans-serif;
  font-size: .95rem;
  font-weight: 800;
  margin-bottom: 20px;
  padding: 9px 14px;
}

.hero-title {
  font-family: "Cairo", "Inter", sans-serif;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0 0 20px;
  text-wrap: balance;
}

.hero-text {
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.9;
  max-width: 690px;
}

.hero-actions,
.intro-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn-hero {
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
  color: var(--brand-dark);
  min-width: 150px;
}

.btn-hero:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-3px);
}

.btn-hero--outline {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .26);
  color: #fff;
}

.btn-hero--outline:hover {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

.impact-strip {
  position: relative;
  z-index: 3;
  margin-top: -42px;
}

.impact-strip__inner {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(229, 235, 239, .88);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.impact-item {
  background: #fff;
  padding: clamp(18px, 3vw, 28px);
}

.impact-item strong {
  color: var(--brand-dark);
  display: block;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
}

.impact-item span {
  color: var(--muted);
  display: block;
  font-weight: 700;
  margin-top: 8px;
}

.single_reson,
.project-card,
.campaign-card,
.intro-about__card,
.contact-card,
.campaign-section,
.about-page__card {
  border: 1px solid rgba(229, 235, 239, .95);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.single_reson {
  background: var(--surface);
  height: 100%;
  overflow: hidden;
  transition: box-shadow .35s ease, transform .35s ease;
}

.single_reson:hover,
.project-card:hover,
.campaign-card:hover {
  box-shadow: var(--shadow-md);
}

.reson_area .single_reson .thum {
  margin: 0;
  overflow: hidden;
  padding: 0;
}

.reson_area .single_reson .thum .thum_1 img {
  aspect-ratio: 4 / 3;
  border-radius: 0;
  height: auto;
  min-height: 260px;
  object-fit: cover;
  width: 100%;
}

.reson_area .single_reson .help_content {
  background: #fff;
  border-radius: 0;
  bottom: auto;
  box-shadow: none;
  left: auto;
  min-height: 238px;
  padding: 24px;
  position: relative;
  right: auto;
}

.reson_area .single_reson .help_content h4,
.campaign-card .card-title {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
}

.reson_area .single_reson .help_content p {
  color: var(--muted);
  display: -webkit-box;
  line-height: 1.8;
  margin: 12px 0 22px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.reson_area .single_reson .help_content .read_more {
  color: var(--brand);
  font-weight: 800;
  padding-left: 48px;
  text-decoration: none;
}

.reson_area .single_reson .help_content .read_more::before {
  background: var(--accent);
}

html[dir="rtl"] .reson_area .single_reson .help_content .read_more {
  padding-left: 0;
  padding-right: 48px;
}

html[dir="rtl"] .reson_area .single_reson .help_content .read_more::before {
  left: auto;
  right: 0;
}

.project-card {
  background: var(--surface);
  height: 100%;
  overflow: hidden;
  padding: clamp(22px, 4vw, 34px);
  transform-style: preserve-3d;
}

.project-icon {
  background: linear-gradient(135deg, var(--brand-soft), #fff8e8);
  border: 1px solid rgba(10, 111, 117, .14);
  border-radius: var(--radius);
  height: clamp(150px, 24vw, 230px);
  margin-bottom: 22px;
  width: 100%;
}

.project-icon img {
  border-radius: var(--radius);
  height: 82%;
  object-fit: contain;
  width: 82%;
}

.project-icon i {
  color: var(--brand);
  font-size: clamp(3.4rem, 8vw, 5.2rem);
  line-height: 1;
}

.project-card h3,
.project-card h4 {
  color: var(--ink);
  font-family: "Cairo", "Inter", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
}

.project-card p {
  color: var(--muted);
  line-height: 1.8;
  margin: 12px 0 0;
}

.intro-about {
  background:
    linear-gradient(135deg, rgba(231, 245, 244, .9), rgba(255, 248, 232, .84));
  overflow: hidden;
}

.intro-about__media,
.about-page__image {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  height: clamp(280px, 45vw, 470px);
}

.intro-about__card {
  padding: clamp(24px, 4vw, 42px);
}

.intro-about__text,
.about-page__text,
.campaign-section__text,
.campaign-details__excerpt {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 2;
}

.intro-about__btn,
.contact-btn {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 800;
}

.intro-about__btn:hover,
.contact-btn:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.page-hero {
  min-height: clamp(300px, 42vw, 470px);
  padding-bottom: clamp(46px, 7vw, 86px);
}

.page-hero__bg {
  background-position: center;
}

.page-hero__overlay {
  background:
    linear-gradient(90deg, rgba(7, 63, 72, .92), rgba(10, 111, 117, .68)),
    rgba(0, 0, 0, .12);
}

.page-hero__title {
  font-family: "Cairo", "Inter", sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.7rem);
  font-weight: 800;
  line-height: 1.12;
  text-wrap: balance;
}

.campaign-card {
  border: 1px solid rgba(229, 235, 239, .95);
  border-radius: var(--radius);
  overflow: hidden;
}

.campaign-card-img {
  aspect-ratio: 16 / 10;
  background-color: var(--brand-soft);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: auto;
  min-height: 220px;
  overflow: hidden;
}

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

.campaign-card .card-body {
  background: #fff;
  padding: 24px;
}

.campaign-card .card-title {
  color: var(--ink);
}

.campaign-card .card-text {
  color: var(--muted);
  display: -webkit-box;
  font-size: .98rem;
  line-height: 1.8;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.btn-campaign {
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  width: fit-content;
}

.btn-campaign:hover {
  background: var(--accent);
  color: #fff;
}

.initiatives-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(231, 245, 244, .42));
}

.initiative-card {
  background: #fff;
  border: 1px solid rgba(229, 235, 239, .95);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: box-shadow .35s ease, transform .35s ease;
}

.initiative-card:hover {
  box-shadow: var(--shadow-md);
}

.initiative-card__media {
  aspect-ratio: 16 / 10;
  background: var(--brand-soft);
  display: block;
  overflow: hidden;
  position: relative;
}

.initiative-card__media::after {
  background: linear-gradient(180deg, transparent 52%, rgba(7, 63, 72, .52));
  content: "";
  inset: 0;
  opacity: .78;
  position: absolute;
  transition: opacity .3s ease;
}

.initiative-card:hover .initiative-card__media::after {
  opacity: .48;
}

.initiative-card__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
  width: 100%;
}

.initiative-card:hover .initiative-card__media img {
  transform: scale(1.06);
}

.initiative-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(20px, 3vw, 26px);
}

.initiative-card__badge {
  align-self: flex-start;
  background: var(--brand-soft);
  border: 1px solid rgba(10, 111, 117, .16);
  border-radius: 999px;
  color: var(--brand);
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 14px;
  padding: 6px 11px;
}

.campaign-hero__badge {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
  display: inline-flex;
  margin-bottom: 14px;
}

.initiative-card h3 {
  color: var(--ink);
  font-family: "Cairo", "Inter", sans-serif;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}

.initiative-card p {
  color: var(--muted);
  display: -webkit-box;
  line-height: 1.85;
  margin: 12px 0 22px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.initiative-card__link {
  align-items: center;
  color: var(--brand);
  display: inline-flex;
  font-weight: 800;
  margin-top: auto;
  text-decoration: none;
  width: fit-content;
}

.initiative-card__link:hover {
  color: var(--accent);
}

.campaign-cover img {
  aspect-ratio: 16 / 8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-height: none;
  object-fit: cover;
}

.campaign-section {
  padding: clamp(18px, 3vw, 30px);
}

.campaign-section__title {
  color: var(--ink);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 800;
}

.campaign-section__img {
  border-radius: var(--radius);
  width: 100%;
}

.campaign-section__img img {
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 560px;
  object-fit: cover;
}

.contact-section iframe {
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.map-placeholder {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(7, 63, 72, .9), rgba(10, 111, 117, .72)),
    url("../img/about/about-hero-optimized.jpg") center / cover no-repeat;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: #fff;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: clamp(28px, 5vw, 54px) 0 0;
  min-height: 210px;
  padding: clamp(24px, 5vw, 42px);
}

.map-placeholder h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  margin: 0;
}

.map-placeholder .section-kicker {
  color: #fff;
  margin-bottom: 12px;
}

.map-frame {
  border-radius: var(--radius);
  display: none;
  margin-top: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-frame.is-loaded {
  display: block;
}

.map-frame iframe {
  border: 0;
  display: block;
  height: min(480px, 70vh);
  width: 100%;
}

.map-load-btn.is-disabled {
  opacity: .82;
}

.contact-card {
  padding: clamp(20px, 4vw, 34px);
}

.contact-title {
  color: var(--ink);
  font-family: "Cairo", "Inter", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 800;
}

.contact-input {
  border-radius: var(--radius);
  min-height: 50px;
}

.info-icon {
  background: var(--brand-soft);
  border-radius: var(--radius);
  color: var(--brand);
}

.site-footer {
  background:
    radial-gradient(circle at 12% 10%, rgba(229, 183, 93, .16), transparent 28%),
    linear-gradient(135deg, var(--brand-dark), #0b5860);
  margin-top: 0;
}

.footer-top {
  padding: clamp(42px, 7vw, 76px) 0;
}

.footer-brand img {
  height: 58px;
}

.footer-newsletter {
  align-items: stretch;
}

.footer-newsletter .form-control {
  border-radius: var(--radius);
  min-height: 46px;
}

.btn-footer {
  color: var(--brand-dark);
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease var(--delay, 0ms), transform .7s ease var(--delay, 0ms);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 991px) {
  .main-header-wrap {
    top: 0;
  }

  .navbar-collapse {
    border-radius: var(--radius);
  }

  .navbar-nav {
    gap: 4px;
    margin-top: 12px;
  }

  .lang-btn {
    text-align: center;
  }

  .hero-section {
    min-height: auto;
  }

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

  .impact-strip {
    margin-top: 18px;
  }
}

@media (max-width: 767px) {
  .topbar .container {
    align-items: stretch !important;
  }

  .topbar .container > div:first-child,
  .topbar .container > div:last-child {
    align-items: stretch !important;
    gap: 8px !important;
    justify-content: center;
  }

  .topbar a {
    justify-content: center;
    white-space: normal;
  }

  .hero-actions,
  .intro-about__actions {
    flex-direction: column;
  }

  .btn-hero,
  .intro-about__btn,
  .contact-btn {
    width: 100%;
  }

  .impact-strip__inner {
    grid-template-columns: 1fr;
  }

  .impact-item {
    text-align: center;
  }

  .reson_area .single_reson .thum .thum_1 img,
  .campaign-card-img {
    min-height: 210px;
  }

  .campaign-cover img,
  .campaign-section__img img {
    aspect-ratio: 4 / 3;
  }

  .map-placeholder {
    align-items: flex-start;
    flex-direction: column;
  }

  .map-placeholder .btn-campaign {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
