/* =============================
   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: #d1c8bb; /* Lighter for better contrast */
  --text-muted: #a69e90; /* Lighter for better contrast */
  --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;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border: 3px solid var(--bg-primary);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

[data-theme="dark"] ::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border: 3px solid var(--bg-primary);
}

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;
}

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

[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.4rem;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
}

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

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

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

[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
   ============================= */




/* =============================
   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;
}

[data-theme="dark"] .nav-dropdown-menu {
  background: var(--navy-mid);
  border-color: var(--navy-light);
}

[data-theme="dark"] .nav-dropdown-menu a:hover {
  background: var(--navy-light);
  color: var(--white);
}

/* =============================
   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;
}

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

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

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

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

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

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

.impact-card {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(200, 169, 110, 0.3) !important;
  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.1), transparent);
  pointer-events: none;
}

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

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

.impact-card--highlight:hover {
  background: linear-gradient(135deg, rgba(200, 169, 110, 0.4), rgba(200, 169, 110, 0.2)) !important;
}

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

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

.impact-num,
.split-num,
.impact-big-val {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold-light) !important;
  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-size: 2.8rem;
}

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

.impact-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white) !important;
  opacity: 0.95;
  margin-bottom: 0.35rem;
}

.impact-sub {
  font-size: 0.78rem;
  color: var(--white) !important;
  opacity: 0.7;
  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;
}





/* =============================
   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;
}



/* =============================
   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--mycite {
  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;
}



/* =============================
   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);
}

