/* === PRICING SECTION HEADER === */
.pricing-header {
  text-align: center;
  margin: 20px 20px 80px;
  padding-top: 120px; /* space for sticky navbar */
}

.pricing-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.pricing-header p {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === CAROUSEL CONTAINER === */
.pricing-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 60px;
  text-align: center;
  margin-top: -60px;
}

/* === SLIDE === */
.pricing-slide {
  display: none;
  text-align: center;
}

.pricing-slide.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === SLIDE IMAGE === */
.pricing-slide img {
  max-width: 100px;
  margin: 0 auto 20px;
  display: block;
}

/* === SLIDE TITLE === */
.pricing-slide h2 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
}

/* === PRICING CARDS CONTAINER === */
.pricing-cards-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* === PRICING CARD === */
.pricing-card {
  width: 280px;
  min-height: 360px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.pricing-card .price {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--green);
}

.pricing-card .package {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.pricing-card .inclusions-title {
  font-weight: 600;
  margin-bottom: 5px;
}

.pricing-card .inclusions p {
  font-size: 14px;
  margin: 3px 0;
  color: #555;
}

/* === PREV / NEXT BUTTONS === */
.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--green);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.prev-btn:hover, .next-btn:hover {
  background-color: #019a40;
}

.prev-btn { left: -60px; }
.next-btn { right: -60px; }

/* === NOTE BELOW CAROUSEL === */
.pricing-note {
  text-align: center;
  color: #888;
  font-size: 14px;
  font-style: italic;
  margin: 20px 0 30px;
}

/* ======================================== */
/* RESPONSIVE BREAKPOINTS */
/* ======================================== */

/* --- Medium Screens (≤1200px) --- */
@media (max-width: 1200px) {
  .pricing-header {
    padding-top: 100px;
    margin: 80px 30px 60px;
  }

  .pricing-header h1 {
    font-size: 32px;
  }

  .pricing-header p {
    font-size: 16px;
  }

  .pricing-carousel {
    margin-top: -40px;
  }

  .pricing-slide h2 {
    font-size: 24px;
  }

  .pricing-card {
    width: 260px;
    min-height: 340px;
    padding: 18px;
  }

  .pricing-card .price {
    font-size: 24px;
  }

  .pricing-card .package {
    font-size: 16px;
  }

  .prev-btn { left: -50px; }
  .next-btn { right: -50px; }
}

/* --- Tablets (≤768px) --- */
@media (max-width: 768px) {
  .pricing-header {
    padding-top: 90px;
    margin-top: 50px; /* 👈 margin-top now works here */
    margin-bottom: 40px;
  }

  .pricing-header h1 {
    font-size: 28px;
  }

  .pricing-header p {
    font-size: 15px;
  }

  .pricing-carousel {
    margin-top: 10px;
  }

  .pricing-slide h2 {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .pricing-card {
    width: 90%;
    min-height: 320px;
    padding: 16px;
    margin: 10px auto;
  }

  .pricing-card .price {
    font-size: 22px;
  }

  .pricing-card .package {
    font-size: 15px;
  }

  .pricing-card .inclusions p {
    font-size: 13px;
  }

  .prev-btn, .next-btn {
    padding: 8px 12px;
    font-size: 14px;
  }

  .prev-btn { left: -40px; }
  .next-btn { right: -40px; }
}

/* --- Phones (≤480px) --- */
@media (max-width: 480px) {
  .pricing-header {
    padding-top: 70px;
    margin-top: 40px; /* 👈 this will now apply */
    margin-bottom: 30px;
  }

  .pricing-header h1 {
    font-size: 24px;
    line-height: 1.3;
  }

  .pricing-header p {
    font-size: 14px;
    line-height: 1.5;
  }

  .pricing-carousel {
    position: static;
    margin-top: 20px;
  }

  .pricing-slide h2 {
    font-size: 20px;
  }

  .pricing-card {
    width: 95%;
    min-height: auto;
    padding: 14px;
  }

  .pricing-card .price {
    font-size: 20px;
  }

  .pricing-card .package {
    font-size: 14px;
  }

  .pricing-card .inclusions-title {
    font-size: 14px;
  }

  .pricing-card .inclusions p {
    font-size: 12px;
  }

  .prev-btn, .next-btn {
    position: static;
    display: inline-block;
    margin: 10px 5px;
    transform: none;
  }
}
