/* Haridwar Hero Section */

.haridwar-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
              url('../images/ayokasi.webp') no-repeat center center/cover;
  height: 86vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
  padding: 0 20px;
}
.haridwar-hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-left: 250px;
  color: #ffffff; /* Adding white color */
}

.haridwar-hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-left: 250px;
  
}

/* Packages Section */
.packages-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  color: #1a56a7;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1rem;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #222;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background: #1a56a7;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-desc {
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Package Cards */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.package-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.package-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #1a56a7;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.package-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.package-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 15px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.package-duration,
.package-rating {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.package-content {
  padding: 25px;
}

.package-tags {
  margin-bottom: 15px;
}

.package-tags span {
  display: inline-block;
  background: #f0f7ff;
  color: #1a56a7;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  margin-right: 8px;
  margin-bottom: 8px;
}

.package-card h3 {
  font-size: 1.5rem;
  margin: 10px 0 15px;
  color: #222;
}

.package-details p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.package-features li {
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  color: #555;
  font-size: 0.95rem;
}

.package-features i {
  color: #1a56a7;
  margin-right: 8px;
  margin-top: 4px;
  font-size: 1.1rem;
}

.package-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.package-price {
  text-align: left;
}

.package-price span {
  display: block;
  font-size: 12px;
  color: #777;
}

.package-price strong {
  font-size: 1.5rem;
  color: #1a56a7;
  font-weight: 600;
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 80px 0;
  background-color: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-box {
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  background: #f9f9f9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: #1a56a7;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.feature-box h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #222;
}

.feature-box p {
  color: #666;
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 25px;
  background: #fff;
  border: none;
  font-size: 1.1rem;
  font-weight: 500;
  color: #222;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f9ff;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #fff;
}

.faq-answer p {
  padding: 0 25px 20px;
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  border-top: 1px solid #eee;
}

/* Booking Modal */
/* Reset any conflicting styles */
.modal {
  /* Reset all properties to default */
  all: initial;
  /* Then set our styles */
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-content {
  background: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 600px;
  max-height: 100vh;
  padding: 30px;
  position: relative;
  margin: 0 auto;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  -webkit-overflow-scrolling: touch;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 1.8rem;
  color: #777;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #1a56a7;
}

.booking-form h2 {
  margin-top: 0;
  color: #222;
  margin-bottom: 10px;
}

.booking-form > p {
  color: #666;
  margin-bottom: 25px;
}

/* Form Buttons */
/* Form Steps */
.form-step {
  display: none;
  transition: all 0.3s ease;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.form-buttons .btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.form-buttons .btn-primary {
  background-color: #1a56a7;
  color: white;
}

.form-buttons .btn-primary:hover {
  background-color: #15458a;
}

.form-buttons .btn-secondary {
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
}

.form-buttons .btn-secondary:hover {
  background-color: #e0e0e0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #444;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: #1a56a7;
  box-shadow: 0 0 0 3px rgba(26, 86, 167, 0.1);
  outline: none;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background: #FDB12e;
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background: #15468a;
  transform: translateY(-2px);
}

.btn-block {
  display: block;
  width: 100%;
  padding: 14px;
  font-size: 1.1rem;
}

.btn-primary {
  background: #1a56a7;
}

.btn-primary:hover {
  background: #15468a;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .packages-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  
  .package-card {
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .package-content {
    padding: 20px;
  }
  
  .package-features li {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }
  
  .package-footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .package-price {
    width: 100%;
    text-align: center;
  }
  
  .btn {
    width: 100%;
    text-align: left;
    /* margin-top: 50px; */
    position: relative;
  }
  
  .haridwar-hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    margin-right: 20px;
   }
  
  .haridwar-hero-content p {
    font-size: 22px;
        margin-bottom: -4.5rem;
        margin-left: -2px;

        
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .form-row .form-group {
    margin-bottom: 15px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .package-card h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .haridwar-hero {
    height: 44vh;
  }
  
  .haridwar-hero-content h1 {
    font-size: 22px;
        /* font-size: 3.5rem; */
    /* margin-bottom: 50px; */
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-left: 10px;
    color: #ffffff;
    bottom: 140px;
    position: absolute;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .package-card {
    margin-bottom: 30px;
  }
  
  .modal-content {
    padding: 20px 15px;
  }
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.package-card {
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
}

.package-card:nth-child(1) { animation-delay: 0.1s; }
.package-card:nth-child(2) { animation-delay: 0.2s; }
.package-card:nth-child(3) { animation-delay: 0.3s; }

/* Desktop view card padding */
@media (min-width: 992px) {
  .packages-grid {
    gap: 30px;
    padding: 30px 20px; /* Added horizontal padding */
    max-width: 1400px; /* Maximum width for better readability */
    margin: 0 auto; /* Center the grid */
  }
  
  .package-card {
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 5px; /* Small margin on sides */
    background: #fff; /* Ensure background covers the padding */
  }
  
  .package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }
  
  .package-content {
    padding: 15px 10px 0; /* Adjusted padding */
  }
  
  /* Ensure container has proper padding */
  .container {
    padding-left: 20px;
    padding-right: 20px;
    margin-right: 50px;
  }
}
