/* ===== Base ===== */
:root {
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --orange-600: #ea580c;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --grad: linear-gradient(135deg, #16a34a 0%, #15803d 60%, #166534 100%);
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ===== Layout ===== */
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid #f1f5f9;
  transition: box-shadow 0.2s ease;
}
.navbar.scrolled {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.nav-content {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.logo-img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 10px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-circle {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: var(--grad);
  font-weight: 800;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text strong {
  font-size: 16px;
}
.logo-text span {
  font-size: 12px;
  color: var(--muted);
}

.nav-links {
  margin-left: auto;
  margin-right: 10px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  padding: 8px 6px;
  border-radius: 8px;
  color: #374151;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--green-700);
}
.nav-links a.active {
  background: #e8f7ee;
  color: var(--green-700);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
  white-space: nowrap;
}
.btn-cta {
  background: var(--grad);
  color: #fff;
  padding: 10px 16px;
  box-shadow: var(--shadow);
}
.btn-cta:hover {
  filter: brightness(0.96);
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 22px;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(180deg, #f9fafb 0%, var(--emerald-50) 70%, #fff 100%);
  padding: 110px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.tag {
  display: inline-block;
  background: #dcfce7;
  color: var(--green-700);
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}
.hero h1 {
  margin: 14px 0 6px;
  font-size: 48px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero .umroh {
  color: var(--green-700);
}
.hero .haji {
  color: var(--orange-600);
}
.hero p {
  color: #4b5563;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 22px 0 4px;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  padding: 14px 22px;
  border: 0;
  border-radius: 10px;
}
.btn-primary:hover {
  transform: translateY(-1px);
}
.btn-outline {
  border: 2px solid var(--green-600);
  color: var(--green-700);
  padding: 12px 20px;
  border-radius: 10px;
}
.btn-outline:hover {
  background: #e9f8ef;
}
.full {
  width: 100%;
  justify-content: center;
}
.center {
  text-align: center;
}

.hero-stats {
  display: flex;
  gap: 42px;
  margin-top: 26px;
}
.hero-stats h3 {
  color: var(--green-700);
  font-size: 22px;
  margin: 0;
}
.hero-stats span {
  color: var(--muted);
  font-size: 14px;
}

.hero-media {
  position: relative;
}
.hero-media img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.media-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: #fff;
  color: var(--green-700);
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  font-weight: 700;
}

/* ===== Layanan ===== */
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin: 0;
  color: #0f172a;
}
.section-subtitle {
  text-align: center;
  margin: 8px auto 38px;
  color: var(--muted);
}

.layanan {
  padding: 76px 0;
  background: #fff;
}
.layanan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.03);
  transition: 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.08);
}
.card .icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #dcfce7;
  color: var(--green-700);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.card p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
}

/* =========================
   PAKET UMROH SECTION
========================= */
.paket {
  padding: 90px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6fffa 60%, #ecfdf5 100%);
}

.paket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* --- Kartu Paket --- */
.paket-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
  margin-bottom: 40px;
}
.paket-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

/* --- Header Gambar --- */
.paket-header {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 25px;
}

.paket-header img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px 10px 0 0;
  transition: transform 0.4s ease, filter 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.paket-card:hover img {
  transform: scale(1.02);
  filter: brightness(1.05);
}

/* --- Body Paket --- */
.paket-body {
  padding: 40px 28px 55px;
}

.paket-body h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.paket-note {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 8px;
}

.paket-body .harga {
  color: #15803d;
  font-weight: 700;
  margin-bottom: 20px;
}

.paket-body .harga span {
  display: block;
  color: #64748b;
  font-size: 14px;
  margin-bottom: 4px;
}

.paket-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.paket-body li {
  font-size: 14px;
  color: #374151;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.paket-body li i {
  color: #16a34a;
  margin-top: 2px;
}

.paket-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.paket-overlay,
.badge-hari {
  display: none !important;
}

.label-populer {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #15803d;
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(21, 128, 61, 0.35);
}
.label-populer.soft {
  background: #fde68a;
  color: #92400e;
  box-shadow: 0 12px 20px rgba(214, 158, 46, 0.3);
}

/* ===== Testimoni ===== */
.testimoni {
  padding: 84px 0;
  background: #fff;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.testi-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 6px 16px rgba(2, 6, 23, 0.04);
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--emerald-100);
  color: var(--green-700);
  display: grid;
  place-items: center;
  font-weight: 800;
}
.stars {
  color: #facc15;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

/* ===== Gallery ===== */
.gallery {
  background: #f8fafc;
  padding: 84px 0;
}
.gallery-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
@media (min-width: 768px) {
  .gallery-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.gallery-content {
  display: grid;
  gap: 24px;
}
@media (min-width: 992px) {
  .gallery-content {
    grid-template-columns: 2fr 1fr;
  }
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}
.gallery-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
}
.gallery-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.gallery-card figcaption {
  padding: 14px 16px 18px;
  font-size: 0.9rem;
  color: #475467;
}
.gallery-media {
  display: grid;
  gap: 16px;
}
.gallery-media video {
  width: 100%;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

/* ===== CTA ===== */
.cta {
  background: radial-gradient(1200px 500px at 20% -10%, #1d9a57 0, #0f7a3e 60%, #0a5c2f 100%);
  color: #fff;
  padding: 70px 0;
  margin-top: 40px;
}
.cta-inner {
  text-align: center;
}
.cta h2 {
  font-size: 28px;
  margin: 0 0 8px;
}
.cta p {
  color: #d1fae5;
  margin: 0 0 20px;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-light {
  background: #fff;
  color: #0f5132;
  padding: 12px 16px;
  border-radius: 10px;
}
.btn-light:hover {
  filter: brightness(0.95);
}
.btn-outline.white {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}
.btn-outline.white:hover {
  background: #fff;
  color: var(--green-700);
}

/* ===== Footer ===== */
.footer {
  background: #0b3d2a;
  color: #e9faf5;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 26px;
  padding: 34px 0;
}
.logo-footer .logo-circle {
  background: var(--grad);
}
.footer h4 {
  margin: 0 0 12px;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer .socials {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.footer .socials a {
  font-size: 1.2rem;
  color: #e9faf5;
  opacity: 0.85;
}
.footer .socials a:hover {
  opacity: 1;
}
.footer a {
  color: #e9faf5;
}
.footer a:hover {
  color: #b7ffd7;
}
.footer-bottom {`n  text-align: center;`nborder-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 0;
  color: #c1f2df;
}

/* ===== Responsive ===== */
/* ===== RESPONSIVE FIX PATCH ===== */

/* --- Hindari geser kanan di HP --- */
html, body {
  overflow-x: hidden;
}

/* --- Container aman di layar kecil --- */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
}

/* --- Navbar mobile --- */
@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    color: #0f172a;
  }

  .btn-cta {
    display: none;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #ffffffee;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 12px 0;
    z-index: 99;
    border-top: 1px solid #e5e7eb;
  }

  .nav-links.open {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }

  .nav-links a {
    display: block;
    padding: 14px 20px;
    text-align: center;
    border-radius: 0;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* --- Hero section responsif --- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-media img {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
  }
}

/* --- Layanan responsif --- */
@media (max-width: 992px) {
  .layanan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .layanan-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Paket responsif --- */
@media (max-width: 992px) {
  .paket-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}
@media (max-width: 480px) {
  .paket-body {
    padding: 24px 18px 40px;
  }
  .paket-header {
    padding-bottom: 16px;
  }
}

/* --- Testimoni responsif --- */
@media (max-width: 992px) {
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Footer responsif --- */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer ul {
    justify-content: center;
  }
}

/* --- Font size scaling --- */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }
  .section-title {
    font-size: 26px;
  }
}
.logo-footer .logo-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%; /* hapus kalau logo-nya bukan lingkaran */
  margin-right: 10px;
}

.nav-links a.active,
.nav-links a:hover {
  color: #00794d;
  font-weight: 600;
}



/* Footer bottom center fix */
.footer-bottom, .footer-bottom .container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 14px 0;
}

/* Footer bottom unified */
.footer-bottom {
  background: #fff;
  color: #0f172a;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 16px 0;
  width: 100%;
}
.footer-bottom .container {
  width: 100%;
  text-align: center;
  padding: 0;
}
/* === Footer Bottom Consistent === */
.footer-bottom {
  background: #fff;
  color: #0f172a;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 0;
  width: 100%;
}
.footer-bottom .container {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

/* === Footer Bottom Final Override (beranda only) === */
.footer-bottom {
  display: block !important;
  background: #fff !important;
  color: #0f172a !important;
  text-align: center !important;
  padding: 16px 0 !important;
  width: 100% !important;
}
.footer-bottom .container {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  text-align: center !important;
}
