@import url("https://fonts.googleapis.com/css2?family=Cedarville+Cursive&display=swap");

:root {
  --primary-color: #0e0e0e;
  --secondary-color: #6c757d;
  --background-color: #f8f9fa;
  --text-color: #212529;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
}

.navbar-toggler {
  border: none;
  font-size: 1.25rem;
}

.navbar-toggler:focus,
.btn-close:focus {
  box-shadow: none;
  outline: none;
}

.navbar {
  /* background-color: transparent; */
  background-color: #fff;
  height: 60px;
}

.navbar-brand {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color);
  transition: color 0.3s;
}

.nav-link {
  color: #666777;
  font-weight: 700;
  transition: color 0.3s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #000000;
}

@media (min-width: 991px) {
  .nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    visibility: hidden;
    height: 2px;
    background-color: #2727cf;
    transition: 0.3s ease-in-out;
  }

  .nav-link:hover::before,
  .nav-link.active::before {
    width: 100%;
    visibility: visible;
  }
}

.carousel,
.carousel-inner,
.carousel-item {
  position: relative;
  overflow: hidden;
  height: 400px;
}

.carouselImage {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
/* font-family: "Cedarville Cursive", cursive; */

@media only screen and (min-width: 150px) and (max-width: 600px) {
  .carousel-heading {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 35px;
    z-index: 99;
    font-weight: 500;
    color: #fff;
  }
}
.carousel-heading {
  position: absolute;
  width: 100%;
  font-family: "Cedarville Cursive", cursive;
  text-align: center;
  font-size: 40px;
  z-index: 99;
  font-weight: 500;
  color: #fff;
}

/* @media only screen and (min-width: 150px) and (max-width: 900px) {
  .hero-sec .carousel-static-section {
    width: 85%;
    transform: translate(-50%, -30%);
  }
}

@media only screen and (min-width: 150px) and (max-width: 400px) {
  .hero-sec .carousel-static-section {
    width: 85%;
    transform: translate(-50%, -30%);
  }
} */

.carousel-description {
  color: #fff;
  text-transform: capitalize;
  white-space: nowrap;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: 10;
  margin-top: 30px;
}

.carousel-description h5 {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
  word-wrap: nowrap;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media only screen and (min-width: 150px) and (max-width: 900px) {
  .carousel-heading,
  .carousel-description h5 {
    font-size: 1.5rem;
    white-space: nowrap;
    word-wrap: nowrap;
  }
}

a {
  color: inherit;
}

/* .filter-list li a span {
  margin-left: 10px;
  font-weight: 600;
  color: #000;
  /* white-space: nowrap;
  word-wrap: nowrap; */

.filter-section {
 overflow: auto;
    justify-items: center;
    z-index: 99;
    text-align: center;
    transition: all ease;
    background: #fff;
    box-shadow: 0px 0px 6px #00000029;
    border: 1px solid #080808;
    border-radius: 100px;
    margin: 0px auto;
    position: relative;
    margin-top: -25px;
    max-width: 600px;
}

/* .filter-section::-webkit-scrollbar {
  display: none;
} */
/* @media only screen and (min-width: 150px) and (max-width: 900px) {
  .filter-list {
    gap: 15px;
    display: flex;
    overflow: auto;
    margin-top: 15px;
  }
} */

@media only screen and (min-width: 150px) and (max-width: 900px) {
  .filter-section {
    width: 95%;
  }
  
  .filter-list {
    flex-direction: column !important;
    align-items: center;
  }
}

/* Additional responsive styles for very small devices */
@media only screen and (max-width: 576px) {
  .filter-section {
    width: 98%;
    border-radius: 15px;
  }
  
  .filter-list {
    flex-direction: column !important;
    align-items: center;
  }
  
  .filter-list li {
    width: 100%;
    text-align: center;
  }
  
  .filter-list li a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
}

@media (max-width: 1170px) {
  .filter-section {

    white-space: nowrap;
    font-size: 16px;
  }
}

@media only screen and (min-width: 150px) and (max-width: 900px) {
  .filter-list li a {
    display: flex;
    flex-direction: row;
    white-space: nowrap;
    word-wrap: nowrap;
    align-items: center;
    width: auto;
  }
}
.filter-list li a {
  margin-right: 5px;
}

/* (max-width: 991px)  */

/* .section-header h2 */

@media only screen and (min-width: 150px) and (max-width: 900px) {
  .filter-list li a span {
    font-size: 14px;
    margin-left: 10px;
    font-weight: 600;
    color: #000;
    white-space: nowrap;
  }
}

.filter-list li a span {
  font-size: 14px;
  margin-left: 10px;
  font-weight: 600;
  color: #000;
  white-space: nowrap;
}

.filter-list li a:hover span {
  color: #2727cf;
}

.filter-list li a {
  text-decoration: none;
  transition: all 0.1s ease-in;
}
.hero-sec li a img {
  width: 25px;
  transition: all 0.1s ease-in;
}
.filter-list li a:hover img {
  transform: translateY(-5px);
}

.filter-text {
  margin-left: -20px;
}

/* sneha's part  */
.container {
  margin: auto;
  padding: 30px 20px;
}
.section-header {
  margin-top: 0;
  padding-top: 10px;
  text-align: left;
  margin-bottom: 30px;
}

/* TODO responsive styles */
.section-header h2 {
  /* font-family: 'Dancing Script',cursive; */
  font-size: 2.5rem;
  font-weight: 600;
  color: #000;
  margin: 0;
  margin-top: 0px;
  margin-bottom: 6px;
}
@media only screen and (min-width: 150px) and (max-width: 900px) {
  .section-header h2 {
    font-size: 1.5rem;
    /* margin-top: 50px; */
  }
}
.section-header p {
  color: #444;
  margin: 6px;
  font-size: 1rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.info {
  padding: 12px;
}
.info h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
}
.tags {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 6px;
}
.rating {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.price {
  font-size: 1.5rem;
  color: #2563eb;
}

/* Adarsh's code */
.card-content {
  text-align: center;
  margin-left: 400px;
}

.custom-rounded-card {
  border-radius: 1.5em;
}

@media only screen and (min-width: 150px) and (max-width: 900px) {
  .custom-rounded-card {
    margin-top: -60px;
  }
  .helpline-card {
    margin-top: -40px;
  }
  .custom-rounded-card h4 {
    font-size: 15px;
  }
  .submitButton {
    width: 100%;
  }
}

/* Transition effect for bottom card */
.transition-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.transition-card:hover {
  transform: translateY(-10px);
}
@media only screen and (min-width: 150px) and (max-width: 900px) {
  .assistant-card {
    display: none;
  }
  .card-content {
    margin-left: 0;
    text-align: center;
  }
}

@media only screen and (min-width: 150px) and (max-width: 400px) {
  .card-content h4 {
    margin-left: 0;
    font-size: 11px;
  }
}

/* Icon styling */
.card-icon {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 10px;
}

.holiday-section {
  margin-bottom: 100px;
}

@media only screen and (min-width: 150px) and (max-width: 900px) {
  .book-section {
    padding-top: 80px;
    border-radius: 16px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  }
  .form-img {
    display: none;
  }
  .package-heading {
    padding-top: 50px;
  }
}

.book-section {
  margin-top: -80px;
  padding-top: none;
}

.assistant-card {
  position: absolute;
  top: 25%;
  left: 20%;
  z-index: 99;
  transform: translateX(-50%) translateY(-50%);
}
.assistant-card img {
  width: 315px;
}
.carousel-card {
  height: 300px;
}

.benefits-card {
  margin-top: -40px;
}

/* .form-control {
  box-shadow: none;
  margin: 0;
} */

/* .form-control:active,
.form-control:focus {
  border-color: #0d6efd;
  box-shadow: none;
} */
.form-label {
  font-weight: 500;
  color: #333;
}

/* .form-container h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #000;
  text-align: center;
  /* font-family: "Cedarville Cursive", cursive; */
/* } */
*/ label i {
  margin-right: 8px;
  outline-offset: 2px;
}

.form-img img {
  width: 100%;
  border-radius: 16px;
  height: 100%;
  object-fit: cover;
}

/* Detail Page styles  */

.decor-box {
  width: 50px;
  height: 50px;
  background: rgba(214, 21, 21, 0.8);
}
