 /* ══════════════════════════════════════════
   GLOBAL & LAYOUT BASE
══════════════════════════════════════════ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Arial, sans-serif; }

/* ── TIPS & FAQ WRAPPER ── */
.tips-faq-section {
  padding: 80px 0;
  background-color: #eaf1f7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23c8d8e8' stroke-width='1.2' opacity='.55'%3E%3Cellipse cx='30' cy='30' rx='12' ry='16'/%3E%3Cellipse cx='30' cy='30' rx='6' ry='9'/%3E%3Cellipse cx='90' cy='80' rx='12' ry='16'/%3E%3Cellipse cx='90' cy='80' rx='6' ry='9'/%3E%3Ccircle cx='80' cy='20' r='10'/%3E%3Ccircle cx='80' cy='20' r='5'/%3E%3Crect x='15' y='75' width='22' height='28' rx='11'/%3E%3Crect x='19' y='79' width='14' height='20' rx='7'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
  position: relative;
  overflow: hidden;
}

/* ══════════════════════════════════════════
   TOP BAR & HEADER (BLUISH PALETTE)
══════════════════════════════════════════ */
.top-bar {
  background: #003366; /* Deep Navy Blue */
  color: #d4e5f7;      /* Light Blue-Gray */
  font-size: 12px;
  padding: 6px 0;
}
.top-bar a { color: #d4e5f7; text-decoration: none; }
.top-bar a:hover { color: #ffffff; }
.top-bar .sep { margin: 0 14px; opacity: .4; }

.main-header {
  background: linear-gradient(135deg, #0a2540 0%, #003366 50%, #1c4b7a 100%);
  padding: 14px 0 10px;
}
.logo-wrap { display: flex; align-items: flex-end; gap: 6px; }
.logo-text { font-size: 36px; font-weight: 700; color: #ffffff; letter-spacing: -1px; line-height: 1; }
.logo-text span { font-weight: 300; }
.logo-subtitle { font-size: 11px; color: rgba(255,255,255,.75); margin-top: 2px; }
.logo-icon { font-size: 38px; color: #ffffff; opacity: .85; }

.btn-phone, .btn-appt {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  border-radius: 30px;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
}
.btn-phone i { margin-right: 7px; }
.btn-phone:hover, .btn-appt:hover { 
  background: #ffffff; 
  color: #003366; 
}

    /* ── NAVBAR ── */
.main-nav {
  background: #1e1e1e;
  position: sticky;
  top: 0;
  z-index: 999;
}
.main-nav .navbar-nav .nav-link {
  color: #ddd !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 16px 16px !important;
  position: relative;
}
.main-nav .navbar-nav .nav-link:hover,
.main-nav .navbar-nav .nav-link.active {
  color: #fff !important;
}
.main-nav .navbar-nav .nav-item.active > .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 3px;
  background: #062B4F;
  border-radius: 2px 2px 0 0;
}

/* ── DROPDOWN HOVER EFFECT ── */
/* Targets desktop screens to display the dropdown automatically on hover */
@media (min-width: 992px) {
  .main-nav .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    margin-top: 0; /* Ensures smooth transition with no blank gaps */
  }
}

/* dropdown styles */
.main-nav .dropdown-menu {
  background: #02284f;
  border: none;
  border-radius: 0;
  padding: 10px 0;
  min-width: 280px;
  margin-top: 0;
}
.main-nav .dropdown-item {
  color: #fff;
  font-size: 13.5px;
  padding: 8px 24px;
}
.main-nav .dropdown-item:hover {
  background: rgba(0,0,0,.15);
  color: #fff;
}
.main-nav .dropdown-item::before {
  content: '• ';
  margin-right: 4px;
}
.navbar-toggler {
  border-color: rgba(255,255,255,.5);
}
.navbar-toggler-icon {
  filter: invert(1);
}

    /* ── SLIDER ── */
   .slide-item {
  position: relative;
  overflow: hidden;
  height: 520px;
  background: #ffffff; /* left side ka white background */
}

/* Right side image container with wavy clip */
.slide-item .slide-bg-wrap {
  position: absolute;
  inset: 0;
  left: 38%; /* image kitna area cover karegi, adjust karo */
  background-size: cover;
  background-position: center center;
  clip-path: path('M 0 0 C 60 100, 20 200, 80 300 C 140 400, 40 480, 100 520 L 2000 520 L 2000 0 Z');
  z-index: 1;
}

/* Blue wavy border line on top of the clip edge */
.slide-item .wave-line {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.slide-content {
  position: relative;
  z-index: 3;
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
  max-width: 420px;
}
    .slide-eyebrow {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #555;
      margin-bottom: 12px;
    }
    .slide-title {
      font-size: 38px;
      font-weight: 900;
      color: #222;
      line-height: 1.1;
      margin-bottom: 10px;
    }
    .slide-subtitle {
      font-size: 18px;
      font-weight: 600;
      color: #333;
      text-transform: uppercase;
      margin-bottom: 18px;
    }
    .slide-desc {
      font-size: 14px;
      color: #555;
      margin-bottom: 28px;
      line-height: 1.6;
    }
    .btn-read-more {
      background: #134474;
      color: #fff;
      border: none;
      border-radius: 30px;
      padding: 11px 32px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      text-decoration: none;
      display: inline-block;
    }
    .btn-read-more:hover { background: #c05a00; color: #fff; }

    /* carousel indicators custom */
    #heroSlider .carousel-indicators {
      bottom: 18px;
      justify-content: flex-start;
      left: 5%;
      margin: 0;
    }
    #heroSlider .carousel-indicators [data-bs-target] {
      width: 12px; height: 12px;
      border-radius: 50%;
      border: 2px solid #888;
      background: transparent;
      opacity: 1;
    }
    #heroSlider .carousel-indicators .active {
      background: #888;
    }

    /* carousel controls */
    .carousel-control-prev, .carousel-control-next {
      width: 40px;
    }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
      filter: invert(0) sepia(1) saturate(0) brightness(.4);
    }

    /* ── PLACEHOLDER images using CSS gradients ── */
    .slide-img-1 {
      background: linear-gradient(120deg, #e8d5c0 0%, #f5e8da 40%, #faf0e8 60%, #e8c8b0 100%);
    }
    .slide-img-2 {
      background: linear-gradient(120deg, #dce8f0 0%, #eaf4fa 50%, #d0e0ea 100%);
    }
    .slide-img-3 {
      background: linear-gradient(120deg, #e0ead8 0%, #f0f5ec 50%, #d8e8d0 100%);
    }
    /* Tooth/smile graphic for slide 1 */
    .smile-graphic {
      position: absolute;
      right: 0; top: 0; bottom: 0;
      width: 55%;
      background: linear-gradient(130deg, #fce8d8 0%, #f9dbc8 30%, #f0c8a8 70%, #e8b898 100%);
      clip-path: ellipse(90% 100% at 90% 50%);
      z-index: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .smile-graphic::after {
      content: '😁';
      font-size: 180px;
      opacity: .18;
      transform: scaleX(-1);
    }

    /* ── FOOTER strip (minimal) ── */
    .footer-strip {
      background: #1a1008;
      color: #888;
      font-size: 12px;
      text-align: center;
      padding: 14px;
    }

    /* ── SERVICES SECTION ── */
    .services-section { padding: 60px 0; background: #f8f8f8; }
    .services-section h2 { font-size: 28px; font-weight: 800; color: #222; margin-bottom: 8px; }
    .services-section .lead { color: #777; font-size: 14px; margin-bottom: 40px; }
    .service-card {
      background: #fff;
      border-radius: 4px;
      padding: 30px 20px;
      text-align: center;
      border-top: 4px solid #134474;
      transition: box-shadow .2s;
      height: 100%;
    }
    .service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); }
    .service-card i { font-size: 36px; color: #134474; margin-bottom: 16px; }
    .service-card h5 { font-size: 15px; font-weight: 700; color: #222; margin-bottom: 10px; }
    .service-card p { font-size: 13px; color: #777; line-height: 1.6; }

    /* responsive */
    @media (max-width: 767px) {
      .slide-item { height: 360px; }
      .slide-title { font-size: 26px; }
      .slide-subtitle { font-size: 14px; }
      .main-nav .dropdown-menu { background: #333; }
      .smile-graphic { width: 45%; }
    }
    @media (max-width: 575px) {
      .top-bar .d-flex { flex-wrap: wrap; gap: 4px; }
      .slide-item { height: 300px; }
      .slide-content { left: 4%; }
      .slide-title { font-size: 22px; }
    }

    /* ── FEATURE CARDS ── */
.feature-cards-section {
  position: relative;
  z-index: 10;
}

/* Base Card Styles */
.feature-card {
  padding: 50px 30px;
  text-align: center;
  color: #ffffff;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* Smooth transition for when the mouse enters AND leaves the card */
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

/* ── THE DANGLING HOVER EFFECT ── */
/* Pushes the individual card DOWNWARDS when hovered */
.feature-card:hover {
  transform: translateY(35px); 
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  z-index: 5; /* Brings hovered card to front layer */
}

/* Card Icons */
.card-icon {
  font-size: 45px;
  margin-bottom: 20px;
  line-height: 1;
}

/* Typography Layout */
.feature-card .card-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.feature-card .card-desc {
  font-size: 13.5px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 0;
  max-width: 280px;
}

/* Exact Color Codes From Your Image Layout */
.card-dark-orange   { background-color: #0a2540; } /* Deepest Navy Blue */
.card-medium-orange { background-color: #003366; } /* Primary Deep Blue */
.card-bright-orange { background-color: #1c4b7a; } /* Vibrant Steel/Mid-Blue */
.card-light-orange  { background-color: #1071cb; } /* Accent Sky Blue */

/* Desktop Overlap on Slider (Keeps them flat initially) */
@media (min-width: 1200px) {
  .feature-cards-section {
    margin-top: -60px; /* Pulls the entire row up cleanly over the slider */
  }
}

@media (min-width: 1200px) {
  .feature-cards-section {
    margin-top: 0; /* Removes the overlap completely */
    position: relative;
    z-index: 10;
  }
}

/* ── ABOUT CLINIC SECTION ── */
.about-clinic-section {
  background-color: #ffffff;
  padding: 80px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Center row content vertically */
.about-clinic-section .row {
  align-items: center;
}

/* Content container */
.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* Title Styling */
.about-title {
  font-size: 32px;
  color: #444444;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.about-title strong {
  color: #333333;
  font-weight: 700;
}

/* Paragraph Layout */
.about-text {
  font-size: 15px;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 24px;
}

/* Hyperlinks */
.about-link {
  color: #1071CB;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.about-link:hover {
  color: #033563;
  text-decoration: underline;
}

/* Doctor Image */
.doctor-img {
  max-height: 450px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 991px) {
  .about-clinic-section {
    padding: 60px 0;
  }

  .about-title {
    font-size: 28px;
    text-align: center;
  }

  .about-content {
    align-items: center;
    text-align: center;
  }

  .doctor-img {
    margin-top: 20px;
    max-height: 350px;
  }
}

.about-clinic-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-clinic-section .row {
  justify-content: center;
}
  /* ═══════════════════════════════════════════
       SECTION LAYOUT
    ═══════════════════════════════════════════ */
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: 'Segoe UI', Arial, sans-serif; }
 
    .appt-section {
      min-height: 60vh;
      display: flex;
      align-items: stretch;
      background: #eef3f8;
      position: relative;
    }
 
    /* Left – doctor image area */
    .appt-img-col {
      flex: 0 0 42%;
      background: linear-gradient(160deg,#ccd9e8 0%,#d8e8f5 50%,#bccfdf 100%);
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: flex-end;
      justify-content: center;
    }
    /* SVG doctor silhouette */
    .doctor-svg {
      width: 78%;
      max-width: 340px;
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      opacity: .92;
    }
 
    /* Right – form area */
    .appt-form-col {
      flex: 1;
      padding: 60px 50px 60px 55px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      background: #eef3f8;
    }
 
    /* ═══════════════════════════════════════════
       HEADING
    ═══════════════════════════════════════════ */
    .appt-title {
      font-size: 28px;
      font-weight: 900;
      color: #222;
      letter-spacing: .5px;
      margin-bottom: 26px;
      text-transform: uppercase;
    }
 
    /* ═══════════════════════════════════════════
       INPUT FIELDS
    ═══════════════════════════════════════════ */
    .field-wrap {
      position: relative;
      width: 100%;
    }
    .field-icon {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: #02396f;
      font-size: 15px;
      pointer-events: none;
      z-index: 2;
    }
    .appt-input {
      width: 100%;
      height: 48px;
      border: 1.5px solid #dce3ec;
      border-radius: 4px;
      background: #fff;
      padding: 0 14px 0 40px;
      font-size: 14px;
      color: #555;
      outline: none;
      transition: border-color .2s;
      cursor: pointer;
    }
    .appt-input::placeholder { color: #aaa; }
    .appt-input:focus { border-color: #034b93; }
    /* .appt-input.error-border { border-color: #032d58; border-width: 2px; }
    .appt-input.success-border { border-color: #dce3ec; }
 
    /* error icon inside phone field */
    /* .err-icon {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      width: 22px; height: 22px;
      background: #c7074a;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: #fff;
      font-size: 13px;
      font-weight: 700;
      display: none;
    }
    .field-wrap.has-error .err-icon { display: flex; }
    .field-wrap.has-error .appt-input { border-color: #042E58; border-width: 2px; } */ 
 
    textarea.appt-input {
      height: 110px;
      padding-top: 12px;
      resize: vertical;
      cursor: text;
    }
 
    /* ═══════════════════════════════════════════
       SUBMIT BUTTON
    ═══════════════════════════════════════════ */
    .btn-submit {
      background: #042E58;
      color: #fff;
      border: none;
      border-radius: 30px;
      padding: 12px 46px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      cursor: pointer;
      transition: background .2s;
      margin-top: 10px;
    }
    .btn-submit:hover { background: #042E58; }
 
    /* ═══════════════════════════════════════════
       SCROLL-TO-TOP BUTTON
    ═══════════════════════════════════════════ */
    #scrollTopBtn {
      position: fixed;
      bottom: 28px; right: 28px;
      width: 42px; height: 42px;
      border-radius: 50%;
      border: 2px solid #555;
      background: #fff;
      color: #555;
      font-size: 16px;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
      z-index: 9999;
      transition: background .2s, color .2s;
      box-shadow: 0 2px 8px rgba(0,0,0,.12);
    }
    #scrollTopBtn:hover { background: #003365; color: #fff; border-color: #002142; }
 
    /* ═══════════════════════════════════════════
       CUSTOM CALENDAR PICKER
    ═══════════════════════════════════════════ */
    .picker-popup {
      position: absolute;
      top: calc(100% + 4px);
      left: 0;
      z-index: 9000;
      background: #042E58;
      border-radius: 4px;
      box-shadow: 0 8px 28px rgba(0,0,0,.18);
      display: none;
      min-width: 270px;
      overflow: hidden;
    }
    .picker-popup.open { display: block; }
 
    /* Calendar header */
    .cal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 16px 8px;
      color: #fff;
    }
    .cal-header span {
      font-weight: 700;
      font-size: 15px;
    }
    .cal-nav {
      background: none;
      border: none;
      color: #fff;
      font-size: 16px;
      cursor: pointer;
      padding: 2px 8px;
      border-radius: 3px;
    }
    .cal-nav:hover { background: rgba(0,0,0,.15); }
 
    /* Day-of-week row */
    .cal-dow {
      display: grid;
      grid-template-columns: repeat(7,1fr);
      text-align: center;
      padding: 0 10px 4px;
    }
    .cal-dow span {
      color: rgba(255,255,255,.85);
      font-size: 12px;
      font-weight: 600;
      padding: 3px 0;
    }
 
    /* Days grid */
    .cal-days {
      display: grid;
      grid-template-columns: repeat(7,1fr);
      text-align: center;
      padding: 0 10px 12px;
      gap: 1px;
    }
    .cal-day {
      color: #fff;
      font-size: 13px;
      padding: 7px 2px;
      cursor: pointer;
      border-radius: 3px;
      transition: background .15s;
    }
    .cal-day:hover { background: rgba(0,0,0,.15); }
    .cal-day.today {
      background: rgba(0,0,0,.25);
      font-weight: 700;
    }
    .cal-day.selected {
      background: #fff;
      color: #042E58;
      font-weight: 700;
      border-radius: 50%;
    }
.cal-day.other-month { color: rgba(10, 37, 64, 0.45); } /* Semi-transparent Deep Navy for inactive month days */
.cal-day.disabled    { color: rgba(10, 37, 64, 0.25); pointer-events: none; } /* Muted tint for disabled selection days */
 
    /* ═══════════════════════════════════════════
       CUSTOM TIME PICKER
    ═══════════════════════════════════════════ */
    .time-popup {
      position: absolute;
      top: calc(100% + 4px);
      left: 0;
      z-index: 9000;
      background: #042E58;
      border-radius: 4px;
      box-shadow: 0 8px 28px rgba(0,0,0,.18);
      display: none;
      padding: 14px 18px;
    }
    .time-popup.open { display: flex; align-items: center; gap: 10px; }
 
    .time-col {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
    }
    .time-box {
      background: #fff;
      color: #222;
      font-size: 20px;
      font-weight: 700;
      width: 52px;
      text-align: center;
      border-radius: 4px;
      padding: 6px 0;
      user-select: none;
    }
    .time-sep { color: #fff; font-size: 22px; font-weight: 700; margin-top: -4px; }
 
    .t-btn {
      background: rgba(0,0,0,.18);
      border: none;
      color: #fff;
      border-radius: 3px;
      width: 52px; height: 28px;
      font-size: 13px;
      cursor: pointer;
      transition: background .15s;
      display: flex; align-items: center; justify-content: center;
    }
    .t-btn:hover { background: rgba(0,0,0,.32); }
 
    .ampm-btn {
      background: rgba(0,0,0,.18);
      border: none;
      color: #fff;
      border-radius: 4px;
      padding: 7px 12px;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      letter-spacing: .5px;
      transition: background .15s;
    }
    .ampm-btn.active { background: #fff; color: #042E58; }
 
    /* ═══════════════════════════════════════════
       RESPONSIVE
    ═══════════════════════════════════════════ */
    @media (max-width: 900px) {
      .appt-section { flex-direction: column; }
      .appt-img-col { flex: 0 0 220px; }
      .appt-form-col { padding: 40px 24px; }
    }
    @media (max-width: 576px) {
      .appt-title { font-size: 22px; }
      .appt-img-col { display: none; }
    }

    /* ── ACCENT DENTAL IN NUMBERS SECTION ── */
.stats-counter-section {
  position: relative;
  /* Adjust image path to match your folder structure */
  background-image: url('../images/stats-bg.jpg'); 
  background-size: 50%;
  /* background-position: center; */
  background-position:right center;
  background-attachment: fixed; /* Creates the smooth parallax scroll effect */
  padding: 100px 0;
  overflow: hidden;
}

/* Dark Wash Overlay over background photo */
.stats-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(30, 30, 30, 0.75); /* Dark tint to ensure pure white text readability */
  z-index: 1;
}

.stats-counter-section .container {
  z-index: 2;
}

/* Typography Headings */
.stats-heading {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin-bottom: 25px;
  text-transform: uppercase;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.stats-heading span {
  font-weight: 300;
  opacity: 0.9;
}

/* Section Prose Subtext */
.stats-subheading {
  font-size: 14.5px;
  line-height: 1.8;
  color: #dddddd;
  max-width: 850px;
  margin: 0 auto 50px auto;
  font-weight: 400;
}

/* Counter Metrics Layout */
.stats-counter-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.counter-number {
  font-size: 68px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -1px;
}

/* Small elegant horizontal divider */
.counter-divider {
  width: 100px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4);
  margin: 15px 0;
}

/* Label text below counter line */
.counter-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  line-height: 1.6;
  color: #ffffff;
  text-transform: uppercase;
}

/* Mobile Screen Scaling Controls */
@media (max-width: 767px) {
  .stats-counter-section {
    padding: 70px 0;
    background-attachment: scroll; /* Disables fixed parallax on mobile for smooth performance */
  }
  .stats-heading {
    font-size: 26px;
  }
  .stats-subheading {
    font-size: 13.5px;
    padding: 0 15px;
  }
  .counter-number {
    font-size: 55px;
  }
}

/* ── GOOD READS / BLOG SECTION ── */
.blog-section {
  background-color: #ffffff;
  padding: 80px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Headings Typography */
.blog-section-title {
  font-size: 32px;
  font-weight: 400;
  color: #444444;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 25px;
}
.blog-section-title span {
  font-weight: 700;
  color: #2c2c2c;
}

/* Header Text Description */
.blog-section-desc {
  font-size: 14.5px;
  line-height: 1.8;
  color: #666666;
  max-width: 950px;
  margin: 0 auto;
}

/* Individual Card Blocks */
.blog-card {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%; /* Keeps all cards uniform height */
}

/* Image Wrappers Container */
.blog-img-wrapper {
  width: 100%;
  height: 220px; /* Fixed height ratio across horizontal grid slots */
  overflow: hidden;
  border-radius: 2px;
}
.blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crops image uniformly without stretching distortion */
}

/* Card Content Area Layout */
.blog-card-content {
  padding: 20px 0 10px 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-title {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  line-height: 1.4;
  margin-bottom: 15px;
  min-height: 50px; /* Ensures text rows align nicely if one title wraps over two lines */
}

.blog-text {
  font-size: 13.5px;
  line-height: 1.7;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1; /* Pushes action buttons down into absolute grid rows */
}

/* Hollow Accent Read More Button Element */
.btn-blog-more {
  display: inline-block;
  align-self: flex-start;
  background: transparent;
  color: #042E58; /* Theme accent blue color hex */
  border: 1px solid #042E58;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 32px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.btn-blog-more:hover {
  background-color: #042E58;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(232, 112, 32, 0.2);
}

/* Screen Resolution Adaptability Controllers */
@media (max-width: 991px) {
  .blog-section { padding: 60px 0; }
  .blog-section-title { font-size: 28px; }
  .blog-title { min-height: auto; margin-bottom: 10px; }
  .blog-img-wrapper { height: 200px; }
}

/* ── TIPS & FAQ WRAPPER ── */
.tips-faq-section {
  padding: 80px 0;
  background-color: #eaf1f7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23c8d8e8' stroke-width='1.2' opacity='.55'%3E%3Cellipse cx='30' cy='30' rx='12' ry='16'/%3E%3Cellipse cx='30' cy='30' rx='6' ry='9'/%3E%3Cellipse cx='90' cy='80' rx='12' ry='16'/%3E%3Cellipse cx='90' cy='80' rx='6' ry='9'/%3E%3Ccircle cx='80' cy='20' r='10'/%3E%3Ccircle cx='80' cy='20' r='5'/%3E%3Crect x='15' y='75' width='22' height='28' rx='11'/%3E%3Crect x='19' y='79' width='14' height='20' rx='7'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
  position: relative;
  overflow: hidden;
}

/* LEFT COLUMN – TOP TIPS */
.section-title {
  font-size: 28px;
  font-weight: 400;
  color: #2a2a2a;
  margin-bottom: 24px;
  letter-spacing: .2px;
}
.section-title strong {
  font-weight: 900;
  color: #1a1a1a;
}

/* Tab Slider Layout */
.tab-slider-row {
  display: flex;
  align-items: center;
  background-color: #b9cef1; /* Soft peach/beige background for inactive track */
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}

.tab-arrow {
  background: #b9cef1; /* Matches track background */
  border: none;
  color: #042E58; /* Fixed blue arrow color */
  width: 45px;
  height: 54px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 5;
}
/* Left and right thin separation lines */
.tab-arrow:first-of-type { border-right: 1px solid rgba(0, 0, 0, 0.05); }
.tab-arrow:last-of-type { border-left: 1px solid rgba(0, 0, 0, 0.05); }

.tab-arrow:hover { background: #b9cef1; }
.tab-arrow:disabled { opacity: .35; cursor: default; background: #f3e1d3; color: #042E58; }

.tab-window {
  flex: 1;
  overflow: hidden;
}
.tab-track {
  display: flex;
  transition: transform .35s ease-out;
}

.tab-btn {
  flex: 0 0 220px; /* Forces exact rigid slide sizes */
  height: 54px;
  border: none;
  background: transparent; /* Allows natural track color flow */
  color: #042E58; /* Theme accent blue text color for inactive tabs */
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0 15px;
  text-align: center;
  transition: all 0.2s;
}
.tab-btn:hover { background: #b9cef; }

/* The Active Tab Overrides */
.tab-btn.active {
  background: #ffffff;
  color: #1a3a4b; /* Deep dark text color */
  font-weight: 600;
  border-top: 3px solid #042E58; /* Sharp top blue border line */
  border-bottom: none; /* Removed bottom border fill */
  border-left: 1px dashed #d1dbdf; /* Subtle dash borders on sides */
  border-right: 1px dashed #d1dbdf;
  transform: translateY(1px); /* Ensures a flush alignment with panels */
}

/* Tab Content Display Panels */
.tab-panels-wrapper {
  background: #ffffff;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.tab-panel {
  padding: 40px;
  display: none;
  animation: tabFadeIn .35s ease;
}
.tab-panel.active { display: block; }
@keyframes tabFadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.tab-panel p { 
  font-size: 14px; 
  font-style: italic; 
  color: #4a5568; 
  line-height: 1.8; 
  margin-bottom: 24px; 
}
.tab-panel p:last-of-type { margin-bottom: 25px; }

/* Read More Button Adjustments */
.btn-read-more {
  display: inline-block;
  border: 1px solid #042E58; /* Slimmed line thickness */
  color: #042E58;
  background: transparent;
  border-radius: 20px; /* Clean tracking ellipse curves */
  padding: 10px 32px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.btn-read-more:hover { background: #042E58; color: #fff; }

/* RIGHT COLUMN – FAQ ACCORDION */
.faq-title {
  font-size: 28px;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 24px;
}
.faq-item { margin-bottom: 10px; }

.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
}
.faq-header-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.faq-item.open .faq-header {
  background: #2a2a2a;
  color: #ffffff;
  border-radius: 4px 4px 0 0;
}
.faq-item:not(.open) .faq-header {
  background: #ffffff;
  color: #222222;
  border: 1px solid #e2eaf0;
}
.faq-item:not(.open) .faq-header:hover { background: #f9fbfd; }

/* Centered Flex Containers for Icons */
.faq-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1885ec;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.faq-icon-wrap i { color: #ffffff; font-size: 14px; display: inline-block; line-height: 1; }

.faq-header-text { font-size: 15px; font-weight: 600; }

.faq-chevron {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.15);
  color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.25s;
}
.faq-item:not(.open) .faq-chevron { background: #e0e8f0; color: #555; }

/* Accordion Body */
.faq-body {
  background: #ffffff;
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease-out;
  border: 1px solid #e2eaf0;
  border-top: none;
  border-radius: 0 0 4px 4px;
}
.faq-item.open .faq-body { max-height: 500px; }

.faq-body-inner { padding: 20px; font-size: 14px; color: #555; line-height: 1.75; text-align: justify; }
.faq-body-inner .more-link { color: #03386d; text-decoration: none; font-weight: 600; }
.faq-body-inner .more-link:hover { text-decoration: underline; }

/* Mobile Adaptability Styles */
@media (max-width: 576px) {
  .tips-faq-section { padding: 50px 0; }
  .tab-btn { flex-basis: 160px; font-size: 13px; }
  .tab-panel { padding: 25px 20px; }
  .faq-header { padding: 12px 14px; }
  .faq-header-text { font-size: 14px; }
}

.map-wrapper {
  width: 100%;
  height: 250px; /* Adjust the pixel height value to make it wider or narrower as needed */
  border: 1px solid #e2eaf0;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  overflow: hidden;

}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* Footer Wrapper Base Colors */
.site-footer {
  background-color: #042E58; /* Bright blue theme from image_9a4a01.png */
  color: #ffffff;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
}

/* Base columns */
.footer-col {
  padding: 50px 30px;
  box-sizing: border-box;
}

/* Standard columns sizing logic */
.tweets-col {
  flex: 2;
  min-width: 300px;
}

.hours-col {
  flex: 1.5;
  min-width: 250px;
}

/* Contacts Dark Side Bar panel */
.contacts-col {
  flex: 1.5;
  background-color: #00022f; /* Dark panel theme */
  min-width: 280px;
}

/* Section Title Headers */
.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Latest Tweets Styles */
.tweet-item {
  margin-bottom: 20px;
}
.tweet-link-header {
  color: #67b0fe; /* Yellowish creamy gold header font */
  text-decoration: none;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
.tweet-link-header:hover {
  text-decoration: underline;
}
.tweet-item p {
  margin: 0;
  color: #ffffff;
}
.tweet-item .read-more {
  color: #67b0fe;
  text-decoration: none;
}

/* Opening Hours Table Layout styles */
.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table td {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.hours-table tr td:last-child {
  text-align: right;
}

/* Contacts Hyperlinks list style rules */
.contact-links {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}
.contact-links li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.contact-links i {
  color: #ffffff;
  font-size: 15px;
  margin-top: 3px;
}
.contact-hyperlink {
  color: #ffffff;
  text-decoration: none;
}
.contact-hyperlink.highlighting {
  color: #c9e29c; /* Bright greenish highlight text color */
}
.contact-hyperlink:hover {
  text-decoration: underline;
}

/* Circle Social Media Icons */
.footer-socials {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 36px;
  height: 36px;
  background-color: #042E58;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  transition: transform 0.2s, background-color 0.2s;
}
.social-btn:hover {
  transform: scale(1.05);
  background-color: #01366b;
}

/* Bottom Bar Separation line and backgrounds */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 30px;
}
.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
}
.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}
.footer-bottom a:hover {
  text-decoration: underline;
}
.designer-text {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Responsive adjustment for columns sizing on smaller viewports */
@media (max-width: 768px) {
  .footer-row {
    flex-direction: column;
  }
  .contacts-col {
    background-color: transparent;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
  }
  .footer-bottom-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Phone error message styling */

.phone-wrap{
    position:relative;
    flex:1;
    min-width:200px;
}

.error-border{
    border:2px solid #ff4d4f !important;
}

.err-icon{
    position:absolute;
    right:12px;
    top:18px;          /* fixed position inside input */
    width:20px;
    height:20px;
    border-radius:50%;
    background:#ff4d4f;
    color:#fff;
    font-size:12px;
    display:none;
    align-items:center;
    justify-content:center;
    font-weight:bold;
}

.error-text{
    position:absolute;
    left:0;
    top:100%;
    margin-top:5px;
    color:#ff4d4f;
    font-size:13px;
    line-height:1;
}

/* Links Normalization */

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


/*====================================================
        BOOK APPOINTMENT SECTION
====================================================*/

.appt-section{
    display:flex;
    width:100%;
    background:#EEF4FA;
    overflow:hidden;
}

/*========================
        LEFT IMAGE
========================*/

.appt-img-col{
    flex:0 0 48%;
    background:#EEF4FA;
    display:flex;
    align-items:flex-start;
    justify-content:flex-start;
    overflow:hidden;
}

.appt-doctor-img{
    width:100%;
    height:auto;              /* remove height:100% */
    display:block;
    object-fit:cover;
    object-position:left top;
}

/*========================
        RIGHT FORM
========================*/

.appt-form-col{
    flex:1;
    background:#EEF4FA;
    display:flex;
    justify-content:center;
    flex-direction:column;
    padding:60px 70px;
}

.appt-title{
    font-size:2.4rem;
    font-weight:800;
    color:#222;
    text-transform:uppercase;
    margin-bottom:32px;
}

.appt-form-col>div{
    width:100%;
    max-width:600px;
}

/*========================
        INPUTS
========================*/

.field-wrap{
    position:relative;
    width:100%;
}

.field-icon{
    position:absolute;
    top:50%;
    left:15px;
    transform:translateY(-50%);
    color:#043769;
    z-index:5;
}

.appt-input{
    width:100%;
    height:50px;
    border:1px solid #d8e3ef;
    border-radius:4px;
    padding:0 15px 0 42px;
    background:#fff;
    font-size:.9rem;
}

textarea.appt-input{
    height:110px;
    padding-top:14px;
    resize:none;
}

/*========================
        BUTTON
========================*/

.btn-submit{
    padding:13px 48px;
    border:none;
    border-radius:35px;
    background:#043769;
    color:#fff;
    font-weight:700;
    letter-spacing:2px;
    transition:.3s;
}

.btn-submit:hover{
    background:#0d5ea8;
}

/*========================
        MOBILE
========================*/

@media(max-width:992px){

    .appt-section{
        flex-direction:column;
    }

    .appt-img-col{
        flex:none;
    }

    .appt-doctor-img{
        width:100%;
        height:auto;
    }

    .appt-form-col{
        padding:40px 30px;
    }

}

@media(max-width:576px){

    .appt-form-col{
        padding:30px 20px;
    }

    .appt-title{
        font-size:1.8rem;
    }

}