body {
  font-family: Arial, sans-serif;
  background-color: #eaf7e6;
}


.text-warning {
  color: #f57c00 !important;
}

/* =====================================================
   ACCESSIBILITY TOP RIBBON
   ===================================================== */
.accessibility-ribbon {
  background-color: #DCFCE7;
  /* replace later if needed */
  padding: 6px 0;
  font-size: 0.85rem;
}

.skip-link {
  color: #1B3BA9;
  font-weight: 500;
}

.skip-link:hover {
  text-decoration: underline;
}

/* ================= RESPONSIVE GOVT BANNER ================= */

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Main banner */
.govt-banner {
  width: 100%;
  height: 110px;

  background-image: url("../images/Banner.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;

  display: flex;
  align-items: center;

  margin: 0;
  padding: 0;
}

/* Inner content */
.govt-banner .container-fluid {
  height: 100%;
}

/* Logos */
.govt-logo-left,
.govt-logo-right {
  height: 80px;
  width: auto;
  object-fit: contain;
}

/* ================= TABLET ================= */
@media (max-width: 991.98px) {
  .govt-banner {
    height: 90px;
  }

  .govt-logo-left,
  .govt-logo-right {
    height: 58px;
  }

  .govt-banner .container-fluid {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

/* ================= MOBILE ================= */
@media (max-width: 767.98px) {
  .govt-banner {
    height: 72px;
  }

  .govt-logo-left,
  .govt-logo-right {
    height: 42px;
  }

  .govt-banner .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 575.98px) {
  .govt-banner {
    height: 64px;
  }

  .govt-logo-left,
  .govt-logo-right {
    height: 34px;
  }

  .govt-banner .container-fluid {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}
/* =====================================================
   MAIN NAVBAR
   ===================================================== */
.main-navbar {
  background-color: #eaf7e6;
  /* light green */
  border-top: 3px solid #f7941d;
  /* orange line */
  padding: 6px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Links */
.main-navbar .nav-link {
  color: #1b5e20;
  /* dark green text */
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* NAVBAR – underline-only active state */
.nav-main .nav-link {
  background: none !important;
  border-radius: 0 !important;
}

/* Active tab text */
.nav-main .nav-link.active {
  color: #1b7c3e;
  background: none !important;
  box-shadow: none !important;
}

/* Blue underline */
.nav-main .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  background-color: #1e5df0;
  border-radius: 2px;
}

.nav-main .nav-link:hover {
  background: none !important;
}


/* Chevron */
.chevron {
  font-size: 0.75rem;
}

/* Login */
.login-link {
  color: #1b5e20;
  font-weight: 600;
}

/* Register button */
.btn-register {
  background-color: #f7941d;
  color: #fff;
  padding: 5px 16px;
  border-radius: 6px;
  font-weight: 600;
}

.btn-register:hover {
  background-color: #e68312;
  color: #fff;
}

/* ================= NAVBAR DROPDOWNS ================= */

.main-navbar .dropdown-menu {
  border-radius: 8px;
  border: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  padding: 6px 0;
}

.main-navbar .dropdown-item {
  font-size: 0.85rem;
  padding: 6px 16px;
  color: #1b7c3e;
  font-weight: 500;
}

.main-navbar .dropdown-item:hover {
  background-color: #eaf7e6;
}

/* Remove Bootstrap default caret styling */
.dropdown-toggle::after {
  display: none;
}



/* ===================================================== 
   MAIN ROUNDED CONTENT WRAPPER
   ===================================================== */
.main-content-wrapper {
  background-color: #ffffff;
  border-radius: 28px;
  padding: 20px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

/* ================= CAROUSEL BACKGROUND ================= */

.carousel-slide {
  position: relative;
  min-height: 340px;            /* REQUIRED */
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  overflow: hidden;
}

/* White overlay for readability */
.carousel-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(255, 255, 255, 0.62);
}

/* Content above overlay */
.carousel-slide .row {
  position: relative;
  z-index: 1;
}

.carousel-slide h1 {
  margin-bottom: 8px;
}

.carousel-slide h5 {
  margin-bottom: 12px;
}

.carousel-slide p {
  max-width: 520px;
}


/* Background image */
.slide-1 {
  background-image: url("../images/carousel_bg.jpg");
}
.slide-2 {
  background-image: url("../images/carousel_bg_2.jpeg");
}
.slide-3 {
  background-image: url("../images/carousel_bg_3.jpeg");
}

.slide-4 {
  background-image: url("../images/carousel_bg.jpg");
}

/* Keep carousel text away from nav arrows */
.carousel-text {
  padding-left: 60px;
  padding-top: 50px;
  max-width: 580px;
}

/* ================= CAROUSEL NAV BUTTONS ================= */

/* FINAL carousel navigation buttons */
.carousel-control-prev,
.carousel-control-next {
  width: 35px;
  height: 35px;
  background-color: rgba(200, 200, 200, 0.65); /* softer grey */
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

.carousel-control-prev {
  left: 16px;
}

.carousel-control-next {
  right: 16px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 10px;
  height: 10px;
  filter: none; /* default black arrow like reference */
}


/* FINAL dash indicators */
/* Centered dash indicators */
.custom-indicators {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  justify-content: center;
  margin: 0;
}


.custom-indicators [data-bs-target] {
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.75);
  margin-right: 8px;
  border: none;
  opacity: 1;
}

.custom-indicators .active {
  background-color: #f7941d; /* branded orange */
}




/* ================= STATS STRIP ================= */
.stats-strip {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.stat-item {
  padding: 14px 8px;
  border-right: 1px solid #eaeaea;
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 1.2rem;
  font-weight: 700;
}

.stat-value.orange {
  color: #f7941d;
}

.stat-value.blue {
  color: #0d6efd;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #0d6efd;
}

/* =====================================================
   PROJECT METRICS STRIP (GREEN CARD)
   ===================================================== */
.project-metrics {
  background-color: #DCFCE7;
  /* light mint green */
  padding: 12px 10px;
}

.metrics-item {
  padding: 10px 6px;
  border-right: 1px solid #ccefe0;
}

.metrics-item:last-child {
  border-right: none;
}

.metrics-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #004aad;
  /* blue number */
}

.metrics-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #212529;
  white-space: nowrap;
}

/* ================= ABOUT CARD ================= */
.about-card {
  background-color: #fff;
  border: 1px solid #FF8787;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* ABOUT pill */
.about-pill {
  background-color: #e6edff;
  color: #004aad;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
}

/* Heading */
.about-heading {
  color: #d84315;
  font-weight: 700;
}

/* Text */
.about-text {
  font-size: 0.9rem;
  color: #333;
}

.text-orange {
  color: #f57c00;
}

/* Mission box */
.mission-box {
  background-color: #fff3e0;
  border-radius: 10px;
  padding: 14px;
  margin-top: 16px;
}

.mission-title {
  color: #f57c00;
  font-weight: 700;
}

/* ================= STRATEGIC THEMATIC PILLARS ================= */

.strategic-pillars-section {
  background-color: #F6F6F6;
  padding: 24px;
  border-radius: 16px;
}

/* Header */
.pillars-header {
  border-left: 4px solid #f7941d;
  padding-left: 12px;
}

.pillars-title {
  color: #e65100;
  font-weight: 700;
}

.pillars-subtitle {
  font-size: 0.85rem;
  color: #555;
  max-width: 920px;
}

/* Card */
.pillar-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  position: relative;
}

/* Vertical color stripe */
.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 64px;
  border-radius: 2px;
}

.accent-blue::before {
  background-color: #2979ff;
}
.accent-purple::before {
  background-color: #7b1fa2;
}
.accent-orange::before {
  background-color: #f57c00;
}

/* Icon */
.pillar-icon img {
  height: 32px;
  margin-bottom: 10px;
}

/* Text */
.pillar-heading {
  font-weight: 700;
  color: #212121;
  margin-bottom: 6px;
}

.pillar-text {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.45;
}

/* Bottom underline */
.pillar-underline {
  width: 36px;
  height: 3px;
  background-color: #f7941d;
  margin-top: 12px;
  border-radius: 2px;
}
/* ================= PROJECT PORTFOLIOS ================= */

.portfolio-card {
  background-color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.portfolio-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* Tag */
.portfolio-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #0d6efd;
  background-color: #e6edff;
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.portfolio-tag.green {
  color: #1b5e20;
  background-color: #e6f4ea;
}

/* Title */
.portfolio-title {
  font-weight: 700;
  color: #1b5e20;
  margin-bottom: 6px;
}

/* Description */
.portfolio-text {
  font-size: 0.82rem;
  color: #444;
  line-height: 1.45;
}

/* ================= FOOTER RIBBON ================= */

.footer-ribbon {
  background: linear-gradient(
    to right,
    #57A772,
    #DBB99F,
    #ED7422
  );
}


/* Equal top and bottom spacing */
.footer-ribbon-inner {
  padding-top: 15px;
  padding-bottom: 15px;
}


.footer-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #00289B;
  margin-bottom: 6px;
}

.footer-link {
  font-size: 0.7rem;
  margin-bottom: 2px;
  color:#FFFFFF;
  opacity: 0.95;
}

.footer-copy {
  font-size: 0.65rem;
  line-height: 1.3;
  color:#00289B;
  opacity: 0.9;
}

.footer-social img {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* ================= LAST PAGE UPDATED FOOTER ================= */
.page-updated-footer {
  background-color: #DCFCE7;
  /* very light green */
  font-size: 0.75rem;
  color: #1B3BA9;
  padding: 6px 0;
  border-bottom: 0.8px solid #FFD6A7;
}

/* ================= MARKETPLACE HERO ================= */

.marketplace-hero {
  background-color: #fff9ee;
  /* soft cream */
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Pill */
.hero-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #f7941d;
  font-size: 0.75rem;
  font-weight: 600;
  color: #444;
}

/* Headings */
.hero-title {
  font-weight: 800;
  color: #003a8f;
}

.hero-subtitle {
  color: #555;
  max-width: 520px;
}

/* WHITE STATS STRIP INSIDE HERO */
.hero-stats-wrapper {
  background-color: #ffffff;
  border-top: 1px solid #eee;
  padding: 16px 0;
  margin-left: -28px;
  margin-right: -28px;
  border-radius: 0 0 20px 20px;
}

/* Keep stats spacing clean */
.hero-stats {
  margin: 0;
}

/* Colors */
.orange {
  color: #f7941d;
}

.blue {
  color: #003a8f;
}

.green {
  color: #2e7d32;
}

.amber {
  color: #f9a825;
}

/* Main wrapper */
.marketplace-wrapper {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Hero */
.hero-marketplace {
  background: #fff9ee;
  border-radius: 20px;
  padding: 28px;
}

/* Pill */
.hero-pill {
  border: 1px solid #f7941d;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.75rem;
}

/* Stats */
.hero-stats {
  border-top: 1px solid #eee;
  padding-top: 16px;
}

/* ================= ABOUT THE FUND ================= */

.about-card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border-left: 4px solid;
}

/* Accent borders */
.accent-orange {
  border-color: #f7941d;
}

.accent-green {
  border-color: #2e7d32;
}

.accent-blue {
  border-color: #003a8f;
}

/* Icons */
.about-icon {
  font-size: 1.6rem;
}

/* Text */
.about-text {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.4;
}

/* Icon colors */
.text-orange {
  color: #f7941d;
}

.text-green {
  color: #2e7d32;
}

.text-blue {
  color: #003a8f;
}

/* ================= HOW IT WORKS ================= */

.how-it-works {
  position: relative;
}

/* Horizontal connecting line */
.steps-line {
  position: absolute;
  top: 26px;
  left: 15%;
  right: 15%;
  height: 3px;
  background: linear-gradient(to right,
      #f7941d 0%,
      #f7941d 33%,
      #2e7d32 33%,
      #2e7d32 66%,
      #003a8f 66%,
      #003a8f 100%);
  z-index: 0;
}

/* Step container */
.how-step {
  position: relative;
  z-index: 1;
}

/* Step circles */
.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  margin: 0 auto;
  font-size: 0.9rem;
}

.step-1 {
  background-color: #f7941d;
}

.step-2 {
  background-color: #2e7d32;
}

.step-3 {
  background-color: #003a8f;
}

/* Text */
.step-text {
  font-size: 0.75rem;
  color: #555;
  max-width: 260px;
  margin: 0 auto;
}

/* ================= FEATURED PROJECTS ================= */

/* View All link */
.view-all-link {
  font-size: 0.8rem;
  color: #f7941d;
  font-weight: 600;
  text-decoration: none;
}

/* Card */
.project-card {
  background-color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* Image */
.project-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* Body */
.project-body {
  padding: 14px;
}

/* Status badge */
.project-status {
  background-color: #e6f4ea;
  color: #2e7d32;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 12px;
}

/* Category */
.project-category {
  font-size: 0.65rem;
  font-weight: 700;
  color: #f7941d;
  margin-left: 8px;
}

/* Title */
.project-title {
  font-weight: 700;
  color: #222;
}

/* Location */
.project-location {
  font-size: 0.75rem;
  color: #777;
  margin-bottom: 12px;
}

/* Footer */
.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-amount {
  font-weight: 700;
  color: #f7941d;
  font-size: 0.8rem;
}

.project-link {
  font-size: 0.75rem;
  color: #003a8f;
  font-weight: 600;
  text-decoration: none;
}




/* =====================================================
   DESIGN SYSTEM – CHANGE COLORS ONLY HERE
   ===================================================== */
:root {
  /* Primary Brand Colors */
  --ucf-blue: #003a8f;
  /* Headings, primary text */
  --ucf-green: #2e7d32;
  /* Govt top banner, success */
  --ucf-light-green: #e9f5e1;
  /* Page background sections */
  --ucf-orange: #f7941d;
  /* Buttons, accents */
  --ucf-dark: #212529;
  /* Default dark text */
  --ucf-muted: #6c757d;
  /* Muted text */

  /* Utility */
  --ucf-white: #ffffff;
  --ucf-border: #dee2e6;
}

/* =====================================================
   GLOBAL STYLES
   ===================================================== */
body {
  font-family: Arial, sans-serif;
  background-color: var(--ucf-light-green);
  color: var(--ucf-dark);
}

a {
  text-decoration: none;
}

/* =====================================================
   BOOTSTRAP COLOR OVERRIDES
   ===================================================== */

/* Primary */
.text-primary {
  color: var(--ucf-blue) !important;
}

.bg-primary {
  background-color: var(--ucf-blue) !important;
}

/* Success (Green) */
.bg-success {
  background-color: var(--ucf-green) !important;
}

.btn-success {
  background-color: var(--ucf-green) !important;
  border-color: var(--ucf-green) !important;
}

/* Warning / Orange */
.text-warning {
  color: var(--ucf-orange) !important;
}

.bg-warning {
  background-color: var(--ucf-orange) !important;
}

.btn-warning {
  background-color: var(--ucf-orange) !important;
  border-color: var(--ucf-orange) !important;
  color: var(--ucf-white) !important;
}

.btn-outline-warning {
  border-color: var(--ucf-orange) !important;
  color: var(--ucf-orange) !important;
}

.btn-outline-warning:hover {
  background-color: var(--ucf-orange) !important;
  color: var(--ucf-white) !important;
}

/* Muted */
.text-muted {
  color: var(--ucf-muted) !important;
}

/* =====================================================
   TOP GOVERNMENT BANNER
   ===================================================== */
.top-banner {
  background-color: var(--ucf-green);
  color: var(--ucf-white);
  font-size: 0.85rem;
}

/* ================= MAIN NAVBAR ================= */

.main-navbar {
  background: linear-gradient(
    to right,
    #FFDBD1,
    #E4F1D9,
    #D1FED1
  );
  border-top: 0.8px solid #FFD6A7;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.nav-main {
  gap: 8px;
}

/* Nav links */

.nav-main .nav-link {
  color: #1b7c3e;
  font-weight: 600;
  padding: 10px 14px;
  position: relative;
  background: none;
  border-radius: 0;
}



.nav-main .nav-link:hover {
  background: none;
}


/* Active Home tab */
.nav-main .nav-link.active {
  background-color: #ffffff;
  color: #1b7c3e;
}

/* Blue underline for active tab */

.nav-main .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  background-color: #1e5df0;
  border-radius: 2px;
}


/* Chevron */
.chevron {
  font-size: 0.7rem;
  margin-left: 4px;
}

/* Login */
.login-link {
  color: #1b7c3e;
  font-weight: 600;
  text-decoration: none;
}

/* Register button */
.btn-register {
  background-color: #ff8b2c;
  color: #fff;
  padding: 6px 16px;
  border-radius: 8px;
  font-weight: 600;
}

.btn-register:hover {
  background-color: #f57c00;
  color: #fff;
}

/* =====================================================
   HERO SECTIONS
   ===================================================== */
.hero-box {
  background-color: var(--ucf-white);
  border-radius: 1rem;
}

/* =====================================================
   STAT NUMBERS
   ===================================================== */
.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
}

.stat-green {
  color: var(--ucf-green);
}

.stat-blue {
  color: var(--ucf-blue);
}

.stat-orange {
  color: var(--ucf-orange);
}

/* =====================================================
   CARDS
   ===================================================== */
.card {
  border: none;
  border-radius: 0.75rem;
}

.card-title {
  color: var(--ucf-blue);
  font-weight: 600;
}

/* =====================================================
   BADGES
   ===================================================== */
.badge-success {
  background-color: var(--ucf-green);
}

.badge-warning {
  background-color: var(--ucf-orange);
  color: var(--ucf-white);
}

/* =====================================================
   HOW IT WORKS STEPS
   ===================================================== */
.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--ucf-white);
}

.step-1 {
  background-color: var(--ucf-orange);
}

.step-2 {
  background-color: var(--ucf-green);
}

.step-3 {
  background-color: var(--ucf-blue);
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background-color: var(--ucf-green);
  color: var(--ucf-white);
  font-size: 0.85rem;
}

/* =====================================================
   UTILITIES
   ===================================================== */
.bg-section {
  background-color: var(--ucf-white);
  border-radius: 1rem;
}

/* ===== UNDERLINE SUPPORT FOR DROPDOWN NAV ITEMS ===== */

.nav-main .nav-link,
.nav-main .dropdown-toggle {
  position: relative;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Active underline (normal + dropdown) */
.nav-main .nav-link.active::after,
.nav-main .dropdown-toggle.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  background-color: #1e5df0;
  border-radius: 2px;
}

/* Remove Bootstrap caret */
.nav-main .dropdown-toggle::after {
  display: none;
}

/* ================= NAVBAR DROPDOWN BEAUTIFICATION ================= */

/* Dropdown container */
.main-navbar .dropdown-menu {
  min-width: 200px;
  padding: 8px 0;
  margin-top: 10px;

  background-color: #ffffff;
  border: none;
  border-radius: 12px;

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* Dropdown items */
.main-navbar .dropdown-item {
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #1b7c3e;

  display: flex;
  align-items: center;
  gap: 8px;

  transition: all 0.2s ease;
}

/* Hover & focus */
.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus {
  background-color: #eaf7e6;
  color: #1b7c3e;
}

/* Active dropdown item */
.main-navbar .dropdown-item.active {
  background-color: transparent;
  font-weight: 600;
}

/* Remove Bootstrap caret */
.main-navbar .dropdown-toggle::after {
  display: none;
}

/* ================= SCROLL BAR — FINAL MATCH ================= */

.scroll-dot-nav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2000;

  background: #fff1ea;            /* peach background */
  border: 2px solid #ff6b1a;      /* orange border */
  border-radius: 42px;

  padding: 18px 10px 20px;
  width: 44px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  opacity: 70%;
}

/* Vertical SCROLL text */
.scroll-text {
  writing-mode: vertical-rl;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ff6b1a;
}

/* Chevron */
.scroll-chevron {
  font-size: 1rem;
  color: #ff6b1a;
  margin-bottom: 6px;
}

/* Dot stack */
.scroll-dots {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Dot base */
/* Normal dot */
.scroll-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #ff6b1a;
  background: transparent;
  transition: all 0.25s ease;
}

/* Hover dot */
.scroll-dot:hover {
  transform: scale(1.15);
}

/* Selected / active dot */
.scroll-dot.active {
  background-color: #ff6b1a !important;
  border-color: #ff6b1a !important;
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(255, 107, 26, 0.45);
}

/* Hidden home dot */
.scroll-dot.hidden {
  display: none !important;
}

/* ================= SCROLL DOT HOVER LABEL ================= */

/* Wrapper for dot + label */
.scroll-dot-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Label hidden by default */
.scroll-label {
  position: absolute;
  right: 42px; /* distance from pill */
  white-space: nowrap;

  background: #C2410C;       /* dark blue like image */
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;

  padding: 6px 12px;
  border-radius: 20px;

  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;

  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Show label on hover */
.scroll-dot-item:hover .scroll-label {
  opacity: 1;
  transform: translateX(0);
}

/* ================= SCROLL CHEVRON ALWAYS BOUNCE ================= */

.scroll-chevron {
  display: inline-block;
  color: #ff6b1a;
  font-size: 1rem;
  margin-bottom: 6px;
  animation: scrollChevronBounce 1.2s infinite ease-in-out;
}

@keyframes scrollChevronBounce {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

/* ================= DROPDOWN CHEVRON ROTATION - FINAL ================= */

/* Hide Bootstrap default caret */
.nav-main .dropdown-toggle::after {
  display: none !important;
}

/* Custom chevron */
.nav-chevron {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.8rem;
  line-height: 1;
  color: #1b7c3e;
  transition: transform 0.25s ease;
  transform-origin: center;
}

/* When Bootstrap opens dropdown, it adds .show to the toggle */
.nav-main .dropdown-toggle.show .nav-chevron {
  transform: rotate(180deg);
}

/* Extra fallback: when aria-expanded becomes true */
.nav-main .dropdown-toggle[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}


/* =====================================================
   RESPONSIVE NAVBAR
   ===================================================== */

/* Navbar base */
.main-navbar {
  background: linear-gradient(
    to right,
    #FFDBD1,
    #E4F1D9,
    #D1FED1
  );
  border-top: 0.8px solid #FFD6A7;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 6px 0;
}

/* Desktop nav spacing */
.nav-main {
  gap: 8px;
}

/* Nav links */
.nav-main .nav-link {
  color: #1b7c3e;
  font-weight: 600;
  padding: 10px 14px;
  position: relative;
  background: none !important;
  border-radius: 0 !important;
}

/* Hover */
.nav-main .nav-link:hover {
  background: none !important;
}

/* Active underline */
.nav-main .nav-link.active::after,
.nav-main .dropdown-toggle.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  background-color: #1e5df0;
  border-radius: 2px;
}

/* Remove Bootstrap default caret */
.nav-main .dropdown-toggle::after {
  display: none !important;
}

/* Custom chevron */
.nav-chevron {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.8rem;
  line-height: 1;
  color: #1b7c3e;
  transition: transform 0.25s ease;
}

/* Rotate chevron when dropdown opens */
.nav-main .dropdown-toggle.show .nav-chevron,
.nav-main .dropdown-toggle[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

/* Dropdown menu */
.main-navbar .dropdown-menu {
  min-width: 200px;
  padding: 8px 0;
  margin-top: 10px;
  background-color: #ffffff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* Dropdown items */
.main-navbar .dropdown-item {
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #1b7c3e;
}

.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus {
  background-color: #eaf7e6;
  color: #1b7c3e;
}

/* Login */
.login-link {
  color: #1b7c3e;
  font-weight: 600;
  text-decoration: none;
}

/* Register */
.btn-register {
  background-color: #ff8b2c;
  color: #fff;
  padding: 6px 16px;
  border-radius: 8px;
  font-weight: 600;
}

.btn-register:hover {
  background-color: #f57c00;
  color: #fff;
}

/* Hamburger button */
.navbar-toggler {
  border: none;
  box-shadow: none !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

/* ================= TABLET / MOBILE ================= */
@media (max-width: 991.98px) {

  .main-navbar {
    padding: 6px 0;
  }

  .navbar-collapse {
    padding-top: 10px;
  }

  .nav-main {
    gap: 0;
    width: 100%;
  }

  .nav-main .nav-item {
    width: 100%;
  }

  .nav-main .nav-link {
    width: 100%;
    padding: 11px 0;
  }

  /* Mobile active underline should be shorter */
  .nav-main .nav-link.active::after,
  .nav-main .dropdown-toggle.active::after {
    left: 0;
    right: auto;
    bottom: 2px;
    width: 42px;
  }

  /* Mobile dropdown */
  .main-navbar .dropdown-menu {
    box-shadow: none;
    border-radius: 8px;
    margin-top: 0;
    padding: 4px 0;
    background-color: #ffffff;
  }

  .main-navbar .dropdown-item {
    padding: 9px 14px;
  }

  /* Login/Register stack nicely */
  .login-link {
    display: inline-block;
  }

  .btn-register {
    padding: 6px 14px;
  }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 575.98px) {

  .main-navbar .container-fluid {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .navbar-brand {
    font-size: 0.95rem;
  }

  .nav-main .nav-link {
    font-size: 0.9rem;
  }

  .main-navbar .dropdown-item {
    font-size: 0.82rem;
  }

  .btn-register {
    font-size: 0.85rem;
  }

  .login-link {
    font-size: 0.85rem;
  }
}

/* ================= KEEP LOGIN/REGISTER OUTSIDE HAMBURGER ================= */

.main-navbar .container-fluid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* Login/Register always visible */
.navbar-actions {
  flex-shrink: 0;
}

/* Mobile collapsed menu takes full width below actions */
@media (max-width: 991.98px) {
  #mainNavbar {
    width: 100%;
    flex-basis: 100%;
    margin-top: 8px;
  }

  .nav-main {
    width: 100%;
  }

  .nav-main .nav-item {
    width: 100%;
  }

  .nav-main .nav-link {
    width: 100%;
    padding: 10px 0;
  }

  .navbar-actions {
    margin-left: auto;
  }

  .login-link {
    font-size: 0.85rem;
  }

  .btn-register {
    font-size: 0.85rem;
    padding: 5px 12px;
  }
}

/* Very small screens */
@media (max-width: 575.98px) {
  .main-navbar .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .navbar-actions {
    gap: 8px !important;
  }

  .login-link {
    font-size: 0.8rem;
  }

  .btn-register {
    font-size: 0.8rem;
    padding: 4px 10px;
  }
}

/* =====================================================
   MARKETPLACE HERO RESPONSIVE FIX
   ===================================================== */

.hero-marketplace {
  background: #fff9ee;
  border-radius: 20px;
  padding: 28px;
  overflow: hidden;
}

/* Pill */
.hero-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 22px;
  border: 1px solid #f7941d;
  font-size: 0.8rem;
  font-weight: 600;
  color: #263238;
}

/* Heading */
.hero-title {
  font-weight: 600;
  color: #003a8f;
  font-size: 3rem;
  line-height: 1.15;
}

/* Subtitle */
.hero-subtitle {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 540px;
  margin-top: 18px;
}

/* Button group */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions .btn {
  white-space: nowrap;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
}

/* Image */
.marketplace-hero-img {
  width: 100%;
  max-height: 330px;
  object-fit: cover;
}

/* =====================================================
   TABLET
   ===================================================== */
@media (max-width: 991.98px) {
  .hero-marketplace {
    padding: 22px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero-actions .btn {
    font-size: 0.9rem;
    padding: 9px 14px;
  }

  .marketplace-hero-img {
    max-height: 270px;
  }
}

/* =====================================================
   MOBILE
   ===================================================== */
@media (max-width: 767.98px) {
  .hero-marketplace {
    padding: 20px;
    border-radius: 18px;
  }

  .hero-pill {
    font-size: 0.72rem;
    padding: 6px 14px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.18;
    margin-top: 22px !important;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-top: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 26px !important;
  }

  .hero-actions .btn {
    width: 100%;
    font-size: 0.9rem;
    padding: 10px 12px;
  }

  .hero-actions .btn-outline-warning {
    grid-column: 1 / 2;
  }

  .marketplace-hero-img {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    border-radius: 18px !important;
  }
}

/* =====================================================
   SMALL MOBILE
   ===================================================== */
@media (max-width: 575.98px) {
  .hero-marketplace {
    padding: 16px;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .hero-subtitle {
    font-size: 0.86rem;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions .btn-outline-warning {
    grid-column: auto;
  }

  .marketplace-hero-img {
    max-height: 210px;
  }
}