/* Reset */
* {
  margin: 0;
  padding: 0;
}

/*--------------------------------------
# Diodrum Arabic Fonts (Unified)
--------------------------------------*/

*{
margin: 0;
padding: 0;
}
/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/

@font-face {
  font-family: DiodrumArabic-Bold;
  src:
    url("../fonts/DiodrumArabic-Bold.woff2") format("woff2"),
    url("../fonts/DiodrumArabic-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: DiodrumArabic-Light;
  src:
    url("../fonts/DiodrumArabic-Light.woff2") format("woff2"),
    url("../fonts/DiodrumArabic-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: DiodrumArabic-Regular;
  src:
    url("../fonts/DiodrumArabic-Regular.woff2") format("woff2"),
    url("../fonts/DiodrumArabic-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: DiodrumArabic-Semibold;
  src:
    url("../fonts/DiodrumArabic-Semibold.woff2") format("woff2"),
    url("../fonts/DiodrumArabic-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}




/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
--background-color: #ffffff;
--default-color: #04af52;
--heading-color: #26a8d9;
--contrast-color: #c3c3c3;
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */


.light-background {
  --background-color:#ffffff;
}
:root{
  --text-on-hero:#ffffff;
  --container-max:1440px;

}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
/* .navbar .logo{ */
  /* margin-right:12%!important; */
/* } */

html {
  scroll-behavior: smooth;
}

.logo{
  position: relative;
  right: 5%;
  width: 25%;
}
.logo img{
  width:100%;
  margin-left: 2.2rem!important;
}
.hero {
  position: relative;
}

.hero-data {
  position: absolute;
  top: 50%;
  right: 5%;        /* الآن سيتحرك تمامًا لليمين */
  transform: translateY(-50%);
  padding: 1rem;
  border-radius: 0.5rem;
  max-width: 90%;
  text-align: right;  /* نص محاذي لليمين */
}


.hero-data .content h1{
    color: #26a8d9;
  font-family: "DiodrumArabic-SemiBold", sans-serif;
  font-weight: 400;
  text-align: right;
  margin-bottom: 2rem;
  line-height: 1.2;
  margin-right: 12%;
  font-size: 3rem;

  
}
/* الأساس: الموبايل */
.content h1 {
  font-size: 1.3rem !important; /* أصغر حجم */
}



.hero-data .content p {

  color: #04af52;
  font-family: "DiodrumArabic-SemiBold", sans-serif;
  font-weight: 400;
  text-align: right;
  line-height: 1.8;
  margin-right: 12%;
    font-size: 1.2rem;

}

.content h1 {
  font-size: 1.5rem; /* الافتراضي للشاشات الكبيرة */
    line-height: 1.6; /* أو حسب التصميم */
  height: auto;
  

}


.hero::before {
  content: "";
  position: absolute;
  left: 16.5%;                  /* من الناحية الشمال */
  top: 0;                   /* عند بداية الهيرو */
  width: 13.3125rem;
  height: 0.625rem;
  background-color: #26a8d9;
  transform: translateY(-50%); /* يخلي نصفه فوق ونصفه داخل الصورة */
  z-index: 5;
}

.hero::after {
  content: "";
  position: absolute;
  right: 12%;               /* من الناحية الشمال */
  bottom: -10px;                   /* عند بداية الهيرو */
  width: 13.3125rem;
  height: 0.625rem;
  background-color:#04af52;
  transform: translateY(-50%); /* يخلي نصفه فوق ونصفه داخل الصورة */
  z-index: 5;
}




/* التابلت */
@media (min-width: 768px) {
  .content h1 {
    font-size: 2rem !important;
  }
}

/* الديسكتوب */
@media (min-width: 1200px) {
  .content h1 {
    font-size: 3rem !important;
  }
}


@media (max-width: 768px) {
  h1 {
    font-size: 1.6rem; /* تابلت */
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.2rem; /* موبايل */
  }
}



/************************************ */
/*SECTION - BOOKING---*/
/************************************ */
.book-note{
  color: #04af52!important;
  font-family: "DiodrumArabic-SemiBold", sans-serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.5rem); /* صغير على الموبايل وكبير على الديسكتوب */
  margin-bottom: 1rem;
  width: 80%;
  margin: auto!important;

}
 m,
/* تنسيق form-box والنص */
.form-box {
  font-family: "DiodrumArabic-SemiBold", sans-serif;
  font-weight: 400;
  font-size: clamp(1.25rem, 3vw, 2rem); /* حجم نص متجاوب */
  margin-top: 1rem;
  color: #c3c3c3;

}




/*LINK - FORM------*/
.booking-box {
  background: #ffffff;
  border-radius: 1.3rem;
  border: 0.2rem solid #00a4f4;
  max-width: 80%;
  margin: 3rem auto;
  padding: 4rem 2rem; /* padding أعلى وأسفل أكثر */
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.booking-text {
  color: #00a4f4;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

.booking-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* مسافة بين الحقول */
}

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

.input-wrapper input,
.input-wrapper select {
  width: 100%;
  padding: 1rem 3rem 1rem 1rem; /* مساحة للأيقونات والسهم */
  border-radius: 14px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
  font-size: 1rem;
  color: #333;
  text-align: right;
  direction: rtl;
  box-sizing: border-box;
  transition: 0.3s;
}



.input-wrapper i {
  position: absolute;
  left: 1rem; /* الأيقونة على اليسار */
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  font-size: 1.2rem;
  pointer-events: none;
}

.input-wrapper select {
  appearance: none; /* لإزالة السهم الافتراضي */
}

.input-wrapper select option {
  color: #00a4f4;
  background: #fff;
  text-align: right;
}

/* السهم الداخلي للـ select */
.input-wrapper select + i.select-arrow {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 1.2rem;
  color: #00a4f4;
}

/* عند التركيز */
.input-wrapper input:focus,
.input-wrapper select:focus {
  border-color: #00a4f4;
  background: #fff;
  outline: none;
  box-shadow: inset 2px 2px 5px #e0e0e0;
}

/* زر الحجز */
.custom-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(
    161.87deg,
    rgba(0, 164, 244, 1) 0%,
    rgba(0, 114, 169, 1) 100%
  );
  border-radius: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  border: none;
  width: 100%;
  max-width: 20rem;
  margin: 1rem auto 0 auto;
}





/**=============================== */
/*********DOCTORS**************** */
/**============================= */

/* تعديل icon لتكون ثابتة الحجم ولها مسافة من النص */
.why-choose .icon {
  flex-shrink: 0; /* لا يقل حجمها */
  display: flex;
  align-items: center;
  justify-content: center;
  border: solid 1px #00a4f4!important;
  padding: 0.5rem!important;
}


.why-choose .text-box {
  text-align: right!important;
}


.why-choose   .title{
  background-color: #04af52!important;
    border-radius: 1.25rem;
  height: 6.5rem;
  position: relative;

}

.Orthopedics-Department {
  display: flex;
  flex-wrap: wrap; /* لو عدد الأعمدة كبير يروح للسطر التاني */
  justify-content: space-between; /* المسافات تتوزع بالتساوي */
  width: 100%;
  max-width: 60.4375rem; /* نفس عرض الـ title */
  margin: 0 auto;
row-gap: 10rem!important;  /* فقط المسافة بين الصفوف */
column-gap: 5px!important; /* المسافة بين الأعمدة */
}


.text-success{
  color: #04af52!important;
}

/*********************************** */
/* FooTER*/
/************************************* */
/*********************************** */
/* FooTER*/
/************************************* */
 footer{
  background-color: #04af52!important;

 }

 .d-flex .btn-outline-light:hover {
    background-color: transparent !important;
    color: white !important;
    border-color: white !important;
    box-shadow: none !important;
}


footer p,
footer a,
footer span {
  font-family: "DiodrumArabic-SemiBold", sans-serif;
  font-size: 1rem;
}

footer .highlight-text {
  font-size: 2rem; /* حجم أكبر */
  font-weight: 700; /* غامق */
  font-family: "DiodrumArabic-SemiBold", sans-serif;
}




 footer{
    background-color: #04af52!important;

 }

 .d-flex .btn-outline-light:hover {
    background-color: transparent !important;
    color: white !important;
    border-color: white !important;
    box-shadow: none !important;
}


footer p,
footer a,
footer span {
  font-family: "DiodrumArabic-SemiBold", sans-serif;
  font-size: 1.4rem;
  padding: 2px 10px;
}

footer .highlight-text {
  font-size: 3rem!important; /* حجم أكبر */
  font-weight: 700!important; /* غامق */
  font-family: "DiodrumArabic-SemiBold", sans-serif;
}





.Booking_Details {
    padding: 9rem 1rem !important;
    text-align: center !important;
    background: #f9f9f9 !important;
}
.Booking_Details h2 {
    color: #04af52 !important;
    font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
    margin-bottom: 1rem !important;
}
.form-box {
    font-size: clamp(1.25rem, 3vw, 2rem) !important;
    margin-top: 1rem !important;
    color: #c3c3c3 !important;
}
.booking-box {
    background: #fff !important;
    border-radius: 1.3rem !important;
    border: 2px solid #00a4f4 !important;
    max-width: 50rem !important;
    margin: 3rem auto !important;
    padding: 5rem 3rem !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box !important;
}
.booking-text {
    color: #0295df !important;
    text-align: center !important;
    font-size: 1.7rem !important;
    font-weight: 900 !important;
    margin-bottom: 3rem !important;
}
.booking-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.5rem !important;
}
.input-wrapper {
    position: relative !important;
    display: block !important;
    margin-bottom: 2rem !important;
}
.input-wrapper input,
.input-wrapper select {
    direction: rtl;
    width: 100% !important;
    padding: 1.2rem 3.5rem 1.2rem 1rem !important;
    border-radius: 14px !important;
    border: 1px solid #ddd !important;
    background: #fafafa !important;
    font-size: 1.1rem !important;
    text-align: right !important;
    direction: rtl !important;
    box-sizing: border-box !important;
    transition: 0.3s !important;
  font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 500 !important;
    box-shadow: #d0d1d1 1px 1px 2px 0.01px;
    color: #0284c5 !important;
}
.input-wrapper i,
.input-wrapper select + i.select-arrow {
    font-size: 1.3rem !important;
    color: #00a4f4 !important;
}
.services .title h2,
.why-card h3,
.why-choose .title h2 {
    font-weight: 600;
    line-height: 1.6;
  font-family: "DiodrumArabic-SemiBold", sans-serif!important;
}
.input-wrapper select {
    appearance: none;
    color: #a7a8a8 !important;
    appearance: none !important;
}
.input-wrapper input::placeholder,
.input-wrapper select::placeholder {
    color: #a7a8a8 !important;
}
.input-wrapper select option {
    color: #00a4f4 !important;
    background: #fff !important;
    text-align: right !important;
}
.custom-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    background: linear-gradient(161.87deg, #00a4f4 0, #0072a9 100%) !important;
    border-radius: 0.9rem !important;
    padding: 1.2rem 2rem !important;
    font-size: 1.3rem !important;
    color: #fff !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    border: none !important;
    max-width: 20rem !important;
    margin: 3rem auto 0 !important;
    transition: 0.3s !important;
}
.custom-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 15px rgba(0, 164, 244, 0.4) !important;
}




/**************************** */
.layer .text p, .service .text p{
    font-size: 1.1rem!important;
}



/************************* */

.end-nots{
    height: auto !important;
  min-height: 0 !important;

}



/* Reset */
* {
  margin: 0;
  padding: 0;
}

/*--------------------------------------
# Diodrum Arabic Fonts (Unified)
--------------------------------------*/

@font-face {
  font-family: DiodrumArabic-Bold;
  src:
    url("../fonts/DiodrumArabic-Bold.woff2") format("woff2"),
    url("../fonts/DiodrumArabic-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: DiodrumArabic-Light;
  src:
    url("../fonts/DiodrumArabic-Light.woff2") format("woff2"),
    url("../fonts/DiodrumArabic-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: DiodrumArabic-Regular;
  src:
    url("../fonts/DiodrumArabic-Regular.woff2") format("woff2"),
    url("../fonts/DiodrumArabic-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: DiodrumArabic-Semibold;
  src:
    url("../fonts/DiodrumArabic-Semibold.woff2") format("woff2"),
    url("../fonts/DiodrumArabic-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}

/* Global Colors */
:root { 
  --background-color: #ffffff;
  --default-color: #04af52;
  --heading-color: #26a8d9;
  --contrast-color: #c3c3c3;
  --text-on-hero:#ffffff;
  --container-max:1440px;
  scroll-behavior: smooth;
}

.light-background {
  --background-color:#ffffff;
}

/* General Styling & Shared Classes */
.logo{
  position: relative;
  right: 5%;
  width: 25%;
}
.logo img{
  width:100%;
  margin-left: 2.2rem!important;
}
.hero { position: relative; }

.hero-data {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  padding: 1rem;
  border-radius: 0.5rem;
  max-width: 90%;
  text-align: right;
}

.hero-data .content h1{
  color: #26a8d9;
  font-family: "DiodrumArabic-Semibold", sans-serif;
  font-weight: 600;
  text-align: right;
  margin-bottom: 2rem;
  line-height: 1.2;
  margin-right: 12%;
  font-size: 3rem;
}

/* Responsive Hero h1 */
.content h1 { font-size: 1.3rem !important; }
@media (min-width: 768px) { .content h1 { font-size: 2rem !important; } }
@media (min-width: 1200px) { .content h1 { font-size: 3rem !important; } }

.hero-data .content p {
  color: #04af52;
  font-family: "DiodrumArabic-Semibold", sans-serif;
  font-weight: 600;
  text-align: right;
  line-height: 1.8;
  margin-right: 12%;
  font-size: 1.2rem;
}

/* Hero Decorations */
.hero::before {
  content: "";
  position: absolute;
  left: 16.5%;
  top: 0;
  width: 13.3125rem;
  height: 0.625rem;
  background-color: #26a8d9;
  transform: translateY(-50%);
  z-index: 5;
}

.hero::after {
  content: "";
  position: absolute;
  right: 12%;
  bottom: -10px;
  width: 13.3125rem;
  height: 0.625rem;
  background-color:#04af52;
  transform: translateY(-50%);
  z-index: 5;
}

/* Booking Section */
.book-note{
  color: #04af52!important;
  font-family: "DiodrumArabic-Semibold", sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  width: 80%;
  margin: auto!important;
}

.Booking_Details {
  padding: 9rem 1rem !important;
  text-align: center !important;
  background: #f9f9f9 !important;
}

.Booking_Details h2 {
  color: #04af52 !important;
  font-family: "DiodrumArabic-Semibold", sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
  margin-bottom: 1rem !important;
}

.form-box {
  font-family: "DiodrumArabic-Semibold", sans-serif;
  font-weight: 600;
  font-size: clamp(1.25rem, 3vw, 2rem) !important;
  margin-top: 1rem !important;
  color: #c3c3c3 !important;
}

.booking-box {
  background: #fff !important;
  border-radius: 1.3rem !important;
  border: 2px solid #00a4f4 !important;
  max-width: 50rem !important;
  margin: 3rem auto !important;
  padding: 5rem 3rem !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.booking-text {
  color: #0295df !important;
  text-align: center !important;
  font-size: 1.7rem !important;
  font-weight: 700 !important;
  margin-bottom: 3rem !important;
  font-family: "DiodrumArabic-Semibold", sans-serif;
}

.input-wrapper input,
.input-wrapper select {
  font-family: "DiodrumArabic-Semibold", sans-serif;
  font-weight: 600 !important;
}

/* Footer */
footer p,
footer a,
footer span {
  font-family: "DiodrumArabic-Semibold", sans-serif;
  font-size: 1.4rem;
  padding: 2px 10px;
}

footer .highlight-text {
  font-size: 3rem!important;
  font-weight: 700!important;
  font-family: "DiodrumArabic-Semibold", sans-serif;
}

/* باقي الكود يبقى كما هو مع التأكد أن كل font-family = "DiodrumArabic-Semibold" و font-weight = 600 أو متوافق مع اسم الفونت */

    /*--------------------------------------
    # قسم الأطباء
    --------------------------------------*/

.doctors {
  max-width: 1600px !important;
  margin: auto !important;
  padding: 1rem !important;
}

/* لضبط الأعمدة والتمركز */
.row.align-items-stretch > .col-md-4 {
  display: flex !important;
  justify-content: center !important;
}

/*----------------------------
# الكارد (ثابت وواضح على كل الأجهزة)
-----------------------------*/
.doctor-card {
  position: relative !important;
  width: 100% !important;
  max-width: 340px !important;
  min-height: 460px !important;
  border-radius: 1rem !important;
  /* background: rgba(255, 255, 255, 0.95) !important; */
  backdrop-filter: blur(10px) !important;
  /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important; */
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  overflow: hidden !important;
  transition: none !important;
}

.doctor-card::before {
  content: "" !important;
  position: absolute !important;
  top: -40% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 200% !important;
  height: 200% !important;
  /* background: radial-gradient(circle, rgb(215, 231, 238), transparent 30%) !important; */
  opacity: 0.5 !important;
  z-index: 0 !important;
}

/* لا تغيير عند hover */
.doctor-card:hover {
  transform: none !important;
  /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important; */
}

.doctor-card:hover::before {
  opacity: 0.5 !important;
  transform: translateX(-50%) !important;
}

/*----------------------------
# الصورة
-----------------------------*/
.doctor-img {
  width: 80% !important;
  margin-top: 1rem !important;
  z-index: 2 !important;
  position: relative !important;
}

.doctor-img img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  border: none !important;
  background: transparent !important;
}

/*----------------------------
# البيانات داخل الكارد
-----------------------------*/
.doctor-info {
  position: relative !important;
  z-index: 3 !important;
  padding: 1.2rem 1rem 1.5rem !important;
  border-radius: 0 0 1rem 1rem !important;
  width: 100% !important;
}

.doctor-info .name {
  background: #26a8d9 !important;
  color: #fff !important;
  font-family: "DiodrumArabic-SemiBold", sans-serif !important;
  font-size: 1.1rem !important;
  border-radius: 0.5rem !important;
  padding: 0.5rem 1rem !important;
  display: inline-block !important;
  margin-bottom: 0.8rem !important;
  height: auto !important;
  width: 70% !important;
}

.doctor-info .desc {
  background-color: #dce5e786 !important;
  font-family: "DiodrumArabic-SemiBold", sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  margin-bottom: 0.5rem !important;
  border-radius: 0.4rem !important;
  padding: 0.5rem 0.7rem !important;
  font-weight: 900 !important;
  color: #04af52 !important;
  min-height: 4rem !important;
}

.doctor-info .desc-two {
  color: #03abff !important;
  font-family: "DiodrumArabic-Regular", sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  font-weight: 700 !important;
  min-height: 3rem !important;
}

/*----------------------------
# زر الحجز
-----------------------------*/
.doc-btn {
  text-align: center !important;
  margin-top: 2rem !important;
}

.custom-btn {
  background: #26a8d9 !important;
  color: #fff !important;
  border: none !important;
  padding: 0.75rem 2rem !important;
  font-size: 1rem !important;
  border-radius: 2rem !important;
  cursor: pointer !important;
  transition: 0.3s !important;
}

.custom-btn:hover {
  background: #1e90c2 !important;
}

/*----------------------------
# المسافة بين الصفوف
-----------------------------*/
.doctors .row:not(:last-child) {
  margin-bottom: 60px !important;
}



/***NOTE - important */
/* إخفاء النص على الشاشات الكبيرة */
.mobile-only,
.doctors-mobile,
  .footer-mobile{
  display: none;
}




/*********REVIEW -Booking_Details  */

.Booking_Details {
    text-align: center !important;
    /* min-height: 500px !important; */
}
.Booking_Details h2 {
    text-align: center !important;
    /* min-height: 500px !important; */
    color: #26a8d9!important;

}


/***************SECTION - Footer */
.footer .container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  text-align: center;
}

.footer-contact, .footer-social {
  flex: 1 1 300px;
  min-width: 250px;
}

.footer-contact .number {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 25px;
  border-radius: 50px;
  border: 2px solid #fff;
  font-size: 1.3rem;
  transition: 0.3s;
}

.footer-contact .number img {
  width: 35px; /* تكبير أيقونة الهاتف */
  height: auto;
}

.footer-contact .number:hover {
  background-color: rgba(255,255,255,0.1);
}

.social-icons {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 9px 30px;
  border: 2px solid #fff;
  border-radius: 50px;
  transition: 0.3s;
}

.social-icons img {
  width: 25px; /* تكبير أيقونات السوشيال */
  height: auto;
  transition: transform 0.3s;
}

.social-icons img:hover {
  transform: scale(1.2);
}

.footer-map {
  flex: 1 1 600px;
  min-width: 300px;
  margin-top: 1rem;
}

.footer-map iframe {
  width: 100%;
  height: 500px; /* تكبير الخريطة */
  border-radius: 10px;
  border: none;
}

.footer-contact p, .footer-social p {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.footer-contact p{
  transform: translatex(50%);
}

  .footer-row {
    flex-direction: row-reverse; /* الخريطة على اليسار */
    align-items: center;
  }

  .footer-map iframe {
    width: 280px;
    height: 180px;
  }

  .footer-info {
    text-align: center;
  }



/* ===== الشاشات الأكبر ===== */

  .footer-row {
    flex-direction: row-reverse!important;
    align-items: center;
    justify-content: space-around;
  }

  .footer-map iframe {
    width: 180px;
    height: 180px;
  }

  .footer-info {
    text-align: center;
  }








/*----------------------------
# استجابة الشاشات المختلفة
-----------------------------*/

/* 💡 تنسيق خاص لشاشات iPhone SE (عرض 375px أو أقل) */
@media only screen and (min-width: 0px) and (max-width: 375px) {
  .logo img{
  width:100%;
  margin-left: 0.5rem!important;
}

  .hero-data {
    width: 100%;
    /* right: 0; */
    top: 30%;
    transform: translateY(-50%);
    padding: 0.5rem;
    text-align: center; /* توسيط النص */
  }

  .hero-data .content h1 {
    font-size: 15px !important;
    line-height: 1.7;
    margin: 0 auto 1rem;
    text-align: center;
    margin-left: 1.4rem!important;
    margin-bottom: 0.3rem!important;
transform: translateY(60%) scaleX(1.3) !important;
  }

  .hero-data .content p {
    font-size: 8px!important;
    line-height: 1.9;
    margin: 0 auto;
    text-align: center;
    margin-right: 1rem;
    margin-top: 0.5rem!important;
        transform: translateY(50%);

  }

  
.hero::before {
  content: "";
  position: absolute;
  left: 16.5%;                  /* من الناحية الشمال */
  top: -2px;                   /* عند بداية الهيرو */
  width: 4.3125rem;
  height: 0.625rem;
  background-color: #26a8d9;
  transform: translateY(-50%); /* يخلي نصفه فوق ونصفه داخل الصورة */
  z-index: 5;
}

.hero::after {
  content: "";
  position: absolute;
  right: 12%;               /* من الناحية الشمال */
  bottom: -12px;                   /* عند بداية الهيرو */
  width: 3.3125rem;
  height: 0.625rem;
  background-color:#04af52;
  transform: translateY(-50%); /* يخلي نصفه فوق ونصفه داخل الصورة */
  z-index: 5;
}


.Booking_Details .hide-on-mobile{
  display: none!important;
}

/* يظهر فقط على الشاشات الصغيرة */

}






/* ======== Mobile Only ======== */

/* ===== Mobile Only Styling -Hero ===== */




/**list */



@media only screen and (min-width: 0px) and (max-width: 375px) {
  

.Booking_Details {
  padding: 3rem 1rem!important; /* إضافة padding جانبي للموبايل */
  text-align: center;
  margin: auto!important;
  overflow-x: hidden!important;
}

/* تنسيق الـ h2 مع حجم خط متجاوب */
.Booking_Details h2 {
  color: #00a4f4;
  font-family: "DiodrumArabic-SemiBold", sans-serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.5rem); /* صغير على الموبايل وكبير على الديسكتوب */
  margin-bottom: 1rem;
}

/* تنسيق form-box والنص */
.form-box {
  font-family: "DiodrumArabic-SemiBold", sans-serif;
  font-weight: 400;
  font-size: clamp(1.25rem, 3vw, 2rem); /* حجم نص متجاوب */
  margin-top: 1rem;
  color: #c3c3c3;

}




/*LINK - FORM------*/
.booking-box {
  background: #ffffff;
  border-radius: 1.3rem;
  border: 0.2rem solid #00a4f4;
  width: 320px;
  margin: 10px auto;
  padding: 2rem  1rem!important; /* padding أعلى وأسفل أكثر */
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  margin: auto!important;
}

.booking-text {
  color: #00a4f4;
  text-align: center;
  font-size: 14px!important;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.7rem;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
text-shadow: #b0ffd4;
}

.booking-form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

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

.input-wrapper input,
.input-wrapper select {
  width: 100%;
  padding:1rem  1.5rem !important;
  border-radius: 14px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
  font-size: 1rem;
  color: #333;
  text-align: right;
  direction: rtl;
  box-sizing: border-box;
  transition: 0.3s;
}

.input-wrapper i {
  position: absolute;
  left: 0.9rem; /* الأيقونة على اليسار */
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  font-size: 1rem;
  pointer-events: none;
}

.input-wrapper select {
  appearance: none; /* لإزالة السهم الافتراضي */
}

.input-wrapper select option {
  color: #00a4f4;
  background: #fff;
  text-align: right;
}

/* السهم الداخلي للـ select */
.input-wrapper select + i.select-arrow {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 15px;
  color: #00a4f4;
}

/* عند التركيز */
.input-wrapper input:focus,
.input-wrapper select:focus {
  border-color: #00a4f4;
  background: #fff;
  outline: none;
  box-shadow: inset 2px 2px 5px #e0e0e0;
}

/* زر الحجز */
.custom-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(
    161.87deg,
    rgba(0, 164, 244, 1) 0%,
    rgba(0, 114, 169, 1) 100%
  );
  border-radius: 12px!important;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  border: none;
  width: 100%;
  max-width: 15rem!important;
  margin: 0rem auto 0 auto;
  margin-top: -10%!important;
}

}

/******************************************!SECTION */
/*****************DOCTOR       ******************* */
/***********************************************! */
@media only screen and (min-width: 0px) and (max-width: 375px) {
  .doctors {
    display: none !important;
  }

   .doctors-mobile{
    display: block;
   }

  .doctors-mobile .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1rem; /* قللت المسافة بين الصفوف والكروت */
    row-gap: 0!important;
    justify-items: center;
  }
  .col-6 {
    flex: 0 0 auto;
    width: 100%!important;
}



  .doctor-card-mobile {
    background: #fff;
    border-radius: 1rem;
    box-shadow: none;
    text-align: center;
  }

  .doctor-img {
    width: 95%; /* تكبير مساحة الصورة داخل الكارد */
    margin: auto!important;
  }

  .doctor-img img {
    width: 100%;
    object-fit: contain;

  }

  .doctor-info-mobile {
    padding: 0.3rem 0.5rem 0.6rem; /* تقليل البادينج لتوفير مساحة */

  }

  .doctor-info-mobile .name {
    font-size: 10px!important; /* تصغير حجم الخط */
    background: #26a8d9;
    color: #fff;
    padding: 5px  2.5px;
    border-radius: 0.4rem;
    margin-bottom: 0.3rem;
        font-family: "DiodrumArabic-SemiBold", sans-serif;
        width: 100%!important;

  }

  .doctor-info-mobile .desc {
    font-size: 9px!important; /* تصغير حجم الخط */
    line-height: 1.35;
    color: #04af52;
    border-radius: 0.3rem;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    width: 100%!important;
    padding: 5px!important;
    background-color: #f7f8f8ec; 
    font-weight: 700;


  }

  .doctor-info-mobile .desc-two {
    font-size: 10px!important; /* تصغير حجم الخط */
    line-height: 1.25;
    color: #03abff;
          background-color: #faf7f7ec; 
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 500;

          

  }


  .doc-btn {
    margin-top: 2rem;
  }

  .custom-btn {
    padding: 0.6rem 1.4rem;
    font-size: 1rem;
    border-radius: 1.5rem;
    background: #26a8d9;
    color: #fff;
  }
  .specific{
    margin-top: -1rem!important;
  }

  .doctor-col{
    margin: auto;
                transform: translate(50%,-30%);



  }

  
/******************************************!SECTION */
/***************** Why-Choice    ***************!  */
/***********************************************! */
@media only screen and (min-width: 0px) and (max-width: 375px) {
  .why-choose .col-12 {
    display: flex;
    align-items: center!important;
    background-color: #ffffff15;
    border-radius: 1rem;
    /* transform: translatex(2rem); */
    padding: 0 1rem;
    width: 100%!important;
  }
.why-choose .title {
    background-color: #04af52 !important;
    border-radius: 1.25rem;
    height: 3rem;
    position: relative;
    width: 100%!important;
}


  .why-choose .title h2{
    font-size: 12px!important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    letter-spacing: 2px;

  }
  .why-choose .icon {
    flex-shrink: 0;
    width: 3.5rem !important;
    height: 3.5rem !important;
    border-radius: 50%;
    border: 2px solid #00a4f4 !important;
    background-color: #00a4f420;

  }

  .why-choose .text-box {
    width: 100%!important;
    text-align: right;

  }

  .why-choose .text-box h3 {
    font-size: 1rem;
    color: #04af52;
        font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 900;

  }

  .why-choose .text-box p {
    font-size: 13px;
  color: #00a4f4;

    font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 700;

  }
}


.why-choose .title h2 {
  background: linear-gradient(to left, #04af52, #00a4f4)!important;
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 900;
  letter-spacing: 1px;
}





.why-choose .col-12 {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 164, 244, 0.15);
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose .col-12:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 164, 244, 0.25);
}


/* ===== أنيميشن الدخول من اليمين ===== */
@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(100px) rotate(2deg);
  }
  60% {
    opacity: 0.6;
    transform: translateX(20px) rotate(0.5deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(0);
  }
}

/* ===== أنيميشن الدخول من اليسار ===== */
@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px) rotate(-2deg);
  }
  60% {
    opacity: 0.6;
    transform: translateX(-20px) rotate(-0.5deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(0);
  }
}

/* ===== الكروت ===== */
.why-choose .col-12 {
  opacity: 0;
  animation-duration: 1.4s; /* أبطأ من 0.8s */
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1); /* حركة انسيابية */
}

/* ===== الكروت الفردية (1,3) من اليمين ===== */
.why-choose .col-12:nth-child(odd) {
  animation-name: slideInRight;
}

/* ===== الكروت الزوجية (2,4) من اليسار ===== */
.why-choose .col-12:nth-child(even) {
  animation-name: slideInLeft;
}

/* ===== التأخيرات الزمنية ===== */
.why-choose .col-12:nth-child(1) { animation-delay: 0.3s; }
.why-choose .col-12:nth-child(2) { animation-delay: 0.6s; }
.why-choose .col-12:nth-child(3) { animation-delay: 0.9s; }
.why-choose .col-12:nth-child(4) { animation-delay: 1.2s; }

.Booking_Details-mobile {
  padding: 5rem 1rem; /* إضافة padding جانبي للموبايل */
  text-align: center;
}

/* تنسيق الـ h2 مع حجم خط متجاوب */
.fs-5 {
    font-size: 1rem !important;
}
.Booking_Details-mobile h2 {
  color: #00A4F4 !important;
  font-family: "DiodrumArabic-SemiBold", sans-serif !important;
  font-weight: 900 !important;
  font-size: 17px !important; /* صغير على الموبايل وكبير على الديسكتوب */
  margin-bottom: 10px !important;
  width: 95% !important;
}

.book-note-mobile {
  color: #04af52 !important;
  font-family: "DiodrumArabic-SemiBold", sans-serif !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  margin-bottom: 10px !important;
  width: 75% !important;
  margin: auto !important;
}
    .Booking_Details-mobile {
        padding: 2rem 1rem!important;
        text-align: center!important;
    }
  }

/**!SECTION FOOTER**************************/


/* ===== الشاشات الأكبر (الديستوب) ===== */
@media (min-width: 376px) {
  .footer{
    display: none;
  }

}

/******************************************!SECTION */
/***************** FOOTER MOBILE   ************!  */
/***********************************************! */
/* إخفاء الفوتر العادي على شاشة 375px */
@media only screen and (min-width: 0px) and (max-width: 375px) {
  .footer {
    display: none !important;
  }
.footer .container {
display: none!important;
}

  .footer-mobile {
    display: block !important;
  }
  
  .footer-mobile {
    display: flex !important;
    background-color: #04af52;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    color: #fff;
    padding: 1.5rem 0.5rem;
  }

  .container-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    justify-content: center;
  }

  .row-mobile {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 10%;
    align-items: center;
  }

  .footer-map-mobile iframe {
    width: 100%;
    height: 150px; /* تصغير ارتفاع الخريطة */
    border-radius: 10px;
    border: none;
    transform: translatey(10%);
  }

  .footer-contact-mobile p,
  .footer-social-mobile p {
    font-size: 1rem;
  }

    .footer-contact-mobile p {
        font-size: 1rem;
    }


  .phone-number-mobile {
    font-size: 12px!important;
  }
    .phone-number-mobile img {
    font-size: 10px;

  }




  .social-icons-mobile {
    gap: 8px;
    padding: 6px 10px;
  }

  .social-icons-mobile img {
    width: 16px;
    height: auto;
  }

}

/* إخفاء الفوتر الموبايل على الشاشات الأكبر */
@media only screen and (min-width: 376px) {
  .footer-mobile {
    display: none !important;
  }
}



/***TODO ----------------------------------------------------------  */
/* ======== iPhone XR (376px - 414px) ======== */
/* ============================
   iPhone / Mobile 376px - 414px
============================ */

@media only screen and (min-width: 376px) and (max-width: 414px) {
.hide-on-mobile{
  display: none;
}
  /* ===== Logo ===== */
  .logo img {
    width: 100%;
    margin-left: 1.5rem !important;
  }

  /* ===== Hero Section ===== */
  .hero-data {
    width: 100%;
    right: 0;
    top: 32%;
    transform: translateY(-50%);
    padding: 0.5rem;
    text-align: center;
  }

  .hero-data .content h1 {
    font-size: 17px !important;
    line-height: 1.7;
    margin: 0 auto 0.3rem !important;
    text-align: center;
    margin-left: 2.3rem !important;
    transform: translateY(60%) scaleX(1.25) !important;
  }

  .hero-data .content p {
    font-size: 9.5px !important;
    line-height: 1.9;
    margin: 0 auto;
    text-align: center;
    margin-right: 1.4rem;
    margin-top: 0.5rem !important;
    transform: translateY(50%) scale(1.15)!important;
  }

  .hero::before {
    content: "";
    position: absolute;
    left: 17%;
    top: -2px;
    width: 4.5rem;
    height: 0.625rem;
    background-color: #26a8d9;
    transform: translateY(-50%);
    z-index: 5;
  }

  .hero::after {
    content: "";
    position: absolute;
    right: 11%;
    bottom: -12px;
    width: 3.5rem;
    height: 0.625rem;
    background-color: #04af52;
    transform: translateY(-50%);
    z-index: 5;
  }

  /* ===== Mobile Only Section ===== */
  .mobile-only {
    padding: 1.2rem;
    text-align: right;
    font-family: "DiodrumArabic-SemiBold", sans-serif !important;
    color: #333;
    display: block;
    position: relative;
  }

  .mobile-only::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(6px);
    z-index: -1;
    border-radius: 1rem;
  }

  /* ===== Typewriter Animation ===== */
  #typewriter {
    overflow: hidden;
    border-right: .15em solid #04af52;
    white-space: normal;
    width: 100%;
    display: inline-block;
    font-size: 1rem;
    line-height: 1.6;
    box-shadow: inset -4px 0 6px -4px #e0e0e0, inset 0 -4px 6px -4px #e0e0e0;
    padding: 1.2rem;
    color: #26A8D9;
    transform: translateX(100%);
    opacity: 0;
    animation: slideFromRight 1s forwards, scaleUp 0.5s ease forwards;
  }

  @keyframes slideFromRight { to { transform: translateX(0); opacity: 1; } }
  @keyframes scaleUp { 0% { transform: scale(0.95); } 100% { transform: scale(1); } }

  .hero-text p {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpColor 1s forwards;
    animation-delay: 3.2s;
    margin: 1.2rem 0 1.5rem 0;
    font-size: 1rem;
    line-height: 1.8;
    color: #04af52 !important;
    box-shadow: inset 0 -4px 6px -4px #e0e0e0;
    padding-bottom: 5px !important;
  }

  @keyframes fadeUpColor {
    0% { opacity: 0; transform: translateY(20px); color: #26a8d9; }
    100% { opacity: 1; transform: translateY(0); color: #333; }
  }

  .hero-text ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
  }

  .hero-text ul li {
    opacity: 1;
    transform: translateX(0);
    padding: 0.7rem 1.2rem;
    font-weight: 800;
    border-radius: 0.9rem;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    color: #26A8D9;
    background: linear-gradient(90deg, #ecfafc, #cbf5ec);
    font-family: "DiodrumArabic-SemiBold", sans-serif !important;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .hero-text ul li:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    background: linear-gradient(90deg, #c0f1e7, #cbfce6);
  }

  .hero-text ul li:nth-child(odd) { align-self: flex-end; }
  .hero-text ul li:nth-child(even) { align-self: flex-start; }
  .hero-text ul li:last-child { align-self: center; }

  .btn-book {
    opacity: 0;
    transform: translateY(30px);
    animation: btnSlide 0.9s ease-out forwards;
    animation-delay: 7.2s;
    background-color: #26a8d9 !important;
    color: #fff !important;
    border: none;
    border-radius: 2rem;
    padding: 0.8rem 2.2rem;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: block;
    margin: 1.8rem auto 0 auto;
    width: 70% !important;
    position: relative;
    z-index: 10;
  }

  .btn-book:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  }

  @keyframes btnSlide {
    0% { opacity: 0; transform: translateY(30px); }
    60% { opacity: 1; transform: translateY(-6px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  /* ===== Booking Section ===== */
  .Booking_Details {
    padding: 3rem 1.2rem !important;
    text-align: center;
    margin: auto !important;
  }

  .Booking_Details h2 {
    color: #00a4f4;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 400;
    font-size: clamp(1.6rem, 4.2vw, 2.6rem);
    margin-bottom: 1rem;
  }

  .booking-box {
    width: 340px;
    padding: 2rem 1.2rem !important;
    margin: 10px auto;
    background: #fff;
    border-radius: 1.3rem;
    border: 0.2rem solid #00a4f4;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
  }

  .booking-box {
  background: #ffffff;
  border-radius: 1.3rem;
  border: 0.2rem solid #00a4f4;
  width: 320px;
  margin: 10px auto;
  padding: 2rem  1rem!important; /* padding أعلى وأسفل أكثر */
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  margin: auto!important;
}

.booking-text {
  color: #00a4f4;
  text-align: center;
  font-size: 19px!important;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.7rem;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
text-shadow: #b0ffd4;
}

.booking-form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

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

.input-wrapper input,
.input-wrapper select {
  width: 100%;
  padding:1rem  1.5rem !important;
  border-radius: 14px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
  font-size: 1rem;
  color: #333;
  text-align: right;
  direction: rtl;
  box-sizing: border-box;
  transition: 0.3s;
}

.input-wrapper i {
  position: absolute;
  left: 0.9rem; /* الأيقونة على اليسار */
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  font-size: 1rem;
  pointer-events: none;
}

  /* ===== Doctors Mobile ===== */
  .doctors { display: none !important; }
  .doctors-mobile { display: block; }
  .doctors-mobile .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1rem;
    row-gap: 0.5rem;
    justify-items: center;
  }
  .doctor-card-mobile { width: 100%; text-align: center; background: #fff; border-radius: 1rem; }

  /* ===== Why-Choose ===== */
  .why-choose .title {
    width: 100% !important;
    height: 3.5rem;
    border-radius: 1.25rem;
    background-color: #04af52 !important;
  }
  .why-choose .title h2 {
    font-size: 13px !important;
    text-align: center;
    font-weight: 900;
  }

  /* ===== Footer Mobile ===== */
  .footer { display: none !important; }
  .footer-mobile {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background-color: #04af52;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    color: #fff;
    padding: 1.5rem 0.5rem;
    width: 100%;
  }

  .footer-map-mobile iframe { width: 100%; height: 180px; border-radius: 10px; border: none; }
  .row-mobile { display: flex; flex-direction: row; justify-content: space-between; gap: 4%; width: 100%; }
  .footer-info-mobile { flex: 1 1 48%; display: flex; flex-direction: column; align-items: center; gap: 10px; }

  /* Hide footer mobile on larger screens */
  @media only screen and (min-width: 415px) {
    .footer-mobile { display: none !important; }
  }



  
}
/* ===== Doctors Section Mobile (376px - 414px) ===== */
@media only screen and (min-width: 376px) and (max-width: 414px) {

  /* إخفاء القسم الأصلي */
  .doctors {
    display: none !important;
  }

  /* إظهار نسخة الموبايل */
  .doctors-mobile {
    display: block;
    width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
  }

  /* Grid للبطاقات */
  .doctors-mobile .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem; /* مسافة مناسبة بين الكروت */
    justify-items: center;
    margin-bottom: 0 !important; /* إزالة أي مسافة أسفل الصف */
  }

  /* لكل عمود */
  .col-6 {
    flex: 0 0 auto;
    width: 100% !important;
    box-sizing: border-box;
    margin-bottom: 0 !important; /* إزالة المسافة بين الأعمدة */
  }

  /* بطاقة الدكتور */
  .doctor-card-mobile {
    border-radius: 1rem;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0rem 0.3rem;
    box-sizing: border-box;
    margin-bottom: 0 !important; /* حذف أي مسافة أسفل البطاقة */
  }

  /* الصورة */
  .doctor-img {
    width: 95%;
    margin: 0 auto 0.5rem auto !important;
  }

  .doctor-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
  }

  /* معلومات الدكتور */
  .doctor-info-mobile {
    width: 100%;
    padding: 0.3rem 0.5rem 0.6rem;
    text-align: center;
  }

  .doctor-info-mobile .name {
    font-size: 10px !important;
    background-color: #26a8d9;
    color: #fff;
    padding: 5px 2.5px;
    border-radius: 0.4rem;
    margin-bottom: 0.3rem;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 700;
    width: 100% !important;
  }

  .doctor-info-mobile .desc {
    font-size: 9px !important;
    line-height: 1.35;
    color: #04af52;
    background-color: #f7f8f8ec;
    padding: 5px !important;
    border-radius: 0.3rem;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 700;
    width: 100% !important;
    box-sizing: border-box;
    height: 20px !important;
  }

  .doctor-info-mobile .desc-two {
    font-size: 9px !important;
    line-height: 1.25;
    color: #03abff;
    background-color: #faf7f7ec;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 500;
    padding: 3px 5px;
    border-radius: 0.3rem;
    width: 100% !important;
    box-sizing: border-box;
  }

  /* زر الحجز */
  .doc-btn {
    margin-top: 1rem !important; /* ضبط المسافة المناسبة للزر */
  }

  .custom-btn {
    padding: 0.6rem 1.4rem;
    font-size: 1rem;
    border-radius: 1.5rem;
    background-color: #26a8d9;
    color: #fff;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .custom-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  }

  /* تعديل المسافة داخل الكول */
  .doctor-col {
    margin: auto !important;
    transform: translate(0, 0) !important;
  }

  /* خاصية لتعديل الهوامش الخاصة بكروت معينة */
  .specific {
    margin-top: 0 !important; /* إزالة أي top margin */
  }

  .doctors-mobile .extra-note {
    margin: 0 !important;
    transform: translate(0, 0) !important; /* إزالة الإزاحة التي تسبب المسافة */
  }

  /* إزالة أي padding أسفل ال container */
  .doctors-mobile .container-lg {
    padding-bottom: 0 !important;
  }

  .doctors-mobile .specific{
    margin-top: -8%!important;
  }
/*Doctor-walid */ 
 .doctors-mobile .extra-note{
transform: translate(50%)!important;
  }

  @media only screen and (min-width: 376px) and (max-width: 414px) {
  .why-choose .col-12 {
    display: flex;
    align-items: center !important;
    background-color: #ffffff15;
    border-radius: 1rem;
    padding: 0 1rem;
    width: 100% !important;
  }

  .why-choose .title {
    background-color: #04af52 !important;
    border-radius: 1.25rem;
    height: 3rem;
    position: relative;
    width: 100% !important;
  }

  .why-choose .title h2 {
    font-size: 14px !important; /* أكبر قليلاً من 375px */
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    letter-spacing: 2px;
  }

  .why-choose .icon {
    flex-shrink: 0;
    width: 4rem !important; /* أكبر قليلاً */
    height: 4rem !important;
    border-radius: 50%;
    border: 2px solid #00a4f4 !important;
    background-color: #00a4f420;
    margin-right: 1rem!important;
  }

  .why-choose .text-box {
    width: 100% !important;
    text-align: right;
  }

  .why-choose .text-box h3 {
    font-size: 1.1rem;
    color: #04af52;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 900;
  }

  .why-choose .text-box p {
    font-size: 14px;
    color: #00a4f4;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 700;
  }
}

/* ===== التأثيرات العامة للكروت ===== */
.why-choose .title h2 {
  background: linear-gradient(to left, #04af52, #00a4f4) !important;
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 900;
  letter-spacing: 1px;
}

.why-choose .col-12 {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 164, 244, 0.15);
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose .col-12:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 164, 244, 0.25);
}

/* ===== أنيميشن الدخول من اليمين ===== */
@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(100px) rotate(2deg);
  }
  60% {
    opacity: 0.6;
    transform: translateX(20px) rotate(0.5deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(0);
  }
}

/* ===== أنيميشن الدخول من اليسار ===== */
@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px) rotate(-2deg);
  }
  60% {
    opacity: 0.6;
    transform: translateX(-20px) rotate(-0.5deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(0);
  }
}

/* ===== الكروت ===== */
.why-choose .col-12 {
  opacity: 0;
  animation-duration: 1.4s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
}

.why-choose .col-12:nth-child(odd) {
  animation-name: slideInRight;
}

.why-choose .col-12:nth-child(even) {
  animation-name: slideInLeft;
}

/* ===== التأخيرات الزمنية ===== */
.why-choose .col-12:nth-child(1) { animation-delay: 0.3s; }
.why-choose .col-12:nth-child(2) { animation-delay: 0.6s; }
.why-choose .col-12:nth-child(3) { animation-delay: 0.9s; }
.why-choose .col-12:nth-child(4) { animation-delay: 1.2s; }

/* ===== تفاصيل الحجز للموبايل ===== */
.Booking_Details-mobile {
  padding: 5rem 1rem;
  text-align: center;
}

.fs-5 {
  font-size: 1rem !important;
}

.Booking_Details-mobile h2 {
  color: #00A4F4 !important;
  font-family: "DiodrumArabic-SemiBold", sans-serif !important;
  font-weight: 900 !important;
  font-size: 18px !important; /* أكبر قليلاً */
  margin-bottom: 10px !important;
  width: 95% !important;
}

.book-note-mobile {
  color: #04af52 !important;
  font-family: "DiodrumArabic-SemiBold", sans-serif !important;
  font-weight: 400 !important;
  font-size: 15px !important;
  margin-bottom: 10px !important;
  width: 75% !important;
  margin: auto !important;
}

.Booking_Details-mobile {
  padding: 2rem 1rem !important;
  text-align: center !important;
}
@media only screen and (min-width: 376px) and (max-width: 414px) {

 
  /* إخفاء الفوتر العادي */
  .footer {
    display: none !important;
  }
  .footer .container {
    display: none !important;
  }

  /* عرض الفوتر المخصص للموبايل */
  .footer-mobile {
    display: flex !important;
    background-color: #04af52;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    color: #fff;
    padding: 1.5rem 0.5rem;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .container-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    justify-content: center;
  }

  .row-mobile {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 10%;
  }

  .footer-map-mobile iframe {
    width: 100%;
    height: 150px; /* تصغير ارتفاع الخريطة */
    border-radius: 10px;
    border: none;
    transform: translateY(10%);
  }

  .footer-contact-mobile p,
  .footer-social-mobile p {
    font-size: 1rem;
    margin: 0;
  }

  .phone-number-mobile {
    font-size: 12px !important;
  }
  .phone-number-mobile img {
    font-size: 10px;
  }

  .social-icons-mobile {
    gap: 8px;
    padding: 6px 10px;
  }

  .social-icons-mobile img {
    width: 16px;
    height: auto;
  }
}

/* إخفاء الفوتر الموبايل على الشاشات الأكبر من 414px */
@media only screen and (min-width: 415px) {
  .footer-mobile {
    display: none !important;
  }
}

}
@media only screen and (min-width: 386px) and (max-width: 400px) {
  /* شعار الموقع */
  .logo img {
    width: 100%;
    margin-left: 1.6rem !important; /* زيادة بسيطة لتناسب العرض */
  }

  /* بيانات الهيرو */
  .hero-data {
    width: 100%;
    right: 0;
    top: 30%;
    transform: translateY(-50%);
    padding: 0.6rem; /* زيادة padding قليلاً */
    text-align: center;
  }

  /* عنوان الهيرو */
  .hero-data .content h1 {
    font-size: 17px !important; /* تكبير الخط قليلاً */
    line-height: 1.8;
    margin: 0 auto 1rem;
    text-align: center;
    margin-left: 0.8rem !important;
    margin-bottom: 0.4rem !important;
    transform: translateY(60%) scaleX(1.3) !important;
  }

  /* وصف الهيرو */
  .hero-data .content p {
    font-size: 8.5px !important; /* تكبير الخط قليلاً */
    line-height: 2;
    margin: 0 auto;
    text-align: center;
    margin-right: 1.5rem;
    margin-top: 0.6rem !important;
    transform: translateY(50%) scale(1.25);
  }

  /* الزخارف ::before و ::after */
  .hero::before {
    content: "";
    position: absolute;
    left: 16.5%; /* من الناحية اليسرى */
    top: -2px;
    width: 4.5rem; /* تكبير بسيط */
    height: 0.65rem;
    background-color: #26a8d9;
    transform: translateY(-50%);
    z-index: 5;
  }

  .hero::after {
    content: "";
    position: absolute;
    right: 12%; /* من الناحية اليمنى */
    bottom: -12px;
    width: 3.5rem; /* تكبير بسيط */
    height: 0.65rem;
    background-color: #04af52;
    transform: translateY(-50%);
    z-index: 5;
  }
}


@media only screen and (min-width: 415px) and (max-width: 440px) {
  /* شعار الموقع */
  .logo img {
    width: 100%;
    margin-left: 1rem !important; /* زيادة بسيطة لتناسب العرض */
  }

  /* بيانات الهيرو */
  .hero-data {
    width: 100%;
    right: 0;
    top: 30%;
    transform: translateY(-50%);
    padding: 0.7rem; /* زيادة padding قليلاً */
    text-align: center;
  }

  /* عنوان الهيرو */
  .hero-data .content h1 {
    font-size: 19px !important; /* تكبير الخط قليلاً */
    line-height: 1.9;
    margin: 0 auto 1rem;
    text-align: center;
    margin-left: 1.6rem !important;
    margin-bottom: 0.5rem !important;
    transform: translateY(60%) scaleX(1.35) !important; /* تكبير بسيط */
  }

  /* وصف الهيرو */
  .hero-data .content p {
    font-size: 9px !important; /* تكبير الخط قليلاً */
    line-height: 2.1;
    margin: 0 auto;
    text-align: center;
    margin-right: 1.2rem;
    margin-top: 0.7rem !important;
    transform: translate(10%,50%)!important;
  }

  /* الزخارف ::before و ::after */
  .hero::before {
    content: "";
    position: absolute;
    left: 16.5%;
    top: -2px;
    width: 4.8rem; /* تكبير الزخرفة */
    height: 0.7rem;
    background-color: #26a8d9;
    transform: translateY(-50%);
    z-index: 5;
  }

  .hero::after {
    content: "";
    position: absolute;
    right: 12%;
    bottom: -12px;
    width: 3.8rem; /* تكبير الزخرفة */
    height: 0.7rem;
    background-color: #04af52;
    transform: translateY(-50%);
    z-index: 5;
  }
}




@media only screen and (min-width: 415px) and (max-width: 440px) {
  .hide-on-mobile{
    display: none;
  }

}




@media only screen and (min-width: 415px) and (max-width: 440px) {

  /* ===== قسم لماذا تختارنا ===== */
  .why-choose .col-12 {
    display: flex;
    align-items: center !important;
    background-color: #ffffff15;
    border-radius: 1rem;
    padding: 0 1.2rem; /* زيادة طفيفة لتناسب العرض */
    width: 100% !important;
  }

  .why-choose .title {
    background-color: #04af52 !important;
    border-radius: 1.25rem;
    height: 3.2rem;
    position: relative;
    width: 100% !important;
  }

  .why-choose .title h2 {
    font-size: 13px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    letter-spacing: 2px;
    text-align: center;
  }

  .why-choose .icon {
    flex-shrink: 0;
    width: 4rem !important; /* أكبر قليلاً لتناسب دقة الشاشة */
    height: 4rem !important;
    border-radius: 50%;
    border: 2px solid #00a4f4 !important;
    background-color: #00a4f420;
  }

  .why-choose .text-box {
    width: 100% !important;
    text-align: right;
  }

  .why-choose .text-box h3 {
    font-size: 1.05rem !important;
    color: #04af52;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 900;
  }

  .why-choose .text-box p {
    font-size: 14px !important;
    color: #00a4f4;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 700;
    line-height: 1.5;
  }

  /* ===== تأثير التدرج للنص العنوان ===== */
  .why-choose .title h2 {
    background: linear-gradient(to left, #04af52, #00a4f4) !important;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 900;
    letter-spacing: 1px;
  }

  /* ===== الكروت الأساسية ===== */
  .why-choose .col-12 {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 164, 244, 0.15);
    padding: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .why-choose .col-12:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 164, 244, 0.25);
  }

  /* ===== أنيميشن الدخول من اليمين ===== */
  @keyframes slideInRight {
    0% {
      opacity: 0;
      transform: translateX(100px) rotate(2deg);
    }
    60% {
      opacity: 0.6;
      transform: translateX(20px) rotate(0.5deg);
    }
    100% {
      opacity: 1;
      transform: translateX(0) rotate(0);
    }
  }

  /* ===== أنيميشن الدخول من اليسار ===== */
  @keyframes slideInLeft {
    0% {
      opacity: 0;
      transform: translateX(-100px) rotate(-2deg);
    }
    60% {
      opacity: 0.6;
      transform: translateX(-20px) rotate(-0.5deg);
    }
    100% {
      opacity: 1;
      transform: translateX(0) rotate(0);
    }
  }

  /* ===== تطبيق الأنيميشن على الكروت ===== */
  .why-choose .col-12 {
    opacity: 0;
    animation-duration: 1.4s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
  }

  /* الكروت الفردية (من اليمين) */
  .why-choose .col-12:nth-child(odd) {
    animation-name: slideInRight;
  }

  /* الكروت الزوجية (من اليسار) */
  .why-choose .col-12:nth-child(even) {
    animation-name: slideInLeft;
  }

  /* التأخيرات الزمنية */
  .why-choose .col-12:nth-child(1) { animation-delay: 0.3s; }
  .why-choose .col-12:nth-child(2) { animation-delay: 0.6s; }
  .why-choose .col-12:nth-child(3) { animation-delay: 0.9s; }
  .why-choose .col-12:nth-child(4) { animation-delay: 1.2s; }

  /* ===== قسم الحجز ===== */
  .Booking_Details-mobile {
    padding: 3rem 1rem !important;
    text-align: center !important;
  }

  .Booking_Details-mobile h2 {
    color: #00A4F4 !important;
    font-family: "DiodrumArabic-SemiBold", sans-serif !important;
    font-weight: 900 !important;
    font-size: 18px !important;
    margin-bottom: 12px !important;
    width: 95% !important;
  }

  .book-note-mobile {
    color: #04af52 !important;
    font-family: "DiodrumArabic-SemiBold", sans-serif !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    margin-bottom: 10px !important;
    width: 80% !important;
    margin: auto !important;
  }

  /* ===== الفوتر ===== */
  .footer {
    display: none !important;
  }

  .footer-mobile {
    display: block !important;
  }

}

/* ===== إخفاء نسخة الموبايل في الشاشات الأكبر ===== */
@media (min-width: 441px) {
  .footer-mobile {
    display: none !important;
  }
}


/* ======== Footer Styling for iPhone 12 Pro Max & 14 Pro Max ======== */
@media only screen and (min-width: 415px) and (max-width: 440px) {

  /* إخفاء فوتر الديسكتوب */
  .footer {
    display: none !important;
  }

  .footer .container {
    display: none !important;
  }

  /* إظهار فوتر الموبايل */
  .footer-mobile {
    display: flex !important;
    flex-direction: column;
    background-color: #04af52;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    color: #fff;
    padding: 1.2rem 0.8rem;
    width: 100%;
  }

  /* الحاوية الأساسية */
  .container-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
  }

  /* صف الاتصال + الخريطة */
  .row-mobile {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    gap: 1rem;
  }

  /* قسم الخريطة */
  .footer-map-mobile iframe {
    width: 100%;
    height: 140px; /* حجم مناسب للعرض */
    border-radius: 10px;
    border: none;
    transform: translateY(5%);
  }

  /* أقسام النصوص */
  .footer-contact-mobile p,
  .footer-social-mobile p {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }

  /* رقم الهاتف */
  .phone-number-mobile {
    font-size: 13px !important;
    font-weight: 700;
  }

  .phone-number-mobile img {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-left: 4px;
  }

  /* الأيقونات */
  .social-icons-mobile {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 0.4rem 0.2rem;
    justify-content: center;
  }

  .social-icons-mobile img {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
  }

  .social-icons-mobile img:hover {
    transform: scale(1.1);
  }
}

/* إخفاء فوتر الموبايل عند الشاشات الأكبر */
@media only screen and (min-width: 441px) {
  .footer-mobile {
    display: none !important;
  }

}

@media only screen and (min-width: 360px) and (max-width: 374px) {
  /* التنسيقات الخاصة بـ Galaxy S8+ */
      .Booking_Details {
       
        overflow-x: hidden !important;
    }
}




/****************************************TODO - 415-767 */
/* ======== لشاشات من 415px إلى 767px (قيم نسبية) ======== */


/*************************************************TODO -  */
















/****************************************TODO - 441-767 */


@media only screen and (min-width: 441px) and (max-width: 767px) {

  .hero-data {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-70%);
    padding: 1rem;
    border-radius: 0.5rem;
    max-width: 90%;
    text-align: right;
    margin-right: -1rem!important;
}

.hero-data .content h1 {
    color: #26a8d9;
    font-family: "DiodrumArabic-Semibold", sans-serif;
    font-weight: 600;
    text-align: right;
    margin-bottom: 1rem;
    line-height: 1.3;
    margin-right: 2%!important;
    font-size: 1rem!important;
    transform: translatey(50%);
}

.hero-data .content p {
    color: #04af52;
    font-family: "DiodrumArabic-Semibold", sans-serif;
    font-weight: 800;
    text-align: right;
    line-height: 1.6;
    margin-right: 12%;
    font-size: 0.6rem;
    transform: translateY(55%) scale(1.35);
}

.hero::before {
    content: "";
    position: absolute;
    left: 16.5%;
    top: 0;
    width: 5.3125rem;
    height: 0.625rem;
    background-color: #26a8d9;
    transform: translateY(-50%);
    z-index: 5;
}

.hero::after {
    content: "";
    position: absolute;
    right: 12%;
    bottom: -10px;
    width: 3.3125rem;
    height: 0.625rem;
    background-color: #04af52;
    transform: translateY(-50%);
    z-index: 5;
}

/* ===== Button ===== */
.btn-book {
  opacity: 0;
  transform: translateY(30px);
  animation: btnSlide 0.9s ease-out forwards;
  animation-delay: 7.2s;
  animation-fill-mode: forwards;

  /* شكل الزر */
  background-color: #26a8d9 !important; /* تأكيد ظهور اللون */
  color: #fff !important;
  border: none;
  border-radius: 2rem;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  cursor: pointer;

  /* التأثيرات */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  /* تمركز الزر */
  display: block;
  margin: 1.5rem auto 0 auto; /* يجعل الزر في المنتصف أفقياً */
  position: relative;
  z-index: 10; /* مهم إذا في طبقات أو blur فوقه */
  width: 70%!important;
}

.btn-book:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

@keyframes btnSlide {
  0%   { opacity: 0; transform: translateY(30px); }
  60%  { opacity: 1; transform: translateY(-6px); }
  100% { opacity: 1; transform: translateY(0); }
}



.hide-on-mobile{
  display: none;
}

/*********************only-mobile */
   .mobile-only {
    padding: 1.2rem; /* زيادة بسيطة */
    text-align: right;
    font-family: "DiodrumArabic-SemiBold", sans-serif !important;
    color: #333;
    display: block;
    position: relative;
  }

  /* Background Blur */
  .mobile-only::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    z-index: -1;
    border-radius: 1rem;
  }

  /* Typewriter H1 */
  #typewriter {
    overflow: hidden; 
    border-right: .15em solid #04af52; 
    white-space: nowrap;
    width: 100%;
    display: inline-block;
    font-size: 1rem;
    line-height: 1.4;
    animation: typing 3s steps(60, end), blink .75s step-end infinite, scaleUp 0.5s ease forwards;
box-shadow: 
  inset -4px 0 6px -4px #e0e0e0,  /* من اليسار */
  inset 0 -4px 6px -4px #e0e0e0;  /* من الأسفل */
padding: 1rem ;

  }

  @keyframes typing { from { width: 0 } to { width: 100% } }
  @keyframes scaleUp { 0% { transform: scale(0.95); } 100% { transform: scale(1); } }
  @keyframes blink { 50% { border-color: #04af52; } }

  /* Optional: letter fade */
  #typewriter span {
    opacity: 0;
    display: inline-block;
    animation: letterFade 0.5s forwards;
  }
  @keyframes letterFade { to { opacity: 1; } }

  #typewriter {
    transform: translateX(100%);
    opacity: 0;
    animation: slideFromRight 1s forwards;
  }
  @keyframes slideFromRight { to { transform: translateX(0); opacity: 1; } }

  /* ===== Paragraph ===== */
  .hero-text p {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpColor 1s forwards;
    animation-delay: 3.2s;
    margin: 1rem 0 1.5rem 0;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #04af52!important;
   
box-shadow: 
            inset 0 -4px 6px -4px #e0e0e0;
  padding-bottom: 5px!important;

  }

  @keyframes fadeUpColor {
    0% { opacity: 0; transform: translateY(20px); color: #26a8d9; }
    100% { opacity: 1; transform: translateY(0); color: #333; }
  }

  /* Paragraph */


  /* List */
  .hero-text ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
  }

  .hero-text ul li {
    opacity: 1;
    transform: translateX(0);
    padding: 0.7rem 1.2rem; /* زيادة padding */
    cursor: pointer;
    font-weight: 500;
    border-radius: 0.8rem;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    display: inline-block;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, #ecfafc, #cbf5ec);
    font-family: "DiodrumArabic-SemiBold", sans-serif !important;
    font-weight: 800;
    color: #26A8D9;
  }

  .hero-text ul li:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    background: linear-gradient(90deg, #c0f1e7, #cbfce6);
  }

  .hero-text ul li::before {
    content: "•";
    position: absolute;
    right: 0.5rem;
    color: #1fd16f;
    font-size: 1.2rem;
  }

  .hero-text ul li:nth-child(odd) { align-self: flex-end; }
  .hero-text ul li:nth-child(even) { align-self: flex-start; }
  .hero-text ul li:last-child { align-self: center; }

  /* Booking Details */
  .Booking_Details {
    padding: 3.5rem 1.2rem !important;
    text-align: center;
    margin: auto !important;
  }

  .Booking_Details h2 {
    color: #00a4f4;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 400;
    font-size: 1.4rem!important;
    margin-bottom: 1rem;
  }

  .form-box {
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 400;
    font-size: clamp(1.3rem, 3vw, 2rem);
    margin-top: 1rem;
    color: #c3c3c3;
  }

  .booking-box {
    background: #ffffff;
    border-radius: 1.3rem;
    border: 0.2rem solid #00a4f4;
    width: 350px; /* أكبر قليلاً */
    margin: 10px auto;
    padding: 2rem 1.2rem !important;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
  }

  .booking-text {
    color: #00a4f4;
    text-align: center;
    font-size: 18px !important;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.8rem;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    text-shadow: #b0ffd4;
  }

  .booking-form {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .input-wrapper input,
  .input-wrapper select {
    width: 100%;
    padding:1rem 1.5rem !important;
    border-radius: 14px;
    border: 1px solid #e5e5e5;
    background: #fafafa;
    font-size: 1rem;
    color: #333;
    text-align: right;
    direction: rtl;
    box-sizing: border-box;
    transition: 0.3s;
  }

  .input-wrapper i {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    font-size: 1rem;
    pointer-events: none;
  }

  .input-wrapper select + i.select-arrow {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 15px;
    color: #00a4f4;
  }

  .input-wrapper input:focus,
  .input-wrapper select:focus {
    border-color: #00a4f4;
    background: #fff;
    outline: none;
    box-shadow: inset 2px 2px 5px #e0e0e0;
  }


    .custom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

    background: linear-gradient(
      161.87deg,
      rgba(0, 164, 244, 1) 0%,
      rgba(0, 114, 169, 1) 100%
    );

    border-radius: 12px !important;
    padding: 1rem 2rem;
    font-size: 1.3rem; /* تكبير قليل إضافي للشاشة الأكبر */
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    border: none;

    width: 100%;
    max-width: 16.5rem !important; /* زيادة صغيرة لتناسب الشاشة */
    margin: 0 auto;
    margin-top: -8% !important; /* ضبط الموضع العلوي */
    
    /* التأثيرات */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* تمركز الزر */
    position: relative;
    z-index: 10;
  }

  .custom-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  }

  /* Typewriter */
  #typewriter {
    display: inline-block;
    font-family: "DiodrumArabic-SemiBold", sans-serif !important;
    font-weight: 800;
    font-size: 0.9rem; /* تكبير الخط لتناسب الشاشة */
    line-height: 1.5;
    color: #26A8D9;
    overflow: visible;      /* السماح للالتفاف */
    white-space: normal;    /* السماح للالتفاف */
    width: 100%;
    border-right: .15em solid #04af52; /* المؤشر */
    padding: 1rem;
    box-shadow: inset -4px 0 6px -4px #e0e0e0, 
                inset 0 -4px 6px -4px #e0e0e0;
    transform: translateX(100%) scale(0.95);
    opacity: 0;
    animation: slideFromRight 1s forwards, scaleUp 0.5s ease forwards, typing 3s steps(60, end);
  }

  /* Keyframes */
  @keyframes slideFromRight {
    0% { transform: translateX(100%) scale(0.95); opacity: 0; }
    100% { transform: translateX(0) scale(1); opacity: 1; }
  }

  @keyframes scaleUp {
    0% { transform: scale(0.95); }
    100% { transform: scale(1); }
  }

  @keyframes typing {
    from { width: 0; }
    to { width: 100%; }
  }

  @keyframes blink {
    50% { border-color: #04af52; }
  }

  /* Optional: letter fade */
  #typewriter span {
    display: inline-block;
    opacity: 0;
    animation: letterFade 0.5s forwards;
  }
  @keyframes letterFade { to { opacity: 1; } }


}

@media only screen and (min-width: 441px) and (max-width: 767px) {
  /* إخفاء نسخة الديسكتوب */
  .doctors {
    display: none !important;
  }

  /* إظهار نسخة الموبايل */
  .doctors-mobile {
    display: block;
    width: 100%;
    padding: 0 2% !important; /* استخدم نسبة بدل px */
    box-sizing: border-box;
  }

  /* Grid للبطاقات */
  .doctors-mobile .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2% !important; /* مسافة مناسبة بين الكروت */
    justify-items: center;
    margin-bottom: 0 !important;
  }

  /* لكل عمود */
  .col-6 {
    flex: 0 0 auto;
    width: 100% !important;
    box-sizing: border-box;
    margin-bottom: 0 !important;
  }

  /* بطاقة الدكتور */
  .doctor-card-mobile {
    border-radius: 1rem;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5% 1% !important;
    box-sizing: border-box;
    margin-bottom: 0 !important;
  }

  /* الصورة */
  .doctor-img {
    width: 95%;
    margin: 0 auto 0.5rem auto !important;
  }

  .doctor-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
  }

  /* معلومات الدكتور */
  .doctor-info-mobile {
    width: 100%;
    padding: 0.5% 1% 1% !important;
    text-align: center;
  }

  .doctor-info-mobile .name {
    font-size: 0.85rem !important;
    background-color: #26a8d9;
    color: #fff;
    padding: 0.3rem 0.5rem;
    border-radius: 0.4rem;
    margin-bottom: 0.3rem;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 700;
    width: 100% !important;
  }

  .doctor-info-mobile .desc {
    font-size: 0.75rem !important;
    line-height: 1.35;
    color: #04af52;
    background-color: #f7f8f8ec;
    padding: 0.3rem !important;
    border-radius: 0.3rem;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 700;
    width: 100% !important;
    box-sizing: border-box;
    height: auto !important;
  }

  .doctor-info-mobile .desc-two {
    font-size: 0.75rem !important;
    line-height: 1.25;
    color: #03abff;
    background-color: #faf7f7ec;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 500;
    padding: 0.2rem 0.4rem;
    border-radius: 0.3rem;
    width: 100% !important;
    box-sizing: border-box;
  }

  /* زر الحجز */
  /* .doc-btn { */
    /* margin-top: 11rem !important; */
  /* } */

  .custom-btn {
    padding: 0.6rem 1.4rem;
    font-size: 1rem;
    border-radius: 1.5rem;
    background-color: #26a8d9;
    color: #fff;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .custom-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  }

  /* تعديل المسافة داخل الكول */
  .doctor-col {
    margin: auto !important;
    transform: translate(0, 0) !important;
  }

  /* إزالة أي top margin غير مرغوب */
  .specific {
    margin-bottom: 5rem !important;
  }

  .doctors-mobile .extra-note {
    margin: 0 !important;
    transform: translate(0, 0) !important;
  }

  /* إزالة padding أسفل الـ container */
  .doctors-mobile .container-lg {
    padding-bottom: 0 !important;
  }

  .doctors-mobile .specific {
    margin-top: -8% !important;
  }

  /* تعديل موقع عنصر معين */
  .doctors-mobile .extra-note {
        transform: translate(50%, -30%) !important;
  }
.doc-btn {

    text-align: center !important;
    margin-top: 2rem !important;

}


@media only screen and (min-width: 441px) and (max-width: 767px) {
  /* ===== تنسيق الأعمدة ===== */
  .why-choose .col-12 {
    display: flex;
    align-items: center !important;
    background-color: rgba(255, 255, 255, 0.09);
    border-radius: 1rem;
    padding: 1% 3% !important; /* استخدم نسب لتكون مرنة */
    width: 100% !important;
    box-shadow: 0 4px 15px rgba(0, 164, 244, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation-duration: 1.4s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
  }

  /* Hover effect للكروت */
  .why-choose .col-12:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 164, 244, 0.25);
  }

  /* ===== العنوان ===== */
  .why-choose .title {
    background-color: #04af52 !important;
    border-radius: 1.25rem;
    height: 3.2rem;
    position: relative;
    width: 100% !important;
  }

  .why-choose .title h2 {
    font-size: 0.8rem !important; /* تحويل px إلى rem نسبي */
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    letter-spacing: 1px;
    text-align: center;
    background: linear-gradient(to left, #04af52, #00a4f4) !important;
    -webkit-background-clip: text;
    color: transparent;
  }

  /* ===== الأيقونة ===== */
  .why-choose .icon {
    flex-shrink: 0;
    width: 4rem !important;
    height: 4rem !important;
    border-radius: 50%;
    border: 2px solid #00a4f4 !important;
    background-color: rgba(0, 164, 244, 0.125);
  }

  /* ===== صندوق النص ===== */
  .why-choose .text-box {
    width: 100% !important;
    text-align: right;
  }

  .why-choose .text-box h3 {
    font-size: 1rem !important;
    color: #04af52;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 900;
    margin-bottom: 0.3rem;
  }

  .why-choose .text-box p {
    font-size: 0.85rem !important;
    color: #00a4f4;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
  }

  /* ===== أنيميشن ===== */
  @keyframes slideInRight {
    0% { opacity: 0; transform: translateX(100px) rotate(2deg); }
    60% { opacity: 0.6; transform: translateX(20px) rotate(0.5deg); }
    100% { opacity: 1; transform: translateX(0) rotate(0); }
  }

  @keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-100px) rotate(-2deg); }
    60% { opacity: 0.6; transform: translateX(-20px) rotate(-0.5deg); }
    100% { opacity: 1; transform: translateX(0) rotate(0); }
  }

  /* تطبيق الأنيميشن على الكروت */
  .why-choose .col-12:nth-child(odd) { animation-name: slideInRight; }
  .why-choose .col-12:nth-child(even) { animation-name: slideInLeft; }

  /* التأخيرات الزمنية */
  .why-choose .col-12:nth-child(1) { animation-delay: 0.3s; }
  .why-choose .col-12:nth-child(2) { animation-delay: 0.6s; }
  .why-choose .col-12:nth-child(3) { animation-delay: 0.9s; }
  .why-choose .col-12:nth-child(4) { animation-delay: 1.2s; }
}



  /* إخفاء فوتر الديسكتوب */
  .footer {
    display: none !important;
  }

  .footer .container {
    display: none !important;
  }

  /* إظهار فوتر الموبايل */
  .footer-mobile {
    display: flex !important;
    flex-direction: column;
    background-color: #04af52;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    color: #fff;
    padding: 1.2rem 0.8rem;
    width: 100%;
  }

  /* الحاوية الأساسية */
  .container-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
  }

  /* صف الاتصال + الخريطة */
  .row-mobile {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    gap: 1rem;
  }

  /* قسم الخريطة */
  .footer-map-mobile iframe {
    width: 100%;
    height: 140px; /* حجم مناسب للعرض */
    border-radius: 10px;
    border: none;
    transform: translateY(5%);
  }

  /* أقسام النصوص */
  .footer-contact-mobile p,
  .footer-social-mobile p {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }

  /* رقم الهاتف */
  .phone-number-mobile {
    font-size: 13px !important;
    font-weight: 700;
  }

  .phone-number-mobile img {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-left: 4px;
  }

  /* الأيقونات */
  .social-icons-mobile {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 0.4rem 0.2rem;
    justify-content: center;
  }

  .social-icons-mobile img {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
  }

  .social-icons-mobile img:hover {
    transform: scale(1.1);
  }
}

/* إخفاء فوتر الموبايل عند الشاشات الأكبر */
@media only screen and (min-width: 441px) {
  .footer-mobile {
    display: none !important;
  }

}

@media only screen and (min-width: 360px) and (max-width: 374px) {
  /* التنسيقات الخاصة بـ Galaxy S8+ */
      .Booking_Details {
       
        overflow-x: hidden !important;
    }



    
}


@media only screen and (min-width: 441px) and (max-width: 767px) {

  /* 🔹 إخفاء نسخة الفوتر للموبايل */
  .footer-mobile {
    display: none !important;
  }

  /* 🔹 تنسيق قسم لماذا تختارنا */
  .why-choose .col-12 {
    display: flex;
    align-items: center !important;
    background-color: rgba(255, 255, 255, 0.09);
    border-radius: 1rem;
    padding: 1% 3% !important;
    width: 100% !important;
    box-shadow: 0 4px 15px rgba(0, 164, 244, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation-duration: 1.4s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
  }

  .why-choose .col-12:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 164, 244, 0.25);
  }

  .why-choose .title {
    background-color: #04af52 !important;
    border-radius: 1.25rem;
    height: 3.2rem;
    position: relative;
    width: 100% !important;
  }

  .why-choose .title h2 {
    font-size: 0.8rem !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    letter-spacing: 1px;
    text-align: center;
    background: linear-gradient(to left, #04af52, #00a4f4) !important;
    -webkit-background-clip: text;
    color: transparent;
  }

  .why-choose .icon {
    flex-shrink: 0;
    width: 4rem !important;
    height: 4rem !important;
    border-radius: 50%;
    border: 2px solid #00a4f4 !important;
    background-color: rgba(0, 164, 244, 0.125);
  }

  .why-choose .text-box {
    width: 100% !important;
    text-align: right;
  }

  .why-choose .text-box h3 {
    font-size: 1rem !important;
    color: #04af52;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 900;
    margin-bottom: 0.3rem;
  }

  .why-choose .text-box p {
    font-size: 0.85rem !important;
    color: #00a4f4;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
  }

  /* ===== الأنيميشن ===== */
  @keyframes slideInRight {
    0% { opacity: 0; transform: translateX(100px) rotate(2deg); }
    60% { opacity: 0.6; transform: translateX(20px) rotate(0.5deg); }
    100% { opacity: 1; transform: translateX(0) rotate(0); }
  }

  @keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-100px) rotate(-2deg); }
    60% { opacity: 0.6; transform: translateX(-20px) rotate(-0.5deg); }
    100% { opacity: 1; transform: translateX(0) rotate(0); }
  }

  .why-choose .col-12:nth-child(odd) { animation-name: slideInRight; }
  .why-choose .col-12:nth-child(even) { animation-name: slideInLeft; }

  .why-choose .col-12:nth-child(1) { animation-delay: 0.3s; }
  .why-choose .col-12:nth-child(2) { animation-delay: 0.6s; }
  .why-choose .col-12:nth-child(3) { animation-delay: 0.9s; }
  .why-choose .col-12:nth-child(4) { animation-delay: 1.2s; }
}










/* ===============================
   📱 مقاس من 441px إلى 767px
   =============================== */
@media only screen and (min-width: 441px) and (max-width: 767px) {

  /* 🔹 إخفاء نسخة الفوتر للموبايل */
  .footer-mobile {
    display: block !important;
  }

  /* 🔹 تنسيق قسم لماذا تختارنا */
  .why-choose .col-12 {
    display: flex;
    align-items: center !important;
    background-color: rgba(255, 255, 255, 0.09);
    border-radius: 1rem;
    padding: 1% 3% !important;
    width: 100% !important;
    box-shadow: 0 4px 15px rgba(0, 164, 244, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation-duration: 1.4s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
  }

  .why-choose .col-12:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 164, 244, 0.25);
  }

  .why-choose .title {
    background-color: #04af52 !important;
    border-radius: 1.25rem;
    height: 3.2rem;
    position: relative;
    width: 100% !important;
  }

  .why-choose .title h2 {
    font-size: 0.8rem !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    letter-spacing: 1px;
    text-align: center;
    background: linear-gradient(to left, #04af52, #00a4f4) !important;
    -webkit-background-clip: text;
    color: transparent;
  }

  .why-choose .icon {
    flex-shrink: 0;
    width: 4rem !important;
    height: 4rem !important;
    border-radius: 50%;
    border: 2px solid #00a4f4 !important;
    background-color: rgba(0, 164, 244, 0.125);
  }

  .why-choose .text-box {
    width: 100% !important;
    text-align: right;
  }

  .why-choose .text-box h3 {
    font-size: 1rem !important;
    color: #04af52;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 900;
    margin-bottom: 0.3rem;
  }

  .why-choose .text-box p {
    font-size: 0.85rem !important;
    color: #00a4f4;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
  }

  /* ===== الأنيميشن ===== */
  @keyframes slideInRight {
    0% { opacity: 0; transform: translateX(100px) rotate(2deg); }
    60% { opacity: 0.6; transform: translateX(20px) rotate(0.5deg); }
    100% { opacity: 1; transform: translateX(0) rotate(0); }
  }

  @keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-100px) rotate(-2deg); }
    60% { opacity: 0.6; transform: translateX(-20px) rotate(-0.5deg); }
    100% { opacity: 1; transform: translateX(0) rotate(0); }
  }

  .why-choose .col-12:nth-child(odd) { animation-name: slideInRight; }
  .why-choose .col-12:nth-child(even) { animation-name: slideInLeft; }

  .why-choose .col-12:nth-child(1) { animation-delay: 0.3s; }
  .why-choose .col-12:nth-child(2) { animation-delay: 0.6s; }
  .why-choose .col-12:nth-child(3) { animation-delay: 0.9s; }
  .why-choose .col-12:nth-child(4) { animation-delay: 1.2s; }
}


@media only screen and (min-width: 768px)  {

  /* 🔹 إخفاء نسخة الفوتر للموبايل */
  .footer {
    display: block !important;
  }
}


/*********************************************TODO -  */
/****************************************************TODO -  */




@media only screen and (min-width: 0px) and (max-width: 375px) {
  /* ===== Container ===== */
  .mobile-only {
    padding: 1rem;
    text-align: center;
    font-family: "DiodrumArabic-SemiBold", sans-serif !important;
    color: #333;
    display: block;
    position: relative;
  }

  /* ===== Background Blur ===== */
.hero-text ul li::before {
    content: "•";
    position: absolute; /* جعلها مطلقة */
    right: 0.2rem!important;      /* مسافة من اليمين */
    color: #1fd16f;
    font-size: 1.2rem;
}


  /* ===== Typewriter H1 ===== */
  #typewriter {
    display: block;
    font-size: 0.8rem;
    line-height: 1.7;
    color: #26A8D9;
    overflow: visible;
    white-space: normal;
    transform: translateX(0);
    opacity: 1;
  }

  /* ===== Paragraph ===== */
  .hero-text p {
    margin: 1rem 0 1.5rem 0;
    font-size: 0.7rem;
    line-height: 1.6;
    color: #04af52!important;
    text-align: center;
  }

  /* ===== List ===== */
  .hero-text ul {
    list-style: none;
    padding: 0;
    margin: 1rem auto ;
    display: flex;
    flex-direction: column;
    align-items: center;  /* العناصر في المنتصف */
    gap: 1rem;
    width: 60%;
  }

.hero-text ul li {
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    padding: 0.6rem 1rem;
    font-weight: 500;
    background-color: #f0f8ff;
    border-radius: 0.8rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    cursor: default;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
    color: #26A8D9;
    font-family: "DiodrumArabic-SemiBold", sans-serif !important;
    animation: fadeInUp 0.5s forwards;
    font-size: 0.8rem!important;
}
  /* Bullet */


  /* Hover */
  .hero-text ul li:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    background-color: #c0f1e7;
  }

  /* Animation delays for sequential appearance */
  .hero-text ul li:nth-child(1) { animation-delay: 0.3s; }
  .hero-text ul li:nth-child(2) { animation-delay: 0.6s; }
  .hero-text ul li:nth-child(3) { animation-delay: 0.9s; }
  .hero-text ul li:nth-child(4) { animation-delay: 1.2s; }
  .hero-text ul li:nth-child(5) { animation-delay: 1.5s; }

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

  /* ===== Button ===== */
  .btn-book {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(161.87deg, rgba(0, 164, 244, 1) 0%, rgba(0, 114, 169, 1) 100%);
    border-radius: 12px !important;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    border: none;
    width: 50%;
    max-width: 16.5rem !important;
    margin: 1rem auto 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .btn-book:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  }

  /* ===== H2 Under Button ===== */
  .mobile-only .title h2 {
    opacity: 1;
    background-color: #04af52;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 12px !important;
    padding: 0.2rem  0rem;
    font-size: 13px;
    color: #fff;
    font-weight: 700;
    width: 75%!important;
    margin: 1rem auto 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    line-height: 1.3;
    text-align: center;
    text-decoration: none; /* لإلغاء الخط تحت اللينك */
  color: inherit; /* يخلي اللون زي النص العادي */

  }

/* إزالة الخط الأزرق تحت أي لينك داخل الهيرو وH2 داخله */
/* زر الحجز: إزالة أي تأثير لللينك */
.btn-book-link,
.btn-book-link a,
.btn-book-link a:hover,
.btn-book-link a:focus,
.btn-book-link a:visited,
.btn-book-link button {
    text-decoration: none !important;
    color: inherit !important;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

/* H2 داخل الرابط */
.h2-link,
.h2-link h2,
.h2-link:hover,
.h2-link:focus,
.h2-link:visited {
    text-decoration: none !important;
    color: #fff !important;  /* اللون المطلوب */
}

  
}








/*******FIXME - 2 */
@media only screen and (min-width: 441px) and (max-width: 764px) {
  /* ===== Container ===== */
  .mobile-only {
    padding: 1.2rem;
    text-align: center; /* تمركز المحتوى */
    font-family: "DiodrumArabic-SemiBold", sans-serif !important;
    color: #333;
    display: block;
    position: relative;
  }

  /* ===== Background Blur ===== */
  .mobile-only::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    z-index: -1;
    border-radius: 1rem;
  }

  /* ===== Typewriter H1 ===== */
  #typewriter {
    display: block;
    font-size: 1rem;
    line-height: 1.4;
    color: #26A8D9;
    overflow: visible;
    white-space: normal;
    transform: translateX(0);
    opacity: 1;
  }

  /* ===== Paragraph ===== */
  .hero-text p {
    margin: 1rem 0 1.5rem 0;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #04af52!important;
    text-align: center;
  }

  /* ===== List ===== */
  .hero-text ul {
    list-style: none;
    padding: 0;
    margin: 1rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;  /* العناصر في المنتصف */
    gap: 1rem;
    width: 60%;
  }

  .hero-text ul li {
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    padding: 0.7rem 1.2rem;
    font-weight: 500;
    background-color: #f0f8ff;
    border-radius: 0.8rem;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    cursor: default;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
    color: #26A8D9;
    font-family: "DiodrumArabic-SemiBold", sans-serif !important;
    animation: fadeInUp 0.5s forwards;
    font-size: 0.9rem!important;
    margin: 1rem auto!important;
  }

  /* Bullet */
  .hero-text ul li::before {
    content: "•";
    position: absolute;
    right: 0.2rem!important;
    color: #1fd16f;
    font-size: 1.2rem;
  }

  /* Hover */
  .hero-text ul li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    background-color: #c0f1e7;
  }

  /* Animation delays for sequential appearance */
  .hero-text ul li:nth-child(1) { animation-delay: 0.3s; }
  .hero-text ul li:nth-child(2) { animation-delay: 0.6s; }
  .hero-text ul li:nth-child(3) { animation-delay: 0.9s; }
  .hero-text ul li:nth-child(4) { animation-delay: 1.2s; }
  .hero-text ul li:nth-child(5) { animation-delay: 1.5s; }

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

  /* ===== Button ===== */
  .btn-book {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(161.87deg, rgba(0, 164, 244, 1) 0%, rgba(0, 114, 169, 1) 100%);
    border-radius: 12px !important;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    border: none;
    width: 50%;
    max-width: 16.5rem !important;
    margin: 1rem auto 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .btn-book:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  }

  /* ===== H2 Under Button ===== */
  .mobile-only .title h2 {
    opacity: 1;
    background-color: #04af52;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 12px !important;
    padding: 0.2rem 0rem;
    font-size: 13px;
    color: #fff;
    font-weight: 700;
    width: 75%!important;
    margin: 1rem auto 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    line-height: 1.3;
    text-align: center;
      text-decoration: none; /* لإلغاء الخط تحت اللينك */
  color: inherit; /* يخلي اللون زي النص العادي */

  }
/* إزالة الخط الأزرق تحت أي لينك داخل الهيرو وH2 داخله */
/* زر الحجز: إزالة أي تأثير لللينك */
.btn-book-link,
.btn-book-link a,
.btn-book-link a:hover,
.btn-book-link a:focus,
.btn-book-link a:visited,
.btn-book-link button {
    text-decoration: none !important;
    color: inherit !important;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

/* H2 داخل الرابط */
.h2-link,
.h2-link h2,
.h2-link:hover,
.h2-link:focus,
.h2-link:visited {
    text-decoration: none !important;
    color: #fff !important;  /* اللون المطلوب */
}
}











/**FIXME -  */
@media only screen and (min-width: 415px) and (max-width: 440px) {
  /* ===== Container ===== */
  .mobile-only {
    padding: 1.2rem;
    text-align: center;
    font-family: "DiodrumArabic-SemiBold", sans-serif !important;
    color: #333;
    display: block;
    position: relative;
  }

  /* ===== Background Blur ===== */
  .mobile-only::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    z-index: -1;
    border-radius: 1rem;
  }

  /* ===== Typewriter H1 ===== */
  #typewriter {
    display: block;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #26A8D9;
    overflow: visible;
    white-space: normal;
    transform: translateX(0);
    opacity: 1;
  }

  /* ===== Paragraph ===== */
  .hero-text p {
    margin: 1rem 0 1.5rem 0;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #04af52!important;
    text-align: center;
  }

  /* ===== List ===== */
  .hero-text ul {
    list-style: none;
    padding: 0;
    margin: 1rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;  /* العناصر في المنتصف */
    gap: 1rem;
    width: 60%;
  }

  .hero-text ul li {
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    padding: 0.7rem 1.2rem;
    font-weight: 500;
    background-color: #f0f8ff;
    border-radius: 0.8rem;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    cursor: default;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
    color: #26A8D9;
    font-family: "DiodrumArabic-SemiBold", sans-serif !important;
    animation: fadeInUp 0.5s forwards;
    font-size: 0.9rem!important;
  }

  .hero-text ul li::before {
    content: "•";
    position: absolute;
    right: 0.2rem!important;
    color: #1fd16f;
    font-size: 1.2rem;
  }

  /* Hover */
  .hero-text ul li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    background-color: #c0f1e7;
  }

  /* Animation delays for sequential appearance */
  .hero-text ul li:nth-child(1) { animation-delay: 0.3s; }
  .hero-text ul li:nth-child(2) { animation-delay: 0.6s; }
  .hero-text ul li:nth-child(3) { animation-delay: 0.9s; }
  .hero-text ul li:nth-child(4) { animation-delay: 1.2s; }
  .hero-text ul li:nth-child(5) { animation-delay: 1.5s; }

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

  /* ===== Button ===== */
  .btn-book, .custom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(161.87deg, rgba(0, 164, 244, 1) 0%, rgba(0, 114, 169, 1) 100%);
    border-radius: 12px !important;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    border: none;
    width: 50%;
    max-width: 16.5rem !important;
    margin: 1rem auto 0 auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .btn-book:hover, .custom-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  }

  /* ===== H2 Under Button ===== */
  .mobile-only .title h2 {
    opacity: 1;
    background-color: #04af52;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 12px !important;
    padding: 0.2rem 0rem;
    font-size: 13px;
    color: #fff;
    font-weight: 700;
    width: 75%!important;
    margin: 1rem auto 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    line-height: 1.3;
    text-align: center;
      text-decoration: none; /* لإلغاء الخط تحت اللينك */
  color: inherit; /* يخلي اللون زي النص العادي */

  }

  /* ===== Doctor Cards Mobile ===== */
  .doctors { display: none !important; }
  .doctors-mobile { display: block; }
  .doctors-mobile .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1rem;
    row-gap: 0!important;
    justify-items: center;
  }
  .col-6 { width: 100%!important; }
  .doctor-card-mobile {
    background: #fff;
    border-radius: 1rem;
    box-shadow: none;
    text-align: center;
  }
  .doctor-img { width: 95%; margin: auto!important; }
  .doctor-img img { width: 100%; object-fit: contain; }
  .doctor-info-mobile { padding: 0.3rem 0.5rem 0.6rem; }
  .doctor-info-mobile .name {
    font-size: 10px!important;
    background: #26a8d9;
    color: #fff;
    padding: 5px 2.5px;
    border-radius: 0.4rem;
    margin-bottom: 0.3rem;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    width: 100%!important;
  }
  .doctor-info-mobile .desc {
    font-size: 9px!important;
    line-height: 1.35;
    color: #04af52;
    border-radius: 0.3rem;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    width: 100%!important;
    padding: 5px!important;
    background-color: #f7f8f8ec;
    font-weight: 700;
  }
  .doctor-info-mobile .desc-two {
    font-size: 10px!important;
    line-height: 1.25;
    color: #03abff;
    background-color: #faf7f7ec;
    font-family: "DiodrumArabic-SemiBold", sans-serif;
    font-weight: 500;
  }
  .doc-btn { margin-top: 2rem; }



/* زر الحجز: إزالة أي تأثير لللينك */
.btn-book-link,
.btn-book-link a,
.btn-book-link a:hover,
.btn-book-link a:focus,
.btn-book-link a:visited,
.btn-book-link button {
    text-decoration: none !important;
    color: inherit !important;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

/* H2 داخل الرابط */
.h2-link,
.h2-link h2,
.h2-link:hover,
.h2-link:focus,
.h2-link:visited {
    text-decoration: none !important;
    color: #fff !important;  /* اللون المطلوب */
}
}






@media only screen and (min-width: 374px) and (max-width: 414px) { 
  /* ===== Container ===== */
  .mobile-only {
    padding: 1rem;
    text-align: center;
    font-family: "DiodrumArabic-SemiBold", sans-serif !important;
    color: #333;
    display: block;
    position: relative;
  }

  /* ===== Typewriter H1 ===== */
  #typewriter {
    display: block;
    font-size: 0.8rem;
    line-height: 1.7;
    color: #26A8D9;
    overflow: visible;
    white-space: normal;
    transform: none;
    opacity: 1;
  }

  /* ===== Paragraph ===== */
  .hero-text p {
    margin: 1rem 0 1.5rem 0;
    font-size: 0.7rem;
    line-height: 1.6;
    color: #04af52 !important;
    text-align: center;
  }

  /* ===== List ===== */
  .hero-text ul {
    list-style: none;
    padding: 0;
    margin: 1rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;     /* القائمة في المنتصف */
    gap: 1rem;
    width: 60%;
  }

  .hero-text ul li {
    position: relative;
    opacity: 1;              /* بدون أنيميشن */
    transform: none;         /* بدون حركة */
    padding: 0.7rem 1.2rem;
    font-weight: 500;
    background-color: #f0f8ff;
    border-radius: 0.8rem;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    cursor: default;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
    color: #26A8D9;
    font-family: "DiodrumArabic-SemiBold", sans-serif !important;
    font-size: 0.9rem!important;
    margin: 1rem auto!important;
  }

  .hero-text ul li::before {
    content: "•";
    position: absolute;
    right: 0.2rem !important;
    color: #1fd16f;
    font-size: 1.2rem;
  }

  /* Hover Effect */
  .hero-text ul li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    background-color: #c0f1e7;
  }

  /* ===== Button ===== */
  .btn-book, .custom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(161.87deg, rgba(0, 164, 244, 1) 0%, rgba(0, 114, 169, 1) 100%);
    border-radius: 12px !important;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    border: none;
    width: 50%;
    max-width: 16.5rem !important;
    margin: 1rem auto 0 auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .btn-book:hover, .custom-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  }

  /* ===== H2 Under Button ===== */
  .mobile-only .title h2 {
    opacity: 1;
    background-color: #04af52;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 12px !important;
    padding: 0.2rem 0rem;
    font-size: 13px;
    color: #fff;
    font-weight: 700;
    width: 75%!important;
    margin: 1rem auto 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    line-height: 1.3;
    text-align: center;
      text-decoration: none; /* لإلغاء الخط تحت اللينك */
  color: inherit; /* يخلي اللون زي النص العادي */

  }
/* إزالة الخط الأزرق تحت أي لينك داخل الهيرو وH2 داخله */
/* زر الحجز: إزالة أي تأثير لللينك */
.btn-book-link,
.btn-book-link a,
.btn-book-link a:hover,
.btn-book-link a:focus,
.btn-book-link a:visited,
.btn-book-link button {
    text-decoration: none !important;
    color: inherit !important;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

/* H2 داخل الرابط */
.h2-link,
.h2-link h2,
.h2-link:hover,
.h2-link:focus,
.h2-link:visited {
    text-decoration: transparent!important;
    color: #fff !important;  /* اللون المطلوب */
}
    a {
    color: white;
    text-decoration: transparent!important;
}



}



/* إزالة الخط الأزرق تحت أي لينك داخل الهيرو */

