/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f5f7fa;
    scroll-behavior: smooth;
    overflow-x: hidden; /* prevent horizontal scroll */
    font-family: Arial, sans-serif;
}


/*-----------------------------------Logo----------------------------------*/

/* HEADER */
.guruved-hospital-header {
  background: linear-gradient(
    135deg,
    #0b3c5d 0%,   /* deep medical blue */
    #1f6f8b 50%,  /* calm teal */
    #5451f6 100%  /* healing aqua */
  );

  background-size: 200% 200%;
  animation: headerGradient 12s ease infinite;

  padding: clamp(10px, 2vw, 16px) clamp(16px, 4vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;

  position: sticky;
  top: 0;
  z-index: 1000;
}

.branding {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 18px);
}


@keyframes headerGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.logo-container {
    display: flex;
    align-items: center;
    animation: logoSlideIn 1.2s ease;
}

.logo-container img {
  height: clamp(45px, 6vw, 90px);
  width: auto;
  max-width: 90px;

  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.45));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.logo-container img:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 0 18px rgba(255, 215, 0, 0.7));
}

@keyframes logoSlideIn {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/*---------------------------------------------Logo End------------------------------------*/

/* --------------------------------------------NAVBAR-------------------------------------- */
nav ul {
  list-style: none;
  display: flex;
  gap: clamp(12px, 2vw, 26px);
}

nav ul li {
    position: relative;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
  padding: clamp(6px, 1vw, 10px) clamp(8px, 1.5vw, 14px);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 500;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: #ffeb3b;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a:hover {
  color: #ffeb3b;
}

.dropdown {
  position: absolute;
  top: 42px;
  background: #ffffff;
  min-width: 190px;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

nav ul li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 16px;
  color: #1f2f54;
  font-size: 14px;
  border-radius: 999px;
  margin-bottom: 6px;
  transition: all 0.3s ease;
}

.dropdown a:hover {
  background: linear-gradient(135deg, #2fa4a9, #1f6f8b);
  color: #ffffff;
  padding-left: 22px;
}

/*
@media (max-width: 768px) {
    .guruved-hospital-header {
        padding: 10px 20px;
    }

    .logo-container img {
        height: 45px;
    }

    nav ul {
        gap: 12px;
    }
} */

@media (max-width: 768px) {
  .guruved-hospital-header {
    flex-wrap: wrap;
  }

  nav ul {
    gap: 10px;
  }
}
/*------------------------------------------------NAVBAR END----------------------------------*/

/* SLIDER */
/* SLIDER CONTAINER */
.slider {
  width: 100%;                    /* full-width on all devices */
  max-width: 1400px;              /* optional: cap max width for very large screens */
  height: clamp(280px, 45vw, 580px);   /* modern fluid height: min 280px → preferred ~45% of viewport width → max 580px */
  margin: 30px auto 80px;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
  background: #eaf4f8; /* fallback medical base color */
}

/* Biomedical gradient overlay – made lighter for more visibility */
.slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 120, 160, 0.28),     /* reduced opacity */
    rgba(0, 180, 160, 0.10)
  );
  z-index: 1;
  pointer-events: none;
}

/* Removed ::after → no more grid lines */

/* SLIDES */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);           /* slight zoom-out start for smoother transition */
  transition: opacity 1.3s ease, transform 1.6s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

/* IMAGES – improved responsive handling */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;                /* keeps good fill, but consider 'contain' if important parts get cropped */
  object-position: center;          /* center focus – adjust per image if needed (e.g. top, 60% 40%) */
  display: block;
}

/* TEXT CONTENT – better visibility & responsive sizing */
.slide-content {
  position: absolute;
  bottom: clamp(5%, 8%, 10%);
  left: clamp(4%, 6%, 8%);
  z-index: 3;
  color: #ffffff;
  max-width: 85%;
  text-shadow: 
    0 2px 8px rgba(0,0,0,0.65),    /* stronger shadow → much better readability */
    0 1px 4px rgba(0,0,0,0.4);
}

.slide-content h2 {
  font-size: clamp(1.5rem, 4.2vw, 3.2rem);   /* fluid, larger range for impact */
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.15;
}

.slide-content p {
  font-size: clamp(1rem, 2.1vw, 1.35rem);
  opacity: 0.98;
  line-height: 1.45;
  max-width: 620px;
}

/* MOBILE OPTIMIZATION – refined for better small-screen experience */
@media (max-width: 1024px) {
  .slider {
    height: clamp(260px, 50vw, 480px);   /* slightly taller relative on tablets */
  }
}

@media (max-width: 768px) {
  .slider {
    margin: 20px auto 60px;
    border-radius: 16px;
  }

  .slide-content {
    bottom: 7%;
    left: 5%;
    max-width: 92%;
  }

  .slide-content h2 {
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .slider {
    border-radius: 12px;
    height: clamp(220px, 55vw, 380px);   /* taller feel on phones */
  }

  .slide-content {
    bottom: 6%;
    left: 4%;
  }

  .slide-content h2 {
    font-size: clamp(1.35rem, 5.5vw, 2.1rem);
  }

  .slide-content p {
    font-size: clamp(0.95rem, 3.8vw, 1.1rem);
  }
}


/* ------------------------ Medical Services Available SECTION START HERE -------------------- */
section {
    padding: clamp(40px, 6vw, 70px) clamp(15px, 5vw, 40px);
}

/* ── SPECIALISTS SECTION ── */
.specialists-section {
    padding: 80px 5%;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4fc 100%);
    position: relative;
    overflow: hidden;
    isolation: isolate;          /* modern replacement for creating new stacking context */
}

/* ── Subtle medical watermark / pattern ── */
.specialists-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.07;
    background-image:
        /* faint repeating ECG / pulse line pattern */
        repeating-linear-gradient(
            110deg,
            transparent 0%,
            transparent 40%,
            #0b5ed7 40%,
            #0b5ed7 42%,
            transparent 42%,
            transparent 100%
        ),
        /* soft diagonal medical overlay */
        linear-gradient(
            135deg,
            rgba(11, 94, 215, 0.03) 0%,
            transparent 50%,
            rgba(0, 196, 204, 0.02) 100%
        );
    background-size: 180px 100px, cover;
    mix-blend-mode: multiply;
    z-index: 0;
}

.specialists-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/subtle-medical-watermark.png') center / cover no-repeat;
    opacity: 0.09;
    pointer-events: none;
    mix-blend-mode: multiply;
    z-index: 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5.5vw, 3.2rem);   /* more natural scaling */
    font-weight: 700;
    color: #0f5e20;
    margin: 0 0 3.5rem;
    letter-spacing: -0.4px;
    position: relative;
    line-height: 1.15;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, #0b5ed7, #00c4cc);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.section-title:hover::after {
    width: 140px;
}

/* Grid Layout */
.specialists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Card */
.specialist-card {
    background: white;
    border-radius: 16px;
    padding: 2.2rem 2rem;
    box-shadow: 0 8px 30px rgba(11, 94, 215, 0.09);
    border: 1px solid rgba(11, 94, 215, 0.07);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;

    /* animation */
    opacity: 0;
    transform: translateY(35px);
    animation: fadeUp 0.8s forwards;
}

/* Staggered entrance */
.specialist-card:nth-child(1) { animation-delay: 0.1s; }
.specialist-card:nth-child(2) { animation-delay: 0.2s; }
.specialist-card:nth-child(3) { animation-delay: 0.3s; }
.specialist-card:nth-child(4) { animation-delay: 0.4s; }
.specialist-card:nth-child(n+5) { animation-delay: 0.5s; } /* fallback for more cards */

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover */
.specialist-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 50px rgba(11, 94, 215, 0.18);
    border-color: #0b5ed7;
}

.specialist-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #0b5ed7, #00c4cc);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s ease;
}

.specialist-card:hover::before {
    transform: scaleX(1);
}

/* Typography inside card */
.specialist-card h3 {
    font-size: clamp(1.15rem, 2.8vw, 1.25rem);
    font-weight: 600;
    color: #0210cb;
    margin: 0 0 1.1rem;
    padding-bottom: 0.8rem;
    position: relative;
    letter-spacing: -0.25px;
}

.specialist-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0b5ed7, #4dabf7);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.specialist-card:hover h3::after {
    width: 110px;
}

.specialist-card p {
    font-size: 0.98rem;
    line-height: 1.78;
    color: #1f2a44;           /* better contrast than #123201 */
    margin: 0;
    font-weight: 500;
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .specialists-section {
        padding: 60px 4%;
    }

    .section-title {
        font-size: clamp(2.1rem, 7vw, 2.6rem);
    }

    .specialist-card {
        padding: 1.8rem 1.6rem;
    }

    .specialist-card h3 {
        font-size: 1.45rem;
    }
}

/* Extra safety – very small screens */
@media (max-width: 380px) {
    .specialists-grid {
        gap: 1.5rem;
    }

    .specialist-card {
        padding: 1.6rem 1.3rem;
    }
}

/* ------------------------ Medical Services Available SECTION END HERE -------------------- */

/* ------------------------------------- SECTION Why Choose Us START HERE ---------------------------------------*/

.why-choose-section {
  padding: clamp(48px, 6vw, 88px) 5%;
  font-family: "Inter", "Poppins", sans-serif;
  background:
    radial-gradient(circle, rgba(37,99,235,0.12) 1px, transparent 1px),
    linear-gradient(180deg, #f8fbff, #eef6fb);
  background-size: 22px 22px;
}

.why-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.why-header h2 {
  font-size: clamp(24px, 3vw, 36px);
  color: #2563eb;
  margin-bottom: 8px;
  animation: fadeUp 1s ease forwards;
  text-shadow: 0 0 12px rgba(37,99,235,0.25);
}

.subtitle {
  font-size: 15px;
  color: #64748b;
  font-style: italic;
  margin-bottom: 12px;
  animation: fadeUp 1.2s ease forwards;
}

.desc {
  color: #475569;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.6;
  animation: fadeUp 1.4s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.desc {
  color: #475569;
  font-size: 16px;
  line-height: 1.6;
}

.why-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 28px);
}

@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    padding: 22px;
  }

  .icon {
    font-size: 30px;
  }
}


.why-card {
  display: flex;
  gap: 18px;
  padding: 26px;
  border-radius: 22px;
  background: #fff;
  border: 1.5px solid rgba(37,99,235,0.25);
  transition: transform .3s ease, box-shadow .3s ease, border .3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: #2563eb;
  box-shadow:
    0 18px 40px rgba(37,99,235,0.18),
    0 0 18px rgba(37,99,235,0.15);
}

.why-card:hover .icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px rgba(37,99,235,0.6));
}

.why-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #2563eb;
}

.why-card p {
  margin: 0;
  font-size: 15px;
  color: #475569;
  line-height: 1.5;
}

.icon {
  font-size: 34px;
  color: #2563eb;
  transition: transform .3s ease;
}


/* Responsive */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}


/* ------------------------------------- SECTION Why Choose Us END HERE ---------------------------------------*/


/* ------------------------------------- FOOTER START ---------------------------------------*/
/* FOOTER */
.hospital-footer {
    background: linear-gradient(270deg, #011e4b, #19273d, #010c1c);
    background-size: 600% 600%;
    animation: footerGradient 12s ease infinite;
    padding: 50px clamp(20px, 5vw, 40px) 20px;
    color: #fff;
}

@keyframes footerGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* FOOTER LAYOUT */
.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

/* FOOTER BOX */
.footer-box {
    padding: 10px 0;
    animation: fadeBoxUp 1.1s ease both;
}

.footer-box:nth-child(2) {
    animation-delay: 0.2s;
}
.footer-box:nth-child(3) {
    animation-delay: 0.4s;
}

.footer-box h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.4px;
    position: relative;
    margin-bottom: 15px;
}

.footer-box h3::after {
    content: "";
    width: 40px;
    height: 3px;
    background: #ffeb3b;
    display: block;
    margin-top: 6px;
}

.footer-box p {
    font-size: 14.8px;
    line-height: 1.7;
    margin-bottom: 10px;
    opacity: 0.92;
    transition: opacity 0.3s ease;
}

.footer-box p:hover {
    opacity: 1;
}

@keyframes fadeBoxUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SOCIAL ICONS */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    transition: all 0.4s ease;
    font-size: 19px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* HOVER EFFECTS */
.social-icons a:hover {
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 12px 25px rgba(0,0,0,0.35);
}

/* BRAND COLORS */
.social-icons a:nth-child(1):hover { background: #1877f2; } /* Facebook */
.social-icons a:nth-child(2):hover { background: #e1306c; } /* Instagram */
.social-icons a:nth-child(3):hover { background: #000; }     /* Twitter (X) */
.social-icons a:nth-child(4):hover { background: #ff0000; } /* YouTube */


/* FOOTER BOTTOM */
.footer-bottom {
    margin-top: 40px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.3);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 14px;
    color: #fff;
    opacity: 0.95;

    animation: fadeUpFooter 1.2s ease;
}

/* INDIVIDUAL PARTS */
.footer-left,
.footer-center,
.footer-right {
    transition: color 0.3s ease, transform 0.3s ease;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hospital-footer {
        padding: 40px 20px 20px;
    }

    .footer-box {
        padding: 15px 0;
    }

    .footer-box p {
        font-size: 14px;
    }
}

/* HOVER EFFECT */
.footer-left:hover,
.footer-center:hover,
.footer-right:hover {
    color: #ffeb3b;
    transform: translateY(-3px);
}

/* ANIMATION */
@keyframes fadeUpFooter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-box h3::after {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ------------------------------------- FOOTER END -----------------------------------------*/

/* ================= HEALTH CARE SERVICE START ================= */

.services-section {
  padding: clamp(50px, 8vw, 100px) 5%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(45, 212, 191, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(34, 197, 94, 0.05) 0%, transparent 50%),
    linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: 
    radial-gradient(circle at 33% 25%, transparent 10%, #2dd4bf 11%, transparent 12%),
    radial-gradient(circle at 66% 75%, transparent 8%, #22c55e 9%, transparent 10%),
    linear-gradient(60deg, transparent 45%, rgba(45, 212, 191, 0.04) 46%, rgba(45, 212, 191, 0.04) 54%, transparent 55%);
  background-size: 180px 180px, 220px 220px, cover;
  background-position: 0 0, 40% 60%, center;
  mix-blend-mode: multiply;
  z-index: 0;
}

.services-header,
.services-grid {
  position: relative;
  z-index: 1;
}

/* Header */
.services-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 5.5rem;
}

.services-header h2 {
  font-size: clamp(2.1rem, 5.5vw, 2.4rem);
  font-weight: 700;
  color: #0f766e;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 1.4rem;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.services-header p {
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  line-height: 1.78;
  color: #475569;
  max-width: 780px;
  margin: 0 auto;
  font-weight: 400;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  margin: 1.6rem 0 2rem;
}

.line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #0ea5e9, #14b8a6);
  border-radius: 4px;
  opacity: 0.6;
}

.heartbeat-pulse {
  font-size: 2.4rem;
  color: #e11d48;
  animation: pulse 2.4s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50%      { transform: scale(1.25); opacity: 1; }
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.8rem, 4vw, 3rem);
  max-width: 1350px;
  margin: 0 auto;
}

/* Card */
.service-card {
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 22px 22px 30px 18px;
  padding: clamp(2rem, 3vw, 2.6rem) 1.9rem 2.8rem;
  text-align: center;
  border: 1px solid rgba(45, 212, 191, 0.16);
  box-shadow: 
    0 10px 36px rgba(45, 212, 191, 0.14),
    inset 0 2px 12px rgba(255,255,255,0.75);
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  transform: translateY(45px) scale(0.97);
  animation: floatIn 1.1s forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes floatIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.service-card:hover {
  transform: translateY(-14px) scale(1.035);
  box-shadow: 
    0 28px 60px rgba(45, 212, 191, 0.24),
    inset 0 4px 18px rgba(255,255,255,0.88);
  border-color: #14b8a6;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: -1px 12% auto 12%;
  height: 5px;
  background: linear-gradient(90deg, #0ea5e9, #2dd4bf, #14b8a6);
  border-radius: 5px;
  opacity: 0.92;
  transform: scaleX(0);
  transition: all 0.55s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
  inset: -1px 6% auto 6%;
}

/* Icon */
.icon {
  font-size: clamp(3.6rem, 8vw, 4.8rem);
  margin-bottom: 1.5rem;
  color: #0ea5e9;
  text-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
  transition: all 0.5s ease;
  filter: drop-shadow(0 6px 12px rgba(14, 165, 233, 0.3));
}

.service-card:hover .icon {
  transform: translateY(-8px) rotate(8deg) scale(1.14);
  color: #0d9488;
  text-shadow: 0 10px 24px rgba(45, 212, 191, 0.5);
  filter: drop-shadow(0 12px 24px rgba(45, 212, 191, 0.5));
}

/* Text */
.service-card h3 {
  font-size: clamp(1.4rem, 3vw, 1.65rem);
  font-weight: 800;
  color: #0f766e;
  margin: 0 0 1rem;
  letter-spacing: -0.3px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.service-card p {
  font-size: clamp(0.98rem, 2.2vw, 1.08rem);
  line-height: 1.72;
  color: #04449d;
  margin: 0;
  font-weight: 450;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .services-grid {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: clamp(60px, 10vw, 80px) 6%;
  }
  .service-card {
    padding: 2.2rem 1.8rem 2.6rem;
  }
  .icon {
    font-size: clamp(3.4rem, 10vw, 4.2rem);
  }
}

@media (max-width: 480px) {
  .services-header {
    margin-bottom: 4rem;
  }
  .services-header h2 {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
  }
  .services-header p {
    font-size: 1.05rem;
  }
  .service-card {
    padding: 1.9rem 1.5rem 2.3rem;
  }
  .icon {
    font-size: 3.8rem;
    margin-bottom: 1.3rem;
  }
  .service-card h3 {
    font-size: 1.45rem;
  }
}
/* ================= HEALTH CARE SERVICE END ================= */

/*----------------------------------------------------------------------------------*/

/* SECTION */
.professionals-team {
  padding: clamp(60px, 10vw, 100px) 5%;
  text-align: center;
  background:
    linear-gradient(rgba(14,165,233,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.06) 1px, transparent 1px),
    linear-gradient(180deg, #f8fcff, #eef7fc);
  background-size: 30px 30px;
  position: relative;
  overflow: hidden;
}

/* TITLE */
.doctors-info {
  font-size: clamp(2.2rem, 5.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: clamp(40px, 8vw, 60px);
  color: #0f3d44;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: -0.4px;
  position: relative;
}

.doctors-info::after {
  content: "";
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, #4bb7c8, #2ca4b8);
  display: block;
  margin: 16px auto 0;
  border-radius: 3px;
}

/* GRID */
.team-wrapper-doctors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  max-width: 1240px;
  margin: 0 auto;
}

/* CARD */
.team-card {
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(130px, 18vw, 150px) 20px 40px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.07);
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #4bb7c8 0%, #2ca4b8 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.team-card:hover::before {
  opacity: 0.92;
}

.team-card:hover {
  transform: translateY(-16px);
  box-shadow: 0 28px 60px rgba(75,183,200,0.28);
}

/* IMAGE + BADGE */
.image-doctor {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: -130px auto 24px;
  border: 8px solid #ffffff;
  overflow: hidden;
  background: #ffffff;
  position: relative;
  z-index: 1;
  transition: all 0.5s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,0.14);
  filter: drop-shadow(0 8px 16px rgba(75,183,200,0.3));
}

.team-card:hover .image-doctor {
  transform: scale(1.12) translateY(-8px);
  box-shadow: 0 20px 50px rgba(75,183,200,0.45);
  filter: drop-shadow(0 16px 32px rgba(75,183,200,0.5));
}

.image-doctor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.dept-badge {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2ca4b8;
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* TEXT */
.team-card h4,
.team-card .role,
.team-card .designation {
  position: relative;
  z-index: 1;
}

.team-card h4 {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(1.05rem, 3vw, 1.10rem);
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f3d44;
  letter-spacing: -0.2px;
  transition: all 0.4s ease;
}

.team-card .role {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: #4bb7c8;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
  transition: all 0.4s ease;
}

.team-card .designation {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #4a5568;
  margin-top: 12px;
  transition: all 0.4s ease;
}

.team-card:hover h4 {
  color: white;
  transform: translateY(-3px);
}

.team-card:hover .role,
.team-card:hover .designation {
  color: rgba(255,255,255,0.95);
}

/* SOCIAL ICONS */
.social {
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.social i {
  width: 40px;
  height: 40px;
  line-height: 40px;
  background: #ffffff;
  color: #4bb7c8;
  border-radius: 50%;
  margin: 0 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.team-card:hover .social i {
  background: rgba(255,255,255,0.25);
  color: white;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.social i:hover {
  transform: translateY(-8px) scale(1.18);
  box-shadow: 0 12px 30px rgba(75,183,200,0.5);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .team-wrapper-doctors {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .professionals-team {
    padding: clamp(50px, 12vw, 80px) 6%;
  }
  .image-doctor {
    width: 140px;
    height: 140px;
    margin: -115px auto 20px;
  }
  .team-card {
    padding-top: clamp(120px, 20vw, 135px);
  }
}

@media (max-width: 480px) {
  .doctors-info {
    font-size: clamp(1.9rem, 7vw, 2.4rem);
  }
  .team-card {
    padding: 100px 16px 32px;
  }
  .image-doctor {
    width: 130px;
    height: 130px;
    margin: -105px auto 18px;
  }
  .team-card h4 {
    font-size: 1.35rem;
  }
  .social i {
    width: 36px;
    height: 36px;
    line-height: 36px;
    margin: 0 6px;
  }
}


/*------------------------------------OPD - APPOIMENT SERVICE START HERE -------------------------------------*/

.info-section {
  padding: clamp(50px, 5vw, 100px) 5%;
  margin-top: 20px;
  position: relative;
  z-index: 5;
  background: linear-gradient(
    135deg,
    #e4fedc 0%,
    #c6d1ef 45%,
    #f0f9d3 100%
  );
  overflow: hidden;
}

/* subtle animated glow */
.info-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(59,130,246,0.18), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(34,211,238,0.15), transparent 60%);
  animation: bgFloat 12s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes bgFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-20px); }
}

.info-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 4vw, 40px);
}

.info-card {
  background: rgba(255,255,255,0.92);
  border-radius: 20px;
  padding: clamp(30px, 4vw, 45px);
  box-shadow:
    0 25px 55px rgba(0,0,0,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.35);
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  backdrop-filter: blur(10px);
}

/* glow strip */
.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #38bdf8, #22d3ee, #38bdf8);
  opacity: 0;
  transition: 0.4s;
}

.info-card:hover::before {
  opacity: 1;
}

.info-card:hover {
  transform: translateY(-18px) scale(1.02);
  box-shadow:
    0 40px 80px rgba(31,47,84,0.35),
    0 0 40px rgba(34,211,238,0.35);
}

.icon {
  font-size: 38px;
  color: #1f2f54;
  margin-bottom: 22px;
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%,100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.12); opacity: 1; }
}

/* TEXT */
.small-title {
  font-size: clamp(0.85rem, 2.8vw, 0.95rem);
  color: #6b7280;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.info-card h3 {
  font-size: clamp(1.25rem, 3.5vw, 1.6rem);
  font-weight: 700;
  margin: 12px 0 18px;
  color: #1f2f54;
  animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from { text-shadow: 0 0 6px rgba(34,211,238,0.2); }
  to   { text-shadow: 0 0 14px rgba(34,211,238,0.5); }
}

.info-card p {
  font-size: clamp(0.9rem, 3vw, 1rem);
  line-height: 1.7;
  color: #475569;
}

/* TIMING LIST */
.timing {
  list-style: none;
  margin-top: 10px;
}

.timing li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  font-size: clamp(0.85rem, 2.8vw, 0.95rem);
  color: #475569;
  border-bottom: 1px solid #e5e7eb;
}

.timing li:last-child {
  border-bottom: none;
}

/* PHONE */
.phone {
  font-size: clamp(1.4rem, 4vw, 1.7rem);
  color: #1f2f54;
  letter-spacing: 0.5px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .info-section {
    margin-top: -60px;
  }
}

@media (max-width: 480px) {
  .info-section {
    margin-top: -40px;
    padding: 70px 6%;
  }

  .info-card {
    text-align: center;
  }

  .timing li {
    flex-direction: column;
    text-align: center;
  }
}

/*------------------------------------OPD - APPOIMENT SERVICE END HERE -------------------------------------*/
/*----------------------------------------------------------------------------------*/

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
  animation: textFadeUp 1.2s ease;
}

/* Main Title */
.hospital-name {
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0;
  text-shadow: 0 0 10px rgba(255,255,255,0.4);
}

.hospital-sub {
  color: #cde9ff;
  font-size: 18px;
  letter-spacing: 3px;
  margin: 4px 0 6px;
}

.tagline {
  background: linear-gradient(135deg, #55c003, #027012);
  color: #ffffff;
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 3px;
  border-radius: 20px;
  width: fit-content;
  box-shadow: 0 0 12px rgba(79, 184, 200, 0.7);
}

@keyframes textFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .branding {
    gap: 12px;
  }

  .logo-container img {
    height: 48px;
  }

  .hospital-name {
    font-size: 22px;
  }

  .hospital-sub {
    font-size: 14px;
  }
}

/* ========================================================================================*/


/* ========================================================================= */
/* ====================== ABOUT PAGE START HERE ============================ */
/* ========================================================================= */

/* ABOUT SECTION */
/* ROOT COLORS */
:root {
  --medical-green: #5aa469;
  --medical-soft: #eef9e9;
  --medical-dark: #1f2937;
  --medical-text: #394c67;
  --medical-dark-green: #2f6f4e;
}

/* SECTION */
.about-section {
  background: linear-gradient(135deg, #f4fbf2, var(--medical-soft));
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: clamp(50px, 8vw, 80px) clamp(20px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}

/* BIOMEDICAL SHAPES */
.about-section::before {
  content: "";
  position: absolute;
  left: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(122,191,106,0.25), transparent 70%);
}

.about-section::after {
  content: "";
  position: absolute;
  right: 15%;
  bottom: 15%;
  width: 90px;
  height: 90px;
  background-image: radial-gradient(#b6e2b2 2px, transparent 2px);
  background-size: 16px 16px;
}

/* CONTENT */
.about-content {
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.about-content h2 {
  font-size: clamp(25px, 4vw, 30px);
  font-weight: 600;
  color: var(--medical-dark);
  margin-bottom: 10px;
  text-shadow: 0 0 18px rgba(90,164,105,0.25);
  font-family:Arial, Helvetica, sans-serif;
}

.about-content h4 {
  font-size: clamp(16px, 2vw, 18px);
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-weight: 600;
  color: var(--medical-dark-green);
  margin-bottom: 24px;
}

/* PARAGRAPHS */
.about-content p {
  font-size: clamp(15px, 1.4vw, 18px);
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  color: var(--medical-text);
  line-height: 1.8;
  margin-bottom: 16px;
    text-align: left;
}

/* HIGHLIGHT TEXT */
.highlight {
  position: relative;
  font-weight: 600;
  color: var(--medical-dark);
  padding: 2px 6px;
  border-radius: 6px;
  background: linear-gradient(
    120deg,
    rgba(90,164,105,0.18),
    rgba(90,164,105,0.08)
  );
  box-shadow: inset 0 0 0 rgba(0,0,0,0);
  transition: all 0.3s ease;
}

/* subtle underline effect */
.highlight::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 2px;
  height: 2px;
  background: var(--medical-green);
  opacity: 0.45;
  border-radius: 2px;
}

/* hover polish (optional, safe for desktop) */
.highlight:hover {
  background: linear-gradient(
    120deg,
    rgba(90,164,105,0.28),
    rgba(90,164,105,0.15)
  );
  color: #1f2937;
}

/* IMAGE */
.about-image {
  width: clamp(220px, 30vw, 340px);
  height: clamp(220px, 30vw, 340px);
  border-radius: 50%;
  border: 14px solid rgba(90,164,105,0.9);
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 18px 40px rgba(0,0,0,0.18),
    0 0 0 10px rgba(90,164,105,0.18);
  position: relative;
  z-index: 1;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* clearer face */
  filter: contrast(1.05) brightness(1.05);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-section {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about-content {
    max-width: 100%;
  }
}


/* SERVICES */
:root {
    --primary:     #2563eb;
    --primary-dark:#1d4ed8;
    --text-dark:   #0f172a;
    --text-muted:  #475569;
    --accent:      #3b82f6;
    --shadow-soft: 0 12px 32px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 28px rgba(59,130,246,0.22);
    --transition:  all 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ───────────────────────────────────────────────
   Doctor Services / Administrative Team Section
   ─────────────────────────────────────────────── */
.doctor-services-section {
    padding: clamp(70px, 9vw, 100px) 5vw;
    background: linear-gradient(180deg, #f8fbff 0%, #f0f7ff 100%);
    font-family: 'Open Sans', system-ui, sans-serif;
    color: var(--text-dark);
}

.doctor-services-section .Administrative-team {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: clamp(50px, 7vw, 70px);
    letter-spacing: -0.3px;
    position: relative;
    display: inline-block;
}

.doctor-services-section .Administrative-team::after {
    content: "";
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 4px;
}

/* Grid layout */
.doctor-services-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(32px, 5vw, 50px);
    max-width: 1400px;
    margin: 0 auto;
}

/* Card */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.2rem 1.6rem 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(226,232,240,0.7);
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59,130,246,0.06), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-glow), 0 20px 50px rgba(0,0,0,0.16);
}

.service-card:hover::before {
    opacity: 1;
}

/* Image */
.service-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.service-card:hover img {
    transform: scale(1.09) translateY(-6px);
    box-shadow: 0 14px 40px rgba(59,130,246,0.35), 0 0 0 8px rgba(59,130,246,0.12);
}

/* Name */
.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.18rem, 2.6vw, 1.32rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    letter-spacing: 0.2px;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover h3 {
    color: var(--primary-dark);
}

/* Position / Role */
.service-card p {
    font-size: 0.96rem;
    font-weight: 500;
    color: var(--accent);
    line-height: 1.5;
    margin: 0 auto;
    max-width: 260px;
    position: relative;
    z-index: 1;
}

/* ───────────────────────────────────────────────
   Responsive
   ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .doctor-services-section {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .doctor-services-section {
        padding: clamp(60px, 10vw, 80px) 5vw;
    }
    .service-card {
        padding: 2rem 1.4rem;
    }
    .service-card img {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 1.8rem 1.2rem;
    }
    .service-card img {
        width: 120px;
        height: 120px;
    }
    .service-card h3 {
        font-size: 1.22rem;
    }
}

/* SECTION */
    .doctor-leader-profile {
      padding: 100px 20px;
      background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      color: #1f2937;
    }

    /* CONTAINER */
    .profile-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 380px 1fr;
      gap: 70px;
      align-items: center;
      background: #ffffff;
      border-radius: 32px;
      padding: 50px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .profile-container:hover {
      transform: translateY(-10px);
      box-shadow: 0 30px 60px rgba(31, 74, 168, 0.15);
    }

    /* IMAGE */
    .profile-image {
      position: relative;
      overflow: hidden;
      border-radius: 28px;
      background: linear-gradient(145deg, #e0f2fe, #bfdbfe);
      padding: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      transition: all 0.5s ease;
    }

    .profile-image:hover {
      transform: scale(1.05);
      box-shadow: 0 0 40px rgba(31, 74, 168, 0.4), 0 0 80px rgba(59, 130, 246, 0.25);
    }

    .profile-image img {
      width: 100%;
      height: auto;
      border-radius: 20px;
      display: block;
      object-fit: cover;
      aspect-ratio: 3 / 4; /* Adjust based on your image proportions; prevents distortion */
      transition: transform 0.6s ease;
    }

    .profile-image:hover img {
      transform: scale(1.08);
    }

    /* CONTENT */
    .profile-content h2 {
      font-family: 'Poppins', sans-serif;
      font-size: 38px;
      font-weight: 700;
      color: #1f4aa8;
      margin-bottom: 12px;
      letter-spacing: -0.5px;
      text-shadow: 0 2px 10px rgba(31, 74, 168, 0.15);
    }

    .profile-content p {
      font-size: 17px;
      line-height: 1.9;
      color: #4b5563;
      margin-bottom: 24px;
    }

    .profile-content ul {
      list-style: none;
      padding: 0;
      margin: 24px 0;
    }

    .profile-content li {
      font-size: 16px;
      margin-bottom: 12px;
      position: relative;
      padding-left: 28px;
      color: #374151;
    }

    .profile-content li::before {
      content: "✔";
      position: absolute;
      left: 0;
      color: #1f4aa8;
      font-weight: bold;
    }

    /* QUOTE */
    .profile-content blockquote {
      margin: 40px 0 0;
      padding: 0 0 0 30px;
      border-left: 5px solid #1f4aa8;
      font-size: 18px;
      font-style: italic;
      color: #1e40af;
      line-height: 1.8;
      font-weight: 500;
      background: rgba(31, 74, 168, 0.04);
      border-radius: 0 16px 16px 0;
      padding: 20px 30px;
      box-shadow: inset 0 0 15px rgba(31, 74, 168, 0.1);
    }

    /* RESPONSIVE */
    @media (max-width: 1024px) {
      .profile-container {
        grid-template-columns: 320px 1fr;
        gap: 50px;
        padding: 40px;
      }
    }

    @media (max-width: 992px) {
      .profile-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 40px 30px;
      }

      .profile-image {
        max-width: 420px;
        margin: 0 auto;
      }
    }

    @media (max-width: 768px) {
      .doctor-leader-profile {
        padding: 80px 15px;
      }

      .profile-content h2 {
        font-size: 32px;
      }

      .profile-content h4 {
        font-size: 20px;
      }

      .profile-content p,
      .profile-content li,
      .profile-content blockquote {
        font-size: 16px;
      }
    }

    @media (max-width: 480px) {
      .profile-container {
        padding: 30px 20px;
        border-radius: 24px;
      }

      .profile-content h2 {
        font-size: 28px;
      }

      .profile-content blockquote {
        font-size: 15px;
        padding: 15px 20px;
      }
    }


/* SECTION */
.doctor-team-section {
  padding: 100px 6%;
  text-align: center;
  position: relative;
  overflow: hidden;
  font-family: "Inter", "Poppins", sans-serif;
  color: #0f172a;

  background:
    radial-gradient(circle, rgba(37,99,235,0.12) 1px, transparent 1px),
    linear-gradient(180deg, #f8fbff, #eef6fb);

  background-size: 26px 26px;
}

/* animated soft glow layer */
.doctor-team-section::before {
  content: "";
  position: absolute;
  inset: -35%;
  background:
    radial-gradient(circle at 25% 30%, rgba(37,99,235,0.18), transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(34,197,94,0.16), transparent 45%);
  animation: slowFloat 26s ease-in-out infinite;
  z-index: 0;
}

.doctor-team-section > * {
  position: relative;
  z-index: 1;
}

@keyframes slowFloat {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-3%, 4%);
  }
  100% {
    transform: translate(0, 0);
  }
}



/* TITLE */
.section-title {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 80px;
  color: #1f3c5b;
  position: relative;
  z-index: 1;
}

.section-title::after {
  content: "";
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #0b5ed7, #48bbc5);
  display: block;
  margin: 16px auto 0;
  border-radius: 4px;
}

/* GRID */
.doctor-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 80px 60px;
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 1;
}

/* CARD */
.doctor-team-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-radius: 22px;
  padding: 45px 28px 40px;
  box-shadow:
    0 20px 45px rgba(0,0,0,0.08),
    inset 0 0 0 1px rgba(255,255,255,0.6);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  animation: fadeUp 0.9s ease both;
}

.doctor-team-card:hover {
  transform: translateY(-14px);
  box-shadow:
    0 35px 70px rgba(11,94,215,0.18),
    0 0 35px rgba(72,187,197,0.35);
}

/* IMAGE */
.doctor-team-card img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 6px solid #ffffff;
  box-shadow:
    0 18px 40px rgba(0,0,0,0.15),
    0 0 0 6px rgba(72,187,197,0.12);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.doctor-team-card:hover img {
  transform: scale(1.08);
  box-shadow:
    0 25px 60px rgba(0,0,0,0.25),
    0 0 25px rgba(72,187,197,0.6);
}

/* ROLE */
.role {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #0b5ed7;
  margin-bottom: 6px;
}

/* NAME */
.doctor-team-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #1f2937;
}

/* TEXT */
.doctor-team-card p {
  font-size: 15px;
  line-height: 1.75;
  color: #6b7280;
}

/* ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .doctor-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
  }
}

@media (max-width: 600px) {
  .doctor-team-section {
    padding: 80px 5%;
  }

  .doctor-team-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .section-title {
    font-size: 32px;
  }

  .doctor-team-card {
    padding: 40px 24px;
  }
}




/* SECTION */
.testimonials-section {
  padding: 80px 6%;
  text-align: center;
  background:
    linear-gradient(180deg, #f8fcff 0%, #eef6fb 100%);
  position: relative;
  overflow: hidden;
}

/* subtle medical glow background */
.testimonials-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(11,94,215,0.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(107,191,197,0.12), transparent 45%);
  z-index: 0;
}

/* TITLE */
.feedback-section-title {
  font-size: 35px;
  font-weight: 600;
  color: #1f3c5b;
  position: relative;
  z-index: 1;
}

.feedback-title-line {
  width: 300px;
  height: 4px;
  background: linear-gradient(90deg, #0b5ed7, #6bbfc5);
  margin: 16px auto 26px;
  border-radius: 6px;
}


/* GRID */
.feedback-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  animation: none; /* stop horizontal animation */
}



/* Pause animation on hover */
.feedback-testimonial-grid:hover {
  animation-play-state: unset;
}


/* CARD */
.feedback-testimonial-card {
  min-width: unset;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 42px 36px 54px;
  position: relative;
  box-shadow:
    0 20px 45px rgba(0,0,0,0.08),
    inset 0 0 0 1px rgba(255,255,255,0.6);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.feedback-testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 28px 55px rgba(11,94,215,0.18),
    0 0 0 1px rgba(107,191,197,0.35);
}

.feedback-testimonial-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #0b5ed7, #6bbfc5);
  border-radius: 22px 22px 0 0;
}


/* QUOTE */
.feedback-quote {
  font-family:sans-serif;
  font-style: normal;
  text-align: left;
  font-variant-position: super;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.85;
  color: transparent;
  background: linear-gradient(180deg, #334155, #1e293b);
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing: 0.3px;
  position: relative;
  padding: 0 10px;
  text-shadow:
    0 0 8px rgba(11,94,215,0.15);
  animation: quoteFade 1.2s ease both;
}

/* Smooth fade-in for quote text */
@keyframes quoteFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.feedback-quote::before,
.feedback-quote::after {
  content: "❝";
  font-size: 42px;
  color: rgba(107,191,197,0.25);
  font-weight: 600;
  position: absolute;
}

.feedback-quote::before {
  left: -18px;
  top: -28px;
}

.feedback-quote::after {
  content: "❞";
  right: -14px;
  bottom: -30px;
}

/* USER */
.feedback-user {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 38px;
  text-align: left;
  flex-wrap: nowrap; 
}

.feedback-user img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow:
    0 12px 30px rgba(0,0,0,0.18),
    0 0 0 5px rgba(107,191,197,0.18);
  transition: transform 0.4s ease;
  flex-shrink: 0; 
}

.feedback-testimonial-card:hover img {
  transform: scale(1.08);
}

.feedback-user h4 {
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 600;
  color: #1f2937;
}

.feedback-user span {
  font-size: 14px;
  color: #6b7280;
}

.feedback-user div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* DOTS */
.feedback-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 55px;
  position: relative;
  z-index: 1;
}

.feedback-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #6bbfc5;
  cursor: pointer;
  transition: all 0.3s ease;
}

.feedback-dots span:hover {
  transform: scale(1.2);
}

.feedback-dots .active {
  background: #6bbfc5;
  box-shadow: 0 0 12px rgba(107,191,197,0.8);
}

/* ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .feedback-testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .testimonials-section {
    padding: 90px 5%;
  }

  .feedback-testimonial-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feedback-section-title {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .feedback-testimonial-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feedback-testimonial-card {
    min-width: 280px;
  }
}


/* BASE 
.facility-hospital-services {
  position: relative;
  padding: clamp(70px, 8vw, 110px) 6%;
  font-family: "Poppins", sans-serif;
  color: #0f172a;
  background:
    radial-gradient(circle at 50% 50%, rgba(191, 219, 254, 0.12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  overflow: hidden;
}
*/

.facility-hospital-services {
  padding: clamp(60px, 10vw, 100px) clamp(16px, 5vw, 5%);
  background: linear-gradient(
    160deg,
    #020617 0%,     /* deep space blue */
    #0b1f3a 40%,    /* navy */
    #0f2b5e 75%,    /* rich blue */
    #1e3a8a 100%    /* soft royal blue */
  );
  color: #f1f5f9;
  position: relative;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

.facility-hospital-services::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08; /* Slightly lowered to avoid noise on mobile */
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(96, 165, 250, 0.18) 0%, transparent 25%),
    radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.12) 0%, transparent 30%),
    /* Faint hexagon pattern – made smaller on mobile via vw */
    radial-gradient(circle, transparent 40%, #1e40af 41%, #1e40af 43%, transparent 44%);
  background-size: 100% 100%, 100% 100%, clamp(60px, 8vw, 100px) clamp(100px, 15vw, 160px);
  background-position: center, center, 0 0;
  mix-blend-mode: screen;
  z-index: 0;
}

/* ── HEADER ── */
.facility-services-header {
  background: linear-gradient(90deg, #22c55e, #38bdf8);
  padding: clamp(12px, 3vw, 16px) clamp(24px, 5vw, 36px);
  border-radius: 9999px; /* pill shape – modern */
  width: fit-content;
  margin: 0 auto clamp(40px, 8vw, 80px);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.35),
    0 0 35px rgba(56,189,248,0.35);
  animation: headerFloat 6s ease-in-out infinite;
}

.facility-services-header span {
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 600;
  letter-spacing: 1.2px;
  color: #022c22;
  white-space: nowrap; /* prevents awkward wrapping on narrow screens */
}

@keyframes headerFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ── CONTAINER ── */
.facility-services-container {
  max-width: 1400px; /* slightly wider for large screens */
  margin: 0 auto;
}

/* ── BLOCK ── */
.facility-services-block {
  margin-bottom: clamp(50px, 8vw, 80px);
}

.facility-services-block h2 {
  font-size: clamp(24px, 5vw, 36px);
  color: #e0f2fe;
  border-bottom: 3px solid rgba(224, 242, 254, 0.25);
  padding-bottom: 0.5em;
  margin-bottom: 1.2em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ── FACILITIES COLUMNS ── */
.facility-services-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 40px);
}

.facility-services-columns ul {
  list-style: none;
  line-height: 1.9;
  font-size: clamp(14.5px, 2vw, 15.5px);
}

.facility-services-columns li {
  position: relative;
  padding-left: 28px;
}

.facility-services-columns li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-size: clamp(13px, 1.8vw, 15px);
  text-shadow: 0 0 6px rgba(34,197,94,0.6);
}

.facility-services-columns ul,
.facility-treatment-box ul {
  color: #e2e8f0; /* lighter for dark bg contrast */
}

/* ── TREATMENTS GRID ── */
.facility-treatment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 4vw, 32px);
  animation: fadeUp 0.8s ease-in-out both;
}

.facility-treatment-box {
  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.95),
    rgba(30, 58, 138, 0.85)
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-radius: 18px;
  padding: clamp(20px, 3vw, 26px);

  border: 1px solid rgba(59, 130, 246, 0.25);

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(59, 130, 246, 0.15);

  transition: 
    transform 0.45s ease,
    box-shadow 0.45s ease,
    border 0.45s ease;

  position: relative;
  overflow: hidden;
  color: #e2e8f0;
}

.facility-treatment-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(56, 189, 248, 0.25),
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.facility-treatment-box:hover::before {
  transform: translateX(100%);
}

.facility-treatment-box:hover {
  transform: translateY(-10px);
  border: 1px solid rgba(56, 189, 248, 0.6);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(56, 189, 248, 0.35);
}
.facility-treatment-box h3 {
  font-family: 'Montserrat', sans-serif;
  color: #bae6fd;
  font-size: clamp(16px, 2.2vw, 18px);
  margin-bottom: 14px;
  font-weight: 600;
}

.facility-treatment-box h3::after {
  content: "";
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  display: block;
  margin-top: 6px;
  border-radius: 3px;
}

.facility-treatment-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(13.5px, 1.9vw, 14.5px);
  line-height: 1.8;
}

.facility-treatment-box li {
  display: flex;
  align-items: center;
}

.facility-treatment-box li::before {
  content: "✔";
  color: #22c55e;
  font-size: clamp(12px, 1.7vw, 13px);
  margin-right: 10px;
  text-shadow: 0 0 6px rgba(34,197,94,0.35);
}

/* ── EMERGENCY NOTE ── */
.facility-emergency-note {
  margin-top: clamp(40px, 6vw, 60px);
  color: #083344;

  background: linear-gradient(
    180deg,
    #e0f2fe,
    #bae6fd
  );

  border: 1px solid #38bdf8;

  padding: clamp(14px, 3vw, 16px) clamp(20px, 4vw, 24px);
  border-radius: 14px;

  box-shadow:
    0 10px 25px rgba(0,0,0,0.15);

  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 2vw, 15.5px);
  line-height: 1.6;
}
/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── RESPONSIVE ADJUSTMENTS ── */
/* Small phones */
@media (max-width: 480px) {
  .facility-services-header {
    padding: clamp(10px, 4vw, 14px) clamp(20px, 6vw, 26px);
    margin-bottom: clamp(30px, 8vw, 50px);
  }

  .facility-services-header span {
    font-size: clamp(14px, 4vw, 17px);
    text-align: center;
  }

  .facility-services-block h2 {
    font-size: clamp(22px, 6vw, 28px);
  }

  .facility-services-columns,
  .facility-treatment-grid {
    grid-template-columns: 1fr; /* force single column */
    gap: clamp(20px, 5vw, 28px);
  }
}

/* Tablets & small laptops */
@media (max-width: 768px) {
  .facility-hospital-services {
    padding: clamp(50px, 9vw, 80px) clamp(20px, 6vw, 5%);
  }

  .facility-services-columns,
  .facility-treatment-grid {
    gap: clamp(24px, 5vw, 32px);
  }
}

/* Large screens – optional enhancement */
@media (min-width: 1024px) {
  .facility-services-container {
    max-width: 1280px;
  }

  .facility-treatment-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

/* =====================================   - ABOUT PAGE INFORMATION END HERE -   ==================== */
/* =====================================   - CONTACT PAGE INFORMATION START HERE -  ==================== */

/* SECTION */
.contact-section {
  position: relative;
  padding: clamp(40px, 8vw, 100px) 5%;   /* much more breathing room on large screens */
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-family: "Inter", "Poppins", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(14,165,233,0.08), transparent 45%),
    radial-gradient(circle at bottom right, rgba(34,197,94,0.08), transparent 45%),
    linear-gradient(180deg, #f9fcff, #eef6fb);
  overflow: hidden;
}

/* SECTION TITLE */
.contact-us {
  grid-column: 1 / -1;
  text-align: center;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);   /* fluid title */
  font-weight: 600;
  color: #0f172a;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  letter-spacing: 0.5px;
  text-shadow: 0 2px 6px rgba(14,165,233,0.15);
}

/* CONTAINER */
.contact-container {
  max-width: clamp(320px, 90vw, 1400px);   /* caps very wide screens, safe on mobile */
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);   /* unified gap control */
}

/* INFO SIDE */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

/* INFO GRID – becomes single column on small screens */
.info-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.2rem, 3.5vw, 2rem);
}

/* On wider screens → 2 columns for info boxes */
@media (min-width: 640px) {
  .info-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* INFO BOX */
.info-box {
  background: linear-gradient(180deg, #ffffff, #f4f9fd);
  padding: clamp(1.8rem, 4vw, 2.8rem) clamp(1.2rem, 3vw, 2rem);
  text-align: center;
  border-radius: clamp(12px, 2vw, 16px);
  box-shadow:
    0 clamp(10px, 2.5vw, 18px) clamp(20px, 5vw, 40px) rgba(15,23,42,0.08),
    inset 0 0 0 1px rgba(14,165,233,0.12);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
  animation: fadeUp 0.9s ease forwards;
}

.info-box.large {
  padding: clamp(2.2rem, 5vw, 3.2rem) clamp(1.5rem, 3.5vw, 2.5rem);
}

.info-box:hover {
  transform: translateY(-10px);
  box-shadow:
    0 clamp(15px, 4vw, 30px) clamp(30px, 7vw, 70px) rgba(14,165,233,0.25),
    inset 0 0 0 1px rgba(14,165,233,0.35);
}

/* ICON – scales nicely */
.icon-circle {
  width: clamp(56px, 12vw, 80px);
  height: clamp(56px, 12vw, 80px);
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(22px, 5vw, 32px);
  margin: 0 auto clamp(1rem, 3vw, 1.5rem);
  box-shadow:
    0 0 0 clamp(6px, 1.5vw, 10px) rgba(14,165,233,0.15),
    0 clamp(6px, 2vw, 12px) clamp(15px, 4vw, 30px) rgba(14,165,233,0.45);
  animation: pulseGlow 4s infinite;
}

/* TEXT */
.info-box h3 {
  font-size: clamp(1.15rem, 2.8vw, 1.4rem);
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: #0f172a;
}

.info-box p {
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  color: #475569;
  line-height: 1.7;
}

/* FORM */
.contact-form {
  background: linear-gradient(180deg, #ffffff, #f6fbff);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: clamp(14px, 2.5vw, 18px);
  box-shadow:
    0 clamp(12px, 3vw, 25px) clamp(30px, 7vw, 60px) rgba(15,23,42,0.12),
    inset 0 0 0 1px rgba(14,165,233,0.15);
  animation: fadeUp 1.1s ease forwards;
}

/* FORM STRUCTURE */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 3vw, 1.8rem);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

/* 2-column form fields on larger screens */
@media (min-width: 640px) {
  .info-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* INPUTS – better touch targets & scaling */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: clamp(12px, 3vw, 16px) clamp(14px, 3.5vw, 18px);
  border: 1px solid #dbeafe;
  border-radius: 10px;
  font-size: clamp(14px, 3.2vw, 16px);
  font-family: "Inter", sans-serif;
  color: #0f172a;
  background: #ffffff;
  transition: border 0.35s ease, box-shadow 0.35s ease;
  min-height: 52px;   /* better touch target */
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #94a3b8;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 clamp(3px, 0.8vw, 5px) rgba(14,165,233,0.25);
  outline: none;
}

/* BUTTON – larger on mobile for easy tapping */
.contact-form button {
  margin-top: clamp(0.8rem, 2vw, 1.2rem);
  align-self: center;
  background: linear-gradient(90deg, #06b6d4, #0ea5e9);
  color: #fff;
  border: none;
  padding: clamp(14px, 3.5vw, 18px) clamp(32px, 8vw, 52px);
  font-size: clamp(15px, 3.5vw, 17px);
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0.4px;
  box-shadow: 0 clamp(10px, 2.5vw, 16px) clamp(25px, 6vw, 40px) rgba(14,165,233,0.45);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  min-width: 180px;   /* prevents too narrow on small screens */
}

.contact-form button:hover,
.contact-form button:focus {
  transform: translateY(-4px);
  box-shadow: 0 clamp(15px, 4vw, 28px) clamp(35px, 8vw, 60px) rgba(14,165,233,0.6);
}

/* ANIMATIONS (unchanged) */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 8px rgba(14,165,233,0.15), 0 10px 25px rgba(14,165,233,0.45);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(14,165,233,0.22), 0 18px 40px rgba(14,165,233,0.55);
  }
}

/* RESPONSIVE ADJUSTMENTS – more granular */
@media (min-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr 1.2fr;
    column-gap: clamp(2rem, 5vw, 3.5rem);
  }
}

@media (min-width: 1200px) {
  .contact-section {
    padding-left: 8%;
    padding-right: 8%;
  }
  .contact-container {
    max-width: 1300px;
  }
}

/* Very small phones – extra safety */
@media (max-width: 360px) {
  .contact-form {
    padding: clamp(1.5rem, 6vw, 2.2rem) clamp(1rem, 4vw, 1.8rem);
  }
  .contact-form button {
    padding: 14px 36px;
    font-size: 15px;
  }
}

/* ------------------------------------ Map Section ------------------------------ */
.hospital-map-section {
  padding: clamp(70px, 8vw, 110px) 6%;
  background:
    radial-gradient(circle at 20% 20%, rgba(14,165,233,0.12), transparent 45%),
    linear-gradient(180deg, #f8fbff, #eef6fb);
  font-family: "Poppins", sans-serif;
}

.map-header {
  max-width: 1200px;
  margin: 0 auto 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.map-header h2 {
  font-size: clamp(22px, 3vw, 30px);
  color: #0f172a;
}

.map-header p {
  font-size: 15px;
  color: #64748b;
}

.map-emergency-btn {
  background: linear-gradient(90deg, #027206, #04f163);
  color: #fff;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(230, 4, 4, 0.45);
  transition: transform .3s ease;
}

.map-emergency-btn:hover {
  transform: translateY(-4px);
}

.map-wrapper {
  max-width: 1200px;
  margin: auto;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 25px 60px rgba(15,23,42,0.18),
    0 0 0 1px rgba(14,165,233,0.18);
}

.map-floating-badge {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15,23,42,0.9);
  color: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 14px;
  animation: pulseGlow 2.5s infinite;
}

@media (max-width: 768px) {
  .map-floating-badge {
    bottom: 12px;
    font-size: 13px;
  }
}


@keyframes pulseGlow {
  0%,100% { box-shadow: 0 0 10px rgba(34,197,94,.3); }
  50% { box-shadow: 0 0 25px rgba(34,197,94,.7); }
}

@media (max-width: 768px) {
  .map-header {
    flex-direction: column;
    align-items: flex-start;
  }

}

/* ------------------------------------ Map Section ------------------------------ */


/* =====================================   - CONTACT PAGE INFORMATION END HERE  -   ==================== */


/* =====================================   - DOCTORS PAGE INFORMATION START HERE -  ==================== */

/* ===============================
   SECTION BACKGROUND (PRO)
================================ */
.team-section-doctor {
  padding: 80px 20px;
  background: linear-gradient(
    135deg,
    #f5f8ff 0%,
    #ffffff 50%,
    #f0f4ff 100%
  );
  position: relative;
  overflow: hidden;
}

/* subtle floating blobs */
.team-section-doctor::before,
.team-section-doctor::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(44,92,255,0.15), transparent 70%);
  border-radius: 50%;
  animation: float 12s infinite ease-in-out;
  z-index: 0;
}

.team-section-doctor::before {
  top: -120px;
  left: -120px;
}

.team-section-doctor::after {
  bottom: -120px;
  right: -120px;
  animation-delay: 6s;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(40px); }
}

/* ===============================
   CONTAINER
================================ */
.container-doctor {
  max-width: 1200px;
  margin: auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ===============================
   HEADINGS
================================ */
.team-section-doctor h2 {
  color: #2c5cff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
}

.team-section-doctor h1 {
  font-size: clamp(28px, 5vw, 42px);
  color: #0b1c39;
  margin-bottom: 15px;
}

.subtitle-doctor {
  max-width: 700px;
  margin: 0 auto 60px;
  color: #6c757d;
  font-size: 16px;
  line-height: 1.7;
}

/* ===============================
   GRID RESPONSIVE
================================ */
.team-cards-doctor {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* ===============================
   CARD STYLE + GLASS EFFECT
================================ */
.team-card-doctor {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  padding: 25px;
  box-shadow:
    0 20px 45px rgba(0,0,0,0.08),
    inset 0 0 0 1px rgba(255,255,255,0.6);
  transition: 
    transform 0.4s ease,
    box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* glowing border */
.team-card-doctor::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(44,92,255,0.35),
    transparent
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-card-doctor:hover::before {
  opacity: 1;
}

.team-card-doctor:hover {
  transform: translateY(-14px) scale(1.02);
  box-shadow:
    0 35px 80px rgba(44,92,255,0.18);
}

/* ===============================
   IMAGE EFFECT
================================ */
.team-card-doctor img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 20px;
  transition: transform 0.6s ease;
}

.team-card-doctor:hover img {
  transform: scale(1.08);
}

/* ===============================
   TEXT
================================ */
.team-card-doctor h3 {
  font-size: 20px;
  color: #0b1c39;
  margin-bottom: 5px;
}

.team-card-doctor span {
  display: block;
  font-size: 14px;
  color: #2c5cff;
  margin-bottom: 12px;
  font-weight: 600;
}

.team-card-doctor p {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ===============================
   SOCIAL ICONS – GLOW + RIPPLE
================================ */
.social-icons-doctor {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-icons-doctor i {
  width: 38px;
  height: 38px;
  line-height: 38px;
  border-radius: 50%;
  background: #f1f4ff;
  color: #2c5cff;
  cursor: pointer;
  transition: all 0.35s ease;
  position: relative;
}

.social-icons-doctor i:hover {
  background: #2c5cff;
  color: #fff;
  box-shadow: 0 0 18px rgba(44,92,255,0.6);
  transform: translateY(-4px);
}

/* ===============================
   MOBILE OPTIMIZATION
================================ */
@media (max-width: 768px) {
  .team-section-doctor {
    padding: 60px 15px;
  }

  .subtitle-doctor {
    margin-bottom: 40px;
  }

  .team-card-doctor img {
    height: 260px;
  }
}

@media (max-width: 480px) {
  .team-card-doctor {
    padding: 20px;
  }

  .team-card-doctor img {
    height: 220px;
  }
}


/* =====================================   - DOCTORS PAGE INFORMATION END HERE -  ==================== */

/* SECTION */
.visiting-doctors-section {
    padding: 90px 20px;
    position: relative;
    background: 
        /* dots – increased dot size from 1px → 1.8–2px */
        radial-gradient(circle at center, rgba(37, 99, 235, 0.09) 1.8px, transparent 1.8px),
        /* horizontal faint lines */
        linear-gradient(to bottom, rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        /* vertical faint lines */
        linear-gradient(to right,   rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        /* base gradient */
        linear-gradient(180deg, #f8fbff 0%, #f5f9fb 100%);
    background-size: 
        38px 38px,    /* dot grid spacing – slightly increased too */
        38px 38px,    /* horiz lines */
        38px 38px,    /* vert lines */
        auto;
    background-position: center center;
}

/* Subtle professional light structure/overlay */
.visiting-doctors-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.05) 0%,
        transparent 40%,
        rgba(255,255,255,0.04) 100%
    );
    pointer-events: none;
    z-index: 1;     /* keeps it above grid but below content */
}

/* Optional soft wave/bottom shadow divider */
.visiting-doctors-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, rgba(0,0,0,0.12), transparent);
    z-index: 1;
}


/* Container */
.visiting-doctors-container {
    max-width: 1300px;
    margin: auto;
}

/* Heading */
.visiting-doctors-container h1 {
    text-align: center;
    margin-bottom: 60px;
    color: #5a0406;
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}


/* Grid */
.visiting-doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px; /* Adjusted gap */
}

/* Card */
.visiting-doctors-card {
    background: 
        rgba(77, 106, 203, 0.106),
        linear-gradient(to bottom, rgba(130, 185, 225, 0.075) 1px, transparent 1px);
    background-size: auto, 40px;
    background-position: center center;
    
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.164);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.4s ease;
    color: #dc1616;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.visiting-doctors-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 0 30px #00f2ff;
    /* slightly more visible grid on hover */
    background: 
        rgba(77, 106, 203, 0.14),
        linear-gradient(to bottom, rgba(120, 180, 220, 0.11) 1px, transparent 1px),
        linear-gradient(to right,  rgba(120, 180, 220, 0.11) 1px, transparent 1px);
    background-size: auto, 40px 40px, 40px 40px;
}

/* Image */
.visiting-doctors-card img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid white;
    margin-bottom: 15px;
    transition: 0.4s;
}

.visiting-doctors-card img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px #fff, 0 0 50px #00f2ff;
}

/* Name */
.visiting-doctors-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 6px;
}

/* Specialization */
.visiting-doctors-specialization {
    font-size: 0.80rem;
    font-weight: 700;
    color:#027012;
    margin-bottom: 1.8rem;
    margin-top: 1.8rem;
    letter-spacing: 0.4px;
}


/* 📅 Calendar Style Box */
.calendar-box {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    display: inline-block;
    width: 180px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    animation: floatBox 3s ease-in-out infinite;
}

.calendar-day {
    display: block;
    background: #0077b6;
    color: #fff;
    font-weight: bold;
    padding: 10px;
    font-size: 16px;
}

.calendar-month {
    display: block;
    padding: 10px;
    font-size: 14px;
    color: #333;
}

/* Floating animation */
@keyframes floatBox {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 768px) {
    .visiting-doctors-grid {
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .visiting-doctors-section {
        padding: 60px 15px;
    }
}


/*----------------Gallery ----------------------------------------*/
.gallery-section {
    padding: 60px 20px;
    background: #f8fbff;
    text-align: center;
}


.section-title {
    font-size: 32px;
    margin-bottom: 10px;
    color: #0a3d62;
}

.section-subtitle {
    color: #555;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 images per row */
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    cursor: pointer;
    aspect-ratio: 4 / 3; /* keeps all cards equal */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* fills card without distortion */
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
/*----------------Gallery ----------------------------------------*/

/* ===== SECTION BACKGROUND ===== */
.team-section {
  position: relative;
  padding: 50px 20px 50px;
  font-family: 'Poppins', sans-serif;
  color: #0f172a;
  overflow: hidden;

  /* Nature Gradient + Soft Grid Lines */
  background:
    linear-gradient(rgba(34,197,94,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.08) 1px, transparent 1px),
    linear-gradient(135deg, #e6f9f0, #d0f0ff, #f0fff4);

  background-size: 
    40px 40px,   /* grid size */
    40px 40px,
    cover;
}

/* ===== TITLE ===== */
.section-title-section {
  text-align: center;
  font-size: 45px; /* Larger & impactful */
  font-weight: 600;
  background: linear-gradient(90deg, #024201, #527202, #11b302);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 70px;
  position: relative;
  letter-spacing: -0.6px;
  text-shadow: 0 0 18px rgba(102, 211, 255, 0.45);
  transition: all 0.4s ease;
}

/* Hover glow boost */
.section-title-section:hover {
  text-shadow: 0 0 28px rgba(227, 245, 26, 0.75);
  transform: scale(1.02);
}

/* Animated underline */
.section-title-section::after {
  content: "";
  width: 90px;
  height: 5px;
  background: linear-gradient(90deg, #0b5ed7, #66d3ff);
  display: block;
  margin: 18px auto 0;
  border-radius: 12px;
  box-shadow: 0 0 16px rgba(102, 211, 255, 0.8);
  transition: width 0.5s ease, box-shadow 0.5s ease;
}

.section-title-section:hover::after {
  width: 150px;
  box-shadow: 0 0 28px rgba(102, 211, 255, 1);
}

/* Responsive tuning */
@media (max-width: 768px) {
  .section-title-section {
    font-size: 38px;
  }
}

/* ===== WRAPPER ===== */
.team-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.08);
  padding: 30px;
  border-radius: 25px;
  backdrop-filter: blur(8px);
}

/* ===== INFO BOX ===== */
.team-info {
  width: 25%;
}

.team-info h3 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #4d06c6;
}

.team-info .degree {
  color: #456af0;
  margin-bottom: 20px;
  line-height: 1.6;
}

.team-info .speciality {
  font-weight: 600;
  line-height: 1.8;
}

/* ===== IMAGES ===== */
.team-images {
  width: 45%;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.image-card {
  background: #fff;
  padding: 5px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.image-card img {
  width: 250px;
  height: 320px;
  object-fit: cover;
  border-radius: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .team-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .team-info,
  .team-images {
    width: 100%;
  }

  .team-images {
    flex-direction: column;
  }
}


