/* ==========================================================================
   Hero Section Styling
   ========================================================================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 0;
}

.hero-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

}

.hero-logo-wrapper {
  max-width: clamp(280px, 90vw, 884px);
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  border-radius: 50%;
}

.hero-logo {
  width: 100%;
  height: auto;
  display: block;
}

.hero-title {
  font-family: var(--font-headings);
  font-size: clamp(2.5rem, 12vw, 9.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--color-text-white);
  margin: 0;
}

.hero-tagline {
  font-size: clamp(1.1rem, 3.5vw, 1.8rem);
  font-weight: 500;
  color: var(--color-text-white);
  margin-top: -8px;
  letter-spacing: 0.02em;
}

.hero-description {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  color: var(--color-text-muted);
  max-width: 680px;
  line-height: 1.8;
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
}


/* ==========================================================================
   Quick Metrics / Statistics
   ========================================================================== */
.metrics-section {
  padding: 40px 0;
  border-y: 1px solid var(--color-border);
  background: rgba(15, 23, 42, 0.02);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.metric-card {
  text-align: center;
  padding: 24px;
}

.metric-number {
  font-family: var(--font-headings);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-blue-accent);
  margin-bottom: 8px;
}

.metric-label {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Home Section Layouts
   ========================================================================== */
.section-title {
  font-size: 2.2rem;
  margin-bottom: 16px;
  text-align: center;
  font-weight: 700;
}

.section-subtitle {
  color: var(--color-text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px auto;
  font-size: 1.1rem;
}

/* Research Areas Grid */
.research-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.research-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.research-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.research-card-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
  color: var(--color-blue-accent);
}

.research-card h3 {
  font-size: 1.35rem;
  color: var(--color-text-white);
}

.research-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

/* ==========================================================================
   Latest News & Featured Grid Layouts
   ========================================================================== */
.news-featured-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.news-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-item {
  display: flex;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-date {
  flex-shrink: 0;
  width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-navy-dark);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px;
  height: max-content;
}

.news-date .day {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-orange-accent);
}

.news-date .month {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

.news-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.news-content h3 a:hover {
  color: var(--color-blue-glow);
}

.news-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Featured Publications on Home */
.featured-pubs-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.featured-pub-card {
  padding: 20px;
}

.featured-pub-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--color-text-white);
  line-height: 1.4;
}

.featured-pub-authors {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.featured-pub-venue {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--color-blue-glow);
  margin-bottom: 12px;
}

/* Call to Action Section */
.cta-section {
  text-align: center;
  position: relative;
  background: var(--color-navy-dark);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 60px 40px;
  margin-top: 40px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--color-shadow);
}

.cta-content {
  position: relative;
  z-index: 5;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* ==========================================================================
   Home Page Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    gap: 30px;
  }

  .hero-content {
    align-items: center;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .research-areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-featured-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 640px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .research-areas-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Home Page (#0f172a) Dark/Light Alternating Sections & UI/UX Overrides
   ========================================================================== */
html.home-page {
  background-color: var(--color-dark-bg);
}

body.home-page {
  background-color: transparent;
  color: var(--color-text-white);
}

body.home-page .main-content {
  background-color: transparent;
}

/* Scrollbar overrides for Home Page */
body.home-page::-webkit-scrollbar-track {
  background: var(--color-dark-bg);
}

body.home-page ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
}

body.home-page ::-webkit-scrollbar-thumb:hover {
  background: #38bdf8;
}

/* --- Section 1: Hero Section (Light Slate Solid) --- */
body.home-page .hero {
  background: var(--color-dark-bg);
  border-bottom: 1px solid var(--color-border);
}

body.home-page .hero h1,
body.home-page .hero-title {
  color: var(--color-text-white);
}

body.home-page .hero-tagline {
  color: var(--color-text-white);
}

body.home-page .hero-description {
  color: var(--color-text-muted);
}

/* --- Section 2: Metrics Section (Dark Navy Solid) --- */
body.home-page .metrics-section {
  background: #0E1D3D;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 50px 0;
}

body.home-page .metrics-section .metric-number {
  color: #38bdf8;
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

body.home-page .metrics-section .metric-label {
  color: #ffffff;
}

body.home-page .metrics-section .glass-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

body.home-page .metrics-section .glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.15);
}

/* --- Section 3: Mission Overview Section (Light Slate Solid) --- */
body.home-page .mission-section {
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  padding: 60px 0;
}

body.home-page .mission-section h2,
body.home-page .mission-section .section-title {
  color: #0f172a;
}

body.home-page .mission-section .section-subtitle {
  color: #475569;
}

body.home-page .mission-section .glass-card {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  color: #475569;
}

body.home-page .mission-section .glass-card strong {
  color: var(--color-blue-accent);
}

body.home-page .mission-section .glass-card:hover {
  background: rgba(255, 255, 255, 0.90);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.10);
  color: #0f172a;
}

/* --- Section 4: Key Research Directions Section (Dark Navy Solid) --- */
body.home-page .research-section {
  background: #0E1D3D;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0;
}

body.home-page .research-section h2,
body.home-page .research-section .section-title {
  color: #ffffff;
}

body.home-page .research-section .section-subtitle {
  color: #ffffff;
}

body.home-page .research-section .glass-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

body.home-page .research-section .research-card h3 {
  color: #ffffff;
}

body.home-page .research-section .research-card p {
  color: #ffffff;
}

body.home-page .research-section .glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.15);
  color: #ffffff;
}

/* --- Section 5: News and Publications Section (Light Slate Solid) --- */
body.home-page .news-section {
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  padding: 60px 0;
}

body.home-page .news-section h2,
body.home-page .news-section h3 a {
  color: #0f172a;
}

body.home-page .news-section h3 a:hover {
  color: var(--color-blue-accent);
}

body.home-page .news-section p {
  color: #475569;
}

body.home-page .news-section .news-item {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

body.home-page .news-section .news-date {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
}

body.home-page .news-section .news-date .day {
  color: var(--color-orange-accent);
}

body.home-page .news-section .news-date .month {
  color: #475569;
}

body.home-page .news-section .glass-card {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  color: #475569;
}

body.home-page .news-section .glass-card:hover {
  background: rgba(255, 255, 255, 0.90);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.10);
  color: #0f172a;
}

body.home-page .news-section .featured-pub-venue {
  color: var(--color-blue-accent);
}

body.home-page .news-section .btn-secondary {
  border: 1px solid var(--color-border);
  background: var(--color-navy-light);
  color: var(--color-text-white);
}

body.home-page .news-section .btn-secondary:hover {
  background: var(--color-border);
  border-color: var(--color-text-muted);
}

/* --- Section 6: Call to Action Section (Dark Navy Solid) --- */
body.home-page .cta-container {
  background: #0E1D3D;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0;
}

body.home-page .cta-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

body.home-page .cta-section h2 {
  color: #ffffff;
}

body.home-page .cta-section p {
  color: #ffffff;
}