/* ==========================================================================
   Aster ProCare Hospital - Brand Guidelines Alignment
   ========================================================================== */

/* Brand Typography: English (Titillium Web: Light 300, Regular 400, Semi-Bold 600, Bold 700) */
@import url("https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300;400;600;700&display=swap");

/* Brand Typography: Arabic (GE Dinar One: Light 300, Regular 400, Medium 500, Bold 700) */
@font-face {
  font-family: "GE Dinar One";
  src:
    local("GE Dinar One Light"), local("GEDinarOne-Light"),
    local("GE_Dinar_One_Light");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GE Dinar One";
  src:
    local("GE Dinar One Regular"), local("GE Dinar One"),
    local("GEDinarOne-Regular"), local("GE_Dinar_One_Regular");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GE Dinar One";
  src:
    local("GE Dinar One Medium"), local("GEDinarOne-Medium"),
    local("GE_Dinar_One_Medium");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GE Dinar One";
  src:
    local("GE Dinar One Bold"), local("GEDinarOne-Bold"),
    local("GE_Dinar_One_Bold");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* --------------------------------------------------------------------------
       Official Brand Colors (Direct from Brand Manual Guidelines)
       -------------------------------------------------------------------------- */
  /* PRIMARY COLOR: PANTONE 7687 C | CMYK: C 99 / M 80 / Y 12 / K 1 | RGB: R 22 / G 77 / B 146 */
  --brand-blue: #164d92;
  --brand-blue-dark: #0f3666;
  --brand-blue-light: #1f64bd;

  /* SECONDARY COLOR (GREEN): PANTONE 339 C | CMYK: C 80 / M 0 / Y 60 / K 0 | RGB: R 0 / G 180 / B 141 */
  --brand-green: #00b48d;
  --brand-green-dark: #008a6b;
  --brand-green-light: #1ad1a7;

  /* SECONDARY COLOR (GREY): PANTONE 425 C | CMYK: C 0 / M 0 / Y 0 / K 80 | RGB: R 88 / G 89 / B 91 */
  --brand-grey: #58595b;
  --brand-grey-dark: #3a3b3d;
  --brand-grey-light: #76787b;

  --white: #ffffff;

  /* UI Colors */
  --light-bg: #f6f9fc;
  --border-color: #e4eaf0;
  --text-main: #2b2d42;
  --text-muted: #58595b; /* Secondary Grey for body & muted text */
  --danger: #dc3545;

  /* Official Brand Typography Stacks */
  --font-primary-en:
    "Titillium Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  --font-primary-ar: "GE Dinar One", "Segoe UI", "Tahoma", "Arial", sans-serif;

  /* Layout & Spacing */
  --section-spacing: 56px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-subtle: 0 4px 20px rgba(22, 77, 146, 0.06);
  --shadow-hover: 0 10px 30px rgba(22, 77, 146, 0.12);

  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* prevent horizontal scroll at root level */
}

body {
  font-family: var(--font-primary-en);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

/* Arabic Typography Enforcement */
html[lang="ar"],
html[lang="ar"] body,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
html[lang="ar"] .h1,
html[lang="ar"] .h2,
html[lang="ar"] .h3,
html[lang="ar"] .h4,
html[lang="ar"] .h5,
html[lang="ar"] .h6,
html[lang="ar"] p,
html[lang="ar"] a,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] select,
html[lang="ar"] textarea,
html[lang="ar"] .form-control,
html[lang="ar"] .nav-link,
html[lang="ar"] .btn,
html[lang="ar"] .badge,
html[lang="ar"] .modal-title {
  font-family: var(--font-primary-ar) !important;
}

button,
input,
select,
textarea,
.btn,
.form-control {
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--brand-blue);
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  color: var(--text-muted);
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-green);
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   Bootstrap Class Overrides to Official Brand Colors
   ========================================================================== */
.text-primary,
a.text-primary {
  color: var(--brand-blue) !important;
}

.text-secondary,
.text-muted {
  color: var(--brand-grey) !important;
}

.text-success,
a.text-success {
  color: var(--brand-green) !important;
}

.bg-primary {
  background-color: var(--brand-blue) !important;
}

.bg-success {
  background-color: var(--brand-green) !important;
}

.btn-primary,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--brand-blue) !important;
  border-color: var(--brand-blue) !important;
  color: var(--white) !important;
}

.btn-primary:hover {
  background-color: var(--brand-blue-dark) !important;
  border-color: var(--brand-blue-dark) !important;
  color: var(--white) !important;
}

.btn-outline-primary {
  color: var(--brand-blue) !important;
  border-color: var(--brand-blue) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: var(--brand-blue) !important;
  border-color: var(--brand-blue) !important;
  color: var(--white) !important;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary-brand {
  background-color: var(--brand-blue);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all var(--transition-fast);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary-brand:hover {
  background-color: var(--brand-blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary-brand {
  background-color: transparent;
  color: var(--brand-blue);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all var(--transition-fast);
  border: 2px solid var(--brand-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-secondary-brand:hover {
  background-color: var(--brand-blue);
  color: var(--white);
}

.btn-green {
  background-color: var(--brand-green);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all var(--transition-fast);
  border: none;
}

.btn-green:hover {
  background-color: var(--brand-green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-danger-brand {
  background-color: var(--danger);
  color: var(--white);
  font-weight: 600;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(22, 77, 146, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  transition:
    padding 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
  padding: 14px 0;
}

.site-header.compact {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 20px rgba(22, 77, 146, 0.08);
  border-bottom-color: rgba(22, 77, 146, 0.12);
}

.navbar-brand {
  padding: 0;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: height 0.25s ease;
}

.site-header.compact .navbar-brand img {
  height: 38px;
}

.site-header .nav-link {
  color: #475569;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px !important;
  border-radius: 8px;
  position: relative;
  transition: all 0.2s ease;
}

.site-header .nav-link:hover {
  color: var(--brand-blue);
  background-color: rgba(22, 77, 146, 0.04);
}

.site-header .nav-link.active {
  color: var(--brand-blue);
  font-weight: 700;
  background-color: rgba(22, 77, 146, 0.06);
}

.site-header .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2.5px;
  background: var(--brand-blue);
  border-radius: 4px;
}

.btn-header-cta {
  border-radius: 50px;
  padding: 9px 22px;
  font-size: 0.92rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-blue) 0%, #114079 100%);
  box-shadow: 0 4px 14px rgba(22, 77, 146, 0.22);
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
}

.btn-header-cta:hover {
  background: linear-gradient(135deg, #114079 0%, var(--brand-blue-dark) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(22, 77, 146, 0.32);
}

/* Language Switcher Pill */
.lang-switcher-wrap {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 3px;
  gap: 2px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.lang-switcher:hover {
  color: var(--brand-blue);
}

.lang-switcher.active {
  background: var(--white);
  color: var(--brand-blue);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.navbar-toggler {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 6px 10px;
  color: var(--brand-blue);
  background: #f8fafc;
  transition: all 0.2s ease;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(22, 77, 146, 0.15);
}

@media (max-width: 991.98px) {
  .site-header {
    padding: 10px 2px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
  }

  .navbar-brand img {
    height: 44px;
    max-width: 150px;
    object-fit: contain;
  }

  .lang-switcher-wrap {
    padding: 2px;
  }

  .lang-switcher {
    padding: 4px 8px;
    font-size: 0.76rem;
  }

  .navbar-toggler {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 8px;
    color: var(--brand-blue);
    background: #f8fafc;
    font-size: 0.95rem;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid rgba(22, 77, 146, 0.08);
    border-bottom: 2px solid var(--brand-blue);
    box-shadow: 0 16px 36px rgba(22, 77, 146, 0.14);
    border-radius: 0 0 20px 20px;
    padding: 18px 20px 22px;
    max-height: calc(100vh - 65px);
    overflow-y: auto;
    margin-top: 0;
  }

  .site-header .navbar-nav {
    gap: 4px !important;
    margin: 0 !important;
  }

  .site-header .nav-link {
    padding: 10px 14px !important;
    border-radius: 10px;
    font-size: 0.98rem;
    color: #334155;
    display: flex;
    align-items: center;
  }

  .site-header .nav-link:hover,
  .site-header .nav-link.active {
    background-color: rgba(22, 77, 146, 0.06);
    color: var(--brand-blue);
    font-weight: 700;
  }

  .site-header .nav-link.active::after {
    display: none;
  }

  .header-mobile-cta {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
  }

  .header-mobile-cta .btn-primary-brand {
    border-radius: 50px;
    padding: 11px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(22, 77, 146, 0.22);
  }
}

/* ==========================================================================
   Sections
   ========================================================================== */
section {
  padding: var(--section-spacing) 0;
}

@media (max-width: 767px) {
  section {
    padding: 40px 0;
  }
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2 {
  font-size: 2.3rem;
  color: var(--brand-blue);
  font-weight: 700;
}

.section-title p {
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  margin-top: 86px; /* Offset for header */
  position: relative;
  background-color: var(--light-bg);
  overflow: hidden;
}

.hero-slide {
  display: flex;
  align-items: center;
  min-height: auto;
  padding: 0;
}

.hero-slide picture {
  display: block;
  width: 100%;
}

.hero-banner-img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  display: block;
}

.hero-content {
  max-width: 600px;
  z-index: 2;
  position: relative;
}

.hero-eyebrow {
  color: var(--brand-green);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
}

.hero-heading {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--brand-blue);
}

.hero-subheading {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: var(--brand-grey);
}

.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  position: relative;
  text-align: center;
}

.hero-image-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
  max-height: 500px;
  object-fit: cover;
}

/* ==========================================================================
   Quick Actions Bar
   ========================================================================== */
.quick-actions {
  background-color: var(--white);
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.quick-action-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.quick-action-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-blue);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background-color: var(--light-bg);
  transition: all var(--transition-fast);
}

.quick-action-item a:hover {
  background-color: var(--brand-blue);
  color: var(--white);
}

.quick-action-item a i {
  font-size: 1.2rem;
}

.quick-action-item.emergency a {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--danger);
}

.quick-action-item.emergency a:hover {
  background-color: var(--danger);
  color: var(--white);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  background-color: var(--white);
  position: relative;
}

.about-image {
  width: 100%;
  min-height: 400px;
  max-height: 450px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.about-main-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.about-sub-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-green);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.about-paragraph {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--brand-grey);
}

.about-highlight,
.about-section p strong {
  color: var(--brand-blue);
  font-weight: 700;
}

@media (max-width: 991px) {
  .about-main-title {
    font-size: 2.1rem;
  }
  .about-sub-title {
    font-size: 1.15rem;
  }
  .about-image {
    min-height: 320px;
    max-height: 400px;
  }
}

@media (max-width: 767px) {
  /* Fix Bootstrap .row negative gutter margins causing horizontal overflow */
  .about-section .container,
  .services-section .container,
  .doctors-section .container,
  .why-us-section .container,
  .journey-section .container,
  .contact-section .container {
    overflow-x: hidden;
  }

  .about-section .row,
  .why-us-section .row,
  .journey-section .row {
    margin-left: 0;
    margin-right: 0;
  }

  .about-image {
    min-height: 220px;
    max-height: 320px;
  }
}

/* ==========================================================================
   Services Section (Slider & Minimal Specialty Cards)
   ========================================================================== */
.services-section {
  background-color: var(--light-bg);
  position: relative;
}

.services-slider-container {
  position: relative;
}

.services-slider-inner {
  position: relative;
  padding: 0 54px;
}

@media (max-width: 767px) {
  .services-slider-inner {
    padding: 0;
  }
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow:
    0 0 0.12rem rgba(0, 0, 0, 0.12),
    0 0.12rem 0.25rem rgba(0, 0, 0, 0.14);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
  height: 100%;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.service-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.service-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 180, 141, 0.08);
  color: var(--brand-green);
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Custom Scalpel Icon for General Surgery Department */
.fa-scalpel::before,
i.fa-scalpel::before {
  content: "" !important;
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23000' d='M443.7 9.4c12.5-12.5 32.8-12.5 45.3 0l13.6 13.6c12.5 12.5 12.5 32.8 0 45.3L275.9 295.1c-4.6 4.6-10.8 7.4-17.3 7.8l-88.6 5.5c-9.6 .6-17.9-6.4-19.4-15.9s4.1-18.7 13.1-21.8l58.1-19.9 178.6-178.6c3.1-3.1 3.1-8.2 0-11.3L379.8 39.4c-3.1-3.1-8.2-3.1-11.3 0L190.2 217.7 132 237.6c-9 3.1-18.9-1.3-23-10.2s-1.4-19.5 6.4-25.9L362.2 9.4c12.5-12.5 32.8-12.5 45.3 0l36.2 36.2 0-36.2zM98.3 351.4l-75.4 75.4C8.2 441.5 0 461.4 0 482.3 0 498.7 13.3 512 29.7 512c20.9 0 40.8-8.2 55.5-22.9l75.4-75.4-62.3-62.3z'/%3E%3C/svg%3E")
    no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23000' d='M443.7 9.4c12.5-12.5 32.8-12.5 45.3 0l13.6 13.6c12.5 12.5 12.5 32.8 0 45.3L275.9 295.1c-4.6 4.6-10.8 7.4-17.3 7.8l-88.6 5.5c-9.6 .6-17.9-6.4-19.4-15.9s4.1-18.7 13.1-21.8l58.1-19.9 178.6-178.6c3.1-3.1 3.1-8.2 0-11.3L379.8 39.4c-3.1-3.1-8.2-3.1-11.3 0L190.2 217.7 132 237.6c-9 3.1-18.9-1.3-23-10.2s-1.4-19.5 6.4-25.9L362.2 9.4c12.5-12.5 32.8-12.5 45.3 0l36.2 36.2 0-36.2zM98.3 351.4l-75.4 75.4C8.2 441.5 0 461.4 0 482.3 0 498.7 13.3 512 29.7 512c20.9 0 40.8-8.2 55.5-22.9l75.4-75.4-62.3-62.3z'/%3E%3C/svg%3E")
    no-repeat center / contain;
  vertical-align: -0.125em;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-blue);
  line-height: 1.35;
  margin-bottom: 10px;
  min-height: 2.7em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--brand-grey);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

.service-card-footer {
  width: 100%;
}

.service-read-more-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.service-read-more-btn:hover,
.service-card:hover .service-read-more-btn {
  background-color: rgba(0, 180, 141, 0.12);
  /* border-color: rgba(0, 180, 141, 0.35); */
  color: var(--brand-green-dark);
}

.service-read-more-btn i {
  font-size: 0.8rem;
}

.service-read-more-btn:hover i,
.service-card:hover .service-read-more-btn i {
  color: var(--brand-green-dark);
}

/* Pagination Dots (Dynamic 5-Dot Window) */
.services-pagination-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  height: 24px;
}

.services-pagination.swiper-pagination {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 0 !important;
  display: block !important;
  z-index: 5;
}

.services-pagination .swiper-pagination-bullet {
  background-color: var(--brand-grey);
  opacity: 0.28;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    opacity var(--transition-fast),
    background-color var(--transition-fast);
}

/* Strictly highlight only the single active bullet */
.services-pagination .swiper-pagination-bullet-active {
  background-color: var(--brand-blue) !important;
  opacity: 1 !important;
  transform: scale(1.2) !important;
}

/* Popup Modal Icon */
.specialty-modal-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 180, 141, 0.12);
  color: var(--brand-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

/* Swiper Navigation Arrows */
.services-slider-inner .swiper-button-next,
.services-slider-inner .swiper-button-prev,
.doctors-swiper .swiper-button-next,
.doctors-swiper .swiper-button-prev {
  width: 42px;
  height: 42px;
  background-color: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #d1d5db;
  transition: all var(--transition-fast);
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-slider-inner .services-prev {
  left: 0;
}

.services-slider-inner .services-next {
  right: 0;
}

.services-slider-inner .swiper-button-next::after,
.services-slider-inner .swiper-button-prev::after,
.doctors-swiper .swiper-button-next::after,
.doctors-swiper .swiper-button-prev::after {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-blue);
  transition: color var(--transition-fast);
}

/* Crisp, Clean Hover State with high contrast white arrow */
.services-slider-inner .swiper-button-next:hover,
.services-slider-inner .swiper-button-prev:hover,
.doctors-swiper .swiper-button-next:hover,
.doctors-swiper .swiper-button-prev:hover {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
  box-shadow: 0 4px 12px rgba(22, 77, 146, 0.25);
  transform: translateY(-50%) scale(1.05);
}

.services-slider-inner .swiper-button-next:hover::after,
.services-slider-inner .swiper-button-prev:hover::after,
.doctors-swiper .swiper-button-next:hover::after,
.doctors-swiper .swiper-button-prev:hover::after {
  color: #ffffff !important;
}

@media (max-width: 767px) {
  .services-slider-inner .services-prev,
  .services-slider-inner .services-next {
    display: none;
  }
}

/* ==========================================================================
   Featured Care
   ========================================================================== */
.featured-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 30px;
  height: 300px;
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.featured-card:hover img {
  transform: scale(1.05);
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(22, 77, 146, 0.9), transparent);
  padding: 30px 20px;
  color: var(--white);
}

.featured-title {
  color: var(--white);
  margin: 0;
  font-size: 1.5rem;
}

/* ==========================================================================
   Doctors Section
   ========================================================================== */
.doctors-section {
  background-color: var(--white);
  position: relative;
}

/* Search Input Group (used in modals) */
.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-group i {
  position: absolute;
  left: 16px;
  color: var(--brand-grey);
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 2;
}

.search-input-group .form-control {
  padding-left: 42px;
  padding-right: 16px;
  border-radius: 24px;
  border: 1px solid #d1d5db;
  font-size: 0.92rem;
  height: 44px;
  background-color: var(--white);
  transition: all var(--transition-fast);
}

.search-input-group .form-control:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(22, 77, 146, 0.12);
}

.doctors-filter-wrapper .form-select {
  border-radius: 24px;
  border: 1px solid #d1d5db;
  font-size: 0.92rem;
  height: 44px;
  background-color: var(--white);
  color: var(--brand-blue);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.doctors-filter-wrapper .form-select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(22, 77, 146, 0.12);
}

.btn-outline-brand-blue {
  color: var(--brand-blue);
  border: 1px solid var(--brand-blue);
  background: transparent;
  font-weight: 600;
  font-size: 0.9rem;
  height: 44px;
  border-radius: 24px;
  transition: all var(--transition-fast);
}

.btn-outline-brand-blue:hover,
.btn-outline-brand-blue:focus {
  background-color: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
  box-shadow: 0 4px 12px rgba(22, 77, 146, 0.2);
}

/* Doctors Slider Container & Outer Navigation */
.doctors-slider-container {
  position: relative;
}

.doctors-slider-inner {
  position: relative;
  padding: 0 54px;
}

@media (max-width: 767px) {
  .doctors-slider-inner {
    padding: 0;
  }
}

.doctors-slider-inner .doctors-prev,
.doctors-slider-inner .doctors-next {
  width: 42px;
  height: 42px;
  background-color: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #d1d5db;
  transition: all var(--transition-fast);
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctors-slider-inner .doctors-prev {
  left: 0;
}

.doctors-slider-inner .doctors-next {
  right: 0;
}

.doctors-slider-inner .swiper-button-next::after,
.doctors-slider-inner .swiper-button-prev::after {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-blue);
  transition: color var(--transition-fast);
}

.doctors-slider-inner .swiper-button-next:hover,
.doctors-slider-inner .swiper-button-prev:hover {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
  box-shadow: 0 4px 12px rgba(22, 77, 146, 0.25);
  transform: translateY(-50%) scale(1.05);
}

.doctors-slider-inner .swiper-button-next:hover::after,
.doctors-slider-inner .swiper-button-prev:hover::after {
  color: #ffffff !important;
}

@media (max-width: 767px) {
  .doctors-slider-inner .doctors-prev,
  .doctors-slider-inner .doctors-next {
    display: none;
  }
}

/* Doctors Pagination Dots (Matching Services 5-Dot Window) */
.doctors-pagination-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  height: 24px;
}

.doctors-pagination.swiper-pagination {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 0 !important;
  display: block !important;
  z-index: 5;
}

.doctors-pagination .swiper-pagination-bullet {
  background-color: var(--brand-grey);
  opacity: 0.28;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    opacity var(--transition-fast),
    background-color var(--transition-fast);
}

.doctors-pagination .swiper-pagination-bullet-active {
  background-color: var(--brand-blue) !important;
  opacity: 1 !important;
  transform: scale(1.2) !important;
}

/* Doctor Card - Premium & Minimal Aesthetics */
.doctor-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow:
    0 0 0.12rem rgba(0, 0, 0, 0.12),
    0 0.12rem 0.25rem rgba(0, 0, 0, 0.14);
  overflow: hidden;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
  text-align: center;
  cursor: default;
}

.doctor-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.doctor-img-wrap {
  height: 220px;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f4f9 0%, #e2eaf4 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.doctor-img-wrap .doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-normal);
}

.doctor-card:hover .doctor-img-wrap .doctor-img {
  transform: scale(1.04);
}

.doctor-info {
  padding: 16px 14px 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doctor-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 6px;
  line-height: 1.35;
  min-height: 2.7em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctor-spec-wrap {
  margin-bottom: 8px;
}

.doctor-spec {
  display: inline-block;
  background: rgba(0, 180, 141, 0.08);
  color: var(--brand-green-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 180, 141, 0.2);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doctor-card-footer {
  width: 100%;
}

.doctor-book-btn {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(0, 180, 141, 0.35);
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.doctor-book-btn:hover,
.doctor-card:hover .doctor-book-btn {
  background-color: rgba(0, 180, 141, 0.12);
  border-color: var(--brand-green);
  color: var(--brand-green-dark);
}

.doctor-book-btn i {
  font-size: 0.88rem;
  color: var(--brand-green);
  transition: color var(--transition-normal);
}

.doctor-book-btn:hover i,
.doctor-card:hover .doctor-book-btn i {
  color: var(--brand-green-dark);
}

/* ==========================================================================
   Why Us & Facilities
   ========================================================================== */
.why-us-list {
  list-style: none;
  padding: 0;
}

.why-us-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-blue);
}

.why-us-list li i {
  color: var(--brand-green);
  font-size: 1.5rem;
}

.facility-img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 20px;
}

/* ==========================================================================
   Patient Journey - Connected Timeline (Matching Reference Image)
   ========================================================================== */
.journey-section {
  background: #164d92;
  position: relative;
  padding: 70px 0 80px;
}

.journey-section .section-title h2 {
  color: #ffffff;
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.journey-timeline-wrapper {
  position: relative;
  padding-top: 15px;
}

/* Connecting Line Across Nodes on Desktop */
@media (min-width: 768px) {
  .journey-timeline-wrapper::before {
    content: "";
    position: absolute;
    top: 43px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: rgba(255, 255, 255, 0.35);
    z-index: 1;
  }
}

.journey-step-item {
  text-align: center;
  position: relative;
  z-index: 2;
  cursor: default;
}

.journey-node-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.journey-node {
  width: 56px;
  height: 56px;
  background: var(--brand-green);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow:
    0 0 0 6px #164d92,
    0 6px 18px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease;
  position: relative;
  z-index: 2;
}

.journey-step-item:hover .journey-node {
  transform: scale(1.12);
  box-shadow:
    0 0 0 6px #164d92,
    0 0 24px rgba(0, 180, 141, 0.7);
}

.journey-step-title {
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
  letter-spacing: -0.2px;
}

.journey-step-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 260px;
}

/* Vertical Timeline Layout on Mobile */
@media (max-width: 767.98px) {
  .journey-timeline-wrapper::before {
    content: "";
    position: absolute;
    top: 35px;
    bottom: 35px;
    left: 28px;
    width: 2px;
    background: rgba(255, 255, 255, 0.35);
    z-index: 1;
  }

  .doctor-img-wrap {
    height: auto;
  }

  .journey-step-item {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
  }

  .journey-node-wrap {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .journey-node {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .journey-step-title {
    margin-top: 4px;
    font-size: 1.1rem;
  }

  .journey-step-desc {
    max-width: 100%;
  }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  background-color: var(--brand-green);
  text-align: center;
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-heading {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-subheading {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-section .btn-primary-brand {
  background-color: var(--brand-blue);
}

.cta-section .btn-primary-brand:hover {
  background-color: var(--brand-blue-dark);
}

/* ==========================================================================
   Contact / Location
   ========================================================================== */
.contact-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 80px 0;
  position: relative;
}

.contact-info-card {
  background: var(--white);
  padding: 34px 30px;
  border-radius: 20px;
  border: 1px solid rgba(22, 77, 146, 0.08);
  box-shadow:
    0 0 0.125rem rgba(0, 0, 0, 0.12),
    0 0.125rem 0.25rem rgba(0, 0, 0, 0.14);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.contact-header-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    var(--brand-blue) 0%,
    var(--brand-blue-dark) 100%
  );
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(22, 77, 146, 0.2);
  flex-shrink: 0;
}

.contact-hospital-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  margin: 0;
  letter-spacing: -0.01em;
}

.contact-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
  margin-bottom: auto;
}

.contact-item-box {
  background: #f8fafc;
  border: 1px solid #e9eff5;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.25s ease;
}

/* .contact-item-box:hover {
  background: var(--white);
  border-color: rgba(22, 77, 146, 0.22);
  box-shadow: 0 6px 20px rgba(22, 77, 146, 0.08);
  transform: translateY(-2px);
} */

.contact-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-icon-location {
  background: rgba(22, 77, 146, 0.1);
  color: var(--brand-blue);
}

.contact-icon-phone {
  background: rgba(0, 180, 141, 0.12);
  color: var(--brand-green-dark);
}

.contact-icon-clock {
  background: rgba(22, 77, 146, 0.1);
  color: var(--brand-blue);
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 6px;
}

.contact-address {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 12px;
}

.contact-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
  background: rgba(22, 77, 146, 0.07);
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-map-btn:hover {
  background: var(--brand-blue);
  color: var(--white);
  transform: translateX(2px);
}

.contact-map-btn .icon-ext {
  font-size: 0.72rem;
  opacity: 0.75;
}

.contact-phone-wrapper {
  display: flex;
  align-items: center;
}

.contact-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  text-decoration: none;
  direction: ltr;
  transition: color 0.2s ease;
}

.contact-phone-link:hover {
  color: var(--brand-green-dark);
}

.contact-call-action {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 180, 141, 0.12);
  color: var(--brand-green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.contact-phone-link:hover .contact-call-action {
  background: var(--brand-green-dark);
  color: var(--white);
  transform: scale(1.1);
}

.contact-hours-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.contact-hour-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

.contact-hour-badge.emergency-badge {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  color: #c53030;
}

.badge-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e53e3e;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7);
  animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(229, 62, 62, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(229, 62, 62, 0);
  }
}

.contact-hour-badge.clinics-badge {
  background: rgba(22, 77, 146, 0.05);
  border: 1px solid rgba(22, 77, 146, 0.12);
  color: var(--brand-blue);
}

.badge-status-icon {
  font-size: 0.9rem;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.map-container {
  position: relative;
  height: 100%;
  min-height: 480px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(22, 77, 146, 0.08);
  box-shadow: 0 10px 35px rgba(22, 77, 146, 0.06);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: none;
  display: block;
}

.map-floating-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 40px);
  z-index: 5;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.map-floating-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.map-tag-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.map-tag-text strong {
  font-size: 0.9rem;
  color: var(--brand-blue-dark);
  display: block;
  line-height: 1.2;
}

.map-tag-sub {
  font-size: 0.78rem;
  color: #64748b;
  display: block;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}

.map-tag-action {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(22, 77, 146, 0.08);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.map-tag-action:hover {
  background: var(--brand-blue);
  color: var(--white);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, var(--brand-blue) 0%, #103c73 100%);
  color: #ffffff;
  padding: 70px 0 28px;
  position: relative;
  border-top: 3px solid var(--brand-green);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 180, 141, 0.4),
    transparent
  );
}

.footer-brand-wrap {
  display: inline-block;
}

.footer-copyright {
  color: #ffffff;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  /* background: #ffffff; */
  /* padding: 8px 16px; */
  /* border-radius: 12px; */
  /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); */
  /* border: 1px solid rgba(255, 255, 255, 0.15); */
}

.footer-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.footer-desc {
  color: #fff;
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 380px;
}

.footer-col-header {
  margin-bottom: 20px;
  position: relative;
}

.footer-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.footer-title-bar {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--brand-green);
  border-radius: 2px;
}

/* Quick Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.footer-link-icon {
  font-size: 0.65rem;
  color: var(--brand-green);
  transition: transform 0.2s ease;
}

.footer-links li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-links li a:hover .footer-link-icon {
  transform: translateX(2px);
  color: #ffffff;
}

/* Contact List */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-icon {
  color: var(--brand-green);
  font-size: 0.95rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-contact-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.phone-ltr {
  direction: ltr !important;
  unicode-bidi: embed !important;
  display: inline-block;
  font-weight: 600;
}

.footer-hours-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}

.footer-hours-chip.emergency-chip {
  background: rgba(220, 53, 69, 0.22);
  border: 1px solid rgba(255, 130, 130, 0.45);
  color: #ffffff;
}

.footer-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4d4d;
  box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7);
  animation: pulseRed 2s infinite;
  flex-shrink: 0;
}

.footer-hours-chip.clinics-chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.footer-hours-chip.clinics-chip i {
  color: var(--brand-green);
  font-size: 0.85rem;
}

/* Social Badges Grid */
.footer-social-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-social-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  width: fit-content;
}

.footer-social-badge i {
  font-size: 1rem;
  width: 18px;
  text-align: center;
  transition: transform 0.2s ease;
}

.footer-social-badge:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-social-badge:hover i {
  transform: scale(1.15);
}

.social-instagram:hover {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  border-color: transparent;
}

.social-x:hover {
  background: #000000;
  border-color: rgba(255, 255, 255, 0.3);
}

.social-snapchat:hover {
  background: #fffc00;
  color: #000000 !important;
  border-color: #fffc00;
}

.social-facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.social-linkedin:hover {
  background: #0077b5;
  border-color: #0077b5;
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: var(--brand-green);
}

.footer-divider {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

@media (max-width: 767.98px) {
  .site-footer {
    padding-top: 50px;
    padding-bottom: 95px; /* ensure content doesn't get covered by fixed bottom mobile action bar */
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ==========================================================================
   Mobile Action Bar
   ========================================================================== */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1020;
  padding: 10px;
}

.mobile-action-list {
  display: flex;
  justify-content: space-around;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-action-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--brand-grey);
  font-size: 0.8rem;
  font-weight: 600;
}

.mobile-action-item a i {
  font-size: 1.2rem;
}

.mobile-action-item.active a {
  color: var(--brand-blue);
}

@media (max-width: 767px) {
  .mobile-action-bar {
    display: block;
  }

  body {
    padding-bottom: 70px; /* Space for mobile bar */
  }

  /* Hero: reduce top margin and slide height on small screens */
  .hero-section {
    margin-top: 70px;
  }

  .hero-slide {
    min-height: auto !important;
    height: auto !important;
    padding: 0 !important;
    display: block !important;
  }

  .hero-slide picture {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  .hero-slide img,
  .hero-banner-img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    display: block !important;
  }

  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev {
    display: none !important;
  }

  .hero-heading {
    font-size: 2.5rem;
  }

  .quick-action-list {
    flex-direction: column;
    align-items: stretch;
  }

  .quick-action-item a {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* ==========================================================================
   Swiper Navigations Overrides
   ========================================================================== */
.swiper-button-next,
.swiper-button-prev {
  color: var(--brand-blue) !important;
  background: var(--white);
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  box-shadow: var(--shadow-subtle);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1.2rem !important;
  font-weight: bold;
}

.swiper-pagination-bullet-active {
  background: var(--brand-blue) !important;
}

/* Sticky Appointment Button */
.sticky-appointment-btn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  background-color: var(--brand-blue);
  color: var(--white);
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 15px rgba(22, 77, 146, 0.4);
  z-index: 1040;
  display: flex;
  align-items: center;
  gap: 10px;
  transition:
    transform var(--transition-fast),
    background-color var(--transition-fast);
}

.sticky-appointment-btn:hover {
  background-color: var(--brand-blue-dark);
  transform: translateY(-3px);
}

@media (max-width: 767px) {
  .sticky-appointment-btn {
    display: none;
    /* Hide on mobile since there is the mobile action bar */
  }
}

/* ==========================================================================
   Capacity Stats Grid & About Section Enhancements
   ========================================================================== */
.about-image-wrapper {
  position: relative;
  padding: 10px;
}

.about-image-wrapper img {
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 35px rgba(22, 77, 146, 0.12);
  width: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.about-image-wrapper:hover img {
  transform: scale(1.01);
}

.about-badge-pill {
  background: rgba(22, 77, 146, 0.08);
  color: var(--brand-blue);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.capacity-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 25px;
}

@media (max-width: 575px) {
  .capacity-stats-grid {
    grid-template-columns: 1fr;
  }
}

.capacity-stat-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.capacity-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-green);
}

.capacity-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(22, 77, 146, 0.08);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 12px;
}

.capacity-stat-card:nth-child(2) .capacity-stat-icon {
  background: rgba(0, 180, 141, 0.1);
  color: var(--brand-green);
}

.capacity-stat-card:nth-child(3) .capacity-stat-icon {
  background: rgba(22, 77, 146, 0.08);
  color: var(--brand-blue);
}

.capacity-stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--brand-blue);
  line-height: 1;
  margin-bottom: 6px;
}

.capacity-stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   Why Choose Us - Vertical List (No Icons) & Side-by-Side Image
   ========================================================================== */
.why-us-section {
  background-color: var(--light-bg);
  position: relative;
}

.why-pillars-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-pillar-item {
  background: #ffffff;
  border: 1px solid #e6ecf2;
  border-radius: 12px;
  padding: 14px 16px;
  /* box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03); */
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: default;
}

.why-pillar-item:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow:
    0 0 0.12rem rgba(0, 0, 0, 0.12),
    0 0.12rem 0.2rem rgba(0, 0, 0, 0.14);
}

.why-pillar-check-badge {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #ffffff;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* align-self: flex-start; */
  /* margin-top: 2px; */
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.why-pillar-item:hover .why-pillar-check-badge {
  transform: scale(1.08);
  background: var(--brand-green-dark);
}

.why-pillar-text {
  flex-grow: 1;
}

.why-pillar-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #164d92;
  margin: 0 0 3px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.why-pillar-item:hover .why-pillar-title {
  color: var(--brand-blue);
}

.why-pillar-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
}

/* Why Us Image Column */
.why-us-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  /* box-shadow: 0 12px 35px rgba(22, 77, 146, 0.12); */
  border: 1px solid rgba(22, 77, 146, 0.08);
  height: 100%;
}

.why-us-image-wrap .why-us-img {
  width: 100%;
  height: auto;
  /* min-height: 520px;
    max-height: 620px; */
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform var(--transition-normal);
}

.why-us-image-wrap:hover .why-us-img {
  transform: scale(1.02);
}

/* Floating Stat Badge */
.why-us-stat-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(22, 77, 146, 0.12);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}

.why-stat-icon {
  width: 44px;
  height: 44px;
  background: rgba(22, 77, 146, 0.1);
  color: var(--brand-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.why-stat-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.1;
}

.why-stat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-grey);
}

@media (max-width: 991.98px) {
  .why-us-image-wrap .why-us-img {
    min-height: 380px;
    max-height: 440px;
  }
}

@media (max-width: 575.98px) {
  .why-pillar-item {
    padding: 14px 16px;
    gap: 14px;
    border-radius: 14px;
  }

  .why-pillar-check-badge {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 0.72rem;
  }

  .why-pillar-title {
    font-size: 0.98rem;
  }

  .why-pillar-desc {
    font-size: 0.85rem;
  }

  .why-us-image-wrap .why-us-img {
    min-height: 280px;
    max-height: 340px;
  }
}

/* ==========================================================================
   Specialty & Doctor Cards Enhancement
   ========================================================================== */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
  padding: 25px 20px;
  border: 1px solid var(--border-color);
}

.service-card .service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 12px;
}

.service-card .service-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 15px;
}

.doctor-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border-color);
  padding: 24px 18px;
}

.doctor-avatar-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(22, 77, 146, 0.1) 0%,
    rgba(0, 180, 141, 0.15) 100%
  );
  border: 2px solid var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--brand-blue);
  font-size: 2rem;
}

.doctor-card .doctor-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 6px;
}

.doctor-card .doctor-spec {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-green-dark);
  margin-bottom: 8px;
}

.doctor-card .doctor-qual {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 15px;
  flex-grow: 1;
}

/* Search and Filter Controls */
.filter-search-wrap {
  max-width: 600px;
  margin: 0 auto 30px;
}

.search-input-group {
  position: relative;
}

.search-input-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-grey);
}

html[lang="ar"] .search-input-group i {
  left: auto;
  right: 15px;
}

.search-input-group input {
  padding-left: 42px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
}

html[lang="ar"] .search-input-group input {
  padding-left: 15px;
  padding-right: 42px;
}

.search-input-group input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(22, 77, 146, 0.15);
}

/* Modals for Policy & Terms */
.policy-modal-body {
  max-height: 70vh;
  overflow-y: auto;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-main);
  padding: 25px;
}
/* ==========================================================================
   Appointment Modal - Premium Healthcare Styling
   ========================================================================== */
#appointmentModal {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background-color: rgba(15, 23, 42, 0.55);
}

#appointmentModal .modal-dialog {
  max-width: 480px;
  margin: 1.75rem auto;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#appointmentModal.fade .modal-dialog {
  transform: scale(0.96) translateY(-10px);
}

#appointmentModal.show .modal-dialog {
  transform: scale(1) translateY(0);
}

#appointmentModal .modal-content {
  border: none;
  border-radius: 20px;
  box-shadow:
    0 20px 50px -10px rgba(15, 34, 64, 0.3),
    0 0 0 1px rgba(22, 77, 146, 0.08);
  background: #ffffff;
  overflow: hidden;
}

#appointmentModal .modal-header {
  background: #164d92;
  color: #ffffff;
  padding: 20px 24px 18px;
  border-bottom: 3px solid #00b48d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

#appointmentModal .modal-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

#appointmentModal .modal-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 0.85;
  transition: all 0.2s ease;
  margin: 0;
  padding: 0.5rem;
}

#appointmentModal .modal-header .btn-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

#appointmentModal .modal-body {
  padding: 24px 24px 26px;
  background-color: #ffffff;
}

#appointmentForm .mb-3 {
  margin-bottom: 1rem !important;
}

#appointmentForm .form-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

#appointmentForm .form-label .text-danger {
  color: #00b48d !important;
  font-weight: 700;
  margin-left: 4px;
}

html[lang="ar"] #appointmentForm .form-label .text-danger {
  margin-left: 0;
  margin-right: 4px;
}

#appointmentForm .form-control,
#appointmentForm .form-select {
  height: 46px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 0.92rem;
  color: #0f172a;
  background-color: #f8fafc;
  transition: all 0.2s ease;
}

#appointmentForm .form-control::placeholder {
  color: #94a3b8;
  font-size: 0.88rem;
}

#appointmentForm .form-control:hover,
#appointmentForm .form-select:hover {
  background-color: #ffffff;
  border-color: #cbd5e1;
}

#appointmentForm .form-control:focus,
#appointmentForm .form-select:focus {
  background-color: #ffffff;
  border-color: #164d92;
  box-shadow: 0 0 0 3px rgba(22, 77, 146, 0.12);
  outline: none;
}

#appointmentForm .form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23164d92' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 14px 10px;
}

html[lang="ar"] #appointmentForm .form-select {
  background-position: left 0.85rem center;
}

#appointmentForm .form-control.is-invalid,
#appointmentForm .form-select.is-invalid {
  border-color: #ef4444;
  background-color: #fffafb;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

#appointmentForm .invalid-feedback {
  font-size: 0.78rem;
  font-weight: 500;
  margin-top: 4px;
  color: #dc2626;
}

#appointmentForm #appSubmitBtn {
  height: 48px;
  border-radius: 11px;
  background: #00b48d;
  border: none;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(0, 180, 141, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 1.15rem;
}

#appointmentForm #appSubmitBtn:hover {
  background: linear-gradient(135deg, #00c99d 0%, #009d7a 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 180, 141, 0.42);
  color: #ffffff;
}

#appointmentForm #appSubmitBtn:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0, 180, 141, 0.25);
}

#formSuccessMessage {
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  background-color: #ecfdf5;
  border: 1px solid #86efac;
  color: #15803d;
  margin-bottom: 0.85rem;
}
