* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; background: #f9f9f9; color: #333; }

a { color: inherit; text-decoration: none; }

.header {
  background: #fff;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  flex-wrap: wrap;
}
.header-left img {
  max-height: 40px;
}
.header-center {
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
  flex: 1;
}
.header-right {
  font-size: 0.95rem;
}
.header-right i {
  margin-right: 5px;
  color: #f39c12;
}

/* Hero */
.hero {
  background: url('../images/herobg.png') no-repeat center/cover;
  padding: 50px 20px;
  color: white;
  
}
.hero-container {
  display: flex;
  justify-content: space-between;
  background: rgba(0,0,0,0.6);
  padding: 30px;
  border-radius: 10px;
  flex-wrap: wrap;
}
.hero-left { flex: 1; margin-right: 20px; min-width: 280px; }
.hero-left h1 { font-size: 2rem; margin-bottom: 10px; }
.highlight { color: #f39c12; }
.price { font-size: 1.3rem; margin: 10px 0; font-weight: bold; }
.features { list-style: none; margin-top: 15px; }
.features li { margin-bottom: 8px; }
.features i { color: #f39c12; margin-right: 8px; }

.hero-right {
  flex: 1;
  max-width: 350px;
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 8px;
}
.query-form { display: flex; flex-direction: column; gap: 15px; }
.form-group { position: relative; }
.form-group i {
  position: absolute; top: 12px; left: 10px; color: #fff;
}
.query-form input, .query-form select {
  width: 100%;
  padding: 10px 10px 10px 35px;
  border: none;
  border-radius: 5px;
  background: rgba(255,255,255,0.9);
}
.query-form button {
  background: #f39c12; color: white; padding: 12px;
  border: none; border-radius: 5px; font-weight: bold;
  cursor: pointer;
}
.query-form button:hover { background: #d97706; }

/* Packages */
.packages {
  padding: 40px 20px;
  background: white;
  text-align: center;
}

.package-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.package {
  background: #f3f3f3;
  padding: 20px;
  border-radius: 10px;
  flex-basis: 30%; /* Adjust width to 30% for 3 packages per row */
  max-width: 320px; /* Set a max width to prevent it from growing too large */
  box-sizing: border-box;
  border: 2px solid #ddd; /* Added border */
  transition: box-shadow 0.3s ease; /* Smooth box-shadow transition when hovered */
}

.package h3 {
  margin-bottom: 5px;
}

.package-btns {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
}

.package-btns a, .package-btns button {
  background: #25d366;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
}

.package-btns button {
  background: #f39c12;
}

.package-btns a:hover, .package-btns button:hover {
  opacity: 0.85;
}

.package-info {
  margin-top: 30px;
  max-width: 900px;
  margin-inline: auto;
  text-align: left;
  line-height: 1.6;
}

.package img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease-in-out;
  border-radius: 8px;
}

.package img:hover {
  transform: scale(1.05);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Media Query for smaller screens (mobile) */
@media (max-width: 768px) {
  .package {
    flex-basis: 45%; /* 2 packages per row */
  }
}

@media (max-width: 480px) {
  .package {
    flex-basis: 100%; /* 1 package per row */
  }
}


.offer-popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

.offer-popup-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  max-width: 400px;
  width: 90%;
}

.offer-popup-content h2 {
  margin-bottom: 10px;
}

.offer-popup-content input {
  display: block;
  width: 90%;
  margin: 10px auto;
  padding: 10px;
}

.offer-popup-content button {
  background: #28a745;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.countdown {
  font-size: 18px;
  margin: 15px 0;
  color: #e74c3c;
}

/* Footer */
.footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9rem;
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-container { flex-direction: column; }
  .header-center { font-size: 0.9rem; margin-top: 10px; }
}

/* ---------- Footer ---------- */
footer h6 {
  font-weight: 600;
}

footer a {
  color: #333;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
.hero-container {
  display: flex;
  justify-content: space-between;
  background: rgba(0,0,0,0.6);
  padding: 30px;
  border-radius: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* Middle image */
.hero-middle {
  flex: 1;
  text-align: center;
  min-width: 200px;
  margin: 10px;
}

.hero-middle img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Adjust left and right for 3-column layout */
.hero-left, .hero-right {
  flex: 1;
  min-width: 280px;
  margin: 10px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
  }
  .hero-middle {
    margin: 20px 0;
  }
}
.package a {
  text-decoration: none; /* Remove underline from link */
  color: inherit; /* Keep the default text color */
  display: inline-block;
  transition: transform 0.3s, color 0.3s;
}

.package a:hover h4 {
  color: #ffa200; /* Change color on hover */
  transform: scale(1.05); /* Slightly enlarge the text on hover */
}

.package h4 {
  margin-top: 10px;
  font-size: 1.25rem;
  font-weight: 600;
  
}

/* Hero Section Styling */
section.bg-primary {
    background: linear-gradient(135deg, #767778, #f5f9f9);
}

section.bg-primary h1, 
section.bg-primary p {
    color: #fff;
}

section.bg-primary .btn-light {
    background-color: #fff;
    color: #f0f2f4;
    border-radius: 50px;
    padding: 10px 25px;
    transition: transform 0.3s, box-shadow 0.3s;
}

section.bg-primary .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Card Shadows */
.card.shadow-sm {
    transition: transform 0.3s, box-shadow 0.3s;
}

.card.shadow-sm:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Lists */
.list-group-item {
    font-size: 1rem;
    padding: 15px 20px;
    border: none;
    border-bottom: 1px solid #ddd;
}

.list-group-item:last-child {
    border-bottom: none;
}

/* Equal height for Why Choose Us boxes */
.why-choose-us .col-md-4 > div {
  min-height: 280px;        /* adjust as per content */
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
