body {
  background-color: #f8f9fa;  /* Light background using GGGI palette */
  font-family: "Lato", "Open Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif !important;
  margin: 0; /* Reset default margin */
}

/* Force Lato font on all elements */
* {
  font-family: "Lato", "Open Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif !important;
}

html {
  font-family: "Lato", "Open Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif !important;
}

/* Improve text visibility and contrast */
p, div, span, li, td, th {
  color: #2c3e50 !important;
  font-weight: 500 !important;
}

.text-muted {
  color: #495057 !important;
  font-weight: 500 !important;
}

.card-text, .card-body p, .card-body li {
  color: #2c3e50 !important;
  font-weight: 500 !important;
}

/* ========== Professional Header Styles ========== */
.professional-header {
  position: relative;
  overflow: hidden;
}

@keyframes headerPan {
  0% {
    background-position: 30% 50%;
  }
  100% {
    background-position: 70% 50%;
  }
}

.professional-header {
  background-size: 120% !important;
  animation: headerPan 18s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .professional-header {
    animation: none !important;
    background-position: center !important;
  }
}

/* Header animations - Subtle and professional */
@keyframes headerShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes titleGlow {
  0% {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  }
  100% {
    text-shadow: 2px 2px 8px rgba(24, 187, 157, 0.4);  /* GGGI Green glow */
  }
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-2px);  /* More subtle movement */
  }
}

@keyframes navSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo container hover effects */
.logo-container:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: scale(1.05);
}

.logo-container img {
  animation: logoFloat 3s ease-in-out infinite;
}

.partner-logo img {
  animation: logoFloat 3s ease-in-out infinite;
}

/* Partner logo hover effects */
.partner-logo:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: scale(1.05);
}

/* Navigation tab hover effects */
.nav-tab .nav-link {
  position: relative;
  overflow: hidden;
}

.nav-tab .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.nav-tab .nav-link:hover::before {
  left: 100%;
}

.nav-tab .nav-link:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-2px);
}

/* Project title hover effect */
.project-title:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

/* Force header subtitle to be white */
.project-subtitle {
  color: #ffffff !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* Branding text hover effects */
.branding-text:hover h4 {
  color: #ffffff !important;
  transition: color 0.3s ease;
}

.branding-text:hover p {
  color: rgba(255, 255, 255, 0.9) !important;
  transition: color 0.3s ease;
}

/* Country info hover effects */
.country-info:hover h5 {
  color: #ffffff !important;
  transition: color 0.3s ease;
}

.country-info:hover p {
  color: rgba(255, 255, 255, 0.9) !important;
  transition: color 0.3s ease;
}

/* Navigation container animation */
.navigation-container {
  animation: navSlideIn 0.8s ease-out;
}

/* Responsive header styles */
@media (max-width: 1200px) {
  .project-title {
    font-size: 28px !important;
  }
  
  .header-content {
    padding: 0 20px !important;
  }
}

@media (max-width: 992px) {
  .professional-header {
    padding: 20px 0 !important;
  }
  
  .header-content {
    flex-direction: column !important;
    gap: 15px !important;
    text-align: center !important;
  }
  
  .header-left,
  .header-right {
    justify-content: center !important;
  }
  
  .project-title {
    font-size: 24px !important;
    margin-bottom: 10px !important;
  }
  
  .navigation-container {
    margin-top: 15px !important;
  }
}

@media (max-width: 768px) {
  .professional-header {
    padding: 15px 0 !important;
  }
  
  .header-content {
    padding: 0 15px !important;
  }
  
  .logo-container,
  .partner-logo {
    padding: 6px !important;
  }
  
  .logo-container img,
  .partner-logo img {
    height: 45px !important;
  }
  
  .project-title {
    font-size: 20px !important;
    letter-spacing: 1px !important;
  }
  
  .branding-text h4,
  .country-info h5 {
    font-size: 14px !important;
  }
  
  .branding-text p,
  .country-info p {
    font-size: 10px !important;
  }
  
  .nav-tab .nav-link {
    padding: 8px 12px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 576px) {
  .header-left,
  .header-right {
    flex-direction: column !important;
    gap: 8px !important;
  }
  
  .project-title {
    font-size: 18px !important;
  }
  
  .nav-tab .nav-link {
    padding: 6px 8px !important;
    font-size: 12px !important;
  }
}

/* ========== Enhanced Workshops & Trainings Styles ========== */
.activity-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.activity-card:hover {
  transform: translateY(-4px);  /* More subtle hover effect */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.activity-card .card-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid #dee2e6;
}

.activity-card .card-body {
  padding: 25px;
}

.activity-card h5 {
  font-weight: 600;
  color: #2c3e50;  /* Keep dark text for readability */
  margin-bottom: 20px;
}

.activity-card .fas {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.custom-dropdown .Select-control {
  border-radius: 8px !important;
  border: 2px solid #e9ecef !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
  min-height: 45px !important;
}

.custom-dropdown .Select-control:hover {
  border-color: #17AAE1 !important;  /* GGGI Primary Blue */
}

.custom-dropdown .Select-menu-outer {
  border-radius: 8px !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}

.custom-dropdown .Select-option {
  padding: 12px 15px !important;
  font-size: 1rem !important;
}

.custom-dropdown .Select-option:hover {
  background-color: #f8f9fa !important;
  color: #2c3e50 !important;
}

/* Accordion styling */
.activity-card .accordion-button {
  background-color: #f8f9fa !important;
  border: 1px solid #e9ecef !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  color: #2c3e50 !important;
}

.activity-card .accordion-button:not(.collapsed) {
  background-color: #e9ecef !important;
  color: #2c3e50 !important;
}

.activity-card .accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25) !important;
}

/* Statistics cards */
.statistics-card {
  transition: transform 0.3s ease;
}

.statistics-card:hover {
  transform: translateY(-3px);
}

/* Modal styling */
.modal-content {
  border-radius: 12px !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

/* Kebele modal header themes */
.kebele-modal-header {
  color: white !important;
  border-bottom: none !important;
}

.kebele-modal-header.kebele-modal-header--oromia {
  background: linear-gradient(135deg, #17AAE1 0%, #0f8bb8 100%) !important;
}

.kebele-modal-header.kebele-modal-header--southwest {
  background: linear-gradient(135deg, #18bb9d 0%, #0a987e 100%) !important;
}

.kebele-pfm-map-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 12px !important;
}

.kebele-pfm-map {
  width: 100% !important;
  height: auto !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12) !important;
}

.modal-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  border-bottom: 2px solid #dee2e6 !important;
  border-radius: 12px 12px 0 0 !important;
}

.modal-title {
  font-weight: 600 !important;
  color: #2c3e50 !important;
  font-size: 1.4rem !important;
}

.modal-body {
  background-color: #ffffff !important;
  padding: 30px !important;
}

.modal-footer {
  background-color: #f8f9fa !important;
  border-top: 1px solid #dee2e6 !important;
  border-radius: 0 0 12px 12px !important;
}

/* Button styling */
.btn-primary {
  background: linear-gradient(135deg, #17AAE1 0%, #0f8bb8 100%) !important;  /* GGGI Primary Blue */
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  box-shadow: none !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0f8bb8 0%, #0a5d7a 100%) !important;  /* GGGI Blue gradient */
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(23, 170, 225, 0.3) !important;
}

.btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(23, 170, 225, 0.25) !important;
}

.btn-secondary {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%) !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #5a6268 0%, #495057 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3) !important;
}

/* Common styles for header and footer */
.header,
.footer {
  background-color: #18BB9D;  /* GGGI Primary Green */
  padding: 1%;
  text-align: center;
  color: #edefeb;
}

.side_bar {
  height: 100%;
  width: 14%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #0A7964;  /* GGGI Secondary Green */
  padding-left: 1%;
  padding-right: 1%;
  color: rgb(7, 7, 7);
}

.main {
  font-size: 15px;
  padding: 0px 10px;
  padding-left: 16%;
  color: #f7f3f3;
}

.footer {
  position: relative;
  left: 0;
  bottom: 0;
  width: 100%;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
  .side_bar {
    width: 25%;
  }

  .main {
    padding-left: 25%;
  }
}

/* Media query for even smaller screens */
@media (max-width: 480px) {
  .side_bar {
    display: none;
  }

  .main {
    padding-left: 10px;
    padding-right: 10px;
  }
}

h1 {
  color: #edefeb;
  font-family: "Lato", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
}

h3 {
  margin-block-start: 0.3em;
  font-size: smaller;
  font-family: "Lato", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
}

h4 {
  margin-block-end: 0.3em;
  font-size: smaller;
  font-family: "Lato", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
}

.text {
  margin: 10px;
  padding: 25px;
  align-self: center;
}

.row {
  display: flex;
}

/* Boxes */

.box {
  border-radius: 20px;
  background-color: #f9f9f8;
  margin: 10px;
  padding: 25px;
  box-shadow: 2px 2px 2px lightgrey;
}

.box_comment {
  border-radius: 20px;
  background-color: #d4f5c29a;
  margin: 10px;
  padding: 10px;
  box-shadow: 2px 2px 2px lightgrey;
  font-size: small;
  text-align: center;
  font-family: system-ui;
}

.box_emissions {
  border-radius: 20px;
  background-color: #e9a8538e;
  margin: 2px;
  box-shadow: 2px 2px 2px lightgrey;
  justify-content: center;
  width: 50%;
  text-align: center;
}
/* Drop down */
#drop_map .VirtualizedSelectFocusedOption {
  background-color: #ebb36abf;
}

#drop_continent .VirtualizedSelectFocusedOption {
  background-color: #ebb36abf;
}

/* Radio buttons */
.radio {
  display: flex;
  justify-content: left;
  place-content: space-around;
  width: 88%;
}

.radio input[type="radio"] {
  opacity: 0;
  position: absolute;
}

.radio label {
  display: table-caption;
  background-color: #f9f9f8;
  padding: 15px 15px;
  font-size: 16px;
  border: 2px solid #e9a8538e;
  border-radius: 10px;
  width: 200%;
  text-align: center;
}

.radio input[type="radio"]:checked + label {
  background-color: #e98b1044;
  border: 2px solid #f9f9f8;
}

.radio label:hover {
  background-color: #e1e2df;
  border: 2px solid #e1e2df;
}

/* Scrollbars */
*::-webkit-scrollbar {
  width: 12px;
}
*::-webkit-scrollbar-track {
  background: #edefeb;
}
*::-webkit-scrollbar-thumb {
  background-color: #ebb36abf;
  border-radius: 20px;
  border: 3px solid #edefeb;
}

/* This is the code for home page responsive */

/* Custom class for styling the main container */
.custom-container {
    padding: 20px; /* Add padding to the main container */
}

/* Custom class for styling the inner container */
.custom-box {
    margin: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
}

/* Custom class for styling graph divs */
.custom-graph-div {
    width: 48%; /* Adjust the width of the graph divs */
    margin: 1%; /* Add a little margin between graph divs */
}

/* Custom class for styling dropdown divs */
.custom-dropdown-div {
    width: 48%; /* Adjust the width of the dropdown divs */
    margin: 1%; /* Add a little margin between dropdown divs */
}

/* Media query for adjusting layout on smaller screens */
@media (max-width: 768px) {
    /* For example, you can stack graph and dropdown divs vertically */
    .d-flex.justify-content-between {
        flex-direction: column;
    }
    
    /* Adjust the width to full width on smaller screens */
    .custom-graph-div,
    .custom-dropdown-div {
        width: 100%;
    }
}

/* ===== Reports sub-tabs styling ===== */
.custom-subtabs {
  border-bottom: 1px solid #dee2e6; /* baseline line under the tab row */
}

.custom-subtabs .nav-item {
  margin-right: 6px;                /* space between tabs */
}

.custom-subtabs .nav-link {
  border: 1px solid #dee2e6;        /* border around each tab */
  border-bottom: none;              /* merge with content box below */
  border-radius: 8px 8px 0 0;       /* rounded top corners */
  padding: 8px 16px;
  color: #333 !important;
  background: #ffffff;
  font-weight: 500;
}

.custom-subtabs .nav-link:hover {
  background: #f8f9fa;
}

.custom-subtabs .nav-link.active {
  color: #0A3410 !important;        /* your green */
  font-weight: 600;
  /* make active tab look attached to content panel */
  border-color: #0A3410 #0A3410 #ffffff;
  box-shadow: 0 -1px 0 #ffffff inset; /* hide bottom seam */
}

/* Content panel under the tabs */
.reports-content {
  border: 1px solid #dee2e6;
  border-top: none;                 /* connects to active tab */
  padding: 16px;
  border-radius: 0 8px 8px 8px;     /* rounded corners except top-left */
  background: #ffffff;
}

/* ===== Workshops & Trainings Styling ===== */
.activity-card {
  transition: all 0.3s ease !important;
}

.activity-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

.custom-dropdown .Select-control {
  border-radius: 8px !important;
  border: 2px solid #e9ecef !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.custom-dropdown .Select-control:hover {
  border-color: #17AAE1 !important;  /* GGGI Primary Blue */
}

.custom-dropdown .Select-menu-outer {
  border-radius: 8px !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
  border: 1px solid #e9ecef !important;
}

.custom-dropdown .Select-option {
  padding: 12px 16px !important;
  font-size: 1rem !important;
}

.custom-dropdown .Select-option:hover {
  background-color: #f8f9fa !important;
}

.custom-dropdown .Select-option.is-selected {
  background-color: #3498db !important;
  color: white !important;
}

/* Activity type badges */
.activity-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.activity-badge.workshop {
  background-color: #17AAE1;  /* GGGI Primary Blue */
  color: white;
}

.activity-badge.training {
  background-color: #18BB9D;  /* GGGI Primary Green */
  color: white;
}

.activity-badge.meeting {
  background-color: #74C2AF;  /* GGGI Secondary Green */
  color: white;
}

/* Responsive design for workshops */
@media (max-width: 1200px) {
  .activity-card {
    width: 300px !important;
  }
}

@media (max-width: 768px) {
  .activity-card {
    width: 100% !important;
    max-width: 400px !important;
    margin: 10px auto !important;
  }
  
  .workshops-filtered-content {
    flex-direction: column !important;
    align-items: center !important;
  }
}

@media (max-width: 480px) {
  .activity-card {
    width: 95% !important;
    margin: 5px auto !important;
  }
}

/* ===== Outputs & Achievements Styling ===== */
.output-card {
  transition: all 0.3s ease !important;
}

.output-card:hover {
  transform: translateY(-4px) !important;  /* More subtle hover effect */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.output-detail-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Statistics cards hover effect */
.statistics-card {
  transition: all 0.3s ease !important;
}

.statistics-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Professional modal styling */
.modal-content {
  border-radius: 15px !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

/* Project Gallery Styling */
.gallery-img {
  transition: all 0.3s ease !important;
  border: 2px solid transparent !important;
}

.gallery-img:hover {
  transform: scale(1.05) !important;
  border-color: #17AAE1 !important;  /* GGGI Primary Blue */
  box-shadow: 0 8px 25px rgba(23, 170, 225, 0.3) !important;
}

/* Compact Professional Header Styling */
.compact-header {
  background: transparent !important;
  color: #2c3e50 !important;
  padding: 1.5rem 1rem !important;
  border-radius: 0 !important;
  margin-bottom: 1rem !important;
  box-shadow: none !important;
}

.statistics-card {
  background: white !important;
  border-radius: 15px !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
  transition: all 0.3s ease !important;
  border: 1px solid #e9ecef !important;
  animation: fadeInUp 0.6s ease-out !important;
}

.statistics-card:hover {
  transform: translateY(-3px) !important;  /* More subtle hover effect */
  box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important;
}

/* Clean Cards Styling */
.clean-card {
  background: white !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
  transition: all 0.3s ease !important;
  border: 1px solid #e9ecef !important;
  animation: fadeInUp 0.6s ease-out !important;
}

.clean-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12) !important;
}

.clean-card .card-body {
  padding: 1.25rem !important;
}

/* Image Gallery Styling */
.image-container {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
  transition: all 0.3s ease !important;
}

.image-container:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2) !important;
}

.image-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(44, 90, 160, 0.8) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  transition: all 0.3s ease !important;
  border-radius: 12px !important;
}

.image-container:hover .image-overlay {
  opacity: 1 !important;
}

/* Project gallery refinements */
.gallery-section-title {
  text-align: center;
  margin-bottom: 12px;
  color: #1f4e79 !important;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.gallery-section-subtitle {
  text-align: center;
  color: #506275 !important;
  font-size: 1rem;
  margin-bottom: 24px;
}

.gallery-filter-group {
  display: inline-flex !important;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 18px !important;
  background: #ffffff !important;
  border: 1px solid rgba(31, 78, 121, 0.12) !important;
  box-shadow: 0 12px 26px rgba(31, 78, 121, 0.12) !important;
}

.gallery-filter-group .btn {
  border-radius: 14px !important;
  padding: 0.6rem 1.2rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.7px !important;
}

.gallery-filter-group .btn-outline-primary {
  border: 2px solid #1f4e79 !important;
  color: #1f4e79 !important;
  background: #ffffff !important;
}

.gallery-filter-group .btn-outline-primary:hover {
  background: rgba(31, 78, 121, 0.08) !important;
  box-shadow: 0 6px 16px rgba(31, 78, 121, 0.18) !important;
}

.gallery-shell {
  border-radius: 20px !important;
  border: 1px solid rgba(31, 78, 121, 0.08) !important;
  background: #ffffff !important;
  box-shadow: 0 14px 30px rgba(31, 78, 121, 0.12) !important;
}

.gallery-subhead {
  text-align: center;
  margin-bottom: 18px;
  color: #1f4e79 !important;
  font-weight: 700 !important;
}

/* Enhanced Professional Modal Styling */
.modal-content {
  border-radius: 20px !important;
  border: none !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
  overflow: hidden !important;
}

.modal-header {
  background: linear-gradient(135deg, #17aae1 0%, #0f8bb8 100%) !important;  /* GGGI Blue gradient */
  color: white !important;
  border-radius: 20px 20px 0 0 !important;
  border-bottom: none !important;
  padding: 1.5rem 2rem !important;
}

.modal-body {
  padding: 2rem !important;
  background: white !important;
  max-height: 80vh !important;
  overflow-y: auto !important;
}

.modal-footer {
  background: #f8f9fa !important;
  border-top: 1px solid #dee2e6 !important;
  border-radius: 0 0 20px 20px !important;
  padding: 1rem 2rem !important;
}

/* Download Button Styling */
.btn-success {
  background: linear-gradient(135deg, #18BB9D 0%, #0A987E 100%) !important;  /* GGGI Primary Green */
  border: none !important;
  border-radius: 8px !important;
  padding: 0.5rem 1rem !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(24, 187, 157, 0.3) !important;
}

.btn-success:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(24, 187, 157, 0.4) !important;
  background: linear-gradient(135deg, #0A987E 0%, #0A7964 100%) !important;  /* GGGI Secondary Green */
}

/* Card Styling for Project Overview */
.card {
  border: none !important;
  border-radius: 15px !important;
  transition: all 0.3s ease !important;
  animation: fadeInUp 0.6s ease-out !important;
}

.card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15) !important;
}

.card-header {
  background: linear-gradient(135deg, #17AAE1 0%, #0f8bb8 100%) !important;  /* GGGI Primary Blue gradient */
  color: white !important;
  border-radius: 15px 15px 0 0 !important;
  border-bottom: none !important;
  padding: 1.25rem 1.5rem !important;
  font-weight: 600 !important;
}

.card-body {
  padding: 1.5rem !important;
}

/* Button Group Styling */
.btn-group .btn {
  border-radius: 8px !important;
  margin: 0 0.25rem !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.btn-group .btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2) !important;
}

/* Map filter controls */
.map-filter-group {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px !important;
  background: #ffffff !important;
  border: 1px solid rgba(31, 78, 121, 0.12) !important;
  box-shadow: 0 10px 24px rgba(31, 78, 121, 0.12) !important;
}

.map-filter-group .btn {
  border-radius: 12px !important;
  padding: 0.6rem 1.4rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
}

.map-filter-group .btn-primary {
  background: linear-gradient(135deg, #17AAE1 0%, #0f8bb8 100%) !important;
  box-shadow: 0 8px 18px rgba(23, 170, 225, 0.25) !important;
}

.map-filter-group .btn-outline-primary {
  border: 2px solid #1f4e79 !important;
  color: #1f4e79 !important;
  background: #ffffff !important;
}

.map-filter-group .btn-outline-primary:hover {
  background: rgba(31, 78, 121, 0.08) !important;
  box-shadow: 0 6px 16px rgba(31, 78, 121, 0.18) !important;
}

/* Project info summary cards */
.region-summary-card {
  --region-accent: #1f4e79;
  border: 1px solid rgba(31, 78, 121, 0.08) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 253, 0.98)) !important;
  box-shadow: 0 12px 28px rgba(31, 78, 121, 0.12) !important;
}

.region-summary-card--oromia {
  --region-accent: #17aae1;
}

.region-summary-card--southwest {
  --region-accent: #18bb9d;
}

.region-summary-card .card-header {
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 2px solid var(--region-accent) !important;
  color: var(--region-accent) !important;
  border-radius: 16px 16px 0 0 !important;
  padding: 0.9rem 1.4rem !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
}

.region-summary-title {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: inherit !important;
}

.region-summary-card .card-body {
  padding: 1.4rem 1.6rem !important;
}

.region-summary-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
  display: grid !important;
  gap: 12px !important;
}

.region-summary-item {
  display: flex !important;
  align-items: baseline !important;
  gap: 10px !important;
  color: #2c3e50 !important;
  font-weight: 600 !important;
}

.region-summary-item::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--region-accent);
  flex: 0 0 10px;
  margin-top: 6px;
}

.region-summary-value {
  color: #1f4e79 !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
}

/* Project Overview compact cards */
.overview-compact-card {
  border-radius: 18px !important;
  border: 1px solid rgba(31, 78, 121, 0.12) !important;
  box-shadow: 0 10px 24px rgba(31, 78, 121, 0.1) !important;
  background: #ffffff !important;
}

.overview-compact-card .card-body {
  padding: 1.2rem 1.4rem !important;
}

.overview-compact-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.overview-compact-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 170, 225, 0.12);
  color: #1f4e79;
  font-size: 1.1rem;
}

.overview-compact-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #1f4e79 !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.overview-compact-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #2c3e50;
}

.overview-compact-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  margin-right: 8px;
  background: #18bb9d;
}

.overview-compact-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #2c3e50;
}

/* Responsive Design for Project Overview */
@media (max-width: 768px) {
  .hero-content {
    padding: 2rem 1rem !important;
  }
  
  .hero-content h1 {
    font-size: 2rem !important;
  }
  
  .statistics-card {
    margin-bottom: 1rem !important;
  }
  
  .image-container {
    margin-bottom: 1rem !important;
  }
  
  .btn-group .btn {
    font-size: 0.9rem !important;
    padding: 0.5rem 1rem !important;
  }

  .gallery-filter-group {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.gallery-item {
  overflow: hidden !important;
  border-radius: 8px !important;
}

.modal-header {
  background: linear-gradient(135deg, #17AAE1 0%, #0a5d7a 100%) !important;  /* GGGI Primary Blue gradient */
  color: white !important;
  border-radius: 15px 15px 0 0 !important;
  border-bottom: none !important;
}

.modal-title {
  font-weight: 700 !important;
  font-size: 1.3rem !important;
}

.modal-footer {
  border-top: 1px solid #ecf0f1 !important;
  border-radius: 0 0 15px 15px !important;
}

/* Professional animations - Subtle and smooth */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);  /* Reduced movement for subtlety */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animated counter animations */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Loading animation */
@keyframes loadingPulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

/* Progress bar animation */
@keyframes progressFill {
  from {
    width: 0%;
  }
  to {
    width: var(--progress-width);
  }
}

/* Image caption animations */
@keyframes captionSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* GGGI-style menu hover animations */
@keyframes menuExpand {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Animated counter classes */
.animated-counter {
  animation: countUp 0.8s ease-out;
  font-weight: 700;
  color: #17AAE1;  /* GGGI Primary Blue */
}

.animated-counter:hover {
  animation: pulse 0.6s ease-in-out;
}

/* Loading animation classes */
.loading-animation {
  animation: loadingPulse 1.5s ease-in-out infinite;
}

.progress-bar {
  background: linear-gradient(90deg, #17AAE1, #18BB9D);  /* GGGI Colors */
  height: 8px;
  border-radius: 4px;
  animation: progressFill 2s ease-out;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Image caption animations */
.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  animation: captionSlideUp 0.6s ease-out 0.3s both;
}

.image-container:hover .image-caption {
  transform: translateY(0);
}

/* Enhanced hover effects for tabs */
.nav-tab .nav-link {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.nav-tab .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: #18BB9D;  /* GGGI Primary Green */
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-tab .nav-link:hover::after {
  width: 80%;
}

.nav-tab .nav-link:hover {
  transform: translateY(-2px);
  background: rgba(24, 187, 157, 0.1) !important;
}

/* Statistics card animations */
.statistics-card {
  transition: all 0.3s ease !important;
  animation: fadeInScale 0.6s ease-out !important;
}

.statistics-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important;
  animation: pulse 0.6s ease-in-out !important;
}

/* Staggered animation delays */
.statistics-card:nth-child(1) { animation-delay: 0.1s !important; }
.statistics-card:nth-child(2) { animation-delay: 0.2s !important; }
.statistics-card:nth-child(3) { animation-delay: 0.3s !important; }
.statistics-card:nth-child(4) { animation-delay: 0.4s !important; }

/* Card entrance animations */
.card {
  animation: fadeInUp 0.6s ease-out !important;
}

.card:nth-child(1) { animation-delay: 0.1s !important; }
.card:nth-child(2) { animation-delay: 0.2s !important; }
.card:nth-child(3) { animation-delay: 0.3s !important; }
.card:nth-child(4) { animation-delay: 0.4s !important; }
.card:nth-child(5) { animation-delay: 0.5s !important; }
.card:nth-child(6) { animation-delay: 0.6s !important; }

.output-card {
  animation: fadeInUp 0.6s ease-out !important;
}

.output-card:nth-child(1) { animation-delay: 0.1s !important; }
.output-card:nth-child(2) { animation-delay: 0.2s !important; }
.output-card:nth-child(3) { animation-delay: 0.3s !important; }
.output-card:nth-child(4) { animation-delay: 0.4s !important; }
.output-card:nth-child(5) { animation-delay: 0.5s !important; }
.output-card:nth-child(6) { animation-delay: 0.6s !important; }

/* Responsive design for outputs */
@media (max-width: 1200px) {
  .output-card {
    max-width: 350px !important;
  }
}

@media (max-width: 768px) {
  .output-card {
    max-width: 100% !important;
    margin: 10px auto !important;
  }
  
  .statistics-overview {
    flex-direction: column !important;
    align-items: center !important;
  }
  
  .statistics-card {
    width: 200px !important;
    margin: 10px !important;
  }
}

@media (max-width: 480px) {
  .output-card {
    margin: 5px auto !important;
  }
  
  .statistics-card {
    width: 150px !important;
  }
}

/* Professional gradient backgrounds */
.outputs-header {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%) !important;
  color: #2c3e50 !important;
  padding: 36px 24px 30px !important;
  margin-bottom: 30px !important;
  border: 1px solid #e9ecef !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06) !important;
}

/* Enhanced typography */
.outputs-title {
  font-family: 'Lato', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 800 !important;
  font-size: 2.6rem !important;
  margin-bottom: 6px !important;
  letter-spacing: 1px !important;
  text-align: center !important;
}

.outputs-subtitle {
  font-family: 'Lato', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 400 !important;
  opacity: 0.95 !important;
  color: #6c7a89 !important;
  font-size: 1.05rem !important;
  text-align: center !important;
  max-width: 760px !important;
  margin: 0 auto !important;
}

.outputs-stats {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  margin-bottom: 30px !important;
}

.outputs-stat {
  min-width: 180px !important;
}

.outputs-stat-body {
  text-align: center !important;
  padding: 20px !important;
}

.outputs-stat-body h3 {
  font-size: 2.2rem !important;
  margin: 0 !important;
}

.outputs-stat-value {
  font-size: 2.2rem !important;
  font-weight: 700 !important;
  color: #003366 !important;
  margin: 0 !important;
}

.outputs-stat-label {
  font-size: 0.95rem !important;
  color: #7f8c8d !important;
  margin: 6px 0 0 !important;
}

.outputs-stat-blue h3 {
  color: #2c5aa0 !important;
}

.outputs-stat-navy h3 {
  color: #1a5490 !important;
}

.outputs-stat-deep h3 {
  color: #0d4a7c !important;
}

.outputs-stat-slate h3 {
  color: #003366 !important;
}

.outputs-filter {
  margin-bottom: 24px !important;
}

.outputs-filter-label {
  font-weight: 700 !important;
  color: #2c3e50 !important;
  margin-bottom: 8px !important;
  letter-spacing: 0.3px !important;
}

.outputs-counter {
  text-align: right !important;
  padding-top: 34px !important;
  color: #7f8c8d !important;
  font-weight: 500 !important;
}

.outputs-grid-shell {
  background-color: #f8f9fa !important;
  border-radius: 15px !important;
  padding: 20px !important;
  margin: 20px 0 !important;
}

.outputs-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

.output-category-badge {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
}

.output-card {
  width: 100% !important;
  margin: 0 !important;
  background-color: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
  overflow: hidden !important;
  border: 1px solid #f1f2f6 !important;
  transition: all 0.3s ease !important;
}

.output-count-badge {
  display: inline-block !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: #2c3e50 !important;
  background: #eef3f8 !important;
  border-radius: 12px !important;
  padding: 4px 10px !important;
  margin-bottom: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

@media (max-width: 1200px) {
  .outputs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .outputs-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .outputs-grid {
    grid-template-columns: 1fr !important;
  }

  .outputs-stats {
    grid-template-columns: 1fr !important;
  }

  .outputs-counter {
    text-align: left !important;
    padding-top: 10px !important;
  }
}

/* ===== Annual Reports Professional Styling ===== */

/* Custom dropdown positioning */
.Select-menu-outer {
  z-index: 9999 !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  margin-top: 2px !important;
}

.Select-control {
  min-height: 32px !important;
}

.Select-placeholder {
  line-height: 30px !important;
}

.Select-value {
  line-height: 30px !important;
}
/* ===== Project Story video (Home) ===== */
.video-card {
  border: none !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #0f2846 !important;  /* deep frame so letterboxing looks intentional */
}

.video-responsive {
  position: relative !important;
  width: 100% !important;
  padding-top: 56.25% !important;  /* 16:9 aspect ratio */
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #0f2846 !important;
}

.video-frame {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

/* ===== Report cards (Reports & Studies) ===== */
.report-card-link,
.report-card-link:hover,
.report-card-link:focus {
  text-decoration: none !important;
  color: inherit !important;
  display: block !important;
  height: 100% !important;
}

.report-card {
  border: 1px solid #e9ecef !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-shadow: 0 4px 14px rgba(15, 40, 70, 0.06) !important;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease !important;
}

.report-card-link:hover .report-card {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 34px rgba(15, 40, 70, 0.16) !important;
  border-color: #17AAE1 !important;  /* GGGI Primary Blue */
}

.report-card-link:focus-visible .report-card {
  outline: 3px solid rgba(23, 170, 225, 0.55) !important;
  outline-offset: 2px !important;
}

/* --- Cover preview --- */
.report-cover-wrap {
  position: relative !important;
  height: 210px !important;
  overflow: hidden !important;
  background: linear-gradient(160deg, #eef3f8 0%, #dfe7ef 100%) !important;
  border-bottom: 1px solid #eef1f4 !important;
}

.report-cover-img {
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: top center !important;
  background-repeat: no-repeat !important;
  transition: transform 0.4s ease !important;
}

.report-card-link:hover .report-cover-img {
  transform: scale(1.05) !important;
}

.report-cover-badge {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  z-index: 2 !important;
  background: rgba(23, 170, 225, 0.95) !important;  /* GGGI Primary Blue */
  color: #ffffff !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18) !important;
}

.report-cover-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  background: linear-gradient(0deg, rgba(10, 50, 90, 0.72) 0%, rgba(10, 50, 90, 0.35) 100%) !important;
  opacity: 0 !important;
  transition: opacity 0.28s ease !important;
}

.report-card-link:hover .report-cover-overlay {
  opacity: 1 !important;
}

/* --- Body --- */
.report-card .card-body {
  background: #ffffff !important;
  padding: 1rem 1rem 0.9rem !important;
  height: 100% !important;
}

.report-card-title {
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #22364a !important;
  margin-bottom: 0.4rem !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 2.3em !important;
}

.report-card-link:hover .report-card-title {
  color: #17AAE1 !important;  /* GGGI Primary Blue */
}

.report-card-desc {
  font-size: 0.8rem !important;
  color: #6c757d !important;
  line-height: 1.45 !important;
  margin-bottom: 0.75rem !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  flex-grow: 1 !important;
}

.report-card-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px 14px !important;
  padding-top: 0.6rem !important;
  border-top: 1px solid #f0f2f5 !important;
  margin-top: auto !important;
}

.report-meta-item {
  font-size: 0.72rem !important;
  color: #6c757d !important;
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}

/* Search and Filter Styling */
.custom-input {
  border-radius: 10px !important;
  border: 2px solid #e9ecef !important;
  transition: all 0.3s ease !important;
}

.custom-input:focus {
  border-color: #17AAE1 !important;  /* GGGI Primary Blue */
  box-shadow: 0 0 0 0.2rem rgba(23, 170, 225, 0.25) !important;
}

.custom-dropdown .Select-control {
  border-radius: 10px !important;
  border: 2px solid #e9ecef !important;
  transition: all 0.3s ease !important;
}

.custom-dropdown .Select-control:hover {
  border-color: #17AAE1 !important;  /* GGGI Primary Blue */
}

.custom-dropdown .Select-control.is-focused {
  border-color: #17AAE1 !important;  /* GGGI Primary Blue */
  box-shadow: 0 0 0 0.2rem rgba(23, 170, 225, 0.25) !important;
}

.custom-dropdown .Select-menu-outer {
  border-radius: 10px !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
  border: 1px solid #e9ecef !important;
}

.custom-dropdown .Select-option {
  padding: 12px 16px !important;
  transition: all 0.2s ease !important;
}

.custom-dropdown .Select-option:hover {
  background-color: #f8f9fa !important;
  color: #17AAE1 !important;  /* GGGI Primary Blue */
}

.custom-dropdown .Select-option.is-selected {
  background-color: #17AAE1 !important;  /* GGGI Primary Blue */
  color: white !important;
}

/* ===== Reports & Studies Header + Filters ===== */
.reports-header {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%) !important;
  border: 1px solid #e9ecef !important;
  border-radius: 16px !important;
  padding: 28px 24px 22px !important;
  text-align: center !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06) !important;
}

.reports-title {
  color: #2c3e50 !important;
  font-weight: 700 !important;
  font-size: 1.8rem !important;
  margin: 0 0 6px !important;
  letter-spacing: 0.8px !important;
}

.reports-subtitle {
  color: #6c757d !important;
  font-size: 0.95rem !important;
  max-width: 680px !important;
  margin: 0 auto !important;
}

.reports-filter-card {
  border-radius: 10px !important;
  border: 1px solid #eef1f4 !important;
  overflow: visible !important;
  position: relative !important;
  z-index: 2 !important;
}

.reports-filter-card .card-body {
  overflow: visible !important;
}

.reports-filter-label {
  font-weight: 700 !important;
  color: #2c3e50 !important;
  margin-bottom: 6px !important;
  letter-spacing: 0.3px !important;
  font-size: 0.85rem !important;
}

.reports-filter-input {
  border-radius: 10px !important;
  border: 2px solid #e9ecef !important;
  transition: all 0.3s ease !important;
}

.reports-filter-input:focus {
  border-color: #17AAE1 !important;
  box-shadow: 0 0 0 0.2rem rgba(23, 170, 225, 0.25) !important;
}

@media (max-width: 768px) {
  .reports-header {
    padding: 22px 18px !important;
  }

  .reports-title {
    font-size: 1.6rem !important;
  }
}

/* ===== Events & Activities Grid ===== */
.events-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.activity-card {
  height: 100% !important;
}

@media (max-width: 1200px) {
  .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Professional animations for reports - Subtle and smooth */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);  /* Reduced movement for subtlety */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.report-card {
  animation: slideInUp 0.6s ease-out !important;
}

.report-card:nth-child(1) { animation-delay: 0.1s !important; }
.report-card:nth-child(2) { animation-delay: 0.2s !important; }
.report-card:nth-child(3) { animation-delay: 0.3s !important; }
.report-card:nth-child(4) { animation-delay: 0.4s !important; }
.report-card:nth-child(5) { animation-delay: 0.5s !important; }
.report-card:nth-child(6) { animation-delay: 0.6s !important; }

/* Responsive design for reports */
@media (max-width: 992px) {
  .report-cover-wrap {
    height: 200px !important;
  }
}

@media (max-width: 768px) {
  .report-cover-wrap {
    height: 220px !important;
  }

  .report-card-title {
    font-size: 0.88rem !important;
  }
}

@media (max-width: 480px) {
  .report-cover-wrap {
    height: 200px !important;
  }

  .report-card .card-body {
    padding: 0.85rem !important;
  }
}

/* ===== Home Page Professional Styling ===== */
.hero-section {
  background: linear-gradient(135deg, #17AAE1 0%, #0f8bb8 50%, #0a5d7a 100%) !important;  /* GGGI Primary Blue gradient */
  position: relative !important;
  overflow: hidden !important;
}

.hero-section::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') !important;
  pointer-events: none !important;
}

.statistics-card {
  background: white !important;
  border-radius: 15px !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
  transition: all 0.3s ease !important;
  border: 1px solid #e9ecef !important;
}

.statistics-card:hover {
  transform: translateY(-3px) !important;  /* More subtle hover effect */
  box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important;
}

.map-container {
  border-radius: 15px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.data-exploration-card {
  border-radius: 15px !important;
  border: none !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.data-table-card {
  border-radius: 15px !important;
  border: none !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.chart-card {
  border-radius: 15px !important;
  border: none !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
  transition: all 0.3s ease !important;
}

.chart-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15) !important;
}

/* Professional dropdown styling */
.Select-control {
  border-radius: 8px !important;
  border: 2px solid #e9ecef !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
  transition: all 0.3s ease !important;
}

.Select-control:hover {
  border-color: #17AAE1 !important;  /* GGGI Primary Blue */
  box-shadow: 0 4px 8px rgba(23, 170, 225, 0.1) !important;
}

.Select-control.is-focused {
  border-color: #17AAE1 !important;  /* GGGI Primary Blue */
  box-shadow: 0 0 0 3px rgba(23, 170, 225, 0.1) !important;
}

.Select-menu-outer {
  border-radius: 8px !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
  border: 1px solid #e9ecef !important;
  margin-top: 4px !important;
}

.Select-option {
  padding: 12px 16px !important;
  font-size: 1rem !important;
  transition: all 0.2s ease !important;
}

.Select-option:hover {
  background-color: #f8f9fa !important;
  color: #17AAE1 !important;  /* GGGI Primary Blue */
}

.Select-option.is-selected {
  background-color: #17AAE1 !important;  /* GGGI Primary Blue */
  color: white !important;
}

/* Professional button styling */
.btn-primary {
  background: linear-gradient(135deg, #17AAE1 0%, #0f8bb8 100%) !important;  /* GGGI Primary Blue gradient */
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(23, 170, 225, 0.3) !important;
}

.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(23, 170, 225, 0.4) !important;
  background: linear-gradient(135deg, #0f8bb8 0%, #0a5d7a 100%) !important;  /* GGGI Blue gradient */
}

.btn-secondary {
  background: #6c757d !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.btn-secondary:hover {
  transform: translateY(-2px) !important;
  background: #5a6268 !important;
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3) !important;
}

/* Read more link styling for Events & Activities */
.read-more-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #17AAE1 !important;  /* Keep current primary blue */
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.5px !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.read-more-link:hover {
  color: #0f8bb8 !important;
  transform: translateX(2px) !important;
  text-decoration: none !important;
}

/* ===== Events & Activities Header + Stats ===== */
.events-header {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%) !important;
  border: 1px solid #e9ecef !important;
  border-radius: 16px !important;
  padding: 32px 24px 24px !important;
  text-align: center !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06) !important;
  margin-bottom: 30px !important;
}

.events-title {
  margin: 0 0 6px !important;
  font-size: 2.6rem !important;
  font-weight: 800 !important;
  color: #2c3e50 !important;
  letter-spacing: 1px !important;
}

.events-subtitle {
  margin: 0 !important;
  font-size: 1.05rem !important;
  color: #6c7a89 !important;
  font-weight: 400 !important;
}

.events-stats {
  margin-bottom: 30px !important;
}

.events-stat-card {
  text-align: center !important;
  border: 1px solid #eef1f4 !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.events-stat-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12) !important;
}

.events-stat-card .card-body h3 {
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  font-size: 0.85rem !important;
}

.events-stat-card .card-body h2 {
  font-size: 2rem !important;
}

.events-filter {
  padding: 10px 0 0 !important;
  margin-bottom: 25px !important;
}

.events-filter-label {
  font-weight: 700 !important;
  color: #2c3e50 !important;
  margin-bottom: 10px !important;
  letter-spacing: 0.4px !important;
}

@media (max-width: 768px) {
  .events-header {
    padding: 24px 18px !important;
  }

  .events-title {
    font-size: 2.1rem !important;
  }

  .events-subtitle {
    font-size: 0.95rem !important;
  }
}

/* Professional card headers */
.card-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  border-bottom: 2px solid #17AAE1 !important;  /* GGGI Primary Blue */
  border-radius: 15px 15px 0 0 !important;
}

/* Responsive design for home page */
@media (max-width: 768px) {
  .display-4 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .statistics-card {
    margin-bottom: 20px !important;
  }
  
  .chart-card {
    margin-bottom: 20px !important;
  }
}

@media (max-width: 480px) {
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 1.5rem !important;
  }
  
  .btn-lg {
    padding: 10px 20px !important;
    font-size: 1rem !important;
  }
}
/* ========== GESI page: restore intended colors ==========
   The global rule `p, div, span, li, td, th { color:#2c3e50 !important }`
   overrides inline colors, so these scoped overrides re-establish the
   brand colors that the GESI layout relies on. */
.gesi-page .gesi-hero-sub { color: #ffffff !important; }
.gesi-page .gesi-badge    { color: #ffffff !important; }
.gesi-page .gesi-eyebrow  { color: #18BB9D !important; }
.gesi-page .gesi-stat-sub { color: #5a6c7d !important; }
.gesi-page .gesi-val-green { color: #18BB9D !important; }
.gesi-page .gesi-val-blue  { color: #17aae1 !important; }
.gesi-page .gesi-val-dark  { color: #0A3410 !important; }
.gesi-page .gesi-val-amber { color: #f39c12 !important; }

/* ==========================================================================
   Landing hero  (added with the HD Pic_forest header)
   The masthead and the hero are the same element: `.site-header--hero` on the
   Home tab, `.site-header--compact` everywhere else. The photo lives on
   ::before and the legibility scrim on ::after, which keeps them clear of the
   older `.professional-header { background-size: 120% !important }` rule.
   ========================================================================== */
.professional-header {
  display: flex;
  flex-direction: column;
  color: #fff;
  border-bottom: 3px solid #18BB9D;      /* GGGI primary green */
  isolation: isolate;
}

.professional-header::before,
.professional-header::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.professional-header::before {
  background: url('/assets/hero_forest.jpg') center 42% / cover no-repeat;
  transform: scale(1.04);                /* hides edge seams while panning */
  animation: heroDrift 26s ease-in-out infinite alternate;
}

/* Dark at top and bottom, clear through the middle: the nav and the headline
   stay readable without flattening the photo. */
.professional-header::after {
  background:
    linear-gradient(180deg,
      rgba(8, 32, 26, 0.78) 0%,
      rgba(8, 32, 26, 0.30) 26%,
      rgba(8, 32, 26, 0.28) 58%,
      rgba(8, 32, 26, 0.72) 100%);
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(-0.8%, 0, 0); }
  to   { transform: scale(1.08) translate3d(0.8%, 0, 0); }
}

/* Children must sit above the two pseudo layers. */
.professional-header > * {
  position: relative;
  z-index: 2;
}

/* ---- Hero vs compact ---------------------------------------------------- */
.site-header--hero {
  min-height: 90vh;
  padding: 22px 0 30px;
}

.site-header--compact {
  min-height: 0;
  padding: 18px 0 0;
}

/* The big headline only exists on Home... */
.site-header--compact .hero-copy { display: none; }

/* ...and the small centred masthead title only outside it, so the two never
   compete for the same space. */
.site-header--hero .project-title-container { display: none; }

/* ---- Brand marks -------------------------------------------------------- */
.logo-container,
.partner-logo {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 8px;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.logo-container { background: rgba(24, 187, 157, 0.18); border-color: rgba(24, 187, 157, 0.4); }

.brand-logo      { height: 60px; border-radius: 8px; filter: brightness(1.1); display: block; }
.partner-logo-img{ height: 50px; border-radius: 8px; filter: brightness(1.1); display: block; }

/* ---- Compact masthead title -------------------------------------------- */
.project-title {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.45);
}

.project-subtitle {
  margin: 5px 0 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* ---- Hero copy ---------------------------------------------------------- */
.hero-copy {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px 0;
  animation: heroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

.hero-title {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: #fff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
}

.hero-subtitle {
  max-width: 62ch;
  margin: 22px 0 0;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

/* ---- Call-to-action pills ---------------------------------------------- */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 36px;
}

.hero-btn {
  padding: 15px 34px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  color: #0f7a63;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.hero-btn:hover {
  background: #fff;
  color: #0b5c4a;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.hero-btn:focus-visible {
  outline: 3px solid #18BB9D;
  outline-offset: 3px;
}

/* ---- Scroll cue --------------------------------------------------------- */
.hero-scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 46px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-decoration: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  opacity: 0.92;
}

.hero-scroll:hover { color: #fff; opacity: 1; }

.hero-scroll-ring {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  font-size: 1.05rem;
  animation: heroBob 2.1s ease-in-out infinite;
}

@keyframes heroBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 992px) {
  .site-header--hero { min-height: 88vh; padding-bottom: 24px !important; }
  .hero-copy         { padding-top: 26px; }
  .hero-actions      { gap: 12px; margin-top: 28px; }
  .hero-btn          { padding: 13px 24px; font-size: 0.95rem; }
}

@media (max-width: 768px) {
  /* Smaller file for small screens - no need to ship 1920px to a phone. */
  .professional-header::before {
    background-image: url('/assets/hero_forest_mobile.jpg');
    animation: none;
    transform: none;
  }
  .site-header--hero { min-height: 78vh; }
  .hero-subtitle     { margin-top: 16px; }
  .hero-scroll       { padding-top: 30px; font-size: 0.85rem; }
  .hero-scroll-ring  { width: 34px; height: 34px; }
}

@media (max-width: 576px) {
  .hero-actions { flex-direction: column; width: 100%; max-width: 300px; }
  .hero-btn     { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .professional-header::before,
  .hero-copy,
  .hero-scroll-ring { animation: none !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   Hero overrides.
   Two inherited rules fight the hero and both use !important, so these must
   too:
     1. `p, div, span, li, td, th { color: #2c3e50 !important }` (top of this
        file) turned the subtitle and the scroll cue dark-on-dark.
     2. The LUX Bootstrap theme uppercases headings, which shouted the title.
   -------------------------------------------------------------------------- */
.hero-title {
  text-transform: none !important;        /* LUX uppercases every heading */
  font-size: clamp(1.75rem, 3.1vw, 2.85rem) !important;
  /* The headline is 61 characters; ~33ch of measure breaks it across exactly
     two lines on desktop. It still reflows to 3-4 lines on narrow screens. */
  max-width: 33ch;
  line-height: 1.16 !important;
  color: #fff !important;
}

.hero-subtitle,
.hero-subtitle * {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 400 !important;
}

.hero-scroll,
.hero-scroll span {
  color: #fff !important;
  font-weight: 600 !important;
}

.hero-btn { font-weight: 700 !important; }

/* Sida now sits beside GGGI, so match its optical weight to the GGGI mark. */
.header-left .partner-logo { background: rgba(255, 255, 255, 0.14); }
.partner-logo-img          { height: 46px; }

/* The right-hand spacer only needs to balance the flex row. */
.header-right { flex: 0 0 auto; min-width: 120px; }

@media (max-width: 992px) {
  .header-right { display: none; }
}

/* The pre-existing 576px rule stacks .header-left into a column, which split
   the GGGI and Sida marks onto two rows. Keep them paired on phones. */
@media (max-width: 576px) {
  .header-left { flex-direction: row !important; justify-content: center !important; }
  .brand-logo       { height: 42px !important; }
  .partner-logo-img { height: 36px !important; }
}

/* ==========================================================================
   Quick-access menu (top-right hamburger + slide-out panel)
   ========================================================================== */
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.menu-toggle:hover {
  background: rgba(24, 187, 157, 0.55);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.menu-toggle:focus-visible {
  outline: 3px solid #18BB9D;
  outline-offset: 3px;
}

/* Three bars drawn from one element: the middle is the box, the outer two are
   its pseudo-elements. */
.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s ease;
}

.menu-bars { position: relative; }

.menu-bars::before,
.menu-bars::after {
  content: '';
  position: absolute;
  left: 0;
}

.menu-bars::before { top: -8px; }
.menu-bars::after  { top:  8px; }

.menu-toggle:hover .menu-bars::before { transform: translateY(-1px); }
.menu-toggle:hover .menu-bars::after  { transform: translateY(1px); }

/* ---- Slide-out panel ---------------------------------------------------- */
.site-menu { width: 380px !important; max-width: 88vw !important; }

.site-menu .offcanvas-header {
  background: linear-gradient(135deg, #0f7a63 0%, #18BB9D 100%);
  color: #fff;
  padding: 22px 24px;
}

.site-menu .offcanvas-title {
  color: #fff !important;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.site-menu .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 0.9;
}

.site-menu .offcanvas-body { padding: 14px; }

.menu-list { display: flex; flex-direction: column; gap: 6px; }

.menu-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.menu-item:hover {
  background: rgba(24, 187, 157, 0.1);
  border-color: rgba(24, 187, 157, 0.35);
  transform: translateX(3px);
}

.menu-item:focus-visible {
  outline: 3px solid #18BB9D;
  outline-offset: 2px;
}

/* The blanket `p, div, span { color: #2c3e50 !important }` rule at the top of
   this file also lands on these spans, so both need !important. */
.menu-item-label {
  color: #14503f !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
}

.menu-item-hint {
  color: #5b6b73 !important;
  font-size: 0.83rem !important;
  font-weight: 400 !important;
  line-height: 1.35;
}

/* The first entry is the primary action, so give it a standing accent. */
.menu-item:first-child {
  background: rgba(24, 187, 157, 0.08);
  border-color: rgba(24, 187, 157, 0.28);
}

@media (max-width: 992px) {
  /* The header row stacks at this width; keep the toggle visible and reachable. */
  .header-right { display: flex !important; justify-content: center; min-width: 0; }
}

@media (max-width: 576px) {
  .menu-toggle { width: 46px; height: 46px; }
  .menu-bars, .menu-bars::before, .menu-bars::after { width: 21px; }
}

/* ==========================================================================
   Keep the eight tabs on a single row on laptop screens.
   Bootstrap's .nav defaults to flex-wrap: wrap, so "Contact Us" dropped to a
   second line around 1400-1500px. Pin the row and scale the padding down as
   the viewport narrows rather than letting it break.
   ========================================================================== */
@media (min-width: 993px) {
  .navigation-container .nav-tabs {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
  }

  .navigation-container .nav-item { flex: 0 0 auto !important; }

  .nav-tab .nav-link { white-space: nowrap !important; }
}

@media (min-width: 993px) and (max-width: 1600px) {
  .nav-tab .nav-link {
    padding: 12px 15px !important;
    font-size: 14px !important;
  }
}

@media (min-width: 993px) and (max-width: 1400px) {
  .nav-tab .nav-link {
    padding: 11px 11px !important;
    font-size: 13px !important;
    letter-spacing: 0.2px !important;
  }
}

@media (min-width: 993px) and (max-width: 1200px) {
  .nav-tab .nav-link {
    padding: 10px 8px !important;
    font-size: 12.5px !important;
    letter-spacing: 0 !important;
  }
}

/* Below the stacking breakpoint the hamburger is the primary nav, so let the
   tab strip scroll sideways instead of wrapping into four cramped rows. */
@media (max-width: 992px) {
  .navigation-container .nav-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .navigation-container .nav-tabs::-webkit-scrollbar { display: none; }
  .navigation-container .nav-item { flex: 0 0 auto !important; }
  .nav-tab .nav-link { white-space: nowrap !important; }
}
