:root {
  --color-dark-red: #770000;
  --color-olive-green: #5a8500;
  --color-dark-blue: #0c1424;
  --color-olive-green-rgb: 90, 133, 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: url("kelina-bg.jpeg") no-repeat center center;
  background-size: cover;
}
.insurance-content {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.insurance-content h2 {
  color: #080860;
  margin-bottom: 1rem;
}

.insurance-list .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.card {
  background: #fff;
  border: 1px solid #ddd;
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card img {
  max-width: 100px;
  margin-bottom: 0.5rem;
}

.coverage ul, .steps ol {
  background: #fff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-bottom: 2rem;
}

.faq details {
  background: #fff;
  margin-bottom: 0.75rem;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.faq summary {
  font-weight: bold;
  cursor: pointer;
}

.contact {
  background: #e6f0ff;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 2rem;
}

/* =========================
   NAVBAR (DESKTOP/TABLET)
========================= */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  padding: 10px 10px 10px 0;
  height: 50px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo img:last-of-type {
  width: 200px;
  min-width: 50px;
  height: auto;
}

/* Nav Links Container */
.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}
.nav-links a {
  position: relative;
  text-decoration: none;
  color: #010891; /* Default color */
  font-weight: 300; /* Light */
  padding: 5px 0;
  transition: color 0.3s;
}

/* Animated underline on hover */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #770000; /* underline color */
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Active page underline */
.nav-links a.current::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Optional: active page color change */
.nav-links a.current {
  color: var(--color-dark-red);
}

/* Main Links */
.nav-links > a,
.nav-item > a {
  position: relative;
  text-decoration: none;
  color: #333;
  font-weight: 300;
  font-size: 0.9rem;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.nav-links > a:hover,
.nav-item > a:hover {
  color: var(--color-dark-red);
}

/* Dropdown Container */

.nav-item {
  position: relative;
  z-index: 1000; /* keeps dropdown above hero */
}

/* Dropdown Styling */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 220px;
  padding: 10px 0;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  position: absolute;
  z-index: 9999;
}

/* Show dropdown on hover */
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown Links (Straight Vertical Line) */
.dropdown a {
  display: block;
  padding: 10px 20px;
  color: #333;
  font-weight: 300;
  font-size: 0.8rem;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.dropdown a:hover {
  background-color: #f5f5f5;
  color: var(--color-dark-red);
}

/* CTA Button */
.cta {
  background-color: var(--color-dark-red);
  color: #fff;
  padding: 8px 15px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cta:hover {
  background-color: #a80000;
}

/* Icons */
.search-icon {
  font-size: 1.2em;
  cursor: pointer;
}

.hamburger {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  cursor: pointer;
}

.menu-text {
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1.9rem;
  color: #333;
  padding-right: 10px;
}

/* =========================
   MOBILE MENU
========================= */
/* =========================
   MOBILE MENU (RIGHT SIDE)
========================= */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 260px;
  max-height: 80vh;
  background-color: #0c1424;
  color: #fff;
  padding: 20px;
  transition: right 0.3s ease;
  border-radius: 0 0 0 20px;
  overflow-y: auto;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
}

/* When Open */
.mobile-menu.open {
  right: 0;
}

.menu-header {
  display: flex;
  justify-content: flex-end;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.1em;
  color: #fff;
  cursor: pointer;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  flex-grow: 1;
}

.menu-list li {
  margin: 10px 0;
  width: 100%;
}

/* Mobile Links */
.menu-list a {
  display: block;
  padding: 10px 0;
  font-size: 0.9rem;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.45);

  opacity: 0;
  visibility: hidden;

  transition: opacity 0.25s ease;

  z-index: 9;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  z-index: 10; /* ABOVE overlay */
}

/* Expandable Menu Layout */
.menu-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.toggle {
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  padding-left: 10px;
}

/* Submenu */
.expandable .submenu {
  display: none;
  margin-left: 15px;
  margin-top: 5px;
  list-style: none;
  padding: 0;
}

.expandable .submenu.open {
  display: block;
}

.submenu a {
  font-size: 0.8rem;
  padding: 8px 0;
  opacity: 0.9;
}

/* Appointment Button */
.appointment {
  background-color: #fff;
  color: var(--color-dark-red) !important;
  padding: 10px 14px;
  border-radius: 4px;
  font-weight: 700 !important;
}

/* Search Bar */
.search-bar {
  display: flex;
  margin-top: auto;
}

.search-bar input {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 4px 0 0 4px;
}

.search-bar button {
  background-color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.search-icon {
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.search-icon:hover {
  transform: scale(1.1);
}

/* =========================
   DESKTOP SEARCH 
========================= */

.desktop-search {
  position: relative;
  display: flex;
  align-items: center;
}

/* Search Icon */
.desktop-search .search-icon {
  font-size: 1.9rem;
  cursor: pointer;
  padding: 8px 10px;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.desktop-search .search-icon:hover {
  transform: scale(1.1);
  color: var(--color-dark-red);
}

/* Search Box */
.desktop-search .search-box {
  position: absolute;
  top: 55px;
  right: 0;

  width: 320px; /* Bigger width */
  background: #ffffff;

  padding: 15px;
  border-radius: 14px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

  display: none;
  z-index: 50;

  animation: fadeIn 0.2s ease;
}

/* Show search */
.desktop-search .search-box.active {
  display: block;
}

/* Input Field */
.desktop-search .search-input {
  width: 100%;
  padding: 12px 14px;

  border-radius: 10px;
  border: 1px solid #ddd;

  font-size: 14px;
  outline: none;

  transition: border 0.2s ease;
}

.desktop-search .search-input:focus {
  border: 1px solid var(--color-dark-red);
}

/* Results */
.desktop-search .search-results {
  margin-top: 10px;
  max-height: 250px;
  overflow-y: auto;
}

.desktop-search .search-results a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: #333;
  font-size: 14px;

  transition: color 0.2s ease;
}

.desktop-search .search-results a:hover {
  color: var(--color-dark-red);
}

/* Smooth Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   MOBILE SEARCH
========================= */

.mobile-search {
  margin-top: 20px;
}

.mobile-search input {
  width: 100%;
  padding: 8px;
  border-radius: 4px;
  border: none;
  outline: none;
}

.mobile-search-results a {
  display: block;
  padding: 6px 0;
  text-decoration: none;
  color: white;
  font-size: 14px;
}

.mobile-search-results a:hover {
  opacity: 0.7;
}

/* ===================================
   PREMIUM HERO SECTION
=================================== */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

/* =============================
   BACKGROUND SLIDER
============================= */

.hero-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

.hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 8s ease-in-out;
}

.hero-bg.active {
  opacity: 1;
  transform: scale(1.08);
}

/* =============================
   DARK LUXURY OVERLAY
============================= */

/* =============================
   LIGHTER LUXURY OVERLAY
============================= */

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(8, 15, 30, 0.55),
    rgba(8, 15, 30, 0.45),
    rgba(8, 15, 30, 0.3)
  );
  display: flex;
  align-items: center;
  padding: 0 8%;
}

/* =============================
   CONTENT
============================= */

.hero-content {
  max-width: 700px;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
  animation: fadeUp 1.2s ease forwards;
}

.hero-content h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.hero-content h1::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  margin-top: 15px;
  background: linear-gradient(to right, #d4af37, transparent);
}

.hero-content p {
  font-size: 18px;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 40px;
}

/* =============================
   BUTTONS
============================= */

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  font-size: 14px;
}

/* Primary Button */
.btn.primary {
  background: #d4af37;
  color: #000;
}

.btn.primary:hover {
  background: #ffffff;
  transform: translateY(-4px);
}

/* Secondary Button */
.btn.secondary {
  border: 2px solid #ffffff;
  color: #ffffff;
  backdrop-filter: blur(6px);
}

.btn.secondary:hover {
  background: #ffffff;
  color: #000;
  transform: translateY(-4px);
}

/* =============================
   ANIMATION
============================= */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* =========================
   COMMITMENT SECTION
========================= */

.commitment {
  position: relative;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 100px;
}

/* Background */
.commitment-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.commitment-bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;

  opacity: 0.2; /* 🔥 MORE TRANSPARENT */
  transform: scale(1.15);
  transition: transform 0.3s ease;
}

.commitment::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.55)
  );
  z-index: 2;
}

/* Content */
.commitment-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 40px;
  color: white;

  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.commitment-content .icon {
  display: flex;
  justify-content: center;
  align-items: center;
}
.commitment-content .icon img {
  width: 70px !important;
  height: auto !important;
  min-width: 70px !important;
  display: block;
}

.commitment-content h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 300;
  font-family: sans-serif;
}

.commitment-content p {
  margin-top: 10px;
  line-height: 1.6;
  font-family: "Poppins", sans-serif;
}

/* Fade in when active */
.commitment.visible .commitment-content {
  opacity: 1;
  transform: translateY(0);
}

.btn-about {
  display: inline-block;
  padding: 12px 28px;
  background: var(--color-dark-red);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 10px;
}

.btn-about:hover {
  background: #a80000;
  animation: buttonPop 0.6s ease-in-out infinite;
}

/* =========================
   INFO PANELS SECTION
========================= */

.info-panels {
  position: relative;
  padding: 120px 5%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

/* Fixed Background */
.panel-bg {
  position: fixed; /* 🔥 fixed */
  inset: 0;
  z-index: -1;
}

.panel-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25; /* 🔥 transparent background */
}

/* Dark Premium Overlay */
.info-panels::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.75)
  );
  z-index: -1;
}

/* Panels Wrapper */
.panels-wrapper {
  position: relative;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  z-index: 2;
}

/* Individual Panel */
.panel {
  background: rgba(255, 255, 255, 0.92); /* 🔥 light panel */
  backdrop-filter: blur(6px);
  padding: 40px 30px;
  border-top-right-radius: 60px;
  border-bottom-left-radius: 60px;
  text-align: center;
  color: #222; /* 🔥 dark readable text */
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

.panel:hover {
  transform: translateY(-10px);
  border: 1px solid var(--color-dark-red);
  box-shadow: 0 25px 50px rgba(214, 0, 0, 0.15);
}

/* When visible */
.panel.show-from-left {
  opacity: 1;
  transform: translateX(0);
}

.panel.show-from-right {
  opacity: 1;
  transform: translateX(0);
}

/* Icon Styling */
.panel .icon img {
  width: 60px;
  height: auto;
  margin-bottom: 20px;
  opacity: 0.9;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

/* Headings */
.panel h3 {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--color-dark-red);
}

/* Paragraph */
.panel p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
  color: black;
}



.panel:nth-child(2) {
  animation-delay: 0.2s;
}
.panel:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.core-values li {
  display: flex;
  align-items: center;
}

.core-values strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;          
  font-weight: 700;
  font-size: 18px;
  color: #770000;
}


/* =========================
   CONSULTATION SECTION
========================= */

.consultation {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding: 100px 8%;
  background: #f8fafc; /* soft medical gray */
  align-items: flex-start;
  flex-wrap: wrap;
}

/* =========================
   LEFT TEXT
========================= */

.consultation-text {
  flex: 1 1 500px;
}

.consultation-text h2 {
  font-size: 34px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #111;
}

.consultation-text h3 {
  font-size: 20px;
  margin-bottom: 25px;
  font-weight: 600;
  color: var(--color-dark-red); /* brand accent */
}

.consultation-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

/* =========================
   RIGHT SERVICES GRID
========================= */

.consultation-services {
  flex: 1 1 450px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

/* Individual Service Card */

.service {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0;
  transition: 
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.6s ease;
}

.service:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(214, 0, 0, 0.15);
  border: 1px solid rgba(214, 0, 0, 0.3);
}

/* Icon */

.service .icon img {
  width: 45px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.service:hover .icon img {
  transform: scale(1.1);
}

/* Text */

.service h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111;
}

.service span {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.service.reveal {
  opacity: 1;
}

/* =========================
   GLOBAL SCROLL REVEAL
========================= */

.section-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.section-animate.active {
  opacity: 1;
  transform: translateY(0);
}


/* =========================
   ACHIEVEMENTS SECTION
========================= */

.container {
  display: flex;
  gap: 60px;
  padding: 100px 8%;
  background: #0f0f0f;
  color: #fff;
  align-items: center;
}

/* =========================
   LEFT SIDE
========================= */

.left-section {
  flex: 1;
}

.left-section h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.left-section h1::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #d60000;
  display: block;
  margin-top: 12px;
}

.left-section p {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 30px;
  max-width: 500px;
}

/* Button */

.milestone-btn {
  display: inline-block;
  padding: 14px 30px;
  background: #d60000;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.milestone-btn:hover {
  background: #a80000;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(214, 0, 0, 0.3);
}

/* =========================
   RIGHT SIDE GRID
========================= */

.right-section {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

/* Achievement Cards */

.achievement {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 14px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.achievement h2 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #ffffff;
}

.achievement p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
}

/* Hover Effect */

.achievement:hover {
  transform: translateY(-8px);
  background: rgba(214, 0, 0, 0.08);
  border: 1px solid rgba(214, 0, 0, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}


/* ===============================
   REVIEWS SECTION
================================== */

.reviews-section {
  padding: 120px 8%;
  background: linear-gradient(135deg, #0c1424, #0f1b32);
  color: #fff;
  overflow: hidden;
  position: relative;
}

/* Soft glow */
.reviews-section::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 300px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,175,55,0.2), transparent 70%);
  filter: blur(100px);
}

/* Wrapper prevents cutting */
.reviews-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 1400px;
  margin: auto;
  padding: 0 20px;
}
.reviews-track {
  display: flex;
  gap: 40px;
  transition: transform 0.8s ease;
}
/* ===============================
   CARD
================================== */

.review-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(35px);
  border-radius: 25px;
  padding: 35px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  width: 100%;
  flex: 0 0 calc(50% - 20px); /* 2 cards desktop */
  box-sizing: border-box;
}

/* Hover */
.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

/* Header */
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.google-logo {
  background: #d4af37;
  color: #111;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: bold;
}

/* Text */
.review-text {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 20px;
}

/* Footer */
.review-footer strong {
  display: block;
  font-weight: 600;
}

.review-footer span {
  opacity: 0.6;
  font-size: 13px;
}

.reviews {
  width: 100%;
  overflow: hidden; /* 🔥 Prevent cut edges */
  position: relative;
}

/* ===========================
   SPLIT SECTION
=========================== */

.split-screen {
  display: flex;
  min-height: 500px;
  background: linear-gradient(135deg, #0f1b32, #1c2f4a);
  color: #fff;
}

/* Panels */
.left-panel,
.right-panel {
  flex: 1;
  padding: 80px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Subtle Glass Effect */
.left-panel,
.right-panel {
  backdrop-filter: blur(20px);
}



/* Left Panel */
.left-panel {
  background: var(--color-olive-green-rgb);
}

/* Right Panel */
.right-panel {
  background: gainsboro;
}
.right-panel h2{
  color: var(--color-dark-red);
}

/* Headings */
.split-screen h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: 1px;
}

/* Paragraph */
.split-screen p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 30px;
  max-width: 500px;
}

/* ===========================
   BUTTONS
=========================== */

.btn-grey {
  background: transparent;
  border: 2px solid #ccc;
  color: #fff;
  padding: 12px 30px;
  font-size: 14px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-grey:hover {
  background: #ccc;
  color: #000;
  transform: scale(1.05);
}

.btn-red {
  background: #770000;
  border: 2px solid #770000;
  color: #fff;
  padding: 12px 30px;
  font-size: 14px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.btn-red:hover {
  background: transparent;
  color: #770000;
  transform: scale(1.08);
}

/* ===========================
   FORM
=========================== */

#newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
}

#newsletter-form input {
  padding: 14px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 14px;
}


/* =====================================
   FOOTER
====================================== */

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 50px;
  padding: 90px 8%;
  background: #0c1424;
  color: #ffffff;
}

/* Column Headings */
.footer-column h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 25px;
  letter-spacing: 1px;
  color: var(--color-gold, #d4af37);
}

/* Paragraph Styling */
.footer-column p {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 15px;
}

/* Remove default list styles */
.footer-column ul {
  padding: 0;
  margin: 0;
}

.footer-column ul a {
  text-decoration: none;
}

.footer-column ul li {
  list-style: none;
  font-size: 14px;
  padding: 6px 0;
  color: #ffffff;
  opacity: 0.75;
  transition: all 0.3s ease;
  position: relative;
}

/* Hover Effect */
.footer-column ul li:hover {
  opacity: 1;
  padding-left: 8px;
  color: var(--color-gold, #d4af37);
}

/* Add subtle underline animation */
.footer-column ul li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--color-gold, #d4af37);
  transition: width 0.3s ease;
}

.footer-column ul li:hover::after {
  width: 50%;
}

/* =========================
   SOCIAL ICONS
========================= */

.socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 30px 0 50px;
  background: #0c1424;
}

.socials a img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover Animation */
.socials a:hover img {
  transform: translateY(-5px) scale(1.2);
  filter: brightness(1) invert(0);
}

/* ==============================
   SOCIAL SECTION WITH LABEL
================================= */

.socials {
  background: #0c1424;
  padding: 20px 8% 60px;
  text-align: center;
}

.social-label {
  font-size: 14px;
  letter-spacing: 1px;
  color: #d4af37;
  margin-bottom: 20px;
  font-weight: 500;
}

.social-label span {
  margin-right: 8px;
}

/* Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.social-icons a img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

/* Hover Effect */
.social-icons a:hover img {
  transform: translateY(-6px) scale(1.2);
  filter: brightness(1);
}

/* ===============================
   FOOTER BOTTOM
================================= */

.footer-bottom {
  background: #0a1220;
  text-align: center;
  padding: 20px 8%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
  margin: 0;
  transition: color 0.3s ease;
}

/* Highlighted Words */
.footer-bottom span {
  color: #d4af37; /* Premium gold touch */
  font-weight: 600;
}

.footer-bottom strong {
  color: #ffffff;
  font-weight: 500;
}

/* Hover Effect */
.footer-bottom p:hover {
  color: #ffffff;
}


/* =========================
   ABOUT PAGE HEADER
========================= */

.about-hero {
  position: relative;
  height: 50vh;              /* Short header height */
  min-height: 220px;
  background: url("../images/heritage-img2.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dark overlay for readability */
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.65)
  );
}

/* Content */
.about-hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
}

.about-hero-overlay h1 {
  color: #ffffff;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 5px;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
}

/* Elegant gold underline */
.about-hero-overlay h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 15px auto 0;
  background: #d4af37;
  border-radius: 3px;
}

/* =========================
   SERVICES PAGE HEADER
========================= */

.services-hero {
  position: relative;
  height: 50vh;              /* Short header height */
  min-height: 220px;
  background: url("../images/services.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dark overlay for readability */
.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.65)
  );
}

/* Content */
.services-hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
}

.services-hero-overlay h1 {
  color: #ffffff;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 5px;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
}

/* Elegant gold underline */
.services-hero-overlay h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 15px auto 0;
  background: #d4af37;
  border-radius: 3px;
}

/* =========================
   CONTACT PAGE HEADER
========================= */

.contact-hero {
  position: relative;
  height: 50vh;              /* Short header height */
  min-height: 220px;
  background: url("../images/contact.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dark overlay for readability */
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.65)
  );
}

/* Content */
.contact-hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
}

.contact-hero-overlay h1 {
  color: #ffffff;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 5px;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
}

/* Elegant gold underline */
.contact-hero-overlay h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 15px auto 0;
  background: #d4af37;
  border-radius: 3px;
}


/* =========================
   NEWS PAGE HEADER
========================= */

.news-hero {
  position: relative;
  height: 50vh;              /* Short header height */
  min-height: 220px;
  background: url("../images/newsletter.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dark overlay for readability */
.news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.65)
  );
}

/* Content */
.news-hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
}

.news-hero-overlay h1 {
  color: #ffffff;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 5px;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
}

/* Elegant gold underline */
.news-hero-overlay h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 15px auto 0;
  background: #d4af37;
  border-radius: 3px;
}

/* =========================
   CAREER PAGE HEADER
========================= */

.career-hero {
  position: relative;
  height: 50vh;              /* Short header height */
  min-height: 220px;
  background: url("../images/career.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dark overlay for readability */
.career-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.65)
  );
}

/* Content */
.career-hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
}

.career-hero-overlay h1 {
  color: #ffffff;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 5px;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
}

/* Elegant gold underline */
.career-hero-overlay h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 15px auto 0;
  background: #d4af37;
  border-radius: 3px;
}

/* =========================
   MILESTONES PAGE HEADER
========================= */

.milestones-hero {
  position: relative;
  height: 50vh;              /* Short header height */
  min-height: 220px;
  background: url("../images/milestones.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dark overlay for readability */
.milestones-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.65)
  );
}

/* Content */
.milestones-hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
}

.milestones-hero-overlay h1 {
  color: #ffffff;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 5px;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
}

/* Elegant gold underline */
.milestones-hero-overlay h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 15px auto 0;
  background: #d4af37;
  border-radius: 3px;
}

/* =========================
   APPOINTMENT PAGE HEADER
========================= */

.appointment-hero {
  position: relative;
  height: 50vh;              /* Short header height */
  min-height: 220px;
  background: url("../images/appointment.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dark overlay for readability */
.appointment-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.65)
  );
}

/* Content */
.appointment-hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
}

.appointment-hero-overlay h1 {
  color: #ffffff;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 5px;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
}

/* Elegant gold underline */
.appointment-hero-overlay h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 15px auto 0;
  background: #d4af37;
  border-radius: 3px;
}

/* =========================
   FACILITIES PAGE HEADER
========================= */

.facilities-hero {
  position: relative;
  height: 50vh;              /* Short header height */
  min-height: 220px;
  background: url("../images/facilities.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dark overlay for readability */
.facilities-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.65)
  );
}

/* Content */
.facilities-hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
}

.facilities-hero-overlay h1 {
  color: #ffffff;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 5px;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
}

/* Elegant gold underline */
.facilities-hero-overlay h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 15px auto 0;
  background: #d4af37;
  border-radius: 3px;
}

/* =========================
   REGISTRATION PAGE HEADER
========================= */

.registration-hero {
  position: relative;
  height: 50vh;              /* Short header height */
  min-height: 220px;
  background: url("../images/registration.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dark overlay for readability */
.registration-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.65)
  );
}

/* Content */
.registration-hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
}

.registration-hero-overlay h1 {
  color: #ffffff;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 5px;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
}

/* Elegant gold underline */
.registration-hero-overlay h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 15px auto 0;
  background: #d4af37;
  border-radius: 3px;
}

/* =========================
   ROUTINE PAGE HEADER
========================= */

.routine-hero {
  position: relative;
  height: 50vh;              /* Short header height */
  min-height: 220px;
  background: url("../images/routine.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dark overlay for readability */
.routine-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.65)
  );
}

/* Content */
.routine-hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
}

.routine-hero-overlay h1 {
  color: #ffffff;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 5px;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
}

/* Elegant gold underline */
.routine-hero-overlay h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 15px auto 0;
  background: #d4af37;
  border-radius: 3px;
}

/* =========================
   SURGERY PAGE HEADER
========================= */

.surgery-hero {
  position: relative;
  height: 50vh;              /* Short header height */
  min-height: 220px;
  background: url("../images/surgery.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dark overlay for readability */
.surgery-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.65)
  );
}

/* Content */
.surgery-hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
}

.surgery-hero-overlay h1 {
  color: #ffffff;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 5px;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
}

/* Elegant gold underline */
.surgery-hero-overlay h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 15px auto 0;
  background: #d4af37;
  border-radius: 3px;
}

/* =========================
   PARTNERSHIP, DIAGNOSTICS, DIALYSIS, TEAM AND INSURANCE  PAGE HEADER
========================= */



/* Dark overlay for readability */
.dialysis-hero::before, .insurance-hero::before, .diagnostics-hero::before, .team-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.65)
  );
}

/* Content */
.dialysis-hero-overlay, .insurance-hero-overlay, .diagnostics-hero-overlay, .team-hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
}

.dialysis-hero-overlay h1, .insurance-hero-overlay h1, .diagnostics-hero-overlay h1, .team-hero-overlay h1 {
  color: #ffffff;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 5px;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
}

/* Elegant gold underline */
.dialysis-hero-overlay h1::after, .insurance-hero-overlay h1::after, .diagnostics-hero-overlay h1::after, .team-hero-overlay h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 15px auto 0;
  background: #d4af37;
  border-radius: 3px;
}

.insurance-hero {
  position: relative;
  height: 50vh;              /* Short header height */
  min-height: 220px;
  background: url("../images/insurance.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-hero {
  position: relative;
  height: 50vh;              /* Short header height */
  min-height: 220px;
  background: url("../images/team.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dialysis-hero {
  position: relative;
  height: 50vh;              /* Short header height */
  min-height: 220px;
  background: url("../images/dialysis.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.diagnostics-hero {
  position: relative;
  height: 50vh;              /* Short header height */
  min-height: 220px;
  background: url("../images/diagnostics.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}


/* =========================================
   OUR STORY – PREMIUM EDITORIAL DESIGN
========================================= */

.our-story {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  padding: 120px 8%;
  max-width: 1400px;
  margin: auto;
  align-items: center;
}

/* =====================
   TEXT SIDE
===================== */

.story-text h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 40px;
  position: relative;
}

.story-text h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 70px;
  height: 3px;
  background: #c6a85b; /* muted gold */
  border-radius: 2px;
}

.story-text p {
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 28px;
  color: #444;
  text-align: justify;
}

.story-text strong {
  color: #1b4332; /* deep medical green */
  font-weight: 600;
}

/* =====================
   IMAGE SIDE
===================== */

.story-image {
  display: flex;
  flex-direction: column;
  gap: 200px;
}

.story-image figure {
  margin: 0;
}

.story-image img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
  transition: transform 0.7s ease, box-shadow 0.7s ease;
}

.story-image img:hover {
  transform: scale(1.04);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.2);
}

.story-image figcaption {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  font-style: italic;
}

/* =====================
   INLINE MOBILE IMAGE
===================== */

.story-text figure {
  margin: 60px 0;
}

.story-text figure img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

.story-text figcaption {
  margin-top: 15px;
  font-size: 14px;
  font-style: italic;
  color: #666;
}

.story-text figure {
  display: none;
}


/* ======================================
   BELIEVES SECTION – PREMIUM DESIGN
====================================== */

.believes {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 100px;
  padding: 120px 8%;
  background: #f8f9fb;
  max-width: 1400px;
  margin: auto;
}

/* LEFT SIDE */

.belief-block {
  margin-bottom: 60px;
}

.belief-block h2 {
  font-size: 28px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  position: relative;
}

.belief-block h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #c6a85b;
  margin-top: 10px;
  border-radius: 2px;
}

.belief-block p {
  font-size: 17px;
  line-height: 1.9;
  color: #444;
  max-width: 600px;
}

/* CORE VALUES */

.values {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 40px;
}

.values li {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #444;
}

.values strong {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  border-radius: 50%;
  background: #1b4332;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}



/* =====================================
   OPENING HOURS – PREMIUM EDITION
===================================== */

.right {
  margin-top: 0;
}
.hours {
  background: #ffffff;
  padding: 80px 65px;
  border-radius: 30px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.06);
  max-width: 300px;
}

/* Section Title */

.hours h3 {
  font-size: 26px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 60px;
  position: relative;
}

.hours h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #c6a85b, #e6c77d);
  border-radius: 3px;
}

/* Hours List */

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 10px; /* generous spacing */
}

/* Each block */

.hours-list h4 {
  font-size: 25px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #770000;
  font-weight: 500;
}

.hours-list p {
  font-size: 20px;
  font-weight: 600;
  color: #1b4332; /* deep medical green */
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #770000;
}

/* Remove border from last item */
.hours-list p:last-of-type {
  border-bottom: none;
}

/* Subtle hover refinement */
.hours-list h4:hover + p {
  transform: translateX(6px);
  transition: 0.3s ease;
}


/* =========================================
   MILESTONES – PREMIUM EDITORIAL DESIGN
========================================= */

.milestones {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
  align-items: center;
  padding: 140px 8%;
  max-width: 1400px;
  margin: auto;
}

/* =====================
   TEXT SIDE
===================== */

.milestones-text h2 {
  font-size: clamp(32px, 4vw, 48px);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 40px;
  position: relative;
  font-weight: 600;
}

.milestones-text h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -18px;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #c6a85b, #e6c77d);
  border-radius: 3px;
}

.milestones-text p {
  font-size: 17px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 40px;
  max-width: 650px;
  text-align: justify;
}

/* Highlight award name subtly */
.milestones-text p strong {
  color: #1b4332;
  font-weight: 600;
}

/* =====================
   BUTTON REFINEMENT
===================== */

.btn-red {
  display: inline-block;
  padding: 16px 36px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 40px;
  border: none;
  background: #1b4332;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-red:hover {
  background: #c6a85b;
  transform: translateY(-3px);
}

/* =====================
   IMAGE SIDE
===================== */

.milestones-image img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.12);
  transition: transform 0.7s ease, box-shadow 0.7s ease;
}

.milestones-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 50px 110px rgba(0, 0, 0, 0.18);
}


/* =====================
   SERVICES PAGE
===================== */


#services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.service-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.service-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}
.service-card:hover .service-image {
  animation: serviceZoom 2s ease-in-out infinite;
}

.service-title {
  font-size: 1.2rem;
  margin: 15px 0 10px;
  color: #770000;
}

.service-description {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.service-button {
  background: #770000;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service-button:hover {
  background: #a80000;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  animation: serviceZoom 2s ease-in-out infinite;
}

@keyframes serviceZoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* =====================
   SERVICE DIALOG
===================== */

#service-dialog {
  border: none;
  border-radius: 8px;
  padding: 0;
  width: 90%;
  max-width: 500px;
}

#service-dialog::backdrop {
  background: rgba(0,0,0,0.5);
}

.dialog-content {
  padding: 25px;
  text-align: center;
}

.dialog-content h2{
  color: #770000;
}

#close-dialog {
  margin-top: 20px;
  background: #770000;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 4px;
  cursor: pointer;
}

#close-dialog:hover {
  background: #a80000;
}


/* =============================
   ARTICLES SECTION
============================= */

/* BLOG GRID */

#articles-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

/* CARD */

.article-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

/* IMAGE */

.article-image img {
  width: 100%;
  height: 220px; /* adjust if needed */
  object-fit: cover;
  border-radius: 8px;

  /* Smooth zoom transition */
  transition: transform 0.5s ease;
}

/* Hover effect */
.article-image img:hover {
  transform: scale(1.1);
}

/* CONTENT */

.article-content {
  padding: 22px;
}

.article-category {
  display: inline-block;
  background: #e6f3ff;
  color: var(--color-dark-blue);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.article-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-dark-red);
}

.article-date {
  font-size: 13px;
  color: #888;
  margin-bottom: 12px;
}

.article-text {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 18px;
}

/* READ MORE BUTTON */

.read-more {
  font-weight: 600;
  color: #770000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.read-more:hover {
  color: #003f8a;
}

/* ==============================
   CAREERS SECTION
============================== */

.careers-section {
  padding: 80px 8%;
  background: #f7fafc;
}

/* Layout */
.careers-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: auto;
}

/* ==============================
   IMAGE SIDE
============================== */

.careers-media img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.08);
  object-fit: cover;
}

/* ==============================
   CONTENT SIDE
============================== */

.careers-content {
  max-width: 520px;
}

.careers-title {
  font-size: 2rem;
  color: #0a2a43;
  margin-bottom: 20px;
  line-height: 1.3;
  font-weight: 600;
}

.careers-text {
  font-size: 16px;
  line-height: 1.7;
  color: #5a6b7b;
  margin-bottom: 18px;
}

/* ==============================
   BUTTON
============================== */

.careers-button {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 28px;
  background: var(--color-dark-red);
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.careers-button:hover {
  background: #540404;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* =========================
   APPLICATION SECTION
========================= */

.application-section {
  padding: 90px 8%;
  background: #f6f9fc;
  font-family: 'Inter', sans-serif;
}

.application-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Make both sides share space nicely on desktop */
.application-info,
.patient-form-container {
    flex: 1;
}

/* -------------------------
   LEFT INFO
------------------------- */


.application-title {
  font-size: 2rem;
  color: #770000;
  font-weight: 600;
  margin-bottom: 20px;
}

.application-info p {
  color: #5b6c7b;
  line-height: 1.7;
  margin-bottom: 18px;
  font-size: 15px;
}

.application-list {
  padding-left: 20px;
  margin-bottom: 20px;
}

.application-list li {
  margin-bottom: 10px;
  color: #3d4b5a;
  font-size: 15px;
}

.application-note {
  background: #eef6ff;
  padding: 15px;
  border-left: 4px solid #1e88e5;
  border-radius: 6px;
}

/* -------------------------
   FORM CARD
------------------------- */

.application-form-box {
  max-width: 720px;
  margin: auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  font-family: "Segoe UI", sans-serif;
}

.form-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-dark-red);
}

.form-disclaimer {
  font-size: 14px;
  color: #777;
  margin-bottom: 30px;
}

/* FORM LAYOUT */
.application-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
  width: 100%;
}

.form-row .form-group {
  flex: 1;
  min-width: 0;
}

/* INPUT GROUP */
.form-group {
  position: relative;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 12px;
  font-size: 14px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  outline: none;
  background: transparent;
  transition: border 0.3s;
  box-sizing: border-box;
}

/* INPUT FOCUS */
.form-group input:focus,
.form-group select:focus {
  border-color: #1e88e5;
}

/* FLOATING LABEL */
.floating-label label {
  position: absolute;
  left: 12px;
  top: 14px;
  font-size: 16px;
  color: #888; /* GREY LABEL */
  pointer-events: none;
  transition: 0.25s ease;
  background: #fff;
  padding: 0 5px;
}

/* FLOAT EFFECT */
.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label select:focus + label,
.floating-label select:valid + label {
  top: -8px;
  font-size: 16px;
  color: #888;
}

/* FILE UPLOAD */
.file-upload label {
  display: block;
  margin-bottom: 8px;
  color: #777;
  font-size: 18px;
}

.upload-area {
  border: 2px dashed #d5d5d5;
  padding: 30px;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.upload-area:hover {
  border-color: #1e88e5;
  background: #f9fbff;
}

.upload-area p {
  font-size: 16px;
  color: #666;
}

.upload-area input {
  display: none;
}

#fileList {
  margin-top: 10px;
  list-style: none;
  padding: 0;
  font-size: 13px;
  color: #444;
}

/* CHECKBOX */
.form-check {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: #555;
}

/* BUTTON */
.submit-btn {
  background: #770000;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background: #350303;
}

/* SUCCESS MESSAGE */
.success-message {
  display: none;
  margin-top: 10px;
  color: #2e7d32;
  font-size: 14px;
}



/* SECTION BACKGROUND */

.contact-section {
  padding: 90px 8%;
  background: linear-gradient(to bottom, #f8fbfd, #eef5f9);
  font-family: "Segoe UI", Tahoma, sans-serif;
}

/* GRID LAYOUT */

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* LEFT COLUMN CARD */

.contact-left {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.06);
}

.contact-left h2 {
  font-size: 28px;
  margin-bottom: 12px;
  color: #770000;
}

.contact-left p {
  color: #5c6b73;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* CONTACT LIST */

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #770000;
  line-height: 1.5;
}

.contact-list img {
  width: 22px;
}

.contact-list a {
  text-decoration: none;
  color: #5c6b73;
  font-weight: 500;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* APPOINTMENT BUTTON */

.appointment-btn {
  margin-top: 25px;
  background: #770000;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.appointment-btn:hover {
  background: #300101;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10,124,194,0.25);
}

/* RIGHT COLUMN */

.contact-right {
  display: flex;
  flex-direction: column;
}

.contact-right h3 {
  font-size: 22px;
  color: #770000;
  margin-bottom: 15px;
}

.address {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  color: #4b5b63;
  line-height: 1.5;
}

.address strong {
  color: var(--color-dark-red);
}

.address img,
.hours img {
  width: 20px;
  margin-top: 3px;
}

/* SOCIAL MEDIA */

.contact-right h4 {
  margin-top: 15px;
  margin-bottom: 12px;
  color: #770000;
}

.media.icons {
  display: flex;
  gap: 14px;
}

.media.icons a {
  width: 42px;
  height: 42px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
}

.media.icons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

.media.icons img {
  width: 20px;
}

/* MAP CARD */

.contact-map {
  margin-top: 25px;
}

.contact-map iframe {
  width: 100%;
  height: 220px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}


/* CONSULTATION SECTION PREMIUM STYLE */

.consult-section {
  padding: 90px 8%;
  background: linear-gradient(to bottom, #f8fbfd, #eef5f9);
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: #333;
}

.consult-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* LEFT COLUMN */

.consult-info {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.consult-intro h2 {
  font-size: 28px;
  color: black;
  margin-bottom: 8px;
}

.consult-intro h3 {
  font-size: 22px;
  color: var(--color-dark-red);
  margin-bottom: 20px;
}

.consult-intro p {
  color: #4b5b63;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* SERVICE FEATURES */

.consult-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.consult-feature {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 24px 30px;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.consult-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.feature-icon img {
  width: 36px;
  height: 36px;
}

.consult-feature h4 {
  font-size: 16px;
  color: black;
  margin: 0;
}

.consult-feature span {
  font-size: 14px;
  color: #4b5b63;
}

/* RIGHT COLUMN - PREMIUM FORM */

.consult-form-area {
  display: flex;
  justify-content: flex-start; /* keep left-aligned */
  align-items: flex-start;
}

.form-card {
  background: rgba(255, 255, 255, 0.98);
  padding: 40px 35px;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.08);
  width: 100%;
  border: 1px solid rgba(10,124,194,0.15);
}

.form-card h3 {
  font-size: 26px;
  color: var(--color-dark-red);
  margin-bottom: 15px;
}

.form-card p {
  color: #4b5b63;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* FORM LAYOUT */

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-field {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.form-field label {
  margin-bottom: 6px;
  font-weight: 600;
  color: grey;
  font-size: 14px;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #cbd5db;
  font-size: 14px;
  color: #333;
  outline: none;
  background: #f9fbfd;
  transition: border 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #0a7cc2;
  box-shadow: 0 0 8px rgba(10,124,194,0.2);
  background: #fff;
}

/* SUBMIT BUTTON */

.form-submit-btn {
  margin-top: 20px;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background: var(--color-dark-red);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit-btn:hover {
  background: #520202;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(10,124,194,0.25);
}

/* TOAST NOTIFICATION STYLE */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.toast {
  background: #0a7cc2;
  color: white;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  font-size: 14px;
  margin-top: 10px;
  opacity: 0;
  transform: translateX(100%);
  animation: slideIn 0.5s forwards, fadeOut 0.5s forwards 3.5s;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}


.appointment-wrapper{
  display:flex;
  gap:60px;
  padding:50px 4%;
  align-items:stretch;
  background-color: #f8fafc;;
}

/* FORM STAGE WRAPPER */

.form-panel{
  overflow:hidden;
  
}


/* STAGE CONTAINER */

.form-stage-container{
  display:flex;
  width:200%;
  transition:transform .45s ease;
}


/* EACH FORM LAYER */

.form-layer{
  width:100%;
  flex-shrink:0;
  display:flex;
  flex-direction:column;
  gap:18px;
}


/* CONTACT PANEL */

.contact-panel{
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
}


.contact-panel h3{
  margin-bottom:30px;
  font-size:22px;
}



/* PROGRESS */

.form-progress{
  display:flex;
  align-items:center;
  margin-bottom:30px;
}

.progress-step{
  font-size:14px;
  color:#9ca3af;
  font-weight:600;
}

.progress-step.active{
  color:#770000;
}

.progress-divider{
  flex:1;
  height:2px;
  background:#e5e7eb;
  margin:0 15px;
}



/* FORM STAGES */

.form-stage-container{
  position:relative;
  width:200%;
  display:flex;
  transition:transform .45s ease;
}

.form-layer{
  width:50%;
  padding-right:10px;
  display:flex;
  flex-direction:column;
  gap:18px;
}


/* NAME ROW */

.name-row{
  display:flex;
  gap:12px;
}

.name-row input{
  flex:1;
}



/* PHONE */

.phone-input{
  display:flex;
  gap:10px;
}

.phone-input select{
  width:90px;
}



/* INPUTS */

input, select{
  padding:14px;
  border:1px solid #e5e7eb;
  border-radius:8px;
  font-size:14px;
}



/* BUTTONS */

.next-button,
.submit-button{
  background:#770000;
  color:white;
  padding:14px;
  border:none;
  border-radius:8px;
  font-weight:600;
  cursor:pointer;
  transition:.3s;
}

.next-button:hover,
.submit-button:hover{
  background:#550000;
}

.back-button{
  background:#e5e7eb;
  border:none;
  padding:14px;
  border-radius:8px;
  cursor:pointer;
}


.button-row{
  display:flex;
  gap:12px;
}



/* CONTACT ITEMS */

.contact-item{
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:20px;
}


.contact-icon{
  width:42px;
  height:42px;
  background:#770000;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.contact-icon img{
  width:20px;
  filter:brightness(0) invert(1);
}

.contact-text strong {
  color: #770000;
}

.contact-panel h3{
  color: var(--color-dark-red);
}

/* General Section */
.appointment-hours {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 5%;
  background-color: #f9fafb; /* soft light background */
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: #333;
  flex-wrap: wrap;
}

/* Left Column */
.appointment-info {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.appointment-info h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #770000; /* darker for premium look */
  margin-bottom: 0.5rem;
}

.appointment-info p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563; /* grey text for readability */
}

/* Individual Appointment Item */
.appointment-item {
  display: flex;
  align-items: center; /* centers svg with h3 + p */
  gap: 1.5rem;
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.appointment-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.appointment-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.appointment-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-dark-red);
}

.appointment-item p {
  font-size: 0.95rem;
  color: #4b5563;
}

/* Right Column */
.right {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
}

.hours {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 320px;
}

.hours h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-dark-red);
  text-align: center;
}

.hours-list h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark-red);
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.hours-list p {
  font-size: 0.95rem;
  color: #4b5563;
  margin: 0;
}


/* =========================
   FACILITIES
========================= */
.admission-section, .pharmacy-section, .dialysis-section, .theater-section, .laboratory-section, .icu-section{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:60px;
  padding:80px 10%;
  background:#f8fbfd;
  font-family: "Segoe UI", sans-serif;
}

/* TEXT SIDE */

.admission-text , .pharmacy-text, .dialysis-text, .laboratory-text, .theater-text, .icu-text{
  flex:1;
}

.admission-text h1, .pharmacy-text h1,.theater-text h1, .dialysis-text h1, .laboratory-text h1, .icu-text h1{
  font-size:2rem;
  margin-bottom:20px;
  color:var(--color-dark-red);
  font-weight:700;
}

.admission-text p , .pharmacy-text p, .dialysis-text p, .theater-text p, .laboratory-text p, .icu-text p{
  font-size:16px;
  line-height:1.8;
  color:#555;
  margin-bottom:20px;
  max-width:520px;
  text-align: justify;
}

/* BUTTON */

.services-btn{
  padding:14px 32px;
  border:none;
  border-radius:30px;
  background:#770000;
  color:white;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  transition:all .35s ease;
  box-shadow:0 6px 18px rgba(0,0,0,0.15);
}

.services-btn:hover{
  background:#540101;
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

/* IMAGE SIDE */

.admission-image, .pharmacy-image, .theater-image, .dialysis-image, .laboratory-image, .icu-image{
  flex:1;
  position:relative;
}

.admission-image img, .theater-image img, .pharmacy-image img, .dialysis-image img, .laboratory-image img, .icu-image img{
  width:100%;
  height:300px;
  object-fit:cover;
  border-radius:18px;
  box-shadow:0 20px 40px rgba(0,0,0,0.15);
  transition:opacity .8s ease-in-out;
}

/* =========================
   TEAMS
========================= */


.doctors-header {
  text-align: center;
  margin: 50px;
}

.doctors-header h1 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: #770000; 
  margin-bottom: 10px;
}
.doctors-header p {
  font-size: 1.2rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Doctors Grid */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 cards on desktop */
  gap: 40px;
  padding: 20px;
}

/* Individual Card */
.doctor-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  max-width: 300px; /* prevent card from being too wide */
  margin: 0 auto;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.18);
}

/* Portrait Image */
.doctor-img {
  width: 100%;
  height: 300px;
  object-fit: contain;   /* full head visible */
  object-position: top;
  display: block;
  border: none;          /* no frame */
  transition: transform 0.5s ease, filter 0.5s ease;
  position: relative;    /* needed for hover transform */
}

/* Hover effect: subtle zoom + thin color */
.doctor-card:hover .doctor-img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* Card Info */
.doctor-info {
  padding: 20px;
  text-align: center;
}

.doctor-info h3 {
  margin: 10px 0 5px;
  font-size: 1.25rem;
  color: #1b1b1b;
}

.doctor-specialty {
  color: #2a7de1;
  font-weight: 600;
  margin-bottom: 10px;
}

.doctor-description {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* =========================
   MILESTONES SECTION
========================= */
.hk-milestones {
  background: linear-gradient(135deg, #f7f7f7, #ffffff);
  padding: 80px 20px;
  font-family: 'Montserrat', sans-serif;
  color: #222;
}

.hk-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Header */
.hk-section-header h1 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: #770000; 
  margin-bottom: 10px;
}

.hk-section-header p {
  font-size: 1.2rem;
  text-align: center;
  color: #333;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

/* Achievements Grid */
.hk-achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.hk-achievement-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.hk-achievement-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.hk-achievement-card h3 {
  color: #770000; /* Changed heading color */
  margin-bottom: 10px;
}

.hk-achievement-card p {
  color: #555;
  font-size: 0.95rem;
}

.hk-achievement-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}

/* Awards Grid */
/* Awards Grid */
.hk-awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 30px;
}

.hk-award-card {
  background: #fff; /* clean card, no frames */
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hk-award-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.hk-award-image {
  width: 100%;       /* full card width */
  height: 400px;     /* big image */
  overflow: hidden;
  border-radius: 12px; /* rounded corners */
  position: relative;
  margin-bottom: 20px;
}

.hk-award-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* Burgundy overlay on award image */
.hk-award-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(119,0,0,0.25);
  border-radius: 12px;
  pointer-events: none;
  transition: background 0.3s ease;
}

.hk-award-card:hover .hk-award-image::before {
  background: rgba(119,0,0,0.15);
}

.hk-award-card:hover .hk-award-image img {
  transform: scale(1.05);
}

.hk-award-card h3 {
  color: #770000;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.hk-award-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
}

/* Service Section */
.hk-service {
  text-align: center;
  margin: 60px 0;
}

.hk-service h2 {
  font-size: 2.5rem;
  color: #770000; /* Burgundy headings */
  margin-bottom: 20px;
}

.hk-service p {
  font-size: 1.1rem;
  color: #555;
  max-width: 900px;
  margin: 0 auto;
}

/* Statistics Grid */
.hk-stats-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.hk-stat-card {
  background: linear-gradient(135deg, #770000, #aa0000); /* Gradient in burgundy shades */
  color: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  min-width: 200px;
  transition: transform 0.3s ease;
}

.hk-stat-card h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hk-stat-card p {
  font-size: 1rem;
}

.hk-stat-card:hover {
  transform: scale(1.05);
}


/* =========================
   ROUTINE PAGE
========================= */
.pk-section-header {
  text-align: center;
  margin: 60px 0 40px;
}

.pk-section-header h1 {
  font-size: 2rem;
  color: #770000;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
}

.pk-section-header h1::after {
  content: "";
  width: 80px;
  height: 2px;
  background: #6c7718;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Section Layout */
.reception-process, .cash-process, .triage-process, .consultation-process, .lab-process, .pharmacy-process, .ward-process, .dialysis-process, .consultant-process{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 50px;
  background: #ffffff;
  border-radius: 16px;
  margin: 40px auto;
  max-width: 1100px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.reception-process:hover {
  transform: translateY(-5px);
}



/* Text */
.reception-text {
  flex: 1;
}

.reception-text h1 {
  font-size: 1.5rem;
  color: #770000;
  margin-bottom: 15px;
}

.reception-text p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 15px;
}

.reception-text ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.reception-text ul li {
  margin-bottom: 10px;
  color: #222;
}

.reception-text ul li::marker {
  color: #770000;
}

/* Button */
.-btn {
  background: #770000;
  color: #ffffff;
  font-weight: 600;
  border: none;
  padding: 12px 26px;
  border-radius: 30px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(119, 0, 0, 0.3);
}

.-btn:hover {
  background: #550000;
  transform: translateY(-2px);
}

/* Image */
.reception-image {
  flex: 1;
  text-align: center;
}

.reception-image img {
  width: 100%;
  width: 400px;
  height: 250px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Alternating Layout */
.reception-process:nth-child(even), .triage-process:nth-child(even), .lab-process:nth-child(even), .ward-process:nth-child(even), .consultant-process:nth-child(even) {
  flex-direction: row-reverse;
}


insurance-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }

  .insurance-wrapper {
    max-width: 1200px;
    margin: 0 auto;
  }

  .insurance-header {
    text-align: center;
    margin-bottom: 60px;
  }

  .insurance-title {
    font-size: 2.5rem;
    color: #770000;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
  }

  .insurance-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
  }

  .insurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }

  .insurance-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.35s ease;
    position: relative;
  }

  .insurance-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: #770000;
  }

  .insurance-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  }

  .insurance-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
  }

  .insurance-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }

  .insurance-card:hover img {
    transform: scale(1.08);
  }

  .insurance-content {
    padding: 25px;
  }

  .insurance-content h3 {
    font-size: 1.3rem;
    color: #770000;
    margin-bottom: 10px;
    font-weight: 600;
  }

  .insurance-content p {
    font-size: 0.98rem;
    color: #555;
    line-height: 1.7;
  }

  /* Subtle divider line */
  .insurance-content::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: #770000;
    margin-top: 15px;
    opacity: 0.2;
  }

/* =========================
   SURGERY PAGE
========================= */
  .service-section {
    padding: 60px 8%;
}

/* WRAPPER */
.service-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
}

/* HEADER INSIDE FIRST SECTION */
.service-wrapper h1 {
    position: absolute;
    top: -40px;
    left: 0;
    font-size: 28px;
    color: #770000;
}

.service-wrapper p:first-of-type {
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 14px;
    color: #777;
}

/* TEXT SIDE */
.service-text {
    flex: 1;
}

.service-text h2 {
    font-size: 28px;
    color: #770000;
    margin-bottom: 15px;
}

.service-text h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #222;
}

.service-text p {
    margin-bottom: 15px;
    color: #555;
    
}

.service-text p:first-of-type {
  font-size: 17px;       /* adjust text size */
  line-height: 1.8;      /* more spacing between lines */
  color: #555;           /* softer gray tone */
  font-style: italic;    /* optional emphasis */
  margin-bottom: 20px;   /* space below */
  border-left: 4px solid #d32f2f; /* decorative accent */
  padding-left: 10px;
}

.service-text ul {
    padding-left: 20px;
}

.service-text ul li {
    margin-bottom: 8px;
    position: relative;
}




/* CUSTOM BULLET */
.service-text ul li::marker {
    color: #770000;
}

/* IMAGE SIDE */
.service-image {
    flex: 1;
}

.service-image img {
    width: 100%;
    height: 300px;
    border-radius: 14px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* IMAGE HOVER EFFECT */
.service-image img:hover {
    transform: scale(1.05);
}

/* ALTERNATING LAYOUT */
.service-section:nth-child(even) .service-wrapper {
    flex-direction: row-reverse;
}


/* =========================
   DIALYSIS PAGE 
========================= */

.dialysis-area {
    padding: 80px 8%;
    max-width: 1400px;
    margin: auto;
}

/* INTRO */
.dialysis-intro {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px;
}

.dialysis-intro h2 {
    font-size: 36px;
    color: #770000;
    margin-bottom: 15px;
    font-weight: 700;
}

.dialysis-intro p {
    color: #666;
    line-height: 1.7;
}

/* ROW */
.ward-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 70px;
    padding: 35px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.ward-row:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

/* REVERSE */
.reverse-layout {
    flex-direction: row-reverse;
}

/* IMAGE */
.ward-image {
    flex: 1;
    position: relative;
}

.ward-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 16px;
    transition: 0.5s ease;
}

.ward-row:hover img {
    transform: scale(1.05);
}

/* BORDER ACCENT */
.ward-image::after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    border: 2px solid #770000;
    opacity: 0.15;
}

/* TEXT */
.ward-content {
    flex: 1;
}

.ward-content h3 {
    font-size: 24px;
    color: #770000;
    margin-bottom: 10px;
}

.ward-content p {
    color: #555;
    margin-bottom: 15px;
}

/* LIST */
.ward-content ul {
    list-style: none;
}

.ward-content ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

/* CUSTOM ICON */
.ward-content ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #770000;
}


/* Overlay */
.modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

/* Active state */
.modal.show {
  opacity: 1;
  visibility: visible;
}

/* Modal box animation */
.modal-content {
  background: #fff;
  width: 90%;
  max-width: 600px;
  border-radius: 10px;
  padding: 20px;

  /* Animate in */
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.3s ease;

  /* 🔹 NEW: constrain height */
  max-height: 90vh; /* max 90% of viewport height */
  display: flex;
  flex-direction: column;
}

/* Animate in */
.modal.show .modal-content {
  transform: translateY(0);
  opacity: 1;
}

/* Close button */
.close-btn {
  font-size: 28px; /* bigger for mobile */
  padding: 10px;
  cursor: pointer;
  position: absolute; /* fixed over modal content */
  top: 10px;
  right: 10px;
  z-index: 1001;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
}

/* Navigation buttons */
.modal-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.modal-nav button {
  padding: 8px 14px;
  border: none;
  background: #770000;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.modal-nav button:hover {
  background: #5c0101;
}

.modal h2{
  color: var(--color-dark-red);
}

.modal-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;

  /* Smooth transition for zoom */
  transition: transform 0.5s ease;
}

/* Hover effect: zoom in */
.modal-image:hover {
  transform: scale(1.1);
}

/* Make content scrollable */
.modal-scroll {
  overflow-y: auto;
  margin-top: 15px;

  /* 🔹 NEW: fill remaining height */
  flex: 1 1 auto;
}

/* Optional custom scrollbar */
.modal-scroll::-webkit-scrollbar {
  width: 8px;
}

.modal-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(0, 123, 255, 0.5);
  border-radius: 4px;
}

.modal-scroll::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.05);
}

.modal-nav button {
  padding: 12px 20px; /* bigger tap area */
  font-size: 16px;
}

.diagnostics {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background: #f9fbfc;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.diagnostics h2 {
    font-size: 28px;
    color: #770000;
    margin-bottom: 15px;
    text-align: center;
}

.diagnostics p {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    text-align: justify;
}

.diagnostics p:last-child {
    margin-bottom: 0;
}



/* Container */
.patient-form-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: #f9fbfc;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    font-family: Arial, sans-serif;
}

/* Title */
.patient-form-heading {
    text-align: center;
    font-size: 26px;
    color: #770000;
    margin-bottom: 10px;
}

/* Disclaimer */
.patient-form-note {
    text-align: center;
    font-size: 14px;
    color: #555;
    margin-bottom: 25px;
}

/* Form Layout */
.patient-form {
    width: 100%;
}

/* Rows */
.patient-row {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    margin-bottom: 30px;
}

/* Fields */
.patient-field {
    flex: 1 1 200px;
    position: relative;
}

/* Inputs & Select */
.patient-field input,
.patient-field select {
    width: 100%;
    padding: 14px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    outline: none;
    transition: 0.3s ease;
}

/* Focus Effect */
.patient-field input:focus,
.patient-field select:focus {
    border-color: #00a8a8;
    box-shadow: 0 0 0 2px rgba(0, 168, 168, 0.1);
}

/* Floating Label */
.float-label label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #f9fbfc;
    padding: 0 5px;
    font-size: 14px;
    color: #777;
    pointer-events: none;
    transition: 0.3s ease;
}

/* Move label up when typing */
.float-label input:focus + label,
.float-label input:not(:placeholder-shown) + label,
.float-label select:focus + label,
.float-label select:valid + label {
    top: -8px;
    font-size: 12px;
    color: #00a8a8;
}

/* Improve select appearance */
.patient-field select {
    appearance: none;
    cursor: pointer;
}


.plan-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.plan-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.plan-tests {
  padding-left: 18px;
  margin-bottom: 15px;
}

.plan-cost {
  font-weight: bold;
  color: var(--color-dark-red);
  font-size: 1.2rem;
}

/* GRID LAYOUT */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  padding: 40px;
}

/* CARD */
.plan-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

/* HEADER */
.plan-card-header {
  background: linear-gradient(135deg, #770000, #0c9);
  color: white;
  padding: 20px;
  border-radius: 12px;
}

.plan-card-header h3 {
  margin: 0;
  font-size: 1.3rem;
}

/* BODY */
.plan-card-body {
  padding: 20px;
  flex: 1;
}

.plan-card-body ul {
  padding-left: 18px;
  margin: 0;
}

.plan-card-body li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #444;
  position: relative;
}

/* subtle bullet upgrade */
.plan-card-body li::marker {
  color: #770000;
}

/* FOOTER */
.plan-card-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* PRICE */
.price {
  font-size: 1.4rem;
  font-weight: bold;
  color: #0a7;
}

/* BUTTON */
.btn {
  background: #770000;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: 0.3s ease;
}

.btn:hover {
  background: #310202;
}


.reviews-wrapper {
  overflow: hidden;
  cursor: grab;
}

.reviews-wrapper:active {
  cursor: grabbing;
}

.reviews-track {
  display: flex;
  transition: transform 0.3s ease;
  user-select: none;
  scroll-behavior: smooth;
}

/* Job Listings Section */
.available-jobs {
  padding: 2rem;
  background-color: #fff8f8; /* soft light background to make red pop */
}

.jobs-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.job-card {
  border: 2px solid #770000;
  border-radius: 8px;
  padding: 1.5rem;
  background-color: #ffe6e6; /* soft red/pink background */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.job-card h3 {
  margin-top: 0;
  color: #770000;
  font-size: 1.5rem;
}

.job-card p {
  margin: 0.3rem 0;
  color: #330000; /* darker shade for text */
}

.apply-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: #770000;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.2s ease;
}

.apply-button:hover {
  background-color: #550000;
}

/* General section container */
.coverage, .steps, .faq {
  padding: 1.5rem 1.8rem;
  margin: 1.5rem auto;
  max-width: 800px;
  background-color: #fff8f8; /* light background for contrast */
  border: 1.5px solid #770000;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  font-family: 'Segoe UI', sans-serif;
}

/* Section headings */
.coverage h2,
.steps h2,
.faq h2 {
  color: #770000;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid #770000;
  padding-bottom: 0.3rem;
  font-weight: 600;
}

/* Lists (Coverage & Steps) */
.coverage ul,
.steps ol {
  padding-left: 1.2rem;
  margin: 0;
}

.coverage ul li,
.steps ol li {
  margin: 0.4rem 0;
  color: #330000;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* FAQ */
.faq details {
  margin: 0.8rem 0;
  padding: 0.6rem 0.9rem;
  border: 1px solid #770000;
  border-radius: 6px;
  background-color: #fff0f0;
  transition: background-color 0.2s ease;
}

.faq details[open] {
  background-color: #ffe6e6;
}

.faq summary {
  font-weight: 500;
  color: #770000;
  cursor: pointer;
  font-size: 1rem;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin: 0.4rem 0 0 0;
  color: #330000;
  font-size: 0.92rem;
  line-height: 1.4;
}

/* Smart job cards adjustment (optional) */
.job-card {
  padding: 1rem;
  border-radius: 6px;
  background-color: #fff0f0;
  border: 1.5px solid #770000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.job-card h3 {
  font-size: 1.2rem;
}

.job-card p {
  font-size: 0.92rem;
  margin: 0.25rem 0;
}

.apply-button {
  padding: 0.4rem 0.9rem;
  font-size: 0.95rem;
}

/* ========================= */
/* GENERAL SECTION STYLING */
/* ========================= */

.special-section {
  max-width: 900px;
  margin: 40px auto; /* centers horizontally */
  padding: 20px;
}

/* Center headings nicely */
.special-section h2 {
  text-align: center;
  color: var(--color-dark-red);
}

.special-section p{
  text-align: center;
  color: #444;
}


/* ========================= */
/* FAQ CONTAINER */
/* ========================= */
.faqs {
  width: 100%;
  margin: 0 auto;
  text-align: left; /* keep questions readable */
  color: var(--color-olive-green);
}

/* ========================= */
/* FAQ ITEM */
/* ========================= */
.faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

/* ========================= */
/* QUESTION BUTTON */
/* ========================= */
.faq-question {
  width: 100%;
  background: #fff;
  border: none;
  outline: none;
  padding: 15px 10px;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  color:var(--color-dark-red);

  display: flex;
  justify-content: space-between;
  align-items: center;

  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f9f2f2;
}

/* Active state (optional if you later add class toggle) */
.faq-question.active {
  color: #770000;
  font-weight: 600;
}

/* ========================= */
/* ARROW */
/* ========================= */
.arrow {
  font-size: 18px;
  color: #770000;
  transition: transform 0.3s ease;
}

/* ========================= */
/* ANSWER */
/* ========================= */
.faq-answer {
  padding: 0 10px 15px 10px;
  color: #444;
  line-height: 1.6;
  text-align: left;
}

/* ========================= */
/* BUTTON */
/* ========================= */
section button {
  margin-top: 20px;
  padding: 12px 20px;
  border: none;
  background: #770000;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  border-radius: 40px;
  transition: background 0.3s ease;
}

section button:hover {
  background: #550000;
}

/* SECTION */
.fnh-kidney-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, rgb(2, 19, 59), #0f0f0f);
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
}

/* WRAPPER */
.fnh-kidney-wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* TEXT */
.fnh-kidney-text {
  flex: 1;
  min-width: 300px;
}

.fnh-kidney-text h2 {
  font-size: 2.5rem;
  margin: 15px 0;
  font-weight: 700;
}

.fnh-kidney-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.9;
}

/* BADGE */
.fnh-kidney-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* BUTTON GROUP */
.fnh-kidney-actions {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* BUTTON BASE */
.fnh-btn {
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

/* PRIMARY */
.fnh-btn-primary {
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #000;
}

.fnh-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(250, 204, 21, 0.4);
}

/* SECONDARY */
.fnh-btn-secondary {
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
}

.fnh-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* CARD */
.fnh-kidney-card {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.fnh-kidney-card-inner {
  width: 100%;
  max-width: 350px;
  padding: 30px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  text-align: center;
}

/* TITLE */
.fnh-kidney-card-inner h3 {
  margin-bottom: 20px;
  font-size: 1.4rem;
}

/* DONATION BOX */
.fnh-donation-box {
  background: rgba(255,255,255,0.05);
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.fnh-donation-box p {
  margin: 0;
  font-size: 0.95rem;
}

.fnh-donation-box span {
  font-weight: bold;
  font-size: 1rem;
}

/* FULL BUTTON */
.fnh-btn-full {
  display: block;
  margin-top: 20px;
  background: #22c55e;
  color: #fff;
  padding: 14px;
}

.fnh-btn-full:hover {
  background: #16a34a;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .fnh-kidney-text h2 {
    font-size: 2rem;
  }

  .fnh-kidney-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .fnh-kidney-actions {
    justify-content: center;
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .nav-links {
    gap: 15px;
  }
  .appointment-hours {
    flex-direction: column;
    padding: 2rem 3%;
  }

  .appointment-info, .right {
    flex: 1 1 100%;
  }

  .right {
    margin-top: 2rem;
    align-items: stretch;
  }
  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-links > a,
  .nav-item,
  .cta,
  .search-icon {
    display: none;
  }

   .dialysis-intro h2 {
        font-size: 28px;
    }

    .ward-content h3 {
        font-size: 20px;
    }
     .ward-row {
        flex-direction: column !important;
        gap: 25px;
    }

    .ward-image img {
        height: 250px;
    }
    .modal-nav button {
    width: 48%;
    font-size: 14px;
  }
  .patient-row {
        flex-direction: column;
    }

  .hamburger {
    display: block;
  }
  .appointment {
    background: none !important;
    color: #fff !important;
    padding: 10px 0;
    font-weight: 600;
  }

  .appointment:hover {
    opacity: 0.8;
  }
  .insurance-title {
      font-size: 2rem;
    }

  .application-form-box {
    padding: 25px;
  }
  .doctors-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    flex-direction: column;
  }

  .hero {
    height: 90vh;
  }

  .service-wrapper {
        flex-direction: column !important;
        padding: 25px;
    }

    .service-wrapper h1,
    .service-wrapper p:first-of-type {
        position: static;
        margin-bottom: 10px;
    }

    .service-text h2 {
        font-size: 24px;
    }

/* ROUTINE */
  .reception-process, .cash-process, .triage-process, .consultation-process, .lab-process, .pharmacy-process, .ward-process, .dialysis-process, .consultant-process {
    flex-direction: column;
    padding: 30px 20px;
  }

  /* Keep even sections stacked the same way */
  .reception-process:nth-child(even), .cash-process:nth-child(even), .triage-process:nth-child(even), .consultation-process:nth-child(even), .lab-process:nth-child(even), .pharmacy-process:nth-child(even), .ward-process:nth-child(even), .dialysis-process:nth-child(even), .consultant-process:nth-child(even) {
    flex-direction: column;
  }

  /* Section Header adjustment */
  .pk-section-header h1 {
    font-size: 1.5rem;
  }

  /* Move image before the button */
  .reception-image {
    order: 0; /* appears first */
    margin-bottom: 20px;
  }

  .reception-text {
    order: 1; /* comes after image */
  }

  .reception-text a {
    order: 2; /* button appears after text but after image visually */
    display: block;
    margin-top: 15px;
  }

  .admission-section, .laboratory-section, .icu-section, .theater-section, .pharmacy-section, .dialysis-section, .laboratory-section .icu-section{
    flex-direction:column-reverse; /* Moves image to top */
    text-align:left;
    gap:40px;
  }

  .admission-text, .pharmacy-text, .dialysis-text, .theater-text, .laboratory-text, .icu-text{
    width:100%;
  }

  .admission-text p, .pharmacy-text p, .dialysis-text p, .theater-text p, .laboratory-text p, .icu-text p{
    text-align:justify; /* Justified text */
    margin:0 0 20px 0;
  }

  .admission-image img, .pharmacy-image img, .dialysis-image img, .theater-image img,.laboratory-image img, .icu-image img{
    height:300px;
    width:100%;
  }

  .hero-overlay {
    padding: 0 6%;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start; /* 👈 keeps buttons aligned with text */
    gap: 20px;
  }

  .btn.primary,
  .btn.secondary {
    display: inline-block; /* 👈 prevents full width stretch */
    width: auto;           /* 👈 ensures natural width */
    padding: 10px 22px;
    font-size: 12px;
  }

  .panels-wrapper {
    grid-template-columns: 1fr; /* Stack panels vertically */
  }

  .container {
    flex-direction: column;
    text-align: center;
  }

  .left-section p {
    margin: 0 auto 30px;
  }

  .review-card {
    flex: 0 0 95%; /* 1 card mobile */
  }

  .split-screen {
    flex-direction: column;
  }

  .left-panel,
  .right-panel {
    padding: 60px 8%;
  }

  .split-screen h2 {
    font-size: 24px;
  }

  .footer-container {
    padding: 60px 6%;
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .footer-column h3 {
    font-size: 15px;
  }

  .contact-hero, .services-hero, .about-hero, .news-hero, .career-hero, .milestones-hero, .appointment-hero, .facilities-hero, .dialysis-hero, .registration-hero, .routine-hero, .surgery-hero, .partnership-hero, .insurance-hero, .diagnostics-hero, .team-hero {
  height: 25vh;              
}

.our-story {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 80px 6%;
  }

  .story-image {
    order: -1;
  }

  .story-text figure {
    display: block;
  }

  /* Hide duplicate second image from right column on mobile */
  .story-image figure:nth-child(2) {
    display: none;
  }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.believes {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 80px 6%;
  }
  .hours-list h4 {
  font-size: 23px;
  }

  .hours-list p {
    font-size: 18px;
  }

  .core-values {
    grid-template-columns: 1fr;
  }
  .milestones {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 90px 6%;
  }

  .milestones-image {
    order: -1;
  }

  .careers-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .careers-content {
    max-width: 100%;
  }

  .careers-title {
    font-size: 1.7rem;
  }

 
  .form-row {
    grid-template-columns: 1fr;
  }

   .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

   .application-wrapper, .appointment-wrapper{
        flex-direction: column; /* stack vertically */
    }
    

    /* Ensure correct order */
    .application-info {
        order: 1;
    }

    .patient-form-container {
        order: 2;
        
    }
       /* Reduce spacing between rows */
    .patient-row {
        gap: 12px;              /* reduce horizontal gap */
        margin-bottom: 18px;    /* reduce vertical spacing */
    }

    /* Make each field full width */
    .patient-field {
        flex: 1 1 100%;
        min-width: 100%;
    }

    /* Reduce input padding (they’re too tall on mobile) */
    .patient-field input,
    .patient-field select {
        padding: 14px 12px;
        font-size: 14px;
    }

    /* Reduce label spacing when floating */
    .float-label label {
        font-size: 13px;
    }

    /* Reduce section spacing */
    .patient-form-container {
        padding: 20px;
    }

    /* Reduce space between form title and content */
    .patient-form-heading {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .patient-form-note {
        margin-bottom: 18px;
    }

    
  .form-stage-container{
    width:200%;
  }

  .name-row{
    flex-direction:column;
  }

  .contact-panel{
    margin-top:40px;
  }

  .contact-left,
  .contact-right {
    text-align: center;
    padding: 30px 20px;
  }

  .contact-left p {
    margin-left: auto;
    margin-right: auto;
  }

  /* center list items */
  .contact-list li {
    justify-content: center;
    flex-wrap: wrap;
    
  }

  /* address + hours */
  .address {
    justify-content: center;
    
    flex-wrap: wrap;
  }

  /* social icons centered */
  .media.icons {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* center button */
  .appointment-btn {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
  }

  /* map */
  .contact-map iframe {
    height: 240px;
  }

    .consult-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .consult-features {
    grid-template-columns: 1fr;
  }

  .consult-feature {
    justify-content: flex-start;
  }

  .form-row {
    flex-direction: column;
  }

  .form-card {
    padding: 30px 25px;
  }

  /* keep all text left-aligned for readability */
  .consult-intro,
  .consult-info,
  .consult-form-area {
    text-align: left;
  }

}

@media (min-width: 901px) {
  .menu-text {
    display: none;
  }
  .hamburger {
    display: none;
  }
  .consultation-services .service:nth-child(odd) {
    transform: translateY(-60px);
  }

  .consultation-services .service:nth-child(even) {
    transform: translateY(60px);
  }

}
