
body {
    font-family: 'Poppins', sans-serif;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #009A8F;
    text-align: center;
}

.section-desc {
    color: #444;
    font-size: 1.1rem;
    max-width: 900px;
    margin: auto;
    text-align: center;
    line-height: 1.7;
}


/* Emergency Bar */
/* Emergency Bar Styling */
.emergency-bar {
    background: #007a72;
    padding: 8px 0;
    font-size: 0.95rem;
    
}

.emergency-bar span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-weight: 500;
}

.emergency-btn {
    background: #F36C21;
    color: #fff !important;
    padding: 6px 18px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

.emergency-btn:hover {
    background: #d85a19;
}






.navbar {
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff;
}

.logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.navbar-nav {
    align-items: center;
}

.nav-item {
    padding: 0 12px;
}

/* .nav-link {
    font-size: 20px;
    font-weight: 600;
    color: #333 !important;
    padding: 8px 5px;
} */
.nav-link {
    font-size: 16px;        /* medium size */
    font-weight: 600;
    text-transform: uppercase;  /* CAPITAL LETTERS */
    letter-spacing: 0.5px;
}


.nav-link:hover,
.nav-link.active {
    color: #009A8F !important;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}
.navbar .dropdown-menu {
    border-radius: 10px;
    padding: 10px 0;
}



.dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.dropdown-item {
    font-size: 18px;
    padding: 10px 16px;
}

.dropdown-item:hover {
    background: #009A8F;
    color: white;
}


.btn-appointment {
    font-size: 18px;
    font-weight: 600;
    background: #F36C21;
    padding: 10px 25px;
    border-radius: 8px;
    color: #fff !important;
}

.btn-appointment:hover {
    background: #d45717;
}

/* ============================= */
/* HERO BANNER  */
/* ============================= */

/* =========================
   HERO BASE
========================= */
.hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* HERO IMAGE */
.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

/* =========================
   HERO TEXT CONTAINER
========================= */
.hero-banner-text {
  position: absolute;
  top: 8%;                 /* 🔹 heading slightly top */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #ffffff;
  z-index: 2;
  width: 90%;
  max-width: 900px;
}

/* =========================
   HEADING (FROM TOP)
========================= */
.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 1px;

  opacity: 0;
  animation: slideDown 1.2s ease-out forwards;
}

/* =========================
   SUBTITLE (FROM SIDE)
========================= */
.hero-subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  letter-spacing: 0.5px;

  opacity: 0;
  animation: slideRight 1.2s ease-out forwards;
  animation-delay: 0.4s;
}

/* =========================
   BUTTON (FADE UP)
========================= */
.hero-btn {
  display: inline-block;
  padding: 12px 34px;
  background: #f36c21;
  color: #ffffff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;

  opacity: 0;
  animation: fadeUp 1.2s ease-out forwards;
  animation-delay: 0.8s;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: #d85b1b;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(243,108,33,0.4);
}

/* =========================
   KEYFRAMES
========================= */

/* H1 FROM TOP */
@keyframes slideDown {
  from {
    opacity: 0;
    margin-top: -60px;
  }
  to {
    opacity: 1;
    margin-top: 0;
  }
}

/* P FROM LEFT */
@keyframes slideRight {
  from {
    opacity: 0;
    margin-left: -80px;
  }
  to {
    opacity: 1;
    margin-left: 0;
  }
}

/* BUTTON FADE UP */
@keyframes fadeUp {
  from {
    opacity: 0;
    margin-top: 25px;
  }
  to {
    opacity: 1;
    margin-top: 0;
  }
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {

  .hero-banner-text {
    top: 45%;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-btn {
    padding: 10px 26px;
    font-size: 14px;
  }
}


/* ========================= */
/* 3 INFO BOXES BELOW HERO   */
/* ========================= */
/* ========================= */
/* 3 INFO BOXES BELOW HERO   */
/* ========================= */

.info-box-section {
    padding: 40px 0;
}

.info-box {
    background: #1aa39a;         /* theme color */
    color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    height: 100%;                /* equal height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.info-box:hover {
    background: #158f87;
    transform: translateY(-4px);
}


.info-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.info-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 18px;
}

.info-item,
.info-list {
    background: rgba(255,255,255,0.15);
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-contact {
    margin: 6px 0;
    font-size: 15px;
}

.info-contact i {
    margin-right: 6px;
}

/* BOOK APPOINTMENT BUTTON */
.hero-btn,
.info-btn {
    display: inline-block;          /* ❗ prevents full width */
    width: 200px;                    /* ❗ stops stretching */
    padding: 8px 18px;              /* 🔹 small & neat */
    background-color: #ff6c2f;
    color: #ffffff;
    text-decoration: none;          /* ❗ removes underline */
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;            /* keeps text in one line */
}

/* HOVER EFFECT */
.hero-btn:hover,
.info-btn:hover {
    background-color: #e85b22;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* ==========================
   INFO BOX ANIMATIONS
=========================== */

.info-animate {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease;
}

.info-animate.show {
    opacity: 1;
    transform: scale(1);
}

/* Staggered delay for elegance */
.info-animate:nth-child(1) {
    transition-delay: 0.1s;
}
.info-animate:nth-child(2) {
    transition-delay: 0.25s;
}
.info-animate:nth-child(3) {
    transition-delay: 0.4s;
}
.info-box:hover {
    transform: translateY(-4px) scale(1.02);
}





/* ==========================
    ABOUT SECTION
=========================== */

.about-section {
    padding: 60px 0;
}

.about-section .row {
    display: flex;
    align-items: center;
}


.welcome-title {
    font-size: 32px;
    font-weight: 700;
    color: #009A8F;
    text-align: left;
}

.welcome-text {
    text-align: justify !important;
    text-justify: inter-word;
    font-size: 16px;
    color: #444;
    line-height: 1.8;
}


.about-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
    object-fit: cover;
    height: 350px;
}

.section-btn {
    background: #F36C21;
    color: #fff;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}


/* ==========================
   ANIMATIONS (Viewport based)
=========================== */

.fade-left,
.fade-right {
    opacity: 0;
    transform: translateY(40px);
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-play-state: paused; /* 🔑 important */
}

.fade-left {
    animation-name: fadeLeft;
    animation-delay: 0.2s;
}

.fade-right {
    animation-name: fadeRight;
    animation-delay: 0.4s;
}

.animate {
    animation-play-state: running; /* 🔥 triggers animation */
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Main Wrapper */
/* =========================
   DOCTORS SECTION BASE
========================= */
.doctors-wrapper {
    padding: 50px 0;
}

/* =========================
   EACH DOCTOR BOX
========================= */
.doctor-box {
    background: #E8F7F6;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);

    /* Animation */
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease-out;
}

/* Reveal on scroll */
.doctor-box.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hover lift (premium feel) */
.doctor-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.12);
}

/* =========================
   DOCTOR IMAGE
========================= */
.doctor-box-img {
    width: 100%;
    max-width: 260px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    height: 350px;

    /* Animation */
    transform: scale(0.95);
    opacity: 0;
    transition: all 1.2s ease;
}

.doctor-box.active .doctor-box-img {
    transform: scale(1);
    opacity: 1;
}

/* =========================
   DOCTOR TEXT
========================= */
.doctor-name {
    font-size: 30px !important;
    font-weight: 800 !important;
    color: #007a72;

    /* Animation */
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.8s ease-out;
}

.doctor-box.active .doctor-name {
    opacity: 1;
    transform: translateY(0);
}

.doctor-qual {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.doctor-role {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #444;
}

/* Description fade */
.doctor-desc {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;

    opacity: 0;
    transition: opacity 1s ease;
}

.doctor-box.active .doctor-desc {
    opacity: 1;
    transition-delay: 0.3s;
}

/* =========================
   SPECIALIZATION LIST
========================= */
.spec-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;

    opacity: 0;
    transition: opacity 1s ease;
}

.doctor-box.active .spec-heading {
    opacity: 1;
    transition-delay: 0.5s;
}

.doctor-spec-list {
    list-style: none;
    padding-left: 0;
}

.doctor-spec-list li {
    margin-bottom: 6px;
    font-size: 15px;

    opacity: 0;
    transition: opacity 0.6s ease;
}

.doctor-box.active .doctor-spec-list li {
    opacity: 1;
}

/* Staggered list animation */
.doctor-box.active .doctor-spec-list li:nth-child(1) { transition-delay: 0.6s; }
.doctor-box.active .doctor-spec-list li:nth-child(2) { transition-delay: 0.7s; }
.doctor-box.active .doctor-spec-list li:nth-child(3) { transition-delay: 0.8s; }
.doctor-box.active .doctor-spec-list li:nth-child(4) { transition-delay: 0.9s; }
.doctor-box.active .doctor-spec-list li:nth-child(5) { transition-delay: 1s; }

.doctor-spec-list i {
    color: #007a72;
    margin-right: 6px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .doctor-box-img {
        margin-bottom: 20px;
    }

    .doctor-name {
        font-size: 24px !important;
    }
}


/* ===========================
   HIGHLIGHTS SECTION
=========================== */

/* ===========================
   OUR HIGHLIGHTS (COUNTERS)
=========================== */

.stats-section {
    background: #f9fbfc;
    padding: 80px 0;
}

/* .stats-title {
    font-size: 34px;
    font-weight: 700;
    color: #007a6f;
} */

.stats-subtitle {
    font-size: 18px;
    color: #5f6c85;
    margin-top: 10px;
}

/* Card */
.stats-card {
    background: #ffffff;
    padding: 35px 20px;
    border-radius: 18px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    height: 100%;
}

/* Golden top border */
.stats-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15%;
    width: 70%;
    height: 4px;
    background: #f36c21; /* golden */
    border-radius: 0 0 6px 6px;
}

.stats-card:hover {
    transform: translateY(-6px);
}

/* Number */
.stats-number {
    font-size: 48px;
    font-weight: 800;
    color: #007a6f;
    margin-bottom: 10px;
}

/* Text */
.stats-text {
    font-size: 16px;
    color: #4b5563;
    font-weight: 500;
}






.why-section {
    background: #f2faf9;
}

.why-card-alt {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    text-align: center;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.why-card-alt:hover {
    transform: translateY(-6px);
}

.why-icon-alt {
    font-size: 40px;
    color: #009A8F;
    margin-bottom: 10px;
}


/* ==========================
   WHY CHOOSE US – ANIMATIONS
=========================== */

.why-card-alt {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

/* when visible */
.why-card-alt.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Icon micro animation */
.why-icon-alt {
    transition: transform 0.4s ease, color 0.4s ease;
}

.why-card-alt:hover .why-icon-alt {
    transform: scale(1.15) rotate(-3deg);
    color: #F36C21;
}


/* ===========================
   SPECIALTIES SECTION (FIXED)
=========================== */

.specialties-new-section {
    background: linear-gradient(to right, #009A8F, #016f68);
    color: white;
    padding: 60px 0;
}

/* CARD */
.specialty-card {
    background: rgba(255,255,255,0.15);
    border-radius: 14px;
    padding: 25px;
    text-align: center;
    color: white;
    height: 100%;

    /* 🔑 FIX */
    display: flex;
    flex-direction: column;

    transition: background 0.3s ease, transform 0.3s ease;
}

/* Hover */
.specialty-card:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-4px);
}

/* ICON */
.specialty-icon {
    font-size: 40px;
    margin-bottom: 12px;

    /* ✅ FIX: center icon */
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}


/* TITLE */
.specialty-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* TEXT */
.specialty-card p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;

    /* 🔑 keeps buttons aligned */
    flex-grow: 1;
}

/* BUTTON – PERFECT ALIGNMENT */
.specialty-btn {
    align-self: center;
    margin-top: auto;
    padding: 8px 22px;
    min-width: 130px;
    background: #F36C21;
    color: white;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s ease, transform 0.2s ease;
}

/* Button hover */
.specialty-btn:hover {
    background: #d45717;
    transform: translateY(-2px);
}


/* ==========================
   SPECIALTIES ZOOM ANIMATION
=========================== */

.zoom-card {
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.9s ease;
}

/* When visible */
.zoom-card.show {
    opacity: 1;
    transform: scale(1);
}

/* Elegant hover zoom-out */
.zoom-card:hover {
    transform: scale(1.04) translateY(-6px);
}

/* Stagger delay for natural flow */
.zoom-card:nth-child(1) { transition-delay: 0.15s; }
.zoom-card:nth-child(2) { transition-delay: 0.3s; }
.zoom-card:nth-child(3) { transition-delay: 0.45s; }
.zoom-card:nth-child(4) { transition-delay: 0.6s; }





.service-detail {
    border-bottom: 1px solid #eee;
}

.detail-title {
    color: #009A8F;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.detail-desc {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 20px;
}

.detail-list {
    padding-left: 20px;
    margin-bottom: 20px;
}

.detail-list li {
    margin-bottom: 8px;
    font-size: 1rem;
    color: #444;
}

.detail-img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.detail-btn {
    display: inline-block;
    background: #F36C21;
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.detail-btn:hover {
    background: #d45717;
    color: #fff;
}


/* ===========================
   GLOBAL STYLING
=========================== */
/* ===========================
   GLOBAL STYLING
=========================== */
:root {
    --primary: #009a8f;
    --accent: #f36c21;
    --muted: #6b7280;
    --card-shadow: 0 8px 26px rgba(15,23,42,0.08);
    --bg: #f5f7fb;
}

body {
    background: var(--bg);
    font-family: "Poppins", sans-serif;
    color: #222;
}

/* ===========================
   CATEGORY HEADERS
=========================== */
/* Fix title overlapping with header */
/* ===========================
   CATEGORY HEADERS (FINAL FIX)
=========================== */

/* Always add spacing after green page header */

/* FIX for subservice title inside .specialties-new-section */
/* .specialties-new-section .category-header {
    margin-top: 80px !important;
    margin-bottom: 40px !important;
    position: relative;
    z-index: 10;
} */

/* Ensure grid appears below header cleanly */
/* Clean spacing between header and first service section */
.subservice-section {
    margin-top: 30px;
    margin-bottom: 80px;
}

.category-header {
    margin-bottom: 20px;
}




/* Page header stays same */
.page-header {
    background: #007a72;
    color: #fff;
    padding: 45px 0;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 0 0 0px 0px;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
}

/* Category header text */
.category-header {
    text-align: center;
    margin-bottom: 30px;
}

.category-title {
    font-size: 32px;
    font-weight: 700;
    color: #007a72;
    text-transform: uppercase;

}

.category-sub {
    font-size: 17px;
    color: #555;
    margin-top: 5px;
}

/* ---------- SERVICE CARDS GRID FIXED ---------- */

.subservice-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

/* 3 equal columns */
.col-4 {
    flex: 0 0 calc(33.33% - 25px);
}

/* Card */
.sub-card,
.subservice-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    width: 100%;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.sub-card:hover,
.subservice-card:hover {
    transform: translateY(-5px);
}

/* Card Image */
.sub-card-img,
.sub-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
}

/* Card Title */
.sub-card-title,
.sub-title {
    font-size: 20px;
    font-weight: 600;
    color: #007a72;
    margin-top: 15px;
}

/* Card Text */
.sub-card-text,
.sub-desc {
    font-size: 15px;
    color: #444;
    margin-top: 8px;
    min-height: 70px;
}

/* Button */
.sub-card-btn,
.sub-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 18px;
    background: #F36C21;
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.sub-card-btn:hover,
.sub-btn:hover {
    background: #d45717;
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .col-4 {
        flex: 0 0 calc(50% - 25px);
    }
}

@media (max-width: 576px) {
    .col-4 {
        flex: 0 0 100%;
    }
}
/* SUBSERVICE CARD ANIMATION BASE */
.sub-card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

/* When visible */
.sub-card.show {
    opacity: 1;
    transform: translateY(0);
}
.sub-card-img {
    transform: scale(1.05);
    transition: transform 1s ease;
}

.sub-card.show .sub-card-img {
    transform: scale(1);
}
.sub-card-title,
.sub-card-text,
.sub-card-btn {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s ease;
}

/* Delays for elegance */
.sub-card.show .sub-card-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.sub-card.show .sub-card-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
}

.sub-card.show .sub-card-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}
.sub-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.12);
}

.sub-card:hover .sub-card-img {
    transform: scale(1.04);
}

/* ==============================
   MISSION & VISION – FIXED COLORS
============================== */

.mission-vision-section {
    background: linear-gradient(
        135deg,
        #e9f7f6,
        #f4fbfa
    );
    padding: 80px 0;
}

.mission-vision-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 30px;
    align-items: center;
}

/* Images */
.mv-image img {
    width: 100%;
    border-radius: 50px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    height: 370px;
    object-fit: cover;
    transform: translateY(-30px);

}

/* Center Content */
.mv-content {
    text-align: center;
    color: #0f172a; /* dark readable text */
}

/* Heading */
.mv-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: #007a72;
    margin-bottom: 30px;
}

/* Mission / Vision Cards */
.mv-item {
    background: #ffffff;
    padding: 22px 20px;
    border-radius: 16px;
    margin-bottom: 22px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.mv-item i {
    font-size: 30px;
    color: #F36C21;
    margin-bottom: 6px;
}

.mv-item h4 {
    font-size: 20px;
    font-weight: 700;
    color: #007a72;
    margin-bottom: 6px;
}

.mv-item p {
    font-size: 15.5px;
    line-height: 1.7;
    color: #475569;
}

/* Button */
.mv-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 28px;
    background: #F36C21;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.mv-btn:hover {
    background: #d45717;
    transform: translateY(-2px);
}

/* Responsive */
@media(max-width: 991px) {
    .mission-vision-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
@media (max-width: 991px) {
    .mv-image img {
        transform: none;
        height: auto;
    }
}
/* ==========================
   MISSION & VISION ANIMATIONS
=========================== */

.fade-left,
.fade-right,
.fade-top,
.fade-bottom {
    opacity: 0;
    transition: all 1s ease;
}

/* Directions */
.fade-left {
    transform: translateX(-60px);
}
.fade-right {
    transform: translateX(60px);
}
.fade-top {
    transform: translateY(-50px);
}
.fade-bottom {
    transform: translateY(50px);
}

/* When visible */
.fade-left.show,
.fade-right.show,
.fade-top.show,
.fade-bottom.show {
    opacity: 1;
    transform: translate(0);
}

/* Natural stagger */
.fade-top {
    transition-delay: 0.2s;
}
.fade-bottom {
    transition-delay: 0.4s;
}


/* ================================
   QUALITY COMMITMENT SECTION
================================ */
.quality-section {
    background: linear-gradient(135deg, #009A8F, #4CB8B0);
    padding: 90px 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* HEADER */
.quality-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.quality-header h2 {
    font-size: 34px;
    font-weight: 800;
    max-width: 520px;
    line-height: 1.3;
}

.quality-header p {
    max-width: 460px;
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.95;
}

/* BUTTON */
.quality-btn {
    background: #ffffff;
    color: #F36C21;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: all 0.35s ease;
}

.quality-btn:hover {
    background: #F36C21;
    color: #ffffff;
    transform: translateY(-3px);
}

/* ================================
   STEPS GRID
================================ */
.quality-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 26px;
}

/* CARD */
.quality-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    padding: 28px 22px;
    border-radius: 18px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Hover Glow Effect */
.quality-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
    opacity: 0;
    transition: 0.4s ease;
}

.quality-card:hover::before {
    opacity: 1;
}

.quality-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

/* ICON */
.quality-card i {
    font-size: 34px;
    margin-bottom: 14px;
    color: #F36C21;
    transition: transform 0.4s ease;
}

.quality-card:hover i {
    transform: scale(1.15) rotate(4deg);
}

/* TITLE */
.quality-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* TEXT */
.quality-card p {
    font-size: 14.5px;
    line-height: 1.7;
    opacity: 0.95;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1200px) {
    .quality-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .quality-header {
        text-align: center;
        justify-content: center;
    }

    .quality-header h2,
    .quality-header p {
        max-width: 100%;
    }

    .quality-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .quality-steps {
        grid-template-columns: 1fr;
    }

    .quality-header h2 {
        font-size: 28px;
    }
}




.doctors-section {
    background: #f8fffe;
}

.doctor-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transition: 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.doctor-card-img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    background: #e9f8f7;
    padding: 12px;
    border-radius: 15px 15px 0 0;
}

.doctor-info {
    padding: 22px;
    text-align: center;
}

.doctor-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #F36C21;
}

.doctor-qual {
    margin: 5px 0;
    font-weight: 500;
    color: #009A8F;
}

.doctor-spec {
    font-size: 0.95rem;
    color: #444;
}


.facilities-section {
    background: #f5fcfb;
    padding: 60px 0;
}

.facility-box {
    padding: 18px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.facility-box i {
    font-size: 28px;
    color: #009A8F;
}


.appointment-section {
    background: #f2fdfc;
}

.appointment-section .form-control,
.appointment-section .form-select {
    border-radius: 8px;
}


body {
    overflow-x: hidden;
}


.gallery-section {
    background: #f6fffd;
}


.gallery-outer {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-track {
    display: flex;
    width: max-content;
    animation: scrollGallery 15s linear infinite;
}

.gallery-track img {
    width: 330px;
    height: 220px;
    object-fit: cover;
    margin-right: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.gallery-track img:hover {
    transform: scale(1.05);
}


@keyframes scrollGallery {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}


/* ----------------------------- */
/* REVIEWS SECTION */
/* ----------------------------- */

/* ----------------------------- */
/* GOOGLE REVIEW SECTION */


/* =========================
   GLOBAL SECTION HEADING
========================= */
.section-title,
.stats-title,
.review-heading {
    font-size: 36px;          /* SAME SIZE */
    font-weight: 800;         /* SAME WEIGHT */
    color: #009A8F;           /* THEME COLOR */
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* Section subtitle / description */
.section-desc,
.stats-subtitle {
    font-size: 17px;
    font-weight: 500;
    color: #5f6c85;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}
@media (max-width: 768px) {
    .section-title,
    .stats-title,
    .review-heading {
        font-size: 28px;
    }

    .section-desc,
    .stats-subtitle {
        font-size: 15px;
    }
}


.google-review-section {
  padding: 60px 20px;
  background: #ffffff;
  font-family: 'Poppins', sans-serif;
}



/* LAYOUT */
.review-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 30px;
  align-items: center;
}

/* LEFT CARD */
.google-summary {
  width: 320px;
  background: #cceae8;
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.summary-header {
  display: flex;
  gap: 15px;
}

.store-icon {
  font-size: 36px;
  color: #2e7d32;
}

.google-summary h4 {
  font-size: 16px;
  font-weight: 600;
}

.rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.score {
  font-size: 20px;
  font-weight: bold;
  color: #2e7d32;
}

.stars {
  color: #ff9800;
}

.google-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #f5894d;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
}

/* SLIDER */
.slider {
  overflow: hidden;
  width: calc(100% - 350px);
}

.slider-track {
  display: flex;
  gap: 20px;
  animation: slide 10s linear infinite;
}

/* REVIEW CARD */
.review-card {
  min-width: 300px;
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
  transition: transform 0.4s ease;
}

.review-card:hover {
  transform: translateY(-8px);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #b2e0dd;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.google-icon {
  width: 18px;
  margin-left: auto;
}

.review-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

/* ANIMATION */
@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* MOBILE */
@media (max-width: 900px) {
  .review-container {
    flex-direction: column;
  }

  .slider {
    width: 100%;
  }

  .google-summary {
    width: 100%;
  }
}






/* ----------------------------- */
/* APPOINTMENT SECTION */
/* ----------------------------- */

.appointment-block {
    background: #eef5ff;
}

.appoint-title {
    font-size: 24px;
    font-weight: 700;
}

.appointment-form {
    background: #009A8F;
    padding: 25px;
    border-radius: 12px;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    border-radius: 6px;
}

.submit-btn {
    background: #ff6f2e;
    color: #fff;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
}

.submit-btn:hover {
    background: #e65b1e;
}


.location-card {
    background: #ffffff;
    padding: 15px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.location-title {
    font-size: 18px;
    font-weight: 700;
    color: #007a72;
    margin-bottom: 10px;
}

.map-section {
    position: relative;
    width: 100%;
    height: 260px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none; /* prevents iframe from blocking clicks */
}

/* Transparent clickable layer */
.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}
/* @media (max-width: 576px) {
    .map-overlay {
        font-size: 15px;
        padding: 8px 16px;
        bottom: 12px;
        right: 12px;
    }

    .map-wrapper {
        height: 260px;
    }
} */


/* ==========================
   APPOINTMENT POPUP
========================== */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-box {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 14px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    animation: popupScale 0.4s ease;
}

.popup-box h3 {
    color: #009A8F;
    font-weight: 700;
    margin-bottom: 12px;
}

.popup-box p {
    font-size: 15px;
    color: #444;
    margin-bottom: 20px;
}

.popup-box button {
    background: #F36C21;
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.popup-box button:hover {
    background: #d45717;
}

/* Popup animation */
@keyframes popupScale {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}





/* FOOTER BASE */
.footer {
    background: #009A8F;
}

.footer-col {
    min-height: 200px;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

/* LINKS */
.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
}
.footer-link:hover {
    color: #d45717;
}

/* LOGO BOX */
.footer-logo-box {
    background: #ffffff;
    padding: 15px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: inline-block;
}

.footer-logo {
    width: 110px;
    height: auto;
}

/* BELOW LOGO TEXT */
.footer-hospital-name {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1rem;
}

/* SOCIAL ICONS */
.social-icons i {
    font-size: 26px;
    color: white;
    transition: 0.3s ease;
}
.social-icons i:hover {
    color: #d45717;
}

/* EQUAL SPACING */
.footer .row {
    display: flex;
    justify-content: space-between;
}

/* FOOTER BOTTOM */
.footer-bottom {
    font-size: 0.95rem;
}

/* ================================
   QUALITY SECTION – SCROLL ANIMATIONS
================================ */

/* Initial hidden states */
.quality-header h2,
.quality-header p {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1s ease;
}

.quality-btn {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1s ease;
}

/* Cards initial state */
.quality-card {
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.9s ease;
}

/* ===== ACTIVE STATE ===== */
.quality-section.active .quality-header h2,
.quality-section.active .quality-header p {
    opacity: 1;
    transform: translateX(0);
}

.quality-section.active .quality-btn {
    opacity: 1;
    transform: translateX(0);
}

/* Cards animate down one-by-one */
.quality-section.active .quality-card {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered card delay */
.quality-section.active .quality-card:nth-child(1) { transition-delay: 0.2s; }
.quality-section.active .quality-card:nth-child(2) { transition-delay: 0.35s; }
.quality-section.active .quality-card:nth-child(3) { transition-delay: 0.5s; }
.quality-section.active .quality-card:nth-child(4) { transition-delay: 0.65s; }
.quality-section.active .quality-card:nth-child(5) { transition-delay: 0.8s; }



/* FACILITIES – BASE ANIMATION STATE */
.facility-box {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}
.facility-box i {
    transform: scale(0.6);
    opacity: 0;
    transition: all 0.6s ease;
}
.facilities-section.active .facility-box {
    opacity: 1;
    transform: translateY(0);
}

.facilities-section.active .facility-box i {
    opacity: 1;
    transform: scale(1);
}
.facilities-section.active .col-md-3:nth-child(1) .facility-box { transition-delay: 0.1s; }
.facilities-section.active .col-md-3:nth-child(2) .facility-box { transition-delay: 0.2s; }
.facilities-section.active .col-md-3:nth-child(3) .facility-box { transition-delay: 0.3s; }
.facilities-section.active .col-md-3:nth-child(4) .facility-box { transition-delay: 0.4s; }
.facilities-section.active .col-md-3:nth-child(5) .facility-box { transition-delay: 0.5s; }
.facilities-section.active .col-md-3:nth-child(6) .facility-box { transition-delay: 0.6s; }
.facilities-section.active .col-md-3:nth-child(7) .facility-box { transition-delay: 0.7s; }
.facilities-section.active .col-md-3:nth-child(8) .facility-box { transition-delay: 0.8s; }
.facilities-section.active .col-md-3:nth-child(9) .facility-box { transition-delay: 0.9s; }
.facilities-section.active .col-md-3:nth-child(10) .facility-box { transition-delay: 1s; }
.facilities-section.active .col-md-3:nth-child(11) .facility-box { transition-delay: 1.1s; }


.facility-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}

.facility-box:hover i {
    color: #F36C21;
    transform: scale(1.15);
}




/* =========================
   FLOATING CALL & WHATSAPP
========================= */

.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 9999;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Call Button */
.call-btn {
    background: #00c389;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: #25D366;
}

/* Hover Effect */
.float-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 25px rgba(0,0,0,0.35);
}

/* Mobile adjustment */
@media (max-width: 576px) {
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}


@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-btn {
    animation: pulse 2s infinite;
}
