/*
Theme Name: MAP Jordan
Theme URI: 
Author: Agent
Author URI: 
Description: MAP Jordan custom WordPress theme
Version: 1.0
Text Domain: map-jordan
*/
@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@400;700;800&family=Cairo:wght@400;500;700;900&display=swap');

:root {
  --primary: #eb2228;
  --dark: #231f20;
  --white: #ffffff;
  --gray-text: #6e6e6e;
  --light-gray: #f5f5ff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
	text-decoration: none;
}
html{
	overflow-x: hidden;
}
body {
  font-family: 'Almarai', sans-serif;
  direction: rtl;
  background-color: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}

.font-cairo {
  font-family: 'Cairo', sans-serif;
}

.container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

/* =========================================
   Top Banner
   ========================================= */
.top-banner {
  background-color: var(--dark);
  height: 76px;
  width: 100%;
  box-shadow: 0px 7px 4px rgba(0, 0, 0, 0.02), 0px 3px 3px rgba(0, 0, 0, 0.03);
  position: relative;
  margin-top: -76px;
  /* Initially hidden above viewport */
  animation: slideDownBanner 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.top-banner.slide-up {
  animation: slideUpBanner 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDownBanner {
  from {
    margin-top: -76px;
  }

  to {
    margin-top: 0;
  }
}

@keyframes slideUpBanner {
  from {
    margin-top: 0;
  }

  to {
    margin-top: -76px;
  }
}

.top-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-left: 16px;
  padding-right: 0;
  /* strip takes the edge */
}

.top-banner-strip {
  background-color: var(--primary);
  width: 5px;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
}

.banner-left,
.banner-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.banner-right {
  padding-right: 16px;
}

.banner-text {
  text-align: right;
  color: var(--light-gray);
  display: flex;
  flex-direction: column;
}

.banner-text .title {
  font-weight: 700;
  font-size: 14px;
}

.banner-text .desc {
  font-weight: 400;
  font-size: 14px;
}

.banner-text .desc strong {
  font-weight: 700;
}

.banner-btn {
  background-color: var(--dark);
  border: 1px solid #dcdee4;
  border-radius: 8px;
  padding: 8px 16px;
  color: var(--light-gray);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  height: 40px;
}

.close-btn,
.info-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* =========================================
   Navbar
   ========================================= */
.navbar {
  height: 100px;
  background-color: var(--white);
  width: 100%;
  display: flex;
  align-items: center;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1224px;
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}

.menu-header_menu-container ul {
  display: flex;
  align-items: center;
  gap: 12px;
	list-style: none;
}

.menu-header_menu-container ul li a {
  font-weight: 700;
  font-size: 14px;
  color: var(--gray-text);
  text-decoration: none;
  padding: 8px 12px;
  transition: color 0.3s;
}

.menu-header_menu-container ul li a[aria-current="page"]{
  color: var(--primary);
}

.menu-header_menu-container ul li a:hover {
  color: var(--primary);
}
/* ===== إظهار القائمة الفرعية عند الوقوف (Hover) ===== */

/* 1. ضمان أن العنصر الأب لديه position نسبي */
.menu-item-has-children,
li.menu-item-has-children {
    position: relative !important;
}

/* 2. إخفاء القائمة الفرعية بكل الطرق الممكنة */
.menu-item-has-children > .sub-menu,
li.menu-item-has-children > ul.sub-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    z-index: 999999 !important;
    min-width: 220px !important;
    background-color: #fff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    border-radius: 8px !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    clip: unset !important;
    height: auto !important;
    width: auto !important;
    max-height: unset !important;
    overflow: visible !important;
    pointer-events: none !important;
    transform: translateY(0) !important;
    transition: opacity 0.25s ease, visibility 0.25s ease !important;
}

/* 3. إظهار القائمة الفرعية عند الوقوف بالماوس */
.menu-item-has-children:hover > .sub-menu,
li.menu-item-has-children:hover > ul.sub-menu,
.menu-item-has-children:focus-within > .sub-menu,
li.menu-item-has-children:focus-within > ul.sub-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* 4. تنسيق عناصر القائمة الفرعية */
.sub-menu li {
    display: block !important;
    width: 100% !important;
}

.sub-menu li a {
    display: block !important;
    padding: 10px 20px !important;
    color: #333 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    transition: background-color 0.2s ease !important;
}

.sub-menu li a:hover {
    background-color: #f5f5f5 !important;
    color: #eb2228 !important;
}
/* ===== نظام Accordion محسّن للموبايل ===== */
@media screen and (max-width: 991px) {

    /* إلغاء تأثير الـ hover على الموبايل */
    .menu-item-has-children:hover > .sub-menu,
    li.menu-item-has-children:hover > ul.sub-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    /* العنصر الأب: جعل كل صف يظهر كسطر واحد */
    .menu-item-has-children {
        position: relative !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
		flex-direction: row-reverse;
    }

    /* رابط القائمة الرئيسية: يأخذ المساحة المتاحة */
    .menu-item-has-children > a {
        flex: 1 !important;
        min-width: 0 !important;
    }

    /* ===== زر السهم (Toggle) ===== */
    .menu-item-has-children > .submenu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        background: transparent !important;
        border: none !important;
         border-radius: 0 !important;
        cursor: pointer !important;
        position: static !important;
        transform: none !important;
        flex-shrink: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        transition: background 0.2s ease !important;
        order: -1 !important; /* يظهر قبل النص في RTL */
    }

    .menu-item-has-children > .submenu-toggle:hover,
    .menu-item-has-children > .submenu-toggle:focus {
        background: rgba(0, 0, 0, 0.04) !important;
        outline: none !important;
    }

    /* أيقونة السهم */
    .menu-item-has-children > .submenu-toggle::after {
        content: "" !important;
        display: block !important;
        width: 8px !important;
        height: 8px !important;
        border-left: 2px solid #555 !important;
        border-bottom: 2px solid #555 !important;
        transform: rotate(-45deg) !important;
        transition: transform 0.3s ease, border-color 0.3s ease !important;
        margin-top: -3px !important;
    }

    /* تدوير السهم عند الفتح */
    .menu-item-has-children.submenu-open > .submenu-toggle::after {
        transform: rotate(135deg) !important;
        margin-top: 3px !important;
        border-color: #eb2228 !important;
    }

    /* ===== القائمة الفرعية (Sub-Menu) ===== */
    .menu-item-has-children > .sub-menu,
    li.menu-item-has-children > ul.sub-menu {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        width: 100% !important;
        flex-basis: 100% !important;
        min-width: unset !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        background-color: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        pointer-events: auto !important;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s ease !important;
        border-top: none !important;
    }

    /* إظهار القائمة الفرعية عند الفتح */
    .menu-item-has-children.submenu-open > .sub-menu,
    li.menu-item-has-children.submenu-open > ul.sub-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        max-height: 600px !important;
        border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    }

    /* ===== عناصر القائمة الفرعية ===== */
    .sub-menu li {
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    }

    .sub-menu li:last-child {
        border-bottom: none !important;
    }

    .sub-menu li a {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 12px 20px 12px 15px !important;
        color: #555 !important;
        text-decoration: none !important;
        white-space: normal !important;
        font-size: 13.5px !important;
        line-height: 1.5 !important;
        background: rgba(0, 0, 0, 0.015) !important;
        transition: all 0.2s ease !important;
        position: relative !important;
    }

    /* خط جانبي يميني للعناصر الفرعية (تأثير جمالي) */
    .sub-menu li a::before {
        content: "" !important;
        display: inline-block !important;
        width: 4px !important;
        height: 4px !important;
        background: #ccc !important;
        border-radius: 50% !important;
        flex-shrink: 0 !important;
        transition: background 0.2s ease, transform 0.2s ease !important;
    }

    .sub-menu li a:hover,
    .sub-menu li a:focus {
        background: rgba(235, 34, 40, 0.04) !important;
        color: #eb2228 !important;
        padding-right: 25px !important;
    }

    .sub-menu li a:hover::before,
    .sub-menu li a:focus::before {
        background: #eb2228 !important;
        transform: scale(1.5) !important;
    }

    /* ===== قائمة فرعية من المستوى الثاني (إن وجدت) ===== */
    .sub-menu .sub-menu li a {
        padding-right: 35px !important;
        font-size: 13px !important;
        color: #777 !important;
    }
}

/* ===== إخفاء زر السهم على الديسكتوب ===== */
@media screen and (min-width: 992px) {
    .menu-item-has-children > .submenu-toggle {
        display: none !important;
    }
}

/* 5. ضمان أن جميع العناصر الأبوية لا تخفي المحتوى الزائد */
.navbar,
.navbar-inner,
.nav-links,
nav,
header,
.site-header,
.main-navigation,
.primary-menu,
.menu-container,
#site-navigation,
.nav-menu,
.menu {
    overflow: visible !important;
}

.btn-donate {
  background-color: var(--primary);
  color: var(--white);
  border-radius: 16.23px;
  width: 157px;
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
  height: 656px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1164px;
  height: 556px;
  margin: 40px auto 0;
  position: relative;
}

/* Hero Text Right Side */
.hero-text {
  width: 456px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.hero-title {
  font-weight: 800;
  font-size: 50px;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 20px;
}

.hero-title .text-red {
  color: var(--primary);
}

.hero-desc-wrapper {
  border-right: 2px solid var(--primary);
  padding-right: 15px;
}

.hero-desc {
  font-size: 16.23px;
  line-height: 27px;
  color: rgba(35, 31, 32, 0.58);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.btn-arrow {
  width: 50px;
  height: 50px;
  border-radius: 16.23px;
  background-color: rgba(35, 31, 32, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.cta-link-text {
  font-size: 12.17px;
  font-weight: 700;
  color: rgba(35, 31, 32, 0.75);
}

/* Hero Visual Left Side */
.hero-visual {
  width: 501px;
  height: 531px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15.5px;
}

/* Top Row of Visuals */
.visual-top-row {
  display: flex;
  gap: 14.7px;
  align-items: stretch;
  height: 315px;
}

/* Red Boxes Column */
.red-boxes {
  display: flex;
  flex-direction: column;
  gap: 15.5px;
  width: 210px;
}

.box-red {
  background-color: var(--primary);
  border-radius: 18.6px;
  color: var(--white);
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.box-2m {
  height: 206px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px 0;
}

.box-2m::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 45px;
  right: 18px;
  width: 1px;
  background-color: var(--white);
  opacity: 1;
}

.box-2m-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-right: 15px;
  /* Offset from right line */
  box-sizing: border-box;
}

.box-35 {
  height: 100px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px 0 0;
  position: relative;
  overflow: hidden;
}

.box-35-num {
  font-family: 'Arial Black', Impact, sans-serif;
  font-weight: 900;
  font-size: 90px;
  line-height: 1;
  font-style: italic;
  display: flex;
  direction: ltr;
  position: absolute;
  right: 25px;
  bottom: -14px;
  z-index: 1;
}

.box-35-num .num-3 {
  color: white;
  position: relative;
  z-index: 2;
}

.box-35-num .num-5 {
  color: var(--dark);
  position: relative;
  z-index: 1;
  margin-left: -25px;
  /* Deeper overlap into 3 */
}

.box-35-text {
  position: relative;
  z-index: 3;
  /* Push text strictly above the numbers */
  margin-right: 90px;
  /* Sink text exactly into the indents of the '3' */
  text-align: right;
  line-height: 1.1;
  font-family: 'Cairo', sans-serif;
  display: flex;
  flex-direction: column;
}

.text-line1 {
  color: #ffffff;
  font-weight: 900;
  font-size: 17.5px;
}

.text-line2 {
  color: #231f20;
  font-weight: 900;
  font-size: 17.5px;
  margin-top: -3px;
}

/* 2M Content */
.stats-number {
  font-size: 40px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  font-family: 'Cairo', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.stats-number .plus {
  color: var(--dark);
  font-family: Arial, sans-serif;
  font-size: 44px;
  margin-right: 4px;
}

.stats-desc {
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
  margin-top: 8px;
  text-align: center;
  color: var(--white);
}

.stats-desc .year {
  color: var(--dark);
  font-weight: 800;
  font-family: 'Almarai', sans-serif;
}

.avatars {
  display: flex;
  direction: ltr;
  /* Render strictly Left to Right */
  justify-content: center;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--dark);

  background-color: var(--white);
  margin-left: -12px;
  object-fit: cover;
}

.avatar:first-child {
  margin-left: 0;
}

/* Doctor Image */
.doctor-img-wrapper {
  width: 276px;
  height: 315px;
  border-radius: 18.6px;
  overflow: hidden;
}

.doctor-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Patient Image */
.patient-wrapper {
  width: 501px;
  height: 200px;
  border-radius: 18.6px;
  overflow: hidden;
  position: relative;
}

.patient-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Patient Image */
.campaign-img-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 25px;
  flex-shrink: 0;
}

.campaign-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.patient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0) 100%);
}

.patient-text {
  position: absolute;
  top: 22px;
  right: 25px;
  color: var(--white);
  font-weight: 900;
  font-size: 24px;
  font-family: 'Almarai', sans-serif;
  text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  background: rgba(20, 20, 20, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  z-index: 2;
}

.play-btn:hover {
  background: rgba(20, 20, 20, 0.55);
  transform: translate(-50%, -50%) scale(1.05);
}

.play-btn svg {
  width: 28px;
  height: 28px;
   /* Optical center alignment */
}

/* Center Cross Button */
.center-cross-btn {
  position: absolute;
  top: 213.75px;
  right: -44.5px;
  /* Shift to overlap outside right edge */
  transform: translateY(-50%);
  width: 89px;
  height: 89px;
  border-radius: 50%;
  background-color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border: 5px solid var(--white);
  /* White ring around it */
}

/* Floating Stat Boxes */
.floating-stats {
  position: absolute;
  top: 155px;
  left: -80px;
  /* Hanging off the left edge beautifully */
  display: flex;
  flex-direction: column;
  gap: 25.5px;
  z-index: 20;
}
@media (max-width: 1350px) {
	.floating-stats {
 	  left: -50px;
 	}
 }
@media (max-width: 1270px) {
	.hero-visual {
		width: 521px;
	}
	  .floating-stats {
    left: -30px;
  }
  }

.glass-box {
  background-color: rgba(35, 31, 32, 0.73);
  backdrop-filter: blur(8px);
  border-radius: 18.6px;
  width: 120px;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
}

.glass-title {
  color: var(--light-gray);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
}

.glass-num {
  color: var(--primary);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  margin-top: 5px;
}

/* Social Floating Links */
.social-floating {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
}

.social-icon {
  width: 33px;
  height: 33px;
  border-radius: 7.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
}

.soc-whatsapp {
  background-color: #00d95f;
}

.soc-facebook {
  background-color: #337fff;
}

.soc-linkedin {
  background-color: #069;
}

.soc-ig {
  background: linear-gradient(-45deg, rgb(251, 225, 138), rgb(252, 187, 69), rgb(247, 82, 116), rgb(213, 54, 146), rgb(143, 57, 206), rgb(91, 79, 233));
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.video-content {
  position: relative;
  width: 80%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background-color: #000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.video-modal.active .video-content {
  transform: scale(1);
}

.video-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

.close-video {
  position: absolute;
  top: -45px;
  right: -40px;
  color: white;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.close-video:hover {
  background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1000px) {
  .close-video {
    top: -45px;
    right: 0px;
  }
}

/* =========================================
   Responsive Design
   ========================================= */

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 28px;
  height: 3px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 1440px) {
  .container {
    max-width: 100%;
    padding: 0 20px;
  }
}

@media (max-width: 1200px) {
  .hero-inner {
    flex-direction: column;
    height: auto;
    align-items: center;
    text-align: center;
    gap: 40px;
    margin-top: 20px;
	  width: 100%;
  }

  .hero {
    height: auto;
    padding-bottom: 60px;
    overflow: visible;
  }

  .hero-text {
    width: 100%;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .hero-desc-wrapper {
    border-right: none;
    padding-right: 0;
    padding-top: 15px;
    border-top: 2px solid var(--primary);
  }

  .hero-cta {
    justify-content: center;
  }

  /* Removed social-floating override to let it stay fixed & sticky */

  .hero-visual {
    margin-top: 20px;
  }
}

@media (max-width: 991px) {
  .navbar-inner {
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    height: auto;
    padding: 15px 0px;
  }

  .menu-header_menu-container ul {
    position: fixed;
    top: 0;
    left: -280px;
    /* Slide drawer from left */
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 20px 20px;
    margin-top: 0;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
  }

  .menu-header_menu-container ul.mobile-active {
    left: 0;
    /* Slide in bounds */
    animation: none;
  }

  .menu-header_menu-container ul li {
    font-size: 18px;
    padding: 15px 0;
    text-align: right;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
  }
	.menu-header_menu-container ul li a{
		 font-size: 16px;
	}
  /* Navbar Elements Ordering for RTL (Right to Left visual) */
  .logo {
    order: 0;
    height: 56px;
    margin-right: 15px;
    /* Added spacing from the right edge */
  }

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    order: 2;
    /* Put menu on the far edge */
    margin-right: 0;
    margin-left: 0;
    position: relative;
    z-index: 1001;
    background: transparent;
    border: none;
    padding: 4px;
  }

  .mobile-menu-btn span {
    background-color: var(--dark);
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 2px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Move the X to the top-left empty space of the drawer */
  .mobile-menu-btn.active {
    position: fixed;
    top: 25px;
    left: 20px;
    margin: 0;
    z-index: 1005;
    /* Above everything */
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--dark);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--dark);
  }

  .btn-donate {
    order: 1;
    margin-right: auto;
    /* Pushes btn and everything after it to the left */
    margin-left: 15px;
    /* Adds gap between button and the menu */
    width: auto;
    font-size: 14px;
    height: 40px;
    padding: 0 16px;
  }
}

@media (max-width: 767px) {
  @keyframes slideDownBannerMobile {
    from {
      margin-top: -200px;
    }

    to {
      margin-top: 0;
    }
  }

  @keyframes slideUpBannerMobile {
    from {
      margin-top: 0;
    }

    to {
      margin-top: var(--banner-height, -200px);
      /* Uses the dynamically injected height via JS to be perfectly precise */
    }
  }

  .top-banner {
    height: auto;
    padding: 15px 0;
    margin-top: -200px;
    animation: slideDownBannerMobile 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
  }

  .top-banner.slide-up {
    animation: slideUpBannerMobile 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .top-banner-inner {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding: 0;
  }

  .banner-right {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  .banner-left {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    gap: 20px;
  }

  .banner-text {
    text-align: center;
  }

  .hero-inner {
    margin-top: 5px;
    /* Keep text close to the navbar */
    gap: 25px;
    /* Reduce space between text and visual on mobile */
  }

  .hero-title {
    font-size: 32px;
    margin-bottom: 0px;
    /* Remove space below title */
    margin-top: 0px;
    /* Remove default browser margin above h1 */
  }

  .hero-text {
    gap: 8px;
    /* Extremely tight gap between title, lines, and buttons */
  }

  .hero-desc {
    font-size: 15px;
    line-height: 20px;
    /* Tighter line height to save space */
  }

  .hero-desc-wrapper {
    padding-top: 5px;
    /* Very small padding above description */
  }

  .hero-cta {
    margin-top: 5px;
    /* Control space right above the buttons */
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    padding-left: 0;
    /* No white space */
    box-sizing: border-box;
  }

  .visual-top-row {
    position: relative;
    display: flex;
    flex-direction: row;
    /* Doctor on left, Red boxes on right */
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    height: auto;
    gap: 10px;
  }

  /* Doctor Wrapper */
  .doctor-img-wrapper {
    flex: 1;
    /* Takes remaining space */
    height: auto;
    border-radius: 12px;
    aspect-ratio: auto;
    min-height: 250px;
  }

  .doctor-img-wrapper img {
    border-radius: 12px;
  }

  /* Floating dark stats (overlapping left edge entirely) */
  .floating-stats {
    position: absolute;
    top: 50%;
    left: 0;
    /* Exactly on the edge of the images, no white space */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 20;
    width: auto;
    margin: 0;
  }

  .glass-box {
    width: 100px;
    min-height: 60px;
    padding: 10px;
    background-color: #4a4a4acc;
    /* Slight transparency to see image behind */
    border-radius: 0 12px 12px 0;
    /* Rounded on right side, flat on left edge */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    border: none;
  }

  .glass-title {
    font-size: 10px;
    line-height: 1.2;
    text-align: center;
    color: white;
  }

  .glass-num {
    font-size: 22px;
    margin-top: 4px;
    font-weight: 900;
  }

  /* Red boxes on the right */
  .red-boxes {
    width: 130px;
    /* Fixed smaller width */
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .box-red {
    border-radius: 12px;
    padding: 15px 10px;
  }

  .box-2m {
    height: auto;
    flex: 1;
    /* Match height if needed, or let content push */
    padding: 15px 5px;
  }

  .box-2m::before {
    display: none;
    /* Hide the separating line on mobile to save space */
  }

  .avatars {
    transform: scale(0.8);
    /* Shrink avatars */
  }

  .stats-number {
    font-size: 24px;
    margin-top: 5px;
  }

  .stats-number .plus {
    font-size: 24px;
  }

  .stats-desc {
    font-size: 9px;
    line-height: 1.3;
  }

  .box-35 {
    height: 70px;
    padding: 0 10px 0 0;
  }

  .box-35-text {
    margin-right: 40px;
    /* Reduced for mobile */
  }

  .text-line1,
  .text-line2 {
    font-size: 11px;
  }

  .box-35-num {
    font-size: 60px;
    right: -2px;
    bottom: -10px;
    transform: scale(0.85);
  }

  /* Center Cross Button */
  .center-cross-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    right: -20px;
    /* Pop out of the right edge */
    transform: translateY(-50%);
    border: 3px solid #fff;
    z-index: 30;
  }

  .center-cross-btn svg {
    width: 24px;
    height: 24px;
  }

  /* Patient Wrapper / Video */
  .patient-wrapper {
    position: relative;
    width: 100%;
    height: 140px;
    border-radius: 12px;
    margin-top: 0;
  }

  .patient-wrapper img {
    border-radius: 12px;
  }

  .patient-text {
    font-size: 18px;
    top: 15px;
    right: 15px;
  }

  .play-btn {
    width: 50px;
    height: 50px;
  }

  .play-btn svg {
    width: 20px;
    height: 20px;
  }
}

/* =========================================
   About Section
   ========================================= */
.about-section {
  padding: 80px 0;
  width: 1164px;
  /* Align with hero-inner bounds */
  margin: 0 auto;
}

.about-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
}

.about-text-col {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tag-pill {
  border: 1px solid #eb2228;
  color: #eb2228;
  border-radius: 20px;
  padding: 3px 18px;
  font-size: 13.5px;
  font-weight: 800;
  margin-bottom: 25px;
}

.about-title {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.35;
  color: #231f20;
  margin-bottom: 30px;
}

.about-desc-wrapper {
  border-right: 2px solid #eb2228;
  padding-right: 18px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #6e6e6e;
  font-weight: 500;
}

.about-cta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-arrow-grey {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: #bbbbbb;
  /* Greyish pill box */
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.about-cta .cta-link-text {
  font-size: 14.5px;
  font-weight: 700;
  color: #6e6e6e;
}

.about-image-col {
  width: 50%;
  display: flex;
  justify-content: flex-start;
  /* Image is on the left of its container, putting it on the right side visually in RTL */
}

.about-building-img {
  width: 100%;
  max-width: 530px;
  object-fit: contain;
}

/* =========================================
   Values Section
   ========================================= */
.values-section {
  padding: 20px 0 100px;
  width: 1164px;
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.value-card {
  background-color: #eb2228;
  border-radius: 0 18px 18px 18px;
  padding: 30px 15px 35px 15px;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Creating the reverse curved cutout on top left perfectly */
.value-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 50px;
  height: 50px;
  background-color: var(--white);
  border-bottom-right-radius: 50px;
}

.value-title {
  color: #ffffff;
  font-size: 32px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 25px;
  z-index: 2;
  /* keep text over cutout if it overlaps */
  position: relative;
}

.value-desc-box {
  border-right: none;
  border-left: 2px solid #231f20;
  padding-right: 0;
  padding-left: 15px;
  text-align: center;
  flex: 1;
}

.value-desc-box p {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

@media (max-width: 1200px) {

  .about-section,
  .values-section {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 1000px) {
  .about-grid {
    flex-direction: column;
    text-align: center;
  }

  .about-text-col {
    width: 100%;
    align-items: center;
  }

  .about-desc-wrapper {
    border-right: none;
    border-top: 2px solid var(--primary);
    padding-right: 0;
    padding-top: 20px;
  }

  .about-image-col {
    width: 100%;
    justify-content: center;
    margin-top: 30px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Partners Scroller
   ========================================= */
.partners-section {
  width: 100%;
  background-color: rgba(255, 245, 245, 0.45);
  /* Very faint soft pink/red tint mimicking the image */
  padding: 35px 0;
  overflow: hidden;
  position: relative;
  display: flex;
}

.partners-track {
  display: flex;
  width: max-content;
  align-items: center;
}

.partners-marquee {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
   /* same as gap to make the loop seamless */
  animation: scrollRTL 50s linear infinite;
  /* Slower, smoother animation */
  min-width: 100%;
}

.partner-logo {
  height: 35px;
  /* Average height to match design proportions */
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes scrollRTL {
  0% {
    transform: translateX(0);
  }

  100% {
    /* Because in RTL elements are physically positioned to the right,
       translating purely to the right by 100% (width of one marquee)
       brings the second duplicate block smoothly into view from the left. */
    transform: translateX(100%);
  }
}

@media (max-width: 1000px) {
  .partners-marquee {
    gap: 50px;
    padding-right: 50px;
  }

  .partner-logo {
    height: 40px;
  }
}

@media (max-width: 600px) {
  .partners-section {
    padding: 25px 0;
  }

  .partners-marquee {
    gap: 30px;
    padding-right: 30px;
  }

  .partner-logo {
    height: 35px;
    width: calc(33.333vw - 30px);
    object-position: center;
  }
}

/* =========================================
   Campaigns Section
   ========================================= */
.campaigns-section {
  padding: 80px 0;
  width: 1164px;
  margin: 0 auto;
}

.section-title {
  font-size: 38px;
  font-weight: 900;
  color: #231f20;
  margin-bottom: 50px;
}

.text-center {
  text-align: center;
}

.text-red {
  color: #eb2228;
}

.campaigns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.campaign-card {
  border: 1px solid #e0e0e0;
  border-radius: 18px;
  /* Slightly rounded corners */
  padding: 20px;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
}

.campaign-img-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 25px;
  flex-shrink: 0;
}

.campaign-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.campaign-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.campaign-title {
  font-size: 22px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 15px;
  text-align: right;
  /* RTL */
}

.campaign-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #888888;
  font-weight: 600;
  text-align: right;
  /* RTL */
  margin-bottom: 25px;
  flex: 1;
  /* Pushes the link to the bottom */
}

/* Fix RTL SVG Arrow Link */
.campaign-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* Align right in RTL */
  flex-direction: row-reverse;
  /* SVG on the left, text on the right */
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: #6e6e6e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.campaign-link:hover {
  color: #eb2228;
}

.campaign-link svg {
  color: #888888;
  transition: stroke 0.3s ease;
}

.campaign-link:hover svg {
  stroke: #eb2228;
}

@media (max-width: 1200px) {
  .campaigns-section {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 1000px) {
  .campaigns-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .campaigns-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 28px;
  }
}

/* =========================================
   Locations Section
   ========================================= */
.locations-section {
  padding: 100px 0;
  width: 1164px;
  margin: 0 auto;
}

.locations-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.locations-map-col {
  width: 55%;
  display: flex;
  justify-content: flex-start;
}

.jordan-map-img {
  width: 100%;
  max-width: 650px;
  object-fit: contain;
}

.locations-text-col {
  width: 45%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Aligns to physical right in RTL */
}

.tag-pill-outline {
  border: 1px solid #eb2228;
  color: #eb2228;
  border-radius: 20px;
  padding: 4px 18px;
  font-size: 13.5px;
  font-weight: 800;
  margin-bottom: 25px;
  background-color: transparent;
}

.locations-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.35;
  color: #000000;
  margin-bottom: 50px;
  text-align: right;
  /* RTL */
  width: 100%;
  /* Force alignment */
}

.locations-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  /* Space between the repeating icons */
  width: 100%;
  align-items: flex-start;
  /* All items aligned to the right physical edge */
}

.location-item {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  /* Put icon on the physical right, text on physical left */
  justify-content: flex-end;
  /* Align the entire group to physical right in row-reverse */
  flex-wrap: nowrap;
  gap: 20px;
}

.loc-text {
  font-size: 21px;
  font-weight: 800;
  color: #4a4a4a;
  white-space: nowrap;
}

/* Specific class to tweak justification by slightly spacing letters via CSS to mimic word expansion if tatweel isn't uniform */
.text-justify-tweak {
  letter-spacing: -0.5px;
  /* Compresses Arabic Kashedas naturally avoiding ugly gaps */
}

.loc-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1200px) {
  .locations-section {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 1000px) {
  .locations-grid {
    flex-direction: column-reverse;
    /* Usually mapping on bottom on mobile */
    gap: 40px;
  }

  .locations-map-col,
  .locations-text-col {
    width: 100%;
  }

  .locations-text-col {
    align-items: center;
  }

  .locations-title {
    text-align: center;
  }

  .locations-list {
    align-items: center;
    /* Center everything instead of flex-end */
  }

  .location-item {
    justify-content: center;
    /* Center the icon+text */
  }
}

@media (max-width: 600px) {
  .locations-title {
    font-size: 32px;
  }

  .loc-text {
    font-size: 16px;
  }
}

/* =========================================
   Community Center Section
   ========================================= */
.community-section {
  padding: 100px 0;
  width: 1164px;
  margin: 0 auto;
}

.community-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.community-img-col {
  width: 50%;
}

.community-img-col img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  display: block;
}

.community-text-col {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Aligns to physical right in RTL */
}

/* Tag pill uses existing .tag-pill-outline */

.community-title {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.35;
  color: #000000;
  margin-bottom: 30px;
  text-align: right;
  /* RTL text align */
  width: 100%;
}

.community-desc-wrapper {
  border-right: 3px solid #eb2228;
  padding-right: 25px;
  /* Spacing from red line */
}

.community-desc {
  font-size: 16px;
  line-height: 1.9;
  color: #888888;
  font-weight: 600;
  text-align: justify;
  /* Text lines justified nicely as per design */
  margin: 0;
}

@media (max-width: 1200px) {
  .community-section {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 1000px) {
  .community-grid {
    flex-direction: column-reverse;
    /* Adjust order for mobile nicely */
    gap: 40px;
  }

  .community-img-col,
  .community-text-col {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .community-title {
    font-size: 32px;
  }

  .community-desc {
    font-size: 14px;
  }
}

/* =========================================
   Mobile Clinic Section
   ========================================= */
.clinic-section {
  padding: 100px 0;
  width: 1164px;
  margin: 0 auto;
}

.clinic-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.clinic-img-col {
  width: 50%;
}

.clinic-img-col img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.clinic-text-col {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Aligns to physical right in RTL */
}

/* Tag pill uses existing .tag-pill-outline */

.clinic-title {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.35;
  color: #000000;
  margin-bottom: 30px;
  text-align: right;
  width: 100%;
}

.clinic-desc-wrapper {
  border-right: 3px solid #eb2228;
  padding-right: 25px;
  /* Spacing from red line */
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.clinic-desc {
  font-size: 16px;
  line-height: 1.9;
  color: #888888;
  font-weight: 600;
  text-align: justify;
  /* Text lines justified nicely */
  margin: 0;
}

.clinic-location {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* Aligns items to the physical right */
  gap: 10px;
}

.clinic-location svg {
  flex-shrink: 0;
}

.loc-label {
  font-size: 18px;
  color: #888888;
}

.loc-label strong {
  color: #000000;
  font-weight: 800;
}

@media (max-width: 1200px) {
  .clinic-section {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 1000px) {
  .clinic-grid {
    flex-direction: column;
    /* Truck on top, text below in mobile */
    gap: 40px;
  }

  .clinic-img-col,
  .clinic-text-col {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .clinic-title {
    font-size: 32px;
  }

  .clinic-desc {
    font-size: 14px;
  }


  .loc-label {
    font-size: 16px;
  }
}

/* =========================================
   Achievements Section
   ========================================= */
.achievements-section {
  padding: 100px 0;
  width: 1164px;
  margin: 0 auto;
}

.ach-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.ach-text-col {
  width: 45%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Right in RTL */
}

.ach-title {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.35;
  color: #000000;
  margin-bottom: 30px;
  text-align: right;
  width: 100%;
}

.ach-desc-wrapper {
  border-right: 3px solid #eb2228;
  padding-right: 25px;
  /* Spacing from red line */
}

.ach-desc {
  font-size: 16px;
  line-height: 1.9;
  color: #888888;
  font-weight: 600;
  text-align: justify;
  margin: 0;
}

.ach-cards-col {
  width: 50%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ach-card {
  background: #ffffff;
  border: 1px solid #f2f2f2;
  border-radius: 16px;
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center horizontally */
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.01);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ach-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.04);
}

.ach-icon {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ach-number {
  font-size: 46px;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1;
  font-family: Arial, Helvetica, sans-serif;
  /* the number font in design looks very thick sans-serif */
  display: inline-block;
  text-align: center;
  /* Since dir is LTR inside for number */
}

.ach-card-title {
  font-size: 15px;
  color: #888888;
  font-weight: 700;
  margin: 0;
}

@media (max-width: 1200px) {
  .achievements-section {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 1000px) {
  .ach-grid {
    flex-direction: column;
    gap: 50px;
  }

  .ach-text-col,
  .ach-cards-col {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .ach-title {
    font-size: 32px;
  }

  .ach-cards-col {
    grid-template-columns: 1fr;
  }

  .ach-number {
    font-size: 40px;
  }
}

/* =========================================
   Success Stories Section
   ========================================= */
.stories-section {
  padding: 100px 0;
  width: 1164px;
  margin: 0 auto;
}

.stories-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
}

.stories-title {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.35;
  color: #000000;
  margin-top: 15px;
  /* Spacing below the tag pill */
  text-align: center;
}

.highlight-red {
  color: #eb2228;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.story-card {
  background: #fdfdfd;
  border-radius: 20px;
  padding: 45px 40px;
  display: flex;
  flex-direction: row;
  /* Right to left logically for text vs icon */
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.story-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.story-desc {
  font-size: 14px;
  line-height: 2;
  color: #888888;
  text-align: justify;
  text-align-last: right;
  /* Ensure the last line matches Arabic right align */
  margin: 0 0 25px 0;
  font-weight: 600;
}

.story-card-title {
  font-size: 16px;
  color: #1a1a1a;
  font-weight: 600;
  margin: 0;
  text-align: left;
}

.story-icon-col {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-icon {
  width: 100%;
  height: 100%;
}

@media (max-width: 1200px) {
  .stories-section {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 1000px) {
  .stories-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .stories-title {
    font-size: 32px;
  }

  .story-card {
    flex-direction: column-reverse;
    /* Icon on top visually */
    text-align: center;
    padding: 30px 20px;
  }

  .story-desc {
    text-align: center;
    text-align-last: center;
  }

  .story-card-title {
    text-align: center;
  }

  .story-icon-col {
    margin-bottom: 20px;
  }
}

/* =========================================
   Footer Section
   ========================================= */
.site-footer {
  position: relative;
  margin-top: 220px;
  /* Space for the overlapping red box */
}

/* Newsletter Box */
.newsletter-wrapper {
  position: absolute;
  top: -170px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
  padding: 0 20px;
}

.newsletter-box {
  background: #eb2228;
  width: 1164px;
  max-width: 100%;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Spreads image and content */
  padding: 90px 70px;
  position: relative;
  box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.15);
  /* Match the lifted shadow look */
}

.newsletter-img-col {
  width: 40%;
  position: relative;
}

.mailbox-img {
  position: absolute;
  top: -230px;
  left: 0;
  max-width: 240px;
  height: auto;
  z-index: 15;
}

.newsletter-content {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* flex-start is physical RIGHT in RTL, matching design */
}

.newsletter-title {
  color: #fff;
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: 800;
  text-align: right;
}

.input-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 4px;
  width: 450px;
  max-width: 100%;
}

.input-icon {
  color: white;
  padding: 0 15px;
  font-size: 20px;
  font-family: Arial, sans-serif;
  flex-shrink: 0;
}

.newsletter-input {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  flex: 1;
  font-size: 15px;
  text-align: right;
  /* text-align: right keeps the text near the @ icon on the right */
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.9);
}

.newsletter-btn {
  background: white;
  color: #eb2228;
  border: none;
  border-radius: 50px;
  padding: 12px 35px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.newsletter-btn:hover {
  opacity: 0.9;
}

/* Main Dark Footer */
.main-footer {
  background: #231f20;
  /* Very dark rich brown/black matching the design */
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  padding-top: 180px;
  /* Space given for newsletter */
  padding-bottom: 20px;
  color: #fff;
}

.footer-content {
  width: 1164px;
  margin: 0 auto;
  max-width: 100%;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  /* Right mostly evenly distributed, far left gets wider */
  gap: 40px;
  border-bottom: 1px solid #363233;
  /* Faint separator line */
  padding-bottom: 50px;
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #fff;
}

.footer-col {
  display: flex;
  flex-direction: column;
}


.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: #dcdcdc;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #eb2228;
}

.footer-contact li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: #dcdcdc;
  font-size: 14px;
	flex-direction: row-reverse;
  gap: 10px;
}

.contact-icon {
  margin-left: 12px;
  /* Margins in RTL */
  flex-shrink: 0;
}

/* Brand Column (Physical Left) */
.brand-col {
  align-items: flex-start;
  /* physical left in RTL context with flex direction column? No, standard is left */
}

.brand-top {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-logo {
  max-width: 140px;
 }

.footer-about {
  color: #dcdcdc;
  font-size: 12px;
  line-height: 1.8;
  text-align: right;
  max-width: 250px;
  margin: 0;
  padding-top: 5px;
  /* Alignment fix */
}

.footer-socials {
  display: flex;
  gap: 15px;
  width: 100%;
  justify-content: flex-end;
	flex-direction: row-reverse;
  /* Aligns visually with the left side under logo */
}

.social-link {
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: transform 0.3s;
}

.social-link:hover {
  transform: translateY(-3px);
  color: #eb2228;
}

.footer-bottom {
  display: flex;
  justify-content: flex-start;
  /* Physical right in RTL */
}

.footer-bottom p {
  color: #888;
  font-size: 13px;
  margin: 0;
}

/* Responsiveness for Footer */
@media (max-width: 1200px) {
  .newsletter-box {
    padding: 40px;
  }
}

@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-col {
    grid-column: span 2;
    align-items: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .brand-top {
    flex-direction: column-reverse;
    /* Logo on top, text below */
    align-items: center;
  }

  .footer-about {
    text-align: center;
  }

  .newsletter-box {
    flex-direction: column;
    padding: 30px;
    align-items: center;
    top: -50px;
  }

  .newsletter-img-col {
    position: static;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }

  .mailbox-img {
    position: static;
  }

  .newsletter-content {
    width: 100%;
    align-items: center;
  }

  .newsletter-title {
    text-align: center;
  }

  .main-footer {
    padding-top: 100px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand-col {
    grid-column: span 1;
  }

  .footer-contact li {
    justify-content: center;
  }

  .contact-icon {
    margin-left: 0;
    margin-right: 12px;
  }

  .input-group {
    flex-direction: column;
    gap: 10px;
    background: transparent;
    border: none;
  }

  .newsletter-input {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px;
    border-radius: 50px;
    text-align: center;
  }

  .input-icon {
    display: none;
  }

  .footer-bottom {
    justify-content: center;
  }
}

/* =========================================
   بداية اكواد css لصفحة about
   ========================================= */

/* Common Utils for About */
.mx-auto {
   width: fit-content;
}

.text-center {
  text-align: center;
}

/* About Section 1 */
.about-page-section {
  margin-top: 150px;
  margin-bottom: 100px;
  max-width: 1164px;
}

.about-page-grid {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-page-text {
  width: 55%;
}

.about-page-image {
  width: 45%;
  position: relative;
}

.about-page-image img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.about-badge {
  position: absolute;
  bottom: -25px;
  left: -25px;
  right: auto;
  width: 160px;
  height: 130px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 2;
  border-radius: 18.6px;
}

.about-page-title {
  font-size: 36px;
  font-weight: 800;
  margin: 20px 0;
  color: #231F20;
}

.about-page-desc {
  font-size: 16px;
  line-height: 1.8;
  color: #888;
  margin-bottom: 30px;
  border-right: 2px solid #eb2228;
  padding-right: 20px;
}

.about-page-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.point-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.point-icon {
  background: transparent;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #eb2228;
  margin-top: 2px;
}

.point-icon svg {
  width: 28px;
  height: 28px;
}

.point-text {
  font-size: 15px;
  line-height: 1.7;
  color: #4a4a4a;
}

.point-text strong {
  color: #231F20;
  font-weight: 700;
}

/* Values Section */
.values-page-section {
  margin-bottom: 100px;
  max-width: 1164px;
}

.values-page-title {
  font-size: 32px;
  font-weight: 800;
  color: #231F20;
  margin: 20px 0 50px 0;
	text-align: right;
}

.values-cards-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
}

.val-card {
  background: #f4f5f7;
  border-radius: 12px;
  padding: 30px 10px;
  width: 18%;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.val-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.val-card svg,
.val-card img {
  width: 32px;
  height: 32px;
  color: #eb2228;
}

.val-card span {
  font-weight: 800;
  font-size: 18px;
  color: #231F20;
}

/* Leadership Section */
.leadership-section {
  margin-bottom: 100px;
  max-width: 1164px;
}

.leader-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
  flex-direction: row-reverse;
}

.leader-text {
  width: 62%;
}

.leader-image-col {
  width: 32%;
  position: relative;
}

.leader-image {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.leader-name {
  font-size: 28px;
  font-weight: 800;
  color: #231F20;
  margin: 15px 0;
}

.leader-bio {
  font-size: 15px;
  line-height: 1.8;
  color: #888;
  margin-bottom: 30px;
  border-right: 2px solid #eb2228;
  padding-right: 18px;
}

.leader-quote {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.leader-quote .quote-icon {
  width: 45px;
  height: 45px;
  color: #eb2228;
  flex-shrink: 0;
  margin-top: 0;
}

.leader-quote p {
  font-size: 15px;
  line-height: 1.8;
  color: #888;
  margin: 0;
}

.leader-quote p strong {
  color: #231F20;
  font-weight: 800;
}

.audio-player {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 50px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  width: 85%;
  z-index: 5;
}

.play-cir {
  background: #fff;
  border: 2px solid #eb2228;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #eb2228;
  flex-shrink: 0;
  cursor: pointer;
}

.play-cir svg {
  margin-right: -2px;
  /* slight visual center adjust */
  fill: #eb2228;
}

.play-cir.filled {
  background: #eb2228;
}

.play-cir.filled svg {
  fill: white;
}

.wave-bars {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}

.wave-bar {
  flex: 1;
  background: #e0e0e0;
  border-radius: 2px;
  height: 100%;
}

.wave-bar.active {
  background: #b0b0b0;
}

.audio-time {
  font-family: 'Almarai', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #231F20;
}

.audio-vol {
  color: #231F20;
  cursor: pointer;
}

/* Timeline Section */
.timeline-section {
  margin-bottom: 100px;
  position: relative;
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 30px auto 0;
  padding-bottom: 30px;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #555;
  /* dark grey in design */
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-node {
  position: relative;
  width: 50%;
  padding-bottom: 60px;
  clear: both;
}

/* For RTL: phys-right element appears visually on the left.
   wait... if dir="rtl", float:right puts it on the physical RIGHT (visual right).
   The timeline image: 
   1990 is on the RIGHT visually. 
   2000 is on the LEFT visually.
   So 1990 should float: right, padding-left: 40px; 
   2000 should float: left, padding-right: 40px; */

.timeline-node.timeline-rt {
  float: right;
  /* Visual Right in RTL */
  padding-left: 40px;
  /* Space from center line */
}

.timeline-node.timeline-lt {
  float: left;
  /* Visual Left in RTL */
  padding-right: 40px;
}

.timeline-node.timeline-rt .timeline-dot {
  position: absolute;
  top: 15px;
  left: -10px;
  /* Overlaps center line */
  width: 20px;
  height: 20px;
  background: #eb2228;
  border: 4px solid white;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 2px #eb2228;
}

.timeline-node.timeline-lt .timeline-dot {
  position: absolute;
  top: 15px;
  right: -10px;
  /* Overlaps center line */
  width: 20px;
  height: 20px;
  background: #eb2228;
  border: 4px solid white;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 2px #eb2228;
}

.timeline-content {
  background: #f4f5f7;
  padding: 30px;
  border-radius: 8px;
  text-align: right;
}

/* 1990 box contents align to left (visually towards center) */
.timeline-node.timeline-rt .timeline-content {
  display: flex;
  flex-direction: column;
   /* right aligned naturally in rtl */
}

/* 2000 box contents align to right (visually towards center) */
.timeline-node.timeline-lt .timeline-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* left aligned naturally in rtl */
 }

.timeline-date {
  color: #eb2228;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.timeline-content h4 {
  font-family: 'Almarai', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #231F20;
  margin-bottom: 10px;
}

.timeline-content p {
  color: #888;
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

/* Clearfix for float */
.timeline-container::after {
  content: "";
  display: table;
  clear: both;
}

.timeline-end-block {
  width: 320px;
  margin: 0 auto;
  background: #f4f5f7;
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  z-index: 5;
  clear: both;
  margin-top: 20px;
}

.timeline-end-dot {
  width: 20px;
  height: 20px;
  background: #eb2228;
  border: 4px solid white;
  border-radius: 50%;
  margin: -30px auto 20px auto;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 2px #eb2228;
}

.timeline-end-block .timeline-date {
  justify-content: center;
  margin-bottom: 5px;
}

.end-badge {
  color: #eb2228;
  font-size: 40px;
  font-weight: 800;
  font-family: 'Almarai', sans-serif;
  line-height: 1;
  margin-top: 5px;
}

@media (max-width: 800px) {
  .about-page-grid {
    flex-direction: column;
  }

  .about-page-text,
  .about-page-image {
    width: 100%;
  }

  .values-cards-row {
    flex-direction: column;
  }

  .val-card {
    width: 100%;
  }

  .leader-row {
    flex-direction: column;
  }

  .leader-text,
  .leader-image-col {
    width: 100%;
  }

  .timeline-line {
    right: 20px;
    left: auto;
    transform: none;
  }

  .timeline-node {
    width: 100%;
    padding-right: 50px;
    padding-left: 0;
    float: none !important;
  }

  .timeline-node.timeline-rt .timeline-dot,
  .timeline-node.timeline-lt .timeline-dot {
    right: -10px;
    left: auto;
  }

  .timeline-node.timeline-lt .timeline-content {
    align-items: flex-end;
    text-align: right;
  }
}
/* =========================================
   بداية اكواد صفحة زكاتك
   ========================================= */

.zakat-page-section {
  padding: 80px 0;
  max-width: 1164px;
  margin: 0 auto;
}

.zakat-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* Left Column */
.zakat-left-col {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nisab-card {
  background: #f7f8f9;
  border-radius: 16px;
  padding: 25px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nisab-text-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nisab-icon {
  width: 48px;
  height: 48px;
  color: #eb2228;
}

.nisab-title {
  font-family: 'Almarai', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #5c636a;
}

.nisab-value {
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: #eb2228;
}

.fatwa-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef0f2;
}

/* Right Column (Calculator) */
.zakat-right-col {
  width: 50%;
}

.calculator-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid #eaebed;
}

.calc-title {
  font-family: 'Almarai', sans-serif;
  color: #eb2228;
  font-weight: 800;
  font-size: 24px;
  text-align: center;
  margin-bottom: 30px;
}

.calc-tabs {
  background: #f4f5f7;
  border-radius: 50px;
  display: flex;
  padding: 5px;
  margin-bottom: 30px;
}

.calc-tab {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #888;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
}

.calc-tab.active {
  background: #ffffff;
  color: #231F20;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.calc-tab svg {
  width: 28px;
  height: 28px;
}

.calc-fields-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.calc-field-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-field-group.currency-group {
  width: 35%;
}

.calc-field-group.amount-group {
  width: 65%;
}

.calc-label {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #231F20;
}

.calc-input-wrap {
  position: relative;
}

.calc-input {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 15px;
  font-family: 'Cairo', sans-serif;
  font-size: 16px;
  color: #231F20;
  outline: none;
  transition: border-color 0.3s;
}

.calc-input::placeholder {
  color: #b0b0b0;
}

.calc-input:focus {
  border-color: #eb2228;
}

.calc-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 15px;
  font-family: 'Cairo', sans-serif;
  font-size: 16px;
  color: #231F20;
  outline: none;
  cursor: pointer;
}

.calc-select-arrow {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #888;
}

.calc-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  margin-top: 20px;
}

.btn-add-amount {
  background: transparent;
  border: none;
  color: #6e6e6e;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-calc-submit {
  background: #eb2228;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px 35px;
  font-family: 'Almarai', sans-serif;
  font-weight: 800;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s;
  box-shadow: 0 4px 15px rgba(235, 34, 40, 0.3);
}

.btn-calc-submit:hover {
  background: #c91b20;
}

.calc-note {
  font-family: 'Almarai', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  color: #231F20;
  text-align: center;
  margin-bottom: 20px;
}

.calc-result-box {
  background: #f4f5f7;
  border-radius: 12px;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calc-result-label {
  font-family: 'Almarai', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #231F20;
}

.calc-result-value {
  font-family: 'Arial', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #231F20;
}

@media (max-width: 900px) {
  .zakat-grid {
    flex-direction: column-reverse; /* Usually calc on top in mobile */
  }
  .zakat-left-col, .zakat-right-col {
    width: 100%;
  }
}

/* =========================================
   اكواد صفحة طرق التبرع
   ========================================= */

.container-donate {
  max-width: 1164px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Banner */
.donate-top-banner {
  background: #eb2228;
  border-radius: 20px;
  position: relative;
  margin: 40px 0 60px 0;
  /* extra bottom margin because image pops out */
  box-shadow: 0 4px 15px rgba(235, 34, 40, 0.2);
}

.banner-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.banner-bg-shapes .shape-circle-left {
  position: absolute;
  top: -20px;
  left: -50px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.banner-bg-shapes .shape-circle-right {
  position: absolute;
  top: -80px;
  right: 20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.banner-bg-shapes .shape-geom-square {
  position: absolute;
  top: 50px;
  right: 40px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.05);
}

.banner-bg-shapes .shape-geom-triangle {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-left: 200px solid transparent;
  border-top: 200px solid rgba(255, 255, 255, 0.07);
}

.banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 70px 60px;
  box-sizing: border-box;
}

.banner-text-area {
  flex: 0 0 50%;
  text-align: right;
  z-index: 4;
}

.banner-text {
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  word-break: break-word;
}

.banner-illustration {
  flex: 1;
  position: relative;
  z-index: 3;
}

.banner-illustration img {
  position: absolute;
  bottom: -165px;
  left: 28%;
  transform: translateX(-50%);
  height: 240px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.banner-action-area {
  flex: 0 0 20%;
  display: flex;
  justify-content: flex-end;
  z-index: 4;
}

.banner-btn-submit {
  background: #ffffff;
  color: #EB2228;
  border: none;
  border-radius: 50px;
  padding: 11px 40px;
  font-size: 18px;
  font-weight:600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  min-width: 140px;
  text-align: center;
}

.banner-btn-submit:hover {
  transform: translateY(-2px);
}

/* Alert Pill */
.donate-alert-pill {
  background: #fdf2f2;
  border: 1px solid #f8d7da;
  color: #EB2228;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 700;
  margin: 0 auto 30px auto;
  display: flex;
  width: fit-content;
}

/* Sections */
.donate-section {
  margin-bottom: 60px;
}

.section-header {
  margin-bottom: 40px;
}

.section-title {
  color: #231F20;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.section-subtitle {
  color: #888;
  font-size: 16px;
}

/* Grids */
.donate-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.donate-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

/* Cards */
.donate-card {
  background: #ffffff;
  border: 1px solid #eaebed;
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.card-header.align-right {
  justify-content: flex-start;
}

.card-header.center-logo {
   margin-bottom: 10px;
}

.header-icon-box.bg-red {
  background: #EB2228;
  border-radius: 10px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-title {
  color: #231F20;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 5px 0;
}

.card-subtitle {
  color: #888;
  font-size: 14px;
  margin: 0;
}

.subtitle-center {
  text-align: right;
  color: #888;
  font-size: 14px;
  margin-bottom: 25px;
}

/* Lists */
.card-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.card-features-list li {
  position: relative;
  padding-right: 15px;
  margin-bottom: 10px;
  color: #5c636a;
  font-size: 15px;
}

.card-features-list li::before {
  content: "•";
  color: #aaa;
  position: absolute;
  right: 0;
  font-size: 20px;
  line-height: 1.3;
}

.center-bullets li {
  text-align: right;
  padding-right: 16px;
}

.center-bullets li::before {
  display: none;
	display: flex;
  flex-direction: row-reverse;
	justify-content: flex-end;
}

 
/* Bank Select */
.bank-selection {
  margin-bottom: 25px;
}

.bank-label {
  display: block;
  color: #888;
  font-size: 14px;
  margin-bottom: 10px;
}

.custom-bank-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 15px;
  padding-left: 40px;
  /* space for arrow */
  cursor: pointer;
  color: #231F20;
  font-size: 15px;
  outline: none;
  direction: rtl;
}

.custom-select-arrow {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  /* Allows clicking through to the select element */
}

/* Copy Input */
.copy-input-box {
  background: #f7f8f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
	gap: 20px;
}

.copy-text {
  color: #231F20;
  font-size: 15px;
}

.btn-copy {
  background: transparent;
  border: none;
  color: #888;
  cursor: pointer;
  display: flex;
}

.btn-copy:hover {
  color: #231F20;
}

/* Notice boxes */
.notice-box {
  background: #f0f6ff;
  border-radius: 8px;
  padding: 12px 15px;
  margin-top: 20px;
}

.notice-box p {
  color: #5985b5;
  margin: 0;
  font-size: 13px;
}

/* How to */
.how-to-box {
  background: #f7f8f9;
  border-radius: 8px;
  padding: 20px;
}

.how-to-title {
  color: #5c636a;
  font-weight: 700;
  margin: 0 0 10px 0;
  font-size: 15px;
}

.how-to-list {
  padding-right: 15px;
  margin: 0;
  color: #888;
  font-size: 14px;
  line-height: 1.8;
}

/* CliQ Card */
.cliq-card {
  padding: 40px;
}

.cliq-inner {
  display: flex;
  align-items: center;
  gap: 50px;
}

.cliq-left {
  flex: 1;
}

.cliq-right {
  flex: 1;
}

.cliq-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 25px;
}

.fw-bold {
  font-weight: 800;
}

/* Direct Donation Cards */
.icon-circle {
  width: 60px;
  height: 60px;
  background: #EB2228;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.shadow-icon {
  box-shadow: 0 10px 20px rgba(235, 34, 40, 0.2);
}

.box-title {
  color: #231F20;
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px 0;
}

.box-subtitle {
  color: #888;
  font-size: 14px;
  margin-bottom: 25px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #5c636a;
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.info-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.text-red {
  color: #EB2228;
}

.text-blue {
  color: #0d6efd;
}

.text-green {
  color: #198754;
}

.feature-ticks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-ticks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5c636a;
  font-size: 14px;
  margin-bottom: 15px;
}

.tick-icon {
  width: 20px;
  height: 20px;
  color: #198754;
}

.locations-box {
  background: #fef4f4;
  border-radius: 8px;
  padding: 15px;
  border: 1px solid #f0f0f0;
}

.loc-title {
  color: #231F20;
  font-weight: 800;
  margin: 0 0 10px 0;
  font-size: 14px;
}

.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.loc-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.loc-grid li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #888;
  font-size: 13px;
  margin-bottom: 5px;
}
.loc-grid li svg{
	width: 15px;
  height: 15px;
}
.notice-box-red {
  background: #fdf2f2;
  border: 1px dashed #f8d7da;
  border-radius: 8px;
  padding: 12px 15px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #EB2228;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .donate-top-banner {
    margin: 30px 0;
  }

  .banner-content {
    flex-direction: column;
    padding: 30px;
    gap: 30px;
    align-items: center;
  }

  .banner-text-area {
    flex: 0 0 100%;
    text-align: center;
    order: 1;
  }

  .banner-text {
    text-align: center;
    font-size: 24px;
  }

  .banner-illustration {
    flex: 0 0 auto;
    width: 100%;
    order: 2;
    z-index: 3;
    display: flex;
    justify-content: center;
  }

  .banner-illustration img {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    height: 180px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .banner-action-area {
    flex: 0 0 100%;
    width: 100%;
    justify-content: center;
    order: 3;
  }

  .donate-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .social-floating {
    display: none;
    /* Hide floating icons to prevent overlapping content */
  }

  .donate-grid-2,
  .donate-grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cliq-inner {
    flex-direction: column-reverse;
    gap: 30px;
  }

  .cliq-header {
    align-items: center;
  }

  .cliq-right.text-right {
    text-align: center;
  }

  .card-header {
   }

  .card-header.align-right {
    align-items: center;
  }

  .header-text.text-right {
    text-align: center;
  }

  .copy-input-box {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .copy-text {
    word-break: break-all;
  }

  .bank-select-box {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .info-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .feature-ticks li {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .loc-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .loc-grid li {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .banner-content {
    padding: 25px 15px;
  }

  .banner-text {
    font-size: 20px;
    line-height: 1.6;
  }

  /* Allow natural wrapping on very small screens instead of forced breaks */
  .banner-text br {
    display: none;
  }

  .banner-illustration img {
    height: 140px;
  }

  .banner-btn-submit {
    width: 100%;
    font-size: 18px;
    padding: 12px 20px;
  }

  .donate-card,
  .cliq-card {
    padding: 20px;
  }

  .copy-text {
    font-size: 12px;
    /* Prevent long IBAN from expanding the box */
  }

  .donate-alert-pill {
    font-size: 13px;
    padding: 8px 15px;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
  }

  .section-title {
    font-size: 22px;
  }
}

/* =========================================
   اكواد صفحة المراكز الصحية
   ========================================= */

.container-operate {
  max-width: 1164px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Progress Indicator */
.operate-progress-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fbf6f6;
  border-radius: 12px;
  padding: 15px 40px;
  margin-bottom: 80px;
}

.prog-step {
  display: flex;
  align-items: center;
  gap: 10px;
}

.prog-text {
  color: #888;
  font-size: 16px;
  font-weight: 700;
}

.prog-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  background-color: #dbe4ef;
  color: #5985b5;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.prog-line {
  flex: 1;
  height: 2px;
  background-color: #dbe4ef;
  margin: 0 15px;
}
/* Active State Styles */
.prog-step.active {
  background-color: #fdf2f2;
}

.prog-step.active .prog-text {
  color: #eb2228;
}

.prog-step.active .prog-num {
  background-color: #eb2228;
  color: #ffffff;
}
.prog-line.active-line {
  background-color: #eb2228;
}

/* Map Section */
.operate-map-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 120px;
  gap: 50px;
}

.operate-map-right {
  flex: 1.5;
  display: flex;
  justify-content: center;
}

.operate-map-wrapper {
  width: 100%;
  max-width: 600px;
}

.operate-map-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.operate-map-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

/* Global Tag/Pill for Operate page */
.operate-tag {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid #eb2228;
  color: #eb2228;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  background: #ffffff;
}

.operate-title {
  color: #231f20;
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 60px;
  line-height: 1.3;
}

/* Locations List */
.operate-locations-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.operate-locations-list li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  margin-bottom: 30px;
  color: #5c636a;
  font-size: 20px;
  font-weight: 700;
}

.loc-icon.bg-red-icon {
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Clinic Section */
.operate-clinic-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 50px;
}

.operate-clinic-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

.operate-clinic-text {
  border-right: 2px solid #eb2228;
  padding-right: 20px;
  margin-top: 10px;
}

.operate-clinic-text p {
  color: #888;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 25px;
}

.operate-location-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #231f20;
  font-size: 16px;
}

.operate-clinic-left {
  flex: 1.2;
  display: flex;
  justify-content: flex-end;
}

.truck-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
}

/* Responsiveness for operate page */
@media (max-width: 1024px) {
  .operate-progress-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
  }
  .prog-line {
    display: none;
  }
  .operate-map-section, .operate-clinic-section {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .operate-map-left, .operate-clinic-right {
    align-items: center;
  }
  .operate-locations-list li {
    justify-content: center;
  }
  .operate-clinic-text {
    border-right: none;
    padding-right: 0;
    border-top: 2px solid #eb2228;
    padding-top: 20px;
  }
  .operate-clinic-left {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .operate-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .operate-locations-list li {
    font-size: 18px;
  }
}
/* اكواد صفحة مخيم الطالبية */
.talbia-layout {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin-top: 40px;
  align-items: flex-start;
}

.talbia-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
	width: 100%;
}

.talbia-sidebar {
  width: 420px;
  flex-shrink: 0;
}

/* Title Block */
.talbia-title-box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: transparent;
  padding: 0 0 2rem 0;
  border: none;
	gap:10px;
}
.talbia-title-text h1 {
  font-size: 28px;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-weight: 800;
}
.location-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #888;
  font-size: 16px;
  justify-content: flex-start;
}
.talbia-heart-icon {
  width: 64px;
  height: 64px;
  background: #fff4f4;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.talbia-heart-icon:hover {
  background: #FFD4D5;
}

/* Talbia Cards */
.talbia-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
}
.talbia-card .card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
 }
.talbia-card .card-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}
.header-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.black-icon {
  background: var(--dark);
  color: var(--white);
}
.red-icon {
  background: #FFEDEE;
  color: var(--primary);
}
.solid-red-icon {
  background: var(--primary);
  color: var(--white);
}
.talbia-card .card-body {
  padding: 1.5rem;
  color: #444;
  line-height: 1.8;
  font-size: 16px;
  background: var(--white);
}
.talbia-card .card-body p {
  margin-bottom: 1rem;
}
.talbia-card .card-body p:last-child {
  margin-bottom: 0;
}

/* Sidebar Contact Card */
.sticky-card {
  position: sticky;
  top: 100px;
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border: 1px solid #f0f0f0;
  box-shadow: 0 5px 25px rgba(0,0,0,0.02);
}
.contact-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
	flex-direction: row-reverse;
  justify-content: right;
}
.contact-head h3 {
  font-size: 22px;
  font-weight: 800;
  color: #231f20;
}
.footer-contact  .contact-icon {
  width: 24px;
  height: 24px;
   display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
	margin-left: 0;
}
.contact-icon svg {
  width: 16px;
  height: 16px;
}
.contact-field label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 700;
  color: #888;
  font-size: 13px;
}
.val-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  border-radius: 10px;
}
.bordered-box {
  border: 1px solid #ffcdcf;
  background: #fff2f3;
  font-weight: 600;
  font-size: 15px;
  color: #666;
}
.bordered-box svg {
  color: var(--primary);
}
.gray-box {
  background: #fafafa;
  font-size: 14px;
}
.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 1.1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.contact-btn svg {
  width: 18px;
  height: 18px;
}
.contact-btn:hover {
  opacity: 0.9;
}
.contact-quality-box {
  background: #fff2f3;
  padding: 1.2rem;
  border-radius: 10px;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  border: 1px solid #ffcdcf;
}
.contact-quality-box p {
  font-size: 12px;
  color: #888;
  line-height: 1.6;
  margin: 0;
  font-weight: 600;
  flex: 1;
}
.contact-quality-box svg {
  width: 20px;
  height: 20px;
}

/* Gallery Section */
.gallery-card {
  border: none;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.gallery-card .card-header {
  background: var(--dark);
  color: var(--white);
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Title on right in RTL */
  flex-direction: row-reverse; /* Put icon on left */
}
.gallery-card .card-header h2 {
  color: var(--white);
}
.gallery-card .header-icon {
  background: transparent;
  color: var(--white);
}

.gallery-main-img-wrapper {
  position: relative;
  width: 100%;
}
.gallery-main-img-wrapper .main-photo {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  padding: 1rem 1.5rem;
  text-align: right;
  backdrop-filter: blur(4px);
  font-size: 18px;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 10;
}
.gallery-nav:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.05);
}
.gallery-nav svg {
  stroke: var(--primary);
}
.gallery-nav.prev-arrow { left: 20px; }
.gallery-nav.next-arrow { right: 20px; }

.gallery-thumbnails {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: transparent;
  overflow-x: auto;
  border: 1px solid #eee;
  border-top: none;
  border-radius: 0 0 12px 12px;
}
.gallery-thumbnails img {
  width: 100%;
  height:100%;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.3s;
  border: 2px solid transparent;
}
.gallery-thumbnails img.active,
.gallery-thumbnails img:hover {
  opacity: 1;
  border: 2px solid var(--primary);
}

/* Clinics Section */
.clinics-card {
  background: #fffdfd;
  border: 1px solid #ffcdcf;
  border-radius: 12px;
}
.clinics-card .card-header {
  background: transparent;
  border-bottom: none;
  padding: 1.5rem 1.5rem 1.5rem;
  justify-content: flex-start;
}
.clinics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 0 1.5rem 1.5rem;
}
.clinic-item {
  background: var(--white);
  border: 1px solid #f2e3e4;
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.01);
  transition: 0.3s ease;
}
.clinic-item:hover {
  border-color: #ffcdcf;
  box-shadow: 0 4px 12px rgba(235, 34, 40, 0.05);
}
.clinic-name {
  order: 2;
  font-weight: 600;
  color: #333;
  font-size: 15px;
}
.clinic-ico {
  order: 1;
  width: 44px;
  height: 44px;
  background: #fff4f4;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.clinic-ico svg {
  width: 22px;
  height: 22px;
}

/* Responsive */
@media (max-width: 992px) {
  .talbia-layout {
    flex-direction: column;
  }
  .talbia-sidebar {
    width: 100%;
  }
  .clinics-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {


.talbia-title-text h1 {
  font-size: 18px;
 	}  
	.talbia-heart-icon {
    align-self: flex-end;
  }
}

/* =========================================
   اكواد صفحة Contact
   ========================================= */

.contact-pg-container {
  max-width: 1240px;
  margin: 60px auto;
  padding: 0 20px;
}

/* Top Section Layout */
.contact-top-grid {
  display: flex;
  gap: 30px;
  align-items: stretch;
  margin-bottom: 80px;
}

/* Form Box */
.contact-form-box {
  flex: 1.6;
  background: var(--white);
  border: 1px solid #f2e3e4;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.c-form-title {
  font-size: 28px;
  font-weight: 800;
  color: #231f20;
  margin-bottom: 10px;
  text-align: right;
  font-family: 'Almarai', sans-serif;
}

.c-form-subtitle {
  font-size: 14px;
  color: #888;
  margin-bottom: 30px;
  text-align: right;
  font-family: 'Cairo', sans-serif;
}

.c-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.c-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.c-form-group.full-width {
  grid-column: span 2;
}

.c-form-label {
  font-size: 14px;
  font-weight: 700;
  color: #3b424c;
  font-family: 'Cairo', sans-serif;
}

.c-form-input, .c-form-textarea {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  font-family: 'Cairo', sans-serif;
  color: #333;
  outline: none;
  transition: 0.3s;
  background: #fff;
}
.c-form-input::placeholder, .c-form-textarea::placeholder {
  color: #bbb;
}

.c-form-input:focus, .c-form-textarea:focus, .c-phone-input-wrapper:focus-within {
  border-color: var(--primary);
}

.c-form-textarea {
  height: 120px;
  resize: vertical;
}

.c-input-wrapper {
  position: relative;
   align-items: center;
}
.hidden-fields-container{
	border: 0;
}
.c-input-wrapper svg.left-icon {
  position: absolute;
  left: 16px;
  color: #bbb;
  top: 14px;
}

.c-phone-input-wrapper {
  display: flex;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  direction: ltr;
  transition: 0.3s;
}
.c-phone-country {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #fdfdfd;
  border-right: 1px solid #e0e0e0;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  color: #666;
  cursor: pointer;
}
.c-phone-country img {
  width: 20px;
  height: 14px;
  object-fit: contain;
}
.c-phone-input {
width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  font-family: 'Cairo', sans-serif;
  color: #333;
  outline: none;
  transition: 0.3s;
  background: #fff;
}
.c-phone-input::placeholder {
  color: #bbb;
}

.c-form-hint {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #888;
  margin-top: -10px;
  margin-bottom: 20px;
  font-family: 'Cairo', sans-serif;
  align-items: center;
}

.c-submit-btn {
  background: var(--primary);
  background-color: var(--primary);
  color: var(--white);
  border: 0;
  border-style: none;
  outline: none;
  box-shadow: none;
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-direction: row-reverse;
  transition: 0.3s;
  font-family: 'Almarai', sans-serif;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  line-height: 1.5;
}


.c-submit-btn:hover {
  background: #d41f24;
}

/* Info Box */
.contact-info-box {
  flex: 1;
  background: #fffdfd;
  border: 1px solid #f9ecec;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.01);
  display: flex;
  flex-direction: column;
}

.c-info-title {
  font-size: 24px;
  font-weight: 800;
  color: #231f20;
  margin-bottom: 35px;
  text-align: center;
  font-family: 'Almarai', sans-serif;
}

.c-info-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.c-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  justify-content: flex-start;
}

.c-info-icon {
  width: 44px;
  height: 44px;
  background: #fff4f4;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.c-info-text {
  display: flex;
  flex-direction: column;
  text-align: right;
  flex: 1;
  padding-top: 4px;
}

.c-info-text strong {
  font-size: 15px;
  font-weight: 800;
  color: #3b424c;
  margin-bottom: 4px;
  font-family: 'Almarai', sans-serif;
}

.c-info-text span {
  font-size: 14px;
  color: #777;
  font-family: 'Cairo', sans-serif;
  line-height: 1.5;
}

.c-info-text span.red-text {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 2px;
}

.c-info-link {
  align-self: flex-end;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Almarai', sans-serif;
  margin-top: auto;
  padding-top: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.3s;
}

.c-info-link:hover {
  opacity: 0.8;
}

/* Map Section */
.contact-map-section {
  text-align: center;
  margin-bottom: 80px;
}

.map-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.map-icon-box {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(235, 34, 40, 0.2);
}

.map-section-title {
  font-size: 30px;
  font-weight: 800;
  color: #231f20;
  margin-bottom: 12px;
  font-family: 'Almarai', sans-serif;
}

.map-section-subtitle {
  font-size: 16px;
  color: #777;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
}

.map-container {
  width: 100%;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-top-grid {
    flex-direction: column;
  }
  .contact-form-box, .contact-info-box {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .c-form-grid {
    grid-template-columns: 1fr;
  }
  .c-form-group.full-width {
    grid-column: span 1;
  }
}

/* =========================================
   اكواد صفحة joinus
   ========================================= */

.join-form-container {
  max-width: 680px;
  width: 100%;
  margin: 80px auto;
  padding: 20px;
}

.join-form-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 50px;
  font-family: 'Almarai', sans-serif;
}

.j-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.j-form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.j-form-group.full {
  grid-column: span 2;
}

.j-label {
  font-size: 14px;
  font-weight: 800;
  color: #3b424c;
  font-family: 'Almarai', sans-serif;
  text-align: right;
}

.j-input, .j-textarea {
  width: 100%;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  font-family: 'Cairo', sans-serif;
  color: #333;
  transition: border-color 0.3s;
  outline: none;
  background: #fff;
} /* Added box-sizing inside universal or already there */

::-webkit-input-placeholder { color: #adb5bd; }
::-moz-placeholder { color: #adb5bd; }
:-ms-input-placeholder { color: #adb5bd; }
::placeholder { color: #adb5bd; }

.j-input:focus, .j-textarea:focus, .j-phone-wrap:focus-within {
  border-color: var(--primary);
}

.j-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Phone Field */
.j-phone-wrap {
  display: flex;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  overflow: hidden;
  direction: ltr; /* Flag left, input right */
  background: #fff;
  transition: 0.3s;
}

.j-phone-country {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-right: 1px solid #eaeaea;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  color: #6c757d;
  background: #fdfdfd;
}

.j-phone-country img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

.j-phone-input {
  flex: 1;
  border: none;
  padding: 14px 16px;
  font-size: 14px;
  font-family: 'Cairo', sans-serif;
  outline: none;
  background: transparent;
}

/* Date Field */
.j-date-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.j-date-wrap .j-input {
  direction: ltr;
  text-align: left;
  padding-right: 45px; /* space for icon on the right side if we keep it right */
  /* but wait, with dir=rtl on container and ltr on input, the right padding is actually right */
}
.j-date-icon {
  position: absolute;
  right: 16px;
  color: #adb5bd;
  pointer-events: none;
  display: flex;
  align-items: center;
}
/* If input is ltr, right is right */

/* Checkbox */
.j-agreement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 35px;
  margin-bottom: 25px;
  cursor: pointer;
}
.j-agreement input {
  display: none;
}
.j-check-circle {
  width: 20px;
  height: 20px;
  border: 2px solid #eaeaea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  flex-shrink: 0;
}
.j-agreement input:checked + .j-check-circle {
  background: var(--primary);
  border-color: var(--primary);
}
.j-agreement input:checked + .j-check-circle::after {
  content: '';
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-2px);
}
.j-agree-text {
  font-size: 14px;
  color: #777;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
}
.j-agree-text span.text-red {
  color: var(--primary);
  font-weight: 700;
}

/* Submit */
.j-submit-btn {
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border: none;
  width: 100%;
  padding: 16px;
  border-radius: 10px;
  font-family: 'Almarai', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.3s;
}
.j-submit-btn:hover {
  background: #d41f24;

}

@media (max-width: 576px) {
  .j-form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .j-form-group.full {
    grid-column: span 1;
  }
  .join-form-title {
    font-size: 24px;
  }
}

/* =========================================
   اكواد صفحة media center
   ========================================= */
.mc-container {
  max-width: 1440px;
  width: 100%;
  margin: 60px auto;
  padding: 0 20px;
}

.mc-tag {
  background: #f1f1f1;
  color: #888;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 11px;
  display: inline-block;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
}

/* Hero Section */
.mc-hero {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 60px;
  direction: rtl;
  min-height: 480px;
}
.mc-hero-img-col {
  flex: 1;
}
.mc-hero-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mc-hero-text-col {
  flex: 1;
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.mc-hero-text-col .mc-tag {
  align-self: flex-start;
  margin-bottom: 20px;
}
.mc-hero-text-col h1 {
  font-size: 34px;
  color: #3b424c;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.4;
  font-family: 'Almarai', sans-serif;
}
.mc-hero-text-col p {
  font-size: 16px;
  line-height: 1.8;
  color: #777;
  margin-bottom: 40px;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
}
.mc-hero-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mc-btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
  font-family: 'Almarai', sans-serif;
}
.mc-btn-primary:hover {
  background: #d41f24;
}
.mc-date {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f8f8;
  padding: 8px 16px;
  border-radius: 6px;
  color: #888;
  font-size: 13px;
  border: 1px solid #eee;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
}

/* Sections */
.mc-section-title {
  font-size: 32px;
  font-weight: 800;
  color: #555b63;
  margin-bottom: 30px;
  font-family: 'Almarai', sans-serif;
}

/* Events of the Month */
.mc-events-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 20px;
  margin-bottom: 60px;
}
.mc-event-card {
  border: 1px solid #efefef;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.mc-event-card img {
  width: 100%;
  object-fit: cover;
}
.mc-event-card.large img {
  height: 380px;
}
.mc-event-card.small img {
  height: 140px;
}
.mc-events-left-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mc-events-left-col .mc-event-card {
  flex: 1;
}
.mc-event-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mc-event-content .mc-tag {
  align-self: flex-start;
  margin-bottom: 15px;
}
.mc-event-content h3 {
  font-size: 20px;
  font-weight: 800;
  color: #3b424c;
  margin-bottom: 10px;
  line-height: 1.5;
  font-family: 'Almarai', sans-serif;
}
.mc-event-content p {
  font-size: 15px;
  color: #777;
  line-height: 1.6;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
  margin: 0;
}
.mc-event-card.small .mc-event-content {
  padding: 20px;
}
.mc-event-card.small .mc-event-content h3 {
  font-size: 17px;
  margin-bottom: 0;
}

/* Latest News */
.mc-latest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}
.mc-news-hcard {
  display: flex;
  flex-direction: row;
  border: 1px solid #efefef;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  height: 180px;
}
.mc-news-text {
  flex: 1;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mc-news-text .mc-tag {
  align-self: flex-start;
  margin-bottom: 15px;
}
.mc-news-text h3 {
  font-size: 17px;
  font-weight: 800;
  color: #3b424c;
  line-height: 1.6;
  margin: 0;
  font-family: 'Almarai', sans-serif;
}
.mc-news-img {
  width: 40%;
  flex-shrink: 0;
}
.mc-news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 992px) {
  .mc-hero {
    flex-direction: column;
    min-height: auto;
  }
  .mc-events-grid {
    grid-template-columns: 1fr;
  }
  .mc-latest-grid {
    grid-template-columns: 1fr;
  }
  .mc-hero-text-col {
    padding: 40px;
  }
}
@media (max-width: 576px) {
  .mc-news-hcard {
    flex-direction: column;
    height: auto;
  }
  .mc-news-img {
    width: 100%;
    height: 200px;
  }
}

.operate-clinic-left {
  flex: 1.2;
  display: flex;
  justify-content: flex-end;
}

.truck-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
}

/* Responsiveness for operate page */
@media (max-width: 1024px) {
  .operate-progress-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
  }
  .prog-line {
    display: none;
  }
  .operate-map-section, .operate-clinic-section {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .operate-map-left, .operate-clinic-right {
    align-items: center;
  }
  .operate-locations-list li {
    justify-content: center;
  }
  .operate-clinic-text {
    border-right: none;
    padding-right: 0;
    border-top: 2px solid #eb2228;
    padding-top: 20px;
  }
  .operate-clinic-left {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .operate-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .operate-locations-list li {
    font-size: 18px;
  }
}

/* =========================================
   اكواد صفحة Campaigns
   ========================================= */

.cpg-container {
  max-width: 1440px;
  width: 100%;
  margin: 60px auto;
  padding: 0 20px;
}

/* Timeline */
.cpg-timeline-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fcf7f7;
  border-radius: 12px;
  padding: 16px 30px;
  margin-bottom: 60px;
}

.cpg-year {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  background-color: #e2e6eb;
  color: #6c757d;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  font-family: 'Cairo', sans-serif;
  z-index: 2;
}

.cpg-year.active {
  background-color: var(--primary);
  color: var(--white);
}

.cpg-line {
  flex: 1;
  height: 2px;
  background-color: #dbe4ef;
  margin: 0 10px;
}

.cpg-line.active-line {
  background-color: var(--primary);
}

/* Grid */
.cpg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

/* Card */
.cpg-card {
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  background-color: var(--white);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.cpg-card:hover {
  border-color: #d1d1d1;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.cpg-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.cpg-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cpg-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  font-family: 'Almarai', sans-serif;
}

.cpg-card-desc {
  font-size: 14px;
  color: #777;
  line-height: 1.7;
  font-weight: 600;
  margin-bottom: 24px;
  font-family: 'Cairo', sans-serif;
  flex: 1;
}

.cpg-card-link {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6c757d;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Almarai', sans-serif;
  transition: color 0.3s ease;
}

.cpg-card-link:hover {
  color: var(--primary);
}

.cpg-card-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* Responsive */
@media (max-width: 992px) {
  .cpg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .cpg-timeline-wrapper {
    overflow-x: auto;
  }
  .cpg-line {
    min-width: 20px;
  }
}
@media (max-width: 576px) {
  .cpg-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   اكواد صفحة تطوع - tataow3.html
   ========================================= */

/* Page Header */
.vol-page-header {
   padding: 50px 0px;
  text-align: right;
}

.vol-page-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Almarai', sans-serif;
  margin: 0;
}

/* Form Container */
.vol-form-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 50px 20px 80px;
}

/* Two Column Layout */
.vol-form-layout {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.vol-col-right {
  flex: 1.15;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.vol-col-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Two cols row inside right column */
.vol-form-row.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Form Group */
.vol-form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Labels */
.vol-label {
  font-size: 14px;
  font-weight: 800;
  color: #3b424c;
  font-family: 'Almarai', sans-serif;
  text-align: right;
  line-height: 1.6;
}

/* Text Inputs */
.vol-input,
.vol-textarea,
.vol-select {
  width: 100%;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  font-family: 'Cairo', sans-serif;
  color: #333;
  transition: border-color 0.3s;
  outline: none;
  background: #fff;
}

.vol-input::placeholder,
.vol-textarea::placeholder {
  color: #adb5bd;
}

.vol-input:focus,
.vol-textarea:focus,
.vol-select:focus,
.vol-phone-wrap:focus-within {
  border-color: var(--primary);
}

/* Textarea */
.vol-textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.7;
}

/* Phone Field */
.vol-phone-wrap {
  display: flex;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  overflow: hidden;
  direction: ltr;
  background: #fff;
  transition: border-color 0.3s;
}

.vol-phone-country {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-right: 1px solid #eaeaea;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  color: #6c757d;
  background: #fdfdfd;
  white-space: nowrap;
  cursor: pointer;
}

.vol-phone-country img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

.vol-phone-input {
  flex: 1;
  border: none;
  padding: 14px 16px;
  font-size: 14px;
  font-family: 'Cairo', sans-serif;
  outline: none;
  background: transparent;
}

/* Date Field */
.vol-date-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.vol-date-wrap .vol-input {
  direction: ltr;
  text-align: left;
  padding-left: 45px;
}

.vol-date-icon {
  position: absolute;
  left: 16px;
  color: #adb5bd;
  pointer-events: none;
  display: flex;
  align-items: center;
}

/* Select Dropdown */
.vol-select-wrap {
  position: relative;
}

.vol-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-left: 40px;
}

.vol-select:invalid,
.vol-select option[disabled] {
  color: #adb5bd;
}

.vol-select option {
  color: #333;
}

.vol-select-arrow {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #adb5bd;
  pointer-events: none;
  display: flex;
  align-items: center;
}

/* Country Select with Flag */
.vol-country-select-wrap .vol-select-wrap {
  position: relative;
}

.vol-select-flag {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.vol-select-flag img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

.vol-select-with-flag {
  padding-right: 45px;
}

/* Radio Buttons */
.vol-radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vol-radio-group.vol-radio-inline {
  flex-direction: row;
  gap: 20px;
}

.vol-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: 'Cairo', sans-serif;
}

.vol-radio-label input[type="radio"] {
  display: none;
}

.vol-radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: 0.3s;
}

.vol-radio-label input[type="radio"]:checked + .vol-radio-custom {
  border-color: var(--primary);
}

.vol-radio-label input[type="radio"]:checked + .vol-radio-custom::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
}

.vol-radio-text {
  font-size: 14px;
  color: #555;
  font-weight: 500;
}

/* File Upload Area */
.vol-upload-area {
  border: 2px dashed #ddd;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.vol-upload-area:hover,
.vol-upload-area.dragover {
  border-color: var(--primary);
  background: #fff8f8;
}

.vol-upload-area.has-file {
  border-color: #28a745;
  background: #f0fff4;
}

.vol-upload-icon {
  color: #adb5bd;
  margin-bottom: 6px;
}

.vol-upload-text {
  font-size: 14px;
  font-weight: 700;
  color: #3b424c;
  font-family: 'Cairo', sans-serif;
}

.vol-upload-subtext {
  font-size: 13px;
  color: #adb5bd;
  font-family: 'Cairo', sans-serif;
}

.vol-browse-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 30px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.3s;
}

.vol-browse-btn:hover {
  background: #d41f24;
}

.vol-upload-limit {
  font-size: 12px;
  color: #adb5bd;
  font-family: 'Cairo', sans-serif;
  margin-top: 6px;
}

/* Checkboxes / Agreements */
.vol-agreement {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.vol-agreement input {
  display: none;
}

.vol-check-circle {
  width: 20px;
  height: 20px;
  border: 2px solid #eaeaea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  flex-shrink: 0;
  margin-top: 2px;
}

.vol-agreement input:checked + .vol-check-circle {
  background: var(--primary);
  border-color: var(--primary);
}

.vol-agreement input:checked + .vol-check-circle::after {
  content: '';
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-2px);
}

.vol-agree-text {
  font-size: 14px;
  color: #777;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
  line-height: 1.7;
}

/* Submit Button */
.vol-submit-btn {
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border: none;
  width: 100%;
  padding: 16px;
  border-radius: 10px;
  font-family: 'Almarai', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.3s;
  margin-top: 10px;
}

.vol-submit-btn svg {
  width: 20px;
  height: 20px;
}

.vol-submit-btn:hover {
  background: #d41f24;
}

/* Responsive - Volunteer Page */
@media (max-width: 992px) {
  .vol-form-layout {
    flex-direction: column;
    gap: 30px;
  }

  .vol-col-right,
  .vol-col-left {
    flex: 1;
    width: 100%;
  }

  .vol-page-title {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .vol-form-row.two-cols {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .vol-page-header {
    padding: 30px 15px;
  }

  .vol-page-title {
    font-size: 24px;
  }

  .vol-form-container {
    padding: 30px 15px 50px;
  }

  .vol-radio-group.vol-radio-inline {
    flex-direction: column;
    gap: 10px;
  }
}
/* =========================================
   اكواد صفحة التوظيف - tawzef.html
   ========================================= */

/* Page Header */
.emp-page-header {
   padding: 50px 0px;
  text-align: right;
}

.emp-page-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Almarai', sans-serif;
  margin: 0;
}

/* Form Container */
.emp-form-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 50px 20px 80px;
}

/* Two Column Layout */
.emp-form-layout {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.emp-col-right {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.emp-col-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Two cols row */
.emp-form-row.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Form Group */
.emp-form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Labels */
.emp-label {
  font-size: 14px;
  font-weight: 800;
  color: #3b424c;
  font-family: 'Almarai', sans-serif;
  text-align: right;
  line-height: 1.6;
}

/* Text Inputs */
.emp-input {
  width: 100%;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  font-family: 'Cairo', sans-serif;
  color: #333;
  transition: border-color 0.3s;
  outline: none;
  background: #fff;
}

.emp-input::placeholder {
  color: #adb5bd;
}

.emp-input:focus,
.emp-phone-wrap:focus-within,
.emp-url-wrap:focus-within {
  border-color: var(--primary);
}

/* Phone Field */
.emp-phone-wrap {
  display: flex;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  overflow: hidden;
  direction: ltr;
  background: #fff;
  transition: border-color 0.3s;
}

.emp-phone-country {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-right: 1px solid #eaeaea;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  color: #6c757d;
  background: #fdfdfd;
  white-space: nowrap;
  cursor: pointer;
}

.emp-phone-country img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

.emp-phone-input {
  flex: 1;
  border: none;
  padding: 14px 16px;
  font-size: 14px;
  font-family: 'Cairo', sans-serif;
  outline: none;
  background: transparent;
}

/* Date Field */
.emp-date-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.emp-date-wrap .emp-input {
  direction: ltr;
  text-align: left;
  padding-left: 45px;
}

.emp-date-icon {
  position: absolute;
  left: 16px;
  color: #adb5bd;
  pointer-events: none;
  display: flex;
  align-items: center;
}

/* URL Field (LinkedIn) */
.emp-url-wrap {
  display: flex;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  overflow: hidden;
  direction: ltr;
  background: #fff;
  transition: border-color 0.3s;
}

.emp-url-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  background: #fdfdfd;
  border-right: 1px solid #eaeaea;
  white-space: nowrap;
  user-select: none;
}

.emp-url-input {
  flex: 1;
  border: none;
  padding: 14px 16px;
  font-size: 14px;
  font-family: 'Cairo', sans-serif;
  outline: none;
  background: transparent;
  color: #333;
}

.emp-url-input::placeholder {
  color: #adb5bd;
}

/* File Upload Area */
.emp-upload-area {
  border: 2px dashed #ddd;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.emp-upload-area:hover,
.emp-upload-area.dragover {
  border-color: var(--primary);
  background: #fff8f8;
}

.emp-upload-area.has-file {
  border-color: #28a745;
  background: #f0fff4;
}

.emp-upload-icon {
  color: #adb5bd;
  margin-bottom: 6px;
}

.emp-upload-text {
  font-size: 14px;
  font-weight: 700;
  color: #3b424c;
  font-family: 'Cairo', sans-serif;
}

.emp-upload-subtext {
  font-size: 13px;
  color: #adb5bd;
  font-family: 'Cairo', sans-serif;
}

.emp-browse-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 30px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.3s;
}

.emp-browse-btn:hover {
  background: #d41f24;
}

.emp-upload-limit {
  font-size: 12px;
  color: #adb5bd;
  font-family: 'Cairo', sans-serif;
  margin-top: 6px;
}

/* Agreement Checkbox */
.emp-agreement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  margin-bottom: 25px;
  cursor: pointer;
}

.emp-agreement input {
  display: none;
}

.emp-check-circle {
  width: 20px;
  height: 20px;
  border: 2px solid #eaeaea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  flex-shrink: 0;
}

.emp-agreement input:checked + .emp-check-circle {
  background: var(--primary);
  border-color: var(--primary);
}

.emp-agreement input:checked + .emp-check-circle::after {
  content: '';
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-2px);
}

.emp-agree-text {
  font-size: 14px;
  color: #777;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
}

.emp-agree-text span.text-red {
  color: var(--primary);
  font-weight: 700;
}

/* Submit Button */
.emp-submit-btn {
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border: none;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: 10px;
  font-family: 'Almarai', sans-serif;
  cursor: pointer;
  transition: 0.3s;
}

.emp-submit-btn svg {
  width: 20px;
  height: 20px;
}

.emp-submit-btn:hover {
  background: #d41f24;
}

/* Responsive - Employment Page */
@media (max-width: 992px) {
  .emp-form-layout {
    flex-direction: column;
    gap: 30px;
  }

  .emp-col-right,
  .emp-col-left {
    flex: 1;
    width: 100%;
  }

  .emp-page-title {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .emp-form-row.two-cols {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .emp-page-header {
    padding: 30px 15px;
  }

  .emp-page-title {
    font-size: 24px;
  }

  .emp-form-container {
    padding: 30px 15px 50px;
  }

  .emp-submit-btn {
    max-width: 100%;
  }
}

/* =========================================
   اكواد صفحة الهيئة - hayaa.html
   ========================================= */

/* Page Header */
.hya-page-header {
  background: #f5f5ff;
  padding: 50px 20px;
  text-align: center;
}

.hya-page-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Almarai', sans-serif;
  margin: 0;
}

/* Form Container - Single Column Centered */
.hya-form-container {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  padding: 50px 20px 80px;
}

/* Two cols row for names */
.hya-form-row.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Form Group */
.hya-form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

/* Labels */
.hya-label {
  font-size: 14px;
  font-weight: 800;
  color: #3b424c;
  font-family: 'Almarai', sans-serif;
  text-align: right;
  line-height: 1.6;
}

/* Text Inputs */
.hya-input,
.hya-textarea {
  width: 100%;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  font-family: 'Cairo', sans-serif;
  color: #333;
  transition: border-color 0.3s;
  outline: none;
  background: #fff;
}

.hya-input::placeholder,
.hya-textarea::placeholder {
  color: #adb5bd;
}

.hya-input:focus,
.hya-textarea:focus,
.hya-phone-wrap:focus-within {
  border-color: var(--primary);
}

/* Textarea */
.hya-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.7;
}

/* Phone Field */
.hya-phone-wrap {
  display: flex;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  overflow: hidden;
  direction: ltr;
  background: #fff;
  transition: border-color 0.3s;
}

.hya-phone-country {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-right: 1px solid #eaeaea;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  color: #6c757d;
  background: #fdfdfd;
  white-space: nowrap;
  cursor: pointer;
}

.hya-phone-country img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

.hya-phone-input {
  flex: 1;
  border: none;
  padding: 14px 16px;
  font-size: 14px;
  font-family: 'Cairo', sans-serif;
  outline: none;
  background: transparent;
}

/* Date Field */
.hya-date-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.hya-date-wrap .hya-input {
  direction: ltr;
  text-align: left;
  padding-left: 45px;
}

.hya-date-icon {
  position: absolute;
  left: 16px;
  color: #adb5bd;
  pointer-events: none;
  display: flex;
  align-items: center;
}

/* Radio Buttons */
.hya-radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hya-radio-group.hya-radio-inline {
  flex-direction: row;
  gap: 24px;
}

.hya-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: 'Cairo', sans-serif;
}

.hya-radio-label input[type="radio"] {
  display: none;
}

.hya-radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: 0.3s;
}

.hya-radio-label input[type="radio"]:checked + .hya-radio-custom {
  border-color: var(--primary);
}

.hya-radio-label input[type="radio"]:checked + .hya-radio-custom::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
}

.hya-radio-text {
  font-size: 14px;
  color: #555;
  font-weight: 500;
}

/* Agreement Checkbox */
.hya-agreement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  margin-bottom: 25px;
  cursor: pointer;
}

.hya-agreement input {
  display: none;
}

.hya-check-circle {
  width: 20px;
  height: 20px;
  border: 2px solid #eaeaea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  flex-shrink: 0;
}

.hya-agreement input:checked + .hya-check-circle {
  background: var(--primary);
  border-color: var(--primary);
}

.hya-agreement input:checked + .hya-check-circle::after {
  content: '';
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-2px);
}

.hya-agree-text {
  font-size: 14px;
  color: #777;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
}

.hya-agree-text span.text-red {
  color: var(--primary);
  font-weight: 700;
}

/* Submit Button */
.hya-submit-btn {
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border: none;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: 10px;
  font-family: 'Almarai', sans-serif;
  cursor: pointer;
  transition: 0.3s;
}

.hya-submit-btn svg {
  width: 20px;
  height: 20px;
}

.hya-submit-btn:hover {
  background: #d41f24;
}

/* Responsive - Hayaa Page */
@media (max-width: 576px) {
  .hya-form-row.two-cols {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .hya-page-header {
    padding: 30px 15px;
  }

  .hya-page-title {
    font-size: 24px;
  }

  .hya-form-container {
    padding: 30px 15px 50px;
  }

  .hya-radio-group.hya-radio-inline {
    flex-direction: column;
    gap: 10px;
  }
}