
.feature-card {
  border-radius: 20px;
  overflow: hidden;
}


.feature-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 500px;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 20, 50, 0.9) 0%,
    rgba(10, 20, 50, 0.6) 40%,
    transparent 70%
  );
  z-index: 1;
}

/* 🔥 Text overlay */
.feature-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
  color: #fff;
}

.feature-overlay h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.feature-overlay p {
  font-size: 14px;
  color: #ddd;
}



/* user segmenyt */
.user-segment-section {
    width: 100%;
    background-color: #ffffff;
}

.user-segment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 550px;
}

.user-segment-card {
    padding: 30px 24px 20px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.user-segment-card:nth-child(1) {
    background: rgba(69, 92, 216, 1);
}

.user-segment-card:nth-child(2) {
    background: rgba(69, 92, 216, 0.9);
}

.user-segment-card:nth-child(3) {
    background: rgba(69, 92, 216, 0.8);
}

.user-segment-card:nth-child(4) {
    background: rgba(69, 92, 216, 0.7);
}

.user-segment-card h3 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 25px;
    font-family: 'Poetsen One', cursive;
    min-height: 80px;
}

.user-segment-card p {
    font-size: 15px;
    line-height: 1.5;
    opacity: 0.95;
    font-weight: 400;
    min-width: 220px;
    min-height: 110px;
}

.user-segment-card img {
    width: 100%;
    max-height: 250px;
    max-width: 250px;
    object-fit: contain;
    align-self: center;
    margin-top: 20px;
}

.user-segment-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08), transparent 40%);
    pointer-events: none;
}

@media (max-width: 991px) {
    .user-segment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .user-segment-card {
        min-height: 420px;
        padding: 20px;
    }

    .user-segment-card h3 {
        font-size: 24px;
        min-height: auto;
    }

    .user-segment-card p {
        font-size: 13px;
        min-height: auto;
        margin-bottom: 15px;
    }

}

@media (max-width: 576px) {
    .user-segment-grid {
        grid-template-columns: 1fr;
    }

    .user-segment-card {
        min-height: auto;
        padding: 18px;
        text-align: center;
    }

    .user-segment-card h3 {
        font-size: 22px;
        min-height: auto;
        margin-bottom: 10px;
    }

    .user-segment-card p {
        font-size: 13px;
        min-height: auto;
        margin-bottom: 15px;
    }

    .user-segment-card img {
        max-height: 160px;
        margin-top: 10px;
    }
}





/* 


.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.why-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 20px 35px rgba(13, 20, 60, 0.2);
  color: #1a1a1a;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 40px rgba(13, 20, 60, 0.28);
}

.why-card h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #16183a;
}

.why-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #4b4f6a;
}

.why-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(84, 93, 222, 0.12);
  border: 1px solid rgba(84, 93, 222, 0.18);
}

.why-card__icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.why-card--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 220px;
  align-items: stretch;
  gap: 20px;
  padding: 24px;
}

.why-card--wide h4 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  color: #14173a;
}

.why-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 126, 75, 0.12);
  color: #d05a2f;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.why-card__media {
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  min-height: 180px;
  position: relative;
  overflow: hidden;
}

.why-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(79, 86, 172, 0.1), rgba(255, 126, 75, 0.15));
}

.why-card__stats {
  display: flex;
  gap: 18px;
  margin-top: 16px;
}

.why-card__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.why-card__stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #4149a2;
}

.why-card__stat-label {
  font-size: 12px;
  color: #5a607a;
}

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

@media (prefers-reduced-motion: reduce) {
  .empower-card,
  .empower-card__badge,
  .empower-card__title,
  .empower-card__desc {
    animation: none;
    transition: none;
  }
}


.disabled-input {
    background: transparent;
    cursor: not-allowed;
}

@media (max-width: 768px) {
  .feature-image {
    height: 320px;
  }

  .feature-overlay h3 {
    font-size: 18px;
  }

  .feature-overlay p {
    font-size: 13px;
  }

  .empower-grid {
    grid-template-columns: 1fr;
  }

  .empower-card {
    grid-template-columns: minmax(0, 1fr) 120px;
    padding: 18px;
  }

  .empower-card__content h4 {
    font-size: 16px;
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-card--wide {
    grid-column: span 2;
    grid-template-columns: minmax(0, 1fr) 180px;
  }
}

@media (max-width: 575.98px) {
  .empower-card {
    grid-template-columns: 1fr;
  }

  .empower-card__media {
    height: 140px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card--wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .why-card__media {
    height: 180px;
  }
}

 */


 /* SECTION */
.why-section {
    background: #ffffff;
}

.why-card {
    background: #FF7E4B;
    border-radius: 50px;
    padding: 40px 40px 0 40px;
    position: relative;
    overflow: hidden;
    min-height: 507px;
    max-width: 1294px;
    margin: 0 auto;
}
.why-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/why-choose.png') center/contain no-repeat;
    pointer-events: none;
}

.why-title {
    text-align: center;
    font-size: 32px;
    color: #fff;
    margin-bottom: 30px;
    font-family: "Poetsen One", cursive;
}

.why-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 60px;
    gap: 60px;
}


.why-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.why-col.left {
    align-items: flex-start;
}

.why-col.right {
    align-items: flex-start;
}

.why-item {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    color: #fff;
    min-height: 70px;
}

.why-item h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff;
}

.why-item p {
    font-size: 14px;
    margin: 0;
    color: #fff;
}

.why-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

@media (min-width: 1600px) {
    .why-card {
        max-width: 1654px;
    }
}

@media (max-width: 991px) {

    .why-content {
        align-items: center;
        gap: 30px;
    }

    .why-col {
        width: 100%;
        padding: 0;
        align-items: center;
        text-align: center;
    }

    .why-item {
        justify-content: center;
        text-align: left;
        max-width: 420px;
    }

    .why-card{
      min-height: auto;
      padding-bottom: 30px;
    }

    .why-card::before {
        width: 220px;
        height: 150px;
        position: relative;
        transform: none;
        left: auto;
        margin: 20px auto 0;
    }
}

@media (max-width: 576px) {


    .why-content {
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
    }
    .why-card {
        border-radius: 20px;
        padding: 30px 15px 20px;
    }

    .why-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .why-item h5 {
        font-size: 14px;
    }

    .why-item p {
        font-size: 12px;
    }

    .why-col{
      gap: 10px;
    }

    .why-icon {
        width: 30px;
        height: 30px;
    }
}




/* popular locations */
.popular-section {
    width: 100%;
    background-color: #ffffff;
    padding: 40px 0;
}

.popular-title {
    font-size: 28px;
    font-family: "Poetsen One", cursive;
    margin-bottom: 20px;
}

/* SCROLL */
.popular-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.popular-scroll::-webkit-scrollbar {
    display: none;
}

/* CARD */
.location-card {
    min-width: 400px;
    min-height: 180px;
    display: flex;
    border: 1px solid #C8C8C8;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: 0.25s ease;
}

.location-card:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

/* MAP */
.location-map {
    width: 50%;
    height: 100%;
    position: relative;
}

.location-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* INFO */
.location-info {
    width: 55%;
    padding: 15px;
}

.location-info h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* TAGS */
.tags {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tags span {
    border: 1px solid #C8C8C8;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 13px;
    background: #ffffff;
    width: fit-content;
}

@media (max-width: 576px) {
    .location-card {
        min-width: 260px;
        flex-direction: column;
    }

    .location-map {
        width: 100%;
        height: 120px;
    }

    .location-info {
        width: 100%;
    }
}