/* ===== RESEARCH OVERVIEW PAGE STYLES ===== */

:root {
  --green: #009746;
  --dark-green: #007535;
  --blue: #1a427e;
  --white: #ffffff;
  --lightGrey: #f8f9fa;
  --darkGrey: #444;
}

* { box-sizing: border-box; }
body { font-family: 'Segoe UI', sans-serif; margin: 0; padding: 0; overflow-x: hidden; }
html { overflow-x: hidden; }

/* ===== HEADER BG ===== */
.header-bg {
  background: url('/static/images/research/research_overview/header_bg.jpg') no-repeat center center fixed;
  background-size: cover;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}
.mirror-glass-white {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border-radius: 4px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb-bar { background: var(--lightGrey); padding: 0.6rem 1rem; }
.breadcrumb { margin: 0; padding: 0; display: flex; gap: 0.5rem; align-items: center; list-style: none; flex-wrap: wrap; }
.breadcrumb a { color: var(--blue); font-size: 0.78rem; text-decoration: none; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .separator { color: #aaa; font-size: 0.78rem; }

/* Mobile breadcrumb improvements */
@media(max-width: 767px) {
  .breadcrumb-bar {
    padding: 0.5rem 1rem;
  }
  
  .breadcrumb a,
  .breadcrumb .separator {
    font-size: 0.72rem;
  }

  
}

@media(max-width: 480px) {
  .breadcrumb-bar {
    padding: 0.4rem 0.75rem;
  }
  
  .breadcrumb a,
  .breadcrumb .separator {
    font-size: 0.68rem;
  }
}

/* ===== ROOT CONTAINER ===== */
.root { max-width: 1400px; margin: auto; padding: 0 1.2rem; }

/* Mobile root container adjustments */
@media(max-width: 767px) {
  .root {
    padding: 0 1rem;
  }
}

@media(max-width: 480px) {
  .root {
    padding: 0 0.75rem;
  }
}

/* ===== SECTION TITLES ===== */
.section-title-small { font-size: 0.78rem; font-weight: 700; color: var(--green); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.2rem; }
.section-title-main { font-size: 1.6rem; font-weight: 700; color: var(--blue); margin-bottom: 1.5rem; }

/* ===== OVERVIEW SECTION ===== */
.overview-section { 
  padding: 3rem 0; 
  padding-left: 10px;
}
.overview-section p { 
  color: #555; 
  line-height: 1.85; 
  font-size: 1rem; 
  text-align: justify;
}

/* ===== VISION/MISSION CARDS ===== */
.card-border { border: 2px solid transparent; transition: border-color 0.3s; }
.card-border:hover { border-color: var(--green); }
.info-card {
  background: #fff;
  border-radius: 4px;
  padding: 1.4rem;
  height: 100%;
  min-height: 260px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.info-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.info-card h5 { font-weight: 700; color: var(--blue); font-size: 1rem; margin: 0; }
.info-card img { width: 44px; height: 44px; object-fit: contain; }
.info-card ul { padding-left: 1.2rem; margin: 0; }
.info-card ul li { color: #555; font-size: 0.93rem; line-height: 1.75; margin-bottom: 0.4rem; }
.info-card p { color: #555; font-size: 0.93rem; line-height: 1.75; margin: 0; }

/* ===== PARALLAX SECTION ===== */
.parallax-section {
  background: url('/static/images/Index/ecosystem/ecosystem1.jpeg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  padding: 4rem 0;
}
.parallax-card {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(6px);
  padding: 2rem;
  max-width: 480px;
  border-radius: 4px;
}

/* Mobile: left margin gap */
@media(max-width: 767px) {
  .parallax-card {
    margin-left: 10px;
  }
}

/* Desktop: right side positioning */
@media(min-width: 992px) {
  .parallax-card {
    margin-left: auto;
    margin-right: 0;
  }
}

/* ===== LIGHT BG ===== */
.light-bg { background: var(--lightGrey); }

/* Responsive padding for light-bg sections */
@media(max-width: 767px) {
  .light-bg.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

@media(max-width: 480px) {
  .light-bg.py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
}

/* ===== DEAN PROFILE CARDS ===== */
.dean-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: row;
  margin-bottom: 1.5rem;
}
.dean-photo-col {
  background: var(--blue);
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  text-align: center;
}
.dean-photo-col img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid rgba(255,255,255,0.3);
}
.dean-photo-col .name { color: #fff; font-weight: 700; font-size: 0.95rem; margin-top: 0.7rem; }
.dean-photo-col .role { color: rgba(255,255,255,0.75); font-size: 0.82rem; }
.dean-info-col { padding: 1.5rem; flex: 1; }
.dean-info-col h6 { color: var(--blue); font-weight: 700; font-size: 1rem; margin-bottom: 0.3rem; }
.dean-info-col .email { color: var(--green); font-size: 0.88rem; margin-bottom: 1rem; }
.dean-info-col p { color: #555; font-size: 0.92rem; line-height: 1.8; margin: 0; }

@media(max-width: 600px) {
  .dean-card { flex-direction: column; }
  .dean-photo-col { min-width: unset; width: 100%; padding: 1.5rem; }
}

/* ===== OBJECTIVES / POLICY CARDS ===== */
.objective-card {
  background: #fff;
  border-left: 4px solid var(--green);
  padding: 1.2rem 1.4rem;
  border-radius: 0 4px 4px 0;
  margin-bottom: 0.8rem;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}
.objective-card:hover { transform: translateX(4px); }
.objective-card p { margin: 0; color: #444; font-size: 0.95rem; line-height: 1.7; }

/* ===== RESEARCH POLICY HIGHLIGHT ===== */
.policy-highlight {
  background: linear-gradient(135deg, var(--blue) 0%, var(--dark-green) 100%);
  color: #fff;
  padding: 2.5rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.policy-highlight::before {
  content: '\201C';
  position: absolute;
  top: -20px; left: 10px;
  font-size: 10rem;
  color: rgba(255,255,255,0.08);
  font-family: Georgia, serif;
  line-height: 1;
}
.policy-highlight p { font-size: 1.05rem; line-height: 1.85; color: rgba(255,255,255,0.9); margin: 0; }
.policy-highlight .read-more {
  display: inline-block;
  margin-top: 1.2rem;
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.5rem 1.4rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}
.policy-highlight .read-more:hover { background: rgba(255,255,255,0.35); }

/* ===== ACTIVE CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--dark-green) 100%);
  padding: 4rem 1rem;
  text-align: center;
  color: #fff;
}
.cta-section h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 0.8rem; text-shadow: 1px 1px 6px rgba(0,0,0,0.2); }
.cta-section p { font-size: 1.1rem; opacity: 0.88; margin-bottom: 2rem; }
.btn-orange {
  background: #ff6b35;
  color: #fff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 16px rgba(255,107,53,0.35);
  transition: all 0.3s;
}
.btn-orange:hover { background: #e55a2b; transform: translateY(-2px); color: #fff; box-shadow: 0 6px 22px rgba(255,107,53,0.45); }

/* ===== BLUE BUTTON ===== */
.blue-button {
  background: var(--blue);
  color: #fff;
  padding: 0.45rem 1.3rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}
.blue-button:hover { background: var(--dark-green); color: #fff; }

/* Responsive button sizing */
@media(max-width: 767px) {
  .btn-orange,
  .blue-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media(max-width: 480px) {
  .btn-orange,
  .blue-button {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

/* ===== THINK INNOVATE BANNER ===== */
.inspire-banner { padding: 3rem 1rem; text-align: center; }
.inspire-banner .display-text {
  font-size: clamp(1.4rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--blue);
  letter-spacing: 0.02em;
  word-wrap: break-word;
  line-height: 1.3;
}

/* Mobile adjustments for banner */
@media(max-width: 767px) {
  .inspire-banner {
    padding: 2.5rem 1rem;
  }
  
  .inspire-banner .display-text {
    font-size: 1.6rem;
  }
}

@media(max-width: 480px) {
  .inspire-banner {
    padding: 2rem 0.75rem;
  }
  
  .inspire-banner .display-text {
    font-size: 1.3rem;
  }
}

/* ===== RESEARCH FACILITIES ===== */
.facility-card {
  text-align: center;
  padding: 1rem;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  transition: all 0.3s;
  background: #fff;
  text-decoration: none;
  display: block;
}
.facility-card:hover { border-color: var(--green); box-shadow: 0 4px 16px rgba(0,151,70,0.12); transform: translateY(-3px); }
.facility-card img { width: 100%; height: 160px; object-fit: cover; border-radius: 2px; }
.facility-card .label { color: #444; font-weight: 600; font-size: 0.9rem; margin-top: 0.7rem; }

/* ===== ACCORDION STYLES ===== */
.accordion-button {
  font-size: 0.95rem;
  padding: 1rem 1.25rem;
}

.accordion-body {
  font-size: 0.93rem;
  line-height: 1.8;
  padding: 1rem 1.25rem;
}

/* Mobile accordion improvements */
@media(max-width: 767px) {
  .accordion-button {
    font-size: 0.9rem;
    padding: 0.9rem 1rem;
  }
  
  .accordion-body {
    font-size: 0.88rem;
    line-height: 1.7;
    padding: 0.9rem 1rem;
  }
  
  .accordion-item {
    margin-bottom: 0.8rem;
  }
}

@media(max-width: 480px) {
  .accordion-button {
    font-size: 0.85rem;
    padding: 0.8rem 0.9rem;
  }
  
  .accordion-body {
    font-size: 0.85rem;
    line-height: 1.65;
    padding: 0.8rem 0.9rem;
  }
}

/* ===== UNDERTAKING / OFFICE RESPONSIBILITY LISTS ===== */
.responsibility-list { padding: 0; list-style: none; }
.responsibility-list li {
  padding: 0.65rem 0 0.65rem 2rem;
  position: relative;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.7;
  border-bottom: 1px solid #f0f0f0;
}
.responsibility-list li:last-child { border-bottom: none; }
.responsibility-list li::before {
  content: '\f00c';
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 0.85rem;
  top: 0.8rem;
}

/* ===== FADE IN ANIMATION ===== */
.myfade { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.myfade.visible { opacity: 1; transform: translateY(0); }

/* Disable animations on mobile for better performance */
@media(max-width: 767px) {
  .myfade {
    transition: opacity 0.4s ease;
  }
}

@media(prefers-reduced-motion: reduce) {
  .myfade {
    transition: none;
  }
}

/* ===== TWO COL PHOTO SECTION ===== */
.overview-img { width: 100%; border-radius: 4px; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

/* Mobile adjustments for overview image */
@media(max-width: 767px) {
  .overview-img {
    max-width: 100%;
    height: auto;
    margin-top: 1rem;
  }
}

@media(max-width: 480px) {
  .overview-img {
    border-radius: 2px;
  }
}

/* ===== RESPONSIVE ===== */
@media(max-width: 767px) {
  .header-bg { 
    min-height: 180px;
    padding: 1.5rem 1rem;
  }
  
  .mirror-glass-white {
    max-width: 100% !important;
  }
  
  .mirror-glass-white p[style*="font-size:0.75rem"] {
    font-size: 0.7rem !important;
  }
  
  .mirror-glass-white div[style*="font-size:1.4rem"] {
    font-size: 1.1rem !important;
  }
  
  .parallax-section { 
    background-attachment: scroll; 
    padding: 2.5rem 0;
  }
  
  .cta-section { 
    padding: 2.5rem 1rem;
  }
  
  .cta-section h2 { 
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .cta-section p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  /* Prevent horizontal scroll and shaking */
  body, html {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  /* Ensure all containers fit within viewport */
  .root {
    padding: 0 1rem;
    max-width: 100%;
  }
  
  /* Fix card widths on mobile */
  .info-card,
  .dean-card,
  .parallax-card,
  .policy-highlight {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Responsive images */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Fix faculty slider cards */
  .facx-card {
    max-width: 100%;
  }
  
  /* Section titles */
  .section-title-small {
    font-size: 0.7rem;
  }
  
  .section-title-main {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  /* Overview section */
  .overview-section {
    padding: 2rem 0;
  }
  
  /* Info cards */
  .info-card {
    min-height: auto;
    padding: 1.2rem;
  }
  
  .info-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .info-card img {
    width: 36px;
    height: 36px;
  }
  
  .info-card ul li,
  .info-card p {
    font-size: 0.88rem;
    line-height: 1.6;
  }
  
  /* Parallax card */
  .parallax-card {
    padding: 1.5rem;
    max-width: 100%;
  }
  
  .parallax-card h3 {
    font-size: 1.3rem;
  }
  
  .parallax-card p {
    font-size: 0.9rem;
  }
  
  /* Policy highlight */
  .policy-highlight {
    padding: 1.8rem;
  }
  
  .policy-highlight p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  
  .policy-highlight .read-more {
    font-size: 0.8rem;
    padding: 0.4rem 1.2rem;
  }
  
  /* Inspire banner */
  .inspire-banner {
    padding: 2rem 1rem;
  }
  
  .inspire-banner .display-text {
    font-size: 1.5rem;
  }
  
  /* Responsibility list */
  .responsibility-list li {
    font-size: 0.9rem;
    padding-left: 1.8rem;
  }
  
  .responsibility-list li::before {
    font-size: 0.8rem;
    top: 0.7rem;
  }
}

/* Extra small devices */
@media(max-width: 480px) {
  .header-bg {
    min-height: 150px;
    padding: 1rem 0.75rem;
  }
  
  .mirror-glass-white div[style*="font-size:1.4rem"] {
    font-size: 1rem !important;
  }
  
  .section-title-main {
    font-size: 1.2rem;
  }
  
  .overview-section {
    padding: 1.5rem 0;
  }
  
  .info-card {
    padding: 1rem;
  }
  
  .info-card h5 {
    font-size: 0.95rem;
  }
  
  .dean-card {
    border-radius: 0;
  }
  
  .dean-photo-col {
    padding: 1.2rem;
  }
  
  .dean-photo-col img {
    width: 100px;
    height: 100px;
  }
  
  .dean-info-col {
    padding: 1.2rem;
  }
  
  .dean-info-col h6 {
    font-size: 0.95rem;
  }
  
  .dean-info-col p {
    font-size: 0.88rem;
    line-height: 1.7;
  }
  
  .parallax-card {
    padding: 1.2rem;
  }
  
  .parallax-card h3 {
    font-size: 1.2rem;
  }
  
  .cta-section h2 {
    font-size: 1.3rem;
  }
  
  .cta-section p {
    font-size: 0.9rem;
  }
  
  .btn-orange {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* ===== FACX SLIDER STYLES ===== */
.facx-section {
  padding: 3rem 0;
  background: #f8f9fa;
}
.facx-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}
.facx-header {
  text-align: center;
  margin-bottom: 2rem;
}
.facx-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a427e;
  margin: 0;
}
.facx-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.facx-viewport {
  overflow: hidden;
  flex: 1;
}
.facx-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 1.5rem;
}
.facx-card {
  flex: 0 0 calc(25% - 1.125rem);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.facx-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 24px rgba(0,151,70,0.15);
}
.facx-card-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.facx-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
  background: #f0f0f0;
}
.facx-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.facx-card:hover .facx-image img {
  transform: scale(1.05);
}
.facx-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a427e 0%, #009746 100%);
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
}
.facx-info {
  padding: 1.2rem;
  text-align: center;
}
.facx-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a427e;
  margin: 0 0 0.3rem 0;
}
.facx-info p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}
.facx-arrow {
  background: #fff;
  border: 2px solid #009746;
  color: #009746;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 2;
  min-width: 42px; /* Ensure touch target size */
}
.facx-arrow:hover {
  background: #009746;
  color: #fff;
}

/* Mobile touch target improvements */
@media(max-width: 767px) {
  .facx-arrow {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 1.2rem;
  }
}

@media(max-width: 480px) {
  .facx-arrow {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 1.1rem;
  }
}
.facx-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.facx-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
  min-width: 10px;
  min-height: 10px;
}
.facx-dot.active,
.facx-dot:hover {
  background: #009746;
  transform: scale(1.2);
}

/* Mobile dot improvements */
@media(max-width: 767px) {
  .facx-dots {
    gap: 0.5rem;
    margin-top: 1.2rem;
  }
  
  .facx-dot {
    width: 9px;
    height: 9px;
    min-width: 9px;
    min-height: 9px;
  }
}

@media(max-width: 480px) {
  .facx-dots {
    gap: 0.4rem;
    margin-top: 1rem;
  }
  
  .facx-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    min-height: 8px;
  }
}

/* FACX Responsive */
@media(max-width: 991px) {
  .facx-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
  
  .facx-title {
    font-size: 1.6rem;
  }
}

/* Mobile: Show only one card at a time */
@media(max-width: 575px) {
  .facx-card {
    flex: 0 0 100%;
  }
  
  .facx-track {
    gap: 0;
  }
  
  .facx-title {
    font-size: 1.4rem;
  }
  
  .facx-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  
  .facx-image {
    height: 220px;
  }
  
  .facx-section {
    padding: 2.5rem 0;
  }
}

/* ===== PREMIUM HEADER STYLES (RESEARCH PAGE) ===== */
.research-header {
  position: sticky;
  top: 0;
  background: rgba(26, 66, 126, 0.85); /* Bennett Navy with transparency */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2000;
  padding: 0.6rem 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.header-logo:hover {
  transform: scale(1.03);
}

.header-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-text {
  display: flex;
  flex-direction: column;
  color: white;
}

.college-name {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.dept-name {
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.95;
  margin-top: 0.15rem;
  color: #00d26a; /* Vibrant green for department name */
}

/* Desktop Navigation */
.desktop-research-nav {
  display: none;
  gap: 0.5rem;
  align-items: center;
}

.desktop-research-nav button {
  background: transparent;
  border: none;
  color: white;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.desktop-research-nav button::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: white;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}

.desktop-research-nav button:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.desktop-research-nav button:hover::after {
  transform: scaleX(1);
}

/* Mobile Nav Toggle (Hamburger) */
.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 2101;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: white;
  border-radius: 4px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-toggle.active {
  transform: rotate(90deg);
}

.mobile-nav-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-nav-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-research-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-research-nav.active {
  right: 0;
}

.mobile-nav-header {
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #1a427e 0%, #009746 100%);
  color: white;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-title {
  font-weight: 800;
  font-size: 1.2rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
  overflow-y: auto;
}

.mobile-nav-links button {
  background: transparent;
  border: none;
  padding: 1.2rem 2rem;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a427e;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-links button::after {
  content: '→';
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.2s ease;
}

.mobile-nav-links button:hover {
  background: rgba(0, 151, 70, 0.05);
  padding-left: 2.5rem;
  color: #009746;
}

.mobile-nav-links button:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2099;
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

/* Global Sticky Nav Fixes */
body.nav-open {
  overflow: hidden !important;
}

/* Responsive Breakpoints */
@media (min-width: 1024px) {
  .desktop-research-nav {
    display: flex;
  }
  .mobile-nav-toggle {
    display: none;
  }
}

@media (max-width: 1023px) {
  .header-logo img {
    height: 48px;
  }
  .college-name {
    font-size: 0.9rem;
  }
  .dept-name {
    font-size: 0.78rem;
  }
}

@media (max-width: 576px) {
  .header-container {
    padding: 0 1rem;
  }
  .header-logo {
    gap: 0.7rem;
  }
  .header-logo img {
    height: 42px;
  }
  .college-name {
    font-size: 0.8rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    max-width: 180px;
  }
  .dept-name {
    font-size: 0.7rem;
  }
}

/* Consolidating redundant inline styles from research-overview.html */
header, 
.top-bar, 
nav[aria-label="Main Navigation"], 
.main-navigation,
.footer-bottom {
  display: none !important;
}

body, html {
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100vw !important;
}

* {
  box-sizing: border-box;
  max-width: 100%;
}

.root, .header-bg, .breadcrumb-bar, .overview-section, .light-bg, .parallax-section, .facx-section, .cta-section, .inspire-banner {
  max-width: 100vw;
  overflow-x: hidden;
}
