@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Kalnia+Glaze:wght@100..700&family=New+Rocker&family=Rubik+Dirt&family=Teko:wght@300..700&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=New+Rocker&family=Rubik+Dirt&family=Teko:wght@300..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
@font-face {
  font-family: "BahijTitr";
  src: url("/fonts/Bahij Titr-Bold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* Apply BahijTitr only to headings, spans, paragraphs, links, buttons */
:is(.pashto-font h1, .pashto-font h2, .pashto-font h3, .pashto-font h4,
    .pashto-font h5, .pashto-font h6, .pashto-font p, .pashto-font span,
    .pashto-font a, .pashto-font button):not(:where(.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands, .bi)) {
  font-family: "BahijTitr", sans-serif !important;
  direction: rtl;
  text-align: right;
}

/* Font Awesome families/weights are managed by fontawesome-icons.css. */
/* Pashto font only for text */
.pashto-text {
  font-family: "BahijTitr", sans-serif !important;
  direction: rtl;
  text-align: right;
  display: inline-block; /* ensures animation works */
}

/* Keep Font Awesome icons intact */
.header-center i {
  direction: ltr;
  display: inline-block;
}


/* یوازې نمبر LTR وښایه */
.ltr-badge {
  direction: ltr;
  display: inline-block;
}

/* Pashto font یوازې curved-text لپاره */
.curved-text .pashto-font {
  font-family: "BahijTitr", sans-serif !important;
  direction: rtl;
  text-align: center;
}

.pashto-font *:not(:where(.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands, .bi)) {
  font-family: "BahijTitr", sans-serif !important;
  direction: rtl;
  text-align: right;
}
.pashto-font1 *:not(:where(.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands, .bi)) {
  font-family: "BahijTitr", sans-serif !important;
  text-align: center;
}
@font-face {
  font-family: "MSAbdali";
  src: url("/fonts/MSAbdali-Megasoft.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* Pashto paragraph font */
.pashto-paragraph {
  font-family: "MSAbdali", sans-serif !important; /* MS Abdali فونټ */
  direction: rtl;
  text-align: right;
}

.bahij-heading {
  font-family: "BahijTitr", sans-serif !important;
  direction: rtl;
  text-align: center;
}
/* Only sets BahijTitr font for Pashto text */
.font-bahij {
  font-family: "BahijTitr", sans-serif !important;
}
/* Only sets MSAbdali font for Pashto descriptions */
.font-abdali {
  font-family: "MSAbdali", sans-serif !important;
}

/* MSAbdali for paragraphs */

:root {
  --brand-green: #4cb648;
  --brand-blue: #009fe3;
  --brand-gradient: linear-gradient(
    90deg,
    var(--brand-green) 0%,
    var(--brand-blue) 100%
  );
  --gray-tab: #e0e0e0;
  --gray-hover: #c2c2c2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  cursor: default;
  overflow-x: hidden;
}




/* ===== Start of Hero Slider Section ===== */
/* =========================
   HERO SLIDER BASE
========================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  background: #000; /* 🔥 prevents white flash */
}

/* =========================
   SLIDE
========================= */
.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
}

/* ACTIVE SLIDE ONLY */
.hero-slider .slide.active {
  opacity: 1;
  z-index: 2;
  animation: zoomIn 8s linear forwards;
}

/* IMAGE */
.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  /* 🔥 prevents white flicker */
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* =========================
   ZOOM IN ONLY
========================= */
@keyframes zoomIn {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}
/* ===== Captions ===== */
.slide-caption {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  backdrop-filter: blur(6px);
  text-align: center;
  color: white;
  padding: 5px 5px;
  border-radius: 16px;
  max-width: 70%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
  background: linear-gradient(
    135deg,
    rgba(0, 128, 128, 0.35),
    rgba(0, 64, 64, 0.2)
  );
}

.slide-caption h2 {
  font-size: 2rem;
  margin-bottom: 6px;
}
.slide-caption p {
  font-size: 1rem;
  margin-bottom: 8px;
}

@media (max-width: 768px) {

  .hero-slider {
    height: 30vh;
    background: #000;
  }

  .hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
  }

  .slide-caption {
    max-width: 95%;
    padding: 10px;
    bottom: 10px;
  }

  .slide-caption h2 {
    font-size: 1.2rem;
  }

  .slide-caption p {
    font-size: 0.85rem;
  }
}
/* ========== End of Slider =================== */

/* ===== start of Hospital Statistics ===== */
.hospital-stats {
  margin-top: 0;
  margin-bottom: 0;
  padding: 20px;
  background: #f9f9f9;
}
.stat-box:last-child {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 60%;
}
.stats-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.stat-box {
  flex: 1 1 0;
  min-width: 110px;
  max-width: 160px;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  color: white;
  font-size: 12px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: default;
}

.stat-box i {
  font-size: 20px;
  margin-bottom: 8px;
}
.stat-box .count {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 4px;
}
.stat-box.blue {
  background: #00a3e0;
}
.stat-box.green {
  background: #89c73e;
}
.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
/* ============ End of Statistics */

/* ===== Start of Media Queries Hero/Statistics===== */
/* ===== Medium + Small devices responsive fix ===== */
@media screen and (max-width: 992px) {

  /* Hero slider */
  .hero-slider {
    position: relative;
    height: 40vh;       /* slider fixed height */
    min-height: 40vh;
    overflow: hidden;   /* اضافي برخه نه ښکاره کیږي */
  }

  /* Slide wrapper */
  .hero-slider .slide {
    position: absolute;  /* ټول slide absolute */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  /* Slide image behaves like background */
  .hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* عکس د container ډک کړي */
    object-position: center; /* وسط ته ځای پر ځای شي */
    display: block;
  }

  /* Caption stays absolute over image */
  .slide-caption {
    position: absolute;    /* تل د slider container په سر */
    bottom: 5%;            /* د slider لاندې 5% فاصله */
    left: 50%;
    transform: translateX(-50%);
    max-width: 90%;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(0, 128, 128, 0.5);
    color: white;
    text-align: center;
    line-height: 1.2;
    z-index: 2;
  }

  .slide-caption h2 {
    font-size: 1rem;
    margin-bottom: 4px;
  }

  .slide-caption p {
    font-size: 0.8rem;
    margin-bottom: 0;
  }

  .See-More {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .stats-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;        /* scroll enable */
    justify-content: space-around; /* center alignment */
    padding-bottom: 5px;
  }

  /* scroll bar hide (optional) */
  .stats-container::-webkit-scrollbar {
    display: none;
  }

  .stat-box {
    flex: 0 0 20%;   /* 5 cards per row (100% ÷ 5 = 20%) */
    max-width: 20%;
    padding: 12px;   /* same as normal */
    font-size: 12px;
  }

}

/* ===== End of Media Queries Hero/Statistics===== */

/* ===== Start of Welcome Section  ===== */
.welcome-section {
  padding: 20px 20px;
  background: #ebdfdf;
  margin-bottom: 0.5px;
  display: flex;
  justify-content: center;
  position: relative;
}

.welcome-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: 1200px;
  gap: 30px;
}

/* ===== Text Section ===== */
.welcome-text {
  flex: 1 1 600px;
}

.welcome-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #007bff, #ff1e1e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  opacity: 0;
  animation: slideIn 1.8s ease-out forwards;
}

/* Animation Keyframes */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Home welcome text limit */
.welcome-text p {
  display: -webkit-box;
  -webkit-line-clamp: 9; /* څو line ښکاره شي */
  -webkit-box-orient: vertical;

  overflow: hidden;
  text-overflow: ellipsis;

  line-height: 1.8;
  max-height: calc(1.8em * 9);
  text-align: justify;
}

/* ===== Button ===== */
.learn-more-btn {
  display: inline-block;
  background: linear-gradient(90deg, #007bff, #ff1e1e);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

.learn-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

/* ===== Image Section ===== */
.welcome-image {
  flex: 0 0 400px;
  position: sticky;
  top: 80px;
  align-self: flex-start;
}

.image-wrapper {
  position: relative;
  border: 4px solid #eeeeee;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  overflow: hidden; /* هماغه پریږده */
  box-shadow: 0 30px 30px rgba(0, 0, 0, 0.3);
}

.image-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top: 4px solid #007bff;
  border-right: 4px solid #ff1e1e;

  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.image-wrapper:hover::before {
  opacity: 1;
  animation: spinBorder 1.5s linear infinite;
}

@keyframes spinBorder {
  100% {
    transform: rotate(360deg);
  }
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.experience-badge {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%; /* 🔥 110% → 100% کړه */
  max-width: 400px;

  display: flex;
  flex-direction: column; 
  align-items: center;
  text-align: center; 
  gap: 5px;

  background: linear-gradient(90deg, #007bff, #ff1e1e);
  color: #fff;
  padding: 12px 0 50px;
  font-size: 1rem;

  border-radius: 30px 30px 70px 70px / 50px 50px 20px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.experience-badge b {
  font-size: 2.2rem;
  color: #ffd700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
  line-height: 1.1;
  letter-spacing: 0.5px;
  font-family: "Arial Black", sans-serif;
  padding: 0;
  text-transform: uppercase;
  align-items: justify;
}
.curved-text {
  font-size: 1rem;
  color: #faf6f6;
  display: block;
  text-align: center;
  line-height: 1.5;
  max-width: 250px;
  margin: 10px auto -17px;
  word-wrap: break-word;
  white-space: normal;
}

/* ===== Responsive Design ===== */
@media (min-width: 993px) {
  .welcome-section .welcome-content {
    width: 100%;
    max-width: 1280px;
    flex-wrap: nowrap;
    direction: ltr;
    justify-content: space-between;
    column-gap: clamp(60px, 6vw, 96px);
  }

  .welcome-section .welcome-text {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (max-width: 992px) {
  .welcome-section {
    padding: 30px 15px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 40px;
  }

  .welcome-content {
    flex-direction: column-reverse;
    align-items: center;
    gap: 40px;
  }

  .welcome-text {
    flex: 1 1 100%;
    max-width: 700px;
  }

  .welcome-text h2 {
    font-size: 1.6rem;
  }

  .welcome-text p {
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
  }

  .welcome-image {
    position: relative;
    top: auto;
    flex: 0 0 auto;
    width: 70%;
    max-width: 320px;
    margin: 0 auto;
  }

  .image-wrapper {
    width: 320px;
    height: 320px;
  }

  .experience-badge {
    bottom: -8px;
    width: 100%;
    max-width: 340px;
    font-size: 0.9rem;
    padding: 10px 0 35px;
  }

  .experience-badge b {
    font-size: 1.8rem;
  }

  .curved-text {
    font-size: 0.9rem;
    max-width: 200px;
  }
}

/* Mobiles */
@media (max-width: 576px) {
  .welcome-section {
    padding: 25px 10px;
  }

  .welcome-content {
    flex-direction: column-reverse;
    gap: 25px;
    text-align: center;
  }

  .welcome-text h2 {
    font-size: 1.4rem;
  }

  .welcome-text p {
    font-size: 0.95rem;
  }

  .welcome-image {
    width: 80%;
    max-width: 260px;
    margin: 0 auto;
  }

  .image-wrapper {
    width: 260px;
    height: 260px;
  }

  .experience-badge {
    width: 95%;
    max-width: 260px;
    font-size: 0.85rem;
    padding: 8px 0 25px;
  }

  .experience-badge b {
    font-size: 1.5rem;
  }

  .curved-text {
    font-size: 0.85rem;
    max-width: 180px;
    line-height: 1.4;
  }
}

/* ===== End of Welcome Section

/* ====== Start of Specialized Services Section ===== */
/* Start of main services */
.special-services {
  padding: 2px 50px;
  background: linear-gradient(
    0deg,
    rgba(206, 247, 195, 1) 0%,
    rgba(255, 255, 255, 1) 92%
  );
  color: #333;
  text-align: center;
  margin-top: 0.5px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

section.special-services > h2 {
  text-align: center;
}

.special-services h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  background: linear-gradient(90deg, #007bff, #ff1e1e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 15px 0;
  border-radius: 12px;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);

  opacity: 0;
  transform: translateY(30px);
  animation: slideFadeIn 1s ease-out forwards;
  animation-delay: 0.3s;
}

.latest-news-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  background: linear-gradient(90deg, #007bff, #ff1e1e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 15px 0;
  border-radius: 12px;
  box-shadow: 0 8px 6px rgba(0, 0, 0, 0.25);

  opacity: 0;
  transform: translateY(30px);
  animation: slideFadeIn 1s ease-out forwards;
  animation-delay: 0.3s;
  text-align: center;
}

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

/* Department Cards */
.dept-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  padding: 20px;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
  width: 100%;
  box-sizing: border-box;
}

.dept-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-wrap: anywhere;
  background-image: linear-gradient(to top, #9890e3 0%, #b1f4cf 100%);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  opacity: 1;
transform: translateX(0);
  box-sizing: border-box;
}

.dept-card:nth-child(even) {
  transform: translateX(0);
}

.dept-card img {
  width: 100%;
  height: 180px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 5%;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  border: #00e660 1px solid;
}

.dept-card h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  min-height: 3.9em;
  margin-bottom: 10px;
  color: white;
}

.dept-card p {
  flex-grow: 1;
  font-size: 0.95rem;
  line-height: 1.4;
  color: white;
  margin-bottom: 15px;
}

.dept-card .card-btn {
  align-self: center;
  margin-top: auto;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px;
  background: linear-gradient(90deg, #007bff, #ff1e1e);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.dept-card:hover {
  background: radial-gradient(
    circle,
    rgba(238, 174, 202, 1) 0%,
    rgba(148, 187, 233, 1) 100%
  );
}

.dept-card:hover .card-btn {
  background: linear-gradient(90deg, #ff1e1e, #007bff);
}


@media (max-width: 991px) {
  .dept-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobiles */
@media (max-width: 768px) {
  .special-services {
    padding: 25px 10px;
  }

 .special-services h2 {
    font-size: 24px; /* same as desktop */
    font-weight: 700;
    margin-bottom: 50px;

    background: linear-gradient(90deg, #007bff, #ff1e1e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    padding: 15px 0;
    border-radius: 12px;
    box-shadow: 0 8px 6px rgba(0, 0, 0, 0.25);

    opacity: 0;
    transform: translateY(30px);
    animation: slideFadeIn 1s ease-out forwards;
    animation-delay: 0.3s;
  }

  .dept-row {
    gap: 20px;
    padding: 0;
  }

  .dept-card {
    padding: 15px;
  }

  .dept-card img {
    max-height: 160px;
  }

  .dept-card h3 {
    font-size: 1rem;
  }

  .dept-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .dept-card .card-btn {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
}
@media (max-width: 575px) {
  .dept-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* End  of main services */

/* Start of services slideshow */
.circle-row-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
  border-radius: 12px;
  background: linear-gradient(
    0deg,
    rgba(206, 247, 195, 1) 0%,
    rgba(255, 255, 255, 1) 92%
  );
  position: relative;
}


.circle-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 200px;
  background: #bcbce6;
  border-radius: 20px;
  padding: 15px;
  text-align: center;
}
.circle-row {
  display: flex;
  gap: 20px;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.special-services .circle-row::-webkit-scrollbar {
  display: none;
}
.special-services .circle-row-wrapper[dir="rtl"] .circle-prev {
  left: auto;
  right: 10px;
}
.special-services .circle-row-wrapper[dir="rtl"] .circle-next {
  right: auto;
  left: 10px;
}
html[lang="ps"] .circle-service {
  direction: rtl;
}
.circle-service img {
  flex-shrink: 0;
  width: 180px;
  height: 170px;
  border-radius: 10%;
  object-fit: cover;
  margin-bottom: 1px;
  border: 2px solid white;
}

.circle-service h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: #007bff;
}

.circle-service p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: anywhere;
  line-height: 1.5;
  height: 3em;
  flex-shrink: 0;
  width: 100%;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 10px;
}

.circle-service .circle-btn {
  margin-top: auto;
  display: inline-block;
  padding: 10px 18px;
  border-radius: 25px;
  background: linear-gradient(90deg, #007bff, #ff1e1e);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.circle-service:hover {
  background: radial-gradient(
    circle,
    rgba(238, 174, 202, 1) 0%,
    rgba(148, 187, 233, 1) 100%
  );
  transform: translateY(-5px);
}

.circle-service:hover .circle-btn {
  background: linear-gradient(90deg, #ff1e1e, #007bff);
}

/* Buttons */
.circle-prev,
.circle-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.2);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.circle-prev:hover,
.circle-next:hover {
  background: linear-gradient(135deg, #007bff, #ff1e1e);
  transform: translateY(-50%) scale(1.1);
}

.circle-prev {
  left: 10px;
}
.circle-next {
  right: 10px;
}
/* ========== End of Specialized Services ========== */

/* <!-- ===== Start of Specialist Doctors Section ===== -->  */



.hero-content {
  z-index: 2;
  max-width: 700px;
  padding: 0 20px;
  text-align: center;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 15px;
  animation: fadeInUp 1.5s ease forwards;
  color: #ffffff;
  text-align: center;
}
.hero-content h1 .our {
  color: gold;
  font-size: 7rem;
}
.highlight {
  font-size: 3rem;
  color: rgb(255, 255, 255);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
  animation: fadeInUp 2s ease forwards;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-hero {
  background-image: linear-gradient(to right, #43e97b 0%, #38f9d7 100%);
  padding: 12px 45px;
  color: #0000ff;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.4s ease;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-hero:hover {
  background: blueviolet;
  transform: translateY(-2px);
}

.btn-hero.secondary {
  background: radial-gradient(circle, #0027e8 0%, #ed0735 100%);
  padding: 12px 35px;
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.4s ease;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-hero.secondary:hover {
  background: blueviolet;
  color: #fff;
}

.doctor-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.icon {
  position: absolute;
  width: 80px;
  opacity: 0.25;
  animation: float 6s ease-in-out infinite;
}

.doc1 {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}
.doc2 {
  top: 30%;
  right: 15%;
  animation-delay: 2s;
}
.doc3 {
  bottom: 20%;
  left: 25%;
  animation-delay: 1s;
}
.doc4 {
  bottom: 10%;
  right: 25%;
  animation-delay: 3s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .doctor-hero {
    height: auto !important;
    min-height: auto !important;
    padding: 30px 10px;
    align-items: flex-start;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content h1 .our {
    font-size: 4rem !important;
  }
.hero-content p {
  font-size: 0.9rem;
  
}
  .highlight {
    font-size: 2rem;
  }

  .doctor-icons {
    display: none;
  }
}
/* <!-- ===== End  of Specialist Doctors Section ===== -->  */

/* start of vision & Mission Section */
.vision-mission-section {
  position: relative;
  background: url("/images/vsb.jpeg") center/cover no-repeat;
  color: #fff;
  padding: 60px 40px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: auto;
  overflow-x: hidden;
}

.vision-mission-section .overlay {
  display: none;
}

.cards-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  width: 380px;
  margin-left: 20px;
}

.info-card {
  width: 120%;
  max-width: 500px;
  margin-left: -15px;
  background: radial-gradient(
    circle,
    rgba(238, 174, 202, 1) 0%,
    rgba(148, 187, 233, 1) 100%
  );
  color: #003366;
  border-radius: 16px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 51, 102, 0.18);
  position: relative;
  overflow: hidden;
  transition: all 0.45s ease;
  border: #004d99 2px dotted;
}

.icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  margin-bottom: 4px;
  margin: 0 auto 8px auto; /* له 16px څخه 8px ته کم شو */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.22);
}

.icon-wrapper img {
  width: 48px;
  height: 48px;
  display: block;
}

.info-card h3 {
  font-size: 1.4rem;
  margin: 4px 0 8px 0; /* پورته فاصله 4px */
  color: #004d99;
  text-align: center;
}

.info-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: justify;
  color: #00264d;
  margin: 0;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #339fff;
  transition: width 0.5s ease;
  z-index: 0;
}

.info-card:hover::before {
  width: 100%;
}

.info-card * {
  position: relative;
  z-index: 1;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(1, 10, 19, 0.24);
}

/* ===== Mobile / Tablet ===== */
@media (max-width: 768px) {

  .vision-mission-section {
    /* 🔥 Gradient background */
    background-image: linear-gradient(to top, #96fbc4 0%, #f9f586 100%) !important;

    background-repeat: no-repeat;
    background-size: cover;

    padding: 40px 15px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }


  /* Cards center */
  .cards-container {
    width: 100%;
    margin-left: 0;
    gap: 18px;
    align-items: center;
  }

  /* Card size fix */
  .info-card {
    width: 95%;
    max-width: 340px;
    margin-left: 0;
    padding: 18px;
  }

  /* Icon resize */
  .icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .icon-wrapper img {
    width: 34px;
    height: 34px;
  }

  /* Text adjust */
  .info-card h3 {
    font-size: 1.2rem;
  }

  .info-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: justify;
  }
}

/* ===== Desktop / Large Screens ===== */
@media (min-width: 769px) {
  .vision-mission-section {
    padding: 60px 60px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: auto;
  }

  .cards-container {
    width: 380px;
    margin-left: 20px;
    gap: 28px;
    align-items: flex-start;
  }

  .info-card {
    width: 120%;
    max-width: 500px;
    margin-left: -15px;
    padding: 25px 20px;
  }

  .icon-wrapper {
    width: 80px;
    height: 80px;
  }

  .icon-wrapper img {
    width: 48px;
    height: 48px;
  }

  .info-card h3 {
    font-size: 1.4rem;
  }

  .info-card p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* Physical left alignment is shared by English and Pashto. Card content
   restores its own language direction through the dir attribute. */
#vision-mission {
  direction: ltr;
  justify-content: flex-start;
  align-items: flex-start;
}

#vision-mission > .cards-container {
  direction: ltr;
  align-items: flex-start;
  width: 456px;
  max-width: 100%;
  min-width: 0;
  margin-left: 5px;
  margin-right: auto;
}

#vision-mission .info-card h3 {
  text-align: center;
}

#vision-mission .info-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 768px) {
  #vision-mission > .cards-container {
    width: 100%;
    margin-left: 0;
  }

  #vision-mission .info-card {
    width: 95%;
    max-width: 340px;
  }
}

/* ===== End of vision & mission section ===== */

/* start of news section */

#latest-news {
  position: relative;
  padding: 30px 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #acbb78);
}

/* end of news section */

/* ===== Start of Our Facilities Section ===== */
.our-facilities {
  padding: 50px 20px;
  background: linear-gradient(0deg, #cfe7c3 0%, #ffffff 92%);
  text-align: center;
  color: #333;
  width: 100%;
  box-sizing: border-box;
}

/* Outrank shared RTL text rules without changing language direction. */
section.our-facilities > h2,
section.our-facilities > h2 > span {
  text-align: center;
}

.our-facilities h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  background: linear-gradient(90deg, #007bff, #ff1e1e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 15px 0;
  border-radius: 12px;
  box-shadow: 0 8px 6px rgba(0, 0, 0, 0.25);

  opacity: 0;
  transform: translateY(30px);
  animation: slideFadeIn 1s ease-out forwards;
  animation-delay: 0.3s;
}

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

/* Facilities Cards Row */
.facilities-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* کارتونو تر منځ فاصله */
}

.facility-card {
  flex: 0 0 calc((100% - 3 * 20px) / 4); /* دقیقاً 4 کارتونه */
  max-width: calc((100% - 3 * 20px) / 4);
  box-sizing: border-box; /* padding او border په width کې شامل شي */
  background: linear-gradient(0deg, #003b3d, #99b4ff);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    background 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Card Image */
.facility-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10%;
  margin-bottom: 15px;
  border: 1px solid #00e660;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Card Title */
.facility-card h3 {
  color: rgb(0, 252, 25);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Card Description */
.facility-desc {
  color: white;
  font-size: 0.95rem;
  line-height: 1.4;
  display: none;
  margin-top: 10px;
}

/* Hover Animation */
.facility-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
  background: linear-gradient(0deg, #005960, #66a1ff);
}

/* Click Show Description */
.facility-card.active .facility-desc {
  display: block;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 1200px) {
  .facility-card {
    flex: 1 1 calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
  }
}

@media (max-width: 992px) {
  .facility-card {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .facility-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .our-facilities h2 {
    font-size: 30Spx;   /* د اول لائن سایز */
    line-height: 1.4;
  }

  /* 🔥 دویم لائن کوچنی */
  .our-facilities h2 span {
    display: block;
    font-size: 18px;   /* کوچنی سایز */
    margin-top: 5px;
  }
}
/* End of our Facilities Section */

/* Start of Emergency Contact */
/* ===== Base Styles ===== */
.emergency-section {
  width: 100%; /* د 100vw پر ځای 100% وکاروئ */
  max-width: 100%; /* د overflow مخنیوی */
  height: 280px;
  margin: 0; /* margin-left/right ته اړتیا نشته */
  background: #7ebbe1;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box; /* د padding/border په عرض کې شاملول */
}

.emergency-content {
  background: linear-gradient(90deg, #5433ff, #20bdff, #a5fecb);
  height: 250px;
  width: 95vw;
  border-radius: 15px;
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.15);
}

.emergency-overlay {
  position: absolute;
  inset: 0;
  background: rgba(150, 148, 148, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.emergency-inner {
  text-align: center;
  color: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-bottom: 40px;
}

.emergency-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 28px;
  /* opacity: 0; */ /* دا هیر کړئ که غواړئ سمدلاسه ښکاره شي */
  /* transform: translateX(80px); */
  transition: all 1s ease;
}

/* ===== Contacts ===== */
.emergency-contacts {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 10px 0;
  -webkit-overflow-scrolling: touch;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  min-width: 140px;
  border-radius: 16px;
  background: linear-gradient(
    0deg,
    rgba(9, 9, 121, 1) 10%,
    rgba(0, 212, 255, 1) 100%
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
  flex: 0 0 auto;
}

.contact-card:hover {
  transform: translateY(-6px);
  background: rgba(242, 47, 47, 0.65);
}

.contact-icon {
  font-size: 48px;
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(236, 245, 238, 0.1);
  border-radius: 16px;
  transition: transform 0.3s ease;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

.contact-card:hover .contact-icon {
  animation: pulse 0.6s ease-in-out;
}

.contact-role {
  font-size: 20px;
  opacity: 0.9;
  font-weight: 900;
}

.contact-number {
  font-size: 18px;
  font-weight: 400;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .emergency-section {
    height: 380px;
    padding: 5px;
  }
  .emergency-content {
    height: 350px;
    width: 90vw;
    padding: 5px;
  }
  .emergency-title {
    font-size: 24px;
    margin-bottom: 5px;
    margin-top: 40px;
  }

  .emergency-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    overflow: hidden;
    border-radius: 15px;

  }

  .emergency-content {
    border-radius: 15px;
    overflow: hidden;
  }
  .contact-card {
    width: 300px;
    padding: 10px 8px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 8px;
  }
  
  .contact-icon {
    font-size: 40px;
    width: 45px;
    height: 45px;
    margin-bottom: 5px;
  }
  .contact-role {
    font-size: 20px;
  }
  .contact-number {
    font-size: 15px;
  }
}
/* End of Emergency Contact */

/* Appointment Button */
.appointment-right-btn {
  position: fixed !important;
  top: 60%;
  right: 0;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: linear-gradient(135deg, #0027e8, #ed0735);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 20px 15px;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 999999;
  cursor: pointer;
}

.appointment-right-btn:hover {
  transform: translateY(-50%) scale(1.08);
  background: linear-gradient(135deg, #ed0735, #0027e8);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.5);
}
@media (max-width: 768px) {
  .appointment-right-btn {
    position: fixed !important;
    top: auto;
    bottom: 20px;
    right: 50%;
    transform: translateX(50%) rotate(0deg);
    writing-mode: horizontal-tb;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 8px;
  }

  .appointment-right-btn:hover {
    transform: translateX(50%) scale(1.05);
  }
}

/* Appointment Button */


/* Start of Footer */
.site-footer {
  position: relative;
  color: #fff;
  font-family: Arial, sans-serif;
  overflow: hidden;

  /* Linear gradient background */
  background: linear-gradient(
    90deg,
    rgba(2, 0, 36, 1) 0%,
    rgba(9, 9, 121, 1) 35%,
    rgba(0, 212, 255, 1) 100%
  );
}

.footer-top {
  position: relative;
  padding: 80px clamp(24px, 3vw, 48px);
  z-index: 1;
}

.top-footer-container{
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(80px, 12vw, 240px);
  direction: ltr;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

/* Left Column: Contact & Quick Links */
.contact-col {
  flex: 0 1 560px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.site-footer.rtl .contact-col {
  direction: rtl;
}

.contact-col h3 {
  font-size: 24px;
  margin-bottom: 16px;
  font-weight: 700;
}

.btn-map {
  background: linear-gradient(135deg, #00b4d8, #00ffb3);
  color: #fff;
  text-decoration: none;
  border: none;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  flex-shrink: 0; /* prevents shrinking */
}

.btn-map:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Ensure new contact-item keeps same style as existing ones */
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  background: #038da9;
  color: #fff;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}
.google-map-item span.map-text {
  flex: 1;
  margin-right: 25px;
  display: flex;
  align-items: center;
}

.contact-item:hover {
  transform: translateY(-3px);
  background: linear-gradient(
    0deg,
    rgba(34, 193, 195, 1) 0%,
    rgba(253, 187, 45, 1) 100%
  );
}

.footer-icon {
  font-size: 20px;
}

/* Quick Links */
.quick-links-title {
  margin-top: 30px;
  font-size: 22px;
}
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.footer-btn {
  background: #1eaedb;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.footer-btn:hover {
  background: #0d8aa6;
}

/* Right Column: Footer Image / Map Placeholder */
.footer-image {
  flex: 0 1 480px;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 1;
}

.site-footer .footer-image {
  direction: ltr;
}

.image11 {
  width: auto;             /* let it keep original width */
  max-width: 100%;         /* scale down if needed */
  height: 450px;           /* fixed height */
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.9);
}
@media (max-width: 768px) {

  .footer-image {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    min-width: unset !important;
    padding: 0 !important;
  }

.image11 {
    display: block;
    margin: 0 auto;
  }

}
@media (max-width: 1024px) {
  .footer-top {
    padding-right: 20px;
    padding-left: 20px;
  }
  .top-footer-container {
    gap: 32px;
    flex-direction: column-reverse;
    align-items: center;   /* 🔥 دا اضافه کړه */
    flex-wrap: nowrap;     /* 🔥 دا تر ټولو مهم دی */
  }
  .site-footer .contact-col,
  .site-footer .footer-image {
    flex: none;
    width: 100%;
    max-width: 640px;
  }
  .site-footer .footer-image {
    justify-content: center;
  }
  .site-footer .contact-item {
    flex-wrap: wrap;
  }
}
/* Footer Bottom */
.smcth-footer{
  width:100%;
  background: linear-gradient(to bottom, #1cb5e0, #000046);
  border-top:1px solid rgba(255,255,255,0.08);
}

.smcth-footer .footer-container{
  max-width:1400px;
  margin:auto;
  padding:14px 25px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

/* LEFT & RIGHT alignment fix */
.footer-left,
.footer-right{
  display:flex;
  flex-direction:column;
  gap:6px;
  color:#e2e8f0;
  font-size:14px;
  font-weight:500;
}

/* IMPORTANT: perfect alignment */
.footer-left-main,
.footer-right-main,
.footer-subtext{
  display:flex;
  align-items:center;
  gap:10px;
  line-height:1.4;
}

/* icons consistent */
.footer-left i{
  color:#22c55e;
  min-width:18px;
}

.footer-right i{
  color:#38bdf8;
  min-width:18px;
}

.footer-subtext i{
  color:#facc15;
  min-width:18px;
}

/* text alignment clean */
.footer-left span,
.footer-right span,
.footer-subtext span{
  display:inline-block;
  text-align:left;
}

/* CENTER */
.footer-center{
  display:flex;
  justify-content:center;
  align-items:center;
}

.ecg-svg{
  width:260px;
  height:40px;
}

.ecg-line{
  stroke:#22c55e;
  stroke-width:5;
  fill:none;
  stroke-linecap:round;
  stroke-dasharray:1200;
  stroke-dashoffset:1200;
  animation:ecgMove 3s linear infinite;
}

@keyframes ecgMove{
  to{ stroke-dashoffset:0; }
}

/* MOBILE */
/* ================= MOBILE ONLY ================= */
@media (max-width: 992px) {

  .smcth-footer .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    padding: 18px 15px;
  }

  /* LEFT & RIGHT BLOCKS */
  .footer-left,
  .footer-right {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  /* MAIN ROWS ALIGNMENT */
  .footer-left-main,
  .footer-right-main,
  .footer-subtext {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    text-align: center;
  }

  /* ICON FIX */
  .footer-left i,
  .footer-right i,
  .footer-subtext i {
    min-width: auto;
    font-size: 18px;
  }

  /* TEXT FIX */
  .footer-left span,
  .footer-right span,
  .footer-subtext span {
    text-align: center;
    line-height: 1.6;
  }

  /* CENTER ECG */
  .footer-center {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .ecg-svg {
    width: 100%;
    max-width: 280px;
    height: 40px;
  }
}

/* End of Footer */

/* End of Footer */

/* ===== Start of Preloader Section ===== */
/* #preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0066cc, #00b894);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
  color: white;
  font-family: "Poppins", sans-serif;
  animation: fadeOut 1s ease 4s forwards;
}

.preloader-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 90%;
  max-width: 1300px;
  height: 70%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.preloader-left {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 15px;
}

.logo-box {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  background: linear-gradient(145deg, #03b1eb, #0186be);
  box-shadow: 10px 10px 20px rgba(0,0,0,0.4), -10px -10px 20px rgba(255,255,255,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1px;
}

.logo-box img {
  width: 100px;
  height: 100px;
}

.preloader-left h2 {
  font-size: 3em;
  font-weight: 600;
  margin-bottom: 0;
  letter-spacing: 1px;
}

.preloader-left h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 5px;
  background: radial-gradient(circle, #0027e8 0%, #ed0735 100%);
  width: 100%;
  height: 90px;
  border-radius: 15px;
  margin-top: 0;

}
.small-text {
  font-size: 0.7em; 
  display: block;   
}

.preloader-left p {
  font-size: 1.1em;
  opacity: 0.9;
}

.preloader-right {
  background: rgba(255,255,255,0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 40px 30px 40px; 
  box-sizing: border-box;
}

.hospital-img {
  width: 100%;   
  height: auto;  
  filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.6));
  transform: scale(1);
  transition: transform 0.6s ease;
  border-radius: 15px;
  animation: float 3s ease-in-out infinite;
  object-fit: contain;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.03); }
}

@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
} */

/* ===== End of Preloader Section ===== */

/* =========================================
   GLOBAL RTL / LTR SYSTEM
========================================= */

[dir="rtl"] {
  direction: rtl;
}

[dir="ltr"] {
  direction: ltr;
}

/* Reverse Flex Layouts */
[dir="rtl"] .header,
[dir="rtl"] .header-section,
[dir="rtl"] .hero-content,
[dir="rtl"] .main-container,
[dir="rtl"] .section-row {
  flex-direction: row-reverse;
}

/* Text Alignment */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] p,
[dir="rtl"] span,
[dir="rtl"] a {
  text-align: right;
}

/* Navigation Alignment */
[dir="rtl"] .header-right {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] .header-left {
  margin-right: 0;
  margin-left: auto;
}
