/* ===========================
   ACADEMIC PORTFOLIO STYLES
   =========================== */

:root {
  --color-navy: #0f172a;
  --color-steel-blue: #475569;
  --color-deep-navy: #020617;
  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-gray-100: #f3f4f6;
  --color-gray-300: #d1d5db;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --font-playfair: 'Playfair Display', serif;
  --font-inter: 'Inter', sans-serif;
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.6s ease-in-out;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  /* font-family: var(--font-inter); */
  font-family: "Figtree", "Open Sans", "Avenir Next", Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-gray-800);
  background-color: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===========================
   NAVIGATION STYLES
   =========================== */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-gray-100);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  transition: all var(--transition-normal);
}

.nav-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-logo {
  font-family: var(--font-playfair);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
}

.nav-menu {
  display: none;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-link {
  color: var(--color-steel-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
  padding-bottom: 0.25rem;
}

.nav-link:hover {
  color: var(--color-navy);
}

.nav-link.active {
  color: var(--color-navy);
  border-bottom: 2px solid var(--color-navy);
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--color-steel-blue);
  font-size: 1.125rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.mobile-menu-btn:hover {
  color: var(--color-navy);
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* ===========================
   MAIN CONTENT STYLES
   =========================== */
.main-content {
  padding-top: 5rem;
}

.hero-section {
  background: linear-gradient(to bottom, var(--color-slate-50), white);
  padding: 4rem 0;
}

.hero-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

/* ===========================
   PROFILE SECTION STYLES
   =========================== */
.profile-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-image-container {
  position: relative;
}

.profile-image {
  width: 100%;
  max-width: 18rem;
  height: auto;
  aspect-ratio: 0.7;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  transition: box-shadow var(--transition-normal);
  margin: 0 auto;
  display: block;
}

.profile-image:hover {
  box-shadow: var(--shadow-xl);
}

/* Floating Pill Style Contact Links */
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 18rem;
  margin: 0 auto;
}

.contact-link {
  background: white;
  border: 2px solid var(--color-slate-200);
  color: var(--color-steel-blue);
  padding: 0.75rem 1rem;
  border-radius: 2rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all var(--transition-normal);
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.contact-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.1), rgba(71, 85, 105, 0.08));
  transition: left 0.3s ease;
  z-index: -1;
}

.contact-link:hover {
  color: var(--color-navy);
  border-color: var(--color-steel-blue);
  transform: translateX(4px);
}

.contact-link:hover::before {
  left: 0;
}

.contact-link i {
  font-size: 1rem;
  min-width: 1rem;
  transition: transform 0.3s ease;
}

.contact-link:hover i {
  transform: scale(1.2);
}

.contact-link span {
  font-size: 0.875rem;
}

/* ===========================
   CONTENT SECTION STYLES
   =========================== */
.content-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.intro-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.intro-header {
  margin-bottom: 0.5rem;
}

.main-title {
  font-family: "Figtree", "Open Sans", "Avenir Next", Arial, sans-serif !important;
  font-size: 1.8rem !important;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.subtitle {
  font-size: 1.125rem;
  color: var(--color-steel-blue);
  font-weight: 500;
}

.affiliation {
  font-size: 1rem;
  color: var(--color-gray-600);
  margin-top: 0.25rem;
}

.intro-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.intro-paragraph {
  color: var(--color-gray-700);
  line-height: 1.7;
  font-size: 1rem;
}

.highlight {
  color: var(--color-navy);
  font-weight: 600;
}

.external-link {
  color: var(--color-steel-blue);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.external-link:hover {
  color: var(--color-navy);
}
a, .contact-link {
  cursor: pointer;
}

/* ===========================
   RESEARCH FOCUS STYLES
   =========================== */
.research-focus {
  background-color: var(--color-slate-50);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.research-grid {
  display: grid;
  gap: 1rem;
}

.research-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.research-bullet {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--color-navy);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.research-item span {
  color: var(--color-gray-700);
  font-size: 0.875rem;
}

/* Call to Action Section */
.cta-section {
  padding: 2rem 0;
  background-color: var(--color-slate-50);
  border-top: 1px solid var(--color-gray-100);
}

.cta-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.cta-text {
  font-size: 1rem;
  color: var(--color-gray-700);
  margin: 0;
}

.cta-link {
  color: var(--color-steel-blue);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-fast);
}

.cta-link:hover {
  color: var(--color-navy);
  border-bottom-color: var(--color-navy);
}

/* ===========================
   RESEARCH STYLES
   =========================== */
/* Clean Research Section */

.recent-research-section {
  padding: 3rem 0;
  background-color: white;
}

.recent-research-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title-center {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-navy);
  text-align: center;
  margin-bottom: 2rem;
}

.research-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.research-card {
  background-color: var(--color-slate-50);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-slate-200);
  transition: all var(--transition-normal);
}

.research-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.research-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.research-description {
  font-size: 0.9rem;
  color: var(--color-gray-700);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.research-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background-color: var(--color-steel-blue);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.research-cta {
  text-align: center;
}

.research-more-link {
  color: var(--color-steel-blue);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-fast);
}

.research-more-link:hover {
  color: var(--color-navy);
  border-bottom-color: var(--color-navy);
}
/* ===========================
   RECOGNITION SECTION STYLES
   =========================== */
/* Clean Recognition Section */
.awards-simple {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.award-highlight {
  font-size: 0.95rem;
  color: var(--color-gray-700);
  font-weight: 500;
  margin: 0;
}

.award-note {
  color: var(--color-steel-blue);
  font-weight: 400;
  font-style: italic;
}

.award-list {
  font-size: 0.8rem;
  color: var(--color-gray-500);
  line-height: 1.6;
  margin: 0;
}

/* ===========================
   VISION QUOTE STYLES
   =========================== */
.vision-quote {
  border-left: 4px solid var(--color-navy);
  padding-left: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.vision-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quote-text {
  color: var(--color-gray-600);
  font-style: italic;
  line-height: 1.7;
}

/* ===========================
   STATS SECTION STYLES
   =========================== */
.stats-section {
  padding: 3rem 0;
  background-color: white;
  border-top: 1px solid var(--color-gray-100);
}

.stats-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-navy);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-gray-600);
}

/* ===========================
   FOOTER STYLES
   =========================== */
.footer {
  background-color: var(--color-navy);
  padding: 2rem 0;
}

.footer-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.footer-text {
  color: var(--color-gray-300);
  font-size: 0.875rem;
}

/* ===========================
   RESPONSIVE STYLES
   =========================== */
@media (min-width: 640px) {
  .research-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 2fr;
  }
  .main-title {
    font-size: 3rem;
  }
  .contact-links {
    margin: 0;
  }
  .profile-image {
    margin: 0;
  }
}

/* ===========================
   ANIMATION STYLES
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

/* ===========================
   MOBILE MENU STYLES
   =========================== */
@media (max-width: 767px) {
  .nav-menu.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    gap: 1rem;
    z-index: 1000;
  }
  
  .mobile-menu-btn.active {
    color: var(--color-navy);
  }
  
  body.menu-open {
    overflow: hidden;
  }
}

/* ===========================
   ACCESSIBILITY STYLES
   =========================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

a:focus,
button:focus {
  outline: 2px solid var(--color-navy);
  outline-offset: 2px;
}