/* Design tokens from Figma */
:root {
  /* Colors */
  --color-white: #FFFFFF;
  --color-accent-red: #B03C31;
  --color-bg-light: #F9F9F9;
  --color-header: #161C28;
  --color-nav-inactive: rgba(255, 255, 255, 0.7);
  --color-btn-primary: #F1A33E;
  --color-btn-text: #141313;
  --color-hero-subtext: #EEEEEE;
  --color-btn-yellow: #FFB901;
  --color-btn-yellow-alt: #FFB900;
  --color-heading: #252A34;
  --color-line-accent: #D01E00;
  --color-line-muted: rgba(0, 0, 0, 0.25);
  --color-body: #444444;
  --color-input-bg: #D9D9D9;
  --color-placeholder: #E4E3E3;
  --color-footer-muted: #D3D3D3;
  --color-dot: #A6A6A6;
  --color-border: #DEDEDE;
  --color-stroke: #F1F5F9;
  --color-testimonial-text: #45556C;
  --color-name: #0F172B;
  --color-role: #62748E;
  --color-testimonials-bg: rgba(243, 243, 243, 0.5);
  --color-card-subtext: #777777;
  --color-form-bg: #FDFDFD;
  --color-form-border: #D9D7D7;
  --color-submit: #E2584B;
  --color-dark: #2F2A2E;
  --color-contact-red: #E2584B;
  --color-placeholder-text: #777777;
  --color-get-in-touch-line: rgba(0, 0, 0, 0.2);

  /* Typography */
  --font-playfair: 'Playfair Display', serif;
  --font-montserrat: 'Montserrat', sans-serif;
  --font-poppins: 'Poppins', sans-serif;
  --font-inter: 'Inter', sans-serif;

  --text-nav: 16px;
  --text-nav-weight: 400;
  --text-nav-active-weight: 700;
  --text-nav-lh: 1.5em;

  --text-btn: 18px;
  --text-btn-md: 16px;
  --text-btn-weight: 500;
  --text-btn-lh: 1.5em;

  --text-hero: 58px;
  --text-hero-weight: 700;
  --text-hero-lh: 1.086em;

  --text-hero-sub: 18px;
  --text-hero-sub-lh: 1.667em;

  --text-h2: 39px;
  --text-h2-weight: 700;
  --text-h2-lh: 1.282em;

  --text-label: 18px;
  --text-label-weight: 600;
  --text-label-lh: 1.556em;

  --text-body: 18px;
  --text-body-lh: 1.667em;

  --text-card-title: 18.77px;
  --text-card-title-weight: 700;
  --text-card-desc: 16px;
  --text-card-desc-lh: 1.642em;

  --text-testimonial: 18.48px;
  --text-testimonial-lh: 1.5em;
  --text-testimonial-name: 18.48px;
  --text-testimonial-name-weight: 700;
  --text-testimonial-role: 13.86px;
  --text-testimonial-role-lh: 1.333em;

  --text-footer: 16px;
  --text-footer-lh: 1.875em;
  --text-footer-link: 18px;
  --text-footer-title: 18px;
  --text-footer-title-weight: 500;
  --text-footer-small: 14px;
  --text-footer-small-lh: 2.143em;

  --text-form-label: 16px;
  --text-form-label-weight: 500;
  --text-form-placeholder: 14px;
  --text-form-placeholder-lh: 1.429em;
  --text-contact: 16px;
  --text-contact-weight: 600;
  --text-get-in-touch: 20px;
  --text-get-in-touch-weight: 600;
  --text-get-in-touch-lh: 1.4em;

  /* Spacing (Figma: 10, 16, 18, 20, 24, 32, etc.) */
  --space-4: 4px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-14: 14px;
  --space-16: 16px;
  --space-18: 18px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-36: 36px;
  --space-40: 40px;
  --space-48: 48px;
  --space-60: 60px;
  --space-80: 80px;
  --space-116: 116px;
  --space-122: 122px;
  --gutter: 24px;
  /* Section spacing (Figma-aligned) */
  --section-padding-y: 100px;
  --section-padding-y: 70px;
  --section-padding-y-md: 60px;
  --section-padding-y-sm: 48px;
  --label-to-title: 16px;
  --title-to-content: 56px;
  --content-to-button: 24px;
  --between-blocks: 14px;

  /* Border radius */
  --radius-10: 10px;
  --radius-15: 15px;
  --radius-16: 16px;
  --radius-18: 18.48px;
  --radius-19: 19px;
  --radius-22: 22px;
  --radius-70: 70px;

  /* Layout */
  --header-height: 120px;
  --header-height-mobile: 70px;
  --hero-height: 710px;
  --container-max: 1200px;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-montserrat);
  font-size: var(--text-body);
  line-height: var(--text-body-lh);
  color: var(--color-body);
  background: var(--color-white);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* Fix header spacing when admin bar is visible */
body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}


/* 12-column grid */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}
@media (min-width: 576px) { .container { padding-left: var(--gutter); padding-right: var(--gutter); } }
@media (min-width: 1200px) { .container { padding-left: var(--space-24); padding-right: var(--space-24); } }

.row {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  margin-left: calc(var(--gutter) / -2);
  margin-right: calc(var(--gutter) / -2);
}
.row > [class*="col-"] {
  padding-left: calc(var(--gutter) / 2);
  padding-right: calc(var(--gutter) / 2);
}

[class*="col-"] {
  flex: 0 0 auto;
}

.col-1 { width: 8.333333%; }
.col-2 { width: 16.666667%; }
.col-3 { width: 25%; }
.col-4 { width: 33.333333%; }
.col-5 { width: 41.666667%; }
.col-6 { width: 50%; }
.col-7 { width: 58.333333%; }
.col-8 { width: 66.666667%; }
.col-9 { width: 75%; }
.col-10 { width: 83.333333%; }
.col-11 { width: 91.666667%; }
.col-12 { width: 100%; }

@media (min-width: 576px) {
  .col-sm-1 { width: 8.333333%; }
  .col-sm-2 { width: 16.666667%; }
  .col-sm-3 { width: 25%; }
  .col-sm-4 { width: 33.333333%; }
  .col-sm-5 { width: 41.666667%; }
  .col-sm-6 { width: 50%; }
  .col-sm-7 { width: 58.333333%; }
  .col-sm-8 { width: 66.666667%; }
  .col-sm-9 { width: 75%; }
  .col-sm-10 { width: 83.333333%; }
  .col-sm-11 { width: 91.666667%; }
  .col-sm-12 { width: 100%; }
}
@media (min-width: 768px) {
  .col-md-1 { width: 8.333333%; }
  .col-md-2 { width: 16.666667%; }
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.333333%; }
  .col-md-5 { width: 41.666667%; }
  .col-md-6 { width: 50%; }
  .col-md-7 { width: 58.333333%; }
  .col-md-8 { width: 66.666667%; }
  .col-md-9 { width: 75%; }
  .col-md-10 { width: 83.333333%; }
  .col-md-11 { width: 91.666667%; }
  .col-md-12 { width: 100%; }
}
@media (min-width: 992px) {
  .col-lg-1 { width: 8.333333%; }
  .col-lg-2 { width: 16.666667%; }
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.333333%; }
  .col-lg-5 { width: 41.666667%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.333333%; }
  .col-lg-8 { width: 66.666667%; }
  .col-lg-9 { width: 75%; }
  .col-lg-10 { width: 83.333333%; }
  .col-lg-11 { width: 91.666667%; }
  .col-lg-12 { width: 100%; }
}
@media (min-width: 1200px) {
  .col-xl-1 { width: 8.333333%; }
  .col-xl-2 { width: 16.666667%; }
  .col-xl-3 { width: 25%; }
  .col-xl-4 { width: 33.333333%; }
  .col-xl-5 { width: 41.666667%; }
  .col-xl-6 { width: 50%; }
  .col-xl-7 { width: 58.333333%; }
  .col-xl-8 { width: 66.666667%; }
  .col-xl-9 { width: 75%; }
  .col-xl-10 { width: 83.333333%; }
  .col-xl-11 { width: 91.666667%; }
  .col-xl-12 { width: 100%; }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--color-header);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}
.header-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}
.header-logo .logo-img {
  height: 82px;
  width: auto;
  /* max-width: 280px; */
  max-width: 330px;
  object-fit: contain;
  display: block;
}
@media (max-width: 991px) {
  .header-logo .logo-img {
    height: 60px;
    max-width: 220px;
  }
}
@media (max-width: 575px) {
  .header-logo .logo-img {
    height: 50px;
    max-width: 180px;
  }
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;
  margin-right: var(--space-8);
}
.header-nav a {
  font-family: var(--font-playfair);
  font-size: var(--text-nav);
  font-weight: var(--text-nav-weight);
  line-height: var(--text-nav-lh);
  color: var(--color-nav-inactive);
  text-decoration: none;
  padding: var(--space-10) var(--space-12);
  white-space: nowrap;
}
.header-nav a.active,
.header-nav a:hover {
  color: var(--color-white);
  font-weight: var(--text-nav-active-weight);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-10) var(--space-16);
  background: var(--color-btn-primary);
  border: none;
  border-radius: var(--radius-10);
  font-family: var(--font-playfair);
  font-size: var(--text-btn);
  font-weight: var(--text-btn-weight);
  line-height: var(--text-btn-lh);
  color: var(--color-btn-text);
  cursor: pointer;
  text-decoration: none;
  text-transform: none;
}
.header-cta:hover,
.header-cta:focus {
  opacity: 0.95;
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

/* Hero section - Full width with card slider */
.hero {
  margin-top: var(--header-height);
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  background: #F5F5F5;
  position: relative;
  width: 100%;
}
@media (max-width: 991px) {
  .hero {
    padding-top: var(--section-padding-y-md);
    padding-bottom: var(--section-padding-y-md);
  }
}
@media (max-width: 575px) {
  .hero {
    margin-top: var(--header-height-mobile);
    padding-top: var(--section-padding-y-sm);
    padding-bottom: var(--section-padding-y-sm);
  }
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: var(--space-32);
  width: 650px;
  max-width: 100%;
}
@media (max-width: 991px) {
  .hero .row {
    flex-direction: column;
  }
  .hero-content {
    padding-right: 0;
    margin-bottom: var(--space-40);
    text-align: center;
    width: 100%;
    order: 1;
  }
  .hero-image-col {
    width: 100%;
    order: 2;
  }
  .row.align-items-center {
    align-items: stretch;
  }
}
@media (max-width: 767px) {
  .hero-content {
    margin-bottom: var(--space-32);
    width: 100%;
  }

  section.front-page .container.about-detail-hero-inner{
    grid-template-columns: 1fr;
  }


  .plans-slider{
        gap:16px;
        overflow-x:auto;
        scroll-snap-type:x mandatory;
        padding:20px 0 4px;
    }

    .plans-slider article.plan-card{
        flex:0 0 100%;
        max-width:100%;
        scroll-snap-align:start;
    }

    /* optional: smaller arrows on mobile */
    .slider-arrow{
        width:40px;
        height:40px;
        font-size:20px;
    }

    .slider-prev{
        left:10px;
    }

    .slider-next{
        right:10px;
    }



}





@media (max-width: 575px) {
  .hero-content {
    margin-bottom: var(--space-24);
    width: 100%;
  }


  .fullwidth-image-slider-wrapper, .fullwidth-image-slider .swiper-slide{
        min-height: auto !important;
        max-height: 300px;
  }
  .fullwidth-image-slider{
    max-height: 300px;
    overflow: hidden;
  }
  
  .about-section-first {
    margin-top: 0px !important;
    }


}
.hero-title {
  font-family: var(--font-playfair);
  font-size: clamp(32px, 5vw, var(--text-hero));
  font-weight: var(--text-hero-weight);
  line-height: var(--text-hero-lh);
  color: var(--color-heading);
  margin: 0 0 var(--space-24);
  text-align: left;
}
.hero-title .text-red {
  color: var(--color-accent-red);
}
@media (max-width: 991px) {
  .hero-title {
    text-align: center;
  }
}
@media (max-width: 575px) {
  .hero-title {
    font-size: clamp(28px, 6vw, 40px);
  }
}
.hero-subtitle {
  font-family: var(--font-montserrat);
  font-size: var(--text-hero-sub);
  line-height: var(--text-hero-sub-lh);
  color: var(--color-body);
  margin: 0 0 var(--space-32);
  max-width: 100%;
  text-align: left;
}
@media (max-width: 991px) {
  .hero-subtitle {
    text-align: center;
  }
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-10);
  justify-content: flex-start;
}
@media (max-width: 991px) {
  .hero-buttons {
    justify-content: center;
  }
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-16) var(--space-32);
  border-radius: var(--radius-10);
  border: none;
  font-family: var(--font-montserrat);
  font-size: var(--text-btn-md);
  font-weight: var(--text-btn-weight);
  line-height: var(--text-btn-lh);
  color: var(--color-btn-text);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .hero-btn {
    padding: var(--space-14) var(--space-24);
    font-size: 15px;
  }
}
@media (max-width: 575px) {
  .hero-btn {
    padding: var(--space-12) var(--space-20);
    font-size: 14px;
    width: 100%;
    white-space: normal;
  }
}
.hero-btn.primary {
  background: #FFD700;
  color: var(--color-btn-text);
  transition: background 0.3s ease, transform 0.2s ease;
}
.hero-btn.primary:hover,
.hero-btn.primary:focus {
  background: #e5c200;
  transform: translateY(-2px);
}
.hero-btn.secondary {
  background: var(--color-btn-yellow);
  color: var(--color-btn-text);
}
.hero-btn:hover,
.hero-btn:focus {
  outline: none;
}
.hero-btn:active {
  transform: translateY(0);
}
.hero-image-col {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: var(--space-24);
  width: 100%;
}
@media (max-width: 991px) {
  .hero-image-col {
    padding-left: 0;
    margin-top: var(--space-32);
    justify-content: center;
  }
}

/* Hero Hospital Slider */
.hero-slider-wrapper,
.fullwidth-image-slider-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  /* margin-top: 100px; */

}
.fullwidth-image-slider {
  width: 100%;
  margin: 40px 0 0;
  padding: 0;
}
.fullwidth-image-slider-wrapper {
  max-width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 40px);
}
.fullwidth-image-slider .swiper-slide {
  width: 100%;
  min-height: calc(100vh - 40px);
  display: flex;
  align-items: center;
}
.fullwidth-image-slider .swiper-slide img {
  width: 100%;
  /* height: 700px; */
  object-fit: cover;
  display: block;
  margin-top: 40px;

}
.fullwidth-image-slider .swiper-pagination {
  position: absolute;
  bottom: 20px;
  /* left: 50%; */
  /* transform: translateX(-50%); */
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 10px;
  width: auto;
}
.fullwidth-image-slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  opacity: 1;
  border: 1px solid rgba(0, 0, 0, 0.2);
}
.fullwidth-image-slider .swiper-pagination-bullet.active {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(0, 0, 0, 0.4);
}
.hero-slider-shadow {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  pointer-events: none;
  z-index: 200;
  background: linear-gradient(to left, 
    rgba(0, 0, 0, 0.3) 0%, 
    rgba(0, 0, 0, 0.2) 15%, 
    rgba(0, 0, 0, 0.12) 35%, 
    rgba(0, 0, 0, 0.06) 60%, 
    rgba(0, 0, 0, 0.02) 85%, 
    transparent 100%
  );
  box-shadow: inset -25px 0 50px -25px rgba(0, 0, 0, 0.4);
  opacity: 1;
  visibility: visible;
}
.hero-slider-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 30%, rgba(255, 255, 255, 0.3) 60%, transparent 100%);
  pointer-events: none;
  z-index: 150;
}
.hero-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  gap: var(--space-20);
  align-items: stretch;
  margin: 0;
  padding: 0;
}
.hero-hospital-card {
  flex: 0 0 calc(50% - 10px);
  min-width: calc(50% - 10px);
  background: var(--color-white);
  border: 1px solid #E0E0E0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  position: relative;
}
.hero-hospital-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}
.hero-hospital-image {
  width: 100%;
  height: 380px;
  overflow: hidden;
  position: relative;
  border-radius: 18px 18px 0 0;
  border-bottom: none;
  padding: 20px;
  box-sizing: border-box;
  margin: 0;
}
.hero-hospital-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px;
  margin: 0;
  position: relative;
  z-index: 1;
}
.hero-hospital-info {
  padding: var(--space-20);
  background: var(--color-white);
}
.hero-hospital-name {
  font-family: var(--font-playfair);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4em;
  color: var(--color-heading);
  margin: 0 0 var(--space-8);
  text-transform: none;
}
.hero-hospital-location {
  font-family: var(--font-montserrat);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5em;
  color: #777777;
  margin: 0;
}
.hero-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-10);
  margin-top: var(--space-24);
}
.hero-slider-dots.swiper-pagination {
  padding: 0;
}
.hero-slider-dots .swiper-pagination-bullet {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid var(--color-heading);
  background: transparent;
  opacity: 1;
  margin: 0;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.hero-slider-dots .swiper-pagination-bullet:hover {
  background: rgba(37, 42, 52, 0.3);
}
.hero-slider-dots .swiper-pagination-bullet.active {
  background: var(--color-heading);
  border-color: var(--color-heading);
}

.hero-slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(37, 42, 52, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 250;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}
.hero-slider-button:hover {
  background: #fff;
  border-color: var(--color-heading);
}
.hero-slider-button::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.hero-slider-button-prev {
  left: 0;
  transform: translateY(-50%) rotate(-135deg);
}
.hero-slider-button-next {
  right: 0;
  transform: translateY(-50%) rotate(45deg);
}
.hero-slider-button:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}


/* Desktop: First card fully visible, second card half visible */
@media (min-width: 992px) {
  .hero-slider-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
  }
  .hero-slider-track {
    gap: var(--space-16);
    width: auto;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
  }
  .hero-hospital-card {
    flex: 0 0 calc(50% - 8px);
    min-width: calc(50% - 8px);
    max-width: calc(50% - 8px);
    width: calc(50% - 8px);
    position: relative;
  }
  
  /* Blur effect using ::after pseudo-element on entire card (image + text) */
  .hero-hospital-card.next-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    border-radius: 0 18px 18px 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.7) 20%, rgba(255, 255, 255, 0.5) 40%, rgba(255, 255, 255, 0.3) 60%, rgba(255, 255, 255, 0.1) 80%, transparent 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    will-change: backdrop-filter;
  }
  
  /* First card (active card): fully visible, no blur overlay */
  .hero-hospital-card.active-card::after {
    display: none;
  }

  /* Overlay image for half-visible cards */
  .hero-card-overlay-image {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 100%;
    pointer-events: none;
    z-index: 101;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Align to extreme right edge of the section when card is half-visible */
    transform: translateX(0);
  }

  .hero-card-overlay-image img {
    max-width: none;
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
  }

  /* Show overlay image only on next-card (half-visible card) */
  .hero-hospital-card.next-card .hero-card-overlay-image {
    opacity: 1;
    visibility: visible;
  }

  /* Hide overlay image on active-card (fully visible card) */
  .hero-hospital-card.active-card .hero-card-overlay-image {
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 991px) {
  .hero-slider-wrapper {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
  }
  .hero-slider-track {
    gap: var(--space-16);
    width: 100%;
  }
  .hero-hospital-card {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
  }
  .hero-hospital-image {
    height: 240px;
  }
  /* Hide overlay image on mobile/tablet */
  .hero-card-overlay-image {
    display: none;
  }
  .hero-slider-shadow {
    display: none;
  }
}
@media (max-width: 767px) {
  .hero-slider-track {
    gap: var(--space-16);
    width: 100%;
  }
  .hero-hospital-card {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
  }
  .hero-hospital-image {
    height: 220px;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-btn {
    width: 100%;
  }
}
@media (max-width: 575px) {
  .hero-image-col {
    margin-top: var(--space-24);
    width: 100%;
  }
  .hero-slider-wrapper {
    max-width: 100%;
    width: 100%;
  }
  .hero-slider-track {
    gap: var(--space-14);
  }
  .hero-hospital-card {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
  }
  .hero-hospital-image {
    height: 200px;
    padding: 16px;
  }
  .hero-hospital-info {
    padding: var(--space-16);
  }
  .hero-hospital-name {
    font-size: 16px;
  }
  .hero-hospital-location {
    font-size: 14px;
  }
  .hero-slider-dots {
    margin-top: var(--space-20);
  }
  .hero-title {
    margin-bottom: var(--space-20);
  }
  .hero-subtitle {
    margin-bottom: var(--space-24);
    font-size: 16px;
  }
  .hero-buttons {
    margin-top: var(--space-16);
    flex-direction: column;
    width: 100%;
  }
  .hero-btn {
    width: 100%;
    padding: var(--space-14) var(--space-24);
  }
}

/* Section common - Figma spacing */
section {
  padding-top: var(--section-padding-y);
  /* padding-bottom: var(--section-padding-y); */
}
.section-label {
  font-family: var(--font-poppins);
  font-size: var(--text-label);
  font-weight: var(--text-label-weight);
  line-height: var(--text-label-lh);
  /* color: var(--color-heading); */
  color: var(--color-btn-primary);
  text-transform: none;
  margin: 0 0 var(--label-to-title);
  display: flex;
  align-items: center;
  gap: var(--space-16);
}
.section-label::after {
  content: '';
  width: 60px;
  height: 1px;
  background: #00000040;
}
.section-title {
  font-family: var(--font-playfair);
  font-size: clamp(28px, 3vw, var(--text-h2));
  font-weight: var(--text-h2-weight);
  line-height: var(--text-h2-lh);
  color: var(--color-heading);
  text-transform: none;
  margin: 0 0 var(--title-to-content);
  word-wrap: break-word;
}
@media (max-width: 767px) {
  .section-title {
    font-size: clamp(24px, 4vw, 30px);
    line-height: 1.3;
  }
}
@media (max-width: 575px) {
  .section-title {
    font-size: clamp(22px, 5vw, 26px);
    line-height: 1.3;
  }
}
.section-title .text-red, .text-red {
  color: var(--color-accent-red);
}
.section-title .text-accent {
  color: var(--color-btn-primary);
}

/* About */
.about-section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}
.about-section-first {
  /* margin-top: var(--header-height); */
}
.about-section .section-label::after { 
  display: block; 
  background: var(--color-line-accent);
}
.align-items-center { align-items: center; }
.about-content .section-title { margin-bottom: 21px; }
.about-text {
  font-family: var(--font-montserrat);
  font-size: var(--text-body);
  line-height: var(--text-body-lh);
  color: var(--color-body);
  margin: 0 0 var(--content-to-button);
  max-width: 472px;
  width: 100%;
}
.about-buttons {
  display: flex;
  align-items: center;
}
@media (max-width: 991px) {
  .about-text {
    max-width: 100%;
  }
}
.about-image-wrap {
  border-radius: var(--radius-16);
  overflow: hidden;
  aspect-ratio: 666 / 468;
  max-width: 666px;
  margin-left: auto;
  position: relative;
  background: var(--color-bg-light);
}
.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-16);
}
@media (max-width: 991px) {
  .about-section .row {
    flex-direction: column;
  }
  .about-image-wrap { 
    margin-left: 0; 
    max-width: 100%; 
    aspect-ratio: 16 / 11;
    width: 100%;
  }
  .about-content { 
    margin-bottom: var(--space-32);
    width: 100%;
  }
  .about-content .section-title { margin-bottom: 18px; }
  .about-image-col {
    width: 100%;
    order: 2;
  }
  .about-content {
    order: 1;
  }
}
@media (max-width: 767px) {
  .about-content .section-title { margin-bottom: 16px; }
  .about-image-wrap {
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 575px) {
  .about-image-wrap {
    aspect-ratio: 4 / 3;
  }
  .about-content .section-title { margin-bottom: 14px; }
  .about-text {
    font-size: 14px;
  }
}
.hero.hero-section-second {
  margin-top: 0;
}
@media (max-width: 991px) {
  .about-section-first {
    margin-top: var(--header-height-mobile);
  }
}

/* Infrastructure grid (Figma: no slider, grid + buttons) */
.infrastructure {
  background: var(--color-white);
  padding-top: var(--section-padding-y);
  /* Adjust bottom padding so button to next section gap can be controlled precisely */
  padding-bottom: 63px;
}
.infrastructure .section-label { margin-bottom: var(--label-to-title); }
.infrastructure .section-title { margin-bottom: 34px; }
.infrastructure-grid-wrap { margin-top: 0; }
.infrastructure-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto auto;
  gap: var(--between-blocks);
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .infrastructure-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--space-24);
  }
  .infra-card-large { grid-column: 1; grid-row: 1 / 3; }
  .infra-card-mid-top { grid-column: 2; grid-row: 1; }
  .infra-card-mid-bottom { grid-column: 2; grid-row: 2; }
  .infra-card-tall { display: none; }
}
@media (min-width: 992px) {
  .infrastructure-grid {
    grid-template-columns: 443fr 395fr 299fr;
    grid-template-rows: 250px 250px;
    gap: 20px 24px;
  }
  .infra-card-large { grid-column: 1; grid-row: 1 / 3; }
  .infra-card-mid-top { grid-column: 2; grid-row: 1; }
  .infra-card-mid-bottom { grid-column: 2; grid-row: 2; }
  .infra-card-tall { grid-column: 3; grid-row: 1 / 3; display: block; }
}
/* Exact gap between infra cards and button (63px) */
.infrastructure .plans-btn-wrapper {
  margin-top: 63px;
}
@media (max-width: 991px) {
  .infrastructure .section-title { margin-bottom: 28px; }
  .infrastructure-grid {
    grid-template-columns: 1fr;
    gap: var(--space-20);
  }
  .infra-card-large,
  .infra-card-mid-top,
  .infra-card-mid-bottom,
  .infra-card-tall {
    grid-column: 1;
    grid-row: auto;
    min-height: 250px;
  }
}
@media (max-width: 767px) {
  .infrastructure .section-title { margin-bottom: 24px; }
  .infrastructure-grid {
    gap: var(--space-18);
  }
  .infra-card-large,
  .infra-card-mid-top,
  .infra-card-mid-bottom,
  .infra-card-tall {
    min-height: 220px;
  }
}
@media (max-width: 575px) {
  .infrastructure .section-title { margin-bottom: 20px; }
  .infrastructure-grid {
    gap: var(--space-16);
  }
  .infra-card-large,
  .infra-card-mid-top,
  .infra-card-mid-bottom,
  .infra-card-tall {
    min-height: 200px;
  }
}
.infra-card {
  border-radius: var(--radius-16);
  overflow: hidden;
  position: relative;
  background: var(--color-bg-light);
}
.infra-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.infra-card-large { min-height: 280px; }
@media (min-width: 992px) {
  .infra-card-large { min-height: 524px; }
  .infra-card-mid-top, .infra-card-mid-bottom { min-height: 250px; }
  .infra-card-tall { min-height: 524px; }
}
.infra-card .infrastructure-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-24);
  background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
  font-family: var(--font-inter);
  font-size: var(--text-btn-md);
  font-weight: 500;
  line-height: 1.5em;
  letter-spacing: -0.02em;
  color: var(--color-white);
}
.infrastructure-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-18);
  margin-top: var(--between-blocks);
}
.infra-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-heading);
  border-radius: 50%;
  background: var(--color-white);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.infra-btn::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-left: 2px solid var(--color-heading);
  border-bottom: 2px solid var(--color-heading);
}
.infra-btn-prev::after { transform: translate(-30%, -50%) rotate(45deg); margin-left: 2px; }
.infra-btn-next::after { transform: translate(-70%, -50%) rotate(-135deg); margin-left: -2px; }
.infra-btn:hover, .infra-btn:focus { background: var(--color-bg-light); outline: 2px solid var(--color-heading); outline-offset: 2px; }
.infrastructure-dots {
  display: flex;
  gap: var(--space-10);
}
.infrastructure-dots button {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid var(--color-dark);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.infrastructure-dots button.active {
  background: var(--color-dark);
}

/* Plans */
.plans {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}
.plans .section-label { margin-bottom: var(--label-to-title); }
.plans .section-title { margin-bottom: 36px; }
.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--between-blocks);
  margin-top: 0;
}
.plans-btn-wrapper {
  text-align: center;
  margin-top: var(--content-to-button);
}
.plans-section-btn {
  display: inline-block;
  font-size: var(--text-btn);
  font-weight: 500;
}
@media (min-width: 768px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .plans-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .plans .section-title { margin-bottom: 44px; }
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-20);
  }
}
@media (max-width: 767px) {
  .plans .section-title { margin-bottom: 40px; }
  .plans-grid {
    grid-template-columns: 1fr;
    gap: var(--space-18);
  }
}
@media (max-width: 575px) {
  .plans .section-title { margin-bottom: 32px; }
  .plans-grid {
    gap: var(--space-16);
  }
  .plan-card-body {
    padding: 14px 18px 24px 18px;
  }
  .plan-card-title {
    font-size: 16px;
  }
  .plan-card-desc {
    font-size: 14px;
  }
}
.plan-card {
  border-radius: 15px;
  border: 1px solid #E2DFDF;
  <!-- box-shadow: 0 10px 10px -5px rgba(0,0,0,0.04), 0 20px 25px -5px rgba(0,0,0,0.08); -->
  background: var(--color-white);
  display: flex;
  flex-direction: column;
}
.plan-card-image {
  width: calc(100% - 30px);
  height: 213px;
  object-fit: cover;
  display: block;
  margin: 17px 15px 0 15px;
  border-radius: 15px;
}
@media (max-width: 767px) {
  .plan-card-image {
    height: 200px;
  }
}
@media (max-width: 575px) {
  .plan-card-image {
    height: 180px;
    width: calc(100% - 24px);
    margin: 14px 12px 0 12px;
  }
}
.plan-card-body {
  padding: 16px 20px 32px 20px;
  flex: 1;
}
.plan-card-title {
  font-family: var(--font-playfair);
  font-size: var(--text-card-title);
  font-weight: var(--text-card-title-weight);
  line-height: 1.4em;
  color: var(--color-heading);
  text-transform: none;
  margin: 0 0 var(--space-8);
}
.plan-card-desc {
  font-family: var(--font-playfair);
  font-size: var(--text-card-desc);
  font-weight: 500;
  line-height: var(--text-card-desc-lh);
  color: var(--color-card-subtext);
  text-transform: none;
  margin: 0;
}
.plan-card .hero-btn {
  margin-top: var(--space-16);
}

/* Testimonials */
.testimonials-section {
  background: var(--color-testimonials-bg);
  /* Adjust top padding so gap from previous section button to this label is 63px total */
  padding-top: 60px;
  padding-bottom: var(--section-padding-y);
  width: 100%;
  overflow-x: hidden;
}
.testimonials-section .container {
  max-width: var(--container-max);
  width: 100%;
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}
@media (min-width: 576px) {
  .testimonials-section .container {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
}
@media (min-width: 1200px) {
  .testimonials-section .container {
    padding-left: var(--space-24);
    padding-right: var(--space-24);
  }
}
.testimonials-section .container {
  text-align: left;
}
.testimonials-section .section-label {
  margin-bottom: var(--label-to-title);
  justify-content: left;
}
.testimonials-section .section-title {
  text-align: left;
  margin-bottom: 30px;
}
.testimonials-carousel {
  overflow: hidden;
  margin-top: 0;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 991px) {
  .testimonials-section .section-title { margin-bottom: 26px; }
  .testimonials-section .container {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
  }
}
@media (max-width: 767px) {
  .testimonials-section .section-title { margin-bottom: 24px; }
  .testimonials-section {
    padding-top: 48px;
  }
}
@media (max-width: 575px) {
  .testimonials-section .section-title { margin-bottom: 20px; }
  .testimonials-section {
    padding-top: 40px;
  }
  .testimonials-dots {
    margin-top: var(--space-24);
  }
}
.testimonials-track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
  width: 200%; /* 2 slides: each slide = 100% of container */
}
.testimonial-slide {
  flex: 0 0 50%;
  min-width: 0;
  width: 50%;
  padding: 0;
  display: flex;
  gap: var(--space-24);
  box-sizing: border-box;
  flex-shrink: 0;
}
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-18);
  border: 0.9px solid var(--color-stroke);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.1);
  padding: var(--space-36);
  display: flex;
  flex-direction: column;
  gap: var(--space-18);
  min-height: 279px;
  flex: 1 1 0;
  min-width: 0;
}
@media (min-width: 992px) {
  .testimonial-slide {
    gap: var(--space-24);
  }
  .testimonial-card {
    flex: 1 1 calc(50% - 12px);
/*    max-width: calc(50% - 12px); */
  }
}
@media (max-width: 991px) and (min-width: 768px) {
  .testimonial-slide {
    gap: var(--space-20);
  }
  .testimonial-card {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}
@media (max-width: 991px) {
  .testimonials-track {
    width: 100%;
  }
  .testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    flex-direction: column;
    gap: var(--space-20);
  }
  .testimonial-card {
    flex: 1 1 100%;
    max-width: 100%;
    min-height: auto;
  }
}
@media (max-width: 767px) {
  .testimonial-slide { 
    flex-direction: column; 
    gap: var(--space-16);
  }
  .testimonial-card { 
    flex: 1 1 100%;
    max-width: 100%;
    padding: var(--space-24);
    min-height: auto;
  }
  .testimonial-quote {
    font-size: 16px;
  }
}
@media (max-width: 575px) {
  .testimonial-card {
    padding: var(--space-20);
  }
  .testimonial-quote {
    font-size: 15px;
  }
  .testimonial-name {
    font-size: 16px;
  }
  .testimonial-role {
    font-size: 12px;
  }
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
  margin-top: 10px;
}
.testimonial-stars svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.testimonial-quote {
  font-family: var(--font-inter);
  font-size: var(--text-testimonial);
  line-height: var(--text-testimonial-lh);
  letter-spacing: -0.02em;
  color: var(--color-testimonial-text);
  margin: 0;
  flex: 1;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-18);
  margin-top: auto;
}
.testimonial-author--top {
  margin-top: 0;
  width: 100%;
  align-items: center;
}
.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}
.testimonial-name-line {
  margin: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
}
.testimonial-role-inline {
  font-family: var(--font-inter);
  font-size: 17px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--color-role);
}
.testimonial-hospital {
  margin: 0;
  display: block;
  width: 100%;
  text-align: left;
  font-size: 14px;
  line-height: 1.35;
  color: #45556c;
  font-family: var(--font-inter);
}
.testimonial-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testimonial-name {
  font-family: var(--font-inter);
  font-size: var(--text-testimonial-name);
  font-weight: var(--text-testimonial-name-weight);
  line-height: var(--text-testimonial-lh);
  letter-spacing: -0.02em;
  color: var(--color-name);
  margin: 0 0 4px 0;
}
.testimonial-name-line .testimonial-name {
  margin: 0;
}
.testimonial-role {
  font-family: var(--font-inter);
  font-size: var(--text-testimonial-role);
  font-weight: 500;
  line-height: var(--text-testimonial-role-lh);
  text-transform: none;
  color: var(--color-role);
  margin: 0;
}
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-10);
  margin-top: var(--space-32);
}
.testimonials-dots button {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid var(--color-dark);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.testimonials-dots button:hover {
  background: rgba(47, 42, 46, 0.3);
}
.testimonials-dots button.active {
  background: var(--color-dark);
}

/* Testimonials Page */
.testimonialspage-main {
  width: 100%;
  margin-top: var(--header-height);
  background: #f7f7f7;
  min-height: 100vh;
}
.testimonialspage-section {
  /* padding-top: 40px;
  padding-bottom: 56px; */
      padding: var(--section-padding-y) 0;
}
.testimonialspage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-24);
  max-width: 1120px;
  margin: 0 auto;
  align-items: stretch;
}
.testimonialspage-grid .testimonial-card {
  min-height: 260px;
  width: 100%;
  max-width: 100%;
  flex: none;
}
@media (max-width: 991px) {
  .testimonialspage-main {
    margin-top: var(--header-height-mobile);
  }
  .testimonialspage-section {
    padding-top: 28px;
    padding-bottom: 40px;
  }
  .testimonialspage-grid {
    grid-template-columns: 1fr;
    gap: var(--space-20);
  }
}

/* Contact Section - Figma match: px units, form heights uniform, red card alignment */
.contact-section {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  background: #ffffff;
  overflow: visible;
}
.contact-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  background: #F5F5F5;
  border-radius: 20px;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); */
}
.contact-card-wrapper {
  position: relative;
  margin-left: -24px;
  margin-right: -24px;
  overflow: visible;
}
.contact-row {
  position: relative;
  /* display: flex; */
  flex-wrap: wrap;
align-items: stretch;
  gap: 0;
  min-height: 731px;
}
/* Form column: white rounded rect 20px radius, 50px padding (Figma) */
/*
.contact-form-col {
  position: relative;
  flex: 0 1 58%;
  width: 100%;
  max-width: 700px;
  padding: 50px 0px 50px 50px;
  z-index: 1;
}
*/
.contact-form-col {
  position: relative;
  flex: 0 1 58%;
  /* width: 100%; */
  width: 50%;
  float: left;
  max-width: 650px;
  /* padding: 50px 0px 50px 50px; */
  padding: 50px;
  z-index: 1;
}
/* Red card: px positioning, top aligned with Name input, overlap 65px (Figma) */
/*
.contact-right-col {
  position: absolute;
  right: -44px;
  top: 110px;
  bottom: auto;
  width: min(465px, 42%);
  max-width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  z-index: 2;
  pointer-events: none;
}
*/
.contact-right-col {
  /* position: absolute; */
  right: -44px;
  top: 110px;
  bottom: auto;
  /* width: min(465px, 42%); */
  width: 50%;
  /* max-width: 100%; */
  max-width: 650px;
  padding: 50px;
  height: auto;
  display: flex;
  flex-direction: column;
  z-index: 2;
  pointer-events: none;
}
.contact-right-col > * {
  pointer-events: auto;
}
.get-in-touch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.get-in-touch-label {
  font-family: var(--font-montserrat);
  font-size: 14px;
  font-weight: 400;
  color: #6C757D;
  text-transform: none;
  letter-spacing: 0;
}
.get-in-touch-line {
  display: inline-block;
  width: 30px;
  height: 1px;
  background: #212529;
}
.send-title {
  font-family: var(--font-playfair);
  font-size: 39px;
  font-weight: 700;
  line-height: 1.28;
  color: #212529;
  margin: 0 0 25px 0;
  letter-spacing: 0;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 100%;
}
.form-group-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 25px;
}
.form-group-row-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
  margin-bottom: 25px;
}
.form-group-half {
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-group-wrapper:last-of-type {
  margin-bottom: 30px;
}
.form-label {
  font-family: var(--font-montserrat);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #212529;
}
.form-input {
  width: 100%;
  height: 45px;
  padding: 0 18px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  /* background: #F5F5F5; */
  font-family: var(--font-montserrat);
  font-size: 16px;
  line-height: 45px;
  color: #212529;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.form-textarea {
  width: 100%;
  height: 110px;
  min-height: 110px;
  padding: 12px 18px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  /* background: #F5F5F5; */
  font-family: var(--font-montserrat);
  font-size: 16px;
  line-height: 1.5;
  color: #212529;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  resize: vertical;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #FFC107;
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.25);
}
.form-input[aria-invalid="true"],
.form-textarea[aria-invalid="true"] {
  border-color: #c00;
  box-shadow: 0 0 0 2px rgba(204, 0, 0, 0.15);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: #6C757D;
}
.form-submit {
  align-self: flex-start;
  width: 100px;
  height: 45px;
  padding: 0 20px;
  background: #FFC107;
  border: none;
  border-radius: 8px;
  font-family: var(--font-montserrat);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  /* color: #ffffff; */
  cursor: pointer;
  transition: background 0.3s ease, transform 0.1s ease;
  box-sizing: border-box;
}
.form-submit:hover,
.form-submit:focus {
  background: #e6ac00;
  outline: none;
}
.form-submit:active {
  transform: translateY(1px);
}
/* Red contact card: Figma #FF5247, 20px radius, 20px padding, speech bubble bottom-right */
.contact-info-panel {
  background: #FF5247;
  padding: 20px 20px 24px 20px;
  border-radius: 20px;
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 400px;
  /* z-index: 1; */
  box-shadow: 0 8px 24px rgba(255, 82, 71, 0.25);
}
.contact-info-panel::after {
  content: '';
  position: absolute;
  right: 10px;
  bottom: -37px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 40px 35px;
  border-color: transparent transparent #B03C31 transparent;
  z-index: -1;
  transform: rotate(180deg);
}
.contact-panel-title {
  font-family: var(--font-playfair);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.28;
  color: #ffffff;
  margin: 0 0 20px 0;
}
.contact-details {
  margin-bottom: 20px;
}
.contact-detail-item {
  font-family: var(--font-montserrat);
  font-size: 15px;
  line-height: 1.6;
  color: #ffffff;
  margin: 0 0 10px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.contact-detail-item:last-child {
  margin-bottom: 0;
}
.contact-icon {
  flex-shrink: 0;
  font-size: 18px;
}
.contact-text {
  flex: 1;
}
.contact-text strong {
  font-weight: 600;
}
.contact-map-embedded {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 0;
  flex: 1 1 auto;
  max-height: 185px;
  min-height: 185px;
  display: block;
  background: rgba(0, 0, 0, 0.08);
  position: relative;
}
.contact-map-embedded iframe {
  width: 100%;
  height: 100%;
  border: 0;
  position: absolute;
  top: 0;
  left: 0;
}
.contact-map-embedded img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 10px;
  vertical-align: middle;
}
@media (max-width: 991px) {
  .contact-map-embedded {
    max-height: 220px;
    min-height: 220px;
  }
}
@media (max-width: 767px) {
  .contact-map-embedded {
    max-height: 200px;
    min-height: 200px;
  }
}
@media (max-width: 575px) {
  .contact-map-embedded {
    max-height: 180px;
    min-height: 180px;
  }
}
/* Contact responsive: stacked, px values */
@media (max-width: 991px) {
  .contact-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .contact-card-wrapper {
    margin-left: 0;
    margin-right: 0;
  }
  .contact-row {
    flex-direction: column;
    gap: var(--space-24);
    min-height: 0;
    display: flex;
  }
  .contact-form-col {
    position: relative;
    flex: 1 1 100%;
    max-width: none;
    width: 100%;
    padding: 40px 24px 40px 24px;
    order: 2;
    border-radius: 20px;
  }
  .contact-right-col {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-left: 0;
    flex: 1 1 100%;
    order: 1;
  }
  .contact-info-panel {
    padding: 20px 20px 24px 20px;
    border-radius: 20px;
  }
  .contact-info-panel::after {
    display: none;
  }
}
@media (max-width: 767px) {
  .contact-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .contact-container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .contact-form-col {
    padding: 32px 20px 32px 20px;
    border-radius: 16px;
    width: 100%;
    max-width: 100%;
  }
  .send-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .form-group-wrapper {
    margin-bottom: 20px;
  }
  .form-group-row-wrapper {
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
  }
  .form-group-wrapper:last-of-type {
    margin-bottom: 24px;
  }
  .form-group-half {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
  }
  .contact-right-col {
    min-width: 0;
    width: 100%;
    padding: 32px 20px;
    position: relative;
    right: auto;
    top: auto;
  }
  .contact-info-panel {
    padding: 18px 16px 20px 16px;
    min-height: auto;
  }
  .contact-panel-title {
    font-size: 28px;
    margin-bottom: 16px;
  }
  .contact-map-embedded {
    max-height: 240px;
    min-height: 200px;
  }
  .contact-map-embedded iframe {
    width: 100%;
    height: 100%;
    min-height: 200px;
  }
}
@media (max-width: 575px) {
  .contact-section {
    padding-top: var(--section-padding-y-sm);
    padding-bottom: var(--section-padding-y-sm);
  }
  .contact-container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .contact-row {
    gap: var(--space-20);
  }
  .contact-form-col {
    padding: 24px 16px;
  }
  .contact-right-col {
    padding: 24px 16px;
  }
  .contact-info-panel {
    padding: 18px 16px 20px 16px;
  }
}
@media (max-width: 480px) {
  .form-group-row-wrapper {
    flex-direction: column;
    gap: 0;
  }
  .form-group-half {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
  }
  .contact-form-col {
    padding: 24px 16px 24px 16px;
  }
  .send-title {
    font-size: 24px;
    margin-bottom: 18px;
  }
  .form-input,
  .form-textarea {
    font-size: 14px;
  }
  .form-label {
    font-size: 14px;
  }
  .contact-panel-title {
    font-size: 24px;
  }
  .contact-detail-item {
    font-size: 14px;
  }
  .contact-map-embedded {
    max-height: 200px;
    min-height: 180px;
  }
}

/* Footer - match reference: dark bg, generous padding, two columns, separator */
.site-footer {
  background: #1A1D28;
  color: #E0E0E0;
  /* padding-top: 56px; */
  padding-top: var(--section-padding-y);
  padding-bottom: 30px;
  position: relative;
  /* Above .back-to-top (1000) so legal links in the bottom-right stay clickable. */
  z-index: 1002;
}
.footer-container {
  max-width: 1200px;
  /* margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px; */
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-bottom: 0;
}
@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    gap: 60px;
    align-items: start;
    justify-content: space-between;
  }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  flex: 1 1 auto;
}
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.footer-logo img,
.footer-logo .logo-img {
  height: auto;
  max-width: 310px;
  width: auto;
  object-fit: contain;
}
.footer-brand-text {
  font-family: var(--font-montserrat);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4em;
  color: #E0E0E0;
  margin: 0 0 20px 0;
}
.footer-brand-text span {
  display: block;
  font-weight: 500;
}
.footer-about {
  font-family: var(--font-montserrat);
  font-size: 16px;
  line-height: 1.6em;
  color: #E0E0E0;
  max-width: 435px;
  margin: 0 0 28px 0;
}
.footer-contact-number {
  margin: 0;
  font-family: var(--font-montserrat);
  font-size: 16px;
  line-height: 1.5;
  color: #E0E0E0;
}
.footer-contact-number a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 6px;
}
.footer-contact-number a:hover,
.footer-contact-number a:focus {
  text-decoration: underline;
}
.footer-newsletter {
  width: 100%;
  max-width: 410px;
}
/* MC4WP Form Container */
.footer-newsletter .mc4wp-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}
.mc4wp-form-fields{
  display: flex;
  align-items: center;
  align-items: center;
  border: 1px solid #ffffff;
  border-radius: 70px;
  overflow: hidden;
  width: 100%;
  min-height: 56px;
  padding-right: 7px;
  background: transparent;
}

.footer-newsletter .mc4wp-form form {
  order: 1;
  display: flex;
  align-items: center;
  border: 1px solid #ffffff;
  border-radius: 70px;
  overflow: hidden;
  width: 100%;
  min-height: 56px;
  padding-right: 7px;
  background: transparent;
  margin: 0;
}
.footer-newsletter .mc4wp-form p {
  margin: 0;
  display: flex;
  align-items: center;
  flex: 1;
}
/* .footer-newsletter .mc4wp-form .mc4wp-response {
  order: 2;
  width: 100%;
  font-family: var(--font-montserrat);
  font-size: 14px;
  line-height: 1.4;
  color: #E0E0E0;
  margin-top: 8px;
}
.footer-newsletter .mc4wp-form .mc4wp-response p {
  margin: 0;
  display: block;
} */
/* Hide honeypot label
.footer-newsletter .mc4wp-form label[for*="honeypot"],
.footer-newsletter .mc4wp-form label:has(input[name="_mc4wp_honeypot"]) {
  display: none !important;
} */
.footer-newsletter .mc4wp-form input[name="_mc4wp_honeypot"] {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.footer-newsletter input[type="email"],
.footer-newsletter input[type="text"]:not([name="_mc4wp_honeypot"]) {
  flex: 1;
  padding: 17px 20px;
  border: none;
  background: transparent;
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5em;
  color: #E0E0E0;
  min-width: 0;
  outline: none;
}
.footer-newsletter input[type="email"]::placeholder,
.footer-newsletter input[type="text"]:not([name="_mc4wp_honeypot"])::placeholder {
  color: rgba(224, 224, 224, 0.7);
}
.footer-newsletter button,
.footer-newsletter button[type="submit"],
.footer-newsletter input[type="submit"] {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border: none;
  border-radius: 50%;
  background: #FFD700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease, opacity 0.2s ease;
  padding: 0;
  color: transparent;
  font-size: 0;
}
.footer-newsletter button:hover,
.footer-newsletter button[type="submit"]:hover,
.footer-newsletter input[type="submit"]:hover {
  background: #e5c200;
  opacity: 0.95;
}
.footer-newsletter button img {
  width: 24px;
  height: 24px;
  display: block;
}
/* MC4WP submit button styling */
.footer-newsletter .mc4wp-form input[type="submit"] {
  background: #FFD700 url("../images/arrow-right.svg") no-repeat center;
  background-size: 24px 24px;
}
.footer-newsletter .mc4wp-form input[type="submit"]:hover {
  background-color: #e5c200;
  background-image: url("../images/arrow-right.svg");
  background-size: 24px 24px;
}
.footer-links-col {
  min-width: 0;
  flex: 0 0 auto;
  margin-top: 30px;

}
.footer-links-title {
  font-family: var(--font-montserrat);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.22em;
  color: #E0E0E0;
  margin: 0 0 26px 0;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  row-gap: 15px;
  column-gap: 10px;
}
.footer-links li {
  flex: 0 0 calc(50% - 16px);
}
.footer-links a {
  font-family: var(--font-montserrat);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35em;
  color: #E0E0E0;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: #ffffff;
}
.footer-separator {
  height: 1px;
  background: #6A6E78;
  margin: 36px 0 28px 0;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-copyright {
  font-family: var(--font-montserrat);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5em;
  color: #E0E0E0;
  margin: 0;
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 35px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-family: var(--font-montserrat);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5em;
  color: #E0E0E0;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-legal a:hover {
  color: #ffffff;
}
.footer-legal .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6A6E78;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .site-footer {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .footer-container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .footer-top {
    gap: 36px;
  }
  .footer-brand-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
  }
  .footer-logo img,
  .footer-logo .logo-img {
    max-width: 160px;
  }
  .footer-about {
    margin-bottom: 22px;
    max-width: 100%;
  }
  .footer-newsletter form {
    max-width: 100%;
  }
  .footer-links-title {
    margin-bottom: 20px;
  }
  .footer-links {
    row-gap: 14px;
    column-gap: 24px;
  }
  .footer-links li {
    flex: 0 0 calc(50% - 12px);
  }
  .footer-separator {
    margin: 28px 0 22px 0;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-copyright {
    font-size: 14px;
    text-align: left;
  }
  .footer-legal {
    justify-content: flex-start;
  }
}
@media (max-width: 575px) {
  .footer-container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .footer-brand-text {
    font-size: 15px;
  }
  .footer-about {
    font-size: 15px;
  }
  .footer-links {
    row-gap: 12px;
    column-gap: 0;
  }
  .footer-links li {
    flex: 0 0 100%;
  }
  .footer-links-title {
    font-size: 17px;
    margin-bottom: 18px;
  }
  .footer-links a {
    font-size: 15px;
  }
  .footer-newsletter form {
    min-height: 50px;
  }
  .footer-newsletter button {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Responsive utilities - prevent overflow */
/* Ensure all containers are responsive */
.container,
.contact-container {
  width: 100%;
  overflow-x: hidden;
}

/* Prevent horizontal scroll */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Responsive table and form elements */
table {
  width: 100%;
  table-layout: auto;
  word-wrap: break-word;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  max-width: 100%;
  box-sizing: border-box;
}

/* Ensure videos and embeds are responsive */
iframe,
embed,
object,
video {
  max-width: 100%;
}

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}
.hamburger-line {
  width: 100%;
  height: 3px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}
.header-cta-mobile {
  display: none;
}

/* Mobile and Tablet Responsive */
@media (max-width: 991px) {
  .site-header .container {
    gap: var(--space-16);
    position: relative;
  }
  .header-logo {
    flex: 0 0 auto;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .header-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-header);
    flex-direction: column;
    align-items: stretch;
    padding: 0 var(--space-24);
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 999;
  }
  .header-nav.is-open {
    max-height: 600px;
    padding: var(--space-24);
  }
  .header-nav a {
    font-size: 14px;
    padding: var(--space-14) var(--space-16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    text-align: left;
  }
  .header-nav a:last-of-type {
    border-bottom: none;
  }
  .header-cta {
    display: none;
  }
  .header-cta-mobile {
    display: inline-flex;
    margin-top: var(--space-16);
    width: 100%;
    justify-content: center;
    padding: var(--space-14) var(--space-24);
    background: var(--color-btn-primary);
    border-radius: var(--radius-10);
    font-family: var(--font-playfair);
    font-size: var(--text-btn-md);
    font-weight: var(--text-btn-weight);
    color: var(--color-btn-text);
    text-transform: none;
    text-decoration: none;
  }
}
@media (max-width: 575px) {
  .site-header {
    height: var(--header-height-mobile);
  }
  .site-header .container {
    gap: var(--space-12);
  }
  .header-nav {
    top: var(--header-height-mobile);
  }
  .mobile-menu-toggle {
    width: 22px;
    height: 22px;
  }
  .hamburger-line {
    height: 2.5px;
  }
  .hero {
    margin-top: var(--header-height-mobile);
  }
}
@media (max-width: 575px) {
  .hero { 
    min-height: auto;
    padding-top: var(--section-padding-y-sm);
    padding-bottom: var(--section-padding-y-sm);
  }
  .contact-grid { grid-template-columns: 1fr; }
  .form-group-row { grid-template-columns: 1fr; }
  .contact-info { order: -1; }
  
  /* Ensure all columns stack properly */
  [class*="col-"] {
    width: 100% !important;
    max-width: 100%;
  }
  
  /* Section titles responsive */
  .section-title {
    font-size: clamp(24px, 5vw, 28px);
    line-height: 1.3;
  }
  
  /* Buttons full width on mobile */
  .hero-btn,
  .plans-section-btn {
    width: 100%;
    text-align: center;
  }
  
  /* Infrastructure grid mobile */
  .infrastructure-grid {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }
  .infra-card-large,
  .infra-card-mid-top,
  .infra-card-mid-bottom,
  .infra-card-tall {
    grid-column: 1;
    grid-row: auto;
    min-height: 200px;
  }
  
  /* Plans grid mobile */
  .plans-grid {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }
  
  /* Footer mobile adjustments */
  .footer-top {
    flex-direction: column;
    gap: var(--space-32);
  }
  .footer-brand,
  .footer-links-col {
    width: 100%;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--color-accent-red);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.back-to-top:hover {
  background: #9a3329;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.back-to-top:active {
  transform: translateY(-1px);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 767px) {
  .back-to-top {
    bottom: 60px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
}

/* Responsive section spacing (Figma-aligned) */
@media (max-width: 991px) {
  :root {
    /* Spacing */
    --section-padding-y: 60px;
    --label-to-title: 14px;
    --title-to-content: 20px;
    --content-to-button: 20px;
    --between-blocks: 20px;
    /* Typography – tablet */
    --text-body: 16px;
    --text-nav: 15px;
    --text-h2: 34px;
    --text-hero: 48px;
    --text-hero-sub: 16px;
    --text-btn: 16px;
    --text-label: 17px;
  }
}
@media (max-width: 767px) {
  :root {
    /* Spacing */
    --section-padding-y: 48px;
    --section-padding-y-md: 48px;
    --section-padding-y-sm: 40px;
    --label-to-title: 12px;
    --title-to-content: 18px;
    --content-to-button: 18px;
    --between-blocks: 18px;
    /* Typography – large mobile */
    --text-body: 15px;
    --text-nav: 14px;
    --text-h2: 30px;
    --text-hero: 40px;
    --text-hero-sub: 15px;
    --text-btn: 15px;
    --text-label: 16px;
  }
}
@media (max-width: 575px) {
  :root {
    /* Spacing */
    --section-padding-y: 40px;
    --section-padding-y-sm: 36px;
    --label-to-title: 10px;
    --title-to-content: 16px;
    --content-to-button: 16px;
    --between-blocks: 16px;
    /* Typography – small mobile */
    --text-body: 14px;
    --text-nav: 13px;
    --text-h2: 26px;
    --text-hero: 32px;
    --text-hero-sub: 14px;
    --text-btn: 14px;
    --text-label: 15px;
  }
}

/* Affiliated hospitals page v2 (screenshot matched) */
.ah2-page {
  margin-top: var(--header-height);
  /* background: #f6f6f6;
  padding: 24px 0 56px; */
      background: #fff;
      padding: var(--section-padding-y) 0;
  width: 100%;
  overflow-x: hidden;
}

.ah2-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.ah2-hero-head {
  text-align: center;
  margin-bottom: 18px;
  margin-bottom: 20px;
  margin-top: 30px;
}

.ah2-title {
  margin: 0 0 8px;
  font-family: var(--font-playfair);
  font-size: clamp(26px, 3vw, 56px);
  line-height: 1.15;
  color: #161c28;
}

.ah2-subtitle {
  margin: 0 auto;
  max-width: 860px;
  font-size: 18px;
  line-height: 1.55;
  color: #707070;
}

.ah2-hero-image-wrap {
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 34px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.ah2-hero-image {
  width: 100%;
  height: clamp(240px, 34vw, 520px);
  object-fit: cover;
  display: block;
}

.ah2-listing-section {
  padding-top: 8px;
}

.ah2-label {
  margin: 0 0 10px;
  font-family: var(--font-poppins);
  font-size: 13px;
  font-weight: 500;
  color: #666;
}

.ah2-heading {
  margin: 0 0 24px;
  font-family: var(--font-playfair);
  font-size: clamp(24px, 2.4vw, 44px);
  line-height: 1.2;
  color: #1f2430;
}

.ah2-heading span {
  color: #cc2b1d;
}

.ah2-grid {
  display: grid;
  grid-template-columns: repeat(3, 390px);
  justify-content: center;
  gap: 16px;
}

.ah2-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.ah2-card {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(18, 39, 67, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 390px;
  min-height: 334px;
  display: flex;
  flex-direction: column;
  padding: 10px 15px 16px;
}

.ah2-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(18, 39, 67, 0.14);
}

.ah2-card-image-wrap {
  width: 360px;
  height: 213px;
  margin: 0 auto;
  flex-shrink: 0;
}

.ah2-card-image {
  width: 360px;
  height: 213px;
  object-fit: cover;
  border-radius: 15px;
  display: block;
}

.ah2-card-body {
  padding: 16px 0 0;
  min-height: 95px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ah2-card-title {
  margin: 0 0 6px;
  font-family: var(--font-playfair);
  font-size: 19px;
  line-height: 1.25;
  color: #1f2430;
  display: -webkit-box;
  <!-- -webkit-line-clamp: 1; -->
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ah2-card-text {
  margin: 0;
  font-family: var(--font-playfair);
  font-size: 16px;
  line-height: 1.45;
  color: #8a8a8a;
  display: -webkit-box;
  <!-- -webkit-line-clamp: 2; -->
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ah2-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  color: #666;
  font-size: 14px;
}

@media (max-width: 1199px) {
  .ah2-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 14px;
  }

  .ah2-card {
    width: 100%;
    min-height: 300px;
    padding: 10px 12px 14px;
  }

  .ah2-card-image-wrap,
  .ah2-card-image {
    width: 100%;
    height: 195px;
  }

  .ah2-card-title { font-size: 14px; }
  .ah2-card-text { font-size: 12px; }
}

@media (max-width: 991px) {
  .ah2-page {
    margin-top: var(--header-height-mobile);
  }
}

@media (max-width: 767px) {
  .ah2-page {
    padding: 16px 0 40px;
  }

  .ah2-container {
    padding: 0 14px;
  }

  .ah2-hero-image-wrap {
    margin-bottom: 22px;
  }

  .ah2-hero-head {
    text-align: left;
  }

  .ah2-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ah2-card {
    min-height: 0;
    padding: 10px 10px 12px;
  }

  .ah2-card-image-wrap,
  .ah2-card-image {
    width: 100%;
    height: 190px;
  }

  .ah2-card-title { font-size: 16px; }
  .ah2-card-text { font-size: 13px; }
}

/* Hospital detail page */
.hospital-detail-page {
  margin-top: var(--header-height);
}

.hospital-detail-hero {
  background: #f4f4f4;
  padding: 44px 0 34px;
}

.hospital-detail-hero-inner,
.about-detail-hero-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.hospital-detail-copy {
  max-width: 520px;
}

.hospital-detail-title {
  margin: 0 0 14px;
  font-family: var(--font-playfair);
  font-size: clamp(28px, 3vw, var(--text-h2));
  line-height: 1.05;
  color: #111827;
  
  /* text-transform: uppercase; */
}

.hospital-detail-short {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.7;
  color: #4f5a6a;
  max-width: 460px;
}

.hospital-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 8px;
  background: #ffbf17;
  color: #1b1b1b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.hospital-detail-btn:hover {
  background: #e8ad08;
  transform: translateY(-1px);
}

.hospital-detail-image-wrap,
.about-detail-image-wrap{
  border-radius: 8px;
  overflow: hidden;
}

.hospital-detail-image,
.about-detail-image{
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
}

.hospital-detail-body {
  background: #f5f7fa;
  padding: 38px 0 48px;
}

.hospital-detail-body-title {
  margin: 0 0 16px;
  font-family: var(--font-playfair);
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.25;
  color: #ffffff;
  text-transform: uppercase;
}

.hospital-detail-content {
  color: #dce4f0;
  font-size: 18px;
  line-height: 1.75;
}

.hospital-detail-content p {
  margin: 0 0 12px;
}

.hospital-detail-content ul {
  margin: 0 0 14px 20px;
}

/* About page (screenshot-aligned) */
.aboutpage-main {
  margin-top: var(--header-height);
  background: white;
  /* padding: 44px 0 40px; */
  padding: 44px 0 0;
}
.aboutpage-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.aboutpage-section {
  padding-top: 0;
}
.aboutpage-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-bottom: 34px;
}
.aboutpage-topbar-copy {
  max-width: 770px;
}
.aboutpage-topbar-title {
  margin: 0 0 12px;
  font-family: var(--font-playfair);
  color: #161c28;
  font-size: 56px;
  line-height: 1.08;
  font-weight: 700;
}
.aboutpage-topbar-text {
  margin: 0;
  color: #5c6068;
  font-size: 18px;
  line-height: 1.58;
}
.aboutpage-longcopy {
  max-width: 1240px;
  margin: 0 0 56px;
}
.aboutpage-longcopy-title {
  margin: 0 0 18px;
  font-family: var(--font-playfair);
  color: #161c28;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 700;
}
.aboutpage-longcopy .aboutpage-topbar-text {
  margin: 0 0 18px;
}
.aboutpage-longcopy .aboutpage-topbar-text:last-child {
  margin-bottom: 0;
}
.aboutpage-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 56px;
  padding: 16px 28px;
  border-radius: 12px;
  background: #ffbf17;
  color: #131722;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.aboutpage-gallery-top {
  display: grid;
  grid-template-columns: 707px 473px;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 100px;
}
.aboutpage-media-card,
.aboutpage-team-card {
  /* background: #ffffff;
  border: 1px solid #dfdfdf;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08); */
}
.aboutpage-media-card {
  padding: 10px;
  width: 100%;
  height: 357px;
}
.aboutpage-media-card img {
  width: 100%;
  height: 337px;
  border-radius: 12px;
  object-fit: cover;
}
.aboutpage-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.aboutpage-feature-copy-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 8px 0 0;
  width: 495px;
}
.aboutpage-label {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #1c2434;
  display: flex;
  align-items: center;
  gap: 10px;
}
.aboutpage-label::after {
  content: "";
  width: 48px;
  height: 1px;
  background: #c94131;
}
.aboutpage-title {
  margin: 0 0 18px;
  font-family: var(--font-playfair);
  font-size: 39px;
  line-height: 1.16;
  font-weight: 700;
  color: #1f2430;
}
.aboutpage-title span {
  color: #c8261b;
}
.aboutpage-description {
  margin: 0;
  color: #525865;
  font-size: 18px;
  line-height: 1.58;
  max-width: 585px;
}
.aboutpage-feature-image-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}
.aboutpage-feature-image-wrap {
  border-radius: 12px;
  overflow: hidden;
}
.aboutpage-intro-image {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
}
.aboutpage-textband {
  background: #161c28;
  margin-top: 100px;
  padding: 44px 0;
}
.aboutpage-textband p {
  margin: 0;
  color: #e6ebf4;
  font-size: 36px;
  line-height: 1.9;
  text-align: justify;
}
.aboutpage-team-section {
  /* padding-top: 52px;
  padding-bottom: 80px; */
  padding-top: calc(var(--section-padding-y) - 10px);
  padding-bottom: calc(var(--section-padding-y) - 24px);
}
.aboutpage-team-label {
  margin: 0 0 12px;
  font-family: var(--font-poppins);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: #2a2f3a;
  display: flex;
  align-items: center;
  gap: 12px;
}
.aboutpage-team-label::after {
  content: "";
  width: 50px;
  height: 1px;
  background: rgba(0, 0, 0, 0.22);
}
.aboutpage-team-title {
  margin: 0 0 30px;
  font-family: var(--font-playfair);
  color: #1f2430;
  font-size: 39px;
  line-height: 1.17;
}
.aboutpage-team-title span {
  color: #cc2b1d;
}
.aboutpage-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.aboutpage-team-card {
  padding: 30px 22px 24px;
  text-align: center;
}
.aboutpage-team-card img {
  width: 250px;
  height: 250px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  border: 6px solid #f5f5f5;
  background: #ffffff;
  margin: 0 auto 18px;
  display: block;
}
.aboutpage-team-card h3 {
  margin: 12px 0 2px;
  font-family: var(--font-playfair);
  color: #1f2430;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}
.aboutpage-team-card p {
  margin: 0;
  color: #8b8e95;
  font-size: 16px;
  font-family: var(--font-playfair);
  line-height: 1.45;
}

.aboutpage-hospitals-section {
  padding-top: 100px;
  padding-bottom: 24px;
}
.aboutpage-hospitals-label {
  margin: 0 0 12px;
  font-family: var(--font-poppins);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: #2a2f3a;
  display: flex;
  align-items: center;
  gap: 12px;
}
.aboutpage-hospitals-label::after {
  content: "";
  width: 50px;
  height: 1px;
  background: rgba(0, 0, 0, 0.22);
}
.aboutpage-hospitals-title {
  margin: 0 0 30px;
  font-family: var(--font-playfair);
  color: #1f2430;
  font-size: 39px;
  line-height: 1.17;
}

/* Images page */

section.imagepage-grid-section {
    background: #fff;
	padding-bottom: var(--section-padding-y);
}

.imagepage-main {
  margin-top: var(--header-height);
  background: #f9f9f9;
  min-height: 100vh;
  padding: 48px 0 0;
}
.imagepage-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  /* padding: 0 20px; */
  padding: 0;
}
.imagepage-hero {
  margin-bottom: 28px;
}
.imagepage-label {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #233047;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.imagepage-label::after {
  content: "";
  width: 44px;
  height: 1px;
  background: #cc2b1d;
}
.imagepage-title {
  margin: 0 0 12px;
  font-family: var(--font-playfair);
  color: #121b2d;
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
}
.imagepage-title span {
  color: #cc2b1d;
}
.imagepage-subtitle {
  margin: 0;
  max-width: 860px;
  color: #596170;
  font-size: 18px;
  line-height: 1.6;
}
.imagepage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.imagepage-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #ffffff;
  border: 1px solid #dbe2ec;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 29, 54, 0.08);
}
.imagepage-image-link {
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}
.imagepage-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}
.imagepage-card:hover .imagepage-image {
  transform: scale(1.04);
}
.imagepage-card-body {
  padding: 14px 14px 16px;
}
.imagepage-card-title {
  margin: 0;
  color: #152033;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
}
.imagepage-card-caption {
  margin: 8px 0 0;
  color: #677286;
  font-size: 15px;
  line-height: 1.55;
}
.imagepage-pagination {
  margin-top: 28px;
}
.imagepage-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.imagepage-pagination a,
.imagepage-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #d4dde8;
  color: #1f2b3f;
  background: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.imagepage-pagination .current {
  background: #ffbf17;
  border-color: #ffbf17;
  color: #1a2334;
}
.imagepage-empty {
  padding: 40px 24px;
  text-align: center;
  background: #ffffff;
  border: 1px dashed #cfd8e6;
  border-radius: 14px;
}
.imagepage-empty p {
  margin: 0;
  color: #5e6778;
  font-size: 16px;
}

/* ── Lightbox ─────────────────────────────────────────────── */
.imagelb-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
}
.imagelb-overlay[hidden] {
  display: none;
}
.imagelb-content {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.imagelb-img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  display: block;
}
.imagelb-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10001;
}
.imagelb-close:hover {
  background: rgba(255, 255, 255, 0.28);
}
.imagelb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.14);
  border: none;
  color: #fff;
  font-size: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10001;
}
.imagelb-arrow:hover {
  background: rgba(255, 255, 255, 0.30);
}
.imagelb-prev {
  left: 18px;
}
.imagelb-next {
  right: 18px;
}
@media (max-width: 600px) {
  .imagelb-arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .imagelb-prev { left: 8px; }
  .imagelb-next { right: 8px; }
}
/* ── /Lightbox ────────────────────────────────────────────── */


@media (max-width: 1024px) {
  .imagepage-title {
    font-size: 42px;
  }
  .imagepage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .imagepage-main {
    padding: 32px 0 56px;
  }
  .imagepage-title {
    font-size: 32px;
  }
  .imagepage-subtitle {
    font-size: 16px;
  }
  .imagepage-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}
.aboutpage-hospitals-title span {
  color: #cc2b1d;
}
.aboutpage-hospitals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 50px;
  align-items: stretch;
}
.aboutpage-hospital-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}
.aboutpage-hospital-card {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 15px;
  box-shadow: 0 6px 16px rgba(18, 39, 67, 0.08);
  padding: 10px 10px 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.aboutpage-hospital-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(18, 39, 67, 0.14);
}
.aboutpage-hospital-image-wrap {
  width: 100%;
}
.aboutpage-hospital-image {
  width: 100%;
  height: 213px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.aboutpage-hospital-body {
  padding: 10px 2px 2px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.aboutpage-hospital-card-title {
  margin: 0 0 4px;
  font-family: var(--font-playfair);
  color: #1f2430;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
  min-height: 1.25em;
}
.aboutpage-hospital-card-text {
  margin: 0;
  color: #8a8a8a;
  font-size: 16px;
  font-family: var(--font-playfair);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 1.45em;
  max-height: 2.9em;
}
.aboutpage-hospitals-cta {
  display: flex;
  justify-content: center;
}
.aboutpage-hospitals-viewall-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 129px;
  min-height: 56px;
  padding: 10px 20px;
  border-radius: 10px;
  background: #ffbf17;
  color: #1a1a1a;
  font-family: var(--font-montserrat);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.aboutpage-hospitals-viewall-btn:hover {
  background: #e8ad08;
  transform: translateY(-1px);
}
.aboutpage-hospitals-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  color: #666;
  font-size: 14px;
}

@media (max-width: 991px) {
  .aboutpage-main {
    margin-top: var(--header-height-mobile);
    padding: 22px 0 34px;
  }
  .aboutpage-container {
    padding: 0 16px;
  }
  .aboutpage-topbar {
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 20px;
  }
  .aboutpage-topbar-title,
  .aboutpage-title,
  .aboutpage-team-title,
  .aboutpage-hospitals-title {
    font-size: 32px;
  }
  .aboutpage-topbar-text,
  .aboutpage-description {
    font-size: 16px;
    line-height: 1.65;
  }
  .aboutpage-longcopy-title {
    font-size: 30px;
    margin-bottom: 14px;
  }
  .aboutpage-longcopy {
    margin-bottom: 40px;
  }
  .aboutpage-longcopy .aboutpage-topbar-text {
    margin-bottom: 14px;
  }
  .aboutpage-gallery-top,
  .aboutpage-feature-row {
    gap: 14px;
  }
  .aboutpage-media-card img {
    height: 220px;
  }
  .aboutpage-intro-image {
    min-height: 280px;
  }
.aboutpage-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .aboutpage-team-card img {
    width: 150px;
    height: 150px;
  }
  .aboutpage-hospital-image {
    height: 190px;
  }
  .aboutpage-team-card h3,
  .aboutpage-hospital-card-title {
    font-size: 20px;
  }
  .aboutpage-team-card p,
  .aboutpage-hospital-card-text {
    font-size: 16px;
  }
  .aboutpage-team-label {
    font-size: 16px;
  }
  .aboutpage-hospitals-label {
    font-size: 15px;
    gap: 9px;
  }
  .aboutpage-hospitals-label::after {
    width: 40px;
  }
  .aboutpage-hospitals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .aboutpage-hospital-card-title {
    font-size: 18px;
  }
  .aboutpage-hospital-card-text {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .aboutpage-topbar,
  .aboutpage-gallery-top,
  .aboutpage-feature-row,
  .aboutpage-team-grid,
  .aboutpage-hospitals-grid {
    grid-template-columns: 1fr;
    display: grid;
  }
  .aboutpage-topbar {
    gap: 10px;
  }
  .aboutpage-download-btn {
    justify-self: start;
    min-height: 42px;
    min-width: 132px;
    padding: 10px 16px;
    font-size: 14px;
  }
  .aboutpage-topbar-title,
  .aboutpage-title,
  .aboutpage-team-title,
  .aboutpage-hospitals-title {
    font-size: 29px;
  }
  .aboutpage-longcopy-title {
    font-size: 25px;
  }
  .aboutpage-feature-copy-card {
    padding: 18px;
  }
  .aboutpage-media-card img {
    height: 190px;
  }
  .aboutpage-intro-image {
    min-height: 220px;
  }
  .aboutpage-team-grid {
    grid-template-columns: 1fr;
  }
  .aboutpage-team-card img {
    width: 140px;
    height: 140px;
  }
  .aboutpage-hospital-image {
    height: 188px;
  }
  .aboutpage-team-card h3,
  .aboutpage-hospital-card-title {
    font-size: 18px;
  }
  .aboutpage-team-card p,
  .aboutpage-hospital-card-text {
    font-size: 14px;
  }
  .aboutpage-team-label {
    font-size: 14px;
    gap: 8px;
  }
  .aboutpage-team-label::after {
    width: 36px;
  }
  .aboutpage-hospitals-label {
    font-size: 14px;
    gap: 8px;
  }
  .aboutpage-hospitals-label::after {
    width: 36px;
  }
  .aboutpage-hospitals-viewall-btn {
    min-width: 96px;
    min-height: 40px;
    padding: 8px 18px;
    font-size: 14px;
  }
  .aboutpage-textband {
    margin-top: 18px;
    padding: 30px 0;
  }
  .aboutpage-team-section {
    padding-bottom: 72px;
  }
} 

@media (max-width: 991px) {
  .hospital-detail-page {
    margin-top: var(--header-height-mobile);
  }

  .hospital-detail-hero {
    padding: 28px 0 20px;
  }

  .hospital-detail-hero-inner,
  .about-detail-hero-inner{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hospital-detail-image {
    height: 250px;
  }

  .hospital-detail-body {
    padding: 28px 0 36px;
  }
}







/* FULL WIDTH SECTION (like body background) */
.director-section {
  width: 100%;
  background: #f9f9f9; /*  change this OR add image */
  padding: var(--section-padding-y) 20px;
}

/* CENTER CARD */
.director-section .director-wrapper {
  max-width: 1200px;
  margin: auto;
  background: #ffffff;
  border-radius: 24px;
  padding: 50px;
  display: flex;
  align-items: center;
  gap: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* IMAGE */
.director-section .director-image {
  flex: 0 0 280px;
  display: flex;
  justify-content: center;
}

.director-section .director-image img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid #f1a33e70;
}

/* CONTENT */
.director-section .director-content {
  flex: 1;
}

/* TEXT */
.director-section .director-content h2,
.director-section .director-info h4 {
  font-size: clamp(28px, 3vw, var(--text-h2));
  line-height: 1.3; 
  color: #111;
  font-weight: 700;
  /* margin-bottom: 18px; */
   margin: 0; 
}

.director-section .director-content span,
.director-section .director-content p,
.director-section .director-info p {
  font-size: 18px;
  line-height: 1.5;
  color: #555;
      margin-top: 0;
}

.director-section .director-content span {
  display: block;
  margin-bottom: 15px;
  color: #f1a33e;
  font-weight: 600;
  text-transform: uppercase;
}

.director-section .director-info {
  margin-top: 25px;
}

/* MOBILE */
@media (max-width: 900px) {
  .director-section .director-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 35px 25px;
  }

  .director-section .director-image img {
    width: 220px;
    height: 220px;
  }
}





section.hub-area-wrapper{
padding-top:0;
padding-bottom: var(--section-padding-y);
}
section.medical-hub-section{
/* padding-bottom:0; */
}

.hub-area-wrapper .container {
    overflow: visible;
}

.medical-hub-section{
      position:relative;
      padding:70px 20px 140px;
      /*background:
        linear-gradient(rgba(33,20,15,0.78), rgba(33,20,15,0.78)),
        url('https://images.unsplash.com/photo-1586773860418-d37222d8fce3?q=80&w=1600&auto=format&fit=crop');*/
        background-image: url(https://mahamedicaltourism.com/assets/hub-bg-Cv-4WbTl.png);
      background-size:cover;
      background-position:center;
      overflow:hidden;
    }

    .container{
      width:100%;
      max-width:1200px;
      margin:auto;
    }

    .medical-hub-section-title{
      text-align:center;
      font-size:39px;
      font-weight:700;
      line-height:1.3;
      margin-bottom:50px;
    }

    h2.medical-hub-medical-hub-section-title {
    	margin-bottom: 70px;
	}

h2.medical-hub-medical-hub-section-title {
    color: #fff;
}
    /* TOP COUNT BOXES */
    .count-grid{
      display:grid;
      grid-template-columns:repeat(3, 1fr);
      gap:25px;
          padding-bottom: 30px;
    }

    .count-box{
      border:1px solid rgba(255,255,255,0.35);
      border-radius:14px;
      padding:20px 24px;
      backdrop-filter: blur(3px);
      background:rgba(255,255,255,0.03);
      transition:0.3s ease;
      min-height:110px;
    }

    .count-box:hover{
      transform:translateY(-5px);
      border-color:#ff8b2c;
    }

    .count-head{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      margin-bottom:18px;
    }

    .count{
      font-size:28px;
      line-height:1;
      font-weight:800;
      color:#ff8b2c;
    }

    .count-icon{
      font-size:28px;
      color:#fff;
      opacity:0.9;
    }

    .count-content{
      font-size:16px;
      line-height:1.4;
      font-weight:600;
      text-transform:capitalize;
      color:#fff;
    }

    /* WHITE CARD SECTION */
    .services-wrapper{
      position:relative;
      margin-top:-90px;
    }

    .services-grid{
      display:grid;
      grid-template-columns:repeat(4,1fr);
      gap:28px;
    }

    .service-card{
      background:#fff;
      color:#222;
      border-radius:18px;
      /* padding:38px 28px; */
      padding: 22px 28px 16px;
      text-align:center;
      /* box-shadow:0 10px 35px rgba(0,0,0,0.08); */
          border: 1px solid #E2DFDF;
      transition:0.3s ease;
    }

    .service-card:hover{
      transform:translateY(-6px);
    }

    .service-icon{
      width:72px;
      height:72px;
      margin:0 auto 24px;
      border-radius:50%;
      background:#fff3e8;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#ff8b2c;
      font-size:36px;
    }

    .service-title{
      font-size:18px;
      font-weight:700;

      /* margin-bottom:16px; */
      
      color:#111;
    }

    .service-text{
      font-size:16px;
      line-height:1.5;
      color:#666;
    }

    /* RESPONSIVE */
    @media(max-width:991px){

      .medical-hub-section-title{
        font-size:32px;
      }

      .count-grid{
        grid-template-columns:1fr;
      }

      .services-grid{
        grid-template-columns:1fr 1fr;
      }

      .count{
        font-size:42px;
      }

      .count-content{
        font-size:24px;
      }
    }

    @media(max-width:600px){

      .medical-hub-section{
        padding:50px 15px 80px;
      }

      .medical-hub-section-title{
        font-size:24px;
      }

      .services-grid{
        grid-template-columns:1fr;
      }

      .count{
        font-size:36px;
      }

      .count-content{
        font-size:20px;
      }

      .service-title{
        font-size:24px;
      }

      .service-text{
        font-size:18px;
      }
    }
    
    
    
    
/* About page css */

main.aboutpage-main {
    padding-top: 0;
}

.gmv-about-page-section{
    background:#f5f7fa;
    /* padding:50px 0 90px; */
    padding: var(--section-padding-y) 0;
}

.gmv-about-page-container{
    width:100%;
    max-width:1280px;
    margin:0 auto;
    padding:0 20px;
}

/* TOP IMAGE */

.gmv-about-banner-wrap{
    /*border-radius:30px;*/
    overflow:hidden;
    /*margin-bottom:45px;*/
    box-shadow:0 15px 45px rgba(0,0,0,0.08);
}

.gmv-about-banner-wrap img{
    width:100%;
    /*max-height:640px;*/
    height: auto;
    object-fit:cover;
    display:block;
    max-height: calc(100vh - 92px);
}

/* INTRO SECTION */

.gmv-about-intro-box{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:40px;
    margin-bottom:70px;
}

.gmv-about-intro-left{
    /*max-width:760px;*/
    max-width:74%;
}

.gmv-about-mini-label{
    display:inline-block;
    font-size:14px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#2ea44f;
    margin-bottom:18px;
}

.gmv-about-main-title{
    font-size:clamp(28px, 3vw, var(--text-h2));
    line-height:1.1;
    color:#081224;
    margin:0 0 24px;
    font-family:Georgia, serif;
    font-weight:700;
}

.gmv-about-main-desc{
    font-size:19px;
    line-height:1.9;
    color:#475569;
    margin:0;
}

.gmv-about-download-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:16px 32px;
    background:#f1a33e;
    color:#ffffff;
    text-decoration:none;
    border-radius:14px;
    font-weight:600;
    transition:0.3s ease;
    white-space:nowrap;
}

.gmv-about-download-btn:hover{
    background:#f1a33e;
    /*
    border: 3px solid #161c28;
    transform:translateY(-2px);
    */
}

/* HEALTHCARE SECTION */

.gmv-healthcare-main-box{
    background:#ffffff;
    border-radius:32px;
    padding:70px;
    box-shadow:0 10px 40px rgba(15,23,42,0.06);
    position:relative;
    margin-bottom: 40px;
}

.gmv-healthcare-main-box:before{
    content:"";
    position:absolute;
    left:0;
    top:60px;
    width:6px;
    height:76px;
    background:#2ea44f;
    border-radius:20px;
}

.gmv-healthcare-title{
    font-size:clamp(28px, 3vw, var(--text-h2));
    line-height:1.1;
    color:#081224;
    /* margin:0 0 40px; */
    margin:0 0 10px;
    font-family:Georgia, serif;
    font-weight:700;
    max-width:1100px;
}

.gmv-healthcare-content p{
    font-size:18px;
    line-height:1.8;
    color:#475569;
    margin-bottom:34px;
}

.gmv-healthcare-content p:last-child{
    margin-bottom:0;
}

/* RESPONSIVE */

@media(max-width:991px){

    .gmv-about-banner-wrap img{
        height:320px;
    }

    .gmv-about-intro-box{
        flex-direction:column;
        align-items:flex-start;
    }

    .gmv-about-main-title{
        font-size:48px;
    }

    .gmv-healthcare-title{
        font-size:48px;
    }

    .gmv-healthcare-main-box{
        padding:45px 35px;
    }

}

@media(max-width:767px){

    .gmv-about-page-section{
        padding:35px 0 70px;
    }

    .gmv-about-banner-wrap{
        /*border-radius:18px;*/
        margin-bottom:35px;
    }

    .gmv-about-banner-wrap img{
        height:220px;
    }

    .gmv-about-intro-box{
        margin-bottom:50px;
    }

    .gmv-about-main-title{
        font-size:36px;
    }

    .gmv-about-main-desc{
        font-size:16px;
        line-height:1.8;
    }

    .gmv-about-download-btn{
        width:100%;
    }

    .gmv-healthcare-main-box{
        padding:30px 22px;
        border-radius:20px;
    }

    .gmv-healthcare-main-box:before{
        top:35px;
        height:90px;
    }

    .gmv-healthcare-title{
        font-size:32px;
        margin-bottom:25px;
    }

    .gmv-healthcare-content p{
        font-size:15px;
        line-height:1.9;
        margin-bottom:24px;
    }
    .gmv-about-intro-left{
            max-width: 100%;
    }

}

section.front-page.gmv-about-detail-hero {
    background: #f9f9f9;
        position: relative;
    display: flex;
    margin: 120px 0 0;
}

.front-page .container.about-detail-hero-inner {
    padding-bottom: 70px;
    grid-template-columns: 1fr 1fr;
}


.front-page img.about-detail-image {
    height: auto;
}

.front-page p.gmv-about-detail-short {
    margin: 32px 0;
}

section#contactus {
    width: 100%;
    background: #f9f9f9;
    padding: var(--section-padding-y) 20px;
}

.contact-form .wpcf7-spinner{
  position: absolute;
    bottom: 78px;
    left: 0;
}

.info-item a {
    text-decoration: none;
    color: inherit;
}

section#plans.key-services {
    padding-top: 20px;
}