
.banner {
  background: linear-gradient(135deg, #14384e, #0e2737);
  padding: 0px 80px 0;
  position: relative;
  overflow: visible; 
}
.banner::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -30px;
  width: 100%;
  height: 30px; 
  background: linear-gradient(135deg, #14384e, #0e2737);
  border-bottom-left-radius: 50% 100%;
  border-bottom-right-radius: 50% 100%;
}
.banner-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-image {
  width: 450px;
  height: 450px;
}

.text-section {
  color: white;
  text-align: center;
  padding: 80px 0 130px;
}

.text-section h1 {
  font-size: 52px;
  margin-bottom: 20px;
  font-weight: 700;
}

.text-section p {
  font-size: 22px;
  margin-bottom: 25px;
  line-height: 1.4;
  font-weight: 700;
}

.book-btn {
  background: white;
  color: #14384e;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

.search-section {
  position: absolute;
  bottom: -80px;
  width: 90%;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.search-box {
  background: white;
  width: 85%;
  padding: 25px 30px;
  border-radius: 20px;
  box-shadow:
    0px -20px 30px rgb(241 241 241 / 24%),
    0px 20px 30px rgb(241 241 241 / 24%);

  display: flex;
  align-items: center;
  gap: 25px;
}

.search-item {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dropdown-list {
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background: #fff;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  max-height: 250px;
  overflow-y: auto;
  display: none;
  z-index: 999;
}

.dropdown-list li {
  padding: 14px 20px;
  cursor: pointer;
  font-size: 18px;
}

.dropdown-list li:hover {
  background: #f3f3f3;
}

.search-item label {
  font-weight: 600;
  color: #555;
}

.search-item input {
  border: none;
  border-bottom: 2px solid #ddd;
  padding: 8px 0;
  font-size: 16px;
  outline: none;
}

.swap-icon {
  background: #e3e6e9;
  color: #14384e;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
  position: absolute;
  right: -42px;
  bottom: 25px;
  padding: 10px;
  z-index: 99;
  border: 1px solid #14384e;
}

.search-button {
  background: linear-gradient(135deg, #14384e, #0e2737);
  border: none;
  padding: 14px 30px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
}

.search-button a{
color: white;
text-decoration: none;
}
.location {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.location-img {
  width: 35px;
  height: 35px;
  background-color: #e3e6e9;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #14384e;
}
.offer-section {
  padding: 170px 40px 40px 40px;
  text-align: center;
}

.offer-header h2 {
  font-size: 48px;
  font-weight: 700;
}

.offer-header p {
  font-size: 20px;
  color: #777;
  margin-bottom: 60px;
  font-weight: 600;
}

.offer-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.offer-container {
  display: flex;
  gap: 20px;
  overflow: hidden;
  scroll-behavior: smooth;
}
.offer-container {
  scroll-snap-type: x mandatory;
}

.offer-card {
  flex: 0 0 450px;
  scroll-snap-align: start;
  width: 380px;
  height: 220px;
  border-radius: 25px;
  color: white;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.offer-body {
  padding: 30px;
  position: relative;
  display: flex;
}

.bus-div {
  position: absolute;
  right: -20px;
  top: 20px;
}
.bus-image {
  width: 150px;
}
.emoji1-div {
  position: absolute;
  right: -5px;
  top: -10px;
}
.emoji1-div img,
.emoji2-div img {
  width: 40px;
}
.emoji2-div {
  position: absolute;
  left: -10px;
  bottom: -30px;
}

.offer-card h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

.offer-card p {
  font-size: 16px;
  line-height: 1.5;
}

.offer-footer {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  padding: 20px;
  border-radius: 0 0 25px 25px;
}

.purple {
  background: linear-gradient(135deg, #7b3fe4, #6a35d0);
}
.purple .offer-footer {
  background: #8a51ec;
}

.orange {
  background: linear-gradient(135deg, #f5a300, #f59e0b);
}
.orange .offer-footer {
  background: #de7d06;
}

.green {
  background: linear-gradient(135deg, #3a8d00, #2e7d00);
}

.green .offer-footer {
  background: #4eb703;
}
.nav-btn {
  position: absolute;
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  z-index: 100;
}

.left {
  left: -25px;
}

.right {
  right: -25px;
}
.calendar,
.city {
  border-left: 1px solid #e3e6e9;
  padding-left: 20px;
}


@media (max-width: 992px) {
  .offer-section {
    padding: 220px 20px 00px 20px;
  }
  .offer-header h2 {
    font-size: 24px;
    font-weight: 500;
  }
  .offer-header p {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .banner {
    padding: 40px 15px 200px;
    border-radius: 0 0 20px 20px;
  }
  .banner::after {
    display: none;
  }

  .banner-image {
    display: none;
  }

  .banner-section {
    justify-content: center;
    text-align: center;
  }

  .text-section {
    text-align: center;
    padding: 0;
  }

  .text-section h1 {
    font-size: 36px;
    margin-bottom: 5px;
  }

  .text-section p {
    font-size: 16px;
  }

  .search-section {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -200px;
    width: 92%;
    margin: 0;
  }
  .city,
  .calendar {
    border: none;
    padding-left: 0;
  }

  .search-box {
    width: 100%;
    flex-direction: column;
    gap: 18px;
    padding: 10px 10px 20px;
    border-radius: 18px;
  }

  .search-item {
    width: 100%;
  }

  .search-button {
    width: 100%;
    padding: 8px;
  }
  .location {
    margin-bottom: 0;
  }
  .to,
  .from,
  .date1 {
    margin-left: 40px;
  }
  .swap-icon {
    transform: rotate(90deg);
    top: 55px;
    left: 80%;
    right: 0;
    bottom: -15px;
    background-color: transparent;
    border: transparent;
  }
  .swap-icon i {
    background-color: #e3e6e9;
    padding: 8px;
    border: 14384E;
    border-radius: 50%;
  }
}

@media (max-width: 576px) {
  .offer-section {
    padding: 230px 20px 0px 20px;
  }
  .nav-btn {
    display: none;
  }
  .offer-card {
    flex: 0 0 100%;
  }
  .offer-card h3 {
    font-size: 22px;
  }
  .offer-card p {
    font-size: 14px;
  }
  .offer-footer {
    font-size: 14px;
  }
  .offer-body {
    padding: 16px;
  }
  .bus-div {
    right: -5px;
    top: 30px;
  }
  .bus-image {
    width: 100px;
  }
  .offer-card {
    height: 170px;
  }
}
.calendar-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.4);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:999;
}

.calendar-popup{
    background:#fff;
    width:320px;
    padding:20px;
    border-radius:10px;
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

.calendar-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
    font-weight:600;
}

.calendar-header button{
    background:#14384E;
    color:#fff;
    border:none;
    padding:5px 10px;
    border-radius:5px;
    cursor:pointer;
}

.calendar-days{
    display:grid;
    grid-template-columns:repeat(7,1fr);
    text-align:center;
    font-size:13px;
    margin-bottom:10px;
}

.calendar-dates{
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:5px;
}

.calendar-dates div{
    padding:8px;
    text-align:center;
    border-radius:5px;
    cursor:pointer;
}

.calendar-dates div:hover{
    background:#14384E;
    color:#fff;
}
@media (max-width: 768px) {
  /* Fix the date input alignment on mobile */
  .date1 {
    width: calc(100% - 40px); /* Adjust based on your icon margin */
    border-bottom: 2px solid #ddd !important;
    padding: 10px 0 !important;
    font-size: 16px !important;
    background: transparent;
    appearance: none; /* Removes default mobile styling */
  }

  /* Ensure the flatpickr container doesn't get cut off */
  .flatpickr-calendar {
    width: 300px !important; 
  }
}
