/* ============================================================
   DR. AZHAR ANWAR — WEBSITE STYLESHEET v10.2
   ============================================================
   
   CHANGES IN v10.2:
   - JPG backgrounds instead of SVG
   - Theme-aware overlays (adapts to light/dark mode)
   - Light font added for hero name
   
   ============================================================ */


/* ============================================================
   FONTS
   ============================================================ */

/* English - Headings (Light weight for hero name) */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CormorantGaramond-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CormorantGaramond-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CormorantGaramond-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* English - Body Text */
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

/* Hindi Text */
@font-face {
  font-family: 'Noto Sans Devanagari';
  src: url('../fonts/NotoSansDevanagari-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Noto Sans Devanagari';
  src: url('../fonts/NotoSansDevanagari-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }


/* ============================================================
   COLORS - LIGHT THEME (default)
   ============================================================ */

:root {
  /* Backgrounds */
  --bg:         #FAFAFA;
  --bg-alt:     #F3F4F6;
  --bg-card:    #FFFFFF;
  --bg-card-lt: #F9FAFB;
  
  /* Text Colors */
  --ink:        #1F2937;
  --ink-soft:   #4B5563;
  --ink-light:  #9CA3AF;
  --ink-faint:  #D1D5DB;
  
  /* Primary Color (Teal) */
  --accent:     #0D9488;
  --accent-dk:  #0F766E;
  --accent-lt:  rgba(13,148,136,0.08);
  --accent-xs:  rgba(13,148,136,0.04);
  
  /* Secondary Color (Gold) */
  --gold:       #B8860B;
  --gold-dk:    #996F00;
  --gold-lt:    rgba(184,134,11,0.1);
  
  /* Borders & Lines */
  --line:       #E5E7EB;
  
  /* Shadows */
  --shadow:     0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 10px 15px rgba(0,0,0,0.06), 0 4px 6px rgba(0,0,0,0.04);
  
  /* Fonts */
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;
  
  /* Spacing & Sizing */
  --nav-h:      72px;
  --max:        1100px;
  --radius:     6px;
  --radius-md:  12px;
  --trans:      0.2s ease;
  
  /* THEME-AWARE OVERLAYS - Light mode */
  --overlay-hero:        linear-gradient(rgba(200,200,200,0.50), rgba(200,200,200,0.50));
  --overlay-page-header: linear-gradient(rgba(200,200,200,0.35), rgba(200,200,200,0.35));
  --overlay-section:     linear-gradient(rgba(250,250,250,0.85), rgba(250,250,250,0.85));
  --overlay-cta:         linear-gradient(rgba(13,148,136,0.88), rgba(13,148,136,0.88));
}


/* ============================================================
   COLORS - DARK THEME
   ============================================================ */

[data-theme="dark"] {
  --bg:         #0F1419;
  --bg-alt:     #1C2B2D;
  --bg-card:    #1A2328;
  --bg-card-lt: #243035;
  
  --ink:        #F3F4F6;
  --ink-soft:   #D1D5DB;
  --ink-light:  #9CA3AF;
  --ink-faint:  #4B5563;
  
  --accent:     #5BBCB0;
  --accent-dk:  #4AA89D;
  --accent-lt:  rgba(91,188,176,0.12);
  --accent-xs:  rgba(91,188,176,0.06);
  
  --gold:       #C9A96E;
  --gold-dk:    #B8944D;
  --gold-lt:    rgba(201,169,110,0.12);
  
  --line:       #2D3B40;
  
  --shadow:     0 1px 3px rgba(0,0,0,0.2);
  --shadow-md:  0 4px 6px rgba(0,0,0,0.25);
  --shadow-lg:  0 10px 15px rgba(0,0,0,0.3);
  
  /* THEME-AWARE OVERLAYS - Dark mode */
  --overlay-hero:        linear-gradient(rgba(15,20,25,0.40), rgba(15,20,25,0.40));
  --overlay-page-header: linear-gradient(rgba(15,20,25,0.35), rgba(15,20,25,0.35));
  --overlay-section:     linear-gradient(rgba(15,20,25,0.85), rgba(15,20,25,0.85));
  --overlay-cta:         linear-gradient(rgba(13,100,90,0.9), rgba(13,100,90,0.9));
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.25;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dk); }


/* ============================================================
   NAVIGATION BAR
   ============================================================ */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
  transition: background var(--trans), box-shadow var(--trans);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.nav-brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.3rem;
}

.nav-links a {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius);
  transition: color var(--trans), background var(--trans);
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--trans);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover {
  background: var(--gold-dk);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-ghost:hover {
  background: var(--accent);
  color: #fff;
}

.btn-wa {
  background: #25D366;
  color: #fff;
}
.btn-wa:hover {
  background: #1fb855;
  color: #fff;
  transform: translateY(-1px);
}
.btn-wa svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}


/* ============================================================
   THEME & LANGUAGE BUTTONS
   ============================================================ */

.icon-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1rem;
  color: var(--ink-soft);
  transition: all var(--trans);
}
.icon-btn:hover {
  background: var(--accent-lt);
  color: var(--accent);
  border-color: var(--accent);
}

.lang-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius);
  transition: color var(--trans), background var(--trans);
}
.lang-link:hover {
  color: var(--accent);
  background: var(--accent-xs);
}


/* ============================================================
   MOBILE MENU
   ============================================================ */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  right: 1rem;
  width: 200px;
  background: var(--bg);
  flex-direction: column;
  padding: 0.5rem 0;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.mobile-menu.open { display: flex; }

.mobile-menu a {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.mobile-menu a:hover { 
  color: var(--accent); 
  background: var(--bg-alt);
}

.mobile-menu-footer {
  margin-top: 0.5rem;
  padding: 0.5rem 1.2rem 0.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  align-items: center;
}


/* ============================================================
   PAGE SECTIONS
   ============================================================ */

section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.rule {
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 0;
}


/* ============================================================
   PAGE HERO (Section header for inner pages)
   ============================================================ */

.page-hero {
  padding: calc(var(--nav-h) + 3rem) 2rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
  /* Background set per-page via inline style or page CSS */
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 500px;
  margin: 0 auto;
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  transition: color var(--trans);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: var(--max);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--ink-light);
}

.credential-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.credential-badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--accent-lt);
  color: var(--accent);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}


/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */

.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  transition: transform var(--trans), box-shadow var(--trans);
  z-index: 900;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}


/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 9999;
}
.skip-link:focus { top: 0; }

.inline-link {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--trans);
}
.inline-link:hover {
  color: var(--accent-dk);
  text-decoration: underline;
}


/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }


/* ============================================================
   RESPONSIVE / MOBILE STYLES
   ============================================================ */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  
  .footer-inner { grid-template-columns: 1fr 1fr; }
  
  .wa-float { bottom: 16px; right: 16px; width: 52px; height: 52px; }
  .wa-float svg { width: 26px; height: 26px; }
}

@media (max-width: 600px) {
  section { padding: 3.5rem 1.2rem; }
  
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  
  .page-hero { padding: calc(var(--nav-h) + 2.5rem) 1.2rem 2.5rem; }
}
