:root {
  --teal: #0ea7a0;
  --blue: #086c99;
  --red: #ef363a;
  --navy: #0a2540;
  --ink: #1d2b3a;
  --muted: #5b6b7b;
  --bg: #f4faf9;
  --line: #dbe8e8;
  --r: 20px;
  --sh: 0 14px 40px rgba(8, 108, 153, 0.1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: #fff;
  overflow-wrap: anywhere;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--blue);
  text-decoration: none;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}
h1 {
  font-size: clamp(2.1rem, 6vw, 3.9rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
}
h3 {
  font-size: 1.15rem;
  font-weight: 700;
}
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 8px;
  top: 8px;
  background: #fff;
  padding: 8px;
  z-index: 3000;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.eyebrow {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}
.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 60ch;
}
.center {
  text-align: center;
}
.note {
  color: var(--muted);
  font-size: 0.85rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.25s;
  font-size: 0.95rem;
  font-family: inherit;
  text-align: center;
}
.btn i.fa-arrow-right {
  transition: transform 0.25s;
}
.btn:hover i.fa-arrow-right {
  transform: translateX(4px);
}
.btn-red {
  background: var(--red);
  color: #fff;
}
.btn-red:hover {
  background: #d42a2e;
  color: #fff;
  transform: translateY(-2px);
}
.btn-teal {
  background: var(--teal);
  color: #fff;
}
.btn-teal:hover {
  background: var(--blue);
  color: #fff;
}
.btn-ghost {
  border-color: var(--blue);
  color: var(--blue);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--blue);
  color: #fff;
}
.btn-ghost-l {
  border-color: #fff;
  color: #fff;
}
.btn-ghost-l:hover {
  background: #fff;
  color: var(--blue);
}
.btn-wa {
  background: #1fa855;
  color: #fff;
}
.btn-wa:hover {
  background: #178a45;
  color: #fff;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.2rem 0;
}
.announce {
  background: var(--navy);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  position: relative;
  width: 100%;
}

.announce-track {
  display: flex;
  width: max-content;
  animation: announceMarquee 35s linear infinite;
  will-change: transform;
}

.announce-track span {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
  padding-right: 30px;
}

.announce-track i {
  color: var(--teal, #0ea7a0);
  font-size: 0.9rem;
}

.announce-track b {
  color: var(--teal, #0ea7a0);
  font-size: 1rem;
  padding: 0 5px;
}

.announce:hover .announce-track {
  animation-play-state: paused;
}

@keyframes announceMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 576px) {
  .announce {
    font-size: 0.75rem;
    padding: 9px 0;
  }

  .announce-track span {
    gap: 8px;
    padding-right: 20px;
  }

  .announce-track i {
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .announce-track {
    animation: none;
  }
}

/* @keyframes marq {
  to {
    transform: translateX(-50%);
  }
} */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  padding: 16px 0;
  transition: 0.3s;
}
.site-header.scrolled {
  padding: 7px 0;
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(10, 37, 64, 0.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1;
}
.brand small {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 3px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff;
  display: grid;
  place-items: center;
}
.brand.light {
  color: #fff;
}
.main-nav ul {
  display: flex;
  gap: 4px;
}
.nav-link {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  transition: 0.2s;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--teal);
}
.nav-link.active {
  background: rgba(14, 167, 160, 0.12);
  color: var(--blue);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-phone {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.nav-phone i {
  color: var(--teal);
  margin-right: 6px;
}
.btn-red.active {
  box-shadow: 0 0 0 3px rgba(239, 54, 58, 0.3);
}
.menu-btn {
  display: none;
  background: var(--bg);
  border: 1px solid var(--line);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.2rem;
  color: var(--navy);
}
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1900;
}
.backdrop.show {
  opacity: 1;
  visibility: visible;
}
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 88vw;
  max-width: 380px;
  background: var(--navy);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 20px;
  overflow-y: auto;
  visibility: hidden;
}
.drawer.open {
  transform: none;
  visibility: visible;
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.drawer-head .brand {
  color: #fff;
}
.drawer-head button {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.1rem;
}
.drawer nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.drawer nav > a:not(.btn) {
  color: #dbeaf3;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-weight: 600;
}
.drawer nav > a.active {
  background: rgba(14, 167, 160, 0.25);
  color: #fff;
}
.drawer .btn {
  margin-top: 8px;
}
.drawer .btn-ghost {
  color: #fff;
  border-color: #fff;
}
body.lock {
  overflow: hidden;
}
.hero {
  position: relative;
  background: linear-gradient(160deg, #e9f8f7 0%, #fff 55%);
  padding: 56px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(14, 167, 160, 0.25),
    transparent 70%
  );
}
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
  position: relative;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-weight: 600;
  font-size: 0.9rem;
}
.trust i {
  color: var(--teal);
  margin-right: 6px;
}
.hero-art {
  position: relative;
}
.mask {
  border-radius: 200px 200px 28px 28px;
  overflow: hidden;
  box-shadow: var(--sh);
  aspect-ratio: 4/4.6;
  background: #cfe9e8;
}
.mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: var(--sh);
  border: 1px solid var(--line);
  animation: float 5s ease-in-out infinite;
}
.float-card i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
}
.float-card small {
  display: block;
  color: var(--muted);
}
.fc1 {
  left: -8px;
  bottom: 12%;
}
.fc2 {
  right: -4px;
  top: 10%;
  animation-delay: 1.5s;
}
@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}
.ecg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 46px;
  opacity: 0.35;
}
.ecg path {
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 4s ease forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  padding: 70px 0 80px;
  overflow: hidden;
}
.page-hero h1 {
  color: #fff;
}
.page-hero .lead {
  color: #d3e8f2;
}
.page-hero .eyebrow {
  color: #7fe3de;
}
.page-hero .ecg path {
  stroke: #7fe3de;
}
.stats {
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.stats .grid {
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--sh);
  border: 1px solid var(--line);
  padding: 24px;
}
.stat {
  text-align: center;
}
.stat strong {
  display: block;
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  color: var(--blue);
  font-weight: 800;
}
.stat span {
  color: var(--muted);
  font-size: 0.88rem;
}
.section {
  padding: 72px 0;
}
.tint {
  background: var(--bg);
}
.sec-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}
.dark {
  background: linear-gradient(150deg, var(--navy), #0a4f6b);
  color: #fff;
}
.dark h2,
.dark h3 {
  color: #fff;
}
.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
.g2,
.g3,
.g4 {
  grid-template-columns: 1fr;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  box-shadow: 0 4px 18px rgba(8, 108, 153, 0.05);
  transition: 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh);
  border-color: var(--teal);
}
.card p {
  color: var(--muted);
  margin: 0;
}
.ico {
  width: 52px;
  height: 52px;
  border-radius: 16px 16px 16px 4px;
  background: rgba(14, 167, 160, 0.12);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.why {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r);
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
}
.why i {
  color: #7fe3de;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.split {
  display: grid;
  gap: 36px;
  align-items: center;
}
.split.top {
  align-items: start;
}
.img-col img {
  border-radius: var(--r) var(--r) 120px var(--r);
  box-shadow: var(--sh);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #cfe9e8;
}
.journey {
  display: grid;
  gap: 18px;
  counter-reset: j;
}
.journey li {
  position: relative;
  padding: 20px 20px 20px 74px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.journey span {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.journey h3 {
  margin: 0;
}
.cta-band {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff;
  border-radius: 28px;
  padding: 48px 28px;
  text-align: center;
}
.cta-band h2 {
  color: #fff;
}
.cta-band a:not(.btn) {
  color: #fff;
  text-decoration: underline;
}
.cta-band .btn-row {
  justify-content: center;
}
.hours {
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
  text-align: left;
}
.hrow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}
.hrow.today {
  border-color: var(--teal);
  background: rgba(14, 167, 160, 0.1);
  box-shadow: 0 0 0 3px rgba(14, 167, 160, 0.15);
}
.badge-open {
  justify-self: center;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  padding: 4px 16px;
  font-weight: 700;
  font-size: 0.85rem;
}
.quote-sec {
  background: var(--navy);
}
.quote-sec h2 {
  color: #fff;
  margin: 0;
}
.review {
  background: #fff;
  border: 1px dashed var(--teal);
  border-radius: var(--r);
  padding: 26px;
  margin: 0;
  min-height: 150px;
}
.review i {
  color: var(--teal);
  font-size: 1.4rem;
}
.gitem {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: #cfe9e8;
}
.gitem img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s;
}
.gitem:hover img {
  transform: scale(1.07);
}
.gcap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(10, 37, 64, 0.8);
  color: #fff;
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 0.78rem;
}
.ggrid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.gitem.hide {
  display: none;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.filter {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-weight: 600;
  font-family: inherit;
}
.filter.active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.owl-theme .owl-nav {
  margin-top: 18px;
}
.owl-theme .owl-nav [class*="owl-"] {
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  color: var(--blue) !important;
  font-size: 1.4rem !important;
  margin: 0 5px !important;
  line-height: 1 !important;
}
.owl-theme .owl-nav [class*="owl-"]:hover {
  background: var(--teal) !important;
  color: #fff !important;
}
.owl-theme .owl-dots .owl-dot span {
  background: var(--line);
  width: 10px;
  height: 10px;
}
.owl-theme .owl-dots .owl-dot.active span {
  background: var(--teal);
  width: 26px;
}
.accordion {
  max-width: 820px;
  margin: 0 auto;
}
.accordion-item {
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-button {
  font-weight: 700;
  color: var(--navy);
}
.accordion-button:not(.collapsed) {
  background: rgba(14, 167, 160, 0.1);
  color: var(--blue);
}
.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(14, 167, 160, 0.3);
}
.ci li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.ci i {
  color: var(--teal);
  margin-top: 6px;
  flex: none;
}
.form {
  display: grid;
  gap: 14px;
}
.form label {
  display: grid;
  gap: 5px;
  font-weight: 600;
  font-size: 0.9rem;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background: #fff;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(14, 167, 160, 0.2);
}
.form .invalid {
  border-color: var(--red);
}
.two {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.form-msg {
  background: rgba(14, 167, 160, 0.1);
  border-radius: 14px;
  padding: 16px;
  color: var(--navy);
}
.big {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue) !important;
}
.side {
  background: linear-gradient(150deg, #fff, var(--bg));
}
.site-footer {
  background: #071b30;
  color: #b8cbd8;
  padding: 60px 0 20px;
  font-size: 0.92rem;
}
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
}
.site-footer a {
  color: #b8cbd8;
}
.site-footer a:hover {
  color: #7fe3de;
}
.foot-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}
.site-footer li {
  margin-bottom: 8px;
}
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 36px;
  padding-top: 20px;
  display: grid;
  gap: 6px;
}
.foot-bottom p {
  margin: 0;
}
.disc {
  font-size: 0.82rem;
}
.float-btns {
  position: fixed;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 900;
}
.fb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}
.fb.wa {
  background: #1fa855;
}
.fb.call {
  background: var(--blue);
}
.fb.top {
  background: var(--navy);
  opacity: 0;
  visibility: hidden;
  font-size: 1rem;
}
.fb.top.show {
  opacity: 1;
  visibility: visible;
}
.fb:hover {
  transform: scale(1.08);
  color: #fff;
}
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--red);
  z-index: 3000;
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s,
    transform 0.7s;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .ecg path {
    stroke-dashoffset: 0;
  }
}


/* ================================
   HEALTHCARE OVERVIEW SECTION
================================ */

.hc-overview {
  position: relative;
  padding: 10px 0;
  overflow: hidden;
}

.hc-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

/* Statistics Card */

.hc-overview-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 28px 22px;
  border: 1px solid var(--teal);
  border-radius: 18px;
  background: var(--bs-body-bg, #fff);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* Animated Background */

.hc-overview-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--teal);
  opacity: 0;
  transform: translateY(100%);
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
  z-index: -1;
}

.hc-overview-card:hover {
  transform: translateY(-8px);
  border-color: var(--blue);
  box-shadow: 0 16px 35px var(--teal);
}

.hc-overview-card:hover::before {
  opacity: 0.07;
  transform: translateY(0);
}

/* Icon Box */

.hc-overview-icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 24px;
  transition:
    transform 0.35s ease,
    border-radius 0.35s ease;
}

.hc-icon-teal {
  color: var(--teal);
  border: 1px solid var(--teal);
}

.hc-icon-blue {
  color: var(--blue);
  border: 1px solid var(--blue);
}

.hc-icon-red {
  color: var(--red);
  border: 1px solid var(--red);
}

.hc-overview-card:hover .hc-overview-icon {
  transform: rotate(-6deg) scale(1.08);
  border-radius: 50%;
}

/* Text Content */

.hc-overview-info {
  min-width: 0;
  flex: 1;
}

.hc-overview-info h3 {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin: 0 0 8px;
  color: var(--blue);
  font-size: clamp(30px, 2.5vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  overflow-wrap: anywhere;
}

.hc-overview-info h3 span {
  color: var(--red);
}

.hc-overview-info p {
  margin: 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

/* Clinic Hours */

.hc-overview-info h3.hc-overview-hours {
  display: block;
  font-size: clamp(19px, 1.65vw, 27px);
  line-height: 1.35;
  letter-spacing: -0.5px;
  white-space: normal;
}

/* Bottom Accent */

.hc-overview-line {
  position: absolute;
  bottom: 0;
  left: 22px;
  width: 38px;
  height: 3px;
  border-radius: 10px;
  background: var(--teal);
  transition:
    width 0.35s ease,
    background 0.35s ease;
}

.hc-overview-card:hover .hc-overview-line {
  width: calc(100% - 44px);
  background: var(--red);
}

/* ================================
   TABLET RESPONSIVE
================================ */

@media (max-width: 1199.98px) {
  .hc-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .hc-overview-card {
    padding: 26px 22px;
  }

  .hc-overview-info h3 {
    font-size: 34px;
  }

  .hc-overview-info h3.hc-overview-hours {
    font-size: 25px;
  }
}

/* ================================
   MOBILE RESPONSIVE
================================ */

@media (max-width: 575.98px) {
  .hc-overview {
    padding: 40px 0;
  }

  .hc-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .hc-overview-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 14px 22px;
    border-radius: 14px;
  }

  .hc-overview-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    font-size: 21px;
    border-radius: 13px;
  }

  .hc-overview-info h3 {
    font-size: 31px;
    margin-bottom: 6px;
  }

  .hc-overview-info h3.hc-overview-hours {
    font-size: clamp(17px, 4.5vw, 23px);
    overflow-wrap: anywhere;
  }

  .hc-overview-info p {
    font-size: 12px;
  }

  .hc-overview-line {
    left: 14px;
  }

  .hc-overview-card:hover .hc-overview-line {
    width: calc(100% - 28px);
  }
}

/* EXTRA SMALL MOBILE */

@media (max-width: 359.98px) {
  .hc-overview-grid {
    grid-template-columns: 1fr;
  }

  .hc-overview-card {
    flex-direction: row;
    align-items: center;
    padding: 20px;
  }

  .hc-overview-info h3 {
    font-size: 32px;
  }

  .hc-overview-info h3.hc-overview-hours {
    font-size: 24px;
  }

  .hc-overview-info p {
    font-size: 13px;
  }
}

/* Accessibility: Reduce Motion */

@media (prefers-reduced-motion: reduce) {
  .hc-overview-card,
  .hc-overview-card::before,
  .hc-overview-icon,
  .hc-overview-line {
    transition: none;
  }

  .hc-overview-card:hover {
    transform: none;
  }
}



/* =====================================
   MEDGEN HEALTHCARE INTRO SECTION
===================================== */

.mg-care-section {
  position: relative;
  padding: 40px 0;
  overflow: hidden;
}

.mg-care-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 75px;
}

/* =====================================
   IMAGE AREA
===================================== */

.mg-care-visual {
  position: relative;
  min-width: 0;
  padding: 0 18px 18px 0;
}

.mg-care-image-wrap {
  position: relative;
  height: 540px;
  border-radius: 28px;
  overflow: visible;
  isolation: isolate;
}

.mg-care-image-wrap > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
  position: relative;
  z-index: 1;
  transition: transform 0.6s ease;
}

.mg-care-image-wrap:hover > img {
  transform: scale(1.025);
}

/* Image Overlay */

.mg-care-image-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 28px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 55%,
    var(--blue)
  );
  opacity: 0.18;
  transition: opacity 0.4s ease;
}

.mg-care-image-wrap:hover .mg-care-image-overlay {
  opacity: 0.32;
}

/* Decorative Shapes */

.mg-care-decoration {
  position: absolute;
  border-radius: 24px;
  pointer-events: none;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

.mg-care-decoration-one {
  width: 150px;
  height: 150px;
  top: -22px;
  right: -22px;
  border: 3px solid var(--teal);
  opacity: 0.75;
  z-index: 0;
}

.mg-care-decoration-two {
  width: 115px;
  height: 115px;
  left: -22px;
  bottom: -22px;
  background: var(--red);
  opacity: 0.12;
  z-index: 0;
}

.mg-care-visual:hover .mg-care-decoration-one {
  transform: translate(5px, -5px);
}

.mg-care-visual:hover .mg-care-decoration-two {
  transform: translate(-5px, 5px);
}

/* =====================================
   FLOATING IMAGE BADGE
===================================== */

.mg-care-badge {
  position: absolute;
  bottom: 28px;
  left: -25px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100% - 10px);
  padding: 17px 22px;
  border: 1px solid var(--teal);
  border-radius: 18px;
  background: var(--bs-body-bg, #fff);
  box-shadow: 0 12px 35px var(--teal);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.mg-care-visual:hover .mg-care-badge {
  transform: translateY(-6px);
}

.mg-care-badge-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--teal);
  border: 1px solid var(--teal);
  font-size: 23px;
}

.mg-care-badge strong {
  display: block;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.mg-care-badge span {
  display: block;
  margin-top: 3px;
  color: var(--blue);
  font-size: 12px;
  line-height: 1.5;
}

/* =====================================
   SECTION CONTENT
===================================== */

.mg-care-content {
  min-width: 0;
}

.mg-care-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.5;
}

.mg-care-eyebrow-line {
  display: inline-block;
  width: 35px;
  height: 3px;
  border-radius: 10px;
  background: var(--red);
  transition: width 0.3s ease;
}

.mg-care-content:hover .mg-care-eyebrow-line {
  width: 55px;
}

/* Heading */

.mg-care-content > h2 {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.2px;
}

.mg-care-heading-highlight {
  display: block;
  color: var(--teal);
}

/* Description */

.mg-care-description {
  margin: 0 0 30px;
  color: var(--blue);
  font-size: 16px;
  line-height: 1.9;
  opacity: 0.85;
}

/* =====================================
   HEALTHCARE FEATURES
===================================== */

.mg-care-features {
  display: grid;
  gap: 13px;
  margin-bottom: 32px;
}

.mg-care-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--teal);
  border-radius: 16px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.mg-care-feature:hover {
  transform: translateX(7px);
  border-color: var(--blue);
  box-shadow: 0 8px 22px var(--teal);
}

/* Feature Icons */

.mg-care-feature-icon {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 21px;
  transition:
    transform 0.3s ease,
    border-radius 0.3s ease;
}

.mg-care-feature:hover .mg-care-feature-icon {
  transform: scale(1.08);
  border-radius: 50%;
}

.mg-care-feature-teal {
  color: var(--teal);
  border: 1px solid var(--teal);
}

.mg-care-feature-blue {
  color: var(--blue);
  border: 1px solid var(--blue);
}

.mg-care-feature-red {
  color: var(--red);
  border: 1px solid var(--red);
}

/* Feature Text */

.mg-care-feature-text {
  min-width: 0;
}

.mg-care-feature-text h3 {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.mg-care-feature-text p {
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.8;
}

/* =====================================
   CTA BUTTON
===================================== */

.mg-care-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.mg-care-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 56px;
  padding: 7px 8px 7px 24px;
  border: 1px solid var(--teal);
  border-radius: 50px;
  color: #fff;
  background: var(--teal);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.mg-care-button:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px var(--teal);
}

.mg-care-button-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--teal);
  background: #fff;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.mg-care-button:hover .mg-care-button-icon {
  transform: translateX(3px);
  color: var(--blue);
}

/* Trust Text */

.mg-care-trust {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.mg-care-trust i {
  color: var(--red);
  font-size: 17px;
}

/* =====================================
   TABLET RESPONSIVE
===================================== */

@media (max-width: 991.98px) {
  .mg-care-section {
    padding: 75px 0;
  }

  .mg-care-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 55px;
  }

  .mg-care-visual {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
  }

  .mg-care-image-wrap {
    height: 460px;
  }

  .mg-care-content > h2 {
    font-size: clamp(34px, 5vw, 44px);
  }

  .mg-care-content {
    max-width: 750px;
  }
}

/* =====================================
   MOBILE RESPONSIVE
===================================== */

@media (max-width: 575.98px) {
  .mg-care-section {
    padding: 55px 0;
  }

  .mg-care-layout {
    gap: 40px;
  }

  .mg-care-visual {
    padding: 0 10px 10px 0;
  }

  .mg-care-image-wrap {
    height: 330px;
    border-radius: 20px;
  }

  .mg-care-image-wrap > img,
  .mg-care-image-overlay {
    border-radius: 20px;
  }

  .mg-care-decoration-one {
    width: 90px;
    height: 90px;
    top: -12px;
    right: -10px;
    border-radius: 18px;
  }

  .mg-care-decoration-two {
    width: 70px;
    height: 70px;
    left: -10px;
    bottom: -10px;
    border-radius: 18px;
  }

  .mg-care-badge {
    bottom: 15px;
    left: -5px;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .mg-care-badge-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 19px;
    border-radius: 12px;
  }

  .mg-care-badge strong {
    font-size: 13px;
  }

  .mg-care-badge span {
    font-size: 11px;
  }

  .mg-care-eyebrow {
    gap: 8px;
    margin-bottom: 16px;
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .mg-care-content > h2 {
    margin-bottom: 17px;
    font-size: clamp(29px, 7.5vw, 36px);
    letter-spacing: -0.7px;
  }

  .mg-care-description {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.8;
  }

  .mg-care-features {
    gap: 11px;
    margin-bottom: 25px;
  }

  .mg-care-feature {
    gap: 12px;
    padding: 13px;
    border-radius: 13px;
  }

  .mg-care-feature-icon {
    flex-basis: 43px;
    width: 43px;
    height: 43px;
    font-size: 18px;
    border-radius: 12px;
  }

  .mg-care-feature-text h3 {
    font-size: 14px;
  }

  .mg-care-feature-text p {
    font-size: 12px;
  }

  .mg-care-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .mg-care-button {
    min-height: 52px;
    padding-left: 21px;
    font-size: 13px;
  }

  .mg-care-button-icon {
    width: 36px;
    height: 36px;
  }

  .mg-care-trust {
    font-size: 12px;
  }
}

/* =====================================
   ACCESSIBILITY
===================================== */

@media (prefers-reduced-motion: reduce) {
  .mg-care-image-wrap > img,
  .mg-care-image-overlay,
  .mg-care-decoration,
  .mg-care-badge,
  .mg-care-eyebrow-line,
  .mg-care-feature,
  .mg-care-feature-icon,
  .mg-care-button,
  .mg-care-button-icon {
    transition: none !important;
  }
}


/* ======================================
   MEDGEN SERVICES SECTION
====================================== */

.mg-services-section {
  padding: 40px 0;
  overflow: hidden;
}

.mg-services-heading {
  max-width: 650px;
  margin: 0 auto 45px;
  text-align: center;
}

.mg-services-subtitle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.mg-services-subtitle span {
  width: 28px;
  height: 3px;
  border-radius: 10px;
  background: var(--red);
}

.mg-services-heading h2 {
  margin: 0 0 15px;
  color: var(--blue);
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
}

.mg-services-heading p {
  margin: 0;
  color: var(--blue);
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.85;
}

/* ======================================
   SERVICES GRID
====================================== */

.mg-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

/* ======================================
   SERVICE CARD
====================================== */

.mg-service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--teal);
  border-radius: 20px;
  background: var(--bs-body-bg, #fff);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.mg-service-card:hover {
  transform: translateY(-8px);
  border-color: var(--blue);
  box-shadow: 0 16px 35px var(--teal);
}

/* ======================================
   SERVICE IMAGE
====================================== */

.mg-service-image {
  position: relative;
  height: 225px;
  overflow: hidden;
  background: var(--teal);
}

.mg-service-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.mg-service-card:hover .mg-service-image img {
  transform: scale(1.08);
}

.mg-service-number {
  position: absolute;
  right: 15px;
  top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--teal);
  border-radius: 13px;
  background: var(--bs-body-bg, #fff);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}

.mg-service-card:hover .mg-service-number {
  color: #fff;
  background: var(--teal);
  transform: rotate(6deg);
}

/* ======================================
   SERVICE CONTENT
====================================== */

.mg-service-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  padding: 24px 22px 22px;
}

.mg-service-content h3 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.mg-service-card:hover .mg-service-content h3 {
  color: var(--teal);
}

.mg-service-content p {
  flex: 1;
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.85;
}

/* ======================================
   BOOK APPOINTMENT BUTTON
   All buttons remain in one row
====================================== */

.mg-service-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  padding: 10px 14px;
  border: 1px solid var(--teal);
  border-radius: 10px;
  color: var(--teal);
  background: transparent;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.mg-service-button i {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  border-radius: 7px;
  color: #fff;
  background: var(--teal);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.mg-service-button:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.mg-service-button:hover i {
  background: var(--red);
  transform: translateX(3px);
}

/* ======================================
   VIEW ALL SERVICES
====================================== */

.mg-services-footer {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.mg-services-view-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 54px;
  padding: 7px 8px 7px 25px;
  border: 1px solid var(--teal);
  border-radius: 50px;
  color: #fff;
  background: var(--teal);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.mg-services-view-button span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--teal);
  background: #fff;
  transition: transform 0.3s ease;
}

.mg-services-view-button:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px var(--teal);
}

.mg-services-view-button:hover span {
  transform: translateX(3px);
}

/* ======================================
   TABLET RESPONSIVE
====================================== */

@media (max-width: 991.98px) {
  .mg-services-section {
    padding: 70px 0;
  }

  .mg-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .mg-service-image {
    height: 220px;
  }

  .mg-service-content {
    padding: 22px 18px 18px;
  }

  .mg-service-content h3 {
    font-size: 19px;
  }
}

/* ======================================
   MOBILE RESPONSIVE
====================================== */

@media (max-width: 575.98px) {
  .mg-services-section {
    padding: 50px 0;
  }

  .mg-services-heading {
    margin-bottom: 30px;
  }

  .mg-services-heading h2 {
    font-size: 29px;
  }

  .mg-services-heading p {
    font-size: 13px;
  }

  .mg-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .mg-service-card {
    border-radius: 14px;
  }

  .mg-service-image {
    height: 145px;
  }

  .mg-service-number {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 11px;
  }

  .mg-service-content {
    padding: 14px 10px 12px;
  }

  .mg-service-content h3 {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.4;
  }

  .mg-service-content p {
    margin-bottom: 15px;
    font-size: 12px;
    line-height: 1.65;
  }

  .mg-service-button {
    min-height: 42px;
    gap: 4px;
    padding: 6px 7px;
    border-radius: 8px;
    font-size: 10px;
    letter-spacing: -0.2px;
  }

  .mg-service-button i {
    flex-basis: 23px;
    width: 23px;
    height: 23px;
    font-size: 10px;
  }

  .mg-services-footer {
    margin-top: 30px;
  }
}

/* EXTRA SMALL SCREENS */

@media (max-width: 359.98px) {
  .mg-services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mg-service-image {
    height: 200px;
  }

  .mg-service-content {
    padding: 20px 16px 16px;
  }

  .mg-service-content h3 {
    font-size: 19px;
  }

  .mg-service-content p {
    font-size: 13px;
  }

  .mg-service-button {
    min-height: 46px;
    padding: 9px 12px;
    font-size: 12px;
  }

  .mg-service-button i {
    flex-basis: 27px;
    width: 27px;
    height: 27px;
    font-size: 12px;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  .mg-service-card,
  .mg-service-image img,
  .mg-service-number,
  .mg-service-content h3,
  .mg-service-button,
  .mg-service-button i,
  .mg-services-view-button,
  .mg-services-view-button span {
    transition: none !important;
  }
}


/* ======================================
   MEDGEN SPECIALISTS SECTION
====================================== */

.mg-specialists-section {
  position: relative;
  padding: 40px 0;
  overflow: hidden;
}

/* Section Heading */

.mg-specialists-heading {
  max-width: 680px;
  margin: 0 auto 45px;
  text-align: center;
}

.mg-specialists-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.mg-specialists-eyebrow span {
  width: 28px;
  height: 3px;
  border-radius: 10px;
  background: var(--red);
}

.mg-specialists-heading h2 {
  margin: 0 0 15px;
  color: var(--blue);
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
}

.mg-specialists-heading p {
  margin: 0;
  color: var(--blue);
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.85;
}

/* ======================================
   SPECIALISTS GRID
====================================== */

.mg-specialists-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* Specialist Card */

.mg-specialist-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-width: 0;
  min-height: 180px;
  padding: 23px 18px;
  overflow: hidden;
  border: 1px solid var(--teal);
  border-radius: 18px;
  background: var(--bs-body-bg, #fff);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.mg-specialist-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  border-radius: 0 0 5px 5px;
  background: var(--teal);
  transition: height 0.35s ease;
}

.mg-specialist-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
  box-shadow: 0 14px 30px var(--teal);
}

.mg-specialist-card:hover::before {
  height: 100%;
}

/* Specialist Icon */

.mg-specialist-icon {
  position: relative;
  z-index: 1;
  flex: 0 0 55px;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  font-size: 23px;
  transition:
    transform 0.35s ease,
    border-radius 0.35s ease;
}

.mg-specialist-card:hover .mg-specialist-icon {
  transform: rotate(-6deg) scale(1.08);
  border-radius: 50%;
}

.mg-specialist-teal {
  color: var(--teal);
  border: 1px solid var(--teal);
}

.mg-specialist-blue {
  color: var(--blue);
  border: 1px solid var(--blue);
}

.mg-specialist-red {
  color: var(--red);
  border: 1px solid var(--red);
}

/* Specialist Information */

.mg-specialist-info {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  padding-bottom: 15px;
}

.mg-specialist-number {
  display: block;
  margin-bottom: 7px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.mg-specialist-info h3 {
  margin: 0 0 9px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
  transition: color 0.3s ease;
}

.mg-specialist-card:hover .mg-specialist-info h3 {
  color: var(--teal);
}

.mg-specialist-info p {
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.85;
}

/* Arrow Link */

.mg-specialist-link {
  position: absolute;
  right: 15px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  color: var(--teal);
  text-decoration: none;
  font-size: 12px;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.mg-specialist-link:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  transform: translateX(3px);
}

/* ======================================
   EXPLORE SPECIALITIES BUTTON
====================================== */

.mg-specialists-footer {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.mg-specialists-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 54px;
  padding: 7px 8px 7px 25px;
  border: 1px solid var(--teal);
  border-radius: 50px;
  color: #fff;
  background: var(--teal);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.mg-specialists-button span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--teal);
  background: #fff;
  transition: transform 0.3s ease;
}

.mg-specialists-button:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px var(--teal);
}

.mg-specialists-button:hover span {
  transform: translateX(3px);
}

/* ======================================
   TABLET RESPONSIVE
====================================== */

@media (max-width: 991.98px) {
  .mg-specialists-section {
    padding: 70px 0;
  }

  .mg-specialists-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .mg-specialist-card {
    padding: 20px 15px;
    gap: 12px;
  }

  .mg-specialist-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    font-size: 21px;
  }

  .mg-specialist-info h3 {
    font-size: 16px;
  }
}

/* ======================================
   MOBILE RESPONSIVE
====================================== */

@media (max-width: 575.98px) {
  .mg-specialists-section {
    padding: 50px 0;
  }

  .mg-specialists-heading {
    margin-bottom: 30px;
  }

  .mg-specialists-heading h2 {
    font-size: 29px;
  }

  .mg-specialists-heading p {
    font-size: 13px;
  }

  .mg-specialists-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .mg-specialist-card {
    flex-direction: column;
    align-items: flex-start;
    min-height: 205px;
    gap: 13px;
    padding: 15px 12px 40px;
    border-radius: 14px;
  }

  .mg-specialist-icon {
    flex-basis: 45px;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 19px;
  }

  .mg-specialist-info {
    width: 100%;
    padding-bottom: 0;
  }

  .mg-specialist-number {
    margin-bottom: 6px;
    font-size: 10px;
  }

  .mg-specialist-info h3 {
    margin-bottom: 7px;
    font-size: 14px;
    line-height: 1.45;
  }

  .mg-specialist-info p {
    font-size: 11px;
    line-height: 1.65;
  }

  .mg-specialist-link {
    right: 10px;
    bottom: 9px;
    width: 28px;
    height: 28px;
    font-size: 10px;
  }

  .mg-specialists-footer {
    margin-top: 30px;
  }

  .mg-specialists-button {
    min-height: 50px;
    padding-left: 20px;
    font-size: 13px;
  }

  .mg-specialists-button span {
    width: 36px;
    height: 36px;
  }
}

/* EXTRA SMALL MOBILE */

@media (max-width: 359.98px) {
  .mg-specialists-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mg-specialist-card {
    flex-direction: row;
    align-items: flex-start;
    min-height: 150px;
    padding: 18px 15px 38px;
  }

  .mg-specialist-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .mg-specialist-info h3 {
    font-size: 16px;
  }

  .mg-specialist-info p {
    font-size: 12px;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  .mg-specialist-card,
  .mg-specialist-card::before,
  .mg-specialist-icon,
  .mg-specialist-info h3,
  .mg-specialist-link,
  .mg-specialists-button,
  .mg-specialists-button span {
    transition: none !important;
  }
}


  .mg-bluecare-section {
    position: relative;
    overflow: hidden;
    padding: 90px 20px;
    background: var(--blue);
    color: #fff;
    isolation: isolate;
  }

  .mg-bluecare-section::before,
  .mg-bluecare-section::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
  }

  .mg-bluecare-section::before {
    width: 430px;
    height: 430px;
    top: -220px;
    right: -100px;
  }

  .mg-bluecare-section::after {
    width: 300px;
    height: 300px;
    bottom: -180px;
    left: -100px;
  }

  .mg-bluecare-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .mg-bluecare-heading {
    max-width: 720px;
    margin-bottom: 45px;
  }

  .mg-bluecare-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
  }

  .mg-bluecare-eyebrow i {
    color: var(--teal);
  }

  .mg-bluecare-heading h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.2;
    font-weight: 800;
  }

  .mg-bluecare-heading h2 span {
    color: var(--teal);
  }

  .mg-bluecare-heading p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.8;
  }

  .mg-bluecare-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .mg-bluecare-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
    transition:
      transform 0.3s ease,
      background 0.3s ease,
      border-color 0.3s ease;
  }

  .mg-bluecare-feature:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.13);
    border-color: var(--teal);
  }

  .mg-bluecare-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: var(--teal);
    color: #fff;
    font-size: 25px;
    transition:
      transform 0.3s ease,
      border-radius 0.3s ease;
  }

  .mg-bluecare-feature:hover .mg-bluecare-icon {
    transform: rotate(-5deg);
    border-radius: 50%;
  }

  .mg-bluecare-feature-content {
    flex: 1;
    min-width: 0;
  }

  .mg-bluecare-number {
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
  }

  .mg-bluecare-feature h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
  }

  .mg-bluecare-feature p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.8;
  }

  .mg-bluecare-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 35px;
    padding: 30px 32px;
    border-radius: 18px;
    background: #fff;
  }

  .mg-bluecare-bottom-text span {
    display: block;
    margin-bottom: 8px;
    color: var(--teal);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
  }

  .mg-bluecare-bottom-text h3 {
    margin: 0;
    color: var(--blue);
    font-size: clamp(20px, 2.5vw, 27px);
    font-weight: 800;
    line-height: 1.4;
  }

  .mg-bluecare-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 15px 23px;
    border-radius: 50px;
    background: var(--teal);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition:
      background 0.3s ease,
      transform 0.3s ease;
  }

  .mg-bluecare-button:hover {
    background: var(--red);
    color: #fff;
    transform: translateY(-3px);
  }

  .mg-bluecare-button i {
    transition: transform 0.3s ease;
  }

  .mg-bluecare-button:hover i {
    transform: translateX(4px);
  }

  @media (max-width: 767px) {
    .mg-bluecare-section {
      padding: 65px 16px;
    }

    .mg-bluecare-heading {
      margin-bottom: 30px;
    }

    .mg-bluecare-layout {
      grid-template-columns: 1fr;
      gap: 15px;
    }

    .mg-bluecare-feature {
      gap: 15px;
      padding: 22px 18px;
    }

    .mg-bluecare-icon {
      width: 52px;
      height: 52px;
      font-size: 21px;
      border-radius: 13px;
    }

    .mg-bluecare-feature h3 {
      font-size: 18px;
    }

    .mg-bluecare-bottom {
      align-items: flex-start;
      flex-direction: column;
      padding: 24px 20px;
    }

    .mg-bluecare-button {
      width: 100%;
    }
  }

  @media (max-width: 380px) {
    .mg-bluecare-feature {
      flex-direction: column;
    }

    .mg-bluecare-heading h2 {
      font-size: 29px;
    }

    .mg-bluecare-bottom {
      padding: 20px 16px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .mg-bluecare-section *,
    .mg-bluecare-section *::before,
    .mg-bluecare-section *::after {
      transition: none !important;
    }
  }




  .mg-diagnostic-section {
    position: relative;
    padding: 90px 20px;
    overflow: hidden;
    background: var(--bs-body-bg, #fff);
  }

  .mg-diagnostic-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .mg-diagnostic-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 42px;
  }

  .mg-diagnostic-heading {
    max-width: 700px;
  }

  .mg-diagnostic-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: var(--teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
  }

  .mg-diagnostic-heading h2 {
    margin: 0 0 15px;
    color: var(--blue);
    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.2;
    font-weight: 800;
  }

  .mg-diagnostic-heading h2 span {
    color: var(--teal);
  }

  .mg-diagnostic-heading p {
    max-width: 620px;
    margin: 0;
    color: var(--bs-secondary-color, #6c757d);
    font-size: 15px;
    line-height: 1.8;
  }

  .mg-diagnostic-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 14px 20px;
    border: 1px solid var(--blue);
    border-radius: 8px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .mg-diagnostic-header-btn:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-3px);
  }

  .mg-diagnostic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .mg-diagnostic-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 290px;
    padding: 27px;
    overflow: hidden;
    border: 1px solid rgba(8, 108, 153, 0.13);
    border-radius: 14px;
    background: var(--bs-body-bg, #fff);
    box-shadow: 0 8px 28px rgba(8, 108, 153, 0.05);
    transition:
      transform 0.3s ease,
      border-color 0.3s ease,
      box-shadow 0.3s ease;
  }

  .mg-diagnostic-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    content: "";
    background: var(--teal);
    transition: width 0.35s ease;
  }

  .mg-diagnostic-card:hover {
    transform: translateY(-7px);
    border-color: var(--teal);
    box-shadow: 0 16px 36px rgba(8, 108, 153, 0.12);
  }

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

  .mg-diagnostic-featured {
    background: var(--blue);
    border-color: var(--blue);
  }

  .mg-diagnostic-featured h3 {
    color: #fff !important;
  }

  .mg-diagnostic-featured p {
    color: rgba(255, 255, 255, 0.8) !important;
  }

  .mg-diagnostic-featured .mg-diagnostic-number {
    color: rgba(255, 255, 255, 0.65);
  }

  .mg-diagnostic-featured .mg-diagnostic-card-footer {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
  }

  .mg-diagnostic-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
  }

  .mg-diagnostic-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 57px;
    height: 57px;
    border-radius: 12px;
    background: rgba(14, 167, 160, 0.12);
    color: var(--teal);
    font-size: 24px;
    transition:
      transform 0.3s ease,
      background 0.3s ease;
  }

  .mg-diagnostic-featured .mg-diagnostic-icon {
    background: var(--teal);
    color: #fff;
  }

  .mg-diagnostic-card:hover .mg-diagnostic-icon {
    transform: rotate(-6deg) scale(1.05);
    background: var(--teal);
    color: #fff;
  }

  .mg-diagnostic-number {
    color: rgba(8, 108, 153, 0.5);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
  }

  .mg-diagnostic-card h3 {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.4;
  }

  .mg-diagnostic-card p {
    margin: 0 0 22px;
    color: var(--bs-secondary-color, #6c757d);
    font-size: 14px;
    line-height: 1.8;
  }

  .mg-diagnostic-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(8, 108, 153, 0.12);
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
  }

  .mg-diagnostic-card-footer i {
    color: var(--teal);
    transition: transform 0.3s ease;
  }

  .mg-diagnostic-card:hover .mg-diagnostic-card-footer i {
    transform: translateX(5px);
  }

  .mg-diagnostic-bottom {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 32px;
    padding: 22px 25px;
    border-radius: 12px;
    background: rgba(14, 167, 160, 0.08);
  }

  .mg-diagnostic-bottom-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-size: 20px;
  }

  .mg-diagnostic-bottom p {
    flex: 1;
    margin: 0;
    color: var(--bs-secondary-color, #6c757d);
    font-size: 14px;
    line-height: 1.7;
  }

  .mg-diagnostic-bottom p strong {
    color: var(--blue);
  }

  .mg-diagnostic-bottom-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    color: var(--teal);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
  }

  .mg-diagnostic-bottom-link:hover {
    color: var(--red);
  }

  .mg-diagnostic-bottom-link i {
    transition: transform 0.3s ease;
  }

  .mg-diagnostic-bottom-link:hover i {
    transform: translateX(5px);
  }

  @media (max-width: 991px) {
    .mg-diagnostic-section {
      padding: 70px 20px;
    }

    .mg-diagnostic-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .mg-diagnostic-header {
      align-items: flex-start;
      flex-direction: column;
    }
  }

  @media (max-width: 575px) {
    .mg-diagnostic-section {
      padding: 55px 16px;
    }

    .mg-diagnostic-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    .mg-diagnostic-card {
      min-height: auto;
      padding: 23px;
    }

    .mg-diagnostic-card-top {
      margin-bottom: 21px;
    }

    .mg-diagnostic-heading h2 {
      font-size: 31px;
    }

    .mg-diagnostic-header-btn {
      width: 100%;
    }

    .mg-diagnostic-bottom {
      align-items: flex-start;
      flex-wrap: wrap;
      padding: 20px;
    }

    .mg-diagnostic-bottom p {
      flex-basis: calc(100% - 70px);
    }

    .mg-diagnostic-bottom-link {
      margin-left: 66px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .mg-diagnostic-section *,
    .mg-diagnostic-section *::before,
    .mg-diagnostic-section *::after {
      transition: none !important;
    }
  }



   .mg-journey-section {
    position: relative;
    overflow: hidden;
    padding: 40px 0px;
    background: var(--bs-body-bg, #fff);
  }

  .mg-journey-container {
    max-width: 1150px;
    margin: 0 auto;
  }

  .mg-journey-header {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
  }

  .mg-journey-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 17px;
    color: var(--teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
  }

  .mg-journey-heading h2,
  .mg-journey-header h2 {
    margin: 0 0 16px;
    color: var(--blue);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
  }

  .mg-journey-header h2 span {
    color: var(--teal);
  }

  .mg-journey-header p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--bs-secondary-color, #6c757d);
    font-size: 15px;
    line-height: 1.8;
  }

  .mg-journey-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
  }

  .mg-journey-timeline::before {
    position: absolute;
    top: 38px;
    right: 10%;
    left: 10%;
    height: 2px;
    content: "";
    background: rgba(14, 167, 160, 0.25);
  }

  .mg-journey-step {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: 0 5px;
    text-align: center;
  }

  .mg-journey-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 25px;
    border: 5px solid var(--bs-body-bg, #fff);
    border-radius: 22px;
    background: var(--blue);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(8, 108, 153, 0.15);
    font-size: 25px;
    transition:
      background 0.3s ease,
      transform 0.3s ease,
      border-radius 0.3s ease;
  }

  .mg-journey-step:hover .mg-journey-step-icon {
    transform: translateY(-6px);
    border-radius: 50%;
    background: var(--teal);
  }

  .mg-journey-step-label {
    display: block;
    min-height: 30px;
    margin-bottom: 8px;
    color: var(--teal);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    line-height: 1.5;
  }

  .mg-journey-step h3 {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
  }

  .mg-journey-step p {
    margin: 0;
    color: var(--bs-secondary-color, #6c757d);
    font-size: 13px;
    line-height: 1.8;
  }

  .mg-journey-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 55px;
    padding: 27px 30px;
    border-radius: 16px;
    background: var(--blue);
    color: #fff;
  }

  .mg-journey-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--teal);
    color: #fff;
    font-size: 23px;
  }

  .mg-journey-cta-content {
    flex: 1;
    min-width: 0;
  }

  .mg-journey-cta-content h3 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.4;
  }

  .mg-journey-cta-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.7;
  }

  .mg-journey-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 14px 21px;
    border-radius: 50px;
    background: var(--teal);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition:
      background 0.3s ease,
      transform 0.3s ease;
  }

  .mg-journey-cta-button:hover {
    transform: translateY(-3px);
    background: var(--red);
    color: #fff;
  }

  .mg-journey-cta-button i {
    transition: transform 0.3s ease;
  }

  .mg-journey-cta-button:hover i {
    transform: translateX(4px);
  }

  @media (max-width: 991px) {
    .mg-journey-section {
      padding: 70px 20px;
    }

    .mg-journey-timeline {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 30px 22px;
    }

    .mg-journey-timeline::before {
      display: none;
    }

    .mg-journey-step {
      padding: 24px 18px;
      border: 1px solid rgba(8, 108, 153, 0.12);
      border-radius: 14px;
      background: var(--bs-body-bg, #fff);
      box-shadow: 0 6px 22px rgba(8, 108, 153, 0.05);
      text-align: left;
    }

    .mg-journey-step-icon {
      margin: 0 0 20px;
    }

    .mg-journey-step-label {
      min-height: 0;
    }

    .mg-journey-cta {
      flex-wrap: wrap;
    }
  }

  @media (max-width: 575px) {
    .mg-journey-section {
      padding: 55px 16px;
    }

    .mg-journey-header {
      margin-bottom: 35px;
    }

    .mg-journey-timeline {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    .mg-journey-step {
      display: grid;
      grid-template-columns: 58px minmax(0, 1fr);
      gap: 15px;
      padding: 20px;
    }

    .mg-journey-step-icon {
      width: 58px;
      height: 58px;
      margin: 0;
      border-width: 3px;
      border-radius: 15px;
      font-size: 21px;
    }

    .mg-journey-step-content {
      min-width: 0;
    }

    .mg-journey-step h3 {
      font-size: 17px;
    }

    .mg-journey-cta {
      align-items: flex-start;
      flex-direction: column;
      gap: 16px;
      margin-top: 35px;
      padding: 23px 20px;
    }

    .mg-journey-cta-content h3 {
      font-size: 20px;
    }

    .mg-journey-cta-button {
      width: 100%;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .mg-journey-section *,
    .mg-journey-section *::before,
    .mg-journey-section *::after {
      transition: none !important;
    }
  }




  .mg-visual-gallery {
  padding: 40px 0px;
  overflow: hidden;
  background: var(--bs-body-bg, #fff);
}

.mg-visual-gallery-container {
  max-width: 1200px;
  margin: 0 auto;
}

.mg-visual-gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 38px;
}

.mg-visual-gallery-heading {
  max-width: 700px;
}

.mg-visual-gallery-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.mg-visual-gallery-heading h2 {
  margin: 0 0 15px;
  color: var(--blue);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
}

.mg-visual-gallery-heading h2 span {
  color: var(--teal);
}

.mg-visual-gallery-heading p {
  max-width: 650px;
  margin: 0;
  color: var(--bs-secondary-color, #6c757d);
  font-size: 15px;
  line-height: 1.8;
}

.mg-visual-gallery-top-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 13px 19px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mg-visual-gallery-top-link:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
}

/* Gallery Carousel */

.mg-visual-gallery-carousel {
  padding: 5px 0 15px;
}

.mg-visual-gallery-item {
  padding: 5px;
}

.mg-visual-gallery-lightbox {
  position: relative;
  display: block;
  height: 360px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--blue);
  text-decoration: none;
  isolation: isolate;
}

.mg-visual-gallery-lightbox::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.02) 25%,
    rgba(0, 0, 0, 0.18) 48%,
    rgba(0, 0, 0, 0.85) 100%
  );
  transition: background 0.3s ease;
}

.mg-visual-gallery-lightbox img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.mg-visual-gallery-lightbox:hover img {
  transform: scale(1.09);
}

.mg-visual-gallery-category {
  position: absolute;
  top: 17px;
  left: 17px;
  z-index: 2;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  background: rgba(8, 108, 153, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  backdrop-filter: blur(8px);
}

.mg-visual-gallery-zoom {
  position: absolute;
  top: 17px;
  right: 17px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 16px;
  opacity: 0;
  transform: scale(0.75);
  transition: all 0.3s ease;
}

.mg-visual-gallery-lightbox:hover .mg-visual-gallery-zoom {
  opacity: 1;
  transform: scale(1);
}

.mg-visual-gallery-caption {
  position: absolute;
  right: 20px;
  bottom: 22px;
  left: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transform: translateY(8px);
  transition: transform 0.3s ease;
}

.mg-visual-gallery-lightbox:hover .mg-visual-gallery-caption {
  transform: translateY(0);
}

.mg-visual-gallery-caption > span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.mg-visual-gallery-caption strong {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}

/* Owl Carousel Navigation */

.mg-visual-gallery-carousel .owl-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.mg-visual-gallery-carousel .owl-nav button.owl-prev,
.mg-visual-gallery-carousel .owl-nav button.owl-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin: 0;
  border: 1px solid rgba(8, 108, 153, 0.2);
  border-radius: 50%;
  background: transparent;
  color: var(--blue);
  font-size: 24px;
  transition: all 0.3s ease;
}

.mg-visual-gallery-carousel .owl-nav button.owl-prev:hover,
.mg-visual-gallery-carousel .owl-nav button.owl-next:hover {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.mg-visual-gallery-carousel .owl-dots {
  margin-top: 10px;
  text-align: center;
}

.mg-visual-gallery-carousel .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
  margin: 5px;
  background: rgba(8, 108, 153, 0.2);
  transition: all 0.3s ease;
}

.mg-visual-gallery-carousel .owl-dots .owl-dot.active span {
  width: 25px;
  border-radius: 10px;
  background: var(--teal);
}

/* Gallery Footer */

.mg-visual-gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 25px;
  padding-top: 23px;
  border-top: 1px solid rgba(8, 108, 153, 0.12);
}

.mg-visual-gallery-footer p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--bs-secondary-color, #6c757d);
  font-size: 12px;
}

.mg-visual-gallery-footer p i {
  color: var(--teal);
}

.mg-visual-gallery-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 21px;
  border-radius: 50px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mg-visual-gallery-button:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
}

.mg-visual-gallery-button i {
  transition: transform 0.3s ease;
}

.mg-visual-gallery-button:hover i {
  transform: translateX(4px);
}

/* Responsive */

@media (max-width: 767px) {
  .mg-visual-gallery {
    padding: 65px 16px;
  }

  .mg-visual-gallery-header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 25px;
  }

  .mg-visual-gallery-top-link {
    width: 100%;
  }

  .mg-visual-gallery-lightbox {
    height: 340px;
  }

  .mg-visual-gallery-caption strong {
    font-size: 20px;
  }

  .mg-visual-gallery-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .mg-visual-gallery-button {
    width: 100%;
  }

  .mg-visual-gallery-carousel .owl-nav {
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .mg-visual-gallery-lightbox {
    height: 290px;
  }

  .mg-visual-gallery-heading h2 {
    font-size: 29px;
  }

  .mg-visual-gallery-caption {
    right: 15px;
    bottom: 17px;
    left: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mg-visual-gallery *,
  .mg-visual-gallery *::before,
  .mg-visual-gallery *::after {
    transition: none !important;
  }
}





/* =========================================
   MEDGEN QUOTE SECTION
========================================= */

.mg-quote-section {
  position: relative;
  overflow: hidden;
  padding: 75px 20px;
  background: linear-gradient(135deg, #086c99 0%, #064a7a 100%);
  color: #ffffff;
  isolation: isolate;
}

.mg-quote-section::before,
.mg-quote-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.mg-quote-section::before {
  width: 300px;
  height: 300px;
  top: -190px;
  left: -80px;
}

.mg-quote-section::after {
  width: 380px;
  height: 380px;
  right: -160px;
  bottom: -270px;
}

.mg-quote-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.mg-quote-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 9px 17px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.mg-quote-label i {
  color: #7ce5df;
  font-size: 15px;
}

.mg-quote-content h2 {
  max-width: 800px;
  margin: 0 auto;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -1px;
}

.mg-quote-accent {
  display: block;
  width: 65px;
  height: 4px;
  margin: 25px auto 0;
  border-radius: 10px;
  background: #7ce5df;
}

/* Responsive */
@media (max-width: 576px) {
  .mg-quote-section {
    padding: 55px 18px;
  }

  .mg-quote-label {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .mg-quote-content h2 {
    font-size: 30px;
    letter-spacing: -0.5px;
  }

  .mg-quote-accent {
    margin-top: 20px;
  }
}



/* =========================================
   MEDGEN PATIENT REVIEWS
========================================= */

.mg-reviews-section {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  background: #f1f8fc;
}

.mg-reviews-heading {
  max-width: 700px;
  margin: 0 auto 45px;
  text-align: center;
}

.mg-reviews-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 9px 17px;
  border: 1px solid rgba(14, 167, 160, 0.18);
  border-radius: 50px;
  background: #e4f7f5;
  color: #087e79;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.mg-reviews-heading h2 {
  margin: 0 0 15px;
  color: #103b60;
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.8px;
}

.mg-reviews-heading p {
  max-width: 590px;
  margin: 0 auto;
  color: #63788b;
  font-size: 15px;
  line-height: 1.8;
}

.mg-reviews-heading-line {
  display: block;
  width: 58px;
  height: 4px;
  margin: 23px auto 0;
  border-radius: 10px;
  background: #0ea7a0;
}

/* Carousel */

.mg-reviews-carousel {
  padding: 10px 5px 45px;
}

.mg-reviews-carousel .owl-stage {
  display: flex;
}

.mg-reviews-carousel .owl-item {
  display: flex;
  height: auto;
}

.mg-reviews-carousel .mg-reviews-card {
  width: 100%;
}

/* Review Card */

.mg-reviews-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 27px 25px;
  border: 1px solid #e3edf4;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(18, 61, 91, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.mg-reviews-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 167, 160, 0.35);
  box-shadow: 0 18px 40px rgba(18, 61, 91, 0.11);
}

/* Card Top */

.mg-reviews-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 24px;
}

.mg-reviews-quote-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #e7f6fb;
  color: #086c99;
  font-size: 21px;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.mg-reviews-card:hover .mg-reviews-quote-icon {
  background: #086c99;
  color: #ffffff;
}

/* Rating Stars */

.mg-reviews-stars {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  color: #f4b942;
  font-size: 13px;
}

/* Review Text */

.mg-reviews-text {
  flex: 1;
  margin: 0 0 25px;
  color: #526a7d;
  font-size: 15px;
  line-height: 1.9;
}

/* Divider */

.mg-reviews-divider {
  width: 100%;
  height: 1px;
  margin-bottom: 20px;
  background: #eaf0f5;
}

/* Author */

.mg-reviews-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mg-reviews-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 47px;
  height: 47px;
  border: 1px solid #d8eeee;
  border-radius: 50%;
  background: #e8f7f6;
  color: #087e79;
  font-size: 18px;
}

.mg-reviews-author-info {
  flex: 1;
  min-width: 0;
}

.mg-reviews-author-info h3 {
  margin: 0 0 5px;
  color: #183e5c;
  font-size: 14px;
  font-weight: 750;
}

.mg-reviews-author-info span {
  display: block;
  color: #8293a1;
  font-size: 11px;
  line-height: 1.5;
}

.mg-reviews-check {
  color: #0ea7a0;
  font-size: 18px;
}

/* Carousel Navigation */

.mg-reviews-carousel .owl-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.mg-reviews-carousel .owl-nav button.owl-prev,
.mg-reviews-carousel .owl-nav button.owl-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  margin: 0;
  border: 1px solid #dce8f0;
  border-radius: 50%;
  background: #ffffff;
  color: #086c99;
  font-size: 25px;
  line-height: 1;
  transition: all 0.25s ease;
}

.mg-reviews-carousel .owl-nav button.owl-prev:hover,
.mg-reviews-carousel .owl-nav button.owl-next:hover {
  border-color: #086c99;
  background: #086c99;
  color: #ffffff;
}

.mg-reviews-carousel .owl-dots {
  margin-top: 15px;
}

.mg-reviews-carousel .owl-dots .owl-dot span {
  width: 9px;
  height: 9px;
  margin: 5px;
  background: #cbdde8;
  transition: all 0.25s ease;
}

.mg-reviews-carousel .owl-dots .owl-dot.active span {
  width: 25px;
  border-radius: 10px;
  background: #0ea7a0;
}

/* Responsive */

@media (max-width: 767px) {
  .mg-reviews-section {
    padding: 65px 0;
  }

  .mg-reviews-heading {
    margin-bottom: 30px;
  }

  .mg-reviews-card {
    padding: 25px 22px;
  }

  .mg-reviews-heading p {
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .mg-reviews-section {
    padding: 50px 0;
  }

  .mg-reviews-heading h2 {
    font-size: 29px;
  }

  .mg-reviews-card {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .mg-reviews-card-top {
    margin-bottom: 20px;
  }

  .mg-reviews-stars {
    gap: 3px;
    font-size: 11px;
  }
}




/* =========================================
   MEDGEN MULTICOLOR CTA SECTION
========================================= */

.mg-color-cta-section {
  position: relative;
  overflow: hidden;
  padding: 4px 0;
  background: #f1f7fc;
}

.mg-color-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 65px 45px;
  border-radius: 28px;
  background: linear-gradient(
    125deg,
    #075985 0%,
    #087f9e 32%,
    #0ea7a0 63%,
    #5546a7 100%
  );
  box-shadow: 0 25px 65px rgba(8, 83, 125, 0.2);
}

/* Decorative circles */

.mg-color-cta-decoration {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.mg-color-cta-decoration-one {
  top: -150px;
  right: -80px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.mg-color-cta-decoration-two {
  right: 100px;
  bottom: -220px;
  width: 400px;
  height: 400px;
  background: rgba(128, 91, 213, 0.2);
}

.mg-color-cta-decoration-three {
  top: 30px;
  left: -100px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

/* Main content */

.mg-color-cta-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

/* Label */

.mg-color-cta-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1.5px;
  backdrop-filter: blur(8px);
}

.mg-color-cta-label i {
  color: #9effe6;
  font-size: 15px;
}

/* Heading */

.mg-color-cta-content h2 {
  max-width: 780px;
  margin: 0 auto 20px;
  color: #ffffff;
  font-size: clamp(32px, 4.5vw, 50px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.2px;
}

/* Description */

.mg-color-cta-description {
  max-width: 650px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.9;
}

/* Contact information */

.mg-color-cta-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 24px;
  margin-bottom: 35px;
}

.mg-color-cta-contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.7;
}

.mg-color-cta-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #a5fff0;
}

.mg-color-cta-contact-item a {
  color: #ffffff;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.25s ease;
}

.mg-color-cta-contact-item a:hover {
  color: #baffeb;
}

/* Action buttons */

.mg-color-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.mg-color-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.mg-color-cta-btn:hover {
  transform: translateY(-4px);
}

.mg-color-cta-btn-primary {
  background: #ffffff;
  color: #075985;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.mg-color-cta-btn-primary:hover {
  background: #e6fffa;
  color: #064e70;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.15);
}

.mg-color-cta-btn-light {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.mg-color-cta-btn-light:hover {
  background: #ffffff;
  color: #075985;
}

.mg-color-cta-btn-whatsapp {
  background: #20c875;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.mg-color-cta-btn-whatsapp:hover {
  background: #16ad62;
  color: #ffffff;
}

/* Footer note */

.mg-color-cta-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 12px;
}

.mg-color-cta-footer i {
  color: #a5fff0;
  font-size: 15px;
}

/* Responsive */

@media (max-width: 767px) {
  .mg-color-cta-section {
    padding: 50px 0;
  }

  .mg-color-cta {
    padding: 45px 24px;
    border-radius: 22px;
  }

  .mg-color-cta-content h2 {
    font-size: 34px;
    letter-spacing: -0.6px;
  }

  .mg-color-cta-description {
    font-size: 14px;
  }

  .mg-color-cta-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .mg-color-cta-contact-item {
    justify-content: flex-start;
    text-align: left;
  }

  .mg-color-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .mg-color-cta-btn {
    width: 100%;
  }

  .mg-color-cta-footer {
    align-items: flex-start;
    text-align: left;
    line-height: 1.7;
  }
}

@media (max-width: 420px) {
  .mg-color-cta {
    padding: 38px 18px;
  }

  .mg-color-cta-content h2 {
    font-size: 29px;
  }

  .mg-color-cta-label {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .mg-color-cta-contact-item {
    font-size: 12px;
  }
}





/* =========================================
   MEDGEN HEALTHCARE FOOTER
========================================= */

.mg-footer {
  position: relative;
  overflow: hidden;
  padding: 75px 0 0;
  background: linear-gradient(
    135deg,
    #073b63 0%,
    #075985 42%,
    #086c99 75%,
    #087f85 100%
  );
  color: #ffffff;
}

/* Subtle background decoration */

.mg-footer::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -100px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.mg-footer::after {
  content: "";
  position: absolute;
  bottom: 50px;
  left: -180px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.mg-footer > .container {
  position: relative;
  z-index: 1;
}

/* Main Grid */

.mg-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr 1.3fr;
  gap: 40px;
  padding-bottom: 55px;
}

/* Brand Section */

.mg-footer-brand {
  min-width: 0;
}

.mg-footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 23px;
  padding: 10px 15px;
  border-radius: 12px;
  background: #ffffff;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.mg-footer-logo:hover {
  transform: translateY(-3px);
}

.mg-footer-logo img {
  display: block;
  width: auto;
  max-width: 190px;
  max-height: 60px;
  object-fit: contain;
}

.mg-footer-description {
  margin: 0 0 25px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.9;
}

/* Social Media */

.mg-footer-social h4 {
  margin: 0 0 15px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.mg-footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.mg-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 17px;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.mg-footer-social-link:hover {
  transform: translateY(-4px);
  color: #ffffff;
}

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

.mg-footer-instagram:hover {
  border-color: #e4405f;
  background: linear-gradient(
    45deg,
    #feda75,
    #fa7e1e,
    #d62976,
    #962fbf,
    #4f5bd5
  );
}

.mg-footer-youtube:hover {
  border-color: #ff0033;
  background: #ff0033;
}

/* Footer Columns */

.mg-footer-column {
  min-width: 0;
}

.mg-footer-heading {
  margin: 5px 0 15px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.4;
}

.mg-footer-heading-line {
  display: block;
  width: 43px;
  height: 3px;
  margin-bottom: 24px;
  border-radius: 10px;
  background: #44e0d0;
}

/* Quick Links and Services */

.mg-footer-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mg-footer-list li {
  margin: 0;
  padding: 0;
}

.mg-footer-list a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.6;
  text-decoration: none;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.mg-footer-list a i {
  color: #52e1d0;
  font-size: 11px;
  transition: transform 0.25s ease;
}

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

.mg-footer-list a:hover i {
  transform: translateX(2px);
}

/* Contact Information */

.mg-footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mg-footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-width: 0;
}

.mg-footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.09);
  color: #62e5d5;
  font-size: 15px;
}

.mg-footer-contact-list li > div {
  min-width: 0;
}

.mg-footer-contact-list strong {
  display: block;
  margin: 0 0 5px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.mg-footer-contact-list p,
.mg-footer-contact-list a {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: color 0.25s ease;
}

.mg-footer-contact-list a:hover {
  color: #72f0df;
}

/* Appointment Button */

.mg-footer-appointment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
  padding: 12px 17px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50px;
  background: #ffffff;
  color: #075985;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.mg-footer-appointment:hover {
  transform: translateY(-3px);
  background: #dffbf5;
  color: #075985;
}

.mg-footer-appointment i {
  font-size: 12px;
}

/* Footer Bottom */

.mg-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px 25px;
  padding: 23px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.mg-footer-copyright,
.mg-footer-credit {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.9;
}

.mg-footer-copyright a{
    color: #fff;
    font-weight: 700;
}

.mg-footer-credit {
  text-align: right;
}

.mg-footer-heart {
  margin: 0 3px;
  color: #ff7278;
  font-size: 12px;
  animation: mg-footer-heartbeat 1.8s ease-in-out infinite;
}

.mg-footer-credit a {
  color: #7ceee0;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease;
}

.mg-footer-credit a:hover {
  color: #ffffff;
}

.mg-footer-credit-tag {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
}

@keyframes mg-footer-heartbeat {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.16);
  }
}

/* =========================================
   RESPONSIVE FOOTER
========================================= */

@media (max-width: 1199px) {
  .mg-footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 35px;
  }

  .mg-footer-brand {
    grid-column: 1 / -1;
    max-width: 650px;
  }
}

@media (max-width: 767px) {
  .mg-footer {
    padding-top: 55px;
  }

  .mg-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px 25px;
    padding-bottom: 35px;
  }

  .mg-footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .mg-footer-heading {
    font-size: 16px;
  }

  .mg-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 0;
  }

  .mg-footer-credit {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .mg-footer {
    padding-top: 45px;
  }

  .mg-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mg-footer-brand {
    grid-column: auto;
  }

  .mg-footer-logo img {
    max-width: 170px;
    max-height: 55px;
  }

  .mg-footer-description {
    font-size: 13px;
  }

  .mg-footer-heading-line {
    margin-bottom: 18px;
  }

  .mg-footer-list {
    gap: 11px;
  }

  .mg-footer-contact-list {
    gap: 18px;
  }

  .mg-footer-bottom {
    align-items: flex-start;
  }

  .mg-footer-copyright,
  .mg-footer-credit {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mg-footer *,
  .mg-footer *::before,
  .mg-footer *::after {
    animation: none !important;
    transition: none !important;
  }
}






/* ========================================
   MEDGEN CONNECTED HEALTHCARE SECTION
======================================== */

.mg-connected-section {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.mg-connected-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 65px;
}

/* Content */

.mg-connected-content {
  position: relative;
  z-index: 2;
}

.mg-connected-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  margin-bottom: 22px;
  border: 1px solid rgba(14, 167, 160, 0.2);
  border-radius: 50px;
  background: rgba(14, 167, 160, 0.08);
  color: #087e82;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.mg-connected-label i {
  font-size: 15px;
}

.mg-connected-content h2 {
  margin: 0 0 22px;
  color: #10324b;
  font-size: clamp(32px, 4vw, 47px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.4px;
}

.mg-connected-content h2 span {
  display: block;
  margin-top: 5px;
  color: #0ea7a0;
}

.mg-connected-description {
  max-width: 570px;
  margin-bottom: 30px;
  color: #647789;
  font-size: 16px;
  line-height: 1.9;
}

/* Features */

.mg-connected-features {
  display: grid;
  gap: 19px;
  margin-bottom: 32px;
}

.mg-connected-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.mg-connected-feature-icon {
  display: flex;
  flex: 0 0 49px;
  width: 49px;
  height: 49px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #e2f8f6, #edf5ff);
  color: #078f95;
  font-size: 20px;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.mg-connected-feature:hover .mg-connected-feature-icon {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #0ea7a0, #086c99);
  color: #ffffff;
}

.mg-connected-feature h4 {
  margin: 2px 0 5px;
  color: #183b53;
  font-size: 16px;
  font-weight: 750;
}

.mg-connected-feature p {
  margin: 0;
  color: #758697;
  font-size: 13px;
  line-height: 1.7;
}

/* Appointment Button */

.mg-connected-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 15px 25px;
  border-radius: 50px;
  background: linear-gradient(135deg, #0ea7a0, #086c99);
  box-shadow: 0 10px 25px rgba(8, 108, 153, 0.2);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.mg-connected-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(8, 108, 153, 0.3);
  color: #ffffff;
}

.mg-connected-btn i {
  transition: transform 0.3s ease;
}

.mg-connected-btn:hover i {
  transform: translateX(5px);
}

/* Image */

.mg-connected-visual {
  position: relative;
  min-width: 0;
  padding: 0 0 35px 25px;
}

.mg-connected-image-wrap {
  position: relative;
  height: 510px;
  overflow: hidden;
  border-radius: 30px 30px 100px 30px;
  background: #e7f3f7;
  box-shadow: 0 25px 65px rgba(16, 50, 75, 0.14);
}

.mg-connected-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.mg-connected-visual:hover .mg-connected-image-wrap img {
  transform: scale(1.045);
}

.mg-connected-image-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 108, 153, 0.02) 40%,
    rgba(8, 108, 153, 0.22) 100%
  );
}

/* Floating Information Card */

.mg-connected-floating-card {
  position: absolute;
  right: -15px;
  bottom: 65px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100% - 10px);
  padding: 19px 23px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 15px 40px rgba(16, 50, 75, 0.14);
  backdrop-filter: blur(12px);
}

.mg-connected-floating-icon {
  display: flex;
  flex: 0 0 47px;
  width: 47px;
  height: 47px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #0ea7a0, #086c99);
  color: #ffffff;
  font-size: 20px;
}

.mg-connected-floating-card strong,
.mg-connected-floating-card span:not(.mg-connected-floating-icon) {
  display: block;
}

.mg-connected-floating-card strong {
  margin-bottom: 5px;
  color: #17374f;
  font-size: 14px;
  font-weight: 800;
}

.mg-connected-floating-card span:not(.mg-connected-floating-icon) {
  color: #718395;
  font-size: 12px;
}

/* Decorative Shape */

.mg-connected-decor {
  position: absolute;
  top: -22px;
  right: -18px;
  z-index: -1;
  width: 140px;
  height: 140px;
  border: 24px solid rgba(14, 167, 160, 0.1);
  border-radius: 50%;
}

/* Tablet */

@media (max-width: 991.98px) {
  .mg-connected-section {
    padding: 75px 0;
  }

  .mg-connected-grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 35px;
  }

  .mg-connected-content h2 {
    font-size: 34px;
    letter-spacing: -0.8px;
  }

  .mg-connected-image-wrap {
    height: 440px;
    border-radius: 24px 24px 75px 24px;
  }

  .mg-connected-visual {
    padding-left: 12px;
  }

  .mg-connected-floating-card {
    right: -5px;
    bottom: 55px;
    padding: 15px;
  }
}

/* Mobile */

@media (max-width: 767.98px) {
  .mg-connected-section {
    padding: 60px 0;
  }

  .mg-connected-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mg-connected-content h2 {
    font-size: clamp(30px, 8vw, 39px);
    line-height: 1.25;
  }

  .mg-connected-description {
    font-size: 15px;
    line-height: 1.8;
  }

  .mg-connected-features {
    gap: 21px;
  }

  .mg-connected-feature {
    gap: 13px;
  }

  .mg-connected-feature-icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 18px;
  }

  .mg-connected-feature h4 {
    font-size: 15px;
  }

  .mg-connected-feature p {
    font-size: 13px;
  }

  .mg-connected-btn {
    padding: 14px 21px;
    font-size: 13px;
  }

  .mg-connected-visual {
    width: calc(100% - 8px);
    margin-left: 8px;
    padding: 0 0 28px 0;
  }

  .mg-connected-image-wrap {
    height: 370px;
    border-radius: 23px 23px 75px 23px;
  }

  .mg-connected-floating-card {
    right: -4px;
    bottom: 45px;
    gap: 10px;
    padding: 13px;
    border-radius: 15px;
  }

  .mg-connected-floating-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .mg-connected-floating-card strong {
    font-size: 12px;
  }

  .mg-connected-floating-card span:not(.mg-connected-floating-icon) {
    font-size: 10px;
  }

  .mg-connected-decor {
    top: -15px;
    right: -8px;
    width: 95px;
    height: 95px;
    border-width: 16px;
  }
}

/* Small Mobile */

@media (max-width: 380px) {
  .mg-connected-image-wrap {
    height: 310px;
  }

  .mg-connected-content h2 {
    font-size: 29px;
  }

  .mg-connected-floating-card {
    right: -3px;
    padding: 10px;
  }
}






/* =========================================
   MEDGEN MISSION & VISION SECTION
========================================= */

.mg-purpose-section {
  position: relative;
  overflow: hidden;
  padding: 105px 0;
  background:
    radial-gradient(circle at 8% 20%, rgba(14, 167, 160, 0.09), transparent 28%),
    radial-gradient(circle at 92% 80%, rgba(8, 108, 153, 0.09), transparent 30%),
    linear-gradient(135deg, #f1fbfb 0%, #f5f9ff 48%, #eef7fc 100%);
}

/* Decorative background circles */

.mg-purpose-section::before {
  content: "";
  position: absolute;
  top: -110px;
  left: -110px;
  width: 270px;
  height: 270px;
  border: 45px solid rgba(14, 167, 160, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.mg-purpose-section::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border: 55px solid rgba(8, 108, 153, 0.055);
  border-radius: 50%;
  pointer-events: none;
}


/* =========================================
   HEADING
========================================= */

.mg-purpose-heading {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto 55px;
  text-align: center;
}

.mg-purpose-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  margin-bottom: 19px;
  border: 1px solid rgba(14, 167, 160, 0.18);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.65);
  color: #087f82;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  box-shadow: 0 5px 18px rgba(8, 108, 153, 0.04);
}

.mg-purpose-eyebrow i {
  font-size: 13px;
}

.mg-purpose-heading h2 {
  margin: 0 0 17px;
  color: #12364e;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1.3px;
}

.mg-purpose-heading h2 span {
  color: #0ea7a0;
}

.mg-purpose-heading p {
  max-width: 650px;
  margin: 0 auto;
  color: #687e8e;
  font-size: 15px;
  line-height: 1.85;
}


/* =========================================
   CARD GRID
========================================= */

.mg-purpose-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}


/* =========================================
   CARDS
========================================= */

.mg-purpose-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  padding: 35px 36px 30px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 55px rgba(17, 67, 95, 0.09);
  backdrop-filter: blur(12px);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.mg-purpose-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 65px rgba(17, 67, 95, 0.14);
}


/* Mission card accent */

.mg-purpose-card-mission {
  border-top: 4px solid #0ea7a0;
}


/* Vision card accent */

.mg-purpose-card-vision {
  border-top: 4px solid #086c99;
}


/* =========================================
   CARD TOP
========================================= */

.mg-purpose-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 35px;
}

.mg-purpose-number {
  color: #b6cbd4;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
}

.mg-purpose-icon {
  display: flex;
  width: 65px;
  height: 65px;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  color: #ffffff;
  font-size: 25px;
  box-shadow: 0 12px 25px rgba(8, 108, 153, 0.16);
}

.mg-purpose-card-mission .mg-purpose-icon {
  background: linear-gradient(135deg, #0ea7a0, #078b91);
}

.mg-purpose-card-vision .mg-purpose-icon {
  background: linear-gradient(135deg, #086c99, #07577d);
}


/* =========================================
   CARD CONTENT
========================================= */

.mg-purpose-label {
  display: block;
  margin-bottom: 9px;
  color: #0ea7a0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.mg-purpose-card-vision .mg-purpose-label {
  color: #086c99;
}

.mg-purpose-card-content h3 {
  max-width: 470px;
  margin: 0 0 17px;
  color: #173b53;
  font-size: clamp(23px, 2.3vw, 30px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.mg-purpose-card-content p {
  max-width: 500px;
  margin: 0;
  color: #6c7f8d;
  font-size: 14px;
  line-height: 1.9;
}


/* =========================================
   BOTTOM LINE
========================================= */

.mg-purpose-card-line {
  width: 100%;
  height: 1px;
  margin: 28px 0 19px;
  background: linear-gradient(
    90deg,
    rgba(14, 167, 160, 0.25),
    rgba(14, 167, 160, 0)
  );
}

.mg-purpose-card-vision .mg-purpose-card-line {
  background: linear-gradient(
    90deg,
    rgba(8, 108, 153, 0.25),
    rgba(8, 108, 153, 0)
  );
}


/* =========================================
   BOTTOM TEXT
========================================= */

.mg-purpose-bottom-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #526c7c;
  font-size: 12px;
  font-weight: 700;
}

.mg-purpose-bottom-text i {
  display: flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(14, 167, 160, 0.1);
  color: #0ea7a0;
  font-size: 9px;
}

.mg-purpose-card-vision .mg-purpose-bottom-text i {
  background: rgba(8, 108, 153, 0.1);
  color: #086c99;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {
  .mg-purpose-section {
    padding: 80px 0;
  }

  .mg-purpose-heading {
    margin-bottom: 42px;
  }

  .mg-purpose-grid {
    gap: 20px;
  }

  .mg-purpose-card {
    min-height: 370px;
    padding: 30px;
    border-radius: 24px;
  }

  .mg-purpose-card-top {
    margin-bottom: 28px;
  }

  .mg-purpose-number {
    font-size: 36px;
  }

  .mg-purpose-icon {
    width: 58px;
    height: 58px;
    border-radius: 17px;
    font-size: 22px;
  }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {
  .mg-purpose-section {
    padding: 65px 0;
  }

  .mg-purpose-section::before {
    width: 190px;
    height: 190px;
    border-width: 30px;
  }

  .mg-purpose-section::after {
    width: 210px;
    height: 210px;
    border-width: 35px;
  }

  .mg-purpose-heading {
    margin-bottom: 35px;
  }

  .mg-purpose-heading h2 {
    font-size: clamp(29px, 8vw, 37px);
    letter-spacing: -0.8px;
  }

  .mg-purpose-heading p {
    font-size: 14px;
    line-height: 1.8;
  }

  .mg-purpose-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mg-purpose-card {
    min-height: auto;
    padding: 27px 24px 25px;
    border-radius: 22px;
  }

  .mg-purpose-card-top {
    margin-bottom: 25px;
  }

  .mg-purpose-number {
    font-size: 34px;
  }

  .mg-purpose-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    font-size: 21px;
  }

  .mg-purpose-card-content h3 {
    font-size: 23px;
  }

  .mg-purpose-card-content p {
    font-size: 13px;
    line-height: 1.8;
  }

  .mg-purpose-card-line {
    margin: 24px 0 17px;
  }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {
  .mg-purpose-card {
    padding: 24px 20px;
  }

  .mg-purpose-heading h2 {
    font-size: 28px;
  }

  .mg-purpose-card-content h3 {
    font-size: 21px;
  }
}






/* ==========================================
   MEDGEN FAQ SECTION
========================================== */

.mg-faq-section {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  background:
    radial-gradient(
      circle at 0% 0%,
      rgba(14, 167, 160, 0.09),
      transparent 30%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(8, 108, 153, 0.08),
      transparent 32%
    ),
    linear-gradient(135deg, #f3fbfd 0%, #f8fbff 55%, #edf8fa 100%);
}

/* Heading */

.mg-faq-heading {
  max-width: 720px;
  margin: 0 auto 55px;
  text-align: center;
}

.mg-faq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 17px;
  margin-bottom: 20px;
  border: 1px solid rgba(14, 167, 160, 0.18);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.8);
  color: #087f82;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.mg-faq-eyebrow i {
  font-size: 15px;
}

.mg-faq-heading h2 {
  margin: 0 0 16px;
  color: #12364e;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.2px;
}

.mg-faq-heading h2 span {
  color: #0ea7a0;
}

.mg-faq-heading > p {
  max-width: 620px;
  margin: 0 auto;
  color: #6b8090;
  font-size: 15px;
  line-height: 1.85;
}

/* Main layout */

.mg-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.8fr);
  align-items: start;
  gap: 32px;
}

/* Accordion list */

.mg-faq-list {
  display: grid;
  gap: 13px;
  min-width: 0;
}

.mg-faq-item {
  overflow: hidden;
  border: 1px solid #e2edf2;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 5px 20px rgba(15, 60, 85, 0.035);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.mg-faq-item:hover {
  border-color: rgba(14, 167, 160, 0.35);
  box-shadow: 0 10px 28px rgba(15, 60, 85, 0.07);
}

.mg-faq-item:has(.mg-faq-question:not(.collapsed)) {
  border-color: rgba(14, 167, 160, 0.45);
  box-shadow: 0 12px 30px rgba(14, 167, 160, 0.08);
}

/* Question button */

.mg-faq-question-heading {
  margin: 0;
  font-size: inherit;
}

.mg-faq-question {
  display: flex;
  width: 100%;
  min-height: 79px;
  align-items: center;
  gap: 17px;
  padding: 17px 21px;
  border: 0;
  background: transparent;
  color: #183b53;
  text-align: left;
  cursor: pointer;
  box-shadow: none !important;
}

.mg-faq-question:focus-visible {
  outline: 3px solid rgba(14, 167, 160, 0.3);
  outline-offset: -4px;
}

.mg-faq-number {
  display: flex;
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eef8fa;
  color: #0a8e96;
  font-size: 12px;
  font-weight: 800;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.mg-faq-question-text {
  flex: 1;
  min-width: 0;
  color: #1c3d54;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.55;
}

.mg-faq-toggle {
  display: flex;
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0edf1;
  border-radius: 50%;
  background: #ffffff;
  color: #0b8991;
  font-size: 12px;
  transition:
    transform 0.3s ease,
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

/* Active accordion state */

.mg-faq-question:not(.collapsed) .mg-faq-number {
  background: linear-gradient(135deg, #0ea7a0, #086c99);
  color: #ffffff;
}

.mg-faq-question:not(.collapsed) .mg-faq-toggle {
  transform: rotate(45deg);
  border-color: #0ea7a0;
  background: #0ea7a0;
  color: #ffffff;
}

/* Answer */

.mg-faq-answer {
  padding: 0 24px 24px 77px;
  color: #6b7f8d;
  font-size: 14px;
  line-height: 1.9;
}

.mg-faq-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #087f95;
  font-weight: 750;
  text-decoration: none;
}

.mg-faq-inline-link:hover {
  color: #0ea7a0;
}

/* ==========================================
   CONTACT CARD
========================================== */

.mg-faq-contact {
  position: sticky;
  top: 100px;
  overflow: hidden;
  padding: 32px 27px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 25px;
  background: linear-gradient(150deg, #ffffff 0%, #f0f9fc 100%);
  box-shadow: 0 18px 45px rgba(17, 67, 95, 0.08);
}

.mg-faq-contact::before {
  position: absolute;
  top: -65px;
  right: -65px;
  width: 160px;
  height: 160px;
  border: 28px solid rgba(14, 167, 160, 0.07);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.mg-faq-contact-icon {
  position: relative;
  display: flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  margin-bottom: 23px;
  border-radius: 19px;
  background: linear-gradient(135deg, #0ea7a0, #086c99);
  box-shadow: 0 10px 24px rgba(8, 108, 153, 0.18);
  color: #ffffff;
  font-size: 25px;
}

.mg-faq-contact-label {
  display: block;
  margin-bottom: 10px;
  color: #0a9295;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.mg-faq-contact h3 {
  margin: 0 0 13px;
  color: #163b53;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
}

.mg-faq-contact > p {
  margin: 0 0 23px;
  color: #718493;
  font-size: 13px;
  line-height: 1.85;
}

/* Contact buttons */

.mg-faq-contact-btn,
.mg-faq-whatsapp-btn {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.mg-faq-contact-btn {
  margin-bottom: 11px;
  background: linear-gradient(135deg, #086c99, #0b899b);
  box-shadow: 0 8px 18px rgba(8, 108, 153, 0.14);
  color: #ffffff;
}

.mg-faq-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(8, 108, 153, 0.22);
  color: #ffffff;
}

.mg-faq-whatsapp-btn {
  border-color: #ccefe0;
  background: #edfaf3;
  color: #14834f;
}

.mg-faq-whatsapp-btn:hover {
  transform: translateY(-2px);
  background: #dff6e9;
  color: #0c7042;
}

/* Contact details */

.mg-faq-contact-divider {
  height: 1px;
  margin: 25px 0;
  background: #e0ebf0;
}

.mg-faq-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 20px;
}

.mg-faq-contact-detail:last-child {
  margin-bottom: 0;
}

.mg-faq-detail-icon {
  display: flex;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #e8f7f8;
  color: #078c94;
  font-size: 15px;
}

.mg-faq-contact-detail > div {
  flex: 1;
  min-width: 0;
}

.mg-faq-contact-detail small {
  display: block;
  margin-bottom: 5px;
  color: #8797a3;
  font-size: 11px;
  font-weight: 700;
}

.mg-faq-contact-detail a,
.mg-faq-contact-detail p {
  display: block;
  margin: 0;
  color: #294b60;
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.mg-faq-contact-detail a {
  text-decoration: none;
}

.mg-faq-contact-detail a:hover {
  color: #0a9295;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 991.98px) {
  .mg-faq-section {
    padding: 80px 0;
  }

  .mg-faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mg-faq-contact {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
    align-items: start;
  }

  .mg-faq-contact-icon,
  .mg-faq-contact-label,
  .mg-faq-contact h3,
  .mg-faq-contact > p {
    grid-column: 1 / -1;
  }

  .mg-faq-contact-divider {
    grid-column: 1 / -1;
    width: 100%;
  }

  .mg-faq-contact-btn,
  .mg-faq-whatsapp-btn {
    align-self: start;
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 575.98px) {
  .mg-faq-section {
    padding: 60px 0;
  }

  .mg-faq-heading {
    margin-bottom: 32px;
  }

  .mg-faq-heading h2 {
    font-size: clamp(29px, 8vw, 36px);
    letter-spacing: -0.7px;
  }

  .mg-faq-heading > p {
    font-size: 13px;
    line-height: 1.8;
  }

  .mg-faq-layout {
    gap: 24px;
  }

  .mg-faq-list {
    gap: 11px;
  }

  .mg-faq-item {
    border-radius: 14px;
  }

  .mg-faq-question {
    min-height: 69px;
    gap: 11px;
    padding: 13px 12px;
  }

  .mg-faq-number {
    flex-basis: 33px;
    width: 33px;
    height: 33px;
    border-radius: 10px;
    font-size: 11px;
  }

  .mg-faq-question-text {
    font-size: 13px;
  }

  .mg-faq-toggle {
    flex-basis: 27px;
    width: 27px;
    height: 27px;
    font-size: 10px;
  }

  .mg-faq-answer {
    padding: 0 15px 20px 56px;
    font-size: 13px;
    line-height: 1.8;
  }

  .mg-faq-contact {
    display: block;
    padding: 26px 21px;
    border-radius: 21px;
  }

  .mg-faq-contact h3 {
    font-size: 24px;
  }

  .mg-faq-contact-divider {
    margin: 23px 0;
  }
}

/* Small mobile */

@media (max-width: 360px) {
  .mg-faq-question {
    gap: 8px;
    padding: 12px 9px;
  }

  .mg-faq-question-text {
    font-size: 12px;
  }

  .mg-faq-answer {
    padding-left: 49px;
  }
}



/* ==========================================
   MEDGEN CONTACT SECTION
========================================== */

.mg-contact-section {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  background:
    radial-gradient(
      circle at 0% 0%,
      rgba(14, 167, 160, 0.08),
      transparent 30%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(8, 108, 153, 0.08),
      transparent 32%
    ),
    linear-gradient(135deg, #f3fbfd 0%, #f8fbff 55%, #edf8fa 100%);
}

/* Section Heading */

.mg-contact-heading {
  max-width: 730px;
  margin: 0 auto 55px;
  text-align: center;
}

.mg-contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 17px;
  margin-bottom: 20px;
  border: 1px solid rgba(14, 167, 160, 0.2);
  border-radius: 50px;
  background: #ffffff;
  color: #087f82;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.mg-contact-heading h2 {
  margin: 0 0 17px;
  color: #12364e;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.2px;
}

.mg-contact-heading h2 span {
  color: #0ea7a0;
}

.mg-contact-heading > p {
  max-width: 650px;
  margin: 0 auto;
  color: #6b8090;
  font-size: 15px;
  line-height: 1.85;
}

/* Main Layout */

.mg-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: start;
  gap: 30px;
}

.mg-contact-left {
  display: grid;
  gap: 25px;
  min-width: 0;
}

/* Contact Information Card */

.mg-contact-info-card,
.mg-contact-map-card,
.mg-contact-form-card {
  min-width: 0;
  border: 1px solid #e4edf2;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 15px 45px rgba(17, 67, 95, 0.065);
}

.mg-contact-info-card {
  padding: 30px;
}

.mg-contact-card-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 25px;
  margin-bottom: 25px;
  border-bottom: 1px solid #e8f0f4;
}

.mg-contact-heading-icon {
  display: flex;
  flex: 0 0 55px;
  width: 55px;
  height: 55px;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  background: linear-gradient(135deg, #0ea7a0, #086c99);
  box-shadow: 0 9px 22px rgba(8, 108, 153, 0.17);
  color: #ffffff;
  font-size: 22px;
}

.mg-contact-small-label {
  display: block;
  margin-bottom: 6px;
  color: #0b9294;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.mg-contact-card-heading h3 {
  margin: 0;
  color: #173b53;
  font-size: 23px;
  font-weight: 800;
}

/* Contact Details */

.mg-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 23px;
}

.mg-contact-detail-icon {
  display: flex;
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2f1f3;
  border-radius: 13px;
  background: #eef9fa;
  color: #078c94;
  font-size: 17px;
  transition: 0.3s ease;
}

.mg-contact-detail:hover .mg-contact-detail-icon {
  background: linear-gradient(135deg, #0ea7a0, #086c99);
  color: #ffffff;
}

.mg-contact-detail-content {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.mg-contact-detail-content h4 {
  margin: 0 0 6px;
  color: #183b53;
  font-size: 14px;
  font-weight: 800;
}

.mg-contact-detail-content p {
  margin: 0 0 4px;
  color: #718493;
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.mg-contact-detail-link {
  display: inline-block;
  color: #294b60;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.mg-contact-detail-link:hover {
  color: #0ea7a0;
}

.mg-contact-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  color: #078b92;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.mg-contact-text-link:hover {
  color: #086c99;
}

/* Contact Action Buttons */

.mg-contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 7px;
}

.mg-contact-call-btn,
.mg-contact-whatsapp-btn {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 15px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.mg-contact-call-btn {
  background: linear-gradient(135deg, #086c99, #0b899b);
  box-shadow: 0 7px 18px rgba(8, 108, 153, 0.14);
  color: #ffffff;
}

.mg-contact-call-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(8, 108, 153, 0.2);
  color: #ffffff;
}

.mg-contact-whatsapp-btn {
  border-color: #ccefe0;
  background: #edfaf3;
  color: #16834f;
}

.mg-contact-whatsapp-btn:hover {
  transform: translateY(-3px);
  background: #dff6e9;
  color: #0c7042;
}

/* ==========================================
   GOOGLE MAP
========================================== */

.mg-contact-map-card {
  overflow: hidden;
}

.mg-contact-map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 23px 25px;
}

.mg-contact-map-label {
  display: block;
  margin-bottom: 5px;
  color: #0a9295;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.mg-contact-map-heading h3 {
  margin: 0;
  color: #173b53;
  font-size: 19px;
  font-weight: 800;
}

.mg-contact-map-pin {
  display: flex;
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #eaf8f8;
  color: #0b9295;
  font-size: 19px;
}

.mg-contact-map-frame {
  overflow: hidden;
  width: 100%;
  height: 320px;
  background: #eaf3f7;
}

.mg-contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.mg-contact-map-directions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 23px;
  color: #087f8d;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.mg-contact-map-directions span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.mg-contact-map-directions > i {
  transition: transform 0.25s ease;
}

.mg-contact-map-directions:hover {
  color: #086c99;
}

.mg-contact-map-directions:hover > i {
  transform: translateX(4px);
}

/* ==========================================
   CONTACT FORM CARD
========================================== */

.mg-contact-form-card {
  padding: 35px;
}

.mg-contact-form-top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
}

.mg-contact-form-icon {
  display: flex;
  flex: 0 0 49px;
  width: 49px;
  height: 49px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #0ea7a0, #086c99);
  color: #ffffff;
  font-size: 20px;
}

.mg-contact-form-label {
  color: #0b9295;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.mg-contact-form-card > h3 {
  margin: 0 0 12px;
  color: #173b53;
  font-size: 27px;
  font-weight: 800;
}

.mg-contact-form-description {
  margin: 0 0 27px;
  color: #718493;
  font-size: 13px;
  line-height: 1.8;
}

/* Form Fields */

.mg-contact-form {
  display: grid;
  gap: 19px;
}

.mg-contact-field {
  min-width: 0;
}

.mg-contact-field > label {
  display: block;
  margin-bottom: 8px;
  color: #29475b;
  font-size: 12px;
  font-weight: 750;
}

.mg-contact-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 51px;
  padding: 0 15px;
  border: 1px solid #e0eaf0;
  border-radius: 12px;
  background: #fafdff;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.mg-contact-input-wrap:focus-within {
  border-color: #0ea7a0;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(14, 167, 160, 0.09);
}

.mg-contact-input-wrap > i {
  flex: 0 0 15px;
  color: #7f9aa8;
  font-size: 14px;
  text-align: center;
}

.mg-contact-input-wrap input,
.mg-contact-input-wrap textarea {
  width: 100%;
  min-width: 0;
  padding: 14px 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #183b53;
  font-family: inherit;
  font-size: 13px;
  box-shadow: none;
}

.mg-contact-input-wrap input::placeholder,
.mg-contact-input-wrap textarea::placeholder {
  color: #9aabb6;
}

.mg-contact-textarea-wrap {
  align-items: flex-start;
  padding-top: 3px;
}

.mg-contact-textarea-wrap > i {
  margin-top: 15px;
}

.mg-contact-input-wrap textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.7;
}

/* Submit Button */

.mg-contact-submit-btn {
  display: flex;
  width: 100%;
  min-height: 53px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #0ea7a0, #086c99);
  box-shadow: 0 10px 24px rgba(8, 108, 153, 0.17);
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.mg-contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(8, 108, 153, 0.25);
}

.mg-contact-submit-btn i {
  transition: transform 0.25s ease;
}

.mg-contact-submit-btn:hover i {
  transform: translateX(4px);
}

.mg-contact-form-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: #8495a1;
  font-size: 11px;
  line-height: 1.7;
}

.mg-contact-form-note i {
  margin-top: 3px;
  color: #0ea7a0;
}

/* Existing status message */

.mg-contact-form-message {
  padding: 14px;
  border: 1px solid #d8eaf0;
  border-radius: 12px;
  background: #f2fafc;
  color: #536e7e;
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.mg-contact-form-message a {
  color: #087f8d;
  font-weight: 700;
}

/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 991.98px) {
  .mg-contact-section {
    padding: 80px 0;
  }

  .mg-contact-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .mg-contact-left {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 20px;
  }

  .mg-contact-info-card {
    padding: 24px;
  }

  .mg-contact-map-card {
    min-width: 0;
  }

  .mg-contact-map-heading {
    padding: 20px;
  }

  .mg-contact-map-frame {
    height: 300px;
  }

  .mg-contact-form-card {
    padding: 30px;
  }
}

/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 767.98px) {
  .mg-contact-section {
    padding: 60px 0;
  }

  .mg-contact-heading {
    margin-bottom: 35px;
  }

  .mg-contact-heading h2 {
    font-size: clamp(30px, 8vw, 38px);
    letter-spacing: -0.8px;
  }

  .mg-contact-heading > p {
    font-size: 13px;
    line-height: 1.8;
  }

  .mg-contact-left {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mg-contact-info-card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .mg-contact-card-heading {
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 22px;
  }

  .mg-contact-heading-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 19px;
  }

  .mg-contact-card-heading h3 {
    font-size: 21px;
  }

  .mg-contact-detail {
    gap: 12px;
    margin-bottom: 21px;
  }

  .mg-contact-detail-icon {
    flex-basis: 39px;
    width: 39px;
    height: 39px;
    border-radius: 11px;
    font-size: 15px;
  }

  .mg-contact-detail-content p {
    font-size: 12px;
  }

  .mg-contact-detail-link {
    font-size: 12px;
  }

  .mg-contact-actions {
    gap: 9px;
  }

  .mg-contact-call-btn,
  .mg-contact-whatsapp-btn {
    gap: 7px;
    padding: 12px 9px;
    font-size: 11px;
  }

  .mg-contact-map-heading {
    padding: 20px;
  }

  .mg-contact-map-heading h3 {
    font-size: 18px;
  }

  .mg-contact-map-frame {
    height: 280px;
  }

  .mg-contact-map-directions {
    padding: 16px;
    font-size: 11px;
  }

  .mg-contact-form-card {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .mg-contact-form-card > h3 {
    font-size: 24px;
  }

  .mg-contact-form-description {
    font-size: 12px;
  }

  .mg-contact-form {
    gap: 17px;
  }
}

/* Small mobile */

@media (max-width: 380px) {
  .mg-contact-actions {
    grid-template-columns: 1fr;
  }

  .mg-contact-map-frame {
    height: 240px;
  }

  .mg-contact-map-directions {
    align-items: flex-start;
    font-size: 10px;
  }

  .mg-contact-form-card {
    padding: 23px 16px;
  }

  .mg-contact-input-wrap {
    padding: 0 11px;
  }
}