:root {
  --primary: #2d2c8f;
  --primary-dark: #17156b;
  --secondary: #48a9b2;
  --teal: #008f94;
  --teal-dark: #006d72;
  --accent: #ec008c;
  --orange: #ff8a16;
  --green: #00a85a;
  --dark: #101828;
  --heading: #0f172a;
  --text: #667085;
  --white: #ffffff;
  --soft-bg: #f7fbff;
  --border: #e4e7ec;
  --shadow-sm: 0 10px 25px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 18px 45px rgba(16, 24, 40, 0.12);
  --shadow-lg: 0 30px 80px rgba(45, 44, 143, 0.16);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  background: var(--soft-bg);
  color: var(--dark);
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* ================= TOPBAR ================= */

.topbar {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar p {
  opacity: 0.96;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ================= HEADER ================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(228, 231, 236, 0.9);
  box-shadow: 0 12px 35px rgba(16, 24, 40, 0.06);
}

.nav {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 255px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand h2 {
  font-family: "Poppins", sans-serif;
  color: var(--primary);
  font-size: 23px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.brand span {
  display: block;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  margin-top: 4px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 17px;
}

.menu a {
  color: #344054;
  font-size: 14px;
  font-weight: 850;
  transition: 0.25s ease;
  position: relative;
  white-space: nowrap;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  transition: 0.25s ease;
}

.menu a:hover {
  color: var(--primary);
}

.menu a:hover::after {
  width: 100%;
}

.nav-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: 0 16px 32px rgba(45, 44, 143, 0.2);
  white-space: nowrap;
}

/* ================= HERO - PRESERVED ================= */

.hero-section {
  position: relative;
  min-height: calc(100vh - 130px);
  padding: 82px 5% 220px;
  overflow: hidden;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.99) 24%,
      rgba(255,255,255,.86) 39%,
      rgba(255,255,255,.48) 54%,
      rgba(255,255,255,.10) 72%
    ),
    url("../images/herosection.png") center right / cover no-repeat;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 137, 140, 0.14), transparent 27%),
    linear-gradient(to bottom, rgba(255,255,255,0.02), rgba(255,255,255,0.08));
  z-index: 1;
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -180px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(72,169,178,.18), rgba(45,44,143,.10));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 660px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 13px 25px;
  margin-bottom: 42px;
  border-radius: 999px;
  background: rgba(0,137,140,.10);
  color: var(--teal);
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 18px 55px rgba(0,137,140,.12);
  border: 1px solid rgba(0,137,140,.12);
}

.hero-content h1 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(58px, 6.6vw, 104px);
  line-height: 0.98;
  letter-spacing: -4.5px;
  color: #12354a;
  font-weight: 900;
  margin-bottom: 30px;
}

.hero-content h1 span {
  color: var(--teal);
}

.hero-content p {
  max-width: 610px;
  color: #17384a;
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1.35;
  font-weight: 750;
  margin-bottom: 44px;
}

.hero-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 820px;
  margin-bottom: 48px;
}

.hero-service-card {
  height: 145px;
  min-width: 145px;
  padding: 22px 12px;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 22px 50px rgba(18,53,74,.12);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: 0.25s ease;
}

.hero-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 58px rgba(18,53,74,.16);
}

.service-icon {
  color: var(--teal);
  font-size: 34px;
  line-height: 1;
}

.hero-service-card span {
  color: #12354a;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
  text-align: center;
}

.hero-buttons {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.primary-btn,
.outline-btn {
  min-width: 255px;
  height: 64px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  transition: 0.25s ease;
}

.primary-btn {
  color: var(--white);
  background: linear-gradient(135deg, #00989b, #006d72);
  box-shadow: 0 18px 40px rgba(0,137,140,.30);
}

.outline-btn {
  color: var(--teal);
  background: rgba(255,255,255,.95);
  border: 2px solid rgba(0,137,140,.36);
  box-shadow: 0 14px 32px rgba(18,53,74,.08);
}

.primary-btn:hover,
.outline-btn:hover {
  transform: translateY(-4px);
}

.hero-stats {
  position: absolute;
  left: 5%;
  bottom: 34px;
  z-index: 5;
  width: min(780px, 90%);
  padding: 30px 34px;
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 25px 70px rgba(18,53,74,.18);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero-stats div {
  padding: 0 22px;
  border-right: 1px solid #dce7ea;
}

.hero-stats div:last-child {
  border-right: none;
}

.hero-stats strong {
  display: block;
  color: var(--teal);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  margin-bottom: 10px;
}

.hero-stats span {
  display: block;
  color: #17384a;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}
/* ================= COMMON SECTIONS ================= */

.section {
  padding: 92px 0;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-heading.left {
  text-align: left;
  margin: 0 0 30px;
}

.section-heading span,
.section-tag,
.appointment-content span {
  display: inline-block;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-heading h2,
.section-content h2,
.appointment-content h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: var(--heading);
  margin-bottom: 16px;
}

.section-heading p,
.section-content p,
.appointment-content p {
  color: var(--text);
  font-size: 17px;
  line-height: 1.8;
  font-weight: 650;
}

/* ================= ABOUT ================= */

.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap::before {
  content: "";
  position: absolute;
  inset: 36px -18px -22px 44px;
  background: linear-gradient(135deg, rgba(72,169,178,.18), rgba(45,44,143,.12));
  border-radius: 40px;
  z-index: 0;
}

.about-image-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 490px;
  object-fit: cover;
  object-position: center;
  border-radius: 38px;
  box-shadow: var(--shadow-lg);
}

.about-experience-card {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 28px;
  width: 190px;
  padding: 22px;
  border-radius: 26px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.about-experience-card strong {
  display: block;
  color: var(--teal);
  font-family: "Poppins", sans-serif;
  font-size: 42px;
  line-height: 1;
}

.about-experience-card span {
  color: #17384a;
  font-weight: 900;
  line-height: 1.35;
}

.about-highlights {
  display: grid;
  gap: 15px;
  margin-top: 28px;
}

.about-highlights div {
  background: var(--soft-bg);
  border: 1px solid rgba(45,44,143,.07);
  border-radius: 18px;
  padding: 16px 18px;
  color: #344054;
  font-weight: 850;
  display: flex;
  gap: 12px;
  align-items: center;
}

.about-highlights i {
  color: var(--green);
}

/* ================= DIRECTORS ================= */

.directors-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(72,169,178,.12), transparent 28%),
    radial-gradient(circle at 92% 88%, rgba(45,44,143,.08), transparent 30%),
    var(--soft-bg);
}

.director-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.director-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 34px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: .3s ease;
}

.director-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.director-card img {
  width: 180px;
  height: 210px;
  object-fit: cover;
  border-radius: 28px;
  background: #e9f6f8;
}

.director-card span {
  display: inline-block;
  color: var(--teal);
  font-weight: 900;
  margin-bottom: 8px;
}

.director-card h3 {
  color: var(--heading);
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 7px;
}

.director-card .qualification {
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 12px;
}

.director-card p {
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.7;
  font-weight: 650;
}

/* ================= VISITING DOCTORS ================= */
.visiting-section {
  background: var(--white);
}

.visiting-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.visiting-card {
  background: var(--white);
  border: 1px solid rgba(45, 44, 143, .07);
  border-radius: 32px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: .3s ease;
}

.visiting-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* Doctor Icon */

.visiting-card .doctor-photo{
    width:130px;
    height:130px;
    margin:0 auto 22px;
    border-radius:50%;
    background:#ffffff;
    border:8px solid #edf3ff;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.visiting-card .doctor-photo i{
    font-size:58px;
    color:#2d6cdf;
}

.visiting-card h3 {
  color: var(--heading);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 8px;
}

.visiting-card p {
  color: var(--primary);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
}

.visiting-card div {
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 700;
}

/* ================= SERVICES ================= */

.services-section {
  background:
    radial-gradient(circle at 12% 15%, rgba(236,0,140,.06), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(72,169,178,.13), transparent 30%),
    var(--soft-bg);
}

.services-grid,
.department-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card,
.department-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(45,44,143,.07);
  border-radius: 32px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: 0.3s ease;
}

.service-card::after,
.department-card::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(72,169,178,.10);
  transition: 0.3s ease;
}

.service-card:hover,
.department-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::after,
.department-card:hover::after {
  transform: scale(1.35);
  background: rgba(45,44,143,.10);
}

.service-card i,
.icon {
  position: relative;
  z-index: 2;
  width: 66px;
  height: 66px;
  border-radius: 23px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 30px;
  margin-bottom: 23px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: 0 16px 34px rgba(45,44,143,.18);
}

.service-card h3,
.department-card h3 {
  position: relative;
  z-index: 2;
  color: var(--heading);
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 900;
}

.service-card p,
.department-card p {
  position: relative;
  z-index: 2;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.75;
  font-weight: 650;
}

/* ================= FACILITIES ================= */

.facilities-section {
  background: var(--white);
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.facility-card {
  position: relative;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(45,44,143,.07);
  border-radius: 24px;
  padding: 24px 22px 24px 56px;
  color: #344054;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
  transition: 0.25s ease;
}

.facility-card::before {
  content: "✓";
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0,168,90,.13);
  color: var(--green);
  font-weight: 900;
}

.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* ================= GALLERY ================= */

.gallery-section {
  background: var(--soft-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  background: #dbeff3;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .35s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: #fff;
  font-weight: 900;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(8px);
  padding: 9px 14px;
  border-radius: 999px;
}

/* ================= APPOINTMENT ================= */

.appointment-section {
  position: relative;
  padding: 70px 0;
  background:
    radial-gradient(circle at 8% 10%, rgba(72,169,178,.14), transparent 28%),
    radial-gradient(circle at 92% 90%, rgba(236,0,140,.08), transparent 30%),
    var(--white);
}

.appointment-box {
  position: relative;
  overflow: hidden;
  border-radius: 44px;
  padding: 58px;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 48px;
  align-items: center;
  background:
    radial-gradient(circle at 92% 12%, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: var(--shadow-lg);
}

.appointment-box::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}

.appointment-content {
  position: relative;
  z-index: 2;
}

.appointment-content span,
.appointment-content h2,
.appointment-content p {
  color: var(--white);
}

.appointment-content p {
  color: rgba(255,255,255,.9);
  max-width: 560px;
}

.appointment-info {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.appointment-info div {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.20);
  padding: 16px 18px;
  border-radius: 20px;
  color: var(--white);
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
}

.appointment-form {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.96);
  border-radius: 32px;
  padding: 30px;
  box-shadow: 0 24px 70px rgba(16,24,40,.20);
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 17px;
  padding: 16px;
  margin-bottom: 14px;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
}

.appointment-form textarea {
  height: 112px;
  resize: none;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(72,169,178,.13);
}

.appointment-form button {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
}

/* ================= CONTACT + MAP ================= */

.contact-section {
  background: var(--soft-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 48px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 16px;
}

.contact-card {
  background: var(--white);
  border: 1px solid rgba(45,44,143,.07);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-card h3 {
  color: var(--primary);
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 650;
}

.map-box {
  width: 100%;
  height: 570px;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--white);
}

.map-box iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ================= FOOTER ================= */

.footer {
  background:
    radial-gradient(circle at 10% 0%, rgba(72,169,178,.18), transparent 30%),
    #101828;
  color: var(--white);
  padding-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .7fr .7fr 1fr;
  gap: 34px;
  padding-bottom: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
  padding: 5px;
}

.footer h3,
.footer h4 {
  color: var(--white);
  margin-bottom: 14px;
  font-weight: 900;
}

.footer p,
.footer a {
  display: block;
  color: #d0d5dd;
  line-height: 1.8;
  margin-bottom: 6px;
  font-weight: 650;
}

.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  text-align: center;
  padding: 18px;
  color: #d0d5dd;
  font-weight: 700;
}

/* ================= STICKY BUTTONS ================= */

.sticky-actions {
  position: fixed;
  right: 22px;
  top: 48%;
  transform: translateY(-50%);
  z-index: 9999;
  display: grid;
  gap: 14px;
}

.sticky-btn {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #fff;
  box-shadow: 0 16px 38px rgba(16, 24, 40, 0.22);
  transition: .25s ease;
}

.sticky-btn:hover,
.tap-top:hover {
  transform: translateY(-4px);
}

.whatsapp-btn {
  background: #25d366;
}

.call-sticky-btn {
  background: linear-gradient(135deg, #00989b, #006d72);
}

.tap-top {
  position: fixed;
  right: 22px;
  bottom: 28px;
  z-index: 9999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00989b, #006d72);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 16px 38px rgba(0, 137, 140, 0.32);
  transition: .25s ease;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1180px) {
  .menu {
    gap: 12px;
  }

  .menu a {
    font-size: 13px;
  }

  .brand {
    min-width: auto;
  }

  .services-grid,
  .department-grid,
  .visiting-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .topbar-inner {
    flex-direction: column;
    padding: 10px 0;
    text-align: center;
  }

  .menu {
    display: none;
  }

  .hero-section {
    min-height: auto;
    padding: 70px 5% 55px;
    background:
      linear-gradient(90deg,
        rgba(255,255,255,.98) 0%,
        rgba(255,255,255,.9) 58%,
        rgba(255,255,255,.6) 100%
      ),
      url("../images/herosection.png") center / cover no-repeat;
  }

  .hero-services {
    grid-template-columns: repeat(2, 1fr);
    max-width: 500px;
  }

  .hero-stats {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 42px;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats div {
    border-right: none;
    border-bottom: 1px solid #dce7ea;
    padding: 18px;
  }

  .hero-stats div:nth-child(3),
  .hero-stats div:nth-child(4) {
    border-bottom: none;
  }

  .about-grid,
  .appointment-box,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .director-grid,
  .services-grid,
  .department-grid,
  .doctor-grid,
  .visiting-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .director-card {
    grid-template-columns: 1fr;
  }

  .director-card img {
    width: 100%;
    height: 280px;
  }

  .facility-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .appointment-box {
    padding: 42px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-box {
    height: 420px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    height: 76px;
  }

  .nav-call-btn {
    display: none;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand h2 {
    font-size: 18px;
  }

  .brand span {
    font-size: 12px;
  }

  .hero-section {
    padding: 52px 18px 42px;
  }

  .hero-content h1 {
    letter-spacing: -2px;
  }

  .hero-content p {
    font-size: 20px;
  }

  .hero-services,
  .hero-stats,
  .director-grid,
  .department-grid,
  .facility-grid,
  .doctor-grid,
  .visiting-grid,
  .services-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .hero-service-card {
    height: 118px;
  }

  .primary-btn,
  .outline-btn {
    width: 100%;
    min-width: 100%;
  }

  .hero-stats {
    padding: 18px;
  }

  .hero-stats div {
    border-right: none;
    border-bottom: 1px solid #dce7ea;
    padding: 18px 0;
  }

  .hero-stats div:nth-child(3) {
    border-bottom: 1px solid #dce7ea;
  }

  .hero-stats div:last-child {
    border-bottom: none;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading h2,
  .section-content h2,
  .appointment-content h2 {
    letter-spacing: -0.8px;
  }

  .about-image-wrap img {
    height: 320px;
    border-radius: 28px;
  }

  .about-image-wrap::before {
    display: none;
  }

  .department-card,
  .service-card,
  .doctor-card,
  .visiting-card,
  .contact-card {
    border-radius: 26px;
    padding: 24px;
  }

  .appointment-section {
    padding: 45px 0;
  }

  .appointment-box {
    padding: 26px;
    border-radius: 30px;
  }

  .appointment-form {
    padding: 22px;
    border-radius: 24px;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .sticky-actions {
    right: 14px;
  }

  .sticky-btn {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    font-size: 23px;
  }

  .tap-top {
    right: 14px;
    bottom: 18px;
    width: 48px;
    height: 48px;
  }
}
/* ================= GLOBAL 3D PREMIUM CARDS ================= */


.director-card,
.visiting-card,
.service-card,
.facility-card,
.gallery-item,
.contact-card,
.appointment-form,
.appointment-info div,

.about-highlights div {
  position: relative;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  transition: 0.3s ease;
}

.director-card::before,
.visiting-card::before,
.service-card::before,
.facility-card::before,
.contact-card::before,
.appointment-form::before,
.gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, #00989b, #2d2c8f);
}

.director-card:hover,
.visiting-card:hover,
.service-card:hover,
.facility-card:hover,
.gallery-item:hover,
.contact-card:hover,


/* Visiting Doctors Premium 3D */

.visiting-card {
  padding: 30px 24px;
}

.visiting-card .doctor-photo {
  width: 128px;
  height: 128px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #eef6ff);
  border: 8px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 18px 35px rgba(45, 44, 143, 0.16),
    inset 0 0 0 1px rgba(45, 108, 223, 0.08);
}

.visiting-card .doctor-photo i {
  font-size: 58px;
  color: #1f6ff2;
}

.visiting-card h3 {
  font-size: 21px;
  line-height: 1.35;
}

.visiting-card p {
  color: #008f94;
}

/* Services / Facilities Icon Look */

.service-card i {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #00989b, #2d2c8f);
  color: #ffffff;
  font-size: 28px;
  margin-bottom: 18px;
  box-shadow: 0 16px 32px rgba(45, 44, 143, 0.22);
}

.facility-card {
  padding-top: 28px;
  padding-bottom: 28px;
}

/* Mission / Vision style cards */

.about-highlights div {
  padding: 22px 22px 22px 58px;
}

.about-highlights div::after,
.facility-card::after,
.contact-card::after,
.service-card::after,
.visiting-card::after,
.director-card::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -55px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(0, 152, 155, 0.07);
  pointer-events: none;
}

/* Gallery 3D */

.gallery-item {
  box-shadow:
    0 22px 48px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.gallery-item img {
  transition: 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* Appointment Form */

.appointment-form {
  border-radius: 30px;
}

.appointment-form::before {
  background: linear-gradient(90deg, #ff7a00, #00989b);
}

/* Contact Cards */

.contact-card {
  padding: 28px;
}

.contact-card h3 {
  color: #0f172a;
}

/* Responsive */

@media (max-width: 680px) {
  .director-card,
  .visiting-card,
  .service-card,
  .facility-card,
  .gallery-item,
  .contact-card {
    border-radius: 22px;
  }

  .visiting-card .doctor-photo {
    width: 112px;
    height: 112px;
  }

  .visiting-card .doctor-photo i {
    font-size: 50px;
  }
}

/* ================= VISITING DOCTORS DEPARTMENT TITLE ================= */
.visiting-department-title {
  grid-column: 1 / -1;
  margin: 18px 0 2px;
  padding: 16px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .3px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 680px) {
  .visiting-department-title {
    font-size: 15px;
    padding: 14px 16px;
  }
}


/* ================= INSURANCE / CASHLESS / CRMF ================= */

.insurance-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 152, 155, 0.12), transparent 28%),
    radial-gradient(circle at 92% 80%, rgba(45, 44, 143, 0.10), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.insurance-hero-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 34px;
  align-items: center;
  padding: 34px;
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,255,255,.86)),
    radial-gradient(circle at top right, rgba(72,169,178,.16), transparent 35%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 30px 80px rgba(16, 24, 40, 0.12),
    inset 0 1px 0 rgba(255,255,255,.95);
}

.insurance-hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
  background: linear-gradient(90deg, #2d2c8f, #00989b, #48a9b2);
}

.insurance-content {
  position: relative;
  z-index: 2;
}

.insurance-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  color: #006d72;
  background: rgba(0, 152, 155, 0.11);
  border: 1px solid rgba(0, 152, 155, 0.16);
  font-weight: 900;
  margin-bottom: 18px;
}

.insurance-content h3 {
  color: var(--heading);
  font-family: "Poppins", sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.insurance-content p {
  color: var(--text);
  font-size: 16.5px;
  line-height: 1.8;
  font-weight: 700;
}

.scheme-highlight-card {
  margin: 26px 0 22px;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(45,44,143,.07), rgba(0,152,155,.08)),
    #ffffff;
  border: 1px solid rgba(45,44,143,.10);
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
}

.scheme-logo-wrap {
  width: 86px;
  height: 86px;
  border-radius: 24px;
  background: #ffffff;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 14px 28px rgba(16,24,40,.08);
}

.scheme-logo-wrap img {
  width: 340px;
  max-width: none;
  height: 220px;
  object-fit: cover;
  object-position: 90% 92%;
}

.scheme-label {
  display: inline-block;
  color: var(--teal);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 950;
  margin-bottom: 4px;
}

.scheme-highlight-card h4 {
  color: var(--primary);
  font-size: 22px;
  font-weight: 950;
  margin-bottom: 5px;
}

.scheme-highlight-card p {
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}

.insurance-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.insurance-points div {
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(15,23,42,.07);
  color: #344054;
  font-weight: 850;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 10px 25px rgba(16,24,40,.05);
}

.insurance-points i {
  color: var(--green);
}

.insurance-logo-panel {
  position: relative;
  z-index: 2;
  padding: 16px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 58px rgba(16, 24, 40, 0.10);
}

.insurance-logo-panel img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.10);
}

@media (max-width: 980px) {
  .insurance-hero-card {
    grid-template-columns: 1fr;
    padding: 26px;
  }
}

@media (max-width: 680px) {
  .insurance-hero-card {
    border-radius: 28px;
    padding: 18px;
  }

  .scheme-highlight-card {
    grid-template-columns: 1fr;
  }

  .insurance-points {
    grid-template-columns: 1fr;
  }

  .insurance-content h3 {
    font-size: 28px;
  }
}


/* =====================================================
   UPDATED VISITING DOCTORS - COMPACT PROFESSIONAL LIST
   Replace old big doctor card look with clean department list
   ===================================================== */

.visiting-section {
  background:
    radial-gradient(circle at 8% 10%, rgba(72, 169, 178, 0.10), transparent 28%),
    radial-gradient(circle at 92% 82%, rgba(45, 44, 143, 0.08), transparent 32%),
    #ffffff;
}

.visiting-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.visiting-department-title {
  grid-column: 1 / -1;
  margin: 28px 0 4px;
  padding: 16px 22px;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(135deg, #2d2c8f 0%, #008f94 100%);
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .25px;
  box-shadow: 0 18px 42px rgba(45, 44, 143, 0.16);
}

.visiting-card {
  min-height: auto;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  text-align: left;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.07);
  overflow: hidden;
}

.visiting-card::before {
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #00989b, #2d2c8f);
}

.visiting-card::after {
  right: -70px;
  bottom: -70px;
  width: 120px;
  height: 120px;
  background: rgba(0, 152, 155, 0.055);
}

.visiting-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(16, 24, 40, 0.11);
}

.visiting-card .doctor-photo {
  grid-row: span 4;
  width: 54px;
  height: 54px;
  margin: 0;
  border-radius: 18px;
  border: none;
  background: linear-gradient(145deg, #eff8ff, #ffffff);
  box-shadow:
    0 10px 24px rgba(45, 44, 143, 0.11),
    inset 0 0 0 1px rgba(45, 108, 223, 0.08);
}

.visiting-card .doctor-photo i {
  font-size: 25px;
  color: #2d6cdf;
}

.visiting-card h3 {
  margin: 0 0 3px;
  color: #0f172a;
  font-size: 19px;
  font-weight: 950;
  line-height: 1.25;
}

.visiting-card p {
  margin: 0 0 7px;
  color: #008f94;
  font-size: 13.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .25px;
}

.visiting-card div:not(.doctor-photo) {
  color: #52637a;
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 12px;
}

.visiting-card div:not(.doctor-photo) i {
  color: #2d2c8f;
  font-size: 13px;
}

.visiting-card div:not(.doctor-photo):last-child {
  width: fit-content;
  margin-top: 2px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #006d72;
  background: rgba(0, 152, 155, 0.09);
  border: 1px solid rgba(0, 152, 155, 0.14);
  font-weight: 900;
}

@media (max-width: 980px) {
  .visiting-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .visiting-department-title {
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 14px;
  }

  .visiting-card {
    grid-template-columns: 46px 1fr;
    gap: 12px;
    padding: 15px 15px 15px 17px;
    border-radius: 18px;
  }

  .visiting-card .doctor-photo {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .visiting-card .doctor-photo i {
    font-size: 22px;
  }

  .visiting-card h3 {
    font-size: 17px;
  }

  .visiting-card div:not(.doctor-photo) {
    display: flex;
    margin-right: 0;
    font-size: 13px;
  }
}



/* =========================================================
   MJ CORPORATION UPDATE - PREMIUM MENU + DOCTOR DIRECTORY
   Replace old big doctor cards with compact commercial layout
========================================================= */

/* ---------- Attractive Sticky Menu ---------- */
.header {
  top: 0;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(15,23,42,.08);
}

.nav {
  height: 82px;
}

.brand {
  padding: 8px 10px 8px 8px;
  border-radius: 22px;
  transition: .25s ease;
}

.brand:hover {
  background: rgba(45,44,143,.05);
}

.menu {
  gap: 6px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(247,251,255,.9);
  border: 1px solid rgba(45,44,143,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.menu a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 13px;
  border-radius: 999px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.menu a::after {
  display: none;
}

.menu a i {
  color: var(--teal);
  font-size: 12px;
}

.menu a:hover,
.menu a.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--teal));
  box-shadow: 0 14px 28px rgba(45,44,143,.18);
  transform: translateY(-1px);
}

.menu a:hover i,
.menu a.active i {
  color: var(--white);
}

.nav-call-btn {
  padding: 13px 21px;
  background: linear-gradient(135deg, #00a86b, #008f94);
  box-shadow: 0 16px 32px rgba(0,143,148,.22);
}

.mobile-menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  box-shadow: 0 14px 30px rgba(45,44,143,.22);
  cursor: pointer;
  place-items: center;
  padding: 12px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 3px 0;
  border-radius: 99px;
  background: #fff;
  transition: .25s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- New Doctor Directory ---------- */
.doctors-directory-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(72,169,178,.14), transparent 28%),
    radial-gradient(circle at 92% 82%, rgba(45,44,143,.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}

.doctor-dir-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: -12px auto 26px;
  max-width: 900px;
}

.doctor-dir-stats div {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 16px 40px rgba(15,23,42,.07);
}

.doctor-dir-stats i {
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  box-shadow: 0 12px 25px rgba(45,44,143,.18);
}

.doctor-dir-stats strong {
  color: var(--heading);
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
}

.doctor-dir-stats span {
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.doctor-dir-toolbar {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 16px;
  margin-bottom: 22px;
}

.doctor-search,
.doctor-dir-toolbar select {
  height: 58px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.09);
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}

.doctor-search {
  position: relative;
}

.doctor-search i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
}

.doctor-search input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  border-radius: 20px;
  padding: 0 20px 0 52px;
  color: var(--heading);
  font: 800 15px "Manrope", sans-serif;
}

.doctor-dir-toolbar select {
  padding: 0 18px;
  color: var(--heading);
  font: 900 14px "Manrope", sans-serif;
  outline: 0;
}

.doctor-directory-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}

.doctor-dept-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 28px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 22px 55px rgba(15,23,42,.08);
}

.dept-tab {
  width: 100%;
  border: 0;
  cursor: pointer;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 36px 1fr 30px;
  gap: 10px;
  align-items: center;
  text-align: left;
  background: #f8fbff;
  color: #334155;
  font-family: "Manrope", sans-serif;
  font-weight: 950;
  transition: .25s ease;
}

.dept-tab i {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: rgba(0,143,148,.10);
}

.dept-tab em {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-style: normal;
  background: #fff;
  color: var(--primary);
  font-size: 12px;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,.08);
}

.dept-tab:hover,
.dept-tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  transform: translateX(4px);
  box-shadow: 0 16px 30px rgba(45,44,143,.18);
}

.dept-tab:hover i,
.dept-tab.active i {
  color: #fff;
  background: rgba(255,255,255,.16);
}

.dept-tab:hover em,
.dept-tab.active em {
  background: rgba(255,255,255,.92);
  color: var(--primary);
}

.doctor-panel {
  display: none;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 25px 70px rgba(15,23,42,.09);
}

.doctor-panel.active {
  display: block;
}

.doctor-panel-top {
  padding: 24px 26px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  background:
    radial-gradient(circle at 88% 12%, rgba(255,255,255,.18), transparent 30%),
    linear-gradient(135deg, var(--primary), var(--teal));
  color: #fff;
}

.doctor-panel-top h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 5px;
  color: #fff;
  font-size: 25px;
  font-weight: 950;
}

.doctor-panel-top h3 i {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.15);
}

.doctor-panel-top p {
  margin: 0;
  color: rgba(255,255,255,.86);
  font-weight: 750;
}

.doctor-count-badge {
  display: inline-flex;
  white-space: nowrap;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-weight: 950;
}

.doctor-list-rows {
  padding: 8px 0;
}

.doctor-line {
  display: grid;
  grid-template-columns: 54px 1.35fr 1.1fr .82fr auto auto;
  gap: 16px;
  align-items: center;
  min-height: 86px;
  padding: 17px 24px;
  border-bottom: 1px solid rgba(15,23,42,.07);
  transition: .22s ease;
}

.doctor-line:last-child {
  border-bottom: 0;
}

.doctor-line:hover {
  background: #f8fcff;
}

.doctor-avatar {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #2563eb;
  background: linear-gradient(145deg, #ffffff, #eef6ff);
  border: 1px solid rgba(37,99,235,.09);
  box-shadow: 0 12px 24px rgba(37,99,235,.10);
}

.doctor-main h4 {
  margin: 0 0 5px;
  color: var(--heading);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 950;
}

.doctor-main span {
  display: inline-block;
  color: var(--teal);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 950;
}

.doctor-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #475569;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 850;
}

.doctor-meta i {
  color: var(--primary);
}

.doctor-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 999px;
  color: #006d72;
  background: rgba(0,143,148,.11);
  border: 1px solid rgba(0,143,148,.13);
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.doctor-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 92px;
  padding: 11px 15px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #00a86b, #008f94);
  box-shadow: 0 12px 25px rgba(0,143,148,.20);
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
  transition: .25s ease;
}

.doctor-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0,143,148,.28);
}

.no-doctor-result {
  padding: 30px;
  color: var(--text);
  text-align: center;
  font-weight: 850;
}

/* remove old doctor grid/card effect in new section */
.doctors-directory-section .visiting-grid,
.doctors-directory-section .visiting-card,
.doctors-directory-section .visiting-department-title {
  all: unset;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .menu a {
    padding: 10px 10px;
    font-size: 12px;
  }
}

@media (max-width: 1060px) {
  .mobile-menu-btn {
    display: grid;
  }

  .menu {
    position: fixed;
    top: 126px;
    left: 20px;
    right: 20px;
    z-index: 999;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 24px 70px rgba(15,23,42,.18);
  }

  .menu.open {
    display: grid;
  }

  .menu a {
    justify-content: center;
    background: #f8fbff;
    border: 1px solid rgba(15,23,42,.07);
  }

  .doctor-directory-layout {
    grid-template-columns: 1fr;
  }

  .doctor-dept-sidebar {
    position: static;
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 12px;
  }

  .dept-tab {
    min-width: 210px;
  }

  .dept-tab:hover,
  .dept-tab.active {
    transform: translateY(-2px);
  }

  .doctor-line {
    grid-template-columns: 54px 1fr auto;
  }

  .doctor-meta,
  .doctor-status {
    grid-column: 2 / 4;
  }

  .doctor-call {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 760px) {
  .doctor-dir-stats,
  .doctor-dir-toolbar {
    grid-template-columns: 1fr;
  }

  .doctor-dir-stats div {
    grid-template-columns: 44px 1fr;
    padding: 15px 16px;
  }

  .doctor-panel-top {
    display: block;
    padding: 22px;
  }

  .doctor-count-badge {
    margin-top: 14px;
  }

  .doctor-line {
    grid-template-columns: 48px 1fr;
    gap: 12px;
    padding: 16px;
    align-items: start;
  }

  .doctor-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .doctor-main h4 {
    font-size: 17px;
  }

  .doctor-meta,
  .doctor-status,
  .doctor-call {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .doctor-call {
    width: 100%;
  }

  .menu {
    top: 118px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav {
    height: 76px;
  }
  .mobile-menu-btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
}
