/* ============================================================
   Dr. Manjunath J – Professional Website
   Premium Design System v2
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary Palette */
  --primary-50: #e8f5fe;
  --primary-100: #b8e1fc;
  --primary-200: #89cdfa;
  --primary-300: #59b9f8;
  --primary-400: #2aa5f6;
  --primary-500: #0a8fd4;
  --primary-600: #086fa5;
  --primary-700: #065076;
  --primary-800: #043047;
  --primary-900: #021018;

  /* Accent (Teal / Medical) */
  --accent-50: #e6fcf5;
  --accent-100: #b2f5ea;
  --accent-200: #81e6d9;
  --accent-300: #4fd1c5;
  --accent-400: #38b2ac;
  --accent-500: #319795;
  --accent-600: #2c7a7b;
  --accent-700: #285e61;
  --accent-800: #234e52;
  --accent-900: #1d4044;

  /* Gold Accent */
  --gold-400: #f6c94e;
  --gold-500: #d4a843;
  --gold-600: #b8922e;

  /* Neutrals */
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  --neutral-950: #020617;

  /* Semantic */
  --bg-primary: #040d1a;
  --bg-secondary: #0a1628;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(255, 255, 255, 0.08);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', 'Georgia', serif;

  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1200px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.27, 1.55);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(10, 143, 212, 0.15);
}

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

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

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

a {
  color: var(--primary-400);
  text-decoration: none;
  transition: color 0.3s var(--ease-smooth);
}

a:hover {
  color: var(--primary-300);
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-400);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--primary-400);
  border-radius: 1px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-300), var(--accent-300), var(--gold-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Scroll Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal.active {
  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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Ambient Background Particles ---------- */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s var(--ease-smooth);
}

.navbar.scrolled {
  background: rgba(4, 13, 26, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border-glass);
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand .brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  font-weight: 800;
}

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

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease-smooth);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-400), var(--accent-400));
  transition: width 0.3s var(--ease-smooth);
  border-radius: 1px;
}

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

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

.nav-external {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
}

.nav-external svg {
  opacity: 0.5;
  transition: opacity 0.3s;
}

.nav-external:hover svg {
  opacity: 1;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary-500), var(--accent-600));
  color: white !important;
  padding: 10px 24px !important;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10, 143, 212, 0.35);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-smooth);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: blur(1px);
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(4, 13, 26, 0.95) 0%,
    rgba(4, 13, 26, 0.8) 40%,
    rgba(6, 80, 118, 0.4) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary-300);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  animation: fadeInDown 0.8s var(--ease-smooth);
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-400);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 8px;
  animation: fadeInUp 0.8s var(--ease-smooth) 0.2s both;
}

.hero-title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--primary-300);
  font-weight: 500;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s var(--ease-smooth) 0.35s both;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s var(--ease-smooth) 0.5s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s var(--ease-smooth) 0.65s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-300), var(--accent-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-smooth) 0.8s both;
}

/* Hero Social Links */
.hero-socials {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  animation: fadeInUp 0.8s var(--ease-smooth) 0.95s both;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease-smooth);
}

.social-link:hover {
  background: rgba(10, 143, 212, 0.12);
  border-color: var(--primary-500);
  color: var(--primary-300);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(10, 143, 212, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease-smooth);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
  box-shadow: 0 4px 15px rgba(10, 143, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(10, 143, 212, 0.45);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--bg-glass);
  border-color: var(--primary-400);
  color: var(--primary-300);
  transform: translateY(-3px);
}

/* Hero Visual (Right Side) */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1.2s var(--ease-smooth) 0.5s both;
}

.hero-card {
  position: relative;
  width: 380px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  text-align: center;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(10, 143, 212, 0.3), transparent, rgba(49, 151, 149, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.hero-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-avatar::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}

.hero-card-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-card-role {
  color: var(--primary-300);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.hero-card-institution {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

.hero-card-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.hero-card-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero-card-detail .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Floating elements behind hero card */
.floating-element {
  position: absolute;
  border-radius: 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  padding: 14px 20px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 6s ease-in-out infinite;
  z-index: -1;
}

.floating-element:nth-child(1) {
  top: -20px;
  right: -40px;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  bottom: 40px;
  left: -50px;
  animation-delay: 2s;
}

.floating-element .float-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: white;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: fadeIn 1s var(--ease-smooth) 1.5s both;
}

.scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  font-weight: 600;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .mouse::after {
  content: '';
  width: 4px;
  height: 8px;
  background: var(--primary-400);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-content {
  max-width: 540px;
}

.about-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.highlight-card {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease-smooth);
}

.highlight-card:hover {
  border-color: var(--primary-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.highlight-card .hl-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.highlight-card .hl-title {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--primary-300), var(--accent-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-card .hl-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* About Visual */
.about-visual {
  display: flex;
  justify-content: center;
}

.about-image-wrap {
  position: relative;
  width: 100%;
  max-width: 450px;
}

.about-image-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  backdrop-filter: blur(20px);
}

.about-image-card .qual-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.qual-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.qual-year {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-200);
}

.qual-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.qual-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Career Summary in About Card */
.career-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.career-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 16px;
  border-left: 2px solid var(--primary-600);
  transition: border-color 0.3s var(--ease-smooth);
}

.career-item:hover {
  border-left-color: var(--primary-400);
}

.career-period {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.career-role {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.career-place {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   CLINIC SECTION
   ============================================================ */
.clinic {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(10, 143, 212, 0.03), transparent);
}

.clinic-header {
  text-align: center;
  margin-bottom: 64px;
}

.clinic-header .section-subtitle {
  margin: 0 auto;
}

.clinic-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
}

.clinic-card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.clinic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-500), var(--gold-400));
}

.clinic-card-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.clinic-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-600), var(--accent-600));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.clinic-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.clinic-tagline {
  font-size: 0.82rem;
  color: var(--accent-300);
  font-weight: 500;
}

.clinic-details-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.clinic-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.clinic-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-300);
  flex-shrink: 0;
}

.clinic-detail-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.clinic-detail-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.clinic-detail-value {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.clinic-timing {
  color: var(--text-primary) !important;
  font-weight: 600;
}

.timing-divider {
  color: var(--primary-400);
  margin: 0 4px;
}

.clinic-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.clinic-phone {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--primary-300) !important;
  font-weight: 500;
  transition: all 0.3s var(--ease-smooth);
}

.clinic-phone:hover {
  background: rgba(10, 143, 212, 0.1);
  border-color: var(--primary-500);
  color: var(--primary-200) !important;
}

.clinic-btn {
  margin-top: 32px;
  align-self: flex-start;
}

/* Clinic Map */
.clinic-map {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  min-height: 400px;
  background: var(--bg-card);
}

.clinic-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  filter: brightness(0.8) contrast(1.1) saturate(0.8);
  transition: filter 0.3s var(--ease-smooth);
}

.clinic-map:hover iframe {
  filter: brightness(0.9) contrast(1.05) saturate(0.9);
}

/* ============================================================
   PUBLICATIONS SECTION
   ============================================================ */
.publications {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.publications-header {
  text-align: center;
  margin-bottom: 48px;
}

.publications-header .section-subtitle {
  margin: 0 auto;
}

/* Publication Profile Links */
.pub-profiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto 56px;
}

.pub-profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease-smooth);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.pub-profile-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.02));
  opacity: 0;
  transition: opacity 0.3s;
}

.pub-profile-card:hover {
  border-color: var(--primary-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.pub-profile-card:hover::before {
  opacity: 1;
}

.pub-profile-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pub-profile-icon.google-scholar {
  background: rgba(66, 133, 244, 0.12);
  color: #4285f4;
}

.pub-profile-icon.orcid {
  background: rgba(166, 206, 57, 0.12);
  color: #a6ce39;
}

.pub-profile-icon.scopus {
  background: rgba(233, 114, 0, 0.12);
  color: #e97200;
}

.pub-profile-icon.researchgate {
  background: rgba(0, 210, 174, 0.12);
  color: #00d2ae;
}

.pub-profile-icon.vidwan {
  background: rgba(139, 92, 246, 0.12);
  color: #8b5cf6;
}

.pub-profile-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.pub-profile-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pub-profile-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pub-profile-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.3s var(--ease-smooth);
}

.pub-profile-card:hover .pub-profile-arrow {
  color: var(--primary-400);
  transform: translate(3px, -3px);
}

/* Featured Publications Title */
.pub-featured-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 32px;
  color: var(--text-secondary);
}

.pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pub-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.pub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-400), var(--accent-400));
  border-radius: 0 4px 4px 0;
}

.pub-card:hover {
  border-color: var(--primary-500);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.pub-type {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.pub-type.textbook {
  background: rgba(246, 201, 78, 0.12);
  color: var(--gold-400);
  border: 1px solid rgba(246, 201, 78, 0.2);
}

.pub-type.cochrane {
  background: rgba(49, 151, 149, 0.12);
  color: var(--accent-300);
  border: 1px solid rgba(49, 151, 149, 0.2);
}

.pub-type.journal {
  background: rgba(10, 143, 212, 0.12);
  color: var(--primary-300);
  border: 1px solid rgba(10, 143, 212, 0.2);
}

.pub-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.pub-details {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.pub-details em {
  color: var(--text-secondary);
  font-style: italic;
}

/* Publications banner */
.pub-banner {
  max-width: 1000px;
  margin: 48px auto 0;
  padding: 32px 40px;
  background: linear-gradient(135deg, rgba(10, 143, 212, 0.08), rgba(49, 151, 149, 0.08));
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
}

.pub-banner-icon {
  font-size: 2.5rem;
}

.pub-banner-text h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
}

.pub-banner-text p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.pub-banner-btn {
  margin-left: auto;
  white-space: nowrap;
}

/* ============================================================
   RESEARCH SECTION
   ============================================================ */
.research {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(49, 151, 149, 0.03), transparent);
}

.research-header {
  text-align: center;
  margin-bottom: 64px;
}

.research-header .section-subtitle {
  margin: 0 auto;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.research-card {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.research-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(10, 143, 212, 0.06), transparent);
  border-radius: 0 20px 0 120px;
}

.research-card:hover {
  border-color: var(--accent-500);
  transform: translateY(-6px);
  box-shadow: 0 10px 40px rgba(49, 151, 149, 0.15);
}

.research-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-600), var(--accent-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.research-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.research-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-300);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

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

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.contact-header {
  text-align: center;
  margin-bottom: 64px;
}

.contact-header .section-subtitle {
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  text-align: center;
  transition: all 0.3s var(--ease-smooth);
}

.contact-card:hover {
  border-color: var(--primary-500);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.contact-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary-600), var(--accent-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
  word-break: break-all;
}

.contact-value a {
  color: var(--primary-300);
}

.contact-value a:hover {
  color: var(--primary-200);
  text-decoration: underline;
}

/* Contact Social Media Section */
.contact-socials {
  max-width: 900px;
  margin: 48px auto 0;
  text-align: center;
}

.contact-socials-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.contact-socials-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.3s var(--ease-smooth);
  text-decoration: none;
}

.contact-social-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.contact-social-link.linkedin:hover {
  border-color: #0077b5;
  color: #0077b5;
  background: rgba(0, 119, 181, 0.08);
}

.contact-social-link.twitter:hover {
  border-color: #1da1f2;
  color: #f1f5f9;
  background: rgba(29, 161, 242, 0.08);
}

.contact-social-link.gscholar:hover {
  border-color: #4285f4;
  color: #4285f4;
  background: rgba(66, 133, 244, 0.08);
}

.contact-social-link.rgate:hover {
  border-color: #00d2ae;
  color: #00d2ae;
  background: rgba(0, 210, 174, 0.08);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border-glass);
  position: relative;
  z-index: 1;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.3s var(--ease-smooth);
}

.footer-nav a:hover {
  color: var(--primary-400);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
}

.footer-text {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-domain {
  font-weight: 600;
  color: var(--primary-400);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-500), var(--accent-600));
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s var(--ease-smooth);
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(10, 143, 212, 0.4);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Hide Google Scholar metrics block when not needed */
section#publications .scholar-metrics {
  display: none !important;
}

/* Publications filter styling */
.pub-filter { text-align: center; margin: 14px 0 18px; }
#pub-filter-select {
  padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border-glass);
  background: rgba(255,255,255,0.02); color: var(--text-secondary); font-size: 0.95rem;
}
.pub-filter select option { color: var(--text-primary); background: #06111a; }
.pub-empty { text-align: center; color: var(--text-muted); padding: 18px 0; }

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Counter animation */
.count-up {
  display: inline-block;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-socials {
    justify-content: center;
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-content {
    max-width: 100%;
  }

  .research-grid {
    grid-template-columns: 1fr;
  }

  .clinic-layout {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(4, 13, 26, 0.95);
    backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transition: right 0.4s var(--ease-smooth);
    border-left: 1px solid var(--border-glass);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-card {
    width: 100%;
    max-width: 340px;
  }

  .floating-element {
    display: none;
  }

  .pub-grid {
    grid-template-columns: 1fr;
  }

  .pub-profiles {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 24px;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .pub-banner {
    flex-direction: column;
    text-align: center;
  }

  .pub-banner-btn {
    margin-left: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .contact-socials-row {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-name {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .clinic-card {
    padding: 24px;
  }

  .clinic-phones {
    flex-direction: column;
  }
}
