/* ==========================================================================
   MAHARASHTRA GENE BANK PROGRAMME (MGBP)
   ARCHITECTURE: GLOBAL CORE FOUNDATION (global.css)
   Description: Core tokens, reset, typography, header, footer, buttons,
                breadcrumb banners, layout spacing, and shared utilities.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  /* Brand Primary Colors (Extracted directly from Central MGB Logo Emblem) */
  --theme-color: #0B8544;
  --primary-color: #0B8544;
  --primary-hover: #086B36;
  --primary-light: #EAF5EE;
  --primary-subtle: #D2EBD9;
  --primary-dark: #103828;
  --primary-darker: #0A2219;

  /* Neutral & Base Colors (Pure Black Hierarchy for Headings, Titles & Sub-headings) */
  --title-color: #111827;       /* Pure Rich Black for all Headings, Titles */
  --heading-color: #111827;     /* Pure Rich Black */
  --subheading-color: #374151;  /* Dark Neutral Charcoal Black for Sub-headings */
  --body-color: #374151;        /* Crisp, High-Contrast Standard Text */
  --text-muted: #6B7280;        /* Clean Accessible Neutral */
  --white-color: #FFFFFF;
  --gray-color: #E5E7EB;
  --line: #E5E7EB;
  --soft: #F9FAFB;              /* Clean Neutral Foundation Canvas */
  --dark-bg: #111827;           /* Deep Black Obsidian */
  --card-bg: #FFFFFF;

  /* Accent & Functional Status Colors (Warm Saffron from Outer Logo Ring & Mango) */
  --yellow-color: #EA841A;
  --secondary-color: #EA841A;
  --secondary-hover: #CF6D0A;
  --secondary-light: #FDF3E8;
  --success-color: #0B8544;
  --danger-color: #DC3545;
  --info-color: #008DC9;

  /* 7 Thematic Area Distinct Colors (Harmonized with Logo Elements) */
  --color-marine: #008DC9;      /* Konkan Coastal Blue */
  --color-crops: #B8860B;       /* Indigenous Crop Harvest Gold */
  --color-livestock: #8C401A;   /* Shekru Chestnut Rust */
  --color-freshwater: #0097A7;  /* Wetland Waterway Cyan */
  --color-grassland: #687D12;   /* Savanna Olive */
  --color-forest: #1E7A38;      /* Climax Forest Emerald */
  --color-iec: #A12D25;         /* Gotul Terracotta Red */
  --color-plum: #7C2D84;        /* Jarul Flower Plum / Hand holding flower */

  /* Typography Font Stacks */
  --title-font: "Poppins", "Manrope", sans-serif;
  --body-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --style-font: "Montez", cursive;

  /* Layout Spacing Metrics */
  --section-padding: 72px 0;
  --section-padding-sm: 48px 0;
  --section-padding-lg: 96px 0;
  --container-max-width: 1240px;

  /* Radii & Shadows */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 50px;
  --shadow-sm: 0 2px 8px rgba(16, 53, 39, 0.05);
  --shadow-md: 0 4px 18px rgba(16, 53, 39, 0.08);
  --shadow-lg: 0 12px 32px rgba(16, 53, 39, 0.12);
  --shadow-hover: 0 14px 34px rgba(11, 133, 68, 0.22);

  /* Animation Timings */
  --transition: all 0.3s ease;
  --transition-fast: all 0.2s ease;
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--body-font);
  font-size: 15.5px;
  font-weight: 400;
  color: var(--body-color);
  line-height: 1.7;
  background-color: var(--white-color);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --------------------------------------------------------------------------
   3. UNIFIED GLOBAL TYPOGRAPHY SYSTEM (STANDARDIZED ACROSS ALL PAGES)
   - Headings, Titles & Sub-headings: Rich Black (#111827 / #374151)
   - No Green on Headings or Subheadings
   - Body Paragraphs: Left-Aligned, Crisp Readability (#374151)
   - White Contexts: Where White is needed on dark backgrounds / banners / footer
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--title-font);
  color: var(--title-color);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.65rem;
  letter-spacing: -0.3px;
}

h1, .h1 { font-size: clamp(30px, 3.8vw, 42px); font-weight: 800; letter-spacing: -0.5px; line-height: 1.18; }
h2, .h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; letter-spacing: -0.35px; line-height: 1.25; }
h3, .h3 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; line-height: 1.32; }
h4, .h4 { font-size: clamp(16px, 1.7vw, 19px); font-weight: 700; line-height: 1.35; }
h5, .h5 { font-size: 15.5px; font-weight: 600; line-height: 1.4; }
h6, .h6 { font-size: 13.5px; font-weight: 600; line-height: 1.45; }

/* Enforce NO GREEN on ANY words/spans inside Headings, Titles, or Banners */
h1 span, h2 span, h3 span, h4 span, h5 span, h6 span,
.h1 span, .h2 span, .h3 span, .h4 span,
.section-title span,
.section-main-title span,
.section-heading span,
.hero-title span,
.hero-title .highlight-river,
.network-container h2 span,
.about-content h2 span,
.policy-main-heading span {
  color: inherit;
  font-weight: inherit;
}

/* Standardized Section Titles & Main Headings across ALL pages */
.section-main-title,
.section-title,
.section-heading,
.page-title,
.committee-main-title,
.report-slide-title,
.report-table-heading,
.policy-main-heading,
.research-title,
.hero-title,
.about-content h2,
.network-container h2 {
  font-family: var(--title-font);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  color: var(--title-color);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.4px;
}

/* Card Heading & Content Typography */
.card h2 {
  font-family: var(--title-font);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  color: var(--title-color);
  line-height: 1.3;
  margin-bottom: 12px;
}

.card h3 {
  font-family: var(--title-font);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--title-color);
  line-height: 1.3;
  margin-bottom: 10px;
}

.card h4 {
  font-family: var(--title-font);
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 700;
  color: var(--title-color);
  line-height: 1.35;
  margin-bottom: 10px;
}

.card h5 {
  font-family: var(--title-font);
  font-size: 1.125rem; /* 18px */
  font-weight: 700;
  color: var(--title-color);
  line-height: 1.35;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.card h6 {
  font-family: var(--title-font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--title-color);
  line-height: 1.4;
  margin-bottom: 6px;
}

.card p.small,
.card .small,
.card small {
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  color: #64748b;
}

/* Standardized Subheadings & Section Subtitles across ALL pages */
.section-sub-desc,
.section-subtitle,
.subtitle,
.subheading,
.hero-subtitle,
.hero-lead,
.intro-p,
.partners-intro,
.overview-intro,
.policy-main-subtitle,
.research-hero-desc,
.research-statement-p,
.hero-description {
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 500;
  color: var(--subheading-color);
  line-height: 1.65;
  text-align: left;
  max-width: 720px;
  margin-bottom: 22px;
}

/* Standardized Paragraphs across ALL pages */
p,
.overview-text,
.research-description,
.intro-text,
.card-summary,
.finding-card p,
.discovery-content p,
.activity-info p,
.activity-desc,
.policy-text,
.card p {
  font-family: var(--body-font);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--body-color);
  text-align: left !important;
  word-spacing: normal;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   WHITE TEXT ZONES (Explicitly enforced where white is required on dark zones)
   ========================================================================== */
/* 1. Breadcrumb Banners (Photo Background with Dark Overlay) */
.breadcrumb-banner .title,
.breadcrumb-banner h1,
.breadcrumb-banner h2,
.breadcrumb-content .title,
.breadcrumb-content h1,
.breadcrumb-content h2 {
  color: #FFFFFF !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.breadcrumb-content .breadcrumb-item,
.breadcrumb-content .breadcrumb-item a {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  font-size: 16px;
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.breadcrumb-content .breadcrumb-item a:hover {
  color: #EA841A !important;
  text-decoration: underline;
}

.breadcrumb-content .breadcrumb-item.active,
.breadcrumb-content .breadcrumb-item[aria-current="page"] {
  color: #EA841A !important; /* Active page in warm brand orange/saffron */
  font-weight: 700 !important;
  font-size: 16px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.breadcrumb-content .breadcrumb-item + .breadcrumb-item::before,
.breadcrumb-item + .breadcrumb-item::before {
  content: "•" !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  padding: 0 10px !important;
  opacity: 0.9;
}

/* 2. Main Footer (Dark Forest / Obsidian Background) */
.main-footer,
.main-footer h1,
.main-footer h2,
.main-footer h3,
.main-footer h4,
.main-footer h5,
.main-footer h6,
.main-footer .footer-brand,
.main-footer .footer-title,
.main-footer strong,
.main-footer .text-white,
.main-footer .text-light {
  color: #FFFFFF !important;
}

.main-footer p,
.main-footer .text-secondary,
.main-footer .footer-links a {
  color: rgba(255, 255, 255, 0.85) !important;
}

.main-footer .footer-bottom {
  color: rgba(255, 255, 255, 0.72) !important;
}

/* 3. Top Announcement Bar (Dark Header Strip) */
.top-notice-bar,
.top-notice-bar span,
.top-notice-bar strong {
  color: #FFFFFF !important;
}

/* 4. Action Buttons with Solid Backgrounds */
.btn-primary-mgb,
.btn-primary-mgb *,
.btn-secondary-mgb,
.btn-secondary-mgb *,
.btn-primary,
.btn-success,
.btn-danger,
.btn-dark {
  color: #FFFFFF !important;
}

/* 5. Chart Dark Nodes (chart.html) */
.chart-node.funder,
.chart-node.funder h3,
.chart-node.funder p,
.chart-node.coordinator,
.chart-node.coordinator h3,
.chart-node.coordinator p {
  color: #FFFFFF !important;
}

/* 6. Photo & Video Overlays / Lightbox Captions */
.gallery-photo-overlay,
.gallery-photo-overlay h6,
.gallery-photo-overlay p,
.video-photo-overlay,
.video-photo-overlay h6,
.video-photo-overlay p,
.video-photo-meta,
.video-photo-meta i,
.gallery-lightbox-caption,
.gallery-lightbox-title {
  color: #FFFFFF !important;
}

/* 7. General Utility: .text-white helper classes */
.text-white,
.text-white *,
.text-light,
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6,
.bg-dark-navy h1, .bg-dark-navy h2, .bg-dark-navy h3, .bg-dark-navy h4, .bg-dark-navy h5, .bg-dark-navy h6 {
  color: #FFFFFF !important;
}

/* Section & Image Badges Removed per SDE 2 Brand & Flow Guidelines */
.section-eyebrow,
.section-label,
.eyebrow,
.policy-sub-eyebrow,
.about-image-badge,
.report-slide-badge,
.gallery-photo-badge,
.database-preview-badge,
.gallery-ticker-badge {
  display: none !important;
}

.text-title { color: var(--title-color) !important; }
.text-heading { color: var(--title-color) !important; }
.text-subheading { color: var(--subheading-color) !important; }

/* --------------------------------------------------------------------------
   4. LAYOUT SPACING & CONTAINER UTILITIES
   -------------------------------------------------------------------------- */
.section-padding { padding: var(--section-padding); }
.section-padding-sm { padding: var(--section-padding-sm); }
.section-padding-lg { padding: var(--section-padding-lg); }
.section-pt { padding-top: 80px; }
.section-pb { padding-bottom: 80px; }

.bg-soft { background-color: var(--soft) !important; }
.bg-white-custom { background-color: var(--white-color) !important; }
.bg-dark-navy { background-color: var(--dark-bg) !important; color: #c4d7de; }

.border-line-top { border-top: 1px solid var(--line); }
.border-line-bottom { border-bottom: 1px solid var(--line); }

.max-w-700 { max-width: 700px; margin-left: auto; margin-right: auto; }
.max-w-850 { max-width: 850px; margin-left: auto; margin-right: auto; }
.max-w-1000 { max-width: 1000px; margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   5. BUTTON SYSTEM
   -------------------------------------------------------------------------- */
.btn-primary-mgb {
  background-color: var(--primary-color);
  color: #ffffff !important;
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(11, 133, 68, 0.32);
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}

.btn-primary-mgb:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 133, 68, 0.42);
  color: #ffffff !important;
}

.btn-outline-mgb {
  background: transparent;
  color: var(--title-color) !important;
  border: 2px solid var(--primary-color);
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 26px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.btn-outline-mgb:hover {
  background-color: var(--primary-color);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 133, 68, 0.22);
}

.btn-secondary-mgb {
  background-color: var(--secondary-color);
  color: #ffffff !important;
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(234, 132, 26, 0.32);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}

.btn-secondary-mgb:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(234, 132, 26, 0.42);
}

.btn-sm-mgb { padding: 8px 20px; font-size: 13px; }
.btn-lg-mgb { padding: 15px 36px; font-size: 16px; }

/* --------------------------------------------------------------------------
   6. TOP ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */
.top-notice-bar {
  background-color: var(--dark-bg);
  color: #b5c7bf;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-notice-bar strong {
  color: var(--white-color);
}

.top-notice-bar a {
  color: var(--yellow-color);
  font-weight: 600;
  transition: var(--transition-fast);
}

.top-notice-bar a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   6.5 BRAND BUTTONS & FORM CONTROLS (OVERRIDE BOOTSTRAP BLUE)
   -------------------------------------------------------------------------- */
.btn-primary,
.btn-primary-mgb {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 14px rgba(11, 133, 68, 0.22) !important;
}

.btn-primary:hover,
.btn-primary-mgb:hover,
.btn-primary:focus,
.btn-primary-mgb:focus {
  background-color: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(11, 133, 68, 0.3) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary-subtle {
  background-color: #EAF5EE !important;
  color: var(--primary-color) !important;
}

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

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(11, 133, 68, 0.18) !important;
}

.form-check-input:checked {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

/* --------------------------------------------------------------------------
   7. STICKY HEADER & NAVBAR NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  width: 100%;
}

.site-header.sticky-top {
  position: sticky !important;
  top: 0 !important;
  z-index: 1040 !important;
  background-color: var(--white-color) !important;
}

.navbar-custom {
  background: var(--white-color);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(19, 56, 44, 0.06);
  padding: 10px 0;
  transition: var(--transition-fast);
}

.site-header.scrolled .navbar-custom {
  padding: 6px 0;
  box-shadow: 0 6px 20px rgba(19, 56, 44, 0.1);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-emblem-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 56px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.brand-logo-img-secondary {
  height: 52px;
  width: auto;
  max-width: 60px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.header-brand:hover .brand-logo-img,
.header-brand:hover .brand-logo-img-secondary {
  transform: scale(1.05);
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-main-title {
  font-family: var(--title-font);
  font-size: 17px;
  font-weight: 800;
  color: var(--title-color);
  letter-spacing: -0.3px;
  line-height: 1.15;
}

.brand-sub-title {
  font-family: var(--title-font);
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.navbar-nav .nav-link {
  font-family: var(--body-font);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--title-color) !important;
  padding: 8px 12px !important;
  white-space: nowrap;
  position: relative;
  transition: color 0.25s ease;
  background: transparent !important;
  border-radius: 0;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.dropdown-menu {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  margin-top: 8px;
  animation: dropdownFadeIn 0.25s ease;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--title-color);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   8. BREADCRUMB BANNER & NAVIGATION SYSTEM
   -------------------------------------------------------------------------- */
.breadcrumb-banner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  margin-bottom: 50px;
}

.breadcrumb-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.breadcrumb-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 34, 25, 0.62);
  backdrop-filter: blur(1px);
}

.breadcrumb-content {
  position: absolute;
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--white-color);
}

.breadcrumb-content .title,
.breadcrumb-content h1 {
  margin-bottom: 12px;
  color: var(--white-color);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  text-transform: capitalize;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.breadcrumb-content .breadcrumb {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 0;
  background: transparent;
}

.breadcrumb-content .breadcrumb-item,
.breadcrumb-content .breadcrumb-item a {
  color: #FFFFFF !important;
  font-size: 16px;
  font-weight: 700 !important;
  text-decoration: none;
  transition: var(--transition-fast);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.breadcrumb-content .breadcrumb-item.active,
.breadcrumb-content .breadcrumb-item[aria-current="page"] {
  color: #EA841A !important;
  font-weight: 700 !important;
  font-size: 16px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.breadcrumb-content .breadcrumb-item a:hover {
  color: #EA841A !important;
  text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #FFFFFF !important;
  content: "•" !important;
  font-weight: 700 !important;
  padding: 0 10px !important;
  opacity: 0.9;
}

/* --------------------------------------------------------------------------
   9. MAIN FOOTER & COPYRIGHT BAR (COMPACT & SHRUNKEN SIZE)
   -------------------------------------------------------------------------- */
.main-footer {
  background: var(--dark-bg);
  color: #9cb3a8;
  padding: 34px 0 16px;
  font-size: 13.5px;
  line-height: 1.55;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-logo-badge {
  background: #FFFFFF;
  border-radius: 50%;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.footer-logo-badge:hover {
  transform: scale(1.05);
}

.footer-logo-badge img {
  height: 42px;
  width: 42px;
  object-fit: contain;
  display: block;
}

.footer-brand {
  font-family: var(--title-font);
  color: var(--white-color);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0;
}

.footer-title,
.main-footer h6 {
  font-family: var(--title-font);
  color: var(--white-color);
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  letter-spacing: 0.3px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 5px;
}

.footer-links a {
  color: #c0d3ca;
  text-decoration: none;
  font-size: 13.5px;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--secondary-color);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 20px;
  padding-top: 12px;
  font-size: 12.5px;
  color: #8fa59a;
}

.footer-bottom a {
  color: #9db2a8;
}

.footer-bottom a:hover {
  color: var(--secondary-color);
}

/* --------------------------------------------------------------------------
   10. COMMON UTILITIES & THEMATIC BADGES
   -------------------------------------------------------------------------- */
.badge-marine { color: var(--color-marine); background-color: #e0f2fe; }
.badge-crops { color: var(--color-crops); background-color: #fef3c7; }
.badge-livestock { color: var(--color-livestock); background-color: #fbeee8; }
.badge-freshwater { color: var(--color-freshwater); background-color: #e0f7fa; }
.badge-grassland { color: var(--color-grassland); background-color: #f4f7e6; }
.badge-forest { color: var(--color-forest); background-color: #eaf5ee; }
.badge-iec { color: var(--color-iec); background-color: #fee2e2; }

.shadow-card {
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.rounded-card {
  border-radius: var(--radius-lg);
}

/* Responsive adjustments for core globals */
@media (max-width: 991.98px) {
  .section-padding { padding: 60px 0; }
  .breadcrumb-banner { height: 220px; margin-bottom: 35px; }
  .breadcrumb-content .title,
  .breadcrumb-content h1 { font-size: 26px; }
  .navbar-nav { padding: 15px 0; }
  .navbar-nav .nav-link { padding: 10px 0 !important; }
}

/* --------------------------------------------------------------------------
   11. RESEARCH STATISTICS GRID & HIGHLIGHT STRIPS
   -------------------------------------------------------------------------- */
.research-stats {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  background: #F9FAFB !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  margin: 28px 0 35px 0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.research-stats .stat-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 22px 24px !important;
  border-right: 1px solid #E5E7EB !important;
  border-bottom: none !important;
  background: transparent !important;
  gap: 4px !important;
}

.research-stats .stat-item:last-child {
  border-right: none !important;
}

.research-stats .stat-item .stat-number {
  display: block !important;
  font-family: var(--title-font) !important;
  font-size: clamp(28px, 3.2vw, 36px) !important;
  font-weight: 800 !important;
  color: #111827 !important;
  line-height: 1.15 !important;
  margin-bottom: 4px !important;
  letter-spacing: -0.5px !important;
}

.research-stats .stat-item p {
  font-family: var(--body-font) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #4B5563 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  text-align: left !important;
}

@media (max-width: 991px) {
  .research-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .research-stats .stat-item:nth-child(2) {
    border-right: none !important;
  }
  .research-stats .stat-item:nth-child(1),
  .research-stats .stat-item:nth-child(2) {
    border-bottom: 1px solid #E5E7EB !important;
  }
}

@media (max-width: 575px) {
  .research-stats {
    grid-template-columns: 1fr !important;
  }
  .research-stats .stat-item {
    border-right: none !important;
    border-bottom: 1px solid #E5E7EB !important;
    padding: 16px 20px !important;
  }
  .research-stats .stat-item:last-child {
    border-bottom: none !important;
  }
}

/* --------------------------------------------------------------------------
   12. CINEMATIC DARK LIGHTBOX VIEWER
   -------------------------------------------------------------------------- */
.gallery-lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  background: rgba(8, 14, 18, 0.96) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
  user-select: none !important;
}

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

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

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

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

.lightbox-img {
  max-width: 90vw !important;
  max-height: 74vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 12px !important;
}

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

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

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

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

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

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

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

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

.lightbox-prev {
  left: 24px !important;
}

.lightbox-next {
  right: 24px !important;
}

@media (max-width: 768px) {
  .lightbox-nav-btn {
    width: 38px !important;
    height: 38px !important;
    font-size: 14px !important;
  }
  .lightbox-prev { left: 10px !important; }
  .lightbox-next { right: 10px !important; }
  .lightbox-close-btn { top: 12px !important; right: 12px !important; width: 36px !important; height: 36px !important; font-size: 16px !important; }
}

/* ==========================================================================
   RESPONSIVE OPTIMIZATIONS (MOBILE / TABLET BREAKPOINTS)
   ========================================================================== */

/* 1. Live News Continuous Marquee Strip on Mobile */
@media (max-width: 767.98px) {
  .home-updates-strip {
    padding: 10px 0 !important;
  }
  .updates-strip-wrapper {
    flex-wrap: wrap !important;
    gap: 8px 12px !important;
    align-items: center !important;
  }
  .updates-live-badge {
    order: 1 !important;
    font-size: 11px !important;
    padding: 5px 12px !important;
  }
  .updates-strip-wrapper > .flex-shrink-0 {
    order: 2 !important;
    margin-left: auto !important;
  }
  .updates-strip-btn {
    font-size: 11px !important;
    padding: 5px 12px !important;
  }
  .updates-marquee-container {
    order: 3 !important;
    width: 100% !important;
    flex: 1 0 100% !important;
    margin-top: 4px !important;
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%) !important;
  }
  .updates-marquee-item {
    font-size: 12.5px !important;
    padding: 2px 10px !important;
  }
}

/* 2. Research Carousel Controls & "View All Projects & Research" Pill Button */
@media (max-width: 767.98px) {
  .research-carousel-footer {
    flex-direction: column-reverse !important;
    align-items: center !important;
    gap: 14px !important;
    margin-top: 16px !important;
  }
  .research-carousel-footer #viewAllProjectsBtn,
  .btn-outline-mgb {
    white-space: nowrap !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 8px 22px !important;
    font-size: 13px !important;
    text-align: center !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .research-carousel-footer .research-indicators {
    justify-content: center !important;
    width: 100% !important;
    margin: 0 0 4px 0 !important;
  }
  .research-carousel-footer .research-indicators button {
    width: 26px !important;
    height: 4px !important;
    margin: 0 3px !important;
  }
}

/* 3. Responsive Data & Report Tables */
.table-responsive.mgb-report-table-wrapper {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  position: relative !important;
}

@media (max-width: 767.98px) {
  .mgb-report-table-wrapper {
    border-radius: 8px !important;
    box-shadow: 0 2px 12px rgba(10, 75, 73, 0.06) !important;
    margin-bottom: 24px !important;
  }
  .mgb-report-table {
    min-width: 680px !important;
    font-size: 13px !important;
  }
  .mgb-report-table th {
    padding: 12px 14px !important;
    font-size: 11.5px !important;
    white-space: nowrap !important;
    letter-spacing: 0.5px !important;
  }
  .mgb-report-table td {
    padding: 12px 14px !important;
    font-size: 13px !important;
  }
  .report-title-cell {
    font-size: 13.5px !important;
  }
  .report-title-sub {
    font-size: 11.5px !important;
  }
  .report-scan-btn {
    padding: 5px 12px !important;
    font-size: 11.5px !important;
    white-space: nowrap !important;
  }
}

/* 4. Responsive Filter Buttons & Search Inputs */
@media (max-width: 767.98px) {
  .report-table-heading {
    font-size: 20px !important;
    text-align: left !important;
    margin-bottom: 18px !important;
  }
  .filter-btn {
    padding: 6px 13px !important;
    font-size: 12px !important;
  }
  .position-relative[style*="min-width: 260px"] {
    width: 100% !important;
    min-width: 100% !important;
  }
}

