/* ================================================================
   AAMINA HOSPITAL & NURSING HOME — MODERN FRONT END V3
   Fully responsive. Existing ACF markup is intentionally preserved.
   ================================================================ */
:root {
  --am-blue: #1458a6;
  --am-blue-deep: #0a3267;
  --am-blue-soft: #edf6ff;
  --am-cyan: #49aee9;
  --am-green: #76c943;
  --am-green-deep: #3c9c38;
  --am-mint: #eff9e9;
  --am-ink: #10233e;
  --am-text: #53657a;
  --am-muted: #7a8a9b;
  --am-line: #dfe9f2;
  --am-white: #ffffff;
  --am-bg: #f7fafc;
  --am-shadow: 0 24px 70px rgba(16, 35, 62, 0.1);
  --am-shadow-sm: 0 12px 36px rgba(16, 35, 62, 0.08);
  --am-radius: 28px;
  --am-radius-sm: 18px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--am-white);
  color: var(--am-text);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open {
  overflow: hidden;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}
button,
input,
textarea,
select {
  font: inherit;
}
.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}
.xl-container {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}
section {
  position: relative;
  padding: 96px 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Manrope", Arial, sans-serif;
  color: var(--am-ink);
  line-height: 1.14;
  margin-top: 0;
  font-weight: 700;
  letter-spacing: -0.035em;
}
h1 {
  font-size: 64px;
}
h2 {
  font-size: 46px;
}
h3 {
  font-size: 30px;
}
h4 {
  font-size: 22px;
}
h5 {
  font-size: 18px;
}
p {
  margin-top: 0;
}
::selection {
  background: var(--am-green);
  color: #fff;
}

/* Accessibility */
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  background: var(--am-ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  z-index: 99999;
}
.skip-link:focus {
  top: 20px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(16, 35, 62, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.header.hide {
  transform: translateY(-100%);
}
.hospital-topbar {
  background: linear-gradient(90deg, var(--am-blue-deep), var(--am-blue));
  color: #fff;
  font-size: 14px;
}
.hospital-topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hospital-notice {
  height: 38px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hospital-notice p {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.hospital-topbar__links {
  display: flex;
  gap: 22px;
  align-items: center;
}
.hospital-topbar__links a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.hospital-topbar__links a:hover {
  color: #dff7cf;
}
.hospital-navbar .row-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.logo-wrap {
  flex: 0 0 auto;
}
.brand-link {
  display: block;
}
.header_logo {
  display: block;
  width: 250px;
  max-height: 68px;
  object-fit: contain;
  object-position: left center;
}
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-list > li {
  position: relative;
}
.nav-list a {
  font-size: 15px;
  color: var(--am-ink);
  font-weight: 650;
  position: relative;
  padding: 30px 0;
}
.nav-list > li > a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--am-blue), var(--am-green));
  transition: 0.3s;
}
.nav-list > li:hover > a:after,
.nav-list > .current-menu-item > a:after,
.nav-list > .current-menu-ancestor > a:after {
  right: 0;
}
.nav-list a:hover,
.nav-list .current-menu-item > a {
  color: var(--am-blue);
}
.nav-list .sub-menu {
  position: absolute;
  top: 76px;
  left: -22px;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--am-line);
  box-shadow: var(--am-shadow-sm);
  border-radius: 16px;
  padding: 10px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s;
}
.nav-list li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-list .sub-menu a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
}
.nav-list .sub-menu a:hover {
  background: var(--am-blue-soft);
}
.header-appointment-btn,
.cta_main,
.cta_2,
.cta_5 {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--am-blue), #2b86d3) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  border: 0 !important;
  box-shadow: 0 10px 24px rgba(20, 88, 166, 0.18);
  transition: 0.3s !important;
}
.header-appointment-btn:hover,
.cta_main:hover,
.cta_2:hover,
.cta_5:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(20, 88, 166, 0.24);
  background: linear-gradient(
    135deg,
    var(--am-green-deep),
    var(--am-green)
  ) !important;
}
.cta_4 {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--am-blue) !important;
  font-weight: 700 !important;
  border: 1px solid #cfe0ef !important;
}
.cta_4:hover {
  border-color: var(--am-blue) !important;
  background: var(--am-blue-soft) !important;
}
.hamburger {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: var(--am-blue-soft);
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
}
.hamburger .line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--am-blue-deep);
  margin: 5px 0;
  border-radius: 3px;
  transition: 0.3s;
}

/* Hero */
#home_banner_section {
  padding: 0;
  background: var(--am-bg);
  overflow: hidden;
}
.banner_slider_wrapper {
  position: relative;
}
.banner_slide {
  min-height: 690px;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  display: flex !important;
  align-items: center;
}
.banner_slide:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 32, 67, 0.9) 0%,
    rgba(9, 54, 105, 0.78) 40%,
    rgba(10, 66, 120, 0.25) 72%,
    rgba(0, 0, 0, 0.04) 100%
  );
}
.banner_slide:after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  right: -110px;
  top: -140px;
  box-shadow:
    0 0 0 80px rgba(255, 255, 255, 0.025),
    0 0 0 160px rgba(255, 255, 255, 0.018);
}
.banner_slide .container {
  z-index: 2;
}
.banner_slide .wrapper {
  display: flex;
  align-items: center;
  min-height: 690px;
}
.banner_slide .content_wrapper {
  width: min(700px, 62%);
}
.banner_slide .content_wrapper > p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c6f0ae !important;
  font-size: 15px !important;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
  margin-bottom: 20px;
}
.banner_slide .content_wrapper > p:before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--am-green);
}
.banner_slide h1 {
  font-family: "Manrope", Arial, sans-serif;
  color: #fff !important;
  font-size: 68px !important;
  line-height: 1.06 !important;
  letter-spacing: -0.035em !important;
  margin: 0 0 22px !important;
  text-wrap: balance;
}
.banner_slide h2 {
  font-family: "Manrope", sans-serif;
  color: #d9e7f4 !important;
  font-size: 20px !important;
  line-height: 1.65 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  max-width: 620px;
  margin-bottom: 30px !important;
}
.banner_slide .cta_box {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.banner_slider .slick-dots {
  bottom: 28px;
}
.banner_slider .slick-dots li button:before {
  color: #fff;
  font-size: 10px;
  opacity: 0.45;
}
.banner_slider .slick-dots li.slick-active button:before {
  color: var(--am-green);
  opacity: 1;
}

/* Global section heading treatment */
#home_section_3 > .container > p,
#home_section_4 > .container > p,
#home_section_5 > .container > p,
#home_section_8 .xl-container > p {
  color: var(--am-green-deep);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 14px;
  text-align: center;
  margin-bottom: 12px;
}
#home_section_3 > .container > h2,
#home_section_4 > .container > h2,
#home_section_5 > .container > h2,
#home_section_8 .xl-container > h2,
#home_blogs_section > .container > h2 {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

/* Services */
#home_section_3 {
  background: linear-gradient(180deg, #fff 0%, #f8fbfe 100%);
}
#home_section_3 .wrapper {
  display: flex !important;
  flex-wrap: wrap;
  gap: 22px !important;
  margin-top: 0 !important;
}
#home_section_3 .card {
  width: calc(33.333% - 15px) !important;
  background: #fff !important;
  border: 1px solid var(--am-line) !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: none !important;
  transition: 0.35s !important;
  position: relative;
}
#home_section_3 .card:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--am-shadow) !important;
  border-color: transparent !important;
}
#home_section_3 .card > img {
  width: 100% !important;
  height: 230px !important;
  object-fit: cover !important;
  transition: 0.5s !important;
}
#home_section_3 .card:hover > img {
  transform: scale(1.04);
}
#home_section_3 .card .content {
  padding: 26px !important;
}
#home_section_3 .card .content > p:first-child {
  color: var(--am-green-deep) !important;
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
#home_section_3 .card h3,
#home_section_3 .card h4 {
  font-size: 24px !important;
  margin-bottom: 12px !important;
}
#home_section_3 .card p {
  font-size: 15px;
  color: var(--am-text);
}
#home_section_3 .cta_box,
#home_section_4 .cta_box,
#home_section_5 .cta_box,
#home_section_6 .cta_box,
#home_blogs_section .cta_box,
#home_section_8 .cta_box {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 42px;
  flex-wrap: wrap;
}

/* About / why us */
#home_section_2 {
  background: #fff;
  overflow: hidden;
}
#home_section_2:before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(118, 201, 67, 0.13),
    transparent 68%
  );
  left: -220px;
  bottom: -220px;
}
#home_section_2 .wrapper {
  display: flex !important;
  align-items: center;
  gap: 70px !important;
}
#home_section_2 .wrapper > img,
#home_section_2 .image_wrapper {
  width: 50% !important;
  border-radius: var(--am-radius) !important;
  overflow: hidden;
  box-shadow: var(--am-shadow);
}
#home_section_2 .wrapper > img {
  aspect-ratio: 1/1.05;
  object-fit: cover;
}
#home_section_2 .content_wrapper {
  width: 50% !important;
}
#home_section_2 .content_wrapper > p:first-child {
  color: var(--am-green-deep) !important;
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
}
#home_section_2 h2 {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 48px !important;
}
.content_wrapper p {
  font-size: 16px;
  line-height: 1.8;
}
.cta_box {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Stats */
#stats_section {
  padding: 44px 0;
  background: linear-gradient(110deg, var(--am-blue-deep), var(--am-blue));
  overflow: hidden;
}
#stats_section:before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  left: -160px;
  top: -200px;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025);
}
#stats_section .stats_wrapper {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
#stats_section .content {
  max-width: 390px;
}
#stats_section .content p {
  color: #bfe2fb;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}
#stats_section .content h2 {
  color: #fff;
  font-size: 34px;
  margin: 0;
}
#stats_section .stats_box {
  display: flex !important;
  gap: 14px;
  flex: 1;
  justify-content: flex-end;
}
#stats_section .box {
  min-width: 145px;
  padding: 22px 18px !important;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  text-align: center;
  backdrop-filter: blur(10px);
}
#stats_section .box h3,
#stats_section .box span {
  color: #fff !important;
}
#stats_section .box h3 {
  font-size: 35px !important;
  margin: 0 0 4px !important;
}
#stats_section .box p {
  color: #dbeafa !important;
  font-size: 13px !important;
  margin: 0 !important;
}

/* Doctors */
#home_section_4 {
  background: #f6fafe;
}
#home_section_4 .team_wrapper {
  display: flex !important;
  flex-wrap: wrap;
  gap: 24px !important;
}
#home_section_4 .card {
  width: calc(33.333% - 16px) !important;
  background: #fff !important;
  border: 1px solid var(--am-line) !important;
  border-radius: 24px !important;
  overflow: hidden;
  box-shadow: none !important;
  transition: 0.35s;
}
#home_section_4 .card:hover {
  transform: translateY(-7px);
  box-shadow: var(--am-shadow-sm);
}
#home_section_4 .image_wrapper {
  height: 315px !important;
  background: #eaf2f8;
  overflow: hidden;
}
#home_section_4 .image_wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center;
}
#home_section_4 .content {
  padding: 24px !important;
}
#home_section_4 .content h3,
#home_section_4 .content h4 {
  font-size: 22px !important;
  margin-bottom: 5px !important;
}
#home_section_4 .content .top p {
  color: var(--am-blue) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}
#home_section_4 .content > p {
  font-size: 14px !important;
  line-height: 1.7 !important;
}

/* Journey */
#home_section_6 {
  background: #fff;
}
#home_section_6 > .container > h2 {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 14px;
}
#home_section_6 > .container > p {
  max-width: 700px;
  text-align: center;
  margin: 0 auto 44px;
}
#home_section_6 .cards_wrapper {
  display: flex !important;
  gap: 18px !important;
  align-items: stretch;
  flex-wrap: wrap;
}
#home_section_6 .card {
  width: calc(25% - 14px) !important;
  border: 1px solid var(--am-line) !important;
  border-radius: 22px !important;
  padding: 28px !important;
  background: #fff !important;
  position: relative;
  transition: 0.3s;
}
#home_section_6 .card:hover {
  background: var(--am-blue-deep) !important;
  transform: translateY(-5px);
  border-color: transparent !important;
}
#home_section_6 .card h3 {
  font-size: 38px !important;
  color: var(--am-green) !important;
  margin-bottom: 24px !important;
}
#home_section_6 .card h4 {
  font-size: 20px !important;
}
#home_section_6 .card p {
  font-size: 14px !important;
}
#home_section_6 .card:hover h4,
#home_section_6 .card:hover p {
  color: #fff !important;
}

/* Testimonials */
#home_section_5 {
  background: linear-gradient(160deg, #0a3267 0%, #1458a6 100%);
  overflow: hidden;
}
#home_section_5:before {
  content: "“";
  position: absolute;
  right: 5%;
  top: -80px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 420px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
}
#home_section_5 > .container > h2 {
  color: #fff !important;
}
#home_section_5 > .container > p {
  color: #aee58b !important;
}
#home_section_5 .cards_wrapper .card {
  background: #fff !important;
  border-radius: 24px !important;
  padding: 34px !important;
  margin: 0 10px !important;
  min-height: 250px !important;
  box-shadow: none !important;
}
#home_section_5 .card p {
  font-size: 16px !important;
  line-height: 1.8 !important;
  color: var(--am-text) !important;
}
#home_section_5 .card h4,
#home_section_5 .card h5 {
  color: var(--am-ink) !important;
  margin-top: 24px !important;
  font-size: 17px !important;
}
#home_section_5 .cta_4 {
  background: transparent !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

/* Blogs */
#home_blogs_section {
  background: #f8fbfd;
}
#home_blogs_section .blogs_wrapper {
  display: flex !important;
  flex-wrap: wrap;
  gap: 24px !important;
}
#home_blogs_section .blog_card {
  width: calc(33.333% - 16px) !important;
  display: block !important;
  background: #fff !important;
  border: 1px solid var(--am-line) !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  transition: 0.35s !important;
}
#home_blogs_section .blog_card:hover {
  transform: translateY(-6px);
  box-shadow: var(--am-shadow-sm);
  border-color: transparent !important;
}
#home_blogs_section .blog_card > img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
}
#home_blogs_section .content_wrapper {
  padding: 24px !important;
}
#home_blogs_section .content_wrapper h4 {
  font-size: 21px !important;
}
#home_blogs_section .content_wrapper p {
  font-size: 14px !important;
}
.read_more_btn {
  background: none !important;
  border: 0 !important;
  color: var(--am-blue) !important;
  font-weight: 700 !important;
  padding: 0 !important;
  cursor: pointer;
}

/* Location */
#home_section_7 {
  background: #fff;
}
#home_section_7 .wrapper {
  display: flex !important;
  align-items: stretch;
  gap: 24px !important;
  background: var(--am-blue-soft);
  border-radius: 30px;
  padding: 26px !important;
}
#home_section_7 .content_wrapper {
  width: 48% !important;
  padding: 42px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#home_section_7 .content_wrapper h2 {
  font-size: 42px !important;
}
#home_section_7 .right_wrapper {
  width: 52% !important;
  min-height: 430px;
  border-radius: 22px;
  overflow: hidden;
  background: #dce9f4;
}
#home_section_7 .right_wrapper iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 430px;
  border: 0;
}

/* Gallery */
#home_section_8 {
  overflow: hidden;
}
#home_section_8 .home_gallery_slider {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}
#home_section_8 .home_gallery_slider li {
  padding: 0 8px;
}
#home_section_8 .home_gallery_slider img {
  width: 100% !important;
  height: 170px !important;
  object-fit: cover !important;
  border-radius: 22px !important;
}

/* Appointment */
#home_quote_form {
  background: linear-gradient(180deg, #f7fbfe, #fff);
}
#home_quote_form .wrapper {
  display: flex !important;
  align-items: stretch;
  gap: 0 !important;
  background: #fff;
  border-radius: 30px;
  box-shadow: var(--am-shadow);
  overflow: hidden;
  border: 1px solid var(--am-line);
}
#home_quote_form .left_wrapper {
  width: 46% !important;
  min-height: 610px;
  background: var(--am-blue-deep);
}
#home_quote_form .left_wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
#home_quote_form .right_wrapper {
  width: 54% !important;
  padding: 52px !important;
}
#home_quote_form h2 {
  font-size: 38px !important;
}
#home_quote_form input,
#home_quote_form select,
#home_quote_form textarea,
.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid #dce6ee !important;
  border-radius: 12px !important;
  background: #fbfdff !important;
  padding: 13px 15px !important;
  color: var(--am-ink) !important;
  outline: none;
  transition: 0.25s;
}
.wpcf7 textarea {
  min-height: 120px;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: var(--am-blue) !important;
  box-shadow: 0 0 0 4px rgba(20, 88, 166, 0.08);
}
.wpcf7 input[type="submit"] {
  width: auto;
  background: linear-gradient(135deg, var(--am-blue), #2b86d3) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0 26px !important;
  font-weight: 700;
  cursor: pointer;
}

/* Inner banners and page sections */
.inner_banner,
.common_banner,
#about_banner,
#contact_banner,
#testimonial_banner,
#report_banner {
  position: relative;
  min-height: 390px !important;
  padding: 100px 0 !important;
  background-size: cover !important;
  background-position: center !important;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.inner_banner:before,
.common_banner:before,
#about_banner:before,
#contact_banner:before,
#testimonial_banner:before,
#report_banner:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 35, 72, 0.9),
    rgba(17, 87, 159, 0.45)
  );
}
.inner_banner .container,
.common_banner .container,
#about_banner .container,
#contact_banner .container,
#testimonial_banner .container,
#report_banner .container {
  position: relative;
  z-index: 2;
}
.inner_banner h1,
.common_banner h1,
#about_banner h1,
#contact_banner h1,
#testimonial_banner h1,
#report_banner h1 {
  font-family: "Manrope", Arial, sans-serif;
  color: #fff !important;
  font-size: 58px !important;
}
.inner_banner p,
.common_banner p,
#about_banner p,
#contact_banner p,
#testimonial_banner p,
#report_banner p {
  color: #e5eff8 !important;
  max-width: 680px;
}

/* Generic inner page polish */
.about_us_page section:not(:first-child),
.contact_us_page section:not(:first-child),
.gallery_page section:not(:first-child),
.testimonials_page section:not(:first-child) {
  padding: 90px 0;
}
.faq_item,
.faq-box,
.accordion-item {
  border: 1px solid var(--am-line) !important;
  border-radius: 16px !important;
  background: #fff !important;
  margin-bottom: 12px !important;
  overflow: hidden;
}
.faq_question,
.faq-title,
.accordion-header {
  padding: 20px !important;
  font-weight: 700;
  color: var(--am-ink);
  cursor: pointer;
}
.faq_answer,
.faq-content,
.accordion-body {
  padding: 0 20px 20px !important;
  color: var(--am-text);
}

/* Blog archive / cards used elsewhere */
.blog_card {
  border-radius: 22px;
  overflow: hidden;
}
.blogs_wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blogs_wrapper > .blog_card {
  width: calc(33.333% - 16px);
}

/* Footer */
footer,
.footer {
  background: #071f3d !important;
  color: #b8c8d8 !important;
}
footer .container,
.footer .container {
  position: relative;
}
footer h3,
footer h4,
footer h5,
.footer h3,
.footer h4,
.footer h5 {
  color: #fff !important;
}
footer a,
.footer a {
  color: #b8c8d8 !important;
}
footer a:hover,
.footer a:hover {
  color: #9cdb73 !important;
}
.footer_logo img,
footer .footer_logo img {
  max-width: 250px !important;
  background: #fff;
  border-radius: 16px;
  padding: 10px;
}
.footer_bottom,
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Back to top */
.progress-wrap {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--am-shadow-sm);
  z-index: 99;
  cursor: pointer;
}

/* Motion */
.fade-up,
.flip-up {
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.am-reveal {
  opacity: 0;
  transform: translateY(24px);
}
.am-reveal.am-visible {
  opacity: 1;
  transform: none;
}

/* Tablet */
@media (max-width: 1100px) {
  section {
    padding: 78px 0;
  }
  h1 {
    font-size: 52px;
  }
  h2 {
    font-size: 40px;
  }
  .nav-list {
    gap: 18px;
  }
  .nav-list a {
    font-size: 14px;
  }
  .header-appointment-btn {
    display: none !important;
  }
  .header_logo {
    width: 215px;
  }
  .banner_slide,
  .banner_slide .wrapper {
    min-height: 610px;
  }
  .banner_slide h1 {
    font-size: 56px !important;
  }
  .banner_slide .content_wrapper {
    width: 70%;
  }
  #home_section_3 .card,
  #home_section_4 .card {
    width: calc(50% - 12px) !important;
  }
  #home_section_6 .card {
    width: calc(50% - 9px) !important;
  }
  #stats_section .stats_wrapper {
    align-items: flex-start;
    flex-direction: column;
  }
  #stats_section .stats_box {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

/* Mobile */
@media (max-width: 820px) {
  .container,
  .xl-container {
    width: min(100% - 32px, 680px);
  }
  section {
    padding: 64px 0;
  }
  h1 {
    font-size: 42px;
  }
  h2 {
    font-size: 34px;
  }
  h3 {
    font-size: 25px;
  }
  .hospital-topbar__inner {
    justify-content: center;
  }
  .hospital-topbar__links {
    display: none;
  }
  .hospital-navbar .row-wrap {
    min-height: 76px;
  }
  .header_logo {
    width: 205px;
    max-height: 58px;
  }
  .hamburger {
    display: block;
    position: relative;
    z-index: 1002;
  }
  .nav-wrap {
    position: fixed !important;
    inset: 0 0 0 auto;
    width: min(88vw, 390px);
    height: 100%;
    background: #fff;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    padding: 110px 28px 36px;
    transform: translateX(105%);
    transition: 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1001;
    box-shadow: -30px 0 70px rgba(16, 35, 62, 0.15);
    overflow: auto;
  }
  .nav-wrap.active,
  .nav-wrap.open {
    transform: none;
  }
  .nav-list {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-list > li {
    border-bottom: 1px solid var(--am-line);
  }
  .nav-list a {
    display: block;
    padding: 16px 4px !important;
    font-size: 16px;
  }
  .nav-list > li > a:after {
    display: none;
  }
  .nav-list .sub-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none;
    border: 0;
    padding: 0 0 10px 14px;
    display: none;
  }
  .nav-list li.submenu-open > .sub-menu {
    display: block;
  }
  .nav-wrap .header-appointment-btn {
    display: flex !important;
    margin-top: 22px;
  }
  .hamburger.active .line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.active .line:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 20, 40, 0.42);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
  }
  .overlay.active {
    opacity: 1;
    visibility: visible;
  }
  .banner_slide,
  .banner_slide .wrapper {
    min-height: 620px;
  }
  .banner_slide:before {
    background: linear-gradient(
      90deg,
      rgba(5, 32, 67, 0.93),
      rgba(10, 54, 103, 0.72)
    );
  }
  .banner_slide .content_wrapper {
    width: 100%;
  }
  .banner_slide h1 {
    font-size: 47px !important;
  }
  .banner_slide h2 {
    font-size: 17px !important;
  }
  .banner_slide:after {
    display: none;
  }
  #home_section_3 .card,
  #home_section_4 .card,
  #home_blogs_section .blog_card,
  .blogs_wrapper > .blog_card {
    width: 100% !important;
  }
  #home_section_2 .wrapper {
    flex-direction: column !important;
    gap: 38px !important;
  }
  #home_section_2 .wrapper > img,
  #home_section_2 .image_wrapper,
  #home_section_2 .content_wrapper {
    width: 100% !important;
  }
  #home_section_2 h2 {
    font-size: 38px !important;
  }
  #home_section_6 .card {
    width: 100% !important;
  }
  #stats_section .stats_box {
    display: flex !important;
    flex-wrap: wrap;
  }
  #stats_section .box {
    min-width: 0;
  }
  #home_section_7 .wrapper {
    flex-direction: column !important;
    padding: 16px !important;
  }
  #home_section_7 .content_wrapper,
  #home_section_7 .right_wrapper {
    width: 100% !important;
  }
  #home_section_7 .content_wrapper {
    padding: 28px 18px !important;
  }
  #home_section_7 .content_wrapper h2 {
    font-size: 34px !important;
  }
  #home_quote_form .wrapper {
    flex-direction: column !important;
  }
  #home_quote_form .left_wrapper,
  #home_quote_form .right_wrapper {
    width: 100% !important;
  }
  #home_quote_form .left_wrapper {
    min-height: 330px;
  }
  #home_quote_form .right_wrapper {
    padding: 32px 24px !important;
  }
  .inner_banner,
  .common_banner,
  #about_banner,
  #contact_banner,
  #testimonial_banner,
  #report_banner {
    min-height: 330px !important;
    padding: 70px 0 !important;
  }
  .inner_banner h1,
  .common_banner h1,
  #about_banner h1,
  #contact_banner h1,
  #testimonial_banner h1,
  #report_banner h1 {
    font-size: 44px !important;
  }
}
@media (max-width: 520px) {
  .container,
  .xl-container {
    width: calc(100% - 28px);
  }
  section {
    padding: 58px 0;
  }
  h2 {
    font-size: 31px;
  }
  .header_logo {
    width: 178px;
  }
  .hospital-notice p {
    font-size: 12px;
    text-align: center;
  }
  .banner_slide,
  .banner_slide .wrapper {
    min-height: 580px;
  }
  .banner_slide h1 {
    font-size: 40px !important;
  }
  .banner_slide .content_wrapper > p {
    font-size: 12px !important;
  }
  .cta_main,
  .cta_2,
  .cta_4,
  .cta_5 {
    width: 100%;
    min-height: 50px !important;
  }
  .cta_box {
    width: 100%;
  }
  #stats_section .stats_box {
    display: flex !important;
    flex-wrap: wrap;
  }
  #home_section_3 .card > img {
    height: 215px !important;
  }
  #home_section_4 .image_wrapper {
    height: 300px !important;
  }
  #home_section_8 .home_gallery_slider img {
    height: 160px !important;
  }
}
/* State hooks used by theme JavaScript */
.header.hide_header {
  transform: translateY(-100%);
}
@media (max-width: 820px) {
  .nav-wrap.is-open {
    transform: none;
  }
  .hamburger.is-active .line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.is-active .line:nth-child(2) {
    opacity: 0;
  }
  .hamburger.is-active .line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  body.sidebar-open .overlay {
    opacity: 1;
    visibility: visible;
  }
  body.sidebar-open {
    overflow: hidden;
  }
}
/* ---------- Modern inner-page components ---------- */
.am-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--am-green-deep);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin: 0 0 12px;
}
.inner_banner .am-eyebrow {
  color: #bceaa2;
}
.am-eyebrow:before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}
.am-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 46px;
}
.am-section-head p {
  max-width: 650px;
  margin: 21px 0px 0;
  color: var(--am-text);
}
.am-narrow {
  max-width: 920px;
}
.am-center {
  text-align: center;
  justify-content: center;
}
.am-soft-section {
  background: var(--am-bg);
}
.am-split {
  display: flex;
  align-items: center;
  gap: 70px;
}
.am-split > div {
  width: 50%;
}
.am-split--reverse {
  flex-direction: row;
}
.am-copy h2 {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 46px;
  margin-bottom: 20px;
}
.am-richtext p:last-child {
  margin-bottom: 0;
}
.am-media {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--am-shadow-sm);
  background: #eaf3f9;
}
.am-media img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.am-check-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 0;
  margin: 25px 0 0;
  list-style: none;
}
.am-check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--am-ink);
  font-weight: 600;
}
.am-check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--am-mint);
  color: var(--am-green-deep);
  font-size: 12px;
  font-weight: 700;
}
.lower_section_2 {
  margin-top: 90px;
}
.am-feature-panel {
  display: flex;
  align-items: stretch;
  background: linear-gradient(120deg, var(--am-blue-deep), var(--am-blue));
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--am-shadow);
}
.am-feature-panel .left_box {
  width: 55%;
  padding: 62px;
}
.am-feature-panel .right_box {
  width: 45%;
  min-height: 450px;
}
.am-feature-panel .right_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.am-feature-panel h2 {
  font-family: "Manrope", Arial, sans-serif;
  color: #fff;
  font-size: 45px;
}
.am-feature-panel p {
  color: #dceaf7;
}
.am-feature-panel .am-eyebrow {
  color: #aee58b;
}
.am-feature-panel .cta_4 {
  margin-top: 18px;
}

.am-contact-layout {
  display: flex !important;
  align-items: stretch !important;
  gap: 24px !important;
}
.am-contact-card,
.am-form-card {
  width: 50% !important;
  border: 1px solid var(--am-line);
  border-radius: 26px;
  padding: 44px !important;
  background: #fff;
  box-shadow: var(--am-shadow-sm);
}
.am-contact-card {
  background: linear-gradient(160deg, #f4faff, #fff);
}
.am-contact-card h2,
.am-form-card h2 {
  font-size: 34px;
}
.am-contact-row {
  display: flex !important;
  flex-direction: column;
  padding: 17px 0 !important;
  border-bottom: 1px solid var(--am-line);
  gap: 2px;
  color: var(--am-text) !important;
}
.am-contact-row strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--am-blue);
}
.am-contact-row span {
  font-size: 16px;
  color: var(--am-ink);
}
.am-contact-row:last-child {
  border-bottom: 0;
}
.am-map {
  height: 440px;
  margin-top: 70px;
}
.am-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.faq-sec {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-wrap {
  border: 1px solid var(--am-line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
.faq-head {
  width: 100%;
  border: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 20px 22px;
  font-weight: 700;
  color: var(--am-ink);
  cursor: pointer;
}
.faq-head span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--am-blue-soft);
  color: var(--am-blue);
  font-size: 18px;
  transition: 0.25s;
}
.faq-head.active span {
  transform: rotate(45deg);
}
.faq-content {
  display: none;
  padding: 0 22px 20px;
  color: var(--am-text);
}
.faq-content p:last-child {
  margin-bottom: 0;
}

.am-gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.am-gallery-item {
  width: calc(33.333% - 12px);
  height: 330px;
  border-radius: 22px;
  overflow: hidden;
  background: #eef4f8;
  position: relative;
}
.am-gallery-item:nth-child(5n + 1) {
  width: calc(66.666% - 6px);
}
.am-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.am-gallery-item:hover img {
  transform: scale(1.045);
}

.am-review-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.am-review-grid .box_wrap {
  width: calc(33.333% - 14px);
  padding: 28px;
  border: 1px solid var(--am-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--am-shadow-sm);
}
.am-review-grid .box_wrap .top img {
  height: 20px;
  width: auto;
}
.am-review-grid .box_wrap .top p {
  margin: 18px 0;
  color: var(--am-text);
}
.am-review-grid .box_wrap .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.am-review-grid .box_wrap .bottom h5 {
  margin: 0;
  font-size: 16px;
}
.am-review-grid .box_wrap .bottom img {
  max-height: 24px;
  width: auto;
}

.reports_download_section {
  background: var(--am-bg);
}
.am-report-card {
  background: #fff;
  border: 1px solid var(--am-line);
  border-radius: 28px;
  padding: 48px;
  box-shadow: var(--am-shadow-sm);
}
.am-report-card > h2 {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 42px;
}
.report-search-form label {
  display: block;
  color: var(--am-ink);
  font-size: 14px;
  font-weight: 700;
  margin: 24px 0 8px;
}
.am-search-row {
  display: flex;
  gap: 12px;
}
.am-search-row input {
  flex: 1;
  min-height: 54px;
  border: 1px solid var(--am-line);
  border-radius: 999px;
  padding: 0 20px;
  outline: none;
}
.am-search-row input:focus {
  border-color: var(--am-blue);
  box-shadow: 0 0 0 4px rgba(20, 88, 166, 0.08);
}
.am-report-results {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--am-line);
}
.report-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.report-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  background: var(--am-bg);
  border-radius: 14px;
}
.am-empty-state {
  margin-top: 30px;
  padding: 22px;
  border-radius: 16px;
  background: #fff7ee;
  border: 1px solid #f0dac2;
}
.am-empty-state strong {
  color: var(--am-ink);
}
.am-empty-state p {
  margin: 3px 0 0;
}

.am-content-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.am-content-card {
  padding: 34px;
  border: 1px solid var(--am-line);
  border-radius: 22px;
  background: #fff;
}
.am-thankyou-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 50px;
  border: 1px solid var(--am-line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--am-shadow);
}
.am-thankyou-card > img {
  max-height: 240px;
  object-fit: contain;
  margin-bottom: 24px;
}
.am-success-mark {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  background: var(--am-mint);
  color: var(--am-green-deep);
  font-size: 34px;
  font-weight: 700;
}
.am-thankyou-card h1 {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 48px;
}
.am-thankyou-card .cta_main {
  margin-top: 22px;
}

/* Footer composition */
.site-footer {
  position: relative;
}
.footer-accent {
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--am-blue),
    var(--am-cyan),
    var(--am-green)
  );
}
.upper_footer {
  padding: 72px 0 50px;
}
.footer_wrapper {
  display: flex;
  gap: 70px;
  align-items: flex-start;
}
.footer-brand {
  width: 36%;
}
.footer-brand__logo {
  display: inline-block;
  background: #fff;
  border-radius: 16px;
  padding: 8px;
  margin-bottom: 20px;
}
.footer-brand__logo img {
  display: block;
  width: 260px;
  max-height: 76px;
  object-fit: contain;
}
.footer-description {
  max-width: 380px;
  color: #afc1d2;
}
.links_box {
  width: 64%;
  display: flex;
  gap: 50px;
}
.footer-contact {
  width: 44%;
}
.footer-links-nav {
  display: flex;
  gap: 45px;
  flex: 1;
}
.footer-column .title {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
}
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-contact__item {
  display: block;
  margin-bottom: 11px;
  color: #b8c8d8;
}
.lower_footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}
.lower_footer_wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.lower_footer p {
  margin: 0;
  font-size: 13px;
}
.social_links {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  gap: 10px;
}
.social_links li a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.social_links img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .am-split {
    gap: 38px;
  }
  .am-copy h2 {
    font-size: 38px;
  }
  .am-media img {
    height: 400px;
  }
  .am-feature-panel .left_box {
    padding: 42px;
  }
  .am-contact-layout {
    flex-direction: column;
  }
  .am-contact-card,
  .am-form-card {
    width: 100% !important;
  }
  .am-review-grid .box_wrap {
    width: calc(50% - 10px);
  }
  .footer_wrapper {
    flex-direction: column;
    gap: 42px;
  }
  .footer-brand,
  .links_box {
    width: 100%;
  }
  .footer-brand {
    max-width: 520px;
  }
}
@media (max-width: 700px) {
  .am-split,
  .am-split--reverse {
    flex-direction: column;
  }
  .am-split > div {
    width: 100%;
  }
  .am-media img {
    height: 340px;
  }
  .lower_section_2 {
    margin-top: 58px;
  }
  .am-feature-panel {
    flex-direction: column;
  }
  .am-feature-panel .left_box,
  .am-feature-panel .right_box {
    width: 100%;
  }
  .am-feature-panel .left_box {
    padding: 34px 26px;
  }
  .am-feature-panel .right_box {
    min-height: 300px;
  }
  .am-feature-panel h2 {
    font-size: 36px;
  }
  .am-gallery-item,
  .am-gallery-item:nth-child(5n + 1) {
    width: calc(50% - 9px);
    height: 240px;
  }
  .am-review-grid .box_wrap {
    width: 100%;
  }
  .am-report-card {
    padding: 32px 22px;
  }
  .am-search-row {
    flex-direction: column;
  }
  .am-search-row .cta_main {
    width: 100%;
  }
  .links_box {
    flex-direction: column;
    gap: 34px;
  }
  .footer-contact {
    width: 100%;
  }
  .footer-links-nav {
    width: 100%;
  }
  .lower_footer_wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .am-gallery-item,
  .am-gallery-item:nth-child(5n + 1) {
    width: 100%;
    height: 270px;
  }
  .footer-links-nav {
    flex-direction: column;
  }
  .am-thankyou-card {
    padding: 42px 22px;
  }
  .am-thankyou-card h1 {
    font-size: 38px;
  }
  .report-list li {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* ---------- Card refinements ---------- */
.am-card-media {
  height: 230px;
  overflow: hidden;
  background: #eaf2f7;
}
.am-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.am-service-card:hover .am-card-media img,
.blog_card:hover .am-card-media img {
  transform: scale(1.045);
}
.am-card-kicker {
  display: block;
  color: var(--am-green-deep);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 7px;
}
.am-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--am-blue);
  font-size: 14px;
  font-weight: 700;
}
.am-text-link span {
  transition: transform 0.25s;
}
.am-text-link:hover span {
  transform: translateX(4px);
}
.am-service-card .content {
  padding: 25px !important;
}
.am-service-card h3 {
  font-size: 23px !important;
  margin: 0 0 10px !important;
}
.am-service-card p {
  font-size: 14px !important;
  color: var(--am-text) !important;
  margin-bottom: 18px !important;
}
.am-doctor-card .am-doctor-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--am-blue-deep);
  font-size: 11px;
  font-weight: 700;
}
.am-doctor-card .image_wrapper {
  position: relative;
}
.am-doctor-card .content {
  padding: 24px !important;
}
.am-doctor-card .content h3 {
  font-size: 23px !important;
  margin: 4px 0 10px !important;
}
.am-doctor-card .content p {
  margin-bottom: 16px !important;
}
.am-journey-cards .card {
  position: relative;
}
.am-step-number {
  display: inline-flex;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--am-blue-soft);
  color: var(--am-blue);
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 25px;
}
.am-journey-cards .card:hover .am-step-number {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.am-journey-cards .card h3 {
  font-size: 21px !important;
  margin: 0 0 10px !important;
}
.am-quote-mark {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 62px;
  line-height: 0.8;
  color: var(--am-green);
  margin-bottom: 15px;
}
.am-patient-label {
  display: block;
  color: var(--am-blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
	margin-top:10px;
  letter-spacing: 0.1em;
}

/* ---------- Blog listing and single ---------- */
.am-blog-hero {
  padding: 74px 0;
  background: linear-gradient(135deg, #f0f8ff, #f9fcfd);
  overflow: hidden;
}
.am-blog-hero:before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73, 174, 233, 0.2), transparent 65%);
  right: -80px;
  top: -170px;
}
.am-blog-hero__inner {
  display: flex;
  align-items: center;
  gap: 70px;
  position: relative;
  z-index: 2;
}
.am-blog-hero__copy {
  width: 52%;
}
.am-blog-hero__copy h1 {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 56px;
  margin-bottom: 18px;
}
.am-blog-hero__copy p {
  max-width: 620px;
}
.am-blog-hero__media {
  width: 48%;
  height: 390px;
}
.am-blog-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#blogs_main_section {
  background: #fff;
  padding-bottom: 0px !important;
}
#blogs_main_section .blogs_wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
#blogs_main_section .blog_card {
  width: calc(33.333% - 16px);
  border: 1px solid var(--am-line);
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  transition: 0.35s;
}
#blogs_main_section .blog_card:hover {
  transform: translateY(-6px);
  box-shadow: var(--am-shadow-sm);
  border-color: transparent;
}
#blogs_main_section .content_wrapper {
  padding: 24px;
}
#blogs_main_section .content_wrapper h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
#blogs_main_section .content_wrapper p {
  font-size: 14px;
}
.load_more_blog {
  text-align: center;
  margin-top: 42px;
}
.load_more_blog a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  padding: 0 25px;
  border-radius: 999px;
  border: 1px solid var(--am-line);
  color: var(--am-blue);
  font-weight: 700;
}
.load_more_blog a:hover {
  background: var(--am-blue-soft);
  border-color: #c8dced;
}
.am-article-hero {
  padding: 78px 0 0;
  background: linear-gradient(180deg, #f3f9fe, #fff);
}
.am-article-hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.am-article-hero__copy {
  max-width: 840px;
  margin: 0;
  text-align: left;
}
.am-article-hero__copy .am-eyebrow {
  justify-content: flex-start;
}
.am-article-hero__copy h1 {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 60px;
  text-wrap: balance;
  text-align: left;
}
.am-article-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  color: var(--am-muted);
  font-size: 16px;
  margin-top: 26px;
}
.am-article-hero__media {
  height: 322px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--am-shadow);
}
.am-article-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#main_content_section {
  padding-top: 72px;
}
.am-article-layout {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  max-width: 1120px;
}
.am-article-content {
  width: 60%;
  min-width: 0;
}
.am-article-sidebar {
  width: 40%;
}
.am-article-content {
  font-size: 17px;
  line-height: 1.9;
}
.am-article-intro {
  font-size: 19px;
  color: #425971;
  margin-bottom: 35px;
}
.am-article-topic {
  padding: 0 !important;
  margin: 0 0 40px;
}
.am-article-topic h2 {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 36px;
  margin-bottom: 16px;
}
.am-article-topic img {
  border-radius: 20px;
  margin: 20px 0;
}
.summary_box {
  margin: 46px 0;
  padding: 30px;
  border-radius: 22px;
  background: var(--am-blue-soft);
  border-left: 4px solid var(--am-blue);
}
.summary_box h3 {
  font-size: 26px;
}
.author_box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  border-radius: 22px;
  background: var(--am-bg);
  border: 1px solid var(--am-line);
}
.author_box img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.author_box h3 {
  margin-bottom: 4px;
}
.author_box strong {
  display: block;
  color: var(--am-blue);
  font-size: 13px;
  margin-bottom: 8px;
}
.author_box p {
  font-size: 14px;
  margin: 0;
}
.am-sticky-card {
  position: sticky;
  top: 140px;
  width: 100% !important;
  padding: 28px !important;
}
.am-sticky-card h3 {
  font-size: 25px;
}
.am-sticky-card p {
  font-size: 14px;
}
.am-sticky-card .wpcf7 input,
.am-sticky-card .wpcf7 textarea,
.am-sticky-card .wpcf7 select {
  font-size: 14px;
}
.am-sticky-card .wpcf7 textarea {
  min-height: 95px;
}
#related_blogs_section .blogs_wrapper {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
#related_blogs_section .blog_card {
  width: calc(33.333% - 16px);
  background: #fff;
  border: 1px solid var(--am-line);
  border-radius: 22px;
  overflow: hidden;
}
#related_blogs_section .content_wrapper {
  padding: 22px;
}
#related_blogs_section .content_wrapper h3 {
  font-size: 21px;
}

@media (max-width: 900px) {
  .am-blog-hero__inner {
    gap: 38px;
  }
  .am-blog-hero__copy h1 {
    font-size: 46px;
  }
  .am-blog-hero__media {
    height: 320px;
  }
  .am-article-layout {
    gap: 34px;
  }
  .am-article-content {
    width: 64%;
  }
  .am-article-sidebar {
    width: 36%;
  }
  .am-article-hero__copy h1 {
    font-size: 50px;
  }
  .am-article-hero__media {
    height: 430px;
  }
  #blogs_main_section .blog_card {
    width: calc(50% - 12px);
  }
  .am-article-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
  }
  .am-article-hero {
   padding: 150px 0 50px !important;
  }
}
@media (max-width: 720px) {
  .am-blog-hero__inner {
    flex-direction: column;
  }
  .am-blog-hero__copy,
  .am-blog-hero__media {
    width: 100%;
  }
  .am-blog-hero__copy h1 {
    font-size: 40px;
  }
  .am-article-layout {
    flex-direction: column;
  }
  .am-article-content,
  .am-article-sidebar {
    width: 100%;
  }
  .am-sticky-card {
    position: static;
  }
  .am-article-hero__copy h1 {
    font-size: 42px;
  }
  .am-article-hero__media {
    height: 330px;
  }
  .am-article-topic h2 {
    font-size: 31px;
  }
  #related_blogs_section .blog_card {
    width: 100%;
  }
}
@media (max-width: 520px) {
  #blogs_main_section .blog_card {
    width: 100%;
  }
  .am-blog-hero__media {
    height: 270px;
  }
  .am-article-hero__media {
    height: 260px;
  }
  .author_box {
    flex-direction: column;
  }
}

/* ================================================================
   AAMINA V4 — real-data components + refined editorial UI
   ================================================================ */
:root {
  --am-navy: #062b59;
  --am-sky: #eaf6ff;
  --am-green-soft: #eef9e9;
  --am-card-border: rgba(15, 70, 119, 0.1);
}
.am-eyebrow--light {
  color: #bff19f !important;
}
.am-section-head--left {
  text-align: left;
  max-width: 820px;
  margin: 0 0 42px;
}
.am-section-head--left h2 {
  margin-left: 0;
  margin-right: 0;
}
.am-section-head--left .am-richtext {
  max-width: 760px;
}

/* hero polish */
.banner_slide {
  min-height: 740px;
}
.banner_slide .wrapper {
  min-height: 740px;
}
.banner_slide:before {
  background: linear-gradient(
    100deg,
    rgba(4, 31, 64, 0.96) 0%,
    rgba(8, 55, 106, 0.84) 44%,
    rgba(7, 65, 111, 0.32) 72%,
    rgba(0, 0, 0, 0.05) 100%
  );
}
.banner_slide .content_wrapper {
  position: relative;
  padding: 38px 0;
}
.banner_slide .content_wrapper:after {
  content: "CARE • CLARITY • COMPASSION";
  position: absolute;
  left: 0;
  bottom: -15px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  letter-spacing: 0.24em;
  font-weight: 700;
}
.banner_slider .slick-dots {
  bottom: 42px;
}

/* floating quick access bar */
.am-home-quickbar {
  padding: 0;
  z-index: 12;
  margin-top: -42px;
}
.am-home-quickbar .container {
  position: relative;
}
.am-quickbar-card {
  display: flex;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(20, 88, 166, 0.09);
  border-radius: 24px;
  box-shadow: 0 22px 70px rgba(4, 40, 77, 0.12);
  overflow: hidden;
  backdrop-filter: blur(15px);
}
.am-quickbar-item {
  width: 25%;
  min-height: 104px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}
.am-quickbar-item:not(:last-child):after {
  content: "";
  position: absolute;
  right: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: var(--am-line);
}
a.am-quickbar-item:hover {
  background: var(--am-blue-soft);
}
.am-quickbar-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: linear-gradient(
    135deg,
    var(--am-blue-soft),
    var(--am-green-soft)
  );
  color: var(--am-blue);
  font-size: 18px;
  flex: 0 0 auto;
}
.am-quickbar-item small {
  display: block;
  color: var(--am-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 3px;
}
.am-quickbar-item strong {
  display: block;
  color: var(--am-ink);
  font-size: 14px;
  line-height: 1.4;
}

/* partnership editorial panel */
.am-partnership-section {
  padding: 84px 0;
  background: #fff;
}
.am-partnership-card {
  min-height: 510px;
  border-radius: 36px;
  background:
    radial-gradient(
      circle at 82% 15%,
      rgba(73, 174, 233, 0.3),
      transparent 28%
    ),
    linear-gradient(135deg, #052c5d, #0d5c9d 62%, #167b91);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  box-shadow: 0 35px 90px rgba(4, 42, 85, 0.18);
}
.am-partnership-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, transparent, black);
}
.am-partnership-copy {
  width: 61%;
  padding: 62px;
  position: relative;
  z-index: 2;
}
.am-partnership-copy h2 {
  font-family: "Manrope", Arial, sans-serif;
  color: #fff;
  font-size: 48px;
  margin-bottom: 18px;
}
.am-partnership-copy .am-richtext {
  color: #dcecf8;
  max-width: 680px;
}
.am-partnership-copy .am-richtext p {
  color: inherit;
}
.am-partnership-points {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin: 28px 0;
}
.am-partnership-point {
  width: calc(50% - 6px);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #fff;
}
.am-partnership-point span {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(118, 201, 67, 0.18);
  color: #bdf294;
  font-size: 13px;
  flex: 0 0 auto;
}
.am-partnership-point p {
  margin: 1px 0 0;
  color: #eaf4fb;
  font-size: 14px;
  line-height: 1.55;
}
.am-partnership-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.am-cta-light {
  background: #fff !important;
  color: var(--am-blue-deep) !important;
  box-shadow: none !important;
}
.am-source-link {
  font-size: 13px;
  font-weight: 700;
  color: #d7ecfb;
}
.am-source-link:hover {
  color: #fff;
}
.am-partnership-visual {
  width: 39%;
  min-height: 510px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.am-partnership-mark {
  width: 150px;
  height: 150px;
  border-radius: 40px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  position: relative;
  z-index: 3;
}
.am-partnership-mark img {
  width: 112px;
  height: 112px;
  object-fit: contain;
}
.am-partnership-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}
.am-partnership-orbit--one {
  width: 300px;
  height: 300px;
}
.am-partnership-orbit--two {
  width: 430px;
  height: 430px;
}
.am-partnership-stat {
  position: absolute;
  right: 28px;
  bottom: 34px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  padding: 16px 18px;
  border-radius: 17px;
  color: #fff;
  max-width: 205px;
  z-index: 4;
}
.am-partnership-stat strong {
  font-size: 28px;
  display: block;
  line-height: 1;
}
.am-partnership-stat span {
  font-size: 11px;
  line-height: 1.45;
  display: block;
  margin-top: 5px;
  color: #e1eef8;
}

/* OPD schedule */
.am-opd-section {
  background: linear-gradient(180deg, #f6fbff, #fff);
}
.am-opd-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 30px;
}
.am-opd-head > div:first-child {
  max-width: 770px;
}
.am-opd-head h2 {
  margin-bottom: 12px;
}
.am-opd-head p {
  max-width: 680px;
  margin: 0;
}
.am-day-chip {
  border: 1px solid var(--am-line);
  background: #fff;
  border-radius: 18px;
  padding: 13px 16px;
  min-width: 160px;
  box-shadow: var(--am-shadow-sm);
  text-align: right;
}
.am-day-chip span {
  display: block;
  color: var(--am-blue);
  font-weight: 700;
  font-size: 13px;
}
.am-day-chip strong {
  font-size: 18px;
  color: var(--am-ink);
}
.am-opd-table-wrap {
  border: 1px solid var(--am-card-border);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 55px rgba(16, 35, 62, 0.07);
}
.am-opd-table {
  width: 100%;
}
.am-opd-row {
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 0 24px;
  border-top: 1px solid #edf2f6;
  transition: 0.25s;
}
.am-opd-row:first-child {
  border-top: 0;
}
.am-opd-row > span,
.am-opd-row > strong {
  width: 25%;
  padding-right: 18px;
  font-size: 14px;
}
.am-opd-row > strong {
  color: var(--am-ink);
}
.am-opd-row--head {
  background: linear-gradient(90deg, var(--am-blue-deep), var(--am-blue));
  color: #fff;
  min-height: 54px;
}
.am-opd-row--head > span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  color: #fff;
}
.am-opd-row:not(.am-opd-row--head):hover {
  background: #f8fbfd;
  transform: translateX(3px);
}
.am-opd-time {
  color: var(--am-blue);
  font-weight: 700;
}
.am-schedule-note {
  margin: 18px auto 0;
  color: var(--am-muted);
  font-size: 12px;
  text-align: center;
  max-width: 750px;
}
.am-opd-section .cta_box {
  margin-top: 28px;
}

/* Doctors directory */
.am-doctors-banner,
.am-services-banner {
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  padding: 86px 0;
  background-color: var(--am-blue-deep);
  background-size: cover;
  background-position: center;
  position: relative;
}
.am-doctors-banner:before,
.am-services-banner:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(3, 30, 62, 0.94),
    rgba(4, 59, 108, 0.74),
    rgba(4, 59, 108, 0.2)
  );
}
.am-doctors-banner .container,
.am-services-banner .container {
  position: relative;
  z-index: 2;
}
.am-doctors-banner h1,
.am-services-banner h1 {
  font-family: "Manrope", Arial, sans-serif;
  color: #fff;
  font-size: 58px;
  margin: 8px 0 14px;
  max-width: 850px;
}
.am-doctors-banner p,
.am-services-banner p {
  color: #dbeaf5;
  max-width: 710px;
  margin: 0;
}
.am-doctors-directory {
  background: #fff;
}
.am-doctor-directory-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.am-directory-doctor {
  width: calc(33.333% - 16px);
  border: 1px solid var(--am-card-border);
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  transition: 0.35s;
}
.am-directory-doctor:hover {
  transform: translateY(-7px);
  box-shadow: var(--am-shadow-sm);
  border-color: transparent;
}
.am-directory-doctor__media {
  height: 330px;
  display: block;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #eef6fc, #e5f2e1);
}
.am-directory-doctor__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: 0.5s;
}
.am-directory-doctor:hover .am-directory-doctor__media img {
  transform: scale(1.035);
}
.am-doctor-department {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.93);
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--am-blue-deep);
  font-size: 11px;
  font-weight: 700;
}
.am-doctor-placeholder {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e8f3fb, #eff8ea);
}
.am-doctor-placeholder span {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--am-shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 46px;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--am-blue);
}
.am-directory-doctor__body {
  padding: 25px;
}
.am-directory-doctor__body h3 {
  font-size: 23px;
  margin: 4px 0 9px;
}
.am-doctor-qualifications {
  font-size: 13px;
  line-height: 1.65;
  color: var(--am-text);
  min-height: 43px;
}
.am-mini-schedule {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 17px 0;
}
.am-mini-schedule > * {
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--am-bg);
  color: var(--am-text);
}
.am-mini-schedule strong {
  background: var(--am-blue-soft);
  color: var(--am-blue);
}
.am-directory-doctor__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
.am-book-mini {
  display: inline-flex;
  min-height: 36px;
  padding: 0 14px;
  align-items: center;
  border-radius: 999px;
  background: var(--am-green-soft);
  color: var(--am-green-deep);
  font-size: 12px;
  font-weight: 700;
}
.am-book-mini:hover {
  background: var(--am-green);
  color: #fff;
}
.am-full-schedule-section {
  background: #f6fafe;
}
.am-full-schedule-section .am-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}
.am-schedule-day {
  margin-bottom: 32px;
}
.am-schedule-day__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
  padding: 0 6px;
}
.am-schedule-day__title span {
  font-size: 22px;
  color: var(--am-ink);
  font-weight: 700;
}
.am-schedule-day__title small {
  font-size: 12px;
  color: var(--am-muted);
}

/* Services directory */
.am-services-directory {
  background: linear-gradient(180deg, #fff, #f7fbfd);
}
.am-services-directory-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.am-service-directory-card {
  width: calc(33.333% - 16px);
  background: #fff;
  border: 1px solid var(--am-card-border);
  border-radius: 26px;
  overflow: hidden;
  transition: 0.35s;
}
.am-service-directory-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--am-shadow-sm);
  border-color: transparent;
}
.am-service-directory-card__media {
  display: block;
  height: 220px;
  overflow: hidden;
  background: var(--am-sky);
}
.am-service-directory-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.am-service-directory-card:hover img {
  transform: scale(1.045);
}
.am-service-directory-card__body {
  padding: 26px;
}
.am-service-directory-card__body h3 {
  font-size: 23px;
  margin: 4px 0 12px;
}
.am-service-directory-card__body p {
  font-size: 14px;
  min-height: 72px;
}

/* Single doctor */
.am-doctor-profile-hero {
  padding: 180px 0 40px;
  background:
    radial-gradient(
      circle at 92% 8%,
      rgba(118, 201, 67, 0.18),
      transparent 24%
    ),
    linear-gradient(135deg, #eff8ff, #fff);
}
.am-doctor-profile-grid {
  display: flex;
  align-items: center;
  gap: 70px;
}
.am-doctor-profile-media {
  width: 38%;
  height: 420px;
  border-radius: 32px;
  overflow: hidden;
  background: #eaf3f8;
  box-shadow: var(--am-shadow);
}
.am-doctor-profile-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.am-doctor-placeholder--large span {
  width: 150px;
  height: 150px;
  font-size: 62px;
}
.am-doctor-profile-copy {
  width: 62%;
}
.am-doctor-profile-copy h1 {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 58px;
  margin: 8px 0 10px;
}
.am-doctor-profile-copy h2 {
  font-size: 24px;
  color: var(--am-blue);
  font-weight: 600;
  margin-bottom: 20px;
}
.am-profile-qual {
  font-weight: 700;
  color: var(--am-ink);
  max-width: 720px;
}
.am-profile-reg {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 9px;
  background: var(--am-blue-soft);
  color: var(--am-blue);
  font-size: 12px;
  font-weight: 700;
}
.am-profile-desc {
  max-width: 700px;
  margin: 22px 0;
}
.am-profile-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.am-doctor-profile-body {
  padding-top: 70px;
}
.am-doctor-profile-content {
  display: flex;
  align-items: flex-start;
  gap: 55px;
}
.am-profile-main {
  width: 68%;
}
.am-profile-sidebar {
  width: 32%;
}
.am-profile-panel {
  padding: 34px 0;
  border-bottom: 1px solid var(--am-line);
}
.am-profile-panel:first-child {
  padding-top: 0;
}
.am-profile-panel h2 {
  font-size: 34px;
}
.am-expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.am-expertise-tags span {
  padding: 5px 15px;
  border-radius: 999px;
  background: var(--am-green-soft);
  color: var(--am-green-deep);
  font-size: 13px;
  font-weight: 700;
}
.am-profile-schedule-card {
  position: sticky;
  top: 145px;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--am-card-border);
  box-shadow: var(--am-shadow-sm);
}
.am-profile-schedule-card h3 {
  font-size: 24px;
}
.am-profile-slots {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.am-profile-slots > div {
  padding: 13px;
  border-radius: 13px;
  background: var(--am-bg);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 21px;
}
.am-profile-slots strong {
  width: 100%;
  color: var(--am-blue);
}
.am-profile-slots span,
.am-profile-slots small {
  font-size: 12px;
}

/* Single service */
.am-service-single-hero {
  padding: 180px 0 40px;
  background: linear-gradient(135deg, #eff8ff, #fff);
}
.am-service-single-grid {
  display: flex;
  align-items: center;
  gap: 70px;
}
.am-service-single-copy {
  width: 55%;
}
.am-service-single-copy h1 {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 58px;
}
.am-service-single-copy > p {
  font-size: 18px;
  max-width: 650px;
  margin: 18px 0 0 0px;
}
.am-service-single-media {
  width: 45%;
  height: 350px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--am-shadow);
}
.am-service-single-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.am-service-single-body {
  padding-top: 70px;
}
.am-service-single-content {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}
.am-service-single-content > .am-richtext {
  width: 68%;
  font-size: 17px;
}
.am-service-contact-card {
  width: 32%;
  position: sticky;
  top: 145px;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--am-blue-deep), var(--am-blue));
  padding: 30px;
  color: #fff;
}
.am-service-contact-card h3 {
  color: #fff;
}
.am-service-contact-card p {
  color: #dcebf7;
  font-size: 14px;
}

@media (max-width: 1000px) {
  .am-quickbar-card {
    flex-wrap: wrap;
  }
  .am-quickbar-item {
    width: 50%;
  }
  .am-quickbar-item:nth-child(2):after {
    display: none;
  }
  .am-partnership-copy {
    width: 66%;
    padding: 46px;
  }
  .am-partnership-visual {
    width: 34%;
  }
  .am-directory-doctor,
  .am-service-directory-card {
    width: calc(50% - 12px);
  }
  .am-doctor-profile-grid,
  .am-service-single-grid {
    gap: 40px;
  }
  .am-doctor-profile-copy h1,
  .am-service-single-copy h1 {
    font-size: 48px;
  }
}
@media (max-width: 760px) {
  .banner_slide {
    min-height: 620px;
  }
  .banner_slide .wrapper {
    min-height: 620px;
  }
  .am-home-quickbar {
    margin-top: -24px;
  }
  .am-quickbar-item {
    padding: 18px 16px;
    min-height: 92px;
  }
  .am-partnership-card {
    min-height: 0;
    flex-direction: column;
  }
  .am-partnership-copy,
  .am-partnership-visual {
    width: 100%;
  }
  .am-partnership-copy {
    padding: 38px 26px;
  }
  .am-partnership-copy h2 {
    font-size: 34px;
    line-height: 44px;
  }
  .am-partnership-point {
    width: 100%;
  }
  .am-partnership-visual {
    min-height: 280px;
  }
  .am-partnership-orbit--two {
    width: 330px;
    height: 330px;
  }
  .am-partnership-stat {
    right: 18px;
    bottom: 20px;
  }
  .am-opd-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .am-day-chip {
    text-align: left;
  }
  .am-opd-table-wrap {
    overflow-x: auto;
  }
  .am-opd-table {
    min-width: 720px;
  }
  .am-directory-doctor,
  .am-service-directory-card {
    width: 100%;
  }
  .am-doctors-banner,
  .am-services-banner {
    min-height: 350px;
    padding: 70px 0;
  }
  .am-doctors-banner h1,
  .am-services-banner h1 {
    font-size: 44px;
  }
  .am-doctor-profile-grid,
  .am-service-single-grid {
    flex-direction: column;
  }
  .am-doctor-profile-media,
  .am-doctor-profile-copy,
  .am-service-single-copy,
  .am-service-single-media {
    width: 100%;
  }
  .am-doctor-profile-media {
    height: 440px;
  }
  .am-doctor-profile-copy h1,
  .am-service-single-copy h1 {
            font-size: 34px !important;
        line-height: 44px !important;
  }
  .am-doctor-profile-content,
  .am-service-single-content {
    flex-direction: column;
  }
  .am-profile-main,
  .am-profile-sidebar,
  .am-service-single-content > .am-richtext,
  .am-service-contact-card {
    width: 100%;
  }
  .am-profile-schedule-card,
  .am-service-contact-card {
    position: static;
  }
  .am-doctor-profile-hero {
    padding: 150px 0 40px;
  }
  .am-service-single-hero {
    padding: 150px 0 40px;
  }
}
@media (max-width: 520px) {
  .am-quickbar-item {
    width: 100%;
  }
  .am-quickbar-item:after {
    display: none !important;
  }
  .am-quickbar-card {
    border-radius: 18px;
  }
  .am-doctor-profile-media {
    height: 180px;
  }
  .am-partnership-copy h2 {
    font-size: 32px;
  }
  .am-opd-row {
    padding: 0 16px;
  }
  .am-doctor-placeholder--large span {
    width: 80px;
    height: 80px;
    font-size: 40px;
  }
}
.am-review-source {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--am-blue-soft);
  color: var(--am-blue);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.am-review-source-link:hover .am-review-source {
  background: var(--am-blue);
  color: #fff;
}
.am-article-source {
  margin: 30px 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: #f8fbfd;
  border: 1px solid var(--am-line);
  font-size: 13px;
  color: var(--am-text);
}
.am-article-source strong {
  color: var(--am-ink);
}
.am-article-source a {
  color: var(--am-blue);
  font-weight: 700;
}

/* ================================================================
   AAMINA V6 — FRONT-END BASE + POLISH PASS
   Fixes class collisions, typography, header navigation, forms,
   contact contrast and horizontal overflow while preserving ACF data.
   ================================================================ */

/* One typeface everywhere */
html,
body,
button,
input,
select,
textarea,
optgroup,
.header,
.nav-list,
.banner_slide,
.inner_banner,
.common_banner,
.site-footer,
.wpcf7,
.faq-sec,
.am-opd-table,
.am-doctor-profile-hero,
.am-service-single-hero {
  font-family: "Manrope", Arial, sans-serif !important;
}
h1,
h2,
h3,
h4,
h5,
h6,
.banner_slide h1,
#home_section_2 h2,
.inner_banner h1,
.common_banner h1,
#about_banner h1,
#contact_banner h1,
#testimonial_banner h1,
#report_banner h1,
.am-copy h2,
.am-feature-panel h2,
.am-report-card > h2,
.am-thankyou-card h1,
.am-blog-hero__copy h1,
.am-article-hero__copy h1,
.am-article-topic h2,
.am-partnership-copy h2,
.am-doctors-banner h1,
.am-services-banner h1,
.am-doctor-placeholder span,
.am-doctor-profile-copy h1,
.am-service-single-copy h1,
.am-quote-mark {
  font-family: "Manrope", Arial, sans-serif !important;
}

/* Prevent any child from forcing page width beyond the viewport */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
img,
iframe,
video,
svg {
  max-width: 100%;
}
.container,
.xl-container {
  max-width: 100%;
}

/* Header navigation — clean text navigation, no pill/dot collision */
.nav-wrap {
  min-width: 0;
}
.nav-list {
  gap: 22px !important;
}
.nav-list > li > a {
  min-height: 44px !important;
  padding: 10px 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--am-ink) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  white-space: nowrap;
}
.nav-list > li > a:hover,
.nav-list > .current-menu-item > a,
.nav-list > .current-menu-parent > a,
.nav-list > .current-menu-ancestor > a,
.nav-list > .current_page_parent > a {
  background: transparent !important;
  color: var(--am-blue) !important;
}
.nav-list > li > a::after,
.nav-list > .current-menu-item > a::after,
.nav-list > .current-menu-parent > a::after,
.nav-list > .current-menu-ancestor > a::after,
.nav-list > .current_page_parent > a::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 3px !important;
  width: 100% !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: linear-gradient(
    90deg,
    var(--am-blue),
    var(--am-green)
  ) !important;
  transform: scaleX(0) !important;
  transform-origin: left center !important;
  transition: transform 0.25s ease !important;
}
.nav-list > li:hover > a::after,
.nav-list > .current-menu-item > a::after,
.nav-list > .current-menu-parent > a::after,
.nav-list > .current-menu-ancestor > a::after,
.nav-list > .current_page_parent > a::after {
  transform: scaleX(1) !important;
}

/* Homepage hero — strong modern Manrope display instead of serif */
.banner_slide h1 {
  font-size: 64px !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em !important;
  max-width: 760px;
  font-weight: 700 !important;
}
.banner_slide h2 {
  max-width: 650px !important;
  font-size: 19px !important;
  line-height: 1.65 !important;
  font-weight: 500 !important;
}

/* Home appointment section — fixes right_wrapper/footer collision */
#home_quote_form .wrapper {
  min-width: 0 !important;
}
#home_quote_form .left_wrapper {
  width: 40% !important;
  min-height: 650px !important;
  position: relative !important;
  flex: 0 0 40% !important;
}
#home_quote_form .left_wrapper img {
  min-height: 650px !important;
  object-position: center !important;
}
#home_quote_form .right_wrapper {
  width: 60% !important;
  flex: 1 1 60% !important;
  min-width: 0 !important;
  display: block !important;
  padding: 52px 54px !important;
  gap: 0 !important;
}
#home_quote_form .right_wrapper > p {
  max-width: 650px !important;
  margin: 0 0 26px !important;
  color: var(--am-text) !important;
}
#home_quote_form h2 {
  max-width: 620px !important;
  margin-bottom: 14px !important;
  font-size: 40px !important;
  line-height: 1.12 !important;
}
#home_quote_form .wpcf7,
#home_quote_form .wpcf7-form,
#home_quote_form form {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
}

/* CF7 layout */
.aamina-cf7-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  gap: 16px 18px !important;
  width: 100% !important;
}
.aamina-cf7-grid > label {
  display: block !important;
  width: calc(50% - 9px) !important;
  margin: 0 !important;
  min-width: 0 !important;
  color: var(--am-ink) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
.aamina-cf7-grid > .aamina-cf7-full {
  width: 100% !important;
  margin: 0 !important;
}
.wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
  margin-top: 7px !important;
}
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7 select,
.wpcf7 textarea,
#home_quote_form
  input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
#home_quote_form select,
#home_quote_form textarea {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  padding: 0 !important;
  flex: 0 0 18px !important;
}
.wpcf7 .wpcf7-list-item {
  margin: 0 !important;
}
.wpcf7 .wpcf7-list-item > label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  color: var(--am-text) !important;
}
.wpcf7 input[type="submit"] {
  min-width: 190px !important;
}

/* Contact page — remove duplicate generated label and repair dark-card contrast */
#contact_section_1 .wrapper.am-contact-layout {
  align-items: stretch !important;
  gap: 28px !important;
}
#contact_section_1 .am-contact-card {
  width: 43% !important;
  padding: 46px !important;
  background: linear-gradient(145deg, #07325f 0%, #0d4b82 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 24px 60px rgba(7, 40, 76, 0.18) !important;
}
#contact_section_1 .am-contact-card::before {
  display: none !important;
  content: none !important;
}
#contact_section_1 .am-contact-card .am-eyebrow {
  color: #a7e47f !important;
}
#contact_section_1 .am-contact-card h2 {
  color: #fff !important;
  margin-bottom: 28px !important;
}
#contact_section_1 .am-contact-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  margin: 0 0 12px !important;
  padding: 16px 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.07) !important;
  color: #fff !important;
}
#contact_section_1 a.am-contact-row:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  transform: translateY(-1px);
}
#contact_section_1 .am-contact-row strong {
  color: #a7e47f !important;
  font-size: 11px !important;
}
#contact_section_1 .am-contact-row span {
  color: #fff !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  overflow-wrap: anywhere;
}
#contact_section_1 .am-form-card {
  width: 57% !important;
  padding: 46px !important;
  background: #fff !important;
}
#contact_section_1 .am-form-card h2 {
  margin-bottom: 22px !important;
}
#contact_section_1 .am-form-card .aamina-cf7-grid > label {
  width: 100% !important;
}

/* Keep map/location panel from inheriting footer flex rules */
#home_section_7 .right_wrapper {
  display: block !important;
  flex: none !important;
  gap: 0 !important;
}

/* Footer nav is scoped; never affect page .right_wrapper elements */
.site-footer .footer-links-nav {
  display: flex;
  gap: 45px;
  flex: 1;
  min-width: 0;
}

/* Inner banners / page titles */
.inner_banner h1,
.common_banner h1,
#about_banner h1,
#contact_banner h1,
#testimonial_banner h1,
#report_banner h1,
.am-doctors-banner h1,
.am-services-banner h1 {
  letter-spacing: -0.04em !important;
  line-height: 1.06 !important;
}

/* Laptop adjustments */
@media (max-width: 1180px) and (min-width: 992px) {
  .header_logo {
    width: 190px !important;
  }
  .nav-list {
    gap: 14px !important;
  }
  .nav-list > li > a {
    font-size: 13px !important;
  }
  #home_quote_form .left_wrapper {
    width: 36% !important;
    flex-basis: 36% !important;
  }
  #home_quote_form .right_wrapper {
    width: 64% !important;
    flex-basis: 64% !important;
    padding: 42px !important;
  }
  #contact_section_1 .am-contact-card {
    width: 40% !important;
    padding: 34px !important;
  }
  #contact_section_1 .am-form-card {
    width: 60% !important;
    padding: 34px !important;
  }
}

/* Navigation breakpoint matches JS (mobile menu is active below 992px). */
@media (max-width: 991px) {
  .hamburger {
    display: flex !important;
    position: relative;
    z-index: 1002;
  }
  .nav-wrap {
    position: fixed !important;
    inset: 0 0 0 auto !important;
    width: min(88vw, 390px) !important;
    height: 100% !important;
    background: #fff !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 108px 28px 36px !important;
    transform: translateX(105%) !important;
    transition: 0.38s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    z-index: 1001 !important;
    box-shadow: -30px 0 70px rgba(16, 35, 62, 0.15) !important;
    overflow: auto !important;
  }
  .nav-wrap.is-open,
  .nav-wrap.active,
  .nav-wrap.open {
    transform: none !important;
  }
  .nav-list {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
  }
  .nav-list > li {
    width: 100% !important;
    border-bottom: 1px solid var(--am-line) !important;
  }
  .nav-list > li > a {
    width: 100% !important;
    padding: 16px 4px !important;
    font-size: 16px !important;
    border-radius: 0 !important;
  }
  .nav-list > li > a::after {
    display: none !important;
  }
  .nav-list .sub-menu {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: 0 !important;
    border-left: 2px solid var(--am-green) !important;
    border-radius: 0 !important;
    padding: 0 0 10px 14px !important;
    margin: 0 !important;
    display: none !important;
  }
  .nav-list li.submenu-open > .sub-menu {
    display: block !important;
  }
  .nav-wrap .header-appointment-btn {
    display: flex !important;
    width: 100% !important;
    margin-top: 22px !important;
  }
  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 20, 40, 0.42);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
  }
  body.sidebar-open .overlay,
  .overlay.active {
    opacity: 1;
    visibility: visible;
  }
  #home_quote_form .wrapper {
    flex-direction: column !important;
  }
  #home_quote_form .left_wrapper,
  #home_quote_form .right_wrapper {
    width: 100% !important;
    flex: 0 0 100% !important;
  }
  #home_quote_form .left_wrapper,
  #home_quote_form .left_wrapper img {
    min-height: 380px !important;
    height: 380px !important;
  }
  #home_quote_form .right_wrapper {
    padding: 40px !important;
  }
  #contact_section_1 .wrapper.am-contact-layout {
    flex-direction: column !important;
  }
  #contact_section_1 .am-contact-card,
  #contact_section_1 .am-form-card {
    width: 100% !important;
  }
}

/* Tablet/mobile */
@media (max-width: 820px) {
  .nav-list > li > a {
    width: 100% !important;
    padding: 16px 4px !important;
    border-radius: 0 !important;
    font-size: 16px !important;
  }
  .nav-list > li > a::after {
    display: none !important;
  }
  .banner_slide h1 {
    font-size: 47px !important;
    letter-spacing: -0.035em !important;
  }
  #home_quote_form .left_wrapper,
  #home_quote_form .right_wrapper {
    width: 100% !important;
    flex: 0 0 100% !important;
  }
  #home_quote_form .left_wrapper,
  #home_quote_form .left_wrapper img {
    min-height: 340px !important;
    height: 340px !important;
  }
  #home_quote_form .right_wrapper {
    padding: 34px 26px !important;
  }
  #home_quote_form h2 {
    font-size: 34px !important;
  }
  .aamina-cf7-grid > label {
    width: 100% !important;
  }
  #contact_section_1 .wrapper.am-contact-layout {
    flex-direction: column !important;
  }
  #contact_section_1 .am-contact-card,
  #contact_section_1 .am-form-card {
    width: 100% !important;
    padding: 34px !important;
  }
  .site-footer .footer-links-nav {
    width: 100%;
    gap: 34px;
  }
}
@media (max-width: 520px) {
  .banner_slide h1 {
    font-size: 39px !important;
  }
  #home_quote_form .right_wrapper {
    padding: 28px 20px !important;
  }
  #home_quote_form h2 {
    font-size: 31px !important;
  }
  #contact_section_1 .am-contact-card,
  #contact_section_1 .am-form-card {
    padding: 26px !important;
  }
  .site-footer .footer-links-nav {
    flex-direction: column;
  }

  .footer-column ul {
    gap: 0px;
  }
  .footer-column li + li {
    margin-top: 5px;
  }
  .footer-column .title {
    margin-bottom: 10px;
  }
  .lower_footer_wrapper {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .footer-brand__logo {
    margin-bottom: 0px;
  }
  .am-service-single-media {
    height: 235px;
}
}
