.gw-opportunity-section {
  position: relative;
  z-index: 5;
  margin-top: 5.5rem;
  padding-top: 3.5rem;
}

.shadow-soft {
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(32, 56, 108, 0.12);
  box-shadow: 0 28px 70px rgba(15, 36, 84, 0.12);
  backdrop-filter: blur(6px);
}

.btn-gradient-primary {
  background-image: linear-gradient(135deg, #00CCFF, #56B7CA 55%, #8062C6);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 16px 42px rgba(13, 110, 253, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-gradient-primary:hover,
.btn-gradient-primary:focus {
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(13, 110, 253, 0.35);
  filter: brightness(1.03);
}

.btn-gradient-primary:focus-visible {
  outline: 2px solid rgba(13, 110, 253, 0.6);
  outline-offset: 3px;
}

.gw-mobile-filter-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  background: rgba(13, 110, 253, 0.12);
  color: var(--bs-primary);
  border: 1px solid rgba(13, 110, 253, 0.2);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.gw-mobile-filter-trigger:hover,
.gw-mobile-filter-trigger:focus {
  background: rgba(13, 110, 253, 0.18);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(13, 110, 253, 0.18);
  color: var(--bs-primary);
}

.gw-filter-card {
  border-radius: 1.75rem;
  border: 1px solid rgba(32, 56, 108, 0.08);
  background: linear-gradient(150deg, rgba(247, 249, 255, 0.96), rgba(233, 239, 255, 0.96));
  box-shadow: 0 24px 60px rgba(15, 36, 84, 0.12);
  position: sticky;
  top: -25px;
  overflow: hidden;

}

.gw-filter-card .card-header {
  background: transparent;
  border: 0;
  padding: 1.5rem 1.5rem 0;
}

.gw-filter-card .card-body {
  padding: 1.5rem;
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
}

.gw-filter-card .card-body::-webkit-scrollbar {
  width: 0.45rem;
}

.gw-filter-card .card-body::-webkit-scrollbar-thumb {
  background: rgba(13, 110, 253, 0.35);
  border-radius: 999px;
}

.gw-filter-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bs-primary);
  margin-bottom: 0.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.gw-filter-card .form-select,
.gw-filter-card .form-control {
  border-radius: 1rem;
  border: 1px solid rgba(15, 36, 84, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gw-filter-card .form-select:focus,
.gw-filter-card .form-control:focus {
  border-color: rgba(13, 110, 253, 0.55);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.12);
}

.gw-filter-card .form-check-input {
  width: 3rem;
  height: 1.5rem;
  border-radius: 999px;
}

.gw-filter-form .form-text {
  font-size: 0.8rem;
}

.gw-filter-form .row > [class*='col'] {
  margin-bottom: 1rem;
}

.gw-opportunity-carousel {
  position: relative;
  border-radius: 1.9rem;
  border: 1px solid rgba(32, 56, 108, 0.08);
  background: linear-gradient(160deg, rgba(249, 251, 255, 0.98), rgba(235, 240, 255, 0.95));
  box-shadow: 0 30px 70px rgba(15, 36, 84, 0.14);
  padding: 2.4rem clamp(1.5rem, 3vw, 2.6rem) 2.9rem;
  overflow: hidden;
}

.gw-carousel-viewport {
  overflow: hidden;
}

.gw-carousel-track {
  --gw-carousel-gap: 1.1rem;
  display: flex;
  align-items: stretch;
  gap: var(--gw-carousel-gap);
  transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
}

.gw-carousel-track.gw-no-transition {
  transition: none !important;
}

.gw-carousel-slide {
  flex: 0 0 100%;
  display: flex;
}

.gw-carousel-slide > * {
  flex: 1 1 auto;
}

.gw-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  padding: 0;
  width: auto;
  height: auto;
  z-index: 2;
}

.gw-carousel-control[data-disabled="true"],
.gw-carousel-control:disabled {
  pointer-events: none;
}

.gw-carousel-control-prev {
  left: 1rem;
}

.gw-carousel-control-next {
  right: 1rem;
}

.gw-carousel-control-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.12);
  color: var(--bs-primary);
  box-shadow: 0 12px 30px rgba(13, 110, 253, 0.18);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.gw-carousel-control:not([data-disabled="true"]):hover .gw-carousel-control-icon,
.gw-carousel-control:not([data-disabled="true"]):focus-visible .gw-carousel-control-icon {
  background: var(--bs-primary);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.gw-carousel-control[data-disabled="true"] .gw-carousel-control-icon,
.gw-carousel-control:disabled .gw-carousel-control-icon {
  opacity: 0.35;
}

.gw-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.85rem;
}

.gw-carousel-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: none;
  background-color: rgba(13, 110, 253, 0.25);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.gw-carousel-dot.active,
.gw-carousel-dot:focus-visible {
  background-color: var(--bs-primary);
  transform: scale(1.2);
}

.gw-carousel-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(32, 56, 108, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 255, 0.95));
  box-shadow: 0 24px 56px rgba(15, 36, 84, 0.12);
  overflow: hidden;
}

.gw-carousel-card .card-body {
  padding: 2.25rem 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gw-carousel-card .card-footer {
  background: transparent;
  border: 0;
  padding: 0 2.25rem 2.25rem;
}

.gw-card-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.gw-sector-icon {
  --gw-sector-color: var(--bs-primary);
  --gw-sector-bg: rgba(13, 110, 253, 0.15);
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gw-sector-color);
  background: var(--gw-sector-bg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.gw-sector-icon.gw-sector-environmental {
  --gw-sector-bg: linear-gradient(140deg, rgba(25, 135, 84, 0.18), rgba(25, 135, 84, 0.32));
  --gw-sector-color: #00A240;
}

.gw-sector-icon.gw-sector-educational {
  --gw-sector-bg: linear-gradient(140deg, rgba(13, 110, 253, 0.2), rgba(90, 141, 238, 0.36));
  --gw-sector-color: #184682;
}

.gw-sector-icon.gw-sector-community {
  --gw-sector-bg: linear-gradient(140deg, rgba(253, 126, 20, 0.2), rgba(255, 193, 7, 0.32));
  --gw-sector-color: #FF8A00;
}

.gw-sector-icon.gw-sector-health {
  --gw-sector-bg: linear-gradient(140deg, rgba(220, 53, 69, 0.2), rgba(255, 99, 132, 0.3));
  --gw-sector-color: #F25242;
}

.gw-sector-icon.gw-sector-cultural {
  --gw-sector-bg: linear-gradient(140deg, rgba(111, 66, 193, 0.22), rgba(111, 66, 193, 0.34));
  --gw-sector-color: #8062C6;
}

.gw-sector-icon.gw-sector-support-services,
.gw-sector-icon.gw-sector-support_services {
  --gw-sector-bg: linear-gradient(140deg, rgba(56, 193, 114, 0.2), rgba(11, 172, 204, 0.3));
  --gw-sector-color: #00899A;
}

.gw-sector-icon.gw-sector-other {
  --gw-sector-bg: linear-gradient(140deg, rgba(108, 117, 125, 0.2), rgba(173, 181, 189, 0.36));
  --gw-sector-color: #184682;
}

.gw-sector-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: var(--bs-primary);
  background: rgba(13, 110, 253, 0.1);
}

.gw-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0;
}

.gw-card-meta {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gw-card-meta-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
}

.gw-card-meta-item i {
  font-size: 1.1rem;
  color: var(--bs-primary);
  position: relative;
  top: 0.15rem;
}

.gw-card-meta-item span {
  font-weight: 600;
  color: var(--bs-dark);
}

.gw-card-meta-item small {
  color: var(--bs-secondary-color);
  font-size: 0.8rem;
}

  .gw-card-callouts {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

.gw-callout-badge {
  flex: 1 1 12rem;
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  background: rgba(13, 110, 253, 0.08);
  color: var(--bs-dark);
  box-shadow: inset 0 0 0 1px rgba(13, 110, 253, 0.12);
}

.gw-callout-badge.accent-warning {
  background: rgba(255, 193, 7, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 193, 7, 0.25);
}

.gw-callout-badge .gw-callout-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bs-secondary-color);
}

.gw-callout-badge .gw-callout-value {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 0.35rem;
}

.gw-callout-badge small {
  display: block;
  font-size: 0.75rem;
  color: var(--bs-secondary-color);
  margin-top: 0.15rem;
}

.gw-view-details-btn {
  border-radius: 999px;
  font-weight: 600;
  padding: 0.85rem 1.3rem;
  box-shadow: inset 0 0 0 1px rgba(13, 110, 253, 0.18);
}

.gw-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gw-card-actions .btn {
  flex: 1 1 auto;
  border-radius: 999px;
  font-weight: 600;
  padding-block: 0.85rem;
}

  .gw-card-actions .btn-outline-primary {
    border-width: 2px;
  }

  .gw-filter-drawer {
  background: linear-gradient(150deg, rgba(247, 249, 255, 0.98), rgba(233, 239, 255, 0.98));
  border-inline-start: 1px solid rgba(15, 36, 84, 0.08);
}

.gw-filter-drawer .offcanvas-header {
  border-bottom: 1px solid rgba(15, 36, 84, 0.08);
}

.gw-filter-drawer .offcanvas-body {
  padding-bottom: 2rem;
}

[dir='rtl'] .gw-carousel-track {
  flex-direction: row-reverse;
}

[dir='rtl'] .gw-carousel-control-prev {
  right: 1rem;
  left: auto;
}

[dir='rtl'] .gw-carousel-control-next {
  left: 1rem;
  right: auto;
}

@media (max-width: 991.98px) {
  .gw-card-callouts {
    flex-direction: column;
  }

  .gw-callout-badge {
    width: 100%;
  }
}

[dir='rtl'] .gw-filter-drawer {
  border-inline-start: 0;
  border-inline-end: 1px solid rgba(15, 36, 84, 0.08);
}

@media (max-width: 1199.98px) {
  .gw-opportunity-carousel {
    padding: 2.2rem 2rem 2.8rem;
  }
}

@media (max-width: 991.98px) {
  .gw-opportunity-section {
    margin-top: -2.5rem;
    padding-top: 2.5rem;
  }

  .gw-filter-card {
    position: static;
    top: auto;
    max-height: none;
  }

  .gw-opportunity-carousel {
    padding: 2.1rem 1.5rem 2.6rem;
    border-radius: 1.5rem;
  }

  .gw-carousel-slide {
    flex: 0 0 100%;
  }

  .gw-carousel-card {
    box-shadow: none;
    border: none;
    background: transparent;
  }

  .gw-carousel-card .card-body {
    padding: 0;
  }

  .gw-carousel-card .card-footer {
    padding: 0;
    padding-top: 1.75rem;
  }
}

@media (max-width: 575.98px) {
  .gw-callout-badge {
    flex-basis: 100%;
  }

  .gw-card-actions {
    flex-direction: column;
  }

  .gw-opportunity-carousel {
    padding-inline: 1.25rem;
  }
}

@media (min-width: 768px) {
  .gw-carousel-slide {
    flex: 0 0 calc((100% - var(--gw-carousel-gap)) / 2);
  }
}

@media (min-width: 992px) {
  .gw-carousel-track {
    --gw-carousel-gap: 1.25rem;
  }
}

@media (min-width: 1200px) {
  .gw-opportunity-carousel {
    padding-inline: 2.4rem;
  }

  .gw-carousel-track {
    --gw-carousel-gap: 1.5rem;
  }

  .gw-carousel-slide {
    flex: 0 0 calc((100% - (2 * var(--gw-carousel-gap))) / 3);
  }

  
}
