/* ==========================================================================
   MyMedTour — Medical Tourism Website
   Global Stylesheet
   ========================================================================== */

/* Tailwind CSS CDN */
@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');
/* Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* --------------------------------------------------------------------------
   Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Primary palette — Mellow Flow / Slow Swing scheme */
  --primary-700: #32465A;
  --primary-500: #5E7891;
  --primary-400: #8CA3B5;

  /* Bright accents for buttons, icons & stats */
  --accent-600: #3E7CB1;
  --accent-500: #4E96D2;
  --accent-400: #6FAFDE;

  /* Backgrounds */
  --bg-light: #EFECE1;
  --bg-white: #F9F7F1;
  --bg-dark: #263341;

  /* Text */
  --text-dark: #2B3A4A;
  --text-muted: #6E7783;
  --text-light: #FFFFFF;

  /* Functional */
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;

  /* Misc */
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 10px 30px rgba(43, 58, 74, 0.08);
  --shadow-hover: 0 18px 45px rgba(50, 70, 90, 0.18);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.35, 1);
  --header-height: 76px;

  /* Typography */
  --font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --heading-size: 40px;
  --subheading-size: 22px;
  --body-size: 16px;
}

/* --------------------------------------------------------------------------
   Base / Reset
   -------------------------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-family);
  font-size: var(--body-size);
  font-weight: 400;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; transition: var(--transition); }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-dark);
}

h1 { font-size: clamp(32px, 5vw, var(--heading-size)); }
h2 { font-size: clamp(26px, 4vw, 34px); }
h3 { font-size: var(--subheading-size); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

.accent { color: var(--accent-500); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  border: none;
  background: linear-gradient(135deg, var(--accent-600), var(--accent-400));
  color: var(--text-light);
  box-shadow: 0 8px 20px rgba(38, 51, 65, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(38, 51, 65, 0.45);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  transform: translateY(-3px);
}

.btn-outline-dark {
  border-color: var(--primary-500);
  color: var(--accent-600);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--accent-500);
  color: #fff;
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   Header / Navigation (Glassmorphism)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(249, 247, 241, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(50, 70, 90, 0.08);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(249, 247, 241, 0.95);
  box-shadow: 0 4px 20px rgba(43, 58, 74, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-600), var(--accent-400));
  color: #fff;
  font-size: 22px;
  box-shadow: 0 6px 16px rgba(78, 150, 210, 0.35);
}

.brand-mark { height: 44px; width: auto; display: block; }

/* ---- Specialty detail: overview & notable cases ---- */
.ov-text { max-width: 880px; margin: 0 auto 16px; color: var(--text-muted); font-size: 16px; }
.ov-text:last-child { margin-bottom: 0; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card {
  background: var(--bg-white); border: 1px solid rgba(43, 58, 74, 0.06); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-soft); transition: var(--transition);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.case-medal {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: #fff; background: linear-gradient(135deg, #D9A441, #F2B95F); margin-bottom: 16px;
}
.case-card h3 { font-size: 16.5px; line-height: 1.55; margin-bottom: 10px; }
.case-desc { font-size: 13.5px; color: var(--text-muted); margin-bottom: 14px; }
.case-hosp { font-size: 13.5px; color: var(--text-dark); font-weight: 500; display: flex; align-items: center; gap: 8px;
  border-top: 1px solid rgba(43, 58, 74, 0.08); padding-top: 14px; }
.case-hosp::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-500); flex-shrink: 0; }
@media (max-width: 1023px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .case-grid { grid-template-columns: 1fr; } }

/* ---- Gold stats numbers & pop icons ---- */
.stats-card .stat-item .stat-number { background: linear-gradient(135deg, var(--primary-500), var(--primary-700)); -webkit-background-clip: text; background-clip: text; }

.brand-name { font-size: 24px; font-weight: 700; letter-spacing: 0.2px; white-space: nowrap; }

.brand-name .t-green { color: #8CC63E; }
.brand-name .t-blue { color: #1B75BC; }

.main-nav { display: flex; align-items: center; flex: 1; justify-content: center; margin-left: 24px; }

.nav-list { display: flex; align-items: center; flex: 1; justify-content: space-evenly; gap: 0; max-width: 860px; margin: 0 auto; }

.nav-list > li { display: flex; align-items: center; }

.nav-item.has-dropdown > .nav-link { display: inline-flex; align-items: center; }

.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-600), var(--accent-400));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover, .nav-link.active { color: var(--accent-600); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-cta { padding: 10px 22px; font-size: 14px; }

/* Dropdown submenus */
.nav-item.has-dropdown { position: relative; }

.nav-item .caret {
  width: 14px;
  height: 14px;
  margin-left: 3px;
  vertical-align: -2px;
  transition: transform 0.25s ease;
}

.nav-item.has-dropdown:hover .caret,
.nav-item.has-dropdown.open .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  padding: 8px;
  background: var(--bg-white);
  border: 1px solid rgba(43, 58, 74, 0.06);
  border-radius: 14px;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 60;
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 24px;
  width: 12px;
  height: 12px;
  background: var(--bg-white);
  border-left: 1px solid rgba(43, 58, 74, 0.06);
  border-top: 1px solid rgba(43, 58, 74, 0.06);
  transform: rotate(45deg);
}

.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

.dropdown li a:hover {
  background: rgba(78, 150, 210, 0.08);
  color: var(--accent-600);
  padding-left: 18px;
}

.dropdown li a.dd-overview {
  color: var(--accent-600);
  font-weight: 600;
  border-bottom: 1px solid rgba(43, 58, 74, 0.06);
  border-radius: 9px 9px 0 0;
  margin-bottom: 4px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: rgba(50, 70, 90, 0.08);
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--accent-600);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero (Home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 60px) 0 80px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(140, 163, 181, 0.25), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(50, 70, 90, 0.35), transparent 55%),
    linear-gradient(160deg, #263341 0%, #33455C 55%, #46617A 130%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  margin-bottom: 22px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.4px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.08); }
}

.hero h1 {
  color: #fff;
  margin-bottom: 22px;
}

.hero h1 .gradient-text {
  background: linear-gradient(90deg, #F5DE8C, #D9A441);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 28px; }

.hero-trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.8); }

.hero-trust-item svg { color: var(--accent-400); flex-shrink: 0; }

/* Hero visual card */
.hero-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-visual img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }


/* --------------------------------------------------------------------------
   Page Banner (inner pages)
   -------------------------------------------------------------------------- */
.page-banner {
  padding: calc(var(--header-height) + 70px) 0 64px;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(140, 163, 181, 0.28), transparent 50%),
    linear-gradient(160deg, #263341 0%, #46617A 140%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.banner-watermark {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  opacity: 0.14;
  pointer-events: none;
  line-height: 0;
  user-select: none;
}

@media (max-width: 767px) {
  .banner-watermark { right: -50px; opacity: 0.09; }
  .banner-watermark svg { width: 220px; height: 220px; }
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.page-banner .container { position: relative; }

.page-banner h1 { color: #fff; margin-bottom: 12px; }

.page-banner p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0 auto;
  font-weight: 300;
}

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }

.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-500);
  margin-bottom: 12px;
}

.section-head p { color: var(--text-muted); margin-top: 14px; }

/* --------------------------------------------------------------------------
   Stats Bar
   -------------------------------------------------------------------------- */
.stats-section { padding: 0; margin-top: -60px; position: relative; z-index: 5; }

.stats-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
}

.stat-item {
  padding: 36px 20px;
  text-align: center;
  border-right: 1px solid rgba(43, 58, 74, 0.06);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 38px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label { font-size: 14px; color: var(--text-muted); font-weight: 500; }

/* --------------------------------------------------------------------------
   Card Grids (Specialties / Treatment / Hospitals / News)
   -------------------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.bg-white-section { background: var(--bg-white); }

/* Specialty card */
.spec-card {
  background: var(--bg-white);
  border: 1px solid rgba(43, 58, 74, 0.06);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.spec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #D9A441, #F2B95F);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.spec-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.spec-card:hover::before { transform: scaleX(1); }

.spec-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(78, 150, 210, 0.14), rgba(111, 175, 222, 0.18));
  color: var(--accent-600);
  margin-bottom: 22px;
  transition: var(--transition);
}

.spec-card:hover .spec-icon {
  background: linear-gradient(135deg, #D9A441, #F2B95F);
  color: #fff;
  transform: scale(1.06) rotate(-3deg);
}

.spec-card h3 { margin-bottom: 10px; font-size: 20px; }

.spec-card p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 18px; }

.spec-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-600);
}

.spec-link svg { transition: transform 0.3s ease; }
.spec-card:hover .spec-link svg { transform: translateX(4px); }

/* Treatment card */
.treat-card {
  background: var(--bg-white);
  border: 1px solid rgba(43, 58, 74, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.treat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

.treat-card .treat-img { position: relative; overflow: hidden; }

.treat-card .treat-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.treat-card:hover .treat-img img { transform: scale(1.06); }

.treat-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(43, 58, 74, 0.75);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.treat-soon {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 50px;
  background: #F2A93B;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.fr-soon-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  background: #F2A93B;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.soon-panel {
  max-width: 760px; margin: 0 auto; text-align: center;
  background: var(--bg-white); border: 1px dashed rgba(78, 150, 210, 0.5);
  border-radius: var(--radius-lg); padding: 44px 36px; box-shadow: var(--shadow-soft);
}
.soon-panel h2 { margin-bottom: 12px; }
.soon-panel p { color: var(--text-muted); margin-bottom: 24px; }

/* ---- Price comparison table ---- */
.price-table-wrap { overflow-x: auto; border: 1px solid rgba(43, 58, 74, 0.08); border-radius: var(--radius-md); }
.price-table { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--bg-white); }
.price-table th, .price-table td { padding: 15px 20px; text-align: left; font-size: 14.5px;
  border-bottom: 1px solid rgba(43, 58, 74, 0.08); }
.price-table thead th { background: var(--bg-dark); color: #fff; font-weight: 600; white-space: nowrap; }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover { background: rgba(78, 150, 210, 0.06); }
.price-table th.hl-col { background: rgba(217, 164, 65, 0.3); color: #6b4e0e; }
.price-table td.hl { background: rgba(217, 164, 65, 0.14); color: #8a6516; font-weight: 600; }
.table-note { font-size: 12.5px; color: var(--text-muted); margin-top: 16px; }

/* ---- Checkup plan cards ---- */
.plan-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 20px; }
.plan-card {
  display: flex; flex-direction: column;
  background: var(--bg-white); border: 1px solid rgba(43, 58, 74, 0.06); border-radius: var(--radius-lg);
  padding: 26px 20px; box-shadow: var(--shadow-soft); transition: var(--transition);
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.plan-card h3 { font-size: 18px; margin-bottom: 8px; }
.plan-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.plan-items { display: grid; gap: 9px; margin-bottom: 22px; }
.plan-items li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--text-muted); }
.plan-items li svg { flex-shrink: 0; margin-top: 3px; color: var(--accent-500); }
.plan-price {
  margin-top: auto; text-align: center; padding: 10px 16px; border-radius: 50px;
  background: linear-gradient(135deg, #D9A441, #F5DE8C); color: #263341;
  font-size: 14px; font-weight: 600;
}
@media (max-width: 1023px) { .plan-grid { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .plan-grid { grid-template-columns: 1fr; } }

.treat-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }

.treat-body h3 { margin-bottom: 10px; font-size: 20px; }

.treat-body p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 20px; flex: 1; }

/* Hospital card */
.hospital-card {
  background: var(--bg-white);
  border: 1px solid rgba(43, 58, 74, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.hospital-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

.hospital-card .hosp-img { position: relative; overflow: hidden; }

.hospital-card .hosp-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hospital-card:hover .hosp-img img { transform: scale(1.05); }

.hosp-rating {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 600;
  color: var(--warning);
}

.hosp-body { padding: 24px; }

.hosp-body h3 { font-size: 19px; margin-bottom: 6px; }

.hosp-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.hosp-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.hosp-tag {
  padding: 5px 12px;
  border-radius: 50px;
  background: rgba(78, 150, 210, 0.08);
  color: var(--accent-600);
  font-size: 12px;
  font-weight: 500;
}

/* News card */
.news-card {
  background: var(--bg-white);
  border: 1px solid rgba(43, 58, 74, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

.news-card .news-img { overflow: hidden; }

.news-card .news-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-img img { transform: scale(1.06); }

.news-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.news-category {
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(78, 150, 210, 0.1);
  color: var(--accent-600);
  font-size: 12px;
  font-weight: 600;
}

.news-body h3 { font-size: 18.5px; margin-bottom: 10px; line-height: 1.45; }

.news-body p { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; flex: 1; }

/* --------------------------------------------------------------------------
   Alternating Feature Rows (Treatment page)
   -------------------------------------------------------------------------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.feature-row + .feature-row { margin-top: 80px; }

.feature-row.reverse .fr-media { order: 2; }

.fr-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.fr-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.fr-content .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-500);
  margin-bottom: 12px;
}

.fr-content h2 { margin-bottom: 16px; }

.fr-content > p { color: var(--text-muted); margin-bottom: 24px; }

.fr-list { display: grid; gap: 14px; margin-bottom: 28px; }

.fr-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-dark);
}

.fr-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--success); }

/* Process steps */
.steps-section { background: linear-gradient(160deg, #263341, #33455C); color: #fff; }

.steps-section .section-head h2 { color: #fff; }
.steps-section .section-head .eyebrow { color: var(--accent-400); }
.steps-section .section-head p { color: rgba(255, 255, 255, 0.7); }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

.step-item { position: relative; text-align: center; padding: 0 12px; }

.step-number {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-600), var(--accent-400));
  box-shadow: 0 0 0 8px rgba(140, 163, 181, 0.12);
}

.step-item h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }

.step-item p { font-size: 14px; color: rgba(255, 255, 255, 0.7); }

/* --------------------------------------------------------------------------
   CTA Banner
   -------------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(ellipse at 15% 85%, rgba(140, 163, 181, 0.35), transparent 55%),
    linear-gradient(135deg, #263341 0%, #46617A 130%);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.cta-banner h2 { color: #fff; margin-bottom: 14px; }

.cta-banner p { color: rgba(255, 255, 255, 0.8); max-width: 560px; margin: 0 auto 30px; }

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-story .as-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.about-story .as-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.about-story p { color: var(--text-muted); margin-bottom: 16px; }

.value-card {
  background: var(--bg-white);
  border: 1px solid rgba(43, 58, 74, 0.06);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

.value-card .vc-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(78, 150, 210, 0.14), rgba(111, 175, 222, 0.18));
  color: var(--accent-600);
}

.value-card h3 { font-size: 19px; margin-bottom: 10px; }

.value-card p { font-size: 14.5px; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background: linear-gradient(160deg, #263341, #33455C);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  color: #fff;
  box-shadow: var(--shadow-hover);
}

.contact-info-card h3 { color: #fff; margin-bottom: 10px; }

.contact-info-card > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14.5px;
  margin-bottom: 30px;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-line:last-of-type { border-bottom: none; }

.contact-line .cl-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(111, 175, 222, 0.25);
  color: var(--accent-400);
}

.contact-line .cl-label { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); text-transform: uppercase; letter-spacing: 1px; }

.contact-line .cl-value { font-size: 15px; color: #fff; word-break: break-word; }

.map-placeholder {
  margin-top: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.map-placeholder img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }

/* ---- Priority slider (contact form) ---- */
.pri-slider { display: flex; align-items: center; gap: 14px; }
.pri-track { flex: 1; position: relative; }
.pri-slider input[type='range'] {
  width: 100%;
  -webkit-appearance: none; appearance: none;
  height: 10px;
  border: none; padding: 0; margin: 0; border-radius: 6px;
  background: linear-gradient(90deg, #D9A441 50%, #E9E5DC 50%);
  outline: none; box-shadow: none; cursor: pointer;
}
.pri-ticks {
  display: flex; justify-content: space-between;
  padding: 0 9px; margin-top: 4px; line-height: 0;
}
.pri-ticks span { width: 6px; height: 6px; border-radius: 50%; background: #D9A441; opacity: 0.45; }
.pri-slider input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: #D9A441; border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(43, 58, 74, 0.35);
  cursor: grab;
}
.pri-slider input[type='range']::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: #D9A441; border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(43, 58, 74, 0.35);
  cursor: grab;
}
.pri-slider input[type='range']::-moz-range-track {
  height: 10px; border-radius: 6px; background: transparent;
}
.pri-end { font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.pri-hint { color: #8a6516; font-weight: 600; margin-left: 6px; }

.contact-form-card {
  background: var(--bg-white);
  border: 1px solid rgba(43, 58, 74, 0.06);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  box-shadow: var(--shadow-soft);
}

.contact-form-card h3 { margin-bottom: 6px; }

.contact-form-card .form-sub { font-size: 14.5px; color: var(--text-muted); margin-bottom: 28px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 7px; }

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group label .req { color: var(--danger); }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-family);
  font-size: 15px;
  color: var(--text-dark);
  padding: 12px 16px;
  border: 1.5px solid rgba(43, 58, 74, 0.12);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(78, 150, 210, 0.12);
}

.form-group .error-msg {
  display: none;
  font-size: 12.5px;
  color: var(--danger);
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea { border-color: var(--danger); }

.form-group.invalid .error-msg { display: block; }

.form-note { font-size: 12.5px; color: var(--text-muted); margin-top: 14px; }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #047857;
  font-size: 14px;
  font-weight: 500;
}

.form-success.show { display: flex; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 0;
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 50px;
}

.footer-brand .brand { color: #fff; margin-bottom: 16px; }

.footer-brand p { font-weight: 300; margin-bottom: 20px; max-width: 300px; }

.footer-social { display: flex; gap: 12px; }

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: var(--transition);
}

.footer-social a:hover { background: var(--accent-500); transform: translateY(-3px); }

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-500), var(--accent-400));
}

.footer-col ul li { margin-bottom: 11px; }

.footer-col ul a { color: rgba(255, 255, 255, 0.65); font-size: 14px; }

.footer-col ul a:hover { color: var(--accent-400); padding-left: 4px; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.footer-contact svg { flex-shrink: 0; margin-top: 3px; color: var(--accent-400); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   Scroll Reveal Animation
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-visual { animation: none; }
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  section { padding: 64px 0; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid rgba(43, 58, 74, 0.06); }

  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; }

  .feature-row { gap: 36px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 767px) {
  :root { --header-height: 66px; }

  section { padding: 52px 0; }
  .container { padding: 0 18px; }

  /* Mobile nav drawer */
  .hamburger { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex: none;
    margin-left: 0;
    gap: 8px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    padding: 18px 20px 26px;
    border-bottom: 1px solid rgba(50, 70, 90, 0.1);
    box-shadow: 0 20px 40px rgba(43, 58, 74, 0.12);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-list { flex-direction: column; align-items: stretch; justify-content: flex-start; flex: none; gap: 2px; }

  .nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 16px;
  }

  .nav-link::after { display: none; }

  .nav-link:hover, .nav-link.active { background: rgba(78, 150, 210, 0.08); }

  .nav-cta { margin-top: 10px; justify-content: center; }

  /* Mobile dropdown accordion */
  .nav-item.has-dropdown { position: static; }

  .nav-list > li { display: block; width: 100%; }

  .nav-item.has-dropdown > .nav-link { display: block; }

  .nav-item .caret { float: right; margin-top: 4px; }

  .nav-item.has-dropdown:hover .caret { transform: none; }
  .nav-item.has-dropdown.open .caret { transform: rotate(180deg); }

  .dropdown {
    position: static;
    display: none;
    min-width: 0;
    padding: 4px 0 4px 12px;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown::before { display: none; }

  .nav-item.has-dropdown.open .dropdown { display: block; }

  .dropdown li a { padding: 9px 14px; font-size: 15px; color: var(--text-muted); }
  .dropdown li a:hover { padding-left: 18px; }
  .dropdown li a.dd-overview { border-bottom: none; }

  /* Layouts */
  .grid-3, .grid-2 { grid-template-columns: 1fr; }

  .stats-card { grid-template-columns: repeat(2, 1fr); }

  .hero { min-height: auto; }
  .hero-actions .btn { width: 100%; }

  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse .fr-media { order: 0; }

  .steps-grid { grid-template-columns: 1fr; }

  .about-story { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }

  .cta-banner { padding: 44px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }
}
