/* --- CSS VARIABLES & RESET --- */
:root {
  --primary-blue: #0b3d70;
  --primary-blue-second: #3069a1;
  --secondary-blue: #e6f0fa;
  --accent-red: #cc0000;
  --text-dark: #333333;
  --text-black: #000000;
  --text-light: #666666;
  --white: #ffffff;
  --font-main: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: #f9fbfe;
  width: 100%;
  overflow-x: hidden; /* Prevents horizontal scroll on small devices */
}

/* --- TYPOGRAPHY & UTILITIES --- */
h1,
h2,
h3 {
  color: var(--primary-blue);
  margin-bottom: 15px;
}
h2 {
  font-size: 2.2rem;
  text-align: center;
}
.subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 40px;
}
.home-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 20px;
}
.btn {
  background: linear-gradient(90deg, #48cae4 0%, #0096c7 100%);
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(0, 150, 199, 0.3);
  transition: all 0.3s ease;
  border: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(0, 150, 199, 0.5);
}

.image-placeholder {
  /* background-color: #ddd; */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-weight: bold;
  /* border: 2px dashed #bbb; */
  border-radius: 35px;
  text-align: center;
}

/* ==========================
        HEADER
========================== */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: visible;
}

.header-content {
  max-width: 100%;
  margin: 0;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: visible;
}

/* ==========================
        NAV
========================== */

#nav-menu {
  display: flex;
  align-items: center;
  gap: 35px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#nav-menu li {
  list-style: none;
}

#nav-menu > li {
  position: relative;
}

#nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 28px 0;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

#nav-menu > li > a:hover {
  color: var(--primary-blue);
}

/* ==========================
      LEVEL-1 DROPDOWN
========================== */

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -60px;
  width: 240px;
  display: block;
  margin: 0;
  padding: 8px 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s;
  z-index: 999;
}

/* ==========================
        ITEMS
========================== */

.dropdown-item {
  position: relative;
  width: 100%;
}

.dropdown-item > a {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Center ki jagah top */
  gap: 10px;

  width: 100%;
  box-sizing: border-box;
  padding: 13px 18px;

  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;

  /* Text wrap */
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;

  transition: 0.25s;
}

.dropdown-item > a:hover {
  background: #f5f8fc;
  color: var(--primary-blue);
}

/* ==========================
      SUB MENU
========================== */

.submenu {
  position: absolute;
  top: 0;
  left: 100%;
  width: 240px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: 0.25s;
  z-index: 999;

  /* Add */
  box-sizing: border-box;
  overflow: hidden;
}

.submenu li {
  list-style: none;
  width: 100%;
}

.submenu li a {
  display: block;
  width: 100%;
  padding: 12px 18px;
  box-sizing: border-box;

  color: #444;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;

  /* Important */
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;

  transition: 0.25s;
}

.submenu li a:hover {
  background: #f5f8fc;
  color: var(--primary-blue);
}

@media (hover: hover) and (pointer: fine) {
  .dropdown:hover > .dropdown-toggle .arrow {
    transform: rotate(180deg);
  }

  .has-submenu:hover > .submenu-arrow {
    transform: rotate(90deg);
  }
}

/* ==========================
        ARROWS
========================== */

.arrow {
  font-size: 12px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  pointer-events: none;
}

.dropdown:hover > .dropdown-toggle .arrow,
.dropdown.open > .dropdown-toggle .arrow {
  transform: rotate(180deg);
}

.submenu-arrow {
  font-size: 11px;
  transition: 0.3s;
  display: none;
  align-items: center;
  line-height: 1;
  pointer-events: none;
}

.has-submenu:hover > .submenu-arrow,
.has-submenu.open > .submenu-arrow {
  transform: rotate(90deg);
}

.dropdown.open > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.has-submenu.open > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* ==========================
      MOBILE ICON
========================== */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background: var(--primary-blue);
  transition: 0.3s;
}

/* --- PREMIUM HERO SECTION --- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  /* Deep, rich medical gradient */
  background: linear-gradient(135deg, #0a3a48 0%, #166b82 100%);
  color: #ffffff;
  padding: 20px 5%;
  min-height: 86vh; /* Gives a grand, spacious feel */
  overflow: hidden;
}

/* Subtle background pattern/overlay */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 40%
  );
  z-index: 1;
  pointer-events: none;
}

.hero .split-content {
  position: relative;
  z-index: 2;
  width: 50%;
  padding-right: 50px;
}

/* Modern Pill Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 25px;
  backdrop-filter: blur(5px);
}

.hero-badge i {
  color: #48cae4; /* Bright cyan for contrast */
}

/* Premium Typography */
.hero h1 {
  font-size: clamp(2rem, 3vw, 3.8rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero .highlight-text {
  color: #48cae4; /* Modern medical cyan */
  font-style: normal;
}

.hero .des {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  max-width: 600px;
}

/* Hero Stats (Fills empty space beautifully) */
.hero-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  font-size: 0.95rem;
  color: #e0fbfc;
  font-weight: 500;
}

.hero-stats i {
  color: #48cae4;
  margin-right: 5px;
}

/* Premium Buttons */
.hero .btn-box {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero .btn-box .hero-btn {
  background: linear-gradient(90deg, #48cae4 0%, #0096c7 100%);
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(0, 150, 199, 0.3);
  transition: all 0.3s ease;
  border: none;
}

.hero .btn-box .hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(0, 150, 199, 0.5);
}

.hero .btn-box .hero-btn-2 {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.hero .btn-box .hero-btn-2:hover {
  background: #ffffff;
  color: #0a3a48;
}

/* ==========================
   PREMIUM HERO IMAGE & BADGE
========================== */
.hero .hero-img {
  width: 50%;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-bg-circle {
  position: absolute;
  width: 95%;
  height: 95%;
  background: linear-gradient(135deg, rgba(72, 202, 228, 0.15), transparent);
  border-radius: 50%;
  z-index: 1;
  animation: pulseGlow 6s ease-in-out infinite;
}

.hero-dots-pattern {
  position: absolute;
  top: -20px;
  right: -30px;
  width: 150px;
  height: 150px;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.3) 2px,
    transparent 2px
  );
  background-size: 15px 15px;
  z-index: 0;
  border-radius: 50%;
  animation: heroFloat 8s ease-in-out infinite reverse;
}

.hero .hero-img img {
  width: 90%; /* 100% se 90% kiya taaki peeche ka circle thoda dikhe */
  position: relative;
  z-index: 2;
  height: auto;
  border-radius: 30px;
  border: 4px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  animation: heroFloat 6s ease-in-out infinite;
}

.floating-rating-badge {
  position: absolute;
  top: 20px;
  right: -10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  z-index: 3;
  animation: heroFloat 5s ease-in-out infinite reverse; /* Opposite direction floating */
}

.floating-rating-badge .stars {
  color: #ffd166; /* Premium Gold color for stars */
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.floating-rating-badge span {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Glassmorphism Floating Badge */
.floating-trust-badge {
  position: absolute;
  z-index: 3;
  bottom: -45px;
  left: -40px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 15px 25px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  animation: heroFloat 6s ease-in-out infinite;
  z-index: 3;
  animation-delay: 1s; /* Slight delay for staggered floating effect */
}

.floating-trust-badge .icon-box {
  background: #48cae4;
  color: #ffffff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(72, 202, 228, 0.4);
}

.floating-trust-badge .text-box {
  display: flex;
  align-items: start;
  flex-direction: column;
}

.floating-trust-badge .text-box strong {
  font-size: 1.1rem;
  color: #ffffff;
}

.floating-trust-badge .text-box span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================
   ANIMATIONS & RESPONSIVE
========================== */
@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* --- CONDITIONS TREATED --- */

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.condition-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 24px;
  border-radius: 14px;
  border-left: 4px solid var(--primary-blue);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-left-width 0.35s ease;
}

/* Gradient Background */

.condition-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0b3d70 0%, #145a96 55%, #1b74b7 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
  z-index: 0;
}

/* Decorative Circle */

.condition-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transform: scale(0);
  transition: 0.45s ease;
  z-index: 0;
}

/* Content Above Gradient */

.condition-card > * {
  position: relative;
  z-index: 2;
}

/* Hover */

.condition-card:hover {
  transform: translateY(-10px);
  border-left-width: 6px;
  box-shadow:
    0 20px 45px rgba(11, 61, 112, 0.25),
    0 10px 20px rgba(0, 0, 0, 0.08);
}

.condition-card:hover::before {
  transform: scaleX(1);
}

.condition-card:hover::after {
  transform: scale(1);
}

/* Heading */

.condition-card h5 {
  color: #222;
  transition: 0.35s;
}

.condition-card:hover h5 {
  color: #fff;
}

/* Paragraph */

.condition-card p {
  color: #666;
  transition: 0.35s;
}

.condition-card:hover p {
  color: rgba(255, 255, 255, 0.92);
}

/* --- TREATMENTS & SURGERIES --- */
.treatments {
  background-color: var(--primary-blue);
  color: var(--white);
}
.treatments h2,
.treatments .subtitle {
  color: var(--white);
}
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.treatment-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s;
}
.treatment-card:hover {
  transform: translateY(-5px);
}
.treatment-card h5 {
  color: var(--white);
}

/* ========================== WHY CHOOSE SECTION ========================== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "text image"
    "list image"; /* Image dono row (text aur list) ke barabar space legi */
  column-gap: 80px;
  row-gap: 30px;
  align-items: start;
}

/* Assigning elements to their Grid Areas */
.split-text {
  grid-area: text;
}
.insight-img {
  grid-area: image;
  display: flex;
  justify-content: center; /* Image ko properly align karne ke liye */
}
.split-list {
  grid-area: list;
}
.split-content {
  flex: 1;
}
.split-section .split-content h2 {
  font-size: 2rem;
}
.split-section .split-content ul li {
  list-style: square;
} /* Image Wrapper */

.premium-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Small Badge above Heading */
.section-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(15, 76, 92, 0.1);
  color: #0f4c5c;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.section-badge i {
  margin-right: 5px;
}

/* Heading Styling */
.premium-heading {
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: #1b263b;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.2;
}

/* Text Formatting */
.lead-text {
  font-size: 1.15rem;
  color: #2c3e50;
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 500;
  border-left: 4px solid #166b82;
  padding-left: 15px;
  background: linear-gradient(
    90deg,
    rgba(22, 107, 130, 0.03) 0%,
    transparent 100%
  );
}
.lead-text strong {
  color: #0f4c5c;
}

.standard-text {
  font-size: 1rem;
  color: #5c6c84;
  line-height: 1.7;
  margin-bottom: 15px;
}
.mb-4 {
  margin-bottom: 30px !important;
}

/* Premium 2-Column List */
.premium-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columns */
  gap: 15px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #eaeaea;
  padding-top: 25px;
}

.premium-feature-list li {
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
  color: #34495e;
  font-weight: 500;
  line-height: 1.4;
}

.premium-feature-list li i {
  color: #166b82; /* Medical Blue Accent */
  font-size: 1.1rem;
  margin-right: 12px;
  margin-top: 2px;
}

.insight-img {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
} /* Decorative Circle */
.insight-img::before {
  content: "";
  position: absolute;
  width: min(360px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(11, 61, 112, 0.1),
    rgba(32, 112, 180, 0.05)
  );
  top: -25px;
  left: 40px;
  z-index: 0;
} /* Decorative Dot */
.insight-img::after {
  content: "";
  position: absolute;
  width: min(140px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(11, 61, 112, 0.06);
  bottom: -20px;
  right: 20px;
  z-index: 0;
} /* Image Card */
.insight-img img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 430px;
  border-radius: 22px;
  background: #fff;
  padding: 10px;
  border: 1px solid rgba(11, 61, 112, 0.08);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.08),
    0 8px 20px rgba(11, 61, 112, 0.08);
  transition: all 0.45s ease;
  object-fit: cover;
} /* Hover */
.insight-img:hover img {
  transform: translateY(-10px) rotate(-1deg) scale(1.02);
  box-shadow:
    0 35px 70px rgba(11, 61, 112, 0.18),
    0 18px 35px rgba(0, 0, 0, 0.12);
} /* Blue Accent */
.insight-img img {
  border-bottom: 6px solid var(--primary-blue);
}
.doctor-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}
.doctor-info {
  padding: 18px;
  text-align: center;
}
.doctor-info h4 {
  margin-bottom: 6px;
  color: var(--primary-blue);
}
.doctor-info p {
  color: #666;
  font-size: 0.95rem;
}

/* --- HOSPITALS / VISIT --- */
.hospitals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.hospital-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}
.hospital-card .image-placeholder {
  height: 150px;
  margin-bottom: 20px;
}

/*==============================
        FAQ
==============================*/

.faq {
  margin-top: 30px;
}

.faq-item {
  margin-bottom: 15px;

  border-radius: 12px;

  overflow: hidden;

  background: #fff;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;

  padding: 18px 22px;

  border: none;

  background: #fff;

  display: flex;

  justify-content: space-between;

  align-items: center;

  font-size: 16px;

  font-weight: 600;

  cursor: pointer;

  transition: 0.3s;
}

.faq-question:hover {
  color: var(--primary-blue);
}

.faq-answer {
  max-height: 0;

  overflow: hidden;

  transition: max-height 0.35s ease;

  background: #fafafa;
}

.faq-answer p {
  padding: 20px;

  margin: 0;

  color: #666;
}

.faq-item.active .faq-answer {
  max-height: 220px;
}

.faq-item.active span {
  transform: rotate(45deg);
}

/*==============================
        FORM
==============================*/

.appointment-card {
  background: #fff;

  padding: 35px;

  border-radius: 18px;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.form-subtitle {
  margin: 10px 0 25px;

  color: #666;
}

.appointment-form {
  display: flex;

  flex-direction: column;

  gap: 18px;
}

.form-row {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 18px;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;

  padding: 15px;

  border: 1px solid #ddd;

  border-radius: 10px;

  font-size: 15px;

  transition: 0.3s;

  outline: none;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  border-color: var(--primary-blue);

  box-shadow: 0 0 0 4px rgba(11, 61, 112, 0.08);
}

.appointment-form textarea {
  resize: vertical;
}

.appointment-form button {
  width: 100%;

  border: none;

  cursor: pointer;

  padding: 15px;
}

/*==============================
        FOOTER
==============================*/

.footer {
  background: linear-gradient(135deg, #0f4c5c 0%, #166b82 100%);
  color: #d9e6f2;
  margin-top: 80px;
}

.footer h3,
.footer h4 {
  color: #fff;
}

.footer h4 {
  margin-bottom: 22px;
  position: relative;
}

.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 45px;
  height: 3px;
  background: #2ea8ff;
  border-radius: 20px;
}

.footer p {
  color: #c8d6e5;
  line-height: 1.8;
}

.footer-logo {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.15);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  color: #c8d6e5;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 6px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: 0.3s;
  text-decoration: none;
}

.footer-social a:hover {
  background: #2ea8ff;
  transform: translateY(-5px);
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.contact-info i {
  color: #2ea8ff;
  margin-top: 5px;
  min-width: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 22px 0;
  color: #b8cad8;
}

.footer-bottom a {
  color: #4da8ff;
  text-decoration: none;
}

/* --- ANIMATION CLASSES --- */
.animate {
  opacity: 0;
  visibility: hidden;
}
.fade-in.is-visible {
  animation: fadeIn 1s ease forwards;
}
.slide-up.is-visible {
  animation: slideUp 0.8s ease forwards;
}
.slide-left.is-visible {
  animation: slideLeft 0.8s ease forwards;
}
.slide-right.is-visible {
  animation: slideRight 0.8s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    visibility: visible;
  }
  to {
    opacity: 1;
    visibility: visible;
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
    visibility: visible;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
}
@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
    visibility: visible;
  }
  to {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
  }
}
@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(50px);
    visibility: visible;
  }
  to {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
  }
}

/* =============================== About Page =============================== */
.page-header {
  position: relative;
  /* A professional medical blue gradient */
  background: linear-gradient(135deg, #0f4c5c 0%, #166b82 100%);
  padding: 160px 0 80px 0; /* Extra top padding for the fixed navbar */
  color: #ffffff;
  overflow: hidden;
}

/* Subtle modern overlay effect */
.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 50%
  );
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

.page-header .lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

/* Breadcrumb Navigation */
.header-breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
}

.header-breadcrumb li {
  display: flex;
  align-items: center;
}

.header-breadcrumb li a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.header-breadcrumb li a:hover {
  color: #ffffff;
}

.header-breadcrumb li i {
  font-size: 0.7rem;
  margin: 0 12px;
  color: rgba(255, 255, 255, 0.4);
}

.header-breadcrumb li.active {
  color: #ffffff;
  font-weight: 600;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

/* ================= PREMIUM EXPERTISE LIST ================= */
.premium-expertise-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
}

.expertise-item {
  display: flex;
  align-items: flex-start;
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid #f4f6f8;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.expertise-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(15, 76, 92, 0.12); /* Medical Blue shadow */
  border-color: rgba(15, 76, 92, 0.15);
}

.expertise-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(15, 76, 92, 0.08);
  color: #0f4c5c;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px; /* Soft square edge for modern look */
  font-size: 1.3rem;
  margin-right: 18px;
  transition: all 0.3s ease;
}

.expertise-item:hover .expertise-icon {
  background: #0f4c5c;
  color: #ffffff;
}

.expertise-text strong {
  display: block;
  color: #1b263b;
  font-size: 1.05rem;
  margin-bottom: 6px;
  font-weight: 700;
}

.expertise-text {
  color: #5c6c84;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ================= PREMIUM BUTTONS ================= */
.premium-actions {
  display: flex;
  gap: 15px;
  margin-top: 45px;
  flex-wrap: wrap;
}

.btn-premium {
  background: linear-gradient(135deg, #0f4c5c 0%, #166b82 100%);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  box-shadow: 0 8px 20px rgba(15, 76, 92, 0.25);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(15, 76, 92, 0.4);
  color: #ffffff;
}

.btn-premium-outline {
  background: transparent;
  color: #0f4c5c;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 2px solid #0f4c5c;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.btn-premium-outline:hover {
  background: #0f4c5c;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 76, 92, 0.15);
}

/* =========================================
 RESPONSIVE DESIGN (Tablets & Mobiles)
 ========================================= */
@media (max-width: 1441px) {
  .hero {
    min-height: 50vh;
  }
}

@media (max-width: 1269px) {
  .hero .btn-box {
    gap: 10px;
  }
  .hero .btn-box .hero-btn,
  .hero .btn-box .hero-btn-2 {
    font-size: 0.75rem;
  }
  .split-section {
    gap: 20px;
  }
}

@media (max-width: 1130px) {
  .hero-stats {
    font-size: 0.75rem;
    margin-bottom: 20px;
  }

  .hero .btn-box .hero-btn,
  .hero .btn-box .hero-btn-2 {
    padding: 14px;
  }
}

@media (max-width: 1100px) {
  .hero .split-content {
    padding-right: 70px;
  }
}

@media (max-width: 1032px) {
  .btn-premium,
  .btn-premium-outline {
    padding: 14px;
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: clamp(2rem, 2vw, 3.8rem);
  }

  .hero .des {
    font-size: 0.8rem;
  }

  .hero-stats {
    font-size: 0.65rem;
    margin-bottom: 20px;
  }

  .hero .btn-box .hero-btn,
  .hero .btn-box .hero-btn-2 {
    font-size: 0.75rem;
    padding: 14px;
  }

  /* conditions */
  .conditions-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .split-section {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "text image"
      "list list"; /* List ab dusri row me dono columns ka space le legi */
    column-gap: 40px;
    row-gap: 50px;
  }

  /* Optional: Tablet view me jab list full width ho, 
     toh usko 3 columns me todne se acha look aata h */
  .premium-feature-list {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* footer */
  .footer {
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero .split-content {
    width: 100%;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero .highlight-text {
    display: inline;
  }
  .hero-stats {
    flex-direction: row;
    gap: 55px;
  }
  .floating-trust-badge {
    left: 10px;
    bottom: -20px;
  }

  .hero .hero-img {
    width: 100%;
  }
  .split-content {
    padding: 0 20px;
  }

  .split-section {
    flex-direction: column; /* Stacks image below text on tablets/mobile */
    gap: 50px;
  }
  .premium-heading {
    font-size: 2rem;
  }

  .insight-img {
    width: 100%;
    flex: none;
  }

  .split-section .split-content h2 {
    text-align: center;
  }

  .doctor-card {
    width: 100%;
    margin: auto;
  }

  .split-section.appointment {
    flex-direction: column;
    gap: 45px;
  }

  .split-content-appointment {
    width: 100%;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 830px) {
  .conditions-grid,
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 770px) {
  /* header */
  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  #nav-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.35s ease;
    z-index: 999;
  }

  #nav-menu.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  #nav-menu > li {
    width: 100%;
  }

  #nav-menu > li > a {
    width: 100%;
    padding: 16px 20px;
    justify-content: space-between;
  }

  #nav-menu .dropdown-menu,
  #nav-menu .submenu {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
  }

  #nav-menu .dropdown.open > .dropdown-menu {
    display: block;
  }

  #nav-menu .has-submenu.open > .submenu {
    display: block;
  }

  #nav-menu .dropdown-item > a,
  #nav-menu .submenu li a {
    padding-left: 34px;
    padding-right: 20px;
  }

  #nav-menu .submenu li a {
    padding-left: 50px;
  }

  .submenu-arrow {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  /* ===========================
          OTHER SECTIONS
  =========================== */

  .hero {
    flex-direction: column;
    gap: 20px;
  }

  .hero .des {
    margin-bottom: 12px;
  }

  .hero .split-content {
    width: 100%;
    padding-right: 0px;
  }

  .insight-img {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .hero .hero-img {
    width: 100%;
  }

  .hero-dots-pattern {
    display: none;
  } /* Mobile pe hide kar do taaki clutter na ho */
  .floating-rating-badge {
    top: 27px;
    right: 0px;
    padding: 8px 15px;
  }
  .floating-trust-badge {
    bottom: -10px;
    left: 0;
    padding: 10px;
  }

  .floating-rating-badge .stars,
  .floating-rating-badge span {
    font-size: 0.65rem;
  }
  .hero .hero-img img {
    width: 85%;
  }

  .floating-trust-badge .text-box strong {
    font-size: 0.8rem;
  }

  .floating-trust-badge .text-box span {
    font-size: 0.6rem;
  }

  .floating-trust-badge .icon-box {
    font-size: 1rem;
    width: 40px;
    height: 40px;
  }

  .split-section {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "text"
      "list"; /* Sab ek ke neeche ek stack ho jayega */
    gap: 40px;
  }

  .premium-feature-list {
    grid-template-columns: 1fr !important; /* Mobile me wapas single column */
  }

  .split-content,
  .insight-img {
    width: 100%;
    flex: none;
  }

  .split-section .split-content h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .split-section .split-content p {
    font-size: 15px;
    line-height: 1.8;
    text-align: left;
  }

  .split-section .split-content ul {
    margin-left: 20px !important;
  }

  .split-section .split-content ul li {
    font-size: 15px;
  }

  .img-container {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .doctor-card {
    width: 100%;
    margin: auto;
  }

  .doctor-card img {
    display: block;
    width: 100%;
    height: auto;
  }

  .doctor-info {
    padding: 15px;
  }

  .doctor-info h4 {
    font-size: 20px;
  }

  .doctor-info p {
    font-size: 14px;
  }

  .insight-img::before {
    width: 220px;
    height: 220px;
  }

  .insight-img::after {
    width: 70px;
    height: 70px;
    right: 10px;
  }

  .footer-container {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .footer-column h4::after {
    left: 50%;

    transform: translateX(-50%);
  }

  .footer-social {
    justify-content: center;
  }

  .contact-info li {
    justify-content: start;
  }
}

@media (max-width: 576px) {
  .premium-feature-list {
    grid-template-columns: 1fr; /* 1 column list on small phones */
  }
  .lead-text {
    font-size: 1.05rem;
  }
}

@media (max-width: 533px) {
  .premium-heading {
    font-size: 1.5rem;
  }

  .lead-text {
    font-size: 0.85rem;
  }

  .standard-text,
  .premium-feature-list li {
    font-size: 0.8rem;
  }

  .appointment-form input, .appointment-form select, .appointment-form textarea{
    font-size: 13px;
  }
}

@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 1.8rem;
  }
  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  .hero p {
    font-size: 1rem;
  }
  .home-container {
    padding: 40px 15px;
  }
  .hero {
    padding: 50px 15px;
  }

  .conditions-grid,
  .treatments-grid,
  .hospitals-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .hospital-card {
    padding: 20px;
  }
  .treatment-card {
    padding: 20px;
  }

  .split-section .split-content h2 {
    font-size: 1.6rem;
  }

  .split-section .split-content p {
    font-size: 14px;
  }

  .split-section .split-content ul li {
    font-size: 14px;
  }

  .doctor-card {
    width: 100%;
  }

  .insight-img::before {
    width: 180px;
    height: 180px;
  }

  .insight-img::after {
    display: none;
  }

  /* Form inputs stretch full width */
  form input,
  form button {
    width: 100%;
  }
}

@media (max-width: 440px) {
  .split-content {
    padding: 0 0px;
  }

  .hero .btn-box .hero-btn,
  .hero .btn-box .hero-btn-2 {
    font-size: 10px;
  }

  .condition-card h3,
  .treatment-card h3 {
    font-size: 17px;
  }

  .condition-card p,
  .treatment-card p,
  .faq-question,
  .appointment-form button {
    font-size: 13px;
  }

  .img-container {
    max-height: 390px;
  }

  .split-section .split-content p,
  .appointment-form input,
  .appointment-form select,
  .appointment-form textarea {
    font-size: 12px;
  }

  .footer p {
    line-height: 1.5;
    font-size: 14px;
  }

  .footer h4 {
    font-size: 16px;
  }

  .footer-links li,
  .contact-info li {
    font-size: 13px;
  }
}

@media (max-width: 425px) {
}

@media (max-width: 355px) {
  .hero-stats {
    gap: 20px;
  }

  .floating-rating-badge {
    top: 9px;
  }
  .footer p {
    font-size: 12px;
  }
}

@media (max-width: 320px) {
  .hero-stats {
    flex-direction: column;
    gap: 5px;
  }

  .floating-trust-badge {
    display: none;
  }

  .floating-rating-badge {
    top: 150px;
  }
}

@media (max-width: 316px) {
  .hero .btn-box .hero-btn,
  .hero .btn-box .hero-btn-2 {
    font-size: 8px;
    padding: 8px;
  }
}

@media (max-width: 254px) {
  .hero .btn-box .hero-btn,
  .hero .btn-box .hero-btn-2 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 250px) {
  .img-container {
    max-height: 230px;
  }
}
