/* ═══════════════════════════════════════════
   DR. CHANDRASHEKAR JATOTH — PORTFOLIO CSS
   Theme: Deep Navy · Gold · Teal  
   ═══════════════════════════════════════════ */

:root {
  --navy:       #0d1b38;
  --navy-mid:   #1a2c50;
  --navy-light: #243659;
  --gold:       #e2b96f;
  --gold-light: #f0d49a;
  --teal:       #38d9c0;
  --teal-dim:   #1fada0;
  --accent:     #5b8af5;
  --soft-white: #eef2f9;
  --muted:      #8a9bbf;
  --card-bg:    #162140;
  --border:     rgba(255,255,255,0.08);
  --shadow:     0 8px 40px rgba(0,0,0,0.35);
  --radius:     14px;
  --font-head:  'Playfair Display', serif;
  --font-body:  'DM Sans', sans-serif;
  --font-mono:  'JetBrains Mono', monospace;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--soft-white);
  overflow-x: hidden;
  cursor: none;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ═══════════════════ PRELOADER ═══════════════════ */
#preloader {
  position: fixed; inset: 0;
  background: var(--navy);
  z-index: 9999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.2rem;
  transition: opacity 0.6s, visibility 0.6s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 56px; height: 56px;
  border: 3px solid rgba(226,185,111,0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
.loader-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100%{opacity:0.4} 50%{opacity:1} }

/* ═══════════════════ CUSTOM CURSOR ═══════════════════ */
.cursor-dot, .cursor-ring {
  position: fixed; pointer-events: none; z-index: 9998; border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
.cursor-dot { width: 6px; height: 6px; background: var(--gold); }
.cursor-ring {
  width: 30px; height: 30px;
  border: 1.5px solid var(--gold);
  opacity: 0.5;
  transition: width 0.3s, height 0.3s, opacity 0.3s;
}
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 48px; height: 48px; opacity: 0.3;
}

/* ═══════════════════ NAVBAR ═══════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  background: rgba(13,27,56,0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.4); }

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit;
}
.brand-initials {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 700; font-size: 1rem;
  color: var(--navy);
}
.brand-name {
  font-weight: 600; font-size: 0.95rem;
  color: var(--soft-white);
  letter-spacing: 0.02em;
}

.nav-links { list-style: none; display: flex; gap: 0.2rem; }
.nav-link {
  display: block; padding: 0.45rem 0.9rem;
  color: var(--muted); font-size: 0.88rem; font-weight: 500;
  text-decoration: none; border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--gold); background: rgba(226,185,111,0.1);
}

.menu-toggle {
  display: none; background: none; border: none;
  color: var(--gold); font-size: 1.3rem; cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: 0; right: -100%;
  width: 260px; height: 100vh;
  background: var(--navy-mid);
  z-index: 1100;
  padding: 2rem 1.5rem;
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
  border-left: 1px solid var(--border);
}
.mobile-menu.open { right: 0; }
.close-menu {
  background: none; border: none; color: var(--muted);
  font-size: 1.3rem; cursor: pointer; margin-bottom: 2rem;
  display: block;
}
.mobile-menu ul { list-style: none; }
.mob-link {
  display: block; padding: 0.75rem 0;
  color: var(--soft-white); text-decoration: none;
  font-size: 1rem; font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mob-link:hover { color: var(--gold); }

/* ═══════════════════ HERO ═══════════════════ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center;
  padding: 100px 5% 60px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(91,138,245,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,138,245,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); animation: drift 12s ease-in-out infinite alternate;
}
.orb-1 { width: 500px; height: 500px; background: rgba(56,217,192,0.08); top: -10%; right: -5%; }
.orb-2 { width: 350px; height: 350px; background: rgba(226,185,111,0.07); bottom: 10%; left: -5%; animation-delay: -3s; }
.orb-3 { width: 250px; height: 250px; background: rgba(91,138,245,0.1); top: 40%; right: 25%; animation-delay: -6s; }
@keyframes drift { from { transform: translateY(0) scale(1); } to { transform: translateY(-30px) scale(1.05); } }

.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 4rem;
  width: 100%;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(91,138,245,0.12);
  border: 1px solid rgba(91,138,245,0.25);
  border-radius: 50px;
  font-size: 0.8rem; font-weight: 500;
  color: var(--accent);
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--soft-white);
  margin-bottom: 0.8rem;
}
.highlight-name {
  background: linear-gradient(90deg, var(--gold), var(--teal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-role {
  font-size: 1.05rem; font-weight: 500;
  color: var(--muted); margin-bottom: 0.8rem;
  letter-spacing: 0.04em;
}

.hero-tagline {
  font-size: 1.1rem; color: var(--soft-white);
  margin-bottom: 2rem; min-height: 1.8em;
}
.typed-text { color: var(--teal); font-weight: 600; }
.cursor-blink { animation: blink 1s step-end infinite; color: var(--gold); }
@keyframes blink { 50% { opacity: 0; } }

.hero-stats {
  display: flex; gap: 1.2rem; flex-wrap: wrap;
  margin-bottom: 2.2rem;
}
.stat-pill {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 1.2rem;
  font-size: 0.85rem;
  display: flex; flex-direction: column; align-items: center;
  gap: 0.1rem;
  transition: border-color var(--transition), transform var(--transition);
}
.stat-pill:hover { border-color: var(--gold); transform: translateY(-3px); }
.stat-num { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--gold); display: inline; }
.stat-label { color: var(--muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  background: linear-gradient(135deg, var(--gold), #c9983e);
  color: var(--navy);
  border: none; border-radius: 10px;
  font-weight: 700; font-size: 0.9rem;
  text-decoration: none; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: 0 4px 20px rgba(226,185,111,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(226,185,111,0.45); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  background: transparent;
  color: var(--soft-white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-weight: 600; font-size: 0.9rem;
  text-decoration: none; cursor: pointer;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* Photo */
.hero-photo-wrap {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.photo-frame {
  position: relative; width: 280px; height: 280px;
}
.photo-ring {
  position: absolute; border-radius: 50%;
  animation: rotate-ring 10s linear infinite;
}
.ring-1 {
  inset: -18px;
  border: 1.5px dashed rgba(226,185,111,0.3);
}
.ring-2 {
  inset: -34px;
  border: 1px dashed rgba(56,217,192,0.15);
  animation-duration: 18s; animation-direction: reverse;
}
.ring-3 {
  inset: -50px;
  border: 1px dashed rgba(91,138,245,0.1);
  animation-duration: 25s;
}
@keyframes rotate-ring { to { transform: rotate(360deg); } }

.profile-photo {
  width: 280px; height: 280px; border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
  position: relative; z-index: 2;
  box-shadow: 0 0 50px rgba(226,185,111,0.25);
}
.photo-glow {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,185,111,0.15) 0%, transparent 70%);
  z-index: 1;
}

.float-badge {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem; font-weight: 500;
  color: var(--teal);
  box-shadow: var(--shadow);
  white-space: nowrap;
  animation: float-y 4s ease-in-out infinite alternate;
  z-index: 5;
}
.float-badge i { margin-right: 0.3rem; }
.f-badge-1 { top: 10%; left: -8%; animation-delay: 0s; }
.f-badge-2 { bottom: 15%; left: -12%; animation-delay: -1.5s; }
.f-badge-3 { top: 35%; right: -14%; animation-delay: -3s; }
@keyframes float-y { from { transform: translateY(0); } to { transform: translateY(-10px); } }

.scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 5%;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: var(--muted); font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: fade-pulse 2.5s ease-in-out infinite;
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
@keyframes fade-pulse { 0%,100%{opacity:0.4} 50%{opacity:1} }

/* ═══════════════════ SECTION COMMON ═══════════════════ */
.section-pad { padding: 90px 5%; }
.container { max-width: 1180px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700; color: var(--soft-white);
  margin-bottom: 0.8rem;
}
.title-underline {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  margin: 0 auto; border-radius: 2px;
}

/* ═══════════════════ ABOUT ═══════════════════ */
.about { background: var(--navy-mid); }

.about-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem;
  align-items: start;
}

.bio-lead {
  font-size: 1.12rem; font-weight: 500; color: var(--soft-white);
  line-height: 1.75; margin-bottom: 1rem;
}
.bio-text {
  font-size: 0.95rem; color: var(--muted); line-height: 1.8;
  margin-bottom: 0.8rem;
}

.about-contact-chips { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: rgba(56,217,192,0.08);
  border: 1px solid rgba(56,217,192,0.2);
  border-radius: 50px;
  font-size: 0.78rem; color: var(--teal);
  text-decoration: none;
  transition: background var(--transition);
}
.chip:hover { background: rgba(56,217,192,0.15); }

.about-details { display: flex; flex-direction: column; gap: 1rem; }
.detail-card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
}
.detail-card:hover { border-color: rgba(226,185,111,0.2); transform: translateX(4px); }
.detail-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(226,185,111,0.15), rgba(226,185,111,0.05));
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--gold); font-size: 0.9rem;
}
.detail-card h4 {
  font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gold); margin-bottom: 0.3rem;
}
.detail-card p, .detail-card li {
  font-size: 0.87rem; color: var(--muted); line-height: 1.6;
}
.edu-list { list-style: none; }
.edu-list li { margin-bottom: 0.2rem; }

/* ═══════════════════ RESEARCH ═══════════════════ */
.research { background: var(--navy); }

.research-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}

.research-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative; overflow: hidden;
}
.research-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--rc-color, var(--gold));
  opacity: 0; transition: opacity var(--transition);
}
.research-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.12); box-shadow: var(--shadow); }
.research-card:hover::before { opacity: 1; }

.rc-icon-wrap {
  width: 50px; height: 50px;
  background: color-mix(in srgb, var(--rc-color) 15%, transparent);
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.25rem;
  color: var(--rc-color, var(--gold));
  margin-bottom: 1rem;
  transition: transform var(--transition);
}
.research-card:hover .rc-icon-wrap { transform: scale(1.1) rotate(-5deg); }

.research-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem; font-weight: 600;
  color: var(--soft-white); margin-bottom: 0.6rem;
}
.research-card p { font-size: 0.87rem; color: var(--muted); line-height: 1.7; margin-bottom: 1rem; }

.rc-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.rc-tags span {
  font-size: 0.7rem; font-weight: 500;
  padding: 0.2rem 0.6rem;
  background: rgba(255,255,255,0.06);
  border-radius: 50px; color: var(--muted);
}

/* ═══════════════════ PUBLICATIONS ═══════════════════ */
.publications { background: var(--navy-mid); }

.pub-filters {
  display: flex; gap: 0.6rem; margin-bottom: 2rem; flex-wrap: wrap;
}
.pub-filter {
  padding: 0.45rem 1.1rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--muted); font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: all var(--transition);
}
.pub-filter.active, .pub-filter:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.pub-list { display: flex; flex-direction: column; gap: 1rem; }
.pub-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  transition: transform var(--transition), border-color var(--transition);
}
.pub-item:hover { transform: translateX(5px); border-color: rgba(226,185,111,0.2); }
.pub-item.hidden { display: none; }

.pub-meta {
  display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap;
  margin-bottom: 0.6rem;
}
.pub-year {
  font-family: var(--font-mono);
  font-size: 0.78rem; color: var(--gold);
  background: rgba(226,185,111,0.1);
  padding: 0.15rem 0.6rem; border-radius: 50px;
}
.pub-type {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.15rem 0.6rem; border-radius: 50px;
}
.journal-tag { background: rgba(56,217,192,0.12); color: var(--teal); }
.conf-tag { background: rgba(91,138,245,0.12); color: var(--accent); }
.pub-if {
  font-size: 0.75rem; color: var(--muted);
  background: rgba(255,255,255,0.05);
  padding: 0.15rem 0.6rem; border-radius: 50px;
  border: 1px solid var(--border);
}

.pub-title {
  font-family: var(--font-head);
  font-size: 0.97rem; font-weight: 600;
  color: var(--soft-white); margin-bottom: 0.4rem;
  line-height: 1.5;
}
.pub-authors {
  font-size: 0.83rem; color: var(--muted); margin-bottom: 0.4rem;
  line-height: 1.5;
}
.pub-authors strong { color: var(--gold); }
.pub-venue {
  font-size: 0.83rem; color: var(--teal); font-style: italic;
}
.pub-venue i { margin-right: 0.35rem; font-style: normal; }

/* ═══════════════════ EXPERIENCE ═══════════════════ */
.experience { background: var(--navy); }

.exp-tabs { display: flex; gap: 0.5rem; margin-bottom: 2.5rem; }
.exp-tab {
  padding: 0.5rem 1.4rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--muted); font-size: 0.88rem; font-weight: 500;
  cursor: pointer; transition: all var(--transition);
}
.exp-tab.active { background: var(--navy-light); border-color: var(--gold); color: var(--gold); }

.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--teal), transparent);
}
.timeline.hidden { display: none; }

.tl-item {
  position: relative; margin-bottom: 2rem;
  padding-left: 1.8rem;
}
.tl-dot {
  position: absolute; left: -2rem; top: 0.35rem;
  width: 14px; height: 14px;
  background: var(--navy);
  border: 2px solid var(--muted);
  border-radius: 50%;
  z-index: 1;
  transition: border-color var(--transition);
}
.tl-dot.current { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 4px rgba(226,185,111,0.2); }
.tl-dot.research-dot { border-color: var(--teal); background: var(--teal); }
.tl-item:hover .tl-dot { border-color: var(--gold); }

.tl-period {
  font-family: var(--font-mono); font-size: 0.73rem;
  color: var(--gold); letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}
.tl-role {
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 600;
  color: var(--soft-white); margin-bottom: 0.3rem;
}
.tl-org {
  font-size: 0.85rem; color: var(--teal); margin-bottom: 0.4rem;
}
.tl-org i { margin-right: 0.3rem; }
.tl-desc { font-size: 0.87rem; color: var(--muted); line-height: 1.7; }

/* ═══════════════════ METRICS ═══════════════════ */
.metrics {
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  padding: 70px 5%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.metrics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; max-width: 1180px; margin: 0 auto;
}
.metric-card {
  text-align: center; padding: 2rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--transition), border-color var(--transition);
}
.metric-card:hover { transform: translateY(-5px); border-color: rgba(226,185,111,0.2); }
.metric-icon {
  font-size: 1.5rem; color: var(--teal);
  margin-bottom: 0.8rem;
}
.metric-num {
  font-family: var(--font-head);
  font-size: 2.5rem; font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.metric-label {
  font-size: 0.8rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ═══════════════════ CONTACT ═══════════════════ */
.contact { background: var(--navy-mid); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem;
}

.contact-info h3 {
  font-family: var(--font-head);
  font-size: 1.5rem; color: var(--soft-white); margin-bottom: 0.8rem;
}
.contact-info p { color: var(--muted); line-height: 1.8; margin-bottom: 2rem; font-size: 0.95rem; }

.contact-items { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color var(--transition);
}
.contact-item:hover { border-color: rgba(56,217,192,0.25); }
.ci-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(56,217,192,0.1);
  border-radius: 9px;
  display: grid; place-items: center;
  color: var(--teal);
}
.ci-label {
  display: block; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 0.15rem;
}
.ci-value {
  font-size: 0.88rem; color: var(--soft-white);
  text-decoration: none; line-height: 1.5;
  transition: color var(--transition);
}
a.ci-value:hover { color: var(--gold); }

/* Form */
.contact-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 500;
  color: var(--muted); margin-bottom: 0.4rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.form-group input, .form-group textarea {
  width: 100%; padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--soft-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  resize: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: rgba(226,185,111,0.4);
  background: rgba(255,255,255,0.06);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(138,155,191,0.5); }
.form-submit { width: 100%; justify-content: center; margin-top: 0.3rem; }
.form-success {
  margin-top: 1rem; padding: 0.75rem 1rem;
  background: rgba(56,217,192,0.1);
  border: 1px solid rgba(56,217,192,0.3);
  border-radius: 9px;
  color: var(--teal); font-size: 0.88rem;
}
.hidden { display: none !important; }

/* ═══════════════════ FOOTER ═══════════════════ */
.footer {
  background: #090f20;
  padding: 2rem 5%;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.footer-brand {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.85rem; color: var(--muted);
}
.footer-brand strong { color: var(--soft-white); display: block; }
.footer-brand small { font-size: 0.75rem; }
.footer-copy { font-size: 0.8rem; color: var(--muted); }
.footer-links { display: flex; gap: 1rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.82rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }

/* Back to Top */
.back-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 42px; height: 42px;
  background: var(--gold);
  color: var(--navy);
  border: none; border-radius: 12px;
  font-size: 0.9rem; cursor: pointer;
  box-shadow: 0 4px 20px rgba(226,185,111,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 500;
}
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-3px); }

/* ═══════════════════ REVEAL ANIMATIONS ═══════════════════ */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: none;
}

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-photo-wrap { order: -1; }
  .hero-stats, .hero-actions { justify-content: center; }
  .f-badge-1, .f-badge-2 { left: auto; right: -14%; }
  .f-badge-3 { right: -18%; }
  .research-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .research-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .hero-stats { gap: 0.8rem; }
  .stat-pill { padding: 0.55rem 0.9rem; }
  .float-badge { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .section-pad { padding: 60px 5%; }
}

@media (max-width: 480px) {
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}
