/* ----------------- BASIC THEME ----------------- */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
  color: #1c1c1c;
  scroll-behavior: smooth;
}

a { transition: all .25s ease; }
.text-shadow { text-shadow: 0 3px 8px rgba(0,0,0,0.65); }

/* ----------------- TOPBAR NAV ----------------- */
.topbar { font-size: .9rem; }
.topbar a:hover { color: #f5b400; }

/* NAV */
.navbar-brand img { border-radius: 6px; }
.navbar-light .nav-link { color: #333 !important; font-weight:500; }
.navbar-light .nav-link:hover, .navbar-light .nav-link.active { color: #0d6b32 !important; }

/* ----------------- HERO ----------------- */
.hero-img { height: 82vh; object-fit: cover; filter: brightness(0.62); }
.carousel-caption { bottom: 22%; }
.carousel-caption h1 { color: #fff; text-transform:uppercase; letter-spacing:1px; font-weight:700; }
.carousel-caption p { color: #f8f9fa; }

/* ----------------- CARDS & IMAGES ----------------- */
.card { border-radius: 10px; }
.service-img { height: 220px; object-fit: cover; border-top-left-radius:10px; border-top-right-radius:10px; }
.package-card .card-body { padding: 1.4rem; }
.package-card i { width:40px; text-align:center; }

/* ----------------- PACKAGES SECTION ----------------- */
#packages {
  background: linear-gradient(135deg, #f8fff9 0%, #e8f5e9 100%);
  position: relative;
  overflow: hidden;
}

#packages::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at center, rgba(13,107,50,0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.package-card {
  background: #fff;
  border-radius: 14px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 340px; /* slightly taller cards */
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(13,107,50,0.15);
}

.package-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, #0d6b32, #f5b400);
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
}

.package-card .card-body {
  position: relative;
  z-index: 2;
  padding: 1.8rem;
}

.package-card i {
  color: #0d6b32;
}

.package-card h5 {
  font-weight: 700;
  color: #0d6b32;
}

.package-card p {
  margin-bottom: 0.4rem;
  color: #333;
}

.package-card strong {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0d6b32;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.package-card .btn {
  font-weight: 600;
  border-radius: 30px;
}

/* Hover Glow */
.package-card:hover strong {
  color: #f5b400;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Smooth entrance */
[data-aos] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* ================= PRICE TAG ================= */
/* ================= PRICE BADGE ================= */
.price-tag {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  padding: 0.4rem 1.4rem;  /* increased padding */
  margin: 0.8rem 0 1.2rem; /* top & bottom space around it */
  border-radius: 50px;
  color: #1c1c1c;
  background: linear-gradient(90deg, #fff3cd 0%, #f5b400 50%, #ffd54a 100%);
  box-shadow: 0 6px 18px rgba(13,107,50,0.08);
  text-align: center;
  letter-spacing: 0.5px;
  margin-top: 15px;
  margin-bottom: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-tag:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(13,107,50,0.15);
}

/* Full-width button styling */
.package-card .btn {
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.package-card .btn:hover {
  background-color: #0b5c2b;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ----------------- SERVICES ----------------- */
.service-card { transition: transform .3s ease; }
.service-card:hover { transform: translateY(-6px); }

/* ----------------- TESTIMONIALS ----------------- */
.testimonial { background: #fff; border-radius:12px; }
.testi-img { width:56px; height:56px; object-fit:cover; }

/* ----------------- GALLERY ----------------- */
#gallery img { height:160px; object-fit:cover; transition: transform .3s ease; }
#gallery a:hover img { transform: scale(1.03); }

/* ----------------- BUTTONS ----------------- */
.btn-success { background-color: #0d6b32; border: none; }
.btn-success:hover { background-color:#0b5c2b; }
.btn-warning { background-color: #f5b400; border: none; color:#1c1c1c; }
.btn-warning:hover { background-color:#e0a800; }

/* ----------------- FOOTER ----------------- */
footer { font-size: .95rem; background:#0f1112; }
footer a { color:#f8f9fa; }
footer a:hover { color:#f5b400 !important; }

/* ===============================
   Image Scaling and Fit Controls
================================*/

/* For all images inside cards, sections, and details */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Package Overview Image (left side) */
.package-hero img,
img.img-fluid {
  max-height: 450px !important;
  object-fit: cover;
  border-radius: 10px;
}

/* Card images (related packages) */
.card-img-top {
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

/* Prevent stretched hero backgrounds */
.package-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ----------------- RESPONSIVE ----------------- */
@media (max-width: 992px) {
  .hero-img { height: 60vh; }
  .service-img { height: 180px; }
}
@media (max-width: 576px) {
  .carousel-caption { bottom: 10%;}
  .carousel-caption h1 { font-size: 1.6rem; }
  #gallery img { height:110px; }
}

/* Tablet and mobile adjustments */
@media (max-width: 767px) {
  .package-hero {
    padding: 80px 0;
  }
  .card-img-top {
    height: 180px;
  }
  section img.img-fluid {
    max-height: 300px;
  }
}
