/* ═══════════════════════════════════════════════════════════════════
   SEHA DIAGNOSTICS — style.css
   Bootstrap 5.3 | DM Serif Display + DM Sans
   Color: Teal #0E8A7E, Accent red #E63946, Navy #0D2748
═══════════════════════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────────────────────── */
:root {
  --teal:        #11ba9d;
  --teal-dark:   #11ba9d;
  --teal-light:  #E8F5F4;
  --red:         #E63946;
  --blue:        #1A5276;
  --navy:        #063e89;
  --gold:        #F0A500;
  --white:       #FFFFFF;
  --gray-50:     #F8FBFB;
  --gray-100:    #EEF3F3;
  --gray-400:    #94A3B8;
  --gray-600:    #4B6070;
  --gray-800:    #1E293B;
  --font-body:   'DM Sans', sans-serif;
  --font-head:   'DM Serif Display', serif;
  --shadow-sm:   0 2px 8px rgba(14,138,126,.10);
  --shadow-md:   0 6px 24px rgba(14,138,126,.15);
  --shadow-lg:   0 16px 48px rgba(13,39,72,.18);
  --radius:      12px;
  --radius-sm:   8px;
  --transition:  .3s ease;
}

/* ── RESET & BASE ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); }

em { font-style: italic; color: var(--teal); }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; height: auto; }

.section-pad { padding: 90px 0; }

.bg-light-teal { background: var(--teal-light); }

/* ── SECTION LABELS ─────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(14,138,126,.10);
  border: 1px solid rgba(14,138,126,.25);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn-primary-custom {
  background: var(--teal);
  color: var(--white);
  border: 2px solid var(--teal);
  padding: 11px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: var(--transition);
}
.btn-primary-custom:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14,138,126,.3);
}

.btn-outline-custom {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
  padding: 11px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-outline-custom:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── TOP BAR ────────────────────────────────────────────────────── */
#topbar {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  padding: 9px 0;
  position: relative;
  z-index: 1100;
}

.topbar-left span {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,.85);
}
.topbar-left span i { color: var(--gold); }

.topbar-right a {
  color: rgba(255,255,255,.75);
  margin-left: 14px;
  font-size: 1rem;
  transition: color .25s;
}
.topbar-right a:hover { color: var(--gold); }

.btn-topbar {
  background: var(--teal);
  color: var(--white) !important;
  border: none;
  padding: 5px 18px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: var(--transition);
}
.btn-topbar:hover { background: var(--teal-dark); }

/* ── HEADER / NAVBAR ─────────────────────────────────────────────── */
#mainHeader { position: sticky; top: 0; z-index: 1050; }

#mainNav {
  background: var(--white);
  padding: 14px 0;
  box-shadow: 0 2px 16px rgba(13,39,72,.10);
  transition: all .35s ease;
}

#mainNav.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 24px rgba(13,39,72,.15);
}

/* Logo */
.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(14,138,126,.35);
  flex-shrink: 0;
}
.logo-icon.small { width: 36px; height: 36px; font-size: 1.1rem; border-radius: 8px; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: .06em;
}
.brand-sub {
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--teal);
  text-transform: uppercase;
}

.navbar-brand img{width: auto; height: 60px;}

/* Nav Links */
.navbar-nav .nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-800);
    padding: 8px 14px;
    border-radius: 6px;
    transition: var(--transition);
    margin: 0 8px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--teal);
  background: rgba(14,138,126,.07);
}

/* Dropdown */
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 220px;
  animation: dropIn .25s ease;
}
@keyframes dropIn {
  from { opacity:0; transform: translateY(-8px); }
  to   { opacity:1; transform: translateY(0); }
}
.dropdown-item {
  border-radius: 6px;
  padding: 9px 14px;
  font-size: .92rem;
  color: var(--gray-800);
  transition: var(--transition);
}
.dropdown-item:hover { background: var(--teal-light); color: var(--teal); }
.dropdown-item i { color: var(--teal); }

/* Mobile Toggler */
.custom-toggler {
  border: none;
  background: none;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.custom-toggler span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: .3s;
}

/* Offcanvas */
.offcanvas{max-width: 300px; z-index: 9999;}
.offcanvas .navbar-nav .nav-link {
  color: var(--gray-800);
  font-weight: 500;
  padding: 12px 8px;
  border-bottom: 1px solid var(--gray-100);
}
.offcanvas .navbar-nav .nav-link:hover { color: var(--teal); }
.mobile-contact { font-size: .88rem; color: var(--gray-600); }
.mobile-contact i { color: var(--teal); }


/* ── HERO SLIDER ─────────────────────────────────────────────────── */
.slider-img {
  height: 92vh;
  min-height: 500px;
  max-height: 800px;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(13,39,72,.82) 0%,
    rgba(13,39,72,.55) 50%,
    rgba(13,39,72,.25) 100%
  );
}

.carousel-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 6% 0 8%;
  text-align: left;
}

.slide-badge {
    display: inline-block;
    background: rgb(17 186 157);
    color: var(--white);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 18px;
    animation: fadeSlideUp .7s ease both;
}

.carousel-caption h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 620px;
  animation: fadeSlideUp .8s ease .15s both;
}
.carousel-caption h1 em { color: var(--gold); }

.carousel-caption p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.88);
  max-width: 520px;
  margin-bottom: 28px;
  animation: fadeSlideUp .8s ease .3s both;
}

.slide-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeSlideUp .8s ease .45s both;
}

.btn-slide-primary {
  background: var(--teal);
  color: var(--white);
  border: 2px solid var(--teal);
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
}
.btn-slide-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-slide-outline {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  backdrop-filter: blur(6px);
  transition: var(--transition);
}
.btn-slide-outline:hover {
  background: var(--white);
  color: var(--teal);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: .3s;
  opacity: 1;
}
.carousel-control-prev { left: 24px; }
.carousel-control-next { right: 24px; }
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--teal);
  border-color: var(--teal);
}
.carousel-control-prev-icon,
.carousel-control-next-icon { display: none; }

.carousel-indicators [data-bs-target] {
  width: 30px; height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.5);
  border: none;
  transition: .3s;
}
.carousel-indicators .active {
  background: var(--teal);
  width: 48px;
}

@keyframes fadeSlideUp {
  from { opacity:0; transform: translateY(24px); }
  to   { opacity:1; transform: translateY(0); }
}

/* ── STATS BAR ───────────────────────────────────────────────────── */
#statsBar {
  background: linear-gradient(135deg, var(--navy) 0%, #0F3460 100%);
  padding: 0;
}

.stat-item {
  text-align: center;
  padding: 38px 20px;
  border-right: 1px solid rgba(255,255,255,.12);
  transition: var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,.05); }

.stat-icon {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2.6rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* ── ABOUT SECTION ───────────────────────────────────────────────── */
.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
}

.main-about-img {
  border-radius: var(--radius);
  width: 100%;
  height: 685px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  min-width: 200px;
}

.badge-icon {
  width: 44px; height: 44px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--teal);
  flex-shrink: 0;
}

.about-badge-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--navy);
}
.about-badge-card span {
  font-size: .78rem;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: .05em;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-800);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.about-feature:hover {
  background: var(--teal-light);
  border-color: rgba(14,138,126,.25);
}
.about-feature i { color: var(--teal); font-size: 1rem; flex-shrink: 0; }

/* ── SERVICES SECTION ───────────────────────────────────────────── */
.service-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.service-detail-block { padding: 10px 0; }

.service-icon-lg {
  width: 72px; height: 72px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.service-icon-lg.teal {
  background: rgba(14,138,126,.12);
  color: var(--teal);
  border: 2px solid rgba(14,138,126,.2);
}
.service-icon-lg.red {
  background: rgba(230,57,70,.10);
  color: var(--red);
  border: 2px solid rgba(230,57,70,.18);
}
.service-icon-lg.blue {
  background: rgba(26,82,118,.10);
  color: var(--blue);
  border: 2px solid rgba(26,82,118,.18);
}

.service-detail-block h3 {
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 14px;
}
.service-detail-block p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.service-list li {
  display: flex;
  align-items: center;
  font-size: .92rem;
  font-weight: 500;
  color: var(--gray-800);
}
.service-list li i { color: var(--teal); font-size: 1.3rem; }

.service-divider {
  border-top: 2px dashed rgba(14,138,126,.2);
  margin: 50px 0;
}

/* ── WHY CHOOSE US ───────────────────────────────────────────────── */
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14,138,126,.25);
}

.why-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  margin: 0 auto 18px;
  box-shadow: 0 6px 20px rgba(14,138,126,.3);
}

.why-card h5 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.why-card p {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}

/* ── TESTIMONIALS ────────────────────────────────────────────────── */
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  position: relative;
  height: 100%;
  transition: var(--transition);
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testi-quote {
  font-size: 2.5rem;
  color: rgba(14,138,126,.15);
  line-height: 1;
  margin-bottom: 12px;
}

.testi-card p {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-footer img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--teal-light);
}
.testi-footer strong {
  display: block;
  font-size: .95rem;
  color: var(--navy);
  font-family: var(--font-head);
}
.testi-footer span {
  font-size: .82rem;
  color: var(--teal);
  font-weight: 600;
}

.testi-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 12px;
  letter-spacing: .08em;
}

.btn-testi-ctrl {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--teal);
  color: var(--teal);
  font-size: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.btn-testi-ctrl:hover {
  background: var(--teal);
  color: var(--white);
}

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq-accordion { --bs-border-color: var(--gray-100); }

.faq-item {
  border: 1px solid var(--gray-100) !important;
  border-radius: var(--radius) !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-btn {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--navy);
  background: var(--white);
  padding: 18px 20px;
  box-shadow: none !important;
  display: flex;
  align-items: center;
}
.faq-btn i { color: var(--teal); font-size: 1.15rem; flex-shrink: 0; }
.faq-btn:not(.collapsed) { color: var(--teal); background: var(--teal-light); }
.faq-btn::after {
  filter: none;
  background-image: none;
  content: '\F282';
  font-family: 'Bootstrap-icons';
  font-size: 1rem;
  color: var(--teal);
  transition: transform .3s;
}
.faq-btn:not(.collapsed)::after { transform: rotate(180deg); content: '\F286'; }

.faq-body {
  font-size: .96rem;
  color: var(--gray-600);
  padding: 8px 20px 20px 56px;
  line-height: 1.8;
  background: var(--white);
}
.faq-body a { color: var(--teal); text-decoration: underline; }

/* ── CTA ─────────────────────────────────────────────────────────── */
.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  border-radius: 24px;
  padding: 70px 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}

.cta-icon {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.cta-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 14px;
}
.cta-box h2 em { color: var(--gold); }
.cta-box p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  max-width: 540px;
  margin: 0 auto;
}

.btn-cta-primary {
  background: var(--teal);
  color: var(--white);
  border: 2px solid var(--teal);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .98rem;
  transition: var(--transition);
}
.btn-cta-primary:hover {
  background: var(--white);
  color: var(--teal);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-cta-outline {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .98rem;
  backdrop-filter: blur(6px);
  transition: var(--transition);
}
.btn-cta-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ── CONTACT SECTION ─────────────────────────────────────────────── */
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14,138,126,.25);
}

.contact-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  margin: 0 auto 16px;
  box-shadow: 0 6px 18px rgba(14,138,126,.3);
}

.contact-card h5 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.contact-card p {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin: 0;
}
.contact-card a { color: var(--teal); }
.contact-card a:hover { text-decoration: underline; }

/* ── FOOTER ──────────────────────────────────────────────────────── */
#mainFooter{background: #fff;}
.footer-top{padding: 60px 0 0;}

.footer-about {
  font-size: .92rem;
  color: #444;
  line-height: 1.8;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #063e89;
    margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li { margin-bottom: 9px; }
.footer-links a {
  font-size: .92rem;
  color: #444;
  transition: color .25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '›';
  color: #222;
  font-size: 1.1rem;
  line-height: 1;
}
.footer-links a:hover { color: var(--teal); }

.footer-contact-list {
  list-style: none;
  padding: 0;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: #444;
  margin-bottom: 12px;
  line-height: 1.6;
}
.footer-contact-list li i {
  color: var(--teal);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-contact-list a { color: #444; }
.footer-contact-list a:hover { color: var(--teal); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 12px 0;
    background-color: #eee;
}
.footer-bottom p {
  font-size: .9rem;
  color: #444;
  margin: 0;
}
.footer-bottom a {
  color: var(--teal);
}

.footer-logo img{width: auto; height: 80px;}

/* ── BACK TO TOP ─────────────────────────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  border: none;
  font-size: 1.1rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(14,138,126,.4);
  transition: var(--transition);
}
#backToTop:hover {
  background: var(--teal-dark);
  transform: translateY(-3px);
}
#backToTop.show { display: flex; }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */

/* LG ↓ */
@media (max-width: 991px) {
  .slider-img { height: 70vh; min-height: 400px; }
  .carousel-caption h1 { font-size: 2rem; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .about-badge-card { right: 0; bottom: -16px; }
  .service-list { grid-template-columns: 1fr; }
  .main-about-img { height: 360px; }
}

/* MD ↓ */
@media (max-width: 767px) {
  #topbar { display: none; }
  .section-pad { padding: 60px 0; }
  .slider-img { height: 62vh; min-height: 340px; }
  .carousel-caption { padding: 0 6%; }
  .carousel-caption h1 { font-size: 1.65rem; }
  .carousel-caption p { font-size: .9rem; }
  .btn-slide-primary, .btn-slide-outline { padding: 10px 20px; font-size: .85rem; }
  .carousel-control-prev { left: 10px; }
  .carousel-control-next { right: 10px; }
  .carousel-control-prev, .carousel-control-next { width: 40px; height: 40px; }
  .stat-number { font-size: 1.8rem; }
  .main-about-img { height: 260px; }
  .about-badge-card { position: relative; bottom: 0; right: 0; margin-top: 14px; }
  .service-img { height: 260px; }
  .cta-box { padding: 46px 24px; }
  .footer-top { padding: 50px 0 36px; }
  .footer-about { max-width: 100%; }
  #backToTop { bottom: 16px; right: 16px; }
}

/* SM ↓ */
@media (max-width: 575px) {
  .slider-img { height: 55vh; }
  .carousel-caption h1 { font-size: 1.4rem; }
  .slide-badge { font-size: .7rem; }
  .service-detail-block h3 { font-size: 1.4rem; }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,.12); }
  .stat-number { font-size: 1.6rem; }
  .faq-body { padding-left: 20px; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, .carousel-item, .carousel-caption * { animation: none !important; transition: none !important; }
}



/* ═══════════════════════════════════════════════════════════════════
   POPUP / APPOINTMENT FORM
═══════════════════════════════════════════════════════════════════ */

/* Overlay */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(13, 39, 72, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Box */
.popup-box {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 40px 36px 36px;
  position: relative;
  box-shadow: 0 24px 72px rgba(13,39,72,.28);
  transform: translateY(32px) scale(.96);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .4s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--teal-light) transparent;
}

.popup-overlay.active .popup-box {
  transform: translateY(0) scale(1);
}

/* Close Button */
.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s ease;
  z-index: 10;
  line-height: 1;
}

.popup-close:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 4px 14px rgba(230,57,70,.35);
}

/* Popup Header */
.popup-header {
  text-align: center;
  margin-bottom: 28px;
}

.popup-icon {
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #fff;
  margin: 0 auto 14px;
  box-shadow: 0 8px 24px rgba(14,138,126,.32);
}

.popup-header h4 {
  font-size: 1.45rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.popup-header p {
  font-size: .88rem;
  color: #64748b;
  margin: 0;
}

/* Labels */
.popup-label {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy);
  display: block;
  margin-bottom: 7px;
}

.popup-label span {
  color: var(--red);
}

/* Input Wrap */
.popup-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.popup-input-wrap > i {
  position: absolute;
  left: 14px;
  color: var(--teal);
  font-size: 1rem;
  pointer-events: none;
  transition: color .25s;
  z-index: 2;
}

/* Inputs */
.popup-input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--gray-800);
  background: #f8fafc;
  outline: none;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.popup-input::placeholder {
  color: #94a3b8;
  font-size: .9rem;
}

.popup-input:hover {
  border-color: rgba(14,138,126,.45);
  background: #fff;
}

.popup-input:focus {
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14,138,126,.12);
}

.popup-input:focus + i,
.popup-input-wrap:focus-within > i {
  color: var(--teal-dark);
}

/* Select */
.popup-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230E8A7E' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Submit Button */
.popup-submit {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 6px 20px rgba(14,138,126,.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-submit:hover {
  background: linear-gradient(135deg, var(--teal-dark) 0%, #044f47 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(14,138,126,.42);
}

.popup-submit:active {
  transform: translateY(0);
}

/* Success State */
.popup-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  font-size: 3.5rem;
  color: var(--teal);
  margin-bottom: 16px;
  animation: popIn .5s cubic-bezier(.34,1.56,.64,1) both;
}

.popup-success h5 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.popup-success p {
  font-size: .93rem;
  color: #64748b;
  line-height: 1.7;
}

.popup-success a {
  color: var(--teal);
  text-decoration: underline;
}

@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* Scrollbar styling */
.popup-box::-webkit-scrollbar { width: 5px; }
.popup-box::-webkit-scrollbar-track { background: transparent; }
.popup-box::-webkit-scrollbar-thumb { background: var(--teal-light); border-radius: 10px; }

/* Mobile popup */
@media (max-width: 575px) {
  .popup-box {
    padding: 32px 22px 28px;
    border-radius: 16px;
  }
  .popup-header h4 { font-size: 1.2rem; }
}