:root {
  --navy-blue: #1d2c5e;
  --bright-blue: #3094e2;
  --info-blue: #bfd2f8;
  --bs-primary: var(--navy-blue) !important;
  --bs-secondary: var(--bright-blue) !important;
  --bs-info: var(--info-blue) !important;
}

body, h1, h2, h3, h4, h5, h6, p, a, div, span, button, input, select, textarea, label {
  font-family: "Manrope", sans-serif !important;
  font-optical-sizing: auto;
}

/* Ensure icons are NOT overridden by Rubik */
i, .bi, [class^="bi-"], [class*=" bi-"] {
  font-family: "bootstrap-icons" !important;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: white;
  min-width: 320px;
  overflow-x: hidden;
}

/* html background removed to merge with body */

textarea {
  resize: none !important;
}

.form-select {
  --bs-form-select-bg-img: none !important;
}

/* top strip  */

.top-strip {
  background-color: var(--bs-primary);
  color: white;
}


.icon {
  height: 1.25rem;
  filter: brightness(0) invert(1);
}

.label {
  color: var(--bs-info);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05rem;
}

.value {
  font-weight: 500;
  font-size: 0.85rem;
  color: white;
}

@media (max-width: 480px) {
  .top-strip {
    display: none;
  }
}

/* header  */
/* Unified Header System */
.header-wrapper {
  background-color: white;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.main-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  padding: 0;
  margin: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.brand-name {
  font-weight: 800 !important;
  font-size: 1.6rem !important;
  color: #1d2c5e !important;
  letter-spacing: -0.5px !important;
  font-family: 'Rubik', sans-serif !important;
  line-height: 1 !important;
}

.brand-tagline {
  font-weight: 500 !important;
  font-size: 0.78rem !important;
  color: #64748b !important;
  letter-spacing: 4.8px !important;
  font-family: 'Rubik', sans-serif !important;
  margin-top: 2px !important;
  text-transform: uppercase !important;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.header-nav a {
  text-decoration: none;
  color: #555;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s;
  position: relative;
  padding: 5px 0;
}

.header-nav a:hover, .header-nav a.active {
  color: var(--bright-blue);
}

.header-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--bright-blue);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.btn-appointment, 
.btn-primary-hero, 
.btn-request, 
.btn-submit, 
.btn-consultation-main {
  background: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%) !important;
  color: white !important;
  border: none !important;
  padding: 0.75rem 1.8rem;
  border-radius: 8px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.2) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px;
  white-space: nowrap;
}

.btn-appointment:hover, 
.btn-primary-hero:hover, 
.btn-request:hover, 
.btn-submit:hover, 
.btn-consultation-main:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(0, 119, 182, 0.3) !important;
  filter: brightness(1.1);
  color: white !important;
}

.whatsapp-link {
  color: #25D366;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-link:hover {
  transform: scale(1.15) rotate(5deg);
}

.btn-whatsapp {
  background-color: #25D366 !important;
  color: white !important;
  border: none !important;
  padding: 0.75rem 1.8rem;
  border-radius: 8px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2) !important;
}

.btn-whatsapp:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3) !important;
  filter: brightness(1.1);
  color: white !important;
}

.secondary-header {
  border-top: 1px solid #f0f0f0;
  background-color: #fff;
  padding: 0;
}

.category-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.category-item {
  color: #666;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  position: relative;
  padding: 1rem 0;
  cursor: pointer;
}

.category-item:hover {
  color: var(--bright-blue);
}

.category-dropdown {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0; /* Align with left edge of category for better alignment */
  transform: translateY(10px);
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 220px;
  z-index: 1001;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.category-item:hover .category-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.7rem 1.5rem;
  color: #444;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s;
}

.dropdown-link:hover {
  background-color: #f0f7ff;
  color: var(--bright-blue);
  padding-left: 2rem;
}

.view-all-services {
  color: var(--bright-blue);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 1rem 0;
  white-space: nowrap;
}

/* Mobile Navbar Toggler (Hidden on Desktop) */
.mobile-nav-toggle {
  display: none;
  font-size: 1.5rem;
  border: none;
  background: none;
  color: var(--navy-blue);
}

/* Responsive Overrides */
@media (max-width: 1200px) {
  .header-nav { gap: 1rem; }
}

@media (max-width: 991px) {
  .header-nav, .secondary-header {
    display: none; /* Hide for mobile menu logic if needed, but user wants responsive 320px */
  }
  .mobile-nav-toggle {
    display: block;
    order: 3;
  }
  .header-logo {
     flex: 1;
  }
}

@media (max-width: 580px) {
  .header-actions .btn-appointment,
  .header-actions .whatsapp-link,
  .mobile-nav-toggle {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .btn-appointment {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  .header-logo span {
    font-size: 1.1rem;
  }
  .header-logo img {
    height: 35px !important;
  }
}

@media (max-width: 320px) {
  .header-actions {
    gap: 8px;
  }
  .btn-appointment {
    font-size: 0.75rem;
    padding: 0.5rem 0.8rem;
  }
}

/* Hide the secondary header overflow on mobile if it should be in the menu */
@media (max-width: 768px) {
  .secondary-header {
    display: none;
  }
}

.navbar {
  display: none; /* Hide original navbar in favor of new custom header */
}

/* mobile-first layout */
.hero-section {
  background: #f8f9fa;
  padding: 2rem;
}

.hero-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}

.hero-text {
  text-align: center;
  padding: 1rem;
}

.hero-text h1 {
  font-size: 3rem;
}

.hero-buttons {
  margin-top: 1rem;
}

/* make your existing .btn-submit inline-block so they sit side by side */
.hero-buttons .btn-submit {
  display: inline-block;
  margin: 0.25rem;
}

/* the doctor image as a CSS background */
.hero-image {
  width: 100%;
  height: 200px;
  /* mobile height */
  background: url("../media/Homepage Banner Image.png") center/cover no-repeat;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

/* tablet ↑ */
@media (min-width: 600px) {
  .hero-image {
    height: 300px;
  }
}

/* desktop ↑ */
@media (min-width: 1024px) {
  .hero-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-text {
    flex: 1;
    text-align: left !important;
    padding-right: 2rem;
  }

  .hero-text .subtitle {
    text-align: left;
  }

  .hero-text .title {
    text-align: left;
  }

  .hero-text .text-content {
    text-align: left;
  }

  .hero-image {
    flex: 1;
    height: 500px;
    margin-bottom: 0;
    border-radius: 0;
    /* flush to the edge */
    background-position: right center;
  }
}

.hero-section .custom-field {
  background-color: white !important;
  color: var(--bs-primary) !important;
}

.hero-section .custom-field::placeholder,
.hero-section .custom-field option {
  color: var(--bs-primary) !important;
}

/*— Hero Wrapper —*/
.hero-about {
  position: relative;
  background: linear-gradient(to right,
      rgba(240, 248, 255, 0.8),
      rgba(255, 255, 255, 0.8));
  overflow: hidden;
}

/*— Decorative circles —*/
.circle {
  position: absolute;
  background: #bfd2f849;
  border-radius: 50%;
}

.hero-about .top-left {
  width: 200px;
  height: 200px;
  top: -80px;
  left: -80px;
}

.hero-about .bottom-right {
  width: 300px;
  height: 300px;
  bottom: -120px;
  right: -120px;
}

/*— Inner Container —*/
.hero-about .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-about .title {
  margin-bottom: 0;
}

/*— CTA Buttons —*/
.hero-cta {
  display: flex;
  gap: 0.75rem;
}

/*— Tablet & Up (≥600px) —*/
@media (min-width: 600px) {
  .breadcrumb {
    font-size: 1rem;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-cta .btn {
    font-size: 1.125rem;
  }

  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
}

/*— Desktop & Up (≥1024px) —*/
@media (min-width: 1024px) {
  .hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
  }

  .breadcrumb {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }

  .hero-cta {
    justify-content: flex-start;
    gap: 1rem;
  }

  .hero-cta .btn {
    font-size: 1.25rem;
  }
}

/* welcome section  */
.intro-section {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.intro-section .intro-link {
  color: var(--bs-secondary);
  font-weight: 500;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  text-decoration: none;
  transition: color 0.3s ease;
}

.intro-section .intro-link:hover {
  text-decoration: underline;
  color: var(--bs-info);
}

/* surgeries  */
.surgeries-section {
  background-color: var(--bg);
  padding: 2rem 1rem;
  border-radius: 1rem;
  max-width: 1400px;
  margin: auto;
  text-align: center;
}

.surgeries-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
  background-color: #bfd2f882;
  padding: 3rem 3rem;
  border-radius: 0.75rem;
}

@media (max-width: 450px) {
  .top-strip {
    display: none;
  }
}

.surgery-card {
  width: calc(50% - 0.5rem);
  /* 2 columns on mobile */
  max-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
  background-color: white;
  border-radius: 0.75rem;
  text-decoration: none;
  color: var(--bs-primary);
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.surgery-card img {
  height: 2.5rem;
  width: auto;
  margin-bottom: 0.5rem;
}

.surgery-card:hover {
  background-color: var(--bs-primary);
  transform: translateY(-3px);
}

.surgery-card:hover span {
  color: var(--bs-info);
}

.surgery-card:hover i {
  color: var(--bs-info);
}

@media (min-width: 576px) {
  .surgery-card {
    width: calc(33.333% - 0.67rem);
    /* 3 cards per row */
  }
}

@media (min-width: 992px) {
  .surgery-card {
    width: calc(20.666% - 0.83rem);
    /* 6 cards per row */
  }
}

/* why choose us  */
.blue-dot {
  width: 10px;
  height: 10px;
  background-color: #2f80ed;
  border-radius: 50%;
  flex-shrink: 0;
}

.choose-container.row {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 992px) and (min-width: 768px) {
  .choose-container .row {
    display: grid !important;
    grid-template-columns: 1fr 2fr !important;
    justify-items: center;
  }

  .choose-container .row .col-md-3,
  .choose-container .row .col-md-5 {
    width: 100%;
  }

  .choose-container .third-column {
    display: flex;
    justify-content: center;
    gap: 1rem;
    grid-column: span 2;
  }
}

@media (max-width: 768px) and (min-width: 480px) {
  .choose-container .third-column {
    display: flex;
    justify-content: center;
    gap: 1rem;
    grid-column: span 2;
  }
}

/* book an appointment  */
.appointment-section {
  background-image: url("../media/Blackdoctors 1.png");
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 2rem;
}

.appointment-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: 1;
}

.appointment-container {
  position: relative;
  z-index: 3;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.appointment-section .title {
  text-align: left;
}

.custom-field {
  background-color: var(--bs-primary) !important;
  /* dark blue */
  color: white !important;
  padding: 18px !important;
  font-size: 16px;
  border-radius: 8px;
}

.custom-field::placeholder,
.custom-field option {
  color: white !important;
}

.custom-field:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(27, 39, 112, 0.25);
}

@media (max-width: 480px) {
  .appointment-section {
    text-align: center;
  }

  .appointment-container .col-6 {
    width: 100%;
  }
}

/* get in touch  */
.contact-container {
  max-width: 1400px;
  padding: 1rem;
  margin: 0 auto;
}

.contact-section {
  padding: 3rem 1rem;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: space-between;
  gap: 2rem;
}

.contact-card {
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
}

.contact-card.light {
  background-color: var(--bs-info);
  color: var(--bs-primary);
}

.contact-card.dark {
  background-color: var(--bs-primary);
  color: var(--bs-info);
}

.contact-card h6 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1rem;
  margin: 0.75rem 0 0.5rem;
}

.contact-card p {
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

.icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .contact-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* footer  */
.footer {
  background-color: #f4f8ff;
  color: var(--bs-primary);
  padding: 4rem 2rem;
}

.footer .footer-block a {
  color: var(--bs-primary);
}

.footer .footer-block a:hover {
  color: var(--bs-secondary);
}

.footer .footer-block h6 {
  color: var(--bs-primary);
}

.footer .footer-bottom {
  border-top: 1px solid rgba(31, 43, 108, 0.1);
  padding-top: 2rem;
}

.footer .socials a {
  color: var(--bs-primary);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-block h6 {
  font-size: var(--font-md);
  font-weight: bold;
  margin-bottom: 0.75rem;
}

.footer-block p,
.footer-block li {
  font-size: var(--font-sm);
  margin-bottom: 0.5rem;
}

.footer-block ul {
  list-style: none;
  padding: 0;
}

.footer-block a {
  color: var(--text);
  text-decoration: none;
}

.logo-placeholder {
  width: 100px;
  height: 50px;
  background-color: var(--light);
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  background-color: var(--light);
  border-radius: 0.5rem;
  overflow: hidden;
}

.newsletter-form input {
  flex: 1;
  border: none;
  padding: 0.5rem;
  font-size: var(--font-sm);
  background-color: transparent;
  color: var(--bs-primary);
}

.newsletter-form button {
  background: transparent;
  border: none;
  padding: 0 0.75rem;
  color: var(--bs-primary);
  font-size: 1.1rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--light);
  margin: 2rem 0 1rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: var(--font-sm);
}

.socials a {
  color: var(--light);
  margin: 0 0.5rem;
  font-size: 1.25rem;
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 2fr repeat(2, 1fr);
  }

  .newsletter {
    display: none;
  }
}

@media (max-width: 576px) {
  .footer-top {
    display: flex;
    flex-direction: column;
  }
}



/* testimonials  */
*— Testimonials wrapper —*/ .testimonials {
  position: relative;
  max-width: 1400px;
  margin: 2rem auto;
  overflow: hidden;
}

/* hide the radios */
.testimonials input[type="radio"] {
  display: none;
}

/* slides container */
.slides {
  position: relative;
  width: 100%;
  height: 300px;
  /* mobile height */
}

/* each slide */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  background:
    linear-gradient(rgba(29, 42, 120, 0.7), rgba(29, 42, 120, 0.7)),
    url('../media/Homepage Banner Image.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* show slide when its radio is checked */
#slide1:checked~.slides .slide1,
#slide2:checked~.slides .slide2,
#slide3:checked~.slides .slide3 {
  opacity: 1;
}

/* content inside slide */
.content {
  position: relative;
  padding: 0 1rem;
  max-width: 100%;
  z-index: 1;
}

.quote-mark {
  font-size: 3rem;
  color: #aecbff;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-align: center;
}

.quote {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: white;
  text-align: center;
}

.divider {
  width: 50px;
  height: 2px;
  background: #aecbff;
  margin: 0.5rem auto 1rem;
}

.author {
  font-size: 1rem;
  font-weight: bold;
  color: var(--bs-info);
  text-align: center;
}

/* pagination dots */
.dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.dots label {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

#slide1:checked~.dots label[for="slide1"],
#slide2:checked~.dots label[for="slide2"],
#slide3:checked~.dots label[for="slide3"] {
  background: #fff;
}

/*— Tablet & up (≥600px) —*/
@media (min-width: 600px) {
  .slides {
    height: 400px;
  }

  .quote-mark {
    font-size: 4rem;
  }

  .quote {
    font-size: 1.125rem;
  }

  .author {
    font-size: 1.125rem;
  }

  .divider {
    width: 70px;
  }
}

/*— Desktop & up (≥1024px) —*/
@media (min-width: 1024px) {
  .slides {
    height: 500px;
  }

  .quote-mark {
    font-size: 5rem;
  }

  .quote {
    font-size: 1.25rem;
    max-width: 60%;
    margin: 0 auto 1rem;
  }

  .author {
    font-size: 1.25rem;
  }

  .divider {
    width: 100px;
  }
}


/* why choose us  */
/*— Grid Container —*/
.choose-us .container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "card"
    "content"
    "images";
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
  align-items: start;
}

/* assign areas */
.card-container {
  grid-area: card;
}

.content {
  grid-area: content;
}

.images {
  grid-area: images;
}

/*—— Card Column ——*/
.card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
}

.feature-card {
  display: flex;
  flex-direction: column;
}

.feature-card i {
  font-size: 2rem;
  color: #3094e2;
}

.feature-card p {
  margin-top: 0.5rem;
  font-size: 1rem;
}

/*—— Text Column ——*/
.features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  text-align: left;
}

.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 0.8rem;
  height: 0.8rem;
  background: #3094e2;
  border-radius: 50%;
}

/*—— Images Column ——*/
.images img {
  width: 100%;
  display: block;
  border-radius: 0.5rem;
}

.images img+img {
  margin-top: 1rem;
}

/*— Tablet (≥768px) —*/
@media (min-width: 768px) {
  .choose-us .container {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "content content"
      "card images";
  }

  /* keep text centered on tablet */
  .choose-us .subtitle,
  .choose-us .title,
  .choose-us .text-content {
    text-align: center;
  }
}

/*— Desktop (≥1024px) —*/
@media (min-width: 1024px) {
  .choose-us .container {
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-areas: "card content images";
  }

  /* left-align text on desktop */
  .choose-us .subtitle,
  .choose-us .title,
  .choose-us .text-content {
    text-align: left;
  }

  .features li {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }

  /* bump typography */
  .subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .text-content {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
  }

  .feature-card p {
    font-size: 1.125rem;
  }

  .btn-submit {
    font-size: 1.125rem;
    padding: 0.75rem 2.5rem;
  }

  .images img+img {
    margin-top: 2rem;
  }
}

/*—— Grid Container ——*/
.choose-appointment .container {
  display: grid;
  grid-template-areas:
    "content"
    "form"
    "features";
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
  justify-items: center;
}

/* assign areas */
.features {
  grid-area: features;
}

.content {
  grid-area: content;
}

.appointment-form {
  grid-area: form;
}

/*—— Features Column ——*/
.choose-appointment .features {
  background: #fff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: fit-content;
}

.choose-appointment .feature-card p {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.feature-card i {
  font-size: 1.5rem;
  color: #3094e2;
  margin-top: 0.2rem;
}

.surgery-buttons {
  display: flex;
  align-items: start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/*—— Form Column ——*/
.appointment-form {
  background: #fff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 90%;
}

.appointment-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.appointment-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  color: #1d2a78;
}

.appointment-form input,
.appointment-form textarea {
  margin-top: 0.25rem;
  padding: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.25rem;
  font-size: 1rem;
}

/*—— Tablet (≥768px) ——*/
@media (min-width: 768px) {
  .choose-appointment .container {
    grid-template-areas:
      "content  form"
      "content features";
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }

  /* left-align text at tablet */
  .choose-appointment .subtitle,
  .choose-appointment .title,
  .choose-appointment .text-content {
    text-align: left;
  }

  .buttons {
    flex-direction: row;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
  }
}

/*—— Desktop (≥1024px) ——*/
@media (min-width: 1024px) {
  .choose-appointment .container {
    grid-template-areas: "features content form";
    grid-template-columns: 1fr 2fr 1fr;
    gap: 1rem;
    padding: 3rem 0;
    align-items: start;
  }

  /* typography bump */
  .choose-appointment .subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .choose-appointment .title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .text-content {
    font-size: 1.125rem;
  }

  .feature-card p {
    font-size: 1.125rem;
  }

  .appointment-form label {
    font-size: 1rem;
  }

  .btn-submit,
  .btn-outline {
    font-size: 1.125rem;
    padding: 1rem 2rem;
  }
}

/* Surgery Page Refined UI (Matching Screenshot) */
:root {
  --navy-blue: #1d2c5e;
  --bright-blue: #3094e2;
  --light-bg: #f5f7fb;
  --white: #ffffff;
  --text-dark: #333333;
  --text-muted: #666666;
}

.surgery-hero {
  position: relative;
  min-height: 600px;
  background: linear-gradient(rgba(29, 44, 94, 0.7), rgba(29, 44, 94, 0.7)), 
              url('../media/Homepage Banner Image.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: white;
  padding: 100px 0;
}

.surgery-hero .badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.surgery-hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.surgery-hero p {
  font-size: 1.25rem;
  max-width: 600px;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

.btn-whatsapp {
  background: white;
  color: var(--navy-blue);
  border: 1px solid var(--navy-blue);
  font-weight: bold;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 1.5rem;
}

.condition-section {
  padding: 100px 0;
  background: var(--white);
}

.condition-section p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.1rem;
}

.condition-img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.symptoms-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.symptom-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  height: 100%;
}

.symptom-card i {
  color: #e74c3c;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: block;
}

.symptom-card h4 {
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 1rem;
}

.emergency-banner {
  background: var(--navy-blue);
  color: white;
  padding: 4rem;
  border-radius: 20px;
  margin-top: 4rem;
}

.surgical-option-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  height: 100%;
}

.surgical-option-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.surgical-option-card .content {
  padding: 2.5rem;
}

.surgical-option-card h3 {
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 1.5rem;
}

.surgical-option-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.surgical-option-card ul li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
}

.surgical-option-card ul li::before {
  content: "\F272"; /* bi-check */
  font-family: bootstrap-icons;
  position: absolute;
  left: 0;
  color: var(--bright-blue);
}

.excellence-card {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.excellence-card i {
  background: var(--navy-blue);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
}

.excellence-card h4 {
  font-weight: 700;
  color: var(--navy-blue);
}

.recovery-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}

.step-number {
  background: var(--navy-blue);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content h4 {
  font-weight: 700;
  color: var(--navy-blue);
}

.faq-card {
  background: white;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.faq-card h5 {
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 1rem;
}

/* Services Overview Page Styles */
.services-hero {
  background: var(--navy-blue);
  color: white;
  padding: 100px 0;
  overflow: hidden;
}

.services-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.services-hero p {
  font-size: 1.2rem;
  opacity: 0.8;
  max-width: 500px;
}

.dept-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: transform 0.3s ease;
}

.dept-card:hover {
  transform: translateY(-5px);
}

.dept-card-navy {
  background: var(--navy-blue);
  color: white;
}

.dept-card-light {
  background: #eef4ff;
}

.dept-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 2rem;
}

.dept-header i {
  width: 40px;
  height: 40px;
  background: rgba(48, 148, 226, 0.1);
  color: var(--bright-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.dept-card-navy .dept-header i {
  background: rgba(255,255,255,0.1);
  color: white;
}

.surgery-tag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.surgery-tag {
  background: white;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-dark);
  text-decoration: none;
  border: 1px solid #eee;
  text-align: center;
  transition: all 0.2s ease;
}

.surgery-tag:hover {
  background: var(--bright-blue);
  color: white !important;
  border-color: var(--bright-blue);
}

.transplant-list {
  list-style: none;
  padding: 0;
}

.transplant-item {
  background: white;
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--navy-blue);
}

.transplant-item .status {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--bright-blue);
  background: #eef4ff;
  padding: 4px 10px;
  border-radius: 5px;
}

.why-choose-block {
  padding: 80px 0;
}

.feature-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: #f5f7fb;
  color: var(--navy-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.testimonial-simple {
  padding: 100px 0;
  background: #fbfcfe;
  text-align: center;
}

/* Homepage Wireframe Styles */
.trust-strip {
  display: flex;
  gap: 30px;
  background: rgba(255, 255, 255, 0.05);
  padding: 15px 25px;
  border-radius: 12px;
  margin-top: 40px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: white;
}

.trust-item i {
  color: #3094e2;
  font-size: 1.1rem;
}

/* Hero v3 (Based on New Design) */
.hero-v3 {
  padding: 80px 0;
  background: linear-gradient(135deg, #f4f9ff 0%, #ffffff 100%);
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid #edf2f7;
}

.hero-v3-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../media/logo.png'); /* Using logo as a very subtle watermark pattern */
  background-size: 80px;
  background-repeat: repeat;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

.hero-v3 .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(48, 148, 226, 0.1);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bright-blue);
  margin-bottom: 2rem;
  border: 1px solid rgba(48, 148, 226, 0.2);
}

.hero-badge i {
  color: var(--bright-blue);
  font-size: 0.95rem;
}

.hero-v3 h1 {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--navy-blue);
  margin-bottom: 1.8rem;
}

.hero-v3 h1 span {
  background: linear-gradient(135deg, var(--bright-blue) 0%, var(--navy-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-v3 p {
  font-size: 1.15rem;
  color: #4a5568;
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 3rem;
  font-weight: 400;
}

.hero-btns {
  display: flex;
  gap: 20px;
  align-items: center;
}

.btn-primary-hero {
  background: linear-gradient(135deg, var(--bright-blue) 0%, #1a7bbd 100%);
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(48, 148, 226, 0.3);
}

.btn-primary-hero:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(48, 148, 226, 0.4);
  color: white;
  filter: brightness(1.05);
}

.btn-secondary-hero {
  background: white;
  color: var(--navy-blue);
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  border: 2px solid #edf2f7;
}

.btn-secondary-hero:hover {
  background: #f8fbff;
  border-color: var(--bright-blue);
  color: var(--bright-blue);
}

.hero-image-container {
  position: relative;
}

.hero-main-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.satisfaction-card {
  position: absolute;
  bottom: -30px;
  left: -40px;
  background: white;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 10;
}

.satisfaction-icon {
  width: 45px;
  height: 45px;
  background: var(--bright-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.satisfaction-text h4 {
  margin: 0;
  font-weight: 800;
  color: #1a1a1a;
  font-size: 1.4rem;
}

.satisfaction-text p {
  margin: 0;
  font-size: 0.8rem;
  color: #777;
  font-weight: 500;
}

@media (max-width: 991px) {
  .hero-v3 h1 { font-size: 3rem; }
  .satisfaction-card { bottom: 20px; left: 20px; }
}

.how-it-works-container {
  padding: 80px 0;
  background: white;
}

.step-card {
  text-align: center;
  padding: 30px;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--navy-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 20px;
  font-size: 1.2rem;
  border: 4px solid #eef4ff;
}

.step-card h5 {
  font-weight: 700;
  margin-bottom: 10px;
}

.doctor-section {
  padding: 100px 0;
  background: #fbfcfe;
}

.doctor-image-wrapper {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.doctor-meta {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.cta-banner {
  background: linear-gradient(135deg, #1d2c5e 0%, #3094e2 100%);
  color: white;
  border-radius: 30px;
  padding: 80px 40px;
  text-align: center;
}

.contact-info-box {
  background: white;
  padding: 30px;
  border-radius: 20px;
  height: 100%;
  border: 1px solid #eee;
}

.contact-label {
  color: #666;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.contact-value {
  color: var(--navy-blue);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
}



































/* modal  */
.modal-title {
  text-align: center !important;
  width: 100%;
}


.whatsapp_icon {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 4rem;
  padding: 0.5rem;
  background-color: var(--bs-info);
  border-radius: 15px;
}

.whatsapp_icon img {
  width: 100%;
}

.hero-section .col-lg-6 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35rem;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background-color: var(--bs-info);
}

.hero-section img {
  width: 3rem;
}

@media (max-width:600px) {
  .hero-section .col-lg-6 {
    width: 100%;
  }
}

/* =========================================================================
   HOMEPAGE v2 UI (Wireframe Match)
   ========================================================================= */

.hero-v2 {
  background: linear-gradient(135deg, #0a102b 0%, #1d2c5e 100%);
  color: white;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.hero-v2 h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-v2 .text-info {
  color: var(--bs-info) !important;
}

.btn-whatsapp {
  background: #25D366;
  color: white !important;
  border: none;
}
.btn-whatsapp:hover {
  background: #1eb858;
}

.btn-call {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: white !important;
}
.btn-call:hover {
  background: rgba(255,255,255,0.1);
}

.icon-grid-29 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 12px;
}

@media (min-width: 1200px) {
  .icon-grid-29 {
    grid-template-columns: repeat(8, 1fr);
  }
}

.surgery-card-v2 {
  background: white;
  padding: 15px 10px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  border: 1px solid #f0f3f7;
  color: var(--navy-blue) !important;
  min-height: 110px;
  justify-content: center;
}

.surgery-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(48, 148, 226, 0.12);
  border-color: var(--bright-blue);
  color: var(--bright-blue) !important;
}

.surgery-card-v2 img {
  width: 35px !important;
  height: 35px !important;
  object-fit: contain;
  /* Applying a filter to unify arbitrary PNG colors to brand blue */
  filter: brightness(0) saturate(100%) invert(56%) sepia(59%) saturate(4155%) hue-rotate(180deg) brightness(98%) contrast(93%);
  transition: all 0.3s;
}

.surgery-card-v2:hover img {
  transform: scale(1.1);
  filter: brightness(0) saturate(100%) invert(20%) sepia(43%) saturate(2371%) hue-rotate(211deg) brightness(88%) contrast(97%);
}

.surgery-card-v2 span {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

/* Fixes for wireframe sections */
.step-card {
  text-align: center;
  padding: 40px;
  position: relative;
  border: 1px solid #eee;
  transition: all 0.3s;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
/* =========================================================================
   RESTORATIVE JOURNEY & CONTACT PAGE STYLES
   ======================================================================== */

.contact-hero {
  padding: 80px 0;
  background-color: #fbfcfe;
}

.contact-left h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #1d2c5e;
  line-height: 1.1;
  margin-bottom: 25px;
}

.contact-left h1 span {
  color: #3094e2;
  display: block;
}

.contact-left p {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 450px;
  margin-bottom: 40px;
}

.contact-img {
  width: 100%;
  max-width: 450px;
  border-radius: 40px;
  margin-bottom: 50px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.process-box h3 {
  font-weight: 800;
  color: #1d2c5e;
  margin-bottom: 30px;
  font-size: 1.5rem;
}

.process-step {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.step-num {
  width: 32px;
  height: 32px;
  background: #3094e2;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1d2c5e;
  margin-bottom: 5px;
}

.step-content p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Appointment Card */
.appointment-card {
  background: white;
  padding: 50px;
  border-radius: 40px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.04);
  border: 1px solid #f0f3f7;
}

.appointment-card h2 {
  font-weight: 800;
  color: #1d2c5e;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.appointment-card p {
  color: #64748b;
  margin-bottom: 40px;
}

.form-label-custom {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: block;
}

.form-control-custom, .form-select-custom {
  background-color: #f1f3f5 !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 14px 20px !important;
  color: #1d2c5e !important;
  font-weight: 500 !important;
}

.form-control-custom::placeholder {
  color: #adb5bd;
}

.section-label {
  display: block;
  font-weight: 800;
  color: #1d2c5e;
  margin: 40px 0 20px;
  font-size: 1.1rem;
}

.btn-request {
  width: 100%;
  background: #008abf;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 18px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 20px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.btn-request:hover {
  background: #0077a3;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 138, 191, 0.3);
}

.policy-text {
  text-align: center;
  font-size: 0.85rem !important;
  margin-top: 20px !important;
}

.policy-text a {
  color: #3094e2;
  text-decoration: underline;
}

@media (max-width: 991px) {
  .contact-left {
    text-align: center;
  }
  .contact-left p {
    margin-left: auto;
    margin-right: auto;
  }
  .contact-img {
    margin-left: auto;
    margin-right: auto;
  }
  .appointment-card {
    padding: 30px;
  }
}

/* Global Glassmorphism Booking Modal */
.modal-glass .modal-dialog {
  max-width: 580px;
}

.modal-glass-content {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 44px !important;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.12);
  padding: 10px;
}

.modal-glass-content .modal-header {
  border-bottom: none !important;
  padding: 30px 40px 15px !important;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.modal-glass-content .modal-body {
  padding: 10px 40px 40px !important;
}

.booking-icon-wrapper {
  width: 58px;
  height: 58px;
  background: #f0f7ff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0077b6;
  font-size: 1.6rem;
}

.booking-title-group h4 {
  font-weight: 800;
  color: #1d2c5e;
  margin-bottom: 5px;
  font-size: 1.7rem;
  letter-spacing: -0.5px;
}

.booking-title-group p {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 0;
  opacity: 0.8;
}

.form-label-caps {
  font-size: 0.65rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}

.booking-input {
  background: #f8fafc !important;
  border: 1px solid #eef2f6 !important;
  border-radius: 18px !important;
  padding: 14px 22px !important;
  font-size: 1rem;
  color: #1d2c5e;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none !important;
}

.booking-input::placeholder {
  color: #cbd5e1;
}

.booking-input:focus {
  background: #fff !important;
  border-color: #3094e2 !important;
  box-shadow: 0 0 0 4px rgba(48, 148, 226, 0.08) !important;
}

.btn-confirm-booking {
  background: #006a94 !important;
  color: white !important;
  border-radius: 18px !important;
  padding: 18px !important;
  width: 100%;
  font-weight: 700;
  font-size: 1.15rem;
  border: none;
  margin-top: 25px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(0, 106, 148, 0.25);
}

.btn-confirm-booking:hover {
  background: #00567a !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 106, 148, 0.35);
}

.modal-secure-footer {
  text-align: center;
  margin-top: 25px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.modal-backdrop.show {
  backdrop-filter: blur(12px);
  background-color: rgba(15, 23, 42, 0.5);
}

@media (max-width: 576px) {
  .modal-glass-content {
    border-radius: 35px !important;
    padding: 5px;
  }
  .modal-glass-content .modal-header {
    padding: 25px 25px 10px !important;
  }
  .modal-glass-content .modal-body {
    padding: 10px 25px 30px !important;
  }
}

/* High Fidelity About & Facility Section */
.legacy-trust-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.legacy-trust-section h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1d2c5e;
  margin-bottom: 30px;
}

.legacy-trust-section p {
  color: #64748b;
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 25px;
}

.mission-card-v4 {
  background: white;
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.05);
  border: 1px solid #f1f5f9;
  height: 100%;
}

.mission-card-v4 .icon-circle {
  width: 48px;
  height: 48px;
  background: #f0f7ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0077b6;
  font-size: 1.25rem;
  margin-bottom: 25px;
}

.mission-card-v4 h3 {
  font-weight: 800;
  color: #1d2c5e;
  font-size: 1.45rem;
  margin-bottom: 15px;
}

.mission-card-v4 p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: #64748b;
}

.stat-card-v4 {
  background: white;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border: 1px solid #f1f5f9;
  text-align: left;
}

.stat-card-v4 h4 {
  font-weight: 800;
  color: #0077b6;
  font-size: 2.2rem;
  margin-bottom: 5px;
}

.stat-card-v4 span {
  font-size: 0.75rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.facility-section-v4 {
  padding: 80px 0 120px;
  background-color: #ffffff;
}

.standards-heading {
  text-align: center;
  margin-bottom: 70px;
}

.standards-heading h2 {
  font-weight: 800;
  color: #1d2c5e;
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.standards-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #3094e2;
  border-radius: 2px;
}

.facility-card-v4 {
  background: white;
  border-radius: 35px;
  padding: 50px 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.04);
  border: 1px solid #f8fafc;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.facility-card-v4:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.08);
}

.facility-card-v4 .icon-box {
  width: 54px;
  height: 54px;
  background: #f1f5f9;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3094e2;
  font-size: 1.4rem;
  margin: 0 auto 30px;
}

.facility-card-v4 h3 {
  font-weight: 800;
  color: #1d2c5e;
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.facility-card-v4 p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .legacy-trust-section h2 { font-size: 2.2rem; }
  .standards-heading h2 { font-size: 2rem; }
}

/* Restorative Journey Banner Component */
.restorative-banner {
  background-color: #1d2c5e;
  border-radius: 44px;
  padding: 90px 40px;
  text-align: center;
  color: white;
  margin-bottom: 80px;
  box-shadow: 0 40px 100px rgba(29, 44, 94, 0.15);
}

.restorative-banner h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.1;
  color: white;
}

.restorative-banner p {
  font-size: 1.25rem;
  opacity: 0.85;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.7;
  color: #f0f7ff;
}

.btn-restorative-appointment {
  background: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%) !important;
  color: white !important;
  padding: 20px 45px;
  border-radius: 16px;
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 1.15rem;
  box-shadow: 0 15px 35px rgba(0, 119, 182, 0.3);
  border: none;
}

.btn-restorative-whatsapp {
  background: #25D366 !important;
  color: white !important;
  padding: 20px 45px;
  border-radius: 16px;
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 1.15rem;
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.25);
  margin-left: 25px;
  border: none;
}

.btn-restorative-appointment:hover, .btn-restorative-whatsapp:hover {
  transform: translateY(-5px) scale(1.05);
  filter: brightness(1.1);
}

@media (max-width: 768px) {
  .restorative-banner {
    border-radius: 35px;
    padding: 60px 25px;
  }
  .restorative-banner h2 {
    font-size: 2.2rem;
  }
  .btn-restorative-whatsapp {
    margin-left: 0 !important;
    margin-top: 15px;
  }
  .btn-restorative-appointment, .btn-restorative-whatsapp {
    width: 100%;
    display: block;
  }
}
