.agbc-hero {
  position: relative;
  width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
}

.agbc-hero__inner {
  overflow: visible;
  width: 100%;
  border-radius: 20px;
}

.agbc-hero__track {
  display: flex;
  transition: transform 0.6s ease;
}

.agbc-hero__img {
  min-width: 100%;
  flex-shrink: 0;
  height: 330px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.agbc-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.409);
  border-radius: 12px;
}

.agbc-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
  color: #ffffff;
  max-width: 1000px;
  padding: 0 40px;
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.5);
}

.agbc-hero__content h1 {
  font-size: 35px;
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.0;
  letter-spacing: -0.05rem;
}

/* ── Categories Section ── */
.agbc-categories {
  padding: 50px 0;
  box-sizing: border-box;
}

.agbc-categories__title {
  font-size: 31px;
  font-weight: 400;
  margin-bottom: 50px;
  padding: 0 50px;
  line-height: 1.2;
  max-width: 95%;
  color: #2A5768;
  letter-spacing: -0.05rem;
  text-align: center;
}

.agbc-categories__slider-wrapper {
  padding: 0 140px;
  box-sizing: border-box;
}

.agbc-categories__slider {
  overflow: hidden;
  width: 100%;
}

.agbc-categories__track {
  display: flex;
  transition: transform 0.6s ease;
}

.agbc-categories__slide {
  min-width: 100%;
  display: flex;
  gap: 24px;
  padding-right: 24px;
}

.agbc-categories__item {
  flex: 1;
}

.agbc-categories__item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.agbc-categories__item p {
  font-size: 16px;
  font-weight: 300;
  color: #2A5768;
  margin-top: 8px;
  line-height: 1.2;
}

/* Dots */
.agbc-categories__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.agbc-categories__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #2A5768;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease;
  padding: 0;
}

.agbc-categories__dot.active {
  background: #2A5768;
}

/* ── How It Works Section ── */
.agbc-how {
  padding: 20px 140px 90px 140px;
  box-sizing: border-box;
}

.agbc-how__label {
  font-size: 18px;
  font-weight: 400;
  color: #2A5768;
  letter-spacing: -0.01em;
  margin-bottom: 15px;
}

.agbc-how__title {
  font-size: 32px;
  font-weight: 600;
  color: #2A5768;
  margin-bottom: 40px;
  line-height: 1.2;
  letter-spacing: -0.06rem;
}

.agbc-how__text {
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -0.06rem;
  color: #2A5768;
  line-height: 1.2;
  margin-bottom: 35px;
}

.agbc-how__btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

.agbc-how__btn {
  display: inline-block;
  background-color: transparent;
  color: #2A5768;
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.04rem;
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 50px;
  border: 2px solid #2A5768;
  transition: all 0.2s ease;
  text-align: center;
}

.agbc-how__btn:hover {
  background-color: #2A5768;
  color: #ffffff;
}

/* ── Search Bar ── */
.agbc-search {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin-top: 44px;
}

.agbc-search__bar {
  display: flex;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.agbc-search__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 13px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 300;
  color: #333;
  background: #ffffff;
}

.agbc-search__input::placeholder {
  color: #999;
}

.agbc-search__btn {
  background-color: #2A5768;
  border: none;
  cursor: pointer;
  padding: 13px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.agbc-search__btn:hover {
  background-color: #1e3f4f;
}

.agbc-search__btn svg {
  transition: transform 0.3s ease;
}

.agbc-search__btn.open svg {
  transform: rotate(180deg);
}

/* Dropdown */
.agbc-search {
  position: relative; /* ← this is the key */
}
.agbc-search__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(171, 96, 96, 0.12);
  z-index: 9999;
  max-height: 300px;    /* ← limits the height */
  overflow-y: auto; 
}

.agbc-search__dropdown.open {
  display: block;
}

.agbc-search__dropdown ul {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

.agbc-search__dropdown ul li a {
  display: block;
  padding: 8px 28px;
  font-size: 15px;
  font-weight: 300;
  text-shadow: none;
  color: #000000;
  text-decoration: none;
  transition: background 0.2s ease;
  text-align: left;
}

.agbc-search__dropdown ul li a:hover {
  background-color: #DEE8E9;
}
.agbc-categories__track--tablet {
  display: none;
}

.agbc-categories__dots--tablet {
  display: none;
}

.agbc-categories__track--mobile {
  display: none;
}

.agbc-categories__dots--mobile {
  display: none;
}

/* ── Responsiveness ── */

@media (max-width: 1250px) {
.agbc-hero {
    padding: 5px 40px;
  }

  .agbc-slider__slide {
    height: 280px;
  }
  .agbc-slider__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  max-width: 1000px;
  padding: 0 40px;
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.5);}

  .agbc-slider__content h1 {
    font-size: 28px;
  }
      .agbc-categories__slider-wrapper {
    padding: 0 70px;
  }
}
  @media (max-width: 1100px) {
   /* Slider */
  .agbc-hero {
    padding: 5px 40px;
  }

  .agbc-slider__slide {
    height: 280px;
  }
  .agbc-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 0 40px;
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.5);}

  .agbc-hero__content h1 {
    font-size: 25px;
    letter-spacing: -0.03rem;
    line-height: 1.7rem;
  }
    .agbc-categories__slider-wrapper {
    padding: 0 60px;
  }
  .agbc-categories__title {
    padding: 0 80px;
    font-size: 26px;
  }
  .agbc-how {
  padding: 20px 80px 70px 80px;
}
.agbc-how__text {
  font-size: 22px;
}
.agbc-how__title {
  font-size: 28px;
}
}
@media (max-width: 1000px) {
  .agbc-categories__track--desktop {
    display: none;
  }
  .agbc-categories__track--tablet {
    display: flex;
  }
  .agbc-categories__dots--desktop {
    display: none;
  }
  .agbc-categories__dots--tablet {
    display: flex;
  }
   .agbc-categories__item img {
    height: 160px;
  }
}
  @media (max-width: 900px) {
  /* Hero */
  .agbc-hero {
    padding: 5px 40px;
  }

  .agbc-slider__slide {
    height: 280px;
  }
 .agbc-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  max-width: 750px;
  padding: 0 40px;
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.5);}

  .agbc-hero__content h1 {
    font-size: 22px;
  }
  /* ── Search Bar ── */
.agbc-search {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin-top: 44px;
}

.agbc-search__bar {
  display: flex;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.agbc-search__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #333;
  background: #ffffff;
}

.agbc-search__input::placeholder {
  color: #999;
}

.agbc-search__btn {
  background-color: #2A5768;
  border: none;
  cursor: pointer;
  padding: 10px 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}
.agbc-categories__slider-wrapper {
    padding: 0 40px;
  }
  .agbc-categories__title {
    padding: 0 40px;
    font-size: 24px;
  }
  .agbc-categories__item img {
    height: 160px;
  }
  
  .agbc-how {
  padding: 20px 40px 60px 40px;
}
.agbc-how__text {
  font-size: 20px;
}
.agbc-how__title {
  font-size: 26px;
}
.agbc-how__btn {
  font-size: 18px;
}

    @media (max-width: 800px) {
        .agbc-hero {
    padding: 5px 40px;
  }

  .agbc-slider__slide {
    height: 280px;
  }
 .agbc-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  max-width: 600px;
  padding: 0 40px;
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.5);}

  .agbc-hero__content h1 {
    font-size: 22px;
  }
  .agbc-categories__item img {
    height: 140px;
  }
}}
    @media (max-width: 700px) {
       /* Hero */
  .agbc-hero {
    padding: 5px 40px;
  }

  .agbc-slider__slide {
    height: 280px;
  }
 .agbc-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  max-width: 500px;
  padding: 0 8px;
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.5);}

  .agbc-hero__content h1 {
    font-size: 21px;
    padding: 0 12px;
    line-height: 1.3rem;
  }
    /* ── Search Bar ── */
.agbc-search {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin-top: 44px;
}

.agbc-search__bar {
  display: flex;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.agbc-search__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #333;
  background: #ffffff;
}

.agbc-search__input::placeholder {
  color: #999;
}

.agbc-search__btn {
  background-color: #2A5768;
  border: none;
  cursor: pointer;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}
  .agbc-categories__slider-wrapper {
    padding: 0 20px;
  }
  .agbc-categories__title {
    padding: 0 20px;
    font-size: 20px;
  }
  .agbc-categories__slide {
    gap: 14px;
    padding-right: 14px;
  }
  .agbc-categories__item img {
    height: 130px;
  }
  .agbc-categories__item p {
    font-size: 13px;
  }
  .agbc-how {
  padding: 20px 20px 50px 20px;
}
.agbc-how__text {
  font-size: 18px;
}
.agbc-how__title {
  font-size: 22px;
}
.agbc-how__btn {
  font-size: 16px;
}
.agbc-how__btn-wrapper {
  margin-top: 40px;
}
}
@media (max-width: 600px) {
       /* Hero */
  .agbc-hero {
    padding: 5px 30px;
  }

  .agbc-slider__slide {
    height: 280px;
  }
 .agbc-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  max-width: 430px;
  padding: 0 10px;
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.5);}

  .agbc-hero__content h1 {
    font-size: 19px;
    letter-spacing: -0.02rem;
  }
    /* ── Search Bar ── */
.agbc-search {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin-top: 44px;
}

.agbc-search__bar {
  display: flex;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.agbc-search__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 28px 13px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #333;
  background: #ffffff;
}

.agbc-search__input::placeholder {
  color: #999;
}

.agbc-search__btn {
  background-color: #2A5768;
  border: none;
  cursor: pointer;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}
   .agbc-categories__track--tablet {
    display: none;
  }
  .agbc-categories__dots--tablet {
    display: none;
  }
  .agbc-categories__track--mobile {
    display: flex;
  }
  .agbc-categories__dots--mobile {
    display: flex;
  }
    .agbc-categories__item img {
    height: 140px;
  }
}
@media (max-width: 500px) {
     /* Hero */
  .agbc-hero {
    padding: 5px 20px;
  }

  .agbc-hero__slide {
    height: 300px;
  }
 .agbc-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  max-width: 350px;
  padding: 0 10px;
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.5);}

  .agbc-hero__content h1 {
    font-size: 19px;
    letter-spacing: -0.02rem;
  }
  .agbc-categories__slider-wrapper {
    padding: 0 16px;
  }
  .agbc-categories__title {
    padding: 0 16px;
    font-size: 17px;
  }
  .agbc-categories__slide {
    gap: 10px;
    padding-right: 10px;
  }
  .agbc-categories__item img {
    height: 130px;
    border-radius: 6px;
  }
  .agbc-categories__item p {
    font-size: 11px;
  }
  .agbc-how {
  padding: 20px 16px 40px 16px;
}
.agbc-how__label {
  font-size: 14px;
}
.agbc-how__title {
  font-size: 20px;
}
.agbc-how__text {
  font-size: 16px;
}
.agbc-how__btn {
  font-size: 14px;
  padding: 12px 20px;
  width: 100%;
}
}
@media (max-width: 400px) {

       /* Hero */
  .agbc-hero {
    padding: 5px 20px;
  }

  .agbc-hero__slide {
    height: 300px;
  }
 .agbc-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  max-width: 300px;
  padding: 0 0px;
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.5);}

  .agbc-hero__content h1 {
    font-size: 17px;
    letter-spacing: -0.02rem;
  }
    /* ── Search Bar ── */
.agbc-search {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin-top: 44px;
}

.agbc-search__bar {
  display: flex;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.agbc-search__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 9px 18px 13px 9px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #333;
  background: #ffffff;
}

.agbc-search__input::placeholder {
  color: #999;
}

.agbc-search__btn {
  background-color: #2A5768;
  border: none;
  cursor: pointer;
  padding: 8.5px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}
}