/* ==========================================================================
   MAHARASHTRA GENE BANK PROGRAMME (MGBP)
   ARCHITECTURE: PAGE-WISE & LAYOUT STYLESHEET (style.css)
   ========================================================================== */

/* ==========================================================================
   PAGE 1: HOME & HERO SECTION (index.html, marine.html)
   ========================================================================== */

/* --- 1.1 Hero Section Wrapper & Hero Carousel --- */
.hero-carousel-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: var(--soft);
}

.hero-carousel-item {
  position: relative;
  overflow: hidden;
  background-color: #edf5f0;
}

.hero-carousel-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-carousel-item.slide-hero-original .hero-carousel-img {
  object-fit: cover;
  object-position: center right;
}

.hero-carousel-indicators {
  position: absolute;
  bottom: 20px;
  margin-bottom: 0;
  z-index: 3;
  gap: 10px;
}

.hero-carousel-indicators [data-bs-target] {
  width: 32px;
  height: 6px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(19, 56, 43, 0.2);
  transition: all 0.3s ease;
}

.hero-carousel-indicators .active {
  width: 54px;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.hero-carousel-control {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(19, 56, 43, 0.15);
  color: var(--title-color);
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  opacity: 0.85;
  transition: all 0.25s ease;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(19, 56, 43, 0.15);
}

.hero-carousel-control:hover {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}

@media (max-width: 991.98px) {
  .hero-carousel-img {
    height: 380px;
  }
}

@media (max-width: 575.98px) {
  .hero-carousel-img {
    height: 240px;
  }
}

.hero-wrapper {
  position: relative;
  background-color: #eaf4f8;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 40%, rgba(255, 255, 255, 0.1) 56%, rgba(255, 255, 255, 0) 100%),
    url('../img/banner/hero.png');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  padding: 70px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-title {
  font-family: var(--title-font);
  font-size: clamp(32px, 4.2vw, 46px);
  font-weight: 800;
  color: var(--title-color);
  line-height: 1.18;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-title .highlight-river {
  color: var(--title-color);
}

.hero-lead {
  font-size: 17px;
  font-weight: 400;
  color: var(--body-color);
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 540px;
  text-align: left;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* --- 1.2 4-Row Animated Infinite Marquee / Card Showcase --- */
.hero-marquee-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  padding: 10px 0;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.marquee-row {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 14px;
  align-items: center;
}

/* Bi-directional Keyframe Scroll Animations */
.track-ltr-1 {
  animation: scrollLTR 36s linear infinite;
}

.track-rtl-2 {
  animation: scrollRTL 40s linear infinite;
}

.track-ltr-3 {
  animation: scrollLTR 38s linear infinite;
}

.track-rtl-4 {
  animation: scrollRTL 42s linear infinite;
}

.marquee-row:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes scrollLTR {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0%);
  }
}

@keyframes scrollRTL {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Small Image Card in Hero Marquee */
.small-img-card {
  width: 230px;
  height: 86px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(17, 61, 72, 0.05);
  transition: all 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}

.small-img-card:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--primary-color);
  box-shadow: 0 8px 22px rgba(28, 168, 203, 0.2);
}

.small-img-card .img-thumb {
  width: 70px;
  height: 70px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
  background-color: #eef3f5;
}

.small-img-card .card-details {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  justify-content: center;
}

.small-img-card .card-category {
  font-family: var(--title-font);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 2px;
}

.small-img-card .card-name {
  font-family: var(--title-font);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--title-color);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.small-img-card .card-location {
  font-size: 12px;
  color: #718d96;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- 1.3 Statistical Highlights Strip --- */
.facts-strip {
  background: #ffffff;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.fact-item {
  border-left: 3.5px solid var(--secondary-color);
  padding: 4px 0 4px 18px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.fact-item:hover {
  transform: translateX(4px);
  border-left-color: var(--primary-color);
}

.fact-number {
  font-family: var(--title-font);
  font-size: 34px;
  font-weight: 800;
  color: var(--title-color);
  line-height: 1.1;
  margin-bottom: 6px;
  transition: color 0.25s ease;
}

.fact-item:hover .fact-number {
  color: var(--primary-color);
}

.fact-label {
  font-family: var(--body-font);
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.45;
  font-weight: 500;
}

/* --- 1.3.1 Home Project Purpose & Overview Section --- */
.home-intro-section {
  padding: 72px 0 68px;
  background-color: #ffffff;
  border-bottom: 1px solid var(--line);
}

.home-intro-section .intro-p {
  font-family: var(--body-font);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--body-color);
  text-align: left;
  margin-bottom: 16px;
}

.about-image-wrapper {
  position: relative;
  padding: 6px;
}

.about-image-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(17, 61, 72, 0.12);
  border: 1px solid rgba(17, 61, 72, 0.08);
  background-color: #eaf4f8;
}

.about-main-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-frame:hover .about-main-img {
  transform: scale(1.03);
}

.about-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(17, 61, 72, 0.12);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 25px rgba(17, 61, 72, 0.12);
  transition: transform 0.3s ease;
}

.about-image-frame:hover .about-image-badge {
  transform: translateY(-2px);
}

.about-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: rgba(26, 92, 107, 0.12);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-badge-title {
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 15px;
  color: var(--title-color);
  line-height: 1.25;
  margin-bottom: 2px;
}

.about-badge-subtitle {
  font-size: 12.5px;
  color: #55727c;
  line-height: 1.35;
}

@media (max-width: 991.98px) {
  .about-main-img {
    height: 380px;
  }

  .about-image-wrapper {
    margin-top: 24px;
  }
}

@media (max-width: 575.98px) {
  .about-main-img {
    height: 280px;
  }

  .about-image-badge {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 10px 14px;
    gap: 10px;
  }

  .about-badge-title {
    font-size: 13.5px;
  }

  .about-badge-subtitle {
    font-size: 11.5px;
  }
}

/* --- 1.4 7 Thematic Highlights (Pill Cards) --- */
.themes-strip {
  padding: 72px 0;
  background: var(--soft);
}

.theme-pill-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 24px;
  height: 100%;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(16, 53, 39, 0.04);
}

.theme-pill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(11, 133, 68, 0.14);
  border-color: var(--primary-color);
}

.theme-card-img-wrap {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background-color: #f7faf8;
  border: 1px solid rgba(16, 53, 39, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: all 0.35s ease;
}

.theme-card-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.35s ease;
}

.theme-pill-card:hover .theme-card-img-wrap {
  background-color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 6px 18px rgba(11, 133, 68, 0.12);
}

.theme-pill-card:hover .theme-card-img {
  transform: scale(1.08);
}

.theme-pill-card .category-pill {
  font-family: var(--title-font);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  display: inline-block;
}

.theme-pill-card h4 {
  font-family: var(--title-font);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 4px;
  line-height: 1.35;
  transition: color 0.25s ease;
}

.theme-pill-card:hover h4 {
  color: var(--primary-color);
}

/* --- 1.5 Recent Research & Activities Cards --- */
.research-activities-section {
  background-color: #ffffff;
  padding: 75px 0 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.research-activity-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.28s ease;
  box-shadow: 0 4px 18px rgba(17, 61, 72, 0.03);
}

.research-activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(17, 61, 72, 0.1);
  border-color: var(--primary-color);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.research-tag {
  font-family: var(--title-font);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 6px;
}

.tag-marine {
  background: #e1f5fa;
  color: #0c7790;
}

.tag-crops {
  background: #fbf5e6;
  color: #9b7211;
}

.tag-livestock {
  background: #faece6;
  color: #8c4728;
}

.tag-freshwater {
  background: #e4f4f8;
  color: #1e6c87;
}

.tag-grassland {
  background: #f2f6df;
  color: #60700d;
}

.tag-forest {
  background: #e5f4ea;
  color: #1e6c38;
}

.activity-type {
  font-size: 11.5px;
  font-weight: 600;
  color: #84969c;
}

.card-heading {
  font-family: var(--title-font);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.card-heading a {
  color: var(--title-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-heading a:hover {
  color: var(--primary-color);
}

.card-summary {
  font-size: 13.5px;
  color: var(--body-color);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.card-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}

.stat-badge {
  font-size: 11.5px;
  font-weight: 500;
  background: #f3f8fa;
  border: 1px solid #e1ecf0;
  padding: 4px 10px;
  border-radius: 20px;
  color: var(--title-color);
}

.stat-badge strong {
  color: var(--primary-color);
  font-weight: 700;
}

.card-footer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  opacity: 0.95;
  transform: translateY(0);
  transition: opacity 0.25s ease;
  pointer-events: auto;
}

.research-activity-card:hover .card-footer-info,
.research-activity-card:focus-within .card-footer-info {
  opacity: 1;
}

.partner-meta {
  font-family: var(--body-font);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.card-arrow-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.22s ease;
}

.research-activity-card:hover .card-arrow-link,
.card-arrow-link:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateX(3px);
}

/* --- 1.6 Research Carousel Controls & Indicators --- */
.carousel-nav-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #ffffff;
  color: var(--title-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(16, 53, 39, 0.05);
}

.carousel-nav-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 133, 68, 0.25);
}

.carousel-nav-btn:active {
  transform: translateY(0);
}

.research-indicators button {
  width: 28px !important;
  height: 6px !important;
  border-radius: 10px !important;
  background-color: #cbdbe1 !important;
  border: none !important;
  opacity: 0.5 !important;
  transition: all 0.3s ease !important;
  margin: 0 4px !important;
}

.research-indicators button.active {
  width: 44px !important;
  background-color: var(--primary-color) !important;
  opacity: 1 !important;
}

/* --- 1.6.1 Standardized Section Headers & Meta Links --- */
.section-col-title {
  font-family: var(--title-font);
  font-size: clamp(21px, 2.4vw, 26px);
  font-weight: 800;
  color: var(--title-color);
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.section-col-sub {
  font-family: var(--body-font);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  font-weight: 400;
}

.view-all-link {
  font-family: var(--title-font);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.view-all-link:hover {
  color: var(--primary-hover);
  transform: translateX(3px);
}

/* --- 1.6.2 Reports & Publications Auto-Scrolling Slider --- */
.reports-autoscroll-slider {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(16, 53, 39, 0.05);
  position: relative;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.reports-autoscroll-slider:hover {
  box-shadow: 0 12px 32px rgba(16, 53, 39, 0.1);
  border-color: rgba(11, 133, 68, 0.3);
}

.report-slide-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.report-slide-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #f1f6f3;
}

.report-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reports-autoscroll-slider:hover .report-slide-img {
  transform: scale(1.04);
}

.report-slide-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 34, 25, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: var(--title-font);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.report-slide-body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.report-slide-title {
  font-family: var(--title-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--title-color);
  line-height: 1.38;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.report-slide-card:hover .report-slide-title {
  color: var(--primary-color);
}

.report-slide-meta {
  font-family: var(--body-font);
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

.report-slide-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--title-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  transition: var(--transition-fast);
}

.report-slide-link:hover {
  color: var(--title-color);
  transform: translateX(3px);
}

.reports-ctrl-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(16, 53, 39, 0.15);
  top: 100px;
  opacity: 0.85;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
}

.reports-ctrl-btn:hover {
  background: var(--primary-color);
  opacity: 1;
  transform: scale(1.08);
}

.reports-ctrl-btn .carousel-control-prev-icon,
.reports-ctrl-btn .carousel-control-next-icon {
  width: 14px;
  height: 14px;
  filter: invert(1);
}

.reports-ctrl-btn:hover .carousel-control-prev-icon,
.reports-ctrl-btn:hover .carousel-control-next-icon {
  filter: none;
}

/* --- 1.7 Latest Updates & News Continuous Marquee Ticker --- */
.home-updates-strip {
  background: linear-gradient(135deg, #071c14 0%, #0d2e22 100%);
  color: #ffffff;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.updates-strip-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.updates-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary-color);
  color: #ffffff;
  font-family: var(--title-font);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 3px 12px rgba(234, 132, 26, 0.35);
  flex-shrink: 0;
  white-space: nowrap;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ffffff;
  display: inline-block;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0.7);
  animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.updates-marquee-container {
  overflow: hidden;
  position: relative;
  flex: 1 1 auto;
  mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
}

.updates-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: tickerScroll 48s linear infinite;
}

.updates-marquee-container:hover .updates-marquee-track {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.updates-marquee-item {
  display: inline-flex;
  align-items: center;
  color: #e4eee9;
  text-decoration: none;
  font-family: var(--body-font);
  font-size: 13.5px;
  font-weight: 500;
  padding: 4px 14px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.updates-marquee-item:hover {
  color: #ffffff;
}

.updates-marquee-item .item-text {
  transition: transform 0.2s ease;
}

.updates-marquee-item:hover .item-text {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.updates-marquee-divider {
  color: rgba(255, 255, 255, 0.35);
  margin-left: 20px;
  font-size: 14px;
}

.updates-strip-btn {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: var(--title-font);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.updates-strip-btn:hover {
  background: #ffffff;
  color: var(--title-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* --- 1.8 Central Biodiversity Database Section --- */
.home-database-section {
  padding: 72px 0 68px;
  background: linear-gradient(180deg, #f7faf8 0%, #edf5f0 100%);
  border-bottom: 1px solid var(--line);
}

.database-feature-pill {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 16px;
  box-shadow: 0 2px 8px rgba(16, 53, 39, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.database-feature-pill:hover {
  transform: translateY(-2px);
  border-color: var(--primary-color);
  box-shadow: 0 6px 18px rgba(11, 133, 68, 0.1);
}

.database-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.database-feature-pill:hover .database-feature-icon {
  transform: scale(1.08);
}

.database-preview-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(16, 53, 39, 0.06);
  position: relative;
  overflow: hidden;
}

.database-preview-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.database-stat-tile {
  background: #f8fbf9;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  transition: all 0.25s ease;
}

.database-stat-tile:hover {
  background: #ffffff;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 133, 68, 0.08);
}

.database-stat-tile .stat-num {
  font-family: var(--title-font);
  font-size: 24px;
  font-weight: 800;
  color: var(--title-color);
  line-height: 1.1;
  margin-bottom: 4px;
}

.database-stat-tile .stat-lbl {
  font-family: var(--body-font);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- 1.9 Photo Gallery Infinite Ticker Section --- */
.home-gallery-ticker-section {
  padding: 72px 0 76px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.gallery-ticker-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.gallery-ticker-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: galleryTickerScroll 54s linear infinite;
}

.gallery-ticker-wrapper:hover .gallery-ticker-track {
  animation-play-state: paused;
}

@keyframes galleryTickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.gallery-ticker-card {
  width: 270px;
  height: 200px;
  flex-shrink: 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 53, 39, 0.08);
  border: 1px solid rgba(16, 53, 39, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.gallery-ticker-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 14px 28px rgba(11, 133, 68, 0.2);
}

.gallery-ticker-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-ticker-card:hover .gallery-ticker-img {
  transform: scale(1.08);
}

.gallery-ticker-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 34, 25, 0.92) 0%, rgba(10, 34, 25, 0.3) 55%, transparent 100%);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.3s ease;
}

.gallery-ticker-badge {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.92);
  color: var(--title-color);
  font-family: var(--title-font);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.gallery-ticker-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.gallery-ticker-title {
  color: #ffffff;
  font-family: var(--title-font);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.gallery-ticker-zoom-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.gallery-ticker-card:hover .gallery-ticker-zoom-btn {
  background: var(--primary-color);
  transform: scale(1.12);
}

/* --- 1.10 Gallery Lightbox Modal --- */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(8, 14, 18, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  user-select: none;
}

.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-content-box {
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
  max-width: 90vw;
  max-height: 86vh;
  width: auto;
  box-shadow: none !important;
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gallery-lightbox.active .lightbox-content-box {
  transform: scale(1);
}

.lightbox-img-wrap {
  position: relative;
  width: auto;
  max-width: 90vw;
  max-height: 74vh;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75);
}

.lightbox-img {
  max-width: 90vw;
  max-height: 74vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lightbox-caption {
  width: 100%;
  max-width: 1000px;
  padding: 14px 4px 0 4px;
  background: transparent !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: none !important;
}

.lightbox-title {
  font-family: var(--title-font);
  font-size: 16.5px;
  font-weight: 700;
  color: #FFFFFF !important;
  margin-bottom: 3px;
}

.lightbox-desc {
  font-family: var(--body-font);
  font-size: 13.5px;
  color: #D1D5DB !important;
  margin: 0;
}

.lightbox-counter {
  font-family: var(--title-font);
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 14px;
  border-radius: 20px;
  flex-shrink: 0;
  white-space: nowrap;
}

.lightbox-close-btn {
  position: fixed;
  top: 22px;
  right: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 1000000;
  backdrop-filter: blur(8px);
}

.lightbox-close-btn:hover {
  background: #DC2626;
  color: #ffffff;
  transform: rotate(90deg) scale(1.08);
}

.lightbox-nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 1000000;
}

.lightbox-nav-btn:hover {
  background: var(--secondary-color);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

@media (max-width: 768px) {
  .lightbox-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .gallery-ticker-card { width: 220px; height: 165px; }
}

/* ==========================================================================
   PAGE 2: PROJECT OVERVIEW (overview.html)
   ========================================================================== */
.project-overview {
  background-color: #ffffff;
  color: var(--primary-dark);
  width: 100%;
  overflow: hidden;
  padding-top: 25px;
  padding-bottom: 50px;
}

.section-label {
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: 2px;
}

.section-label p {
  color: var(--primary-dark);
  line-height: 1.7;
}

.overview-text {
  color: var(--primary-dark);
  font-size: 16px;
  line-height: 1.8;
  text-align: left;
}

.overview-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding-bottom: 8px;
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid var(--primary-color);
  transition: gap 0.3s ease, color 0.3s ease;
}

.overview-link:hover {
  gap: 24px;
  color: var(--primary-color);
}

.overview-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.overview-image img {
  height: 360px;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   PAGE 3: OBJECTIVES & STRATEGIC GOALS (objectives.html)
   ========================================================================== */
.objective-card {
  position: relative;
  height: 100%;
  padding: 28px 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.objective-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(17, 61, 72, 0.1);
  border-color: var(--primary-color);
}

.objective-icon {
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: 30px;
}

.objective-card-heading {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 18px;
}

.objective-card h3 {
  margin-bottom: 15px;
  font-size: 21px;
  font-weight: 700;
  color: var(--title-color);
}

.objective-card p {
  margin-bottom: 15px;
  color: var(--body-color);
  font-size: 14px;
  line-height: 1.8;
}

/* ==========================================================================
   PAGE 4: IMPLEMENTING INSTITUTIONS & PARTNERS (implementing.html)
   ========================================================================== */
.partners-section {
  width: 100%;
  padding: 60px 7%;
  box-sizing: border-box;
}

.partners-container {
  max-width: 1150px;
  margin: 0 auto;
}

.partners-container h3 {
  font-size: 20px;
}

.partners-label {
  display: none !important;
}

.partners-intro {
  max-width: 750px;
  color: var(--body-color);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 35px;
}

.partner-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.partner-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #f0f4f6;
}

.partner-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.partner-image:hover img {
  transform: scale(1.06);
}

.partner-category {
  color: var(--primary-color);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.partner-info h3 {
  color: var(--title-color);
  font-size: 20px;
  margin: 10px 0 14px;
}

.partner-info ul {
  padding-left: 20px;
  margin: 0;
  list-style: disc;
}

.partner-info li {
  color: var(--body-color);
  font-size: 15px;
  line-height: 1.9;
  padding-left: 3px;
}

.partner-info li::marker {
  color: var(--primary-color);
}

.ngo-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
}

/* ==========================================================================
   PAGE 5: ORGANISATIONAL CHART & GOVERNANCE HIERARCHY (chart.html)
   ========================================================================== */
.network-section {
  padding: 60px 20px;
  background: var(--soft);
  color: var(--title-color);
}

.network-container {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.eyebrow,
.section-eyebrow,
.section-label {
  display: none !important;
}

.network-container h2 {
  font-size: 30px;
  margin-bottom: 40px;
  color: var(--title-color);
}

.network-container h2 span {
  color: var(--title-color);
}

.chart-node {
  border: 1px solid var(--line);
  padding: 22px;
  background: var(--primary-color);
  color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.chart-node h3 {
  font-size: 17px;
  line-height: 1.5;
  color: #ffffff;
}

.chart-node p {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.funder {
  max-width: 450px;
  margin: auto;
  background: var(--title-color);
  color: #ffffff;
  border: none;
}

.coordinator {
  max-width: 240px;
  margin: auto;
  background: var(--primary-color);
  border: 1px solid var(--primary-hover);
}

.coordinator p {
  color: rgba(255, 255, 255, 0.9);
}

.connector {
  height: 35px;
  width: 2px;
  background: var(--primary-color);
  margin: auto;
}

.branch-line {
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  margin: 0 auto;
}

.partner-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.partner {
  position: relative;
  margin-top: 0;
  border-top: 4px solid var(--primary-color);
  padding: 28px 15px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.partner::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 20px;
  background: var(--primary-color);
  top: -24px;
  left: 50%;
}

.partner:hover {
  transform: translateY(-5px);
  border-color: var(--primary-hover);
  box-shadow: var(--shadow-hover);
}

.chart-number {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.partner h3 {
  font-size: 15px;
  color: var(--title-color);
}

/* ==========================================================================
   PAGE 6: SCRUTINY COMMITTEE MEMBERS (scrutiny.html)
   ========================================================================== */
.scrutiny-card,
.card:has(.card-1) {
  width: 100%;
  min-height: 12rem;
  display: flex;
  gap: 1.25rem;
  border-radius: var(--radius-lg);
  background-color: var(--white-color);
  padding: 1.5rem;
  flex-direction: row;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin-bottom: 24px;
}

.scrutiny-card:hover,
.card:has(.card-1):hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.card-1 {
  width: 40%;
  flex-shrink: 0;
  border-radius: 0.75rem;
  overflow: hidden;
}

.card-1 img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 8px;
}

.right {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  gap: 12px;
}

.card-2 {
  width: 100%;
  border-radius: var(--radius-sm);
}

.committee-main-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--title-color);
  margin: 0;
}

.card-3 {
  width: 100%;
  border-radius: var(--radius-sm);
  background-color: var(--soft);
  padding: 8px 12px;
  border-left: 3px solid var(--primary-color);
}

.card-3 .data-row {
  font-size: 12.5px;
  color: var(--body-color);
  margin: 0;
  line-height: 1.4;
}

.card-3 .data-row strong {
  color: var(--title-color);
}


/* ==========================================================================
   PAGE 7: CROSS-PAGE REUSABLE SECTIONS & CTAS
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark-bg) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.cta-banner h3 {
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner p {
  color: #c1d5cc;
  font-size: 16px;
  max-width: 600px;
  margin-bottom: 0;
}

/* ==========================================================================
   PAGE 8: COMPREHENSIVE RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Tablet & Medium Screen Breakpoints */
@media (max-width: 991.98px) {
  .hero-wrapper {
    background-image:
      linear-gradient(to bottom, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.92) 100%),
      url('../img/banner/hero.png');
    background-position: center top;
    padding: 40px 0 30px;
  }

  .hero-title {
    font-size: 32px;
  }

  .small-img-card {
    width: 210px;
    height: 80px;
  }

  .small-img-card .img-thumb {
    width: 64px;
    height: 64px;
  }

  .card-footer-info {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .facts-strip {
    padding: 30px 0;
  }

  .fact-item {
    margin-bottom: 20px;
  }
}

/* Small Tablet & Mobile Breakpoints */
@media (max-width: 768px) {
  .partners-section {
    padding: 40px 20px;
  }

  .partner-row {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
  }

  .partner-image {
    height: 125px;
  }

  .ngo-list {
    grid-template-columns: 1fr;
  }

  .partner-chart {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 15px;
  }

  .branch-line {
    width: 50%;
  }

  .card {
    flex-direction: column;
    min-height: auto;
  }

  .card-1 {
    width: 100%;
  }

  .card-1 img {
    height: 180px;
  }
}

/* Extra Small Mobile Screen Breakpoints */
@media (max-width: 575.98px) {
  .hero-wrapper {
    padding: 30px 0 20px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .cta-banner {
    padding: 32px 20px;
    text-align: center;
  }

  .partner-chart {
    grid-template-columns: 1fr;
  }

  .partner::before {
    display: none;
  }
}

/* ==========================================================================
   PAGE 9: THEMATIC AREAS (marine.html, crop.html, livestock.html, freshwater.html, grassland.html, forest.html, iec.html)
   ========================================================================== */

.marine-hero {
  padding: 35px 0 25px;
}

.marine-hero>h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--title-color);
}

.hero-description {
  max-width: 780px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--body-color);
  margin-bottom: 25px;
  text-align: left;
}

.hero-image {
  width: 100%;
  height: 380px;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 35px;
  box-shadow: var(--shadow-sm);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.03);
}

/* Phase Navigation Tabs - Classic Folder Tab Design (Reference Style) */
.nav-tabs {
  border-bottom: 1px solid #dee2e6;
  gap: 2px;
  margin-bottom: 25px;
  padding-left: 0;
  list-style: none;
}

.nav-tabs .nav-item {
  margin-bottom: -1px;
}

.nav-tabs .nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #0d6efd !important;
  text-decoration: none;
  background-color: transparent !important;
  border: 1px solid transparent !important;
  border-top-left-radius: 6px !important;
  border-top-right-radius: 6px !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  margin-bottom: -1px;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
  cursor: pointer;
}

.nav-tabs .nav-link::after {
  display: none !important;
}

.nav-tabs .nav-link:hover {
  color: #0a58ca !important;
  border-color: #e9ecef #e9ecef #dee2e6 !important;
  background-color: transparent !important;
  isolation: isolate;
}

.nav-tabs .nav-link.active {
  color: #212529 !important;
  background-color: #ffffff !important;
  border-color: #dee2e6 #dee2e6 #ffffff !important;
  border-bottom-color: #ffffff !important;
  font-weight: 600;
  cursor: default;
}

.nav-tabs .nav-link.disabled,
.nav-tabs .nav-link:disabled {
  color: #6c757d !important;
  background-color: transparent !important;
  border-color: transparent !important;
  cursor: not-allowed;
  pointer-events: none;
}

.tab-content {
  padding: 10px 0 !important;
}

/* Research & Field Sections */
.research-section {
  padding: 15px 0 35px;
}

.research-section h3,
.discovery-content h3,
.phase-two h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.35;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 16px;
  max-width: 850px;
}

.research-description {
  max-width: 900px;
  color: var(--body-color);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* Statistics Strip */
.research-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  border-radius: var(--radius-md);
  margin-bottom: 35px;
}

.stat-item {
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  display: block;
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 6px;
  line-height: 1.2;
}

.stat-item p {
  color: var(--body-color);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

/* Discovery / Highlight Split Card */
.discovery-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.discovery-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--body-color);
  margin-bottom: 15px;
}

.discovery-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.discovery-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.discovery-image:hover img {
  transform: scale(1.04);
}

.phase-two {
  padding: 25px 0;
}

.phase-two>p {
  max-width: 850px;
  color: var(--body-color);
  font-size: 16px;
  line-height: 1.8;
}

.marine-partners {
  margin-top: 30px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.marine-partners p {
  color: var(--body-color);
  font-size: 14.5px;
  line-height: 1.9;
  margin: 0;
}

/* ==========================================================================
   PAGE 10: PROJECTS & RESEARCH (project.html, research.html, community-led.html, policy.html)
   ========================================================================== */

.activities-intro {
  padding: 40px 0 25px;
}

.intro-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--body-color);
  margin-bottom: 1rem;
}

.intro-line {
  height: 1px;
  background: var(--line);
  margin: 30px 0 20px;
}

.project-stats h3 {
  color: var(--primary-color);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 4px;
}

.project-stats p {
  font-size: 13.5px;
  color: var(--body-color);
  margin-bottom: 1rem;
}

.activities-list {
  padding: 20px 0 60px;
}

.activity-item {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-img {
  height: 280px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.activity-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.activity-img:hover img {
  transform: scale(1.05);
}

.img-index {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--primary-color);
  color: #ffffff;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 18px;
  border-top-right-radius: var(--radius-sm);
}

.activity-info {
  padding: 10px 20px;
}

.activity-category {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary-color);
}

.activity-info h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: var(--title-color);
  margin: 12px 0;
  transition: color 0.3s ease;
}

.activity-info:hover h2 {
  color: var(--primary-color);
}

.activity-info p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--body-color);
}

/* Research Findings & Achievements Clean Cards */
.findings-container {
  padding: 40px 0 60px;
}

.finding-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.finding-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.finding-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 12px;
}

.finding-card p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--body-color);
  flex-grow: 1;
}

.finding-card .partner-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* Tablet & Mobile Media Queries for Newly Consolidated Sections */
@media (max-width: 991px) {
  .research-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .discovery-section {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 575.98px) {
  .research-stats {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .activity-img {
    height: 220px;
  }
}

/* ==========================================================================
   PAGE: RESEARCH FINDINGS & ACHIEVEMENTS (research.html - Exact Match Layout)
   ========================================================================== */
.research-page-main {
  background-color: #ffffff;
}

.research-sub-label {
  font-size: 11px;
  letter-spacing: 2.2px;
  font-weight: 700;
  color: #718d96;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.research-main-label {
  font-size: 12px;
  letter-spacing: 1.8px;
  font-weight: 800;
  color: #264a54;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.research-title {
  font-family: var(--title-font);
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 800;
  color: var(--title-color);
  line-height: 1.2;
}

.research-hero-desc {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--body-color);
  text-align: left;
  margin-bottom: 0;
}

.research-statement-block {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 35px 0;
}

.research-statement-heading {
  font-family: var(--title-font);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--title-color);
  line-height: 1.25;
}

.research-statement-p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--body-color);
  text-align: left;
}

.research-section-tag {
  font-size: 11.5px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
}

.research-item-heading {
  font-family: var(--title-font);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  color: var(--title-color);
  line-height: 1.3;
}

.research-item-p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--body-color);
  text-align: left;
}

.research-img-box {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(17, 61, 72, 0.08);
}

.research-img-box img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.stat-num {
  font-family: var(--title-font);
  font-size: clamp(32px, 3.6vw, 42px);
  font-weight: 800;
  color: var(--title-color);
  min-width: 95px;
  line-height: 1;
}

.stat-text {
  font-size: 15px;
  color: var(--body-color);
  font-weight: 500;
}

.stat-line {
  border-color: var(--line) !important;
}

@media (max-width: 991.98px) {
  .research-img-box img {
    height: 280px;
  }
}

/* ==========================================================================
   PAGE: PROJECTS & RESEARCH HUB (project.html)
   ========================================================================== */
.projects-hub-intro {
  padding: 60px 0 45px;
  background-color: #ffffff;
  border-bottom: 1px solid var(--line);
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  text-decoration: none !important;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(17, 61, 72, 0.09);
  border-color: var(--primary-color);
}

.pillar-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(26, 92, 107, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
}

.pillar-card h3 {
  font-family: var(--title-font);
  font-size: 20px;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--body-color);
  flex-grow: 1;
  margin-bottom: 18px;
  text-align: left;
}

.pillar-link-text {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.25s ease;
}

.pillar-card:hover .pillar-link-text {
  gap: 14px;
}

.project-section-block {
  padding: 75px 0;
  border-bottom: 1px solid var(--line);
}

.project-section-block.bg-soft {
  background-color: var(--soft);
}

.activity-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.activity-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.activity-badge-theme {
  background-color: rgba(26, 92, 107, 0.1);
  color: var(--primary-color);
}

.activity-badge-phase {
  background-color: #fef3d6;
  color: #8c6312;
}

.activity-badge-status {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.activity-badge-status.ongoing {
  background-color: #e0f2fe;
  color: #0369a1;
}

.activity-badge-status.preliminary {
  background-color: #fef9c3;
  color: #854d0e;
}

/* Activity Filter Bar */
.activity-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  background-color: #ffffff;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  margin-bottom: 45px;
}

.activity-filter-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-color);
  margin-right: 8px;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid #d1d5db;
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  white-space: nowrap;
}

.filter-btn:hover {
  background-color: #EAF5EE;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.filter-btn.active {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(11, 133, 68, 0.25);
}

/* Enhanced Spacious Activity Item */
.activities-list-container {
  display: flex;
  flex-direction: column;
}

.activity-item {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.activity-item:first-child {
  padding-top: 10px;
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-img {
  height: 380px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(17, 61, 72, 0.08);
}

.activity-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.activity-item:hover .activity-img img {
  transform: scale(1.03);
}

.activity-info {
  padding: 8px 0;
}

.activity-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.activity-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.activity-badge-theme {
  background-color: rgba(26, 92, 107, 0.09);
  color: var(--primary-color);
}

.activity-badge-phase {
  background-color: #fef3c7;
  color: #92400e;
}

.activity-badge-status {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.activity-info h2 {
  font-family: var(--title-font);
  font-size: clamp(23px, 2.5vw, 29px);
  font-weight: 800;
  color: var(--title-color);
  line-height: 1.3;
  margin-bottom: 14px;
}

.activity-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--body-color);
  margin-bottom: 12px;
  text-align: left;
}

.activity-desc strong {
  color: var(--title-color);
  font-weight: 700;
}

/* Airy, Modern Metadata Box */
.activity-meta-table {
  background-color: #f8fafb;
  border: 1px solid #e5edf0;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 18px 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px 20px;
}

.activity-meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--title-color);
}

.activity-meta-item strong {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--primary-color);
  font-weight: 800;
}

.activity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-top: 6px;
}

/* Policy Card */
.policy-item-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.policy-item-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 20px rgba(17, 61, 72, 0.07);
}

.policy-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 20px;
  background-color: #fee2e2;
  color: #991b1b;
  display: inline-block;
  margin-bottom: 12px;
}

/* Community Case Study Card */
.community-card-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.community-card-box:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(17, 61, 72, 0.08);
}

.community-card-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.community-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.community-card-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 10px;
}

.community-card-body p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--body-color);
  margin-bottom: 14px;
  flex-grow: 1;
  text-align: left;
}

/* Policy Recommendations List */
.policy-list-section {
  padding: 55px 0 80px;
}

.policy-list-intro {
  margin-bottom: 50px;
}

.policy-main-heading {
  font-family: var(--title-font);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--title-color);
  margin-bottom: 10px;
  line-height: 1.25;
}

.policy-main-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

.policy-row-item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 12px 0;
}

.policy-number {
  font-family: var(--title-font);
  font-size: 32px;
  font-weight: 800;
  color: var(--title-color);
  line-height: 1.1;
  min-width: 48px;
  flex-shrink: 0;
  padding-top: 2px;
}

.policy-content {
  flex-grow: 1;
}

.policy-content h3 {
  font-family: var(--title-font);
  font-size: 19px;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 10px;
  line-height: 1.35;
}

.policy-text {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--body-color);
  margin-bottom: 16px;
  text-align: left;
}

.policy-evidence-box {
  background-color: var(--primary-light);
  border-left: 3.5px solid var(--primary-color);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 18px;
  margin-top: 14px;
}

.policy-evidence-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.policy-evidence-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: #374151;
  margin-bottom: 0;
}

.policy-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 36px 0;
  opacity: 1;
}

@media (max-width: 768px) {
  .policy-row-item {
    gap: 16px;
  }

  .policy-number {
    font-size: 26px;
    min-width: 38px;
  }

  .policy-content h3 {
    font-size: 17px;
  }
}

/* Custom Report Table (Matches User Mockup) */
.report-table-section {
  padding: 45px 0 80px;
}

.report-table-heading {
  font-family: var(--title-font);
  font-size: 32px;
  font-weight: 800;
  color: #0b1a24;
  text-align: center;
  margin-bottom: 30px;
}

.mgb-report-table-wrapper {
  background: #ffffff;
  border-radius: 8px;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  box-shadow: 0 4px 18px rgba(10, 75, 73, 0.08);
  border: 1px solid #d5e2e6;
}

.mgb-report-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  margin-bottom: 0;
}

.mgb-report-table thead tr {
  background-color: #0a4b49;
}

.mgb-report-table th {
  color: #ffffff;
  font-family: var(--title-font);
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 16px 20px;
  border: none;
  vertical-align: middle;
  white-space: nowrap;
}

.mgb-report-table td {
  padding: 18px 22px;
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
  border-bottom: 1px solid #eef2f5;
  vertical-align: middle;
}

.mgb-report-table tbody tr:hover {
  background-color: #f7fafb;
}

.mgb-report-table tbody tr:last-child td {
  border-bottom: none;
}

.report-title-cell {
  font-weight: 700;
  color: var(--title-color);
  font-size: 15px;
}

.report-title-sub {
  font-size: 12.5px;
  color: #6b7280;
  font-weight: 400;
  margin-top: 4px;
}

.report-author-cell {
  color: #4b5563;
  font-weight: 500;
  font-size: 14px;
}

.report-date-cell {
  color: #4b5563;
  font-size: 13.5px;
  white-space: nowrap;
}

.report-scan-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 4px;
  color: var(--primary-color);
  background-color: var(--primary-light);
  border: 1px solid rgba(11, 133, 68, 0.25);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.report-scan-btn:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

/* ================= PHOTO GALLERY OVERLAY STYLES ================= */
.gallery-photo-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 270px;
  background-color: var(--dark-bg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.gallery-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-photo-card:hover .gallery-photo-img {
  transform: scale(1.08);
}

.gallery-photo-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 20px 18px;
  background: linear-gradient(to top, rgba(9, 29, 36, 0.96) 0%, rgba(9, 29, 36, 0.82) 55%, rgba(9, 29, 36, 0.3) 85%, transparent 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.gallery-photo-card:hover .gallery-photo-overlay {
  transform: translateY(0);
  opacity: 1;
}

.gallery-photo-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #6ee7b7;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 7px;
}

.gallery-photo-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 5px;
}

.gallery-photo-desc {
  font-size: 12px;
  color: #cbd5e1;
  margin-bottom: 0;
  line-height: 1.4;
}

/* ================= VIDEO REPOSITORY OVERLAY & MODAL STYLES ================= */
.video-photo-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 270px;
  background-color: var(--dark-bg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.video-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.video-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.video-photo-card:hover .video-photo-img {
  transform: scale(1.08);
}

.video-play-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.92);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, background-color 0.35s ease;
  z-index: 1;
}

.video-play-indicator i {
  margin-left: 3px;
}

.video-photo-card:hover .video-play-indicator {
  transform: translate(-50%, -50%) scale(1.15);
  background: #0284c7;
}

.video-duration-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(8, 20, 26, 0.8);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1;
}

.video-photo-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 20px 18px;
  background: linear-gradient(to top, rgba(9, 29, 36, 0.96) 0%, rgba(9, 29, 36, 0.82) 55%, rgba(9, 29, 36, 0.3) 85%, transparent 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.video-photo-card:hover .video-photo-overlay {
  transform: translateY(0);
  opacity: 1;
}

.video-photo-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 5px;
}

.video-photo-desc {
  font-size: 12px;
  color: #cbd5e1;
  margin-bottom: 0;
  line-height: 1.4;
}

.video-photo-meta {
  font-size: 11.5px;
  color: #38bdf8;
  font-weight: 600;
  margin-bottom: 4px;
}

/* Lightbox player wrapper for videos */
.lightbox-video-frame {
  width: 820px;
  max-width: 90vw;
  height: 460px;
  max-height: 65vh;
  background: #000000;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.lightbox-placeholder-view {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 30px 20px;
}

.lightbox-placeholder-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: blur(2px);
}

.lightbox-placeholder-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

/* ================= NEWS PAPER CUTOUT GRID & MODAL ================= */
.news-cutout-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 290px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.news-cutout-card:hover {
  transform: translateY(-5px);
  border-color: #0ea5e9;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.news-cutout-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.news-cutout-card:hover .news-cutout-img {
  transform: scale(1.06);
}

.news-zoom-indicator {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(11, 37, 44, 0.85);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.news-cutout-card:hover .news-zoom-indicator {
  opacity: 1;
  transform: scale(1);
}

/* ================= RECENT RESEARCH & REPORTS 2-COLUMN SECTION ================= */
.section-col-title {
  font-family: var(--title-font);
  font-size: 24px;
  font-weight: 800;
  color: var(--title-color);
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.section-col-sub {
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
}

.view-all-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.view-all-link:hover {
  color: var(--primary-hover);
  transform: translateX(2px);
}

.carousel-nav-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.carousel-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--title-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-nav-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
}

/* ================= REPORTS AUTO SCROLL SLIDER (INDEX PAGE) ================= */
.reports-autoscroll-slider {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.report-slide-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.report-slide-img-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: var(--dark-bg);
}

.report-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.report-slide-card:hover .report-slide-img {
  transform: scale(1.04);
}

.report-slide-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 11px;
  border-radius: 20px;
  background: rgba(10, 34, 25, 0.88);
  color: #86efac;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2;
}

.report-slide-body {
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
}

.report-slide-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--title-color);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.report-slide-meta {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 14px;
}

.report-slide-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #0c7790;
  background: #e6f6f9;
  padding: 7px 16px;
  border-radius: 6px;
  text-decoration: none;
  align-self: flex-start;
  transition: all 0.2s ease;
  border: 1px solid #bce6ef;
}

.report-slide-link:hover {
  background: #0c7790;
  color: #ffffff;
  border-color: #0c7790;
}

.reports-autoscroll-slider .reports-ctrl-btn {
  width: 36px !important;
  height: 36px !important;
  top: 125px !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border-radius: 50% !important;
  opacity: 0 !important;
  pointer-events: none;
  transition: opacity 0.25s ease, background-color 0.2s ease, transform 0.2s ease !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  z-index: 5 !important;
}

.reports-autoscroll-slider:hover .reports-ctrl-btn {
  opacity: 0.95 !important;
  pointer-events: auto !important;
}

.reports-ctrl-btn:hover {
  background: #ffffff !important;
  opacity: 1 !important;
  transform: translateY(-50%) scale(1.08) !important;
}

.reports-ctrl-btn.carousel-control-prev {
  left: 10px;
}

.reports-ctrl-btn.carousel-control-next {
  right: 10px;
}

.reports-ctrl-btn .carousel-control-prev-icon,
.reports-ctrl-btn .carousel-control-next-icon {
  filter: invert(1) grayscale(100);
  width: 12px;
  height: 12px;
}

/* Indicators for Report Auto-Scroll */
.report-carousel-indicators button {
  width: 14px !important;
  height: 5px !important;
  border-radius: 10px !important;
  background-color: #cbdbe1 !important;
  border: none !important;
  opacity: 0.5 !important;
  transition: all 0.3s ease !important;
  margin: 0 3px !important;
}

.report-carousel-indicators button.active {
  width: 26px !important;
  background-color: var(--primary-color) !important;
  opacity: 1 !important;
}

/* ================= HOME PAGE: BIODIVERSITY DATABASE SECTION ================= */
.home-database-section {
  background: #f4f9fb;
  padding: 28px 0 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.database-feature-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #dce8ee;
  transition: all 0.22s ease;
  box-shadow: 0 2px 6px rgba(17, 61, 72, 0.02);
}

.database-feature-pill:hover {
  transform: translateY(-2px);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(17, 61, 72, 0.06);
}

.database-feature-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 6px;
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
}

.database-preview-card {
  background: #ffffff;
  border: 1px solid #dbe6ec;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(19, 56, 44, 0.04);
}

.database-preview-img-wrap {
  position: relative;
  height: 105px;
  overflow: hidden;
  background: var(--dark-bg);
}

.database-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.database-preview-card:hover .database-preview-img {
  transform: scale(1.04);
}

.database-preview-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(10, 34, 25, 0.9);
  color: #86efac;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2;
}

.database-stat-tile {
  text-align: center;
  padding: 12px 10px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #eef2f6;
  transition: all 0.22s ease;
}

.database-stat-tile:hover {
  background: var(--primary-light);
  border-color: rgba(11, 133, 68, 0.25);
}

.database-stat-tile .stat-num {
  font-family: var(--title-font);
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.15;
}

.database-stat-tile .stat-lbl {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.25;
}

/* ================= HOME UPDATES STRIP (CONTINUOUS MARQUEE) ================= */
.home-updates-strip {
  background: var(--dark-bg);
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.updates-strip-wrapper {
  background: transparent;
  display: flex;
  align-items: center;
  gap: 16px;
}

.updates-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-dark);
  color: #86efac;
  font-family: var(--title-font);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(134, 239, 172, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseAnimation 1.6s infinite;
}

@keyframes pulseAnimation {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.updates-marquee-container {
  flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 2.5%, black 97.5%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 2.5%, black 97.5%, transparent);
}

.updates-marquee-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: newsMarqueeScroll 45s linear infinite;
}

.updates-marquee-container:hover .updates-marquee-track {
  animation-play-state: paused;
}

@keyframes newsMarqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.updates-marquee-item {
  display: inline-flex;
  align-items: center;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 0 20px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.updates-marquee-item:hover {
  color: #38bdf8;
}

.updates-marquee-item .item-text {
  transition: transform 0.2s ease;
}

.updates-marquee-item:hover .item-text {
  text-decoration: underline;
}

.updates-marquee-divider {
  color: rgba(255, 255, 255, 0.25);
  margin-left: 18px;
  font-size: 11px;
}

.updates-strip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.updates-strip-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* ================= HOME GALLERY TICKER SECTION ================= */
.home-gallery-ticker-section {
  background: #ffffff;
  padding: 38px 0 44px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.gallery-ticker-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 12px 0;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.gallery-ticker-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: galleryTickerScroll 48s linear infinite;
}

.gallery-ticker-wrapper:hover .gallery-ticker-track {
  animation-play-state: paused;
}

@keyframes galleryTickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.gallery-ticker-card {
  position: relative;
  width: 260px;
  height: 175px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 4px 14px rgba(11, 37, 44, 0.08);
  border: 1px solid rgba(11, 37, 44, 0.08);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-ticker-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 26px rgba(11, 37, 44, 0.18);
  border-color: var(--primary-color);
}

.gallery-ticker-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-ticker-card:hover .gallery-ticker-img {
  transform: scale(1.08);
}

.gallery-ticker-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 26, 31, 0.92) 0%, rgba(8, 26, 31, 0.4) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  color: #ffffff;
  transition: opacity 0.3s ease;
}

.gallery-ticker-badge {
  align-self: flex-start;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2.5px 8.5px;
  border-radius: 12px;
  background: rgba(11, 37, 44, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #38bdf8;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.gallery-ticker-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.gallery-ticker-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0;
  line-height: 1.25;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-ticker-zoom-btn {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all 0.25s ease;
}

.gallery-ticker-card:hover .gallery-ticker-zoom-btn {
  background: var(--primary-color);
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .gallery-ticker-card {
    width: 210px;
    height: 145px;
  }

  .gallery-ticker-title {
    font-size: 11.5px;
  }
}


/* ==========================================================================
   PAGE 2: PROJECT OVERVIEW (overview.html)
   ========================================================================== */
.project-overview {
  background-color: #ffffff;
  color: var(--primary-dark);
  width: 100%;
  overflow: hidden;
  padding-top: 25px;
  padding-bottom: 50px;
}

.section-label {
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: 2px;
}

.section-label p {
  color: var(--primary-dark);
  line-height: 1.7;
}

.overview-text {
  color: var(--primary-dark);
  font-size: 16px;
  line-height: 1.9;
}

.overview-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding-bottom: 8px;
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid var(--primary-color);
  transition: gap 0.3s ease, color 0.3s ease;
}

.overview-link:hover {
  gap: 24px;
  color: var(--primary-color);
}

.overview-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.overview-image img {
  height: 360px;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   PAGE 3: OBJECTIVES & STRATEGIC GOALS (objectives.html)
   ========================================================================== */
.objective-card {
  position: relative;
  height: 100%;
  padding: 28px 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.objective-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(17, 61, 72, 0.1);
  border-color: var(--primary-color);
}

.objective-icon {
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: 30px;
}

.objective-card-heading {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 18px;
}

.objective-card h3 {
  margin-bottom: 15px;
  font-size: 21px;
  font-weight: 700;
  color: var(--title-color);
}

.objective-card p {
  margin-bottom: 15px;
  color: var(--body-color);
  font-size: 14px;
  line-height: 1.8;
}

/* ==========================================================================
   PAGE 4: IMPLEMENTING INSTITUTIONS & PARTNERS (implementing.html)
   ========================================================================== */
.partners-section {
  width: 100%;
  padding: 60px 7%;
  box-sizing: border-box;
}

.partners-container {
  max-width: 1150px;
  margin: 0 auto;
}

.partners-container h3 {
  font-size: 20px;
}

.partners-label {
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.partners-intro {
  max-width: 750px;
  color: var(--body-color);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 35px;
}

.partner-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.partner-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #f0f4f6;
}

.partner-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.partner-image:hover img {
  transform: scale(1.06);
}

.partner-category {
  color: var(--primary-color);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.partner-info h3 {
  color: var(--title-color);
  font-size: 20px;
  margin: 10px 0 14px;
}

.partner-info ul {
  padding-left: 20px;
  margin: 0;
  list-style: disc;
}

.partner-info li {
  color: var(--body-color);
  font-size: 15px;
  line-height: 1.9;
  padding-left: 3px;
}

.partner-info li::marker {
  color: var(--primary-color);
}

.ngo-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
}

/* ==========================================================================
   PAGE 5: ORGANISATIONAL CHART & GOVERNANCE HIERARCHY (chart.html)
   ========================================================================== */
.network-section {
  padding: 60px 20px;
  background: var(--soft);
  color: var(--title-color);
}

.network-container {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.eyebrow {
  color: var(--primary-color);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 3px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.network-container h2 {
  font-size: 30px;
  margin-bottom: 40px;
  color: var(--title-color);
}

.network-container h2 span {
  color: var(--primary-color);
}

.chart-node {
  border: 1px solid var(--line);
  padding: 22px;
  background: var(--primary-color);
  color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.chart-node h3 {
  font-size: 17px;
  line-height: 1.5;
  color: #ffffff;
}

.chart-node p {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.funder {
  max-width: 450px;
  margin: auto;
  background: var(--title-color);
  color: #ffffff;
  border: none;
}

.coordinator {
  max-width: 240px;
  margin: auto;
  background: var(--primary-color);
  border: 1px solid var(--primary-hover);
}

.coordinator p {
  color: rgba(255, 255, 255, 0.9);
}

.connector {
  height: 35px;
  width: 2px;
  background: var(--primary-color);
  margin: auto;
}

.branch-line {
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  margin: 0 auto;
}

.partner-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.partner {
  position: relative;
  margin-top: 0;
  border-top: 4px solid var(--primary-color);
  padding: 28px 15px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.partner::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 20px;
  background: var(--primary-color);
  top: -24px;
  left: 50%;
}

.partner:hover {
  transform: translateY(-5px);
  border-color: var(--primary-hover);
  box-shadow: var(--shadow-hover);
}

.chart-number {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.partner h3 {
  font-size: 15px;
  color: var(--title-color);
}

/* ==========================================================================
   PAGE 6: SCRUTINY COMMITTEE MEMBERS (scrutiny.html)
   ========================================================================== */
.scrutiny-card,
.card:has(.card-1) {
  width: 100%;
  min-height: 12rem;
  display: flex;
  gap: 1.25rem;
  border-radius: var(--radius-lg);
  background-color: var(--white-color);
  padding: 1.5rem;
  flex-direction: row;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin-bottom: 24px;
}

.scrutiny-card:hover,
.card:has(.card-1):hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.card-1 {
  width: 40%;
  flex-shrink: 0;
  border-radius: 0.75rem;
  overflow: hidden;
}

.card-1 img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 8px;
}

.right {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  gap: 12px;
}

.card-2 {
  width: 100%;
  border-radius: var(--radius-sm);
}

.committee-main-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--title-color);
  margin: 0;
}

.card-3 {
  width: 100%;
  border-radius: var(--radius-sm);
  background-color: var(--soft);
  padding: 8px 12px;
  border-left: 3px solid var(--primary-color);
}

.card-3 .data-row {
  font-size: 12.5px;
  color: var(--body-color);
  margin: 0;
  line-height: 1.4;
}

.card-3 .data-row strong {
  color: var(--title-color);
}


/* ==========================================================================
          THEMATIC AREAS  1.MARINE BIODIVERSITY (marine.html)
   ========================================================================== */


/* ===== Marine Hero ===== */
.marine-hero {
  padding: 50px 5%;
}

.marine-hero>h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-description {
  max-width: 650px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--primary-dark);
  margin-bottom: 30px;
}

/* ===== Main Hero Image ===== */
.hero-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-bottom: 35px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.03);
}

/* ===== Phase Navigation ===== */
.nav-tabs {
  border-bottom: 1px solid var(--primary-light);
  gap: 25px;
  margin-bottom: 25px;
}

.nav-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--primary-dark);
  padding: 14px 8px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 0;
  transition: 0.3s ease;
}

.nav-tabs .nav-link:hover {
  color: var(--primary-dark);
}

.nav-tabs .nav-link.active {
  color: var(--primary-dark);
  background: transparent;

}

/* Remove unwanted tab padding */
.tab-content {
  padding: 20px 0 !important;
}

/* ===== Research Overview ===== */
.research-section {
  padding: 20px 0 45px;
}

.section-label {
  display: inline-block;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.research-section h3,
.discovery-content h3,
.phase-two h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 18px;
  max-width: 850px;
}

.research-description {
  max-width: 900px;
  color: var(--primary-dark);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 35px;
}

/* ===== Statistics ===== */
.research-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #cbd5c3;
  border-bottom: 1px solid #cbd5c3;
}

.stat-item {
  padding: 20px 20px;
  border-right: 1px solid #cbd5c3;
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  display: block;
  font-size: clamp(25px, 3.5vw, 30px);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.stat-item p {
  color: var(--primary-dark);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* ===== Featured Discovery ===== */
.discovery-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid #cbd5c3;
}

.discovery-content p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.discovery-image {
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.discovery-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.discovery-image:hover img {
  transform: scale(1.04);
}

/* ===== Phase Two ===== */
.phase-two {
  padding: 30px 0;
}

.phase-two>p {
  max-width: 800px;
  color: var(--primary-dark);
  font-size: 16px;
  line-height: 1.9;
}

.marine-partners {
  margin-top: 35px;
  padding: 25px 0;
  border-top: 1px solid #cbd5c3;
  border-bottom: 1px solid #cbd5c3;
}

.marine-partners p {
  color: var(--primary-dark);
  font-size: 15px;
  line-height: 2;
}

.marine-partners p span {
  color: var(--primary-dark);
  padding: 0 5px;
}


/*==========================================================================
      PROJECTS & RESEARCH 1. RECENT RESEARCH & ACTIVITIES (recent.html)
  ========================================================================== */
img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}


/* INTRODUCTION */
.activities-intro {
  padding: 65px 0 35px;
}

.section-label {
  display: block;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.intro-text {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 1rem;
}

.intro-line {
  height: 1px;
  background: var(--dark-bg);
  margin: 35px 0 25px;
}


/* PROJECT STATISTICS */
.project-stats h3 {
  color: var(--title-color);
  margin-bottom: 5px;
  margin-left: 20px;
}

.project-stats p {
  font-size: 14px;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  margin-left: 20px;
}


/* ACTIVITY LIST */
.activities-list {
  padding: 30px 0 80px;
}

.activity-item {
  padding-top: 10px;
  padding-bottom: 38px;
  margin-top: 0;
}

.activity-img {
  height: 320px;
  position: relative;
  overflow: hidden;
  background: var(--sage);
}

.activity-img img {
  transition: transform .6s ease;
  border-radius: 10px;
}

.activity-img:hover img {
  transform: scale(1.05);
}

.img-index {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--forest);
  color: white;
  padding: 12px 20px;
  font-family: "Playfair Display", serif;
  font-size: 22px;
}

.activity-info {
  padding: 20px 30px;
}

.activity-category {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--primary-dark);
}

.activity-info h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  ;
  color: var(--primary-dark);
  margin: 16px 0;
  transition: color .3s ease;
}

.activity-info:hover h2 {
  color: var(--success-color);
}

.activity-info p {
  max-width: 470px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--primary-dark);
}

.activity-keyword {
  display: inline-block;
  color: var(--success-color);
  font-size: 12px;
  font-weight: 600;
  padding-bottom: 8px;
  border-bottom: 1px solid #b9c6b2;
  margin-top: 10px;
}


/* PARTNER SECTION */
.partner-section {
  padding: 70px 0;
}

.partner-section h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary-dark);
}

.partner-section h2 span {
  color: var(--primary-dark);
}

.partner-section .row>div>p {
  line-height: 1.9;
  font-size: 14px;
}

.district-info {
  border-top: 1px solid #c7d0bf;
  margin-top: 35px;
  padding-top: 25px;
}

.district-info strong {
  color: var(--primary-dark);
  font-size: 14px;
}

.district-info p {
  margin-top: 10px;
  margin-bottom: 0;
  max-width: 850px;
  font-size: 13px;
  line-height: 1.9;
}


/* TABLET */
@media (max-width: 991px) {
  .activity-img {
    height: 270px;
  }

  .activity-info {
    padding: 10px;
  }

  .activity-info h2 {
    font-size: 32px;
  }
}


/* MOBILE */
@media (max-width: 767px) {
  .activities-intro {
    padding-top: 40px;
  }

  .activities-intro h1 {
    font-size: 42px;
  }

  .intro-text {
    font-size: 14px;
  }

  .project-stats h3 {
    font-size: 20px;
  }

  .project-stats p {
    font-size: 10px;
  }

  .activities-list {
    padding-bottom: 50px;
  }

  .activity-item {
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .activity-img {
    height: 250px;
  }

  .activity-info {
    padding: 5px 0 10px;
  }

  .activity-info h2 {
    font-size: 32px;
    margin: 12px 0;
  }

  .activity-info p {
    font-size: 13px;
  }

  .partner-section {
    padding: 50px 0;
  }

}

/*==========================================================================
      PROJECTS & RESEARCH 2. Research Findings & Achievements (research.html)
  ========================================================================== */

.top-title,
.bottom-title {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 2px;
  border-bottom: 1px solid #ffffff35;
  padding: 15px 0;
}

.bottom-title {
  border-top: 1px solid #ffffff35;
  border-bottom: none;
  margin-top: 70px;
}

.info {
  max-width: 850px;
  padding: 75px 0 15px;
}

.eyebrow,
.section-label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.13;
  margin: 20px 0;
}

.content h1 span {
  display: block;
  color: #c9d8bd;
  font-style: italic;
}

.info {
  color: #d7e2d8;
  max-width: 570px;
  font-size: 16px;
  line-height: 1.8;
}

.explore-link {
  display: inline-block;
  color: white;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 25px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 10px;
}

.explore-link span {
  margin-left: 15px;
  color: var(--gold);
}

/* INTRO */

.intro-section {
  padding: 95px 0;
}

.intro-section h2,
.section-heading h2,
.highlight-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 45px);
  color: var(--forest);
  margin-top: 15px;
}

.intro-description {
  font-size: 16px;
  line-height: 1.9;
  color: #657269;
  margin-bottom: 15px;
}

/* ACHIEVEMENTS */

.achievement-section {
  padding: 65px 0 100px;
  background: #edf1e9;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 65px;
  flex-wrap: wrap;
  gap: 20px;
}

.heading-note {
  max-width: 330px;
  line-height: 1.8;
  color: #69756b;
}

.research-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 75px;
  margin-bottom: 100px;
}

.research-image {
  position: relative;
  height: 430px;
  overflow: hidden;
}

.research-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.research-image:hover img {
  transform: scale(1.06);
}

.image-number {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--forest);
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 27px;
  padding: 13px 25px;
}

.category {
  color: #a27b36;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
}

.research-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1.3;
  color: var(--forest);
  margin: 20px 0;
}

.research-content>p {
  color: #657269;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 30px;
}

.stats-list {
  border-top: 1px solid #cbd5c9;
}

.stats-list .stat-item {
  display: flex;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid #cbd5c9;
  padding: 17px 0;
}

.stats-list .stat-item strong {
  font-family: 'Playfair Display', serif;
  font-size: 35px;
  color: var(--green);
  min-width: 75px;
}

.stats-list .stat-item span {
  color: #58675c;
  font-size: 14px;
}

/* HIGHLIGHTS */

.highlight-section {
  padding: 100px 0;
  background: var(--forest);
  color: white;
}

.highlight-section h2 {
  color: white;
  margin-bottom: 55px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #ffffff35;
}

.highlight-item {
  padding: 30px 20px 20px 0;
  border-right: 1px solid #ffffff35;
  padding-left: 20px;
}

.highlight-item:first-child {
  padding-left: 0;
}

.highlight-item:last-child {
  border-right: none;
}

.highlight-item>span {
  color: var(--gold);
  font-size: 12px;
}

.highlight-item strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5vw, 58px);
  margin: 20px 0 10px;
}

.highlight-item p {
  color: #d3dfd3;
  font-size: 14px;
  line-height: 1.7;
}

/* CLOSING */

.closing-section {
  padding: 100px 0;
  background: var(--cream);
  text-align: center;
}

.closing-content {
  max-width: 750px;
  margin: auto;
}

.closing-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 53px);
  line-height: 1.25;
  color: var(--forest);
  margin: 20px 0;
}

.closing-content>p:last-child {
  color: #69756b;
  line-height: 1.9;
}



/* RESPONSIVE */

@media(max-width: 768px) {

  .research-hero {
    min-height: auto;
  }

  .hero-content {
    padding: 65px 0 20px;
  }

  .hero-bottom {
    margin-top: 45px;
    gap: 15px;
  }

  .intro-section,
  .achievement-section,
  .highlight-section,
  .closing-section {
    padding: 65px 0;
  }

  .research-row {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 65px;
  }

  .agriculture-row .research-content {
    order: 2;
  }

  .agriculture-row .research-image {
    order: 1;
  }

  .research-image {
    height: 300px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight-item {
    padding: 25px 15px;
    border-bottom: 1px solid #ffffff35;
  }

  .highlight-item:nth-child(2) {
    border-right: none;
  }

  .highlight-item:first-child {
    padding-left: 15px;
  }

  .hero-top,
  .hero-bottom {
    font-size: 9px;
    letter-spacing: 1px;
  }
}

@media(max-width: 420px) {
  .highlight-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-list .stat-item {
    gap: 12px;
  }

  .stats-list .stat-item strong {
    min-width: 60px;
    font-size: 29px;
  }
}

/* ================= COMPACT MODULE & SPATIAL CARDS ================= */
.repo-card,
.spatial-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  min-height: auto !important;
  padding: 13px 14px !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  margin-bottom: 0 !important;
}

.repo-card:hover,
.spatial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(11, 133, 68, 0.09) !important;
  border-color: #bbf7d0 !important;
}

.repo-card-img,
.spatial-card-img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.repo-card-body,
.spatial-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.repo-card-title,
.spatial-card-title,
.card.repo-card h5,
.card.spatial-card h5 {
  font-family: var(--title-font, 'Manrope', sans-serif);
  font-size: 1.05rem !important; /* ~17px */
  font-weight: 700 !important;
  color: #1e293b !important;
  line-height: 1.3 !important;
  margin-top: 0 !important;
  margin-bottom: 5px !important;
  letter-spacing: -0.2px;
}

.repo-card-desc,
.spatial-card-desc,
.card.repo-card p,
.card.spatial-card p {
  font-family: var(--body-font, 'Inter', sans-serif);
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.48 !important;
  color: #64748b !important;
  margin-bottom: 10px !important;
  text-align: left !important;
}

.repo-card-footer,
.spatial-card-footer {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.repo-card-link,
.spatial-card-link {
  font-family: var(--body-font, 'Inter', sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: #0d6efd;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.repo-card-link:hover,
.spatial-card-link:hover {
  color: #0a58ca;
  text-decoration: underline;
  transform: translateX(3px);
}