/* =============================
   FONTS
   ============================= */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url('fonts/inter-latin-300-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('fonts/inter-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('fonts/inter-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('fonts/inter-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('fonts/playfair-display-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('fonts/playfair-display-latin-700-normal.woff2') format('woff2');
}

/* =============================
   CSS VARIABLES & RESET
   ============================= */
:root {
  --navy: #0f1c2e;
  --navy-mid: #162338;
  --navy-light: #1e3050;
  --gold: #c8a96e;
  --gold-light: #dfc08a;
  --gold-dark: #a8874e;
  --white: #ffffff;
  --off-white: #f5f0e8;
  --text-primary: #1a1a2e;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --bg-primary: #ffffff;
  --bg-secondary: #f8f6f2;
  --bg-card: #ffffff;
  --border: #e2ddd6;
  --shadow: 0 4px 24px rgba(15, 28, 46, 0.08);
  --shadow-hover: 0 8px 40px rgba(15, 28, 46, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-primary: #0f1c2e;
  --bg-secondary: #0a1420;
  --bg-card: #162338;
  --text-primary: #f0ece4;
  --text-secondary: #c0b8ac;
  --text-muted: #8a8070;
  --border: #1e3050;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.5);
}

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

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: background var(--transition), color var(--transition);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul {
  list-style: none;
}

/* =============================
   NAVBAR
   ============================= */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

[data-theme="dark"] #navbar {
  background: rgba(15, 28, 46, 0.92);
}

#navbar.scrolled {
  box-shadow: var(--shadow);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.3px;
}

[data-theme="dark"] .brand-title {
  color: var(--gold-light);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

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

.nav-links a:hover {
  color: var(--gold-dark);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#lang-toggle,
#theme-toggle {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  cursor: pointer;
  border-radius: 8px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

#lang-toggle {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
}

#theme-toggle {
  width: 38px;
  height: 38px;
}

#theme-toggle svg {
  width: 18px;
  height: 18px;
}

#icon-moon {
  display: none;
}

[data-theme="dark"] #icon-sun {
  display: none;
}

[data-theme="dark"] #icon-moon {
  display: block;
}

#lang-toggle:hover,
#theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 1rem 2rem;
  gap: 1rem;
}

.mobile-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-dropdown-btn {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  font-family: inherit;
  transition: color var(--transition);
}

.mobile-dropdown-btn:hover {
  color: var(--gold);
}

.mobile-dropdown-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.mobile-dropdown-btn[aria-expanded="true"] {
  color: var(--gold-dark);
}

.mobile-dropdown-menu {
  display: none;
  flex-direction: column;
  padding-left: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.mobile-dropdown-menu.open {
  display: flex;
}

.mobile-dropdown-menu a {
  border-bottom: none;
  font-size: 0.85rem;
  padding: 0.4rem 0;
}

.mobile-menu.open {
  display: flex;
}

/* =============================
   HERO
   ============================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

#tsparticles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(200, 169, 110, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(15, 28, 46, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

[data-theme="dark"] .hero-bg {
  background:
    radial-gradient(ellipse at 70% 50%, rgba(200, 169, 110, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 20%, rgba(30, 48, 80, 0.5) 0%, transparent 50%);
}

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

.hero-photo-wrapper {
  position: relative;
  flex-shrink: 0;
}

.hero-photo-ring {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, var(--gold), var(--navy), var(--gold-dark), var(--navy-light));
  background-size: 300% 300%;
  box-shadow: 0 20px 60px rgba(200, 169, 110, 0.25);
  position: relative;
  /* Applying the spinning gradient animation */
  animation: spinGradient 8s ease infinite;
}

@keyframes spinGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: var(--bg-secondary);
}

.photo-placeholder {
  display: none;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-secondary);
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.photo-placeholder svg {
  width: 80px;
  height: 80px;
}

.expert-badge {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow);
  /* Applying the floating/bobbing animation */
  animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, -8px);
  }
}

[data-theme="dark"] .expert-badge {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--navy);
}

.hero-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.hero-name span {
  color: var(--gold-dark);
}

[data-theme="dark"] .hero-name span {
  color: var(--gold-light);
}

.hero-position {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

[data-theme="dark"] .hero-position {
  color: var(--gold-light);
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background-color: var(--gold);
  margin-left: 5px;
  margin-bottom: -2px;
  animation: blink 0.8s infinite;
  vertical-align: baseline;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-institution {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.badge {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

[data-theme="dark"] .badge {
  background: var(--navy-light);
  border-color: var(--border);
  color: var(--text-secondary);
}

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

.btn-primary {
  background: var(--navy);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 2px solid var(--navy);
  transition: all var(--transition);
}

.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

[data-theme="dark"] .btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

[data-theme="dark"] .btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 2px solid var(--navy);
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

[data-theme="dark"] .btn-secondary {
  color: var(--gold);
  border-color: var(--gold);
}

[data-theme="dark"] .btn-secondary:hover {
  background: var(--gold);
  color: var(--navy);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(10px);
    opacity: 0.4;
  }
}

/* =============================
   SECTIONS SHARED
   ============================= */
section {
  padding: 6rem 0;
}

section:nth-child(odd):not(#hero) {
  background: var(--bg-primary);
}

section:nth-child(even) {
  background: var(--bg-secondary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--gold-dark));
  margin: 0 auto;
  border-radius: 2px;
}

/* =============================
   ABOUT
   ============================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about-text p:last-child {
  padding-bottom: 2rem;
}

.about-action {
  margin-top: 2rem;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--navy);
  color: var(--gold-light);
  padding: 0.85rem 2rem;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: 1px solid var(--gold);
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(15, 28, 46, 0.15);
}

.download-btn:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(200, 169, 110, 0.3);
}

.download-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

[data-theme="dark"] .download-btn {
  background: transparent;
  color: var(--gold);
}

[data-theme="dark"] .download-btn:hover {
  background: var(--gold);
  color: var(--navy);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.stat-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 36px rgba(200, 169, 110, 0.15);
}

.stat-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.stat-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--gold);
}

.stat-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

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

.stat-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

/* =============================
   EXPERTISE
   ============================= */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.expertise-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold), var(--gold-dark));
  opacity: 0;
  transition: opacity var(--transition);
}

.expertise-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 36px rgba(200, 169, 110, 0.15);
}

.expertise-card:hover::before {
  opacity: 1;
}

.expertise-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.expertise-icon svg {
  width: 44px;
  height: 44px;
  stroke: var(--gold);
}

.expertise-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.expertise-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =============================
   ROLES / TIMELINE
   ============================= */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2.45rem;
  top: 1.5rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.timeline-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 12px 36px rgba(200, 169, 110, 0.15);
}

.timeline-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  background: var(--navy);
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.timeline-badge.active {
  background: rgba(200, 169, 110, 0.15);
  color: var(--gold-dark);
}

.timeline-badge.expert {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
}

.timeline-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.timeline-org {
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.timeline-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =============================
   CONTACT
   ============================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 860px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.contact-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 36px rgba(200, 169, 110, 0.15);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="dark"] .contact-icon {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
}

[data-theme="dark"] .contact-icon svg {
  stroke: var(--navy);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

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

.contact-info a,
.contact-info span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  word-break: break-word;
  transition: color var(--transition);
}

.contact-info a:hover {
  color: var(--gold);
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: var(--navy);
  padding: 3rem 2rem;
}

[data-theme="dark"] footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

[data-theme="dark"] .footer-name {
  color: var(--gold-light);
}

.footer-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .footer-sub {
  color: var(--text-muted);
}

.footer-divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 1rem auto;
  border-radius: 2px;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .footer-copy {
  color: var(--text-muted);
}

/* =============================
   SCROLL ANIMATIONS
   ============================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-up.delay-1,
.slide-in-right.delay-1 {
  transition-delay: 0.1s;
}

.fade-up.delay-2,
.slide-in-right.delay-2 {
  transition-delay: 0.2s;
}

.fade-up.delay-3,
.slide-in-right.delay-3 {
  transition-delay: 0.3s;
}

.fade-up.delay-4,
.slide-in-right.delay-4 {
  transition-delay: 0.4s;
}

/* =============================
   RESPONSIVE
   ============================= */
@media (max-width: 900px) {
  .nav-inner {
    padding: 0 15px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
    padding: 5rem 1.5rem 3rem;
  }

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

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

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

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

  .timeline {
    padding-left: 1.5rem;
  }
}

@media (max-width: 600px) {
  .hero-photo-ring {
    width: 200px;
    height: 200px;
  }

  .hero-name {
    font-size: 2rem;
  }

  section {
    padding: 4rem 0;
  }

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

/* =============================
   DROPDOWN NAV
   ============================= */
.nav-dropdown {
  position: relative;
}

.nav-more-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0;
  transition: color var(--transition);
  font-family: 'Inter', sans-serif;
}

.nav-more-btn:hover {
  color: var(--gold-dark);
}

.nav-more-btn svg {
  transition: transform var(--transition);
}

.nav-more-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.nav-more-btn[aria-expanded="true"] {
  color: var(--gold-dark);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(15, 28, 46, 0.12);
  min-width: 210px;
  padding: 0.5rem 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 999;
}

.nav-dropdown-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}

.nav-dropdown-menu a:hover {
  background: var(--bg-secondary);
  color: var(--gold-dark);
  padding-left: 1.5rem;
}

/* =============================
   ACADEMIC PLACEHOLDER
   ============================= */
.academic-placeholder {
  text-align: center;
  padding: 3.5rem 2rem;
  background: var(--bg-card);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  max-width: 680px;
  margin: 0 auto;
}

.placeholder-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.placeholder-icon svg {
  width: 50px;
  height: 50px;
  stroke: var(--text-muted);
}

.academic-placeholder p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

/* =============================
   SUPERVISION STATS
   ============================= */
.supervision-stat-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.supervision-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  min-width: 150px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.supervision-stat:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.sup-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.sup-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

/* =============================
   AWARDS GRID
   ============================= */
.awards-grid {
  width: 100%;
}

/* =============================
   ACADEMIC QUALIFICATION
   ============================= */
.qual-timeline {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.qual-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.qual-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-dark));
}

.qual-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 36px rgba(200, 169, 110, 0.15);
}

.qual-degree-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
}

.qual-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: 12px;
}

.qual-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold-dark);
}

.qual-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.qual-level {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.qual-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

.qual-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  flex-shrink: 0;
}

.qual-year {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.qual-uni {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: right;
  max-width: 180px;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .qual-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .qual-meta {
    align-items: flex-start;
  }

  .qual-uni {
    text-align: left;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .supervision-stat-row {
    gap: 1rem;
  }

  .supervision-stat {
    min-width: 120px;
    padding: 1rem 1.25rem;
  }
}

/* =============================
   ACADEMIC IMPACT SECTION
   ============================= */
#impact {
  background: var(--navy);
}

[data-theme="dark"] #impact {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2744 100%);
}

#impact .section-tag {
  color: var(--gold-light);
}

#impact .section-header h2 {
  color: var(--white);
}

#impact .divider {
  background: linear-gradient(to right, var(--gold-light), var(--gold));
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: -1rem;
}

.impact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(200, 169, 110, 0.25);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}

.impact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200, 169, 110, 0.07), transparent);
  pointer-events: none;
}

.impact-card:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 36px rgba(200, 169, 110, 0.15);
}

.impact-card--highlight {
  background: linear-gradient(135deg, rgba(200, 169, 110, 0.2), rgba(200, 169, 110, 0.08));
  border-color: var(--gold);
}

.impact-card--highlight:hover {
  background: linear-gradient(135deg, rgba(200, 169, 110, 0.3), rgba(200, 169, 110, 0.12));
}

.impact-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.impact-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--gold-light);
}

.impact-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.impact-num-split {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.split-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.split-divider {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.7;
}

.impact-big-val {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.impact-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.35rem;
}

.impact-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.impact-value-tag {
  display: inline-block;
  margin-top: 0.75rem;
  background: rgba(200, 169, 110, 0.2);
  border: 1px solid rgba(200, 169, 110, 0.4);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

@media (max-width: 900px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .impact-num {
    font-size: 3rem;
  }

  .impact-big-val {
    font-size: 2rem;
  }
}

/* =============================
   RESEARCH STAT CARDS
   ============================= */
.research-stats-row {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.research-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  max-width: 320px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.research-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--gold), var(--gold-dark));
}

.research-stat-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 36px rgba(200, 169, 110, 0.15);
}

.rsnum {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}

.rslabel {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.rsrole {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 650px) {
  .research-stats-row {
    flex-direction: column;
    align-items: center;
  }

  .research-stat-card {
    width: 100%;
    max-width: 100%;
  }

  .rsnum {
    font-size: 2.2rem;
  }
}

/* =============================
   PUBLICATION HIGHLIGHT
   ============================= */
.pub-highlight {
  display: flex;
  align-items: center;
  gap: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.pub-highlight::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-dark));
}

.pub-highlight:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-hover);
}

.pub-count-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 0.25rem;
}

.pub-count {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}

.pub-count-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pub-count-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  flex: 1;
}

@media (max-width: 700px) {
  .pub-highlight {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }
}

/* =============================
   CONSULTATION HIGHLIGHT
   ============================= */
.consultation-highlight {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.consultation-highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--gold), var(--gold-dark));
}

.consultation-highlight:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-hover);
}

.consult-value-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.consult-rm {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.4;
}

.consult-amount {
  font-family: 'Playfair Display', serif;
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.consult-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

@media (max-width: 500px) {
  .consult-amount {
    font-size: 2.5rem;
  }

  .consult-rm {
    font-size: 1.4rem;
  }
}

/* =============================
   RESEARCH LIST ITEMS
   ============================= */
.research-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.research-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.research-item:hover {
  border-color: var(--gold);
  transform: translateX(4px);
  box-shadow: var(--shadow-hover);
}

.ri-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  min-width: 64px;
}

.ri-year {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.ri-role {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  text-align: center;
}

.ri-role--lead {
  background: var(--navy);
  color: var(--gold);
}

[data-theme="dark"] .ri-role--lead {
  background: rgba(200, 169, 110, 0.2);
  color: var(--gold-light);
}

.ri-role--member {
  background: var(--bg-secondary);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.ri-body {
  flex: 1;
}

.ri-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

.ri-funder {
  font-size: 0.78rem;
  color: var(--gold-dark);
  font-weight: 500;
}

/* =============================
   PUBLICATION LIST ITEMS
   ============================= */
.pub-list-items {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pub-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.pub-item:hover {
  border-color: var(--gold);
  transform: translateX(4px);
  box-shadow: var(--shadow-hover);
}

.pub-badge {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-top: 2px;
  white-space: nowrap;
}

.pub-badge--scopus {
  background: #e8523a;
  color: #fff;
}

.pub-badge--wos {
  background: #1a4fa2;
  color: #fff;
}

.pub-badge--era {
  background: #0d7a5a;
  color: #fff;
}

.pub-badge--myci {
  background: #c8212b;
  color: #fff;
}

.pub-badge--gs {
  background: #4285f4;
  color: #fff;
}

.pub-badge--other {
  background: var(--bg-secondary);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.pub-item-body {
  flex: 1;
}

.pub-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 0.2rem;
}

.pub-item-journal {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 650px) {
  .pub-item {
    flex-direction: column;
    gap: 0.6rem;
  }
}

/* =============================
   SUPERVISION LIST
   ============================= */
.sup-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.sup-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.sup-item:hover {
  border-color: var(--gold);
  transform: translateX(4px);
}

.sup-item--completed {
  border-left: 3px solid #10b981;
}

.sup-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6b7280;
  flex-shrink: 0;
  margin-top: 4px;
}

.sup-status-dot--active {
  background: var(--gold);
  box-shadow: 0 0 0 2px rgba(200, 169, 110, 0.25);
}

.sup-item--completed .sup-status-dot {
  background: #10b981;
}

.sup-detail {
  flex: 1;
}

.sup-thesis {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

.sup-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.sup-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: var(--bg-secondary);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.sup-tag--intl {
  background: rgba(15, 28, 46, 0.08);
  color: var(--navy);
  border-color: var(--navy);
}

[data-theme="dark"] .sup-tag--intl {
  background: rgba(200, 169, 110, 0.1);
  color: var(--gold-light);
  border-color: var(--gold);
}

.sup-tag--done {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border-color: #059669;
}

.sup-tag--progress {
  background: rgba(200, 169, 110, 0.12);
  color: var(--gold-dark);
  border-color: var(--gold);
}

.sup-tag--pending {
  background: rgba(251, 191, 36, 0.12);
  color: #b45309;
  border-color: #f59e0b;
}

.sup-role-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: var(--navy);
  color: var(--gold-light);
}

[data-theme="dark"] .sup-role-tag {
  background: rgba(200, 169, 110, 0.2);
  color: var(--gold-light);
}

/* =============================
   CONSULTATION CLIENT CARDS
   ============================= */
.consult-client-row {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.consult-client-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.consult-client-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 36px rgba(200, 169, 110, 0.15);
}

.cc-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.cc-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--gold);
}

.cc-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 0.35rem;
}

.cc-projects {
  font-size: 0.72rem;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.5px;
}

@media (max-width: 700px) {
  .consult-client-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 450px) {
  .consult-client-row {
    grid-template-columns: 1fr;
  }
}

/* =============================
   AWARDS SECTION
   ============================= */
.awards-grid {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.award-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.award-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(to bottom, #cd7f32, #a0522d);
}

.award-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 36px rgba(200, 169, 110, 0.15);
}

.award-medal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.medal-icon {
  font-size: 3rem;
  line-height: 1;
}

.medal-icon svg {
  width: 44px;
  height: 44px;
  stroke: #cd7f32;
}

.medal-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.award-medal--bronze .medal-label {
  color: #cd7f32;
}

.award-detail {
  flex: 1;
}

.award-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.award-event {
  font-size: 0.88rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

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

.award-year {
  font-weight: 700;
  color: var(--text-secondary);
}

@media (max-width: 500px) {
  .award-card {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .award-card::before {
    left: 0;
    top: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: 4px;
  }

  .research-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .ri-meta {
    flex-direction: row;
    min-width: auto;
  }
}

/* =============================
   CONTACT SECTION LAYOUT & FORM
   ============================= */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: none;
  transition: all var(--transition);
}

.contact-card:hover {
  transform: translateX(8px);
  border-color: transparent;
  box-shadow: none;
}

.contact-icon {
  width: 54px;
  height: 54px;
  background: rgba(200, 169, 110, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="dark"] .contact-icon {
  background: rgba(200, 169, 110, 0.1);
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold-dark);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

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

.contact-info a,
.contact-info span:not(.contact-label) {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  transition: color var(--transition);
}

.contact-info a:hover {
  color: var(--gold);
}

@media (max-width: 800px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.contact-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form-container:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 36px rgba(200, 169, 110, 0.15);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
}

[data-theme="dark"] .form-group label {
  color: var(--gold-light);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: var(--bg-primary);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 169, 110, 0.15);
}

/* =============================
   SOCIAL LINKS
   ============================= */
.social-links {
  margin-top: 3rem;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.social-btn:hover {
  border-color: var(--gold);
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 36px rgba(200, 169, 110, 0.15);
  color: var(--gold-dark);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* =============================
   BACK TO TOP
   ============================= */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(200, 169, 110, 0.45);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
  z-index: 9999;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

#back-to-top:hover {
  box-shadow: 0 6px 28px rgba(200, 169, 110, 0.65);
  transform: translateY(-3px);
}

#back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy);
}

/* =============================
   SCROLL-SPY NAV ACTIVE STATES
   ============================= */
.nav-links a.active {
  color: var(--gold-dark);
}

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

.nav-more-btn.active {
  color: var(--gold-dark);
}

/* Mobile menu active link */
.mobile-menu a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* =============================
   MOBILE BOTTOM TAB BAR
   ============================= */
.mobile-tab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
  /* iOS support */
}

.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.tab-item svg {
  width: 22px;
  height: 22px;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.tab-item.active,
.tab-item:hover {
  color: var(--gold-dark);
}

.tab-item.active svg,
.tab-item:hover svg {
  opacity: 1;
  transform: translateY(-2px);
}

[data-theme="dark"] .mobile-tab-bar {
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .tab-item.active,
[data-theme="dark"] .tab-item:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .mobile-tab-bar {
    display: flex;
  }

  /* Create space at bottom so footer/content isn't covered */
  body {
    padding-bottom: 65px;
  }

  /* Hide the old "Back to top" button on mobile, it clashes with top bar */
  #back-to-top {
    display: none !important;
  }
}

/* =============================
   PREMIUM STAT CARDS (For Consultation & Commercialisation)
   ============================= */
.premium-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--transition);
  max-width: 100%;
}

.premium-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-light);
}

.premium-stat-value {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
    white-space: nowrap;
  justify-content: center;
    align-items: baseline;
    gap: 0.5rem;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.premium-stat-rm {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 0.2rem;
}

.premium-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: -0.5px;
}

[data-theme="dark"] .premium-stat-rm,
[data-theme="dark"] .premium-stat-num {
  color: var(--gold);
}

.premium-stat-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.premium-stat-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .premium-stat-card {
    padding: 2rem;
  }

  .premium-stat-rm {
    font-size: 2rem;
  }

  .premium-stat-num {
    font-size: 2.8rem;
  }
}