/* ============================================================
   DR. SUNIL KUMAR YADAV — WORLD-CLASS DESIGN SYSTEM v2.0
   Aesthetic: Ultra-Modern Medical Premium
   Glassmorphism · Animated Gradients · Depth · Micro-interactions
   ============================================================ */

/* Fonts loaded via <link> tag in HTML for non-blocking performance */

/* --- CSS Variables --- */
:root {
  --navy: #1B4F7A;
  --navy-mid: #1A3F63;
  --navy-light: #2563A0;
  --teal: #0D9488;
  --teal-dark: #0A7A70;
  --teal-light: #14B8A6;
  --teal-glow: rgba(13,148,136,0.15);
  --teal-subtle: #F0FDFA;
  --gold: #E07A5F;
  --gold-light: #E8937D;
  --gold-glow: rgba(224,122,95,0.15);
  --gold-subtle: #FFF5F2;
  --emerald: #059669;

  --white: #FFFFFF;
  --off-white: #FAFAF9;
  --cream: #F5F3EF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  --container: 1200px;
  --container-narrow: 860px;
  --container-wide: 1400px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.15);
  --shadow-glow-teal: 0 0 30px rgba(13,148,136,0.15);
  --shadow-glow-gold: 0 0 30px rgba(224,122,95,0.15);

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.3s;
  --duration-slow: 0.6s;

  --glass-bg: rgba(255,255,255,0.7);
  --glass-border: rgba(255,255,255,0.2);
  --glass-blur: 16px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: all var(--duration) var(--ease); }
a:hover { color: var(--teal-light); }
ul, ol { list-style: none; }

::selection { background: var(--teal); color: white; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.65rem); letter-spacing: -0.01em; }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; }

p { margin-bottom: var(--space-md); color: var(--text-secondary); }
p:last-child { margin-bottom: 0; }

.lead { font-size: 1.15rem; line-height: 1.8; color: var(--text-secondary); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--space-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

/* --- Layout --- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-xl); }
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

.section { padding: var(--space-5xl) 0; }
.section--alt { background: var(--gray-50); }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.7); }
.section--dark .section-label { color: var(--gold); }
.section--dark .section-label::before { background: var(--gold); }

.section-header { text-align: center; max-width: 680px; margin: 0 auto var(--space-3xl); }
.section-header .section-label { justify-content: center; }
.section-header h2 { margin-bottom: var(--space-md); }

/* --- Grid --- */
.grid { display: grid; gap: var(--space-xl); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
@media (min-width: 769px) and (max-width: 1024px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  padding: 8px 0;
  position: relative;
  z-index: 101;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-sm); }
.top-bar a { color: rgba(255,255,255,0.8); display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.top-bar a:hover { color: var(--gold); }
.top-bar__contact { display: flex; align-items: center; gap: var(--space-xl); }

.top-bar__badge {
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  color: var(--white);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(13,148,136,0.3);
}

/* ===== NAVIGATION ===== */
.navbar {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all var(--duration) var(--ease);
}

.navbar.scrolled { background: rgba(255,255,255,0.95); box-shadow: var(--shadow-lg); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; height: 76px; }

.navbar__logo { display: flex; align-items: center; gap: 0; }
.navbar__logo img { height: 44px; width: auto; }
.navbar__logo-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; }
.navbar__logo-title { font-size: 0.65rem; font-weight: 600; color: var(--teal); letter-spacing: 0.1em; text-transform: uppercase; }

.navbar__links { display: flex; align-items: center; gap: var(--space-md); }
.navbar__links a { font-size: 0.85rem; font-weight: 500; color: var(--gray-600); position: relative; padding: 6px 2px; }
.navbar__links a::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: linear-gradient(90deg, var(--teal), var(--teal-light)); transition: all var(--duration) var(--ease); transform: translateX(-50%); border-radius: 2px; }
.navbar__links a:hover, .navbar__links a.active { color: var(--teal); }
.navbar__links a:hover::after, .navbar__links a.active::after { width: 100%; }

.navbar__cta { margin-left: var(--space-sm); }

/* Hamburger */
.navbar__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.navbar__toggle span { display: block; width: 22px; height: 2px; background: var(--navy); transition: all var(--duration) var(--ease); border-radius: 2px; }
.navbar__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__toggle.open span:nth-child(2) { opacity: 0; }
.navbar__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 1024px) {
  .navbar__toggle { display: flex; }
  .navbar__links { display: none; position: absolute; top: 76px; left: 0; right: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); flex-direction: column; padding: var(--space-xl); border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-xl); gap: var(--space-md); }
  .navbar__links.open { display: flex; }
  .navbar__cta { margin-left: 0; width: 100%; text-align: center; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 600;
  padding: 12px 28px; border-radius: 10px; border: 2px solid transparent;
  cursor: pointer; transition: all var(--duration) var(--ease);
  text-decoration: none; white-space: nowrap; position: relative; overflow: hidden;
}

.btn--primary { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn--primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-lg), var(--shadow-glow-teal); }

.btn--secondary { background: transparent; color: var(--teal); border-color: var(--gray-200); }
.btn--secondary:hover { background: var(--teal); color: var(--white); border-color: var(--teal); transform: translateY(-2px); }

.btn--gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--white); border-color: transparent; }
.btn--gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg), var(--shadow-glow-gold); }

.btn--white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--white:hover { background: var(--gray-50); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn--outline-white { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.4); backdrop-filter: blur(8px); }
.btn--outline-white:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn--lg { padding: 16px 40px; font-size: 0.95rem; border-radius: 12px; }
.btn--sm { padding: 8px 20px; font-size: 0.8rem; border-radius: 8px; }
.btn--block { width: 100%; }
.btn--icon { padding: 12px 28px 12px 22px; }
.btn-group { display: flex; gap: var(--space-md); flex-wrap: wrap; }

/* ===== CARDS — Glassmorphism ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--gray-100);
  transition: all 0.4s var(--ease);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--teal-glow), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.card:hover::before { opacity: 1; }

.card--flat { background: var(--white); border: 1px solid var(--gray-100); }
.card--flat:hover { border-color: var(--teal); box-shadow: var(--shadow-lg), var(--shadow-glow-teal); }

.card__icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--teal-subtle), rgba(13,148,136,0.08));
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 1.5rem; color: var(--teal);
  transition: transform 0.4s var(--ease-spring);
}

.card:hover .card__icon { transform: scale(1.1) rotate(-3deg); }

.card__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--text-primary); margin-bottom: var(--space-sm); }
.card__text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

.card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: var(--teal); margin-top: var(--space-md);
  transition: all var(--duration) var(--ease);
}
.card__link:hover { gap: 12px; color: var(--teal-dark); }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Cinematic overlay — shows image clearly while keeping text readable */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(8,20,40,0.82) 0%,
      rgba(10,30,55,0.65) 40%,
      rgba(8,40,65,0.55) 70%,
      rgba(5,50,70,0.70) 100%
    );
  z-index: 1;
}

/* No noise overlay — keep it clean */
.hero::after { display: none; }

.hero .container {
  position: relative; z-index: 3;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  padding-top: var(--space-5xl); padding-bottom: var(--space-5xl);
}

.hero__content {
  max-width: 720px;
}

.hero__content h1 {
  color: #FFFFFF;
  margin-bottom: var(--space-lg);
  line-height: 1.08;
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  text-shadow:
    0 2px 40px rgba(0,0,0,0.9),
    0 4px 12px rgba(0,0,0,0.7),
    0 1px 3px rgba(0,0,0,0.8);
}

.hero__subtitle {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #FFFFFF;
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  text-shadow:
    0 1px 20px rgba(0,0,0,0.8),
    0 1px 4px rgba(0,0,0,0.7);
  font-weight: 500;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(13,148,136,0.55);
  border: 1px solid rgba(94,234,212,0.7);
  color: #FFFFFF;
  font-size: 0.85rem; font-weight: 700; padding: 12px 28px;
  border-radius: 100px; margin-bottom: var(--space-xl);
  letter-spacing: 0.06em;
  backdrop-filter: blur(16px);
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
  text-transform: uppercase;
}

.hero .btn--gold {
  box-shadow: 0 4px 20px rgba(224,122,95,0.4);
  font-size: 1rem;
  padding: 18px 44px;
}

.hero .btn--outline-white {
  border-color: rgba(255,255,255,0.6);
  color: #FFFFFF;
  font-size: 1rem;
  padding: 18px 44px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero .btn--outline-white:hover {
  background: #FFFFFF;
  color: var(--navy);
  text-shadow: none;
}

@media (max-width: 768px) {
  .hero { min-height: 70vh; }
  .hero .container { text-align: center; align-items: center; max-width: 100%; }
  .hero__subtitle { margin: 0 auto var(--space-2xl); }
  .hero__badge { margin-left: auto; margin-right: auto; }
  .btn-group { justify-content: center; }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: var(--space-xl) 0;
  position: relative;
  z-index: 2;
}

.trust-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }

.trust-item { display: flex; align-items: center; gap: 14px; }

.trust-item__icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--teal-subtle), rgba(13,148,136,0.08));
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring);
}

.trust-item:hover .trust-item__icon { transform: scale(1.1); }

.trust-item__text { font-size: 0.85rem; font-weight: 700; color: var(--text-primary); line-height: 1.3; }
.trust-item__text span { display: block; font-weight: 400; font-size: 0.75rem; color: var(--text-muted); margin-top: 1px; }

@media (max-width: 768px) { .trust-bar .container { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); } }
@media (max-width: 480px) { .trust-bar .container { grid-template-columns: 1fr; } }

/* ===== PATIENT PATHWAYS ===== */
.pathways { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }

.pathway {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  transition: all 0.4s var(--ease);
  cursor: pointer;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}

.pathway::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--teal-glow));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.pathway:hover { border-color: var(--teal); box-shadow: var(--shadow-xl); transform: translateY(-6px); }
.pathway:hover::before { opacity: 1; }

.pathway__icon { font-size: 2.5rem; margin-bottom: var(--space-md); position: relative; transition: transform 0.4s var(--ease-spring); }
.pathway:hover .pathway__icon { transform: scale(1.15); }
.pathway__title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: var(--space-sm); position: relative; }
.pathway__text { font-size: 0.88rem; color: var(--text-muted); position: relative; }

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

/* ===== TESTIMONIALS ===== */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--gray-100);
  position: relative;
  transition: all 0.4s var(--ease);
}

.testimonial:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.testimonial::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal-subtle), rgba(13,148,136,0.08));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: absolute;
  top: 8px; left: 20px;
  line-height: 1;
}

.testimonial__stars { color: var(--gold); font-size: 0.85rem; margin-bottom: var(--space-md); letter-spacing: 4px; }
.testimonial__text { font-size: 0.92rem; font-style: italic; color: var(--text-secondary); line-height: 1.85; margin-bottom: var(--space-lg); }
.testimonial__author { font-size: 0.88rem; font-weight: 700; color: var(--text-primary); }
.testimonial__role { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-5xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(13,148,136,0.2) 0%, transparent 50%),
    radial-gradient(ellipse 40% 60% at 80% 20%, rgba(37,99,160,0.12) 0%, transparent 50%);
}

.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.3;
  pointer-events: none;
}

.cta-banner h2 { color: var(--white); margin-bottom: var(--space-md); position: relative; }
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: var(--space-2xl); max-width: 560px; margin-left: auto; margin-right: auto; position: relative; }
.cta-banner .section-label { color: var(--gold); position: relative; }
.cta-banner .section-label::before { background: var(--gold); }
.cta-banner .btn-group { justify-content: center; position: relative; }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: var(--space-3xl); }

.timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--teal), var(--gray-200));
  border-radius: 2px;
}

.timeline__item { position: relative; margin-bottom: var(--space-2xl); padding-left: var(--space-lg); }

.timeline__item::before {
  content: '';
  position: absolute;
  left: -28px; top: 6px;
  width: 14px; height: 14px;
  background: var(--white);
  border: 3px solid var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(13,148,136,0.1);
  transition: all 0.3s var(--ease);
}

.timeline__item:hover::before { background: var(--teal); box-shadow: 0 0 0 6px rgba(13,148,136,0.15); }

.timeline__year { font-size: 0.78rem; font-weight: 700; color: var(--teal); letter-spacing: 0.06em; margin-bottom: 4px; }
.timeline__title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.timeline__desc { font-size: 0.88rem; color: var(--text-muted); }

/* ===== PUBLICATION CARD ===== */
.pub-card {
  background: var(--white);
  border-left: 4px solid var(--teal);
  padding: var(--space-xl) var(--space-2xl);
  margin-bottom: var(--space-lg);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}

.pub-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }

.pub-card__journal { font-size: 0.72rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.pub-card__title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: var(--space-sm); }
.pub-card__summary { font-size: 0.88rem; color: var(--text-muted); }

/* ===== FAQ ACCORDION ===== */
.faq-item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  background: var(--white);
  transition: all 0.3s var(--ease);
}

.faq-item:hover { border-color: var(--gray-200); }
.faq-item.open { border-color: var(--teal); box-shadow: var(--shadow-md), var(--shadow-glow-teal); }

.faq-item__question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: var(--space-lg) var(--space-xl);
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  color: var(--text-primary); text-align: left; gap: var(--space-md);
  transition: color 0.2s;
}

.faq-item__question:hover { color: var(--teal); }
.faq-item__icon { font-size: 1.2rem; color: var(--teal); transition: transform var(--duration) var(--ease); flex-shrink: 0; }
.faq-item.open .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-item.open .faq-item__answer { max-height: 500px; }
.faq-item__answer-inner { padding: 0 var(--space-xl) var(--space-xl); font-size: 0.9rem; color: var(--text-secondary); line-height: 1.85; }

/* ===== CONTACT FORM ===== */
.form-group { margin-bottom: var(--space-lg); }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.form-group label .required { color: #EF4444; }

.form-control {
  width: 100%; padding: 14px 18px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.9rem; color: var(--text-primary);
  background: var(--gray-50);
  transition: all var(--duration) var(--ease);
}

.form-control:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13,148,136,0.08); background: var(--white); }
textarea.form-control { min-height: 120px; resize: vertical; }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394A3B8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px;
}

.checkbox-group { display: flex; gap: var(--space-sm); align-items: flex-start; }
.checkbox-group input[type="checkbox"] { margin-top: 4px; accent-color: var(--teal); width: 18px; height: 18px; }
.checkbox-group label { font-size: 0.82rem; font-weight: 400; color: var(--text-secondary); }

/* ===== FOOTER ===== */
.footer {
  background: #0F2B44;
  color: rgba(255,255,255,0.88);
  padding: var(--space-5xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--teal-light), transparent);
}

.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-3xl); margin-bottom: var(--space-3xl); }

.footer__about-text { font-size: 0.88rem; line-height: 1.7; margin-bottom: var(--space-lg); color: rgba(255,255,255,0.82); }
.footer__heading { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: var(--space-lg); }

.footer__links a { display: block; color: rgba(255,255,255,0.78); font-size: 0.88rem; padding: 5px 0; transition: all var(--duration) var(--ease); }
.footer__links a:hover { color: #5EEAD4; padding-left: 6px; }

.footer__contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: var(--space-md); font-size: 0.88rem; color: rgba(255,255,255,0.82); }
.footer__contact-icon { color: #5EEAD4; flex-shrink: 0; margin-top: 2px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--space-xl);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--space-md); font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
}

.footer__bottom a { color: rgba(255,255,255,0.7); }
.footer__bottom a:hover { color: #5EEAD4; }
.footer__legal { display: flex; gap: var(--space-lg); }

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ===== PAGE HERO (interior pages) ===== */
.page-hero {
  background: var(--navy);
  padding: var(--space-4xl) 0 var(--space-3xl);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,25,45,0.96) 0%, rgba(14,42,68,0.92) 50%, rgba(10,70,70,0.88) 100%);
  z-index: 1;
}

.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(13,148,136,0.12) 0%, transparent 70%);
  z-index: 1;
}

.page-hero .container { position: relative; z-index: 2; }

.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-sm);
  position: relative; z-index: 2;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4), 0 1px 3px rgba(0,0,0,0.25);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
}

.page-hero p {
  color: rgba(255,255,255,0.92);
  max-width: 600px;
  margin: 0 auto;
  position: relative; z-index: 2;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
  font-size: 1.05rem;
  line-height: 1.7;
}

.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-lg);
  position: relative; z-index: 2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.breadcrumb a:hover { color: #5EEAD4; }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* ===== ABOUT PAGE GRIDS ===== */
.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.about-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.about-gallery img { width: 100%; border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
@media (max-width: 768px) {
  .about-intro-grid { grid-template-columns: 1fr; }
  .about-gallery { grid-template-columns: 1fr; }
}

/* ===== CONTENT SECTIONS ===== */
.content-section { padding: var(--space-3xl) 0; }
.content-section + .content-section { padding-top: 0; }
.content-section h2 { margin-bottom: var(--space-lg); }
.content-section ul { padding-left: var(--space-xl); margin-bottom: var(--space-lg); }

.content-section ul li {
  position: relative; padding-left: var(--space-xl); margin-bottom: 10px;
  font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7;
}

.content-section ul li::before {
  content: '';
  position: absolute; left: 0; top: 10px;
  width: 8px; height: 8px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 50%;
}

/* ===== BLOG CARDS ===== */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all 0.4s var(--ease);
}

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

.blog-card__image {
  height: 200px;
  background: linear-gradient(135deg, var(--teal-subtle), rgba(13,148,136,0.06));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem;
  transition: transform 0.6s var(--ease);
}

.blog-card:hover .blog-card__image { transform: scale(1.03); }

.blog-card__body { padding: var(--space-xl); }
.blog-card__tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal); margin-bottom: var(--space-sm); }
.blog-card__title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: var(--space-sm); line-height: 1.35; }
.blog-card__excerpt { font-size: 0.85rem; color: var(--text-muted); margin-bottom: var(--space-md); line-height: 1.7; }

/* ===== APPOINTMENT POPUP MODAL ===== */
.apt-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 1rem;
}
.apt-modal-overlay.open { display: flex; animation: modalFadeIn 0.3s var(--ease-out); }

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.apt-modal {
  background: white; border-radius: 20px; width: 100%; max-width: 540px;
  max-height: 90vh; overflow-y: auto; padding: 2rem;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  position: relative;
  animation: modalSlideUp 0.35s var(--ease-out);
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.apt-modal__close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; font-size: 1.8rem; color: var(--gray-400);
  cursor: pointer; line-height: 1; padding: 4px; transition: color 0.2s;
}
.apt-modal__close:hover { color: var(--text-primary); }

.apt-modal__header { text-align: center; margin-bottom: 1.5rem; }
.apt-modal__header svg { margin-bottom: 0.5rem; }
.apt-modal__header h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-primary); margin-bottom: 0.25rem; }
.apt-modal__header p { font-size: 0.88rem; color: var(--text-secondary); margin: 0; }

.apt-modal__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.apt-modal .form-group { margin-bottom: 1rem; }
.apt-modal .form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.apt-modal .form-control {
  width: 100%; padding: 10px 14px; border: 1px solid var(--gray-200);
  border-radius: 10px; font-size: 0.9rem; font-family: var(--font-body);
  transition: border-color 0.2s; background: var(--gray-50);
}
.apt-modal .form-control:focus { border-color: var(--teal); outline: none; background: white; box-shadow: 0 0 0 3px rgba(13,148,136,0.1); }
.apt-modal .required { color: var(--gold); }

/* Calendar Picker */
.cal-picker { position: relative; }
.cal-picker input { cursor: pointer; background: var(--gray-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") no-repeat right 12px center; }
.cal-dropdown {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  z-index: 100; margin-top: 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18); border-radius: 12px;
  animation: calDrop 0.2s var(--ease-out);
}
.cal-dropdown.open { display: block; }
@keyframes calDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.cal-wrap {
  border: 1px solid var(--gray-200); border-radius: 12px; overflow: hidden;
  background: white; user-select: none;
}
.cal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--navy); color: white;
}
.cal-header__title { font-weight: 700; font-size: 0.92rem; }
.cal-header button {
  background: rgba(255,255,255,0.15); border: none; color: white;
  width: 32px; height: 32px; border-radius: 8px; cursor: pointer;
  font-size: 1rem; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.cal-header button:hover { background: rgba(255,255,255,0.3); }
.cal-weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr);
  text-align: center; font-size: 0.7rem; font-weight: 700;
  color: var(--text-muted); padding: 8px 8px 4px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.cal-days {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px; padding: 4px 8px 10px; text-align: center;
}
.cal-day {
  width: 100%; aspect-ratio: 1; border-radius: 10px; border: none;
  background: none; font-size: 0.85rem; font-weight: 500;
  color: var(--text-primary); cursor: pointer; transition: all 0.15s;
  font-family: var(--font-body);
}
.cal-day:hover:not(.disabled):not(.selected) { background: var(--gray-100); }
.cal-day.today { font-weight: 800; color: var(--teal); }
.cal-day.selected { background: var(--teal); color: white; font-weight: 700; }
.cal-day.disabled { color: var(--gray-300); cursor: default; }
.cal-day.sunday { color: var(--gold); }
.cal-day.sunday.disabled { color: var(--gray-300); }

/* Time Slots */
.timeslot-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.timeslot {
  padding: 10px 4px; border: 1px solid var(--gray-200); border-radius: 10px;
  background: var(--gray-50); font-size: 0.82rem; font-weight: 600;
  color: var(--text-secondary); cursor: pointer; transition: all 0.15s;
  font-family: var(--font-body); text-align: center;
}
.timeslot:hover { border-color: var(--teal); color: var(--teal); background: white; }
.timeslot.selected { background: var(--teal); color: white; border-color: var(--teal); }

@media (max-width: 540px) {
  .apt-modal { padding: 1.5rem; }
  .apt-modal__row { grid-template-columns: 1fr; }
  .timeslot-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== FLOATING CHAT WIDGETS ===== */
.chat-widgets { position: fixed; bottom: 28px; right: 28px; z-index: 999; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }

/* --- Launcher buttons --- */
.chat-launchers { display: flex; gap: 10px; }

.chat-launcher {
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: white; transition: all 0.3s var(--ease);
  text-decoration: none; position: relative;
}

.chat-launcher--whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  animation: launcherPulse 3s ease-in-out infinite;
}
.chat-launcher--whatsapp:hover { transform: scale(1.1); color: white; box-shadow: 0 6px 24px rgba(37,211,102,0.45); }

.chat-launcher--bot {
  background: linear-gradient(135deg, var(--teal), var(--navy));
  box-shadow: 0 4px 16px rgba(13,148,136,0.3);
}
.chat-launcher--bot:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(13,148,136,0.4); }

.chat-launcher__badge {
  position: absolute; top: -2px; right: -2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); color: white; font-size: 0.6rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

@keyframes launcherPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.35); }
  50% { box-shadow: 0 4px 16px rgba(37,211,102,0.35), 0 0 0 10px rgba(37,211,102,0.06); }
}

/* --- WhatsApp Chat Popup --- */
.wa-popup {
  display: none; width: 340px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.18); animation: popupSlideIn 0.3s var(--ease-out);
}
.wa-popup.open { display: block; }

@keyframes popupSlideIn {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-popup__header {
  background: linear-gradient(135deg, #128C7E, #075E54); color: white;
  padding: 18px 20px; display: flex; align-items: center; gap: 12px;
}
.wa-popup__avatar {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0;
}
.wa-popup__name { font-weight: 700; font-size: 0.95rem; }
.wa-popup__status { font-size: 0.75rem; opacity: 0.8; }
.wa-popup__close {
  margin-left: auto; background: none; border: none; color: white;
  cursor: pointer; font-size: 1.2rem; padding: 4px; opacity: 0.7;
}
.wa-popup__close:hover { opacity: 1; }

.wa-popup__body {
  background: #E5DDD5; padding: 20px; min-height: 120px;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8c3b8' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.wa-popup__bubble {
  background: white; border-radius: 0 10px 10px 10px; padding: 12px 16px;
  max-width: 85%; font-size: 0.88rem; color: #303030; line-height: 1.5;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08); position: relative;
}
.wa-popup__bubble-time { font-size: 0.65rem; color: #999; text-align: right; margin-top: 4px; }

.wa-popup__footer { background: white; padding: 12px 16px; display: flex; gap: 8px; }
.wa-popup__input {
  flex: 1; border: 1px solid #e0e0e0; border-radius: 24px; padding: 10px 18px;
  font-family: var(--font-body); font-size: 0.85rem; outline: none; background: #f8f8f8;
}
.wa-popup__input:focus { border-color: #25D366; background: white; }
.wa-popup__send {
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: #25D366; color: white; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background 0.2s;
}
.wa-popup__send:hover { background: #128C7E; }

/* --- Chatbot Popup --- */
.chatbot {
  display: none; width: 370px; max-height: 520px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.18); animation: popupSlideIn 0.3s var(--ease-out);
  background: white; flex-direction: column;
}
.chatbot.open { display: flex; }

.chatbot__header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: white; padding: 18px 20px; display: flex; align-items: center; gap: 12px;
}
.chatbot__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.chatbot__header-info h4 { color: white; font-size: 0.95rem; margin: 0; }
.chatbot__header-info span { font-size: 0.72rem; color: rgba(255,255,255,0.7); }
.chatbot__close {
  margin-left: auto; background: none; border: none; color: white;
  cursor: pointer; font-size: 1.2rem; padding: 4px; opacity: 0.7;
}
.chatbot__close:hover { opacity: 1; }

.chatbot__messages {
  flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px;
  background: var(--gray-50); min-height: 260px; max-height: 340px;
}

.chatbot__msg {
  max-width: 82%; padding: 10px 14px; border-radius: 12px;
  font-size: 0.85rem; line-height: 1.55; animation: msgIn 0.3s var(--ease-out);
}

@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.chatbot__msg--bot {
  background: white; color: var(--text-primary); align-self: flex-start;
  border-bottom-left-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.chatbot__msg--user {
  background: var(--teal); color: white; align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chatbot__msg--bot a { color: var(--teal); font-weight: 600; }

.chatbot__quick-replies {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px;
  background: var(--gray-50);
}
.chatbot__quick-btn {
  background: white; border: 1px solid var(--gray-200); border-radius: 20px;
  padding: 7px 14px; font-size: 0.78rem; font-family: var(--font-body); font-weight: 500;
  color: var(--teal); cursor: pointer; transition: all 0.2s;
  white-space: nowrap;
}
.chatbot__quick-btn:hover { background: var(--teal); color: white; border-color: var(--teal); }

.chatbot__input-area { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--gray-100); background: white; }
.chatbot__input {
  flex: 1; border: 1px solid var(--gray-200); border-radius: 24px; padding: 10px 18px;
  font-family: var(--font-body); font-size: 0.85rem; outline: none; background: var(--gray-50);
}
.chatbot__input:focus { border-color: var(--teal); background: white; }
.chatbot__send {
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--teal); color: white; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background 0.2s;
}
.chatbot__send:hover { background: var(--teal-dark); }

/* Mobile adjustments */
@media (max-width: 480px) {
  .wa-popup, .chatbot { width: calc(100vw - 32px); right: 0; }
  .chat-widgets { right: 16px; bottom: 16px; }
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

/* ===== CONDITIONS ===== */
.condition-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
@media (max-width: 768px) { .condition-grid { grid-template-columns: 1fr; } }

.condition-item {
  padding: var(--space-xl);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all 0.3s var(--ease);
}

.condition-item:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.condition-item__name { font-weight: 700; color: var(--text-primary); margin-bottom: 4px; font-size: 0.95rem; }
.condition-item__desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* ===== MAP ===== */
.map-container { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); height: 350px; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ===== PRESENTATIONS ===== */
.pres-item { display: flex; gap: var(--space-xl); padding: var(--space-lg) 0; border-bottom: 1px solid var(--gray-100); transition: all 0.2s; }
.pres-item:last-child { border-bottom: none; }
.pres-item:hover { padding-left: 8px; }
.pres-item__year { font-weight: 700; color: var(--teal); font-size: 0.88rem; min-width: 50px; }
.pres-item__type { display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 12px; border-radius: 100px; margin-bottom: 4px; }
.pres-item__type--oral { background: var(--teal-subtle); color: var(--teal); }
.pres-item__type--poster { background: var(--gold-subtle); color: var(--gold); }
.pres-item__title { font-weight: 700; color: var(--text-primary); font-size: 0.95rem; margin-bottom: 4px; }
.pres-item__event { font-size: 0.85rem; color: var(--text-muted); }

/* ===== SMOOTH SCROLLBAR ===== */
html { scrollbar-width: thin; scrollbar-color: var(--gray-300) transparent; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ===== TRUST BAR — Homepage Grid ===== */
.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-bar__icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--teal-subtle), rgba(13,148,136,0.08));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring);
}

.trust-bar__item:hover .trust-bar__icon { transform: scale(1.1); }

.trust-bar__label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.trust-bar__sub {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 1px;
}

@media (max-width: 768px) {
  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
}
@media (max-width: 480px) {
  .trust-bar__grid { grid-template-columns: 1fr; }
}

/* ===== SPLIT CONTENT — Two-column layout ===== */
.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.split-content.reverse { direction: rtl; }
.split-content.reverse > * { direction: ltr; }

.split-content__image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
}

@media (max-width: 768px) {
  .split-content,
  .split-content.reverse { grid-template-columns: 1fr; direction: ltr; }
  .split-content.reverse > * { direction: ltr; }
}

/* ===== SERVICES GRID — Homepage ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-decoration: none;
  display: block;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--teal-glow), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--teal);
}

.service-card:hover::before { opacity: 1; }

.service-card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-lg);
  display: block;
  transition: transform 0.4s var(--ease-spring);
}

.service-card:hover .service-card__icon { transform: scale(1.15); }

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.service-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== FEATURES GRID — Why Choose Us ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.feature-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all 0.4s var(--ease);
  box-shadow: var(--shadow-sm);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}

.feature-item__icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  display: block;
}

.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

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

/* ===== NAVBAR DROPDOWN ===== */
.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: 6px 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--duration) var(--ease);
}

.navbar__dropdown-btn:hover { color: var(--teal); }

.navbar__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-sm) 0;
  z-index: 200;
  animation: dropdownFade 0.2s var(--ease);
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateX(-50%) translateY(-4px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.navbar__dropdown:hover .navbar__dropdown-menu { display: block; }

.navbar__dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: all 0.2s;
}

.navbar__dropdown-menu a:hover {
  background: var(--teal-subtle);
  color: var(--teal);
}

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

@media (max-width: 1024px) {
  .navbar__dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: var(--space-lg);
    min-width: auto;
    display: block;
  }
  .navbar__dropdown-btn { display: none; }
}
