/* =========================================
   DR. DHALAPATHY SADACHARAN - MEDICAL WEBSITE
   Style Sheet - Premium Healthcare Design
   ========================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&family=DM+Serif+Display:ital@0;1&display=swap');

/* --- CSS Variables --- */
:root {
  --navy: #0a2342;
  --navy-mid: #12355f;
  --blue: #1a5276;
  --blue-light: #2e86ab;
  --teal: #1abc9c;
  --teal-light: #a8e6cf;
  --green-soft: #e8f8f5;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --gold: #c9a84c;
  --gold-light: #f0d89a;

  --font-display: 'DM Serif Display', serif;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;

  --shadow-sm: 0 2px 8px rgba(10,35,66,0.08);
  --shadow-md: 0 8px 32px rgba(10,35,66,0.12);
  --shadow-lg: 0 20px 60px rgba(10,35,66,0.16);
  --shadow-teal: 0 8px 32px rgba(26,188,156,0.25);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --header-height: 80px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); line-height: 1.2; }

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 500; }
h4 { font-size: 1.2rem; font-weight: 500; }

p { font-size: 1rem; color: var(--gray-600); line-height: 1.8; }

/* --- Utility Classes --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 70px 0; }

.text-center { text-align: center; }
.text-navy { color: var(--navy); }
.text-teal { color: var(--teal); }
.text-white { color: var(--white); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  color: var(--navy);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 48px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-light), var(--navy-mid));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(26,82,118,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26,82,118,0.45);
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal), #16a085);
  color: var(--white);
  box-shadow: var(--shadow-teal);
}
.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(26,188,156,0.4);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline-navy {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

/* =========================================
   TOP BAR
   ========================================= */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 9px 0;
  font-size: 0.82rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-contacts a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.82);
  transition: var(--transition);
}
.top-bar-contacts a:hover { color: var(--teal-light); }
.top-bar-contacts i { font-size: 0.78rem; color: var(--teal); }

.top-bar-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: white !important;
  padding: 5px 16px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.8rem;
  transition: var(--transition);
}
.top-bar-whatsapp:hover { background: #1da851; transform: scale(1.04); }

/* =========================================
   HEADER / NAVIGATION
   ========================================= */
.header {
  background: var(--white);
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(10,35,66,0.08);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(10,35,66,0.14);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand .name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.nav-brand .title {
  font-size: 0.72rem;
  color: var(--teal);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--navy);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: calc(100% - 32px);
}

.nav-cta {
  background: linear-gradient(135deg, var(--teal), #16a085);
  color: white !important;
  padding: 10px 24px;
  border-radius: var(--radius-xl);
  font-weight: 500;
  box-shadow: var(--shadow-teal);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,188,156,0.4); }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-10px);
  opacity: 0;
  transition: var(--transition);
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-nav a:hover { background: var(--gray-100); color: var(--navy); }
.mobile-nav .nav-cta { text-align: center; margin-top: 8px; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f8f5 50%, #f0f7ff 100%);
  min-height: calc(100vh - var(--header-height) - 40px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26,188,156,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26,82,118,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--teal-light);
  color: var(--teal);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero-badge i { font-size: 0.9rem; }

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 2.5rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 10px;
}

.hero-title .accent {
  font-style: italic;
  color: var(--teal);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--blue);
  margin-bottom: 20px;
  font-style: italic;
}

.hero-desc {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-mini-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.mini-stat { text-align: center; }
.mini-stat .num {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.mini-stat .lbl {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 3px;
}

.mini-stat-divider {
  width: 1px;
  background: var(--gray-200);
  align-self: stretch;
}

/* Hero Image */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-bg {
  position: absolute;
  width: 319px;
  height: 410px;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26,82,118,0.08), rgba(26,188,156,0.08));
  border-radius: var(--radius-lg);
  z-index: 0;
}

.hero-img {
  position: relative;
  z-index: 1;
  width: 299px;
  max-width: 400px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: top;
  box-shadow: var(--shadow-lg);
  filter: drop-shadow(0 20px 40px rgba(10,35,66,0.2));
  display: block;
}

.hero-img-placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #dbeafe 0%, #a8e6cf 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
  color: var(--navy);
}

.hero-img-placeholder i { font-size: 5rem; opacity: 0.3; }
.hero-img-placeholder span { font-size: 0.85rem; opacity: 0.5; font-style: italic; }

.hero-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatCard 3s ease-in-out infinite;
}

.hero-card.card-1 {
  bottom: 100px;
  left: -30px;
  animation-delay: 0s;
}

.hero-card.card-2 {
  top: 80px;
  right: -30px;
  animation-delay: 1.5s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero-card-icon.teal { background: var(--green-soft); color: var(--teal); }
.hero-card-icon.blue { background: #e0eeff; color: var(--blue); }

.hero-card-text .label { font-size: 0.7rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em; }
.hero-card-text .value { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--navy); }

/* =========================================
   STATS COUNTER SECTION
   ========================================= */
.stats-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--blue) 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 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='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-icon {
  font-size: 2rem;
  color: var(--teal);
  margin-bottom: 16px;
  opacity: 0.9;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

/* =========================================
   EXPERTISE CARDS
   ========================================= */
.expertise-section { background: var(--off-white); }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.expertise-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--teal), var(--blue-light));
  transform: scaleY(0);
  transform-origin: top;
  transition: var(--transition);
}

.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-light);
}

.expertise-card:hover::before { transform: scaleY(1); }

.expertise-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.expertise-icon.thyroid { background: linear-gradient(135deg, #e0f7f4, #b2ebf2); color: #00838f; }
.expertise-icon.parathyroid { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); color: #2e7d32; }
.expertise-icon.adrenal { background: linear-gradient(135deg, #e3f2fd, #bbdefb); color: #1565c0; }
.expertise-icon.breast { background: linear-gradient(135deg, #fce4ec, #f8bbd0); color: #ad1457; }

.expertise-card:hover .expertise-icon { transform: scale(1.1) rotate(-3deg); }

.expertise-card h3 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.expertise-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.card-link:hover { gap: 10px; }

/* =========================================
   WHY CHOOSE SECTION
   ========================================= */
.why-section {
  background: var(--white);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-image-col {
  position: relative;
}

.why-image-stack {
  position: relative;
}

.why-img-main {
  width: 500px;
  height: 384px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  object-position: top;
  display: block;
}

.why-accent-card {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--navy);
  color: white;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.why-accent-card .big-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

.why-accent-card .small-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-bullet {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-text h4 { color: var(--navy); font-size: 1rem; margin-bottom: 3px; }
.why-text p { font-size: 0.88rem; line-height: 1.6; margin: 0; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-section { background: var(--off-white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--gray-700);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  flex-shrink: 0;
}

.author-info .name { font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.author-info .location { font-size: 0.78rem; color: var(--gray-400); }

.google-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 6px;
}

/* =========================================
   HOSPITALS SECTION
   ========================================= */
.hospitals-section {
  background: var(--white);
  padding: 60px 0;
}

.hospitals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.hospital-card {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.hospital-card:hover {
  border-color: var(--teal-light);
  background: var(--green-soft);
}

.hospital-card i { font-size: 1.8rem; color: var(--teal); margin-bottom: 12px; }
.hospital-card h4 { color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
.hospital-card p { font-size: 0.8rem; color: var(--gray-400); margin: 0; }

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26,188,156,0.15) 0%, transparent 60%);
  border-radius: 50%;
}

.cta-section h2 { color: var(--white); margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.7); max-width: 500px; margin: 0 auto 36px; }

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: #07182e;
  color: rgba(255,255,255,0.7);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-brand .title {
  font-size: 0.8rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover { color: var(--teal); }
.footer-links a i { font-size: 0.7rem; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.88rem;
}

.footer-contact-item i {
  color: var(--teal);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item span { color: rgba(255,255,255,0.6); line-height: 1.6; }

.footer-hours dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-bottom: 4px;
  margin-top: 12px;
}

.footer-hours dd { font-size: 0.88rem; color: rgba(255,255,255,0.6); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================
   WHATSAPP FLOAT BUTTON
   ========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.whatsapp-float-tooltip {
  background: var(--navy);
  color: white;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
  box-shadow: var(--shadow-md);
}

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: pulse-green 2.5s ease-in-out infinite;
}

.whatsapp-float-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 6px 30px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 6px 50px rgba(37,211,102,0.7), 0 0 0 12px rgba(37,211,102,0.1); }
}

/* =========================================
   PAGE HERO (inner pages)
   ========================================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--blue) 100%);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: white;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero-content { text-align: center; position: relative; z-index: 1; }

.page-hero h1 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 14px;
}

.page-hero .subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 24px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a { color: var(--teal-light); transition: var(--transition); }
.breadcrumb a:hover { color: white; }

/* =========================================
   PROFILE PAGE
   ========================================= */
.profile-section { background: var(--white); }

.profile-intro {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 70px;
}

.profile-img-card {
  background: linear-gradient(160deg, #dbeafe 0%, #e8f8f5 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
  padding: 40px 30px;
}

.profile-img-card .avatar-icon {
  font-size: 7rem;
  color: var(--blue);
  opacity: 0.2;
  margin-bottom: 16px;
}

.profile-img-card .doc-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--navy);
  font-weight: 600;
}

.profile-img-card .doc-title {
  font-size: 0.82rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 6px 0 16px;
}

.profile-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-tag {
  background: white;
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 0.78rem;
  color: var(--navy);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.profile-bio h2 { color: var(--navy); margin-bottom: 20px; }
.profile-bio p { margin-bottom: 18px; }

.qualifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.qual-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 24px;
  border-left: 4px solid var(--teal);
}

.qual-card .degree {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 4px;
}

.qual-card .institution { font-size: 0.85rem; color: var(--gray-600); }

/* Awards */
.awards-section { background: var(--off-white); }

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.awards-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .awards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .awards-grid-3 {
    grid-template-columns: 1fr;
  }
}

.award-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.award-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.award-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #fef9ec, #fde68a);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b45309;
  font-size: 1rem;
  flex-shrink: 0;
}

.award-card p { font-size: 0.88rem; color: var(--gray-700); margin: 0; line-height: 1.6; }

/* =========================================
   EXPERTISE PAGE
   ========================================= */
.expertise-detail-section { background: var(--white); }

.specialty-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.specialty-card {
  padding: 36px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.specialty-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--teal-light);
}

.specialty-card:last-child { border-bottom: none; }
.specialty-card.reverse { direction: ltr; }

.specialty-icon-wrap {
  position: relative;
}

.specialty-icon-bg {
  width: 100%;
  aspect-ratio: 1;
  max-width: 420px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  opacity: 0.15;
}


.specialty-icon-bg.thyroid { background: linear-gradient(135deg, #e0f7f4, #b2ebf2); color: #00838f; }
.specialty-icon-bg.parathyroid { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); color: #2e7d32; }
.specialty-icon-bg.adrenal { background: linear-gradient(135deg, #e3f2fd, #bbdefb); color: #1565c0; }
.specialty-icon-bg.breast { background: linear-gradient(135deg, #fce4ec, #f8bbd0); color: #ad1457; }

.specialty-content .section-label { margin-bottom: 8px; }
.specialty-content h2 { color: var(--navy); margin-bottom: 16px; }
.specialty-content p { margin-bottom: 20px; }

.procedure-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.procedure-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.procedure-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* =========================================
   RESEARCH PAGE
   ========================================= */
.research-intro { background: var(--white); }
.research-intro { overflow: hidden; }
.publications-section { background: var(--off-white); }

.pub-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}

.pub-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal-light);
  transform: translateX(4px);
}

.pub-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--teal-light);
  font-weight: 700;
  line-height: 1;
  min-width: 48px;
}

.pub-content h3 { color: var(--navy); font-size: 1rem; margin-bottom: 6px; font-family: var(--font-body); font-weight: 600; }
.pub-content .journal { font-size: 0.85rem; color: var(--teal); font-style: italic; margin-bottom: 4px; }
.pub-content .year { font-size: 0.78rem; color: var(--gray-400); }

.research-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.research-area-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--teal);
  transition: var(--transition);
}

.research-area-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.research-area-card i { font-size: 2rem; color: var(--teal); margin-bottom: 12px; }
.research-area-card h4 { color: var(--navy); font-size: 0.95rem; }

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-block { margin-bottom: 32px; }
.contact-info-block h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--teal-light); }

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.contact-info-item .ci-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--green-soft);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info-item .ci-text { flex: 1; }
.contact-info-item .ci-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-400); margin-bottom: 3px; }
.contact-info-item .ci-value { font-size: 0.95rem; color: var(--navy); font-weight: 500; }
.contact-info-item .ci-value a { color: var(--navy); transition: var(--transition); }
.contact-info-item .ci-value a:hover { color: var(--teal); }

/* Hours table */
.hours-table { width: 100%; }
.hours-table tr { border-bottom: 1px solid var(--gray-100); }
.hours-table td { padding: 8px 4px; font-size: 0.88rem; }
.hours-table td:first-child { color: var(--gray-600); }
.hours-table td:last-child { color: var(--navy); font-weight: 500; text-align: right; }
.hours-badge { display: inline-block; background: var(--green-soft); color: var(--teal); padding: 2px 10px; border-radius: 10px; font-size: 0.75rem; font-weight: 600; }

/* Contact Form */
.contact-form-wrap {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form-wrap h3 { color: var(--navy); margin-bottom: 24px; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,188,156,0.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-error { color: #e53e3e; font-size: 0.8rem; margin-top: 5px; display: none; }
.form-error.show { display: block; }

.form-group input.error, .form-group textarea.error, .form-group select.error {
  border-color: #e53e3e;
}

.form-success {
  background: var(--green-soft);
  border: 1px solid var(--teal-light);
  color: var(--teal);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  display: none;
  margin-bottom: 20px;
}

.form-success.show { display: block; }

/* Map */
.map-section { background: var(--off-white); padding: 60px 0; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-embed iframe { width: 100%; height: 400px; border: none; }

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.fade-in-up { animation: fadeInUp 0.7s ease forwards; }
.fade-in-left { animation: fadeInLeft 0.7s ease forwards; }
.fade-in-right { animation: fadeInRight 0.7s ease forwards; }

.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children .animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.stagger-children .animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.stagger-children .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.stagger-children .animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-mini-stats { justify-content: center; }
  .hero-image-wrap { display: flex; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .why-inner { grid-template-columns: 1fr; }
  .why-image-col { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
  .specialty-card { grid-template-columns: 1fr; }
  .specialty-card.reverse { direction: ltr; }
  .specialty-icon-wrap { display: none; }
  .profile-intro { grid-template-columns: 1fr; }
  .profile-img-card { max-width: 300px; }
}

@media (max-width: 768px) {
  :root { --header-height: 65px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .top-bar-contacts { gap: 12px; }
  .top-bar-contacts .email-link { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .section-pad { padding: 70px 0; }
  .contact-form-wrap { padding: 28px 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0; }
  .page-hero { padding: 60px 0 55px; }
  .pub-card { flex-direction: column; gap: 12px; }
  .awards-grid { grid-template-columns: 1fr; }
  .hero-img-placeholder,
  .hero-img { width: 100%; height: auto; max-width: 299px; margin: 0 auto;  }
  .hero-image-bg { width: 100%; max-width: 319px; height: 410px; left: 50%; transform: translateX(-50%);  }
  .hero-card { display: none; } /* hides floating cards on small screens */
  .why-img-main { width: 100%; height: auto; max-width: 500px; margin: 0 auto; }
  .specialty-grid { grid-template-columns: 1fr; }
  .research-intro .container > div { grid-template-columns: 1fr !important; gap: 40px !important;  }
}
}

@media (max-width: 480px) {
  .top-bar { display: none; }
  .hero-actions .btn { padding: 12px 22px; font-size: 0.88rem; }
  .whatsapp-float-btn { width: 52px; height: 52px; font-size: 1.4rem; }
  .whatsapp-float { bottom: 20px; right: 20px; }
}
