/* =========================
   GLOBAL VARIABLES & RESET
   ========================= */
:root {
  --highlight-color: #530eca;  /* Purple highlight */
  --accent-color: #ff6347;     /* Tomato hover */
  --nav-height: 60px;
  --text-color: #333;
  --bg-gradient: linear-gradient(to left, #0033A1, #0072CE, #4A90E2, #A7C7F7); /* Boeing Blue gradient */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   BODY / TYPOGRAPHY
   ========================= */
body {
  font-family: "Poppins", Arial, sans-serif;
  background: var(--bg-gradient);
  color: var(--text-color);
  line-height: 1.6;
  padding-top: var(--nav-height);
  padding-bottom: 100px;
}

h1, h2, h3 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--highlight-color);
}
h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.3rem; }

/* =========================
   NAVIGATION BAR
   ========================= */
nav {
  background-color: rgba(83, 14, 202, 0.95);
  text-align: center;
  padding: 10px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

#menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  position: absolute;
  top: 12px;
  right: 20px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline-block;
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--accent-color);
}

/* =========================
   ACTIVE NAV LINK (LOCKED)
   ========================= */

nav ul li a.active {
  color: #FFD700 !important;   /* Yellow */
  font-weight: 600;
}

/* Keep active yellow even on hover */
nav ul li a.active:hover {
  color: #FFD700 !important;
}


/* ===== MOBILE NAVIGATION ===== */
@media (max-width: 768px) {
  #menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background-color: rgba(83, 14, 202, 0.97);
    position: absolute;
    top: 60px;
    right: 0;
    width: 230px;
    border-radius: 0 0 10px 10px;
    padding: 15px 0;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    display: block;
    margin: 10px 0;
  }
}

/* =========================
   CONTENT WRAPPERS
   ========================= */
main, section {
  max-width: 1200px;
  margin: 30px auto;
  padding: 20px;
  background: #fff;
  color: #000;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* =========================
   CARDS / BLOCKS
   ========================= */
.activity, .cert-card, .project-card, .job-skill {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.activity:hover, .cert-card:hover, .project-card:hover, .job-skill:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.activity h3, .cert-card h3, .project-card h3, .job-skill h3 {
  color: var(--highlight-color);
  margin-top: 0;
}

/* =========================
   GRIDS
   ========================= */
.certifications, .project-grid, .experience-grid, .skills-grid, .leadership-grid {
  display: grid;
  gap: 20px;
}
.certifications { grid-template-columns: repeat(4, 1fr); }
.project-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.experience-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.skills-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.leadership-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* =========================
   BUTTONS / LINKS
   ========================= */
a {
  color: var(--highlight-color);
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: var(--accent-color);
}

/* =========================
   FORMS
   ========================= */
form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #000;
}
input, textarea, select {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  background: #fff;
  color: #000;
}
input[type="submit"] {
  background-color: var(--highlight-color);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s;
}
input[type="submit"]:hover {
  background-color: var(--accent-color);
}
::placeholder {
  color: #777;
}

/* =========================
   FOOTER
   ========================= */
footer {
  text-align: center;
  padding: 20px;
  background-color: var(--highlight-color);
  color: white;
  position: fixed;
  bottom: 0;
  width: 100%;
}
footer a {
  color: #ed791a;
}
footer a:hover {
  text-decoration: underline;
}

/* =========================
   HERO SECTION (Home Page)
   ========================= */
.hero {
  background: linear-gradient(
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.65)
    ),
    url('Roots.png') no-repeat center center/cover;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 60px;
  position: relative;
  overflow: hidden;
  animation: fadeIn 2s ease-in-out;
  font-family: "Poppins", Arial, sans-serif;
}

.hero-content {
  position: relative;
  color: #fff !important;
  text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.9);
  max-width: 800px;
  background: rgba(0, 0, 0, 0.35);
  padding: 50px 60px;
  border-radius: 15px;
  animation: slideUp 1.8s ease-in-out;
}

.hero-title {
  font-size: 5em;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 25px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-content p {
  font-size: 1.3em;
  line-height: 1.8;
  margin-bottom: 35px;
  color: #f5f5f5;
}

.hero-buttons a {
  background: linear-gradient(90deg, #7b2ff7, #f107a3);
  color: #fff;
  padding: 14px 36px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 15px rgba(123, 47, 247, 0.5);
}
.hero-buttons a:hover {
  background: linear-gradient(90deg, #f107a3, #7b2ff7);
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(241, 7, 163, 0.6);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* =====================================================
   INDEX PAGE (3-COLUMN PORTFOLIO)
   ===================================================== */

/* === Animated Boeing Blue Background === */
.index-container {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 25px;
  width: 100%;
  min-height: 100vh;
  padding: 60px;
  box-sizing: border-box;
  color: #fff;
  background: linear-gradient(270deg, #0033A1, #0072CE, #4A90E2, #A7C7F7);
  background-size: 600% 600%;
  animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Sidebar */
.sidebar {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 51, 161, 0.4);
  padding: 50px 25px;
  border-radius: 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.sidebar:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 51, 161, 0.6);
}

/* Profile */
.sidebar img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 25px rgba(0, 51, 161, 0.6);
  margin-bottom: 35px;
  transition: all 0.4s ease;
}
.sidebar img:hover {
  transform: scale(1.07);
  box-shadow: 0 0 40px rgba(167, 199, 247, 0.9);
}

/* Social Links */
.sidebar .social-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.sidebar .social-links a {
  font-size: 1.1em;
  color: #fff;
  letter-spacing: 0.5px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
}
.sidebar .social-links a:hover {
  color: #A7C7F7;
  transform: translateY(-3px);
}

/* Main (Roots Background) */
.main {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 51, 161, 0.4)),
              url('Roots.png') center/cover no-repeat;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 70px 50px;
  box-shadow: 0 10px 30px rgba(0, 51, 161, 0.4);
  backdrop-filter: blur(4px);
  animation: fadeUp 1.2s ease forwards;
}

.main h1 {
  font-size: 2.8em;
  font-family: "Montserrat", sans-serif;
  color: #fff;
  margin-bottom: 40px;
  text-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
}
.main p {
  font-size: 1.2em;
  color: #e5e5e5;
  line-height: 1.9;
  margin-bottom: 60px;
  text-align: justify;
}

/* Button */
.main a {
  align-self: center;
  background: linear-gradient(90deg, #0033A1, #0072CE);
  color: #fff;
  padding: 16px 50px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 0 25px rgba(0, 51, 161, 0.7);
  transition: all 0.3s ease;
}
.main a:hover {
  background: linear-gradient(90deg, #0072CE, #4A90E2);
  transform: scale(1.08);
  box-shadow: 0 0 40px rgba(167, 199, 247, 1);
}

/* Info */
.info {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 10px 25px rgba(0, 51, 161, 0.4);
  font-size: 1.1em;
}
.info h2 {
  text-align: center;
  font-size: 1.8em;
  color: #fff;
  margin-bottom: 30px;
  letter-spacing: 1px;
}
.info li {
  margin: 18px 0;
  color: #e5e5e5;
  line-height: 1.7;
  font-size: 1.1em;
}
.info strong {
  color: #A7C7F7;
  font-weight: 600;
}

/* Fade-in Animations */
.sidebar, .main, .info {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}
.sidebar { animation-delay: 0.2s; }
.main { animation-delay: 0.4s; }
.info { animation-delay: 0.6s; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1024px) {
  .index-container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .index-container { grid-template-columns: 1fr; padding: 30px; }
  .main { padding: 50px 30px; }
  .main h1 { font-size: 2.2em; }
  .sidebar img { width: 180px; height: 180px; }
}


.featured-link {
  background: rgba(255,255,255,0.1);
  padding: 0.75rem 1.2rem;
  border-radius: 8px;
  color: #4fc3f7;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}

.featured-link i {
  margin-right: 0.5rem;
}

.featured-link:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.featured-link.disabled {
  color: #b0bec5;
  cursor: default;
}

/* Projects Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: rgba(255,255,255,0.08);
  padding: 1.5rem;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.project-card h3 {
  margin-bottom: 0.5rem;
  color: #4fc3f7;
}

.project-card p {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.project-card.highlight {
  grid-column: span 2;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  background: rgba(0,0,0,0.4);
  margin-top: 3rem;
}

/* Mobile */
@media (max-width: 768px) {
  #menu-toggle {
    display: block;
  }

  #nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }

  #nav-links.show {
    display: flex;
  }

  .project-card.highlight {
    grid-column: span 1;
  }
}

/* =====================================================
   PROJECTS PAGE THEME
   ===================================================== */

:root {
  --highlight-color: #38bdf8;
  --highlight-dark: #0284c7;
  --dark-text: #111827;
  --muted-text: #4b5563;
  --light-text: #6b7280;
  --card-border: #e5e7eb;
  --soft-bg: #f8fafc;
  --white: #ffffff;
}

/* =====================================================
   PROJECTS PAGE LAYOUT
   ===================================================== */

.projects-page {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 36px;
  background: var(--white);
  border-radius: 18px;
  padding: 56px 32px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

/* Page Heading */
.projects-page .page-title,
.projects-page h1,
.projects-page h2 {
  text-align: center;
  color: var(--highlight-color);
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.projects-page p {
  max-width: 820px;
  margin: 0 auto 32px;
  text-align: center;
  color: var(--muted-text);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* =====================================================
   PROJECT QUICK LINKS
   ===================================================== */

.projects-page .project-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 40px 0 56px;
}

/* Individual Project Link */
.projects-page .project-links li a,
.projects-page .project-links .disabled {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--highlight-dark);
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 16px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

/* Image Container */
.projects-page .project-links .icon {
  width: 100%;
  height: 170px;
  margin-bottom: 14px;
  background: var(--soft-bg);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Project Images */
.projects-page .project-links .icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

/* Hover Effects */
.projects-page .project-links li a:hover {
  transform: translateY(-6px);
  color: var(--highlight-color);
  border-color: var(--highlight-color);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.15);
}

.projects-page .project-links li a:hover .icon img {
  transform: scale(1.06);
}

/* Disabled/In Progress State */
.projects-page .project-links .disabled {
  color: #ffffff;
  cursor: default;
  background: #f9fafb;
}

.projects-page .project-links .disabled .icon {
  opacity: 0.6;
  filter: grayscale(1);
}

/* =====================================================
   PROJECT GRID & CARDS
   ===================================================== */

.project-grid,
.projects-page .project-grid {
  max-width: 1200px;
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.project-card,
.projects-page .project-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.project-card:hover,
.projects-page .project-card:hover {
  transform: translateY(-5px);
  border-color: var(--highlight-color);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
}

/* Card Titles */
.project-card h3,
.projects-page .project-card h3 {
  margin-bottom: 16px;
  color: var(--highlight-color);
  text-align: center;
  font-size: 1.28rem;
  font-weight: 800;
}

/* Card Text */
.project-card p,
.projects-page .project-card p {
  margin: 0 0 8px;
  text-align: left;
  color: #000000;
  font-size: 1rem;
  line-height: 1.6;
}

.project-card strong,
.projects-page .project-card strong {
  color: #000000;
  font-weight: 800;
}

/* Highlight Card */
.project-card.highlight,
.projects-page .project-card.highlight {
  background: linear-gradient(135deg, #f0f9ff, #ffffff);
  border-left: 6px solid var(--highlight-color);
}

.project-card.highlight h3,
.projects-page .project-card.highlight h3 {
  color: var(--highlight-color);
}

/* Make wide highlight card look balanced */
.project-card.highlight p,
.projects-page .project-card.highlight p {
  max-width: 100%;
  text-align: left;
}

/* =====================================================
   HIDE UNNEEDED ELEMENTS
   ===================================================== */

.projects-page .hero,
.projects-page .index-container,
.projects-page .sidebar,
.projects-page .main,
.projects-page .info {
  display: none;
}

/* =====================================================
   SEMESTER / COURSE CARDS
   ===================================================== */

.semesters-container {
  max-width: 1200px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 24px;
}

.semester-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.semester-card:hover {
  transform: translateY(-5px);
  border-color: var(--highlight-color);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.semester-card h3 {
  margin-bottom: 6px;
  color: var(--highlight-color);
  font-size: 1.2rem;
  font-weight: 800;
}

.semester-card .date {
  font-size: 0.92rem;
  color: var(--light-text);
  margin-bottom: 14px;
}

.semester-card ul {
  padding-left: 1.2rem;
  margin: 0;
}

.semester-card li {
  margin-bottom: 0.45rem;
  color: #374151;
  line-height: 1.55;
}

/* Visual emphasis */
.semester-card.ongoing {
  border-left: 6px solid #22c55e;
}

.semester-card.upcoming {
  border-left: 6px solid #3b82f6;
}

/* =====================================================
   MOBILE RESPONSIVENESS
   ===================================================== */

@media (max-width: 768px) {
  .projects-page {
    padding: 36px 18px;
    border-radius: 14px;
  }

  .projects-page .project-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .projects-page .project-links .icon {
    height: 190px;
  }

  .project-grid,
  .projects-page .project-grid {
    grid-template-columns: 1fr;
  }

  .semesters-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .projects-page h1,
  .projects-page h2 {
    font-size: 1.65rem;
  }

  .projects-page .project-links .icon {
    height: 160px;
  }

  .project-card,
  .projects-page .project-card,
  .semester-card {
    padding: 20px;
  }
}
/* ========================================
   Research Page
======================================== */

/* Research Page Title */
h2.page-title {
  text-align: center;
  margin: 30px 0;
  font-size: 2rem;
  color: #000;
  border-bottom: 3px solid #530eca;
  display: inline-block;
  padding-bottom: 5px;
}

/* Center the inline-block page title */
main {
  text-align: center;
}

/* Research Introduction */
.research-introduction {
  max-width: 1000px;
  margin: 0 auto 30px auto;
  padding: 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.research-introduction h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #530eca;
  font-size: 1.4rem;
}

.research-introduction p {
  margin: 0;
  color: #333;
  font-size: 1rem;
  line-height: 1.7;
}

/* Research Grid */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto 50px auto;
  padding: 20px;
  text-align: left;
}

/* Research Card */
.research-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  border-top: 5px solid #530eca;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.research-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Research Icon */
.research-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  border-radius: 50%;
  background: #530eca;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* Research Card Headings */
.research-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.25rem;
  color: #530eca;
  line-height: 1.4;
}

/* Research Role */
.research-role {
  margin: 0 0 4px 0;
  color: #111;
  font-size: 1rem;
  font-weight: bold;
}

/* Research Location and Date */
.research-location {
  margin: 0 0 16px 0;
  color: #555;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* General Research Paragraphs */
.research-card p {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Research Lists */
.research-card ul {
  margin: 12px 0 20px 0;
  padding-left: 22px;
  color: #333;
}

.research-card li {
  margin-bottom: 9px;
  font-size: 0.94rem;
  line-height: 1.55;
}

/* Research Highlight Box */
.research-highlight {
  margin-top: auto;
  padding: 15px;
  border-left: 4px solid #530eca;
  border-radius: 6px;
  background: #f2ecff;
  color: #333;
  font-size: 0.94rem;
  line-height: 1.6;
}

.research-highlight strong {
  color: #530eca;
}

/* Publication Information */
.research-publication {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
}

.research-publication strong {
  color: #530eca;
}

/* Research Interests Section */
.research-interests {
  max-width: 1000px;
  margin: 0 auto 45px auto;
  padding: 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.research-interests h3 {
  margin-top: 0;
  margin-bottom: 18px;
  color: #530eca;
  font-size: 1.4rem;
  text-align: center;
}

/* Research Interest Tags */
.interest-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.interest-tags span {
  display: inline-block;
  padding: 9px 15px;
  border: 1px solid #530eca;
  border-radius: 20px;
  background: #f5f0ff;
  color: #530eca;
  font-size: 0.9rem;
  font-weight: bold;
}

/* Research Statistics Section */
.research-statistics {
  max-width: 1100px;
  margin: 0 auto 50px auto;
  padding: 25px;
  text-align: left;
}

.research-statistics h3 {
  margin-top: 0;
  margin-bottom: 25px;
  color: #530eca;
  font-size: 1.4rem;
  text-align: center;
}

/* Statistics Grid */
.statistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
}

/* Statistic Card */
.statistic-card {
  padding: 25px 18px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.statistic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.statistic-card i {
  margin-bottom: 12px;
  color: #530eca;
  font-size: 1.8rem;
}

.statistic-number {
  display: block;
  color: #530eca;
  font-size: 1.7rem;
  font-weight: bold;
}

.statistic-card p {
  margin: 8px 0 0 0;
  color: #333;
  font-size: 0.92rem;
}

/* Tablet Layout */
@media screen and (max-width: 900px) {
  .research-grid {
    grid-template-columns: 1fr;
    max-width: 750px;
  }

  .research-introduction,
  .research-interests {
    margin-left: 20px;
    margin-right: 20px;
  }
}

/* Mobile Layout */
@media screen and (max-width: 600px) {
  h2.page-title {
    font-size: 1.7rem;
    margin: 24px 0;
  }

  .research-grid {
    padding: 15px;
  }

  .research-card {
    padding: 20px;
  }

  .research-introduction,
  .research-interests {
    margin-left: 15px;
    margin-right: 15px;
    padding: 20px;
  }

  .statistics-grid {
    grid-template-columns: 1fr;
  }

  .interest-tags {
    justify-content: flex-start;
  }
}
