/* ============================================================
   DR. ANIL PRASAD BHATT — PREMIUM MEDICAL WEBSITE
   Theme: White + Navy + Gold | 7-Page Multi-Page Architecture
   ============================================================ */

/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Primary Palette */
  --navy: #0a1f3f;
  --navy-light: #132d5e;
  --navy-dark: #06142a;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --cream: #f5f3ef;

  /* Gold Accents */
  --gold: #c5a55a;
  --gold-light: #d4b96e;
  --gold-dark: #a68b3e;

  /* Text */
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #8888a0;
  --text-on-dark: #e8e8f0;

  /* Functional */
  --success: #2e7d5b;
  --border: #e2e4ea;
  --shadow-sm: 0 1px 3px rgba(10,31,63,0.06);
  --shadow-md: 0 4px 16px rgba(10,31,63,0.08);
  --shadow-lg: 0 8px 32px rgba(10,31,63,0.12);
  --shadow-xl: 0 16px 48px rgba(10,31,63,0.16);

  /* Spacing */
  --section-pad: 100px 0;
  --container-max: 1200px;
  --container-pad: 0 24px;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; }
p { color: var(--text-secondary); line-height: 1.8; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.section-title { margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 640px; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-subtitle { margin: 0 auto; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(10,31,63,0.2);
}
.btn-primary:hover {
  background: var(--navy-light);
  box-shadow: 0 4px 16px rgba(10,31,63,0.3);
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 2px 8px rgba(197,165,90,0.3);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }

/* === NAVIGATION === */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}

.site-nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.nav-logo-title {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration) var(--ease);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--duration) var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}

.nav-phone svg { color: var(--gold); }

.nav-cta { margin-left: 8px; }

/* Mobile Menu */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all var(--duration) var(--ease);
}

@media (max-width: 968px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--duration) var(--ease);
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links a { font-size: 1.1rem; }

  .nav-phone { display: none; }
  .nav-cta { display: none; }
}

/* === HERO SECTION === */
.hero {
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-credential {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.hero-credential .dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.hero h1 { margin-bottom: 20px; }

.hero-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 36px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image {
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
}

.hero-badge {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-badge-bottom {
  bottom: -20px;
  left: 20px;
}

.hero-badge-top {
  top: 20px;
  right: -20px;
}

.hero-badge-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}

.hero-badge-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.hero-badge-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Trust Strip */
.trust-strip {
  background: var(--navy);
  padding: 20px 0;
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-strip-item {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-on-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-strip-item .separator {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .hero { padding: 100px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-credentials { justify-content: center; }
  .hero-body { margin: 0 auto 32px; }
  .hero-stats { justify-content: center; gap: 24px; }
  .hero-actions { justify-content: center; }
  .hero-image-wrapper { order: -1; }
  .hero-image { max-width: 320px; }
  .hero-badge { display: none; }
  .trust-strip-inner { gap: 20px; }
  .trust-strip-item { font-size: 0.72rem; }
}

/* === CARD SYSTEM === */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: all var(--duration) var(--ease);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-4px);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--off-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: var(--navy);
}

.card-title { margin-bottom: 12px; }
.card-text { font-size: 0.95rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

/* === FEATURE SECTION (alternating) === */
.feature-section { padding: var(--section-pad); }
.feature-section:nth-child(even) { background: var(--off-white); }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-grid.reverse .feature-content { order: 2; }
.feature-grid.reverse .feature-visual { order: 1; }

.feature-image {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.feature-list {
  list-style: none;
  margin-top: 24px;
}

.feature-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.feature-list li:last-child { border-bottom: none; }

.feature-check {
  width: 20px;
  height: 20px;
  background: rgba(46,125,91,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--success);
  font-size: 0.7rem;
}

@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid.reverse .feature-content { order: 1; }
  .feature-grid.reverse .feature-visual { order: 2; }
}

/* === STATS BAR === */
.stats-bar {
  background: var(--navy);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-item-label {
  font-size: 0.85rem;
  color: var(--text-on-dark);
  margin-top: 8px;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-item-number { font-size: 2.2rem; }
}

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: var(--text-on-dark); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === TESTIMONIALS === */
.testimonials { padding: var(--section-pad); background: var(--off-white); }

.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-size: 1rem; font-style: italic; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.8; }
.testimonial-author { font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.testimonial-source { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

/* === FOOTER === */
.site-footer {
  background: var(--navy-dark);
  color: var(--text-on-dark);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-text {
  font-size: 0.9rem;
  color: var(--text-on-dark);
  opacity: 0.7;
  line-height: 1.8;
  margin-top: 16px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-on-dark);
  opacity: 0.7;
  transition: opacity var(--duration) var(--ease);
}

.footer-links a:hover { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: all var(--duration) var(--ease);
  color: var(--white);
  font-size: 1.5rem;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

/* === UTILITIES === */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.bg-off-white { background: var(--off-white); }
.bg-navy { background: var(--navy); }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.gap-12 { gap: 12px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }

/* === PAGE HEADER (for inner pages) === */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
  position: relative;
}

.page-header h1 { color: var(--white); margin-bottom: 16px; }
.page-header p { color: var(--text-on-dark); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }

.page-header .breadcrumb {
  font-size: 0.82rem;
  color: var(--text-on-dark);
  opacity: 0.6;
  margin-bottom: 16px;
}

.page-header .breadcrumb a { color: var(--gold); opacity: 1; }

/* === ACCORDION (for FAQs) === */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 18px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--duration) var(--ease);
}

.accordion-header:hover { background: var(--off-white); }

.accordion-body {
  padding: 0 24px 18px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  display: none;
}

.accordion-item.active .accordion-body { display: block; }
.accordion-item.active .accordion-header { background: var(--off-white); }

/* === FORM STYLES === */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  transition: border-color var(--duration) var(--ease);
  background: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10,31,63,0.08);
}

.form-textarea { min-height: 120px; resize: vertical; }

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === PRELOADER === */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s var(--ease);
}

.preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--navy);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* === PRINT === */
@media print {
  .site-nav, .whatsapp-float, .site-footer { display: none; }
  .hero { padding-top: 20px; }
  body { font-size: 12pt; }
}
