/* =============================================
   MADINAH HOMEPAGE CSS — Peaceful Calm Theme
   ============================================= */

/* ===== VARIABLES ===== */
:root {
  --mdh-green: #166534;
  --mdh-green-light: #22c55e;
  --mdh-soft-green: #f0fdf4;
  --mdh-white: #ffffff;
  --mdh-gold: #ca8a04;
  --mdh-gray: #6b7280;
  --mdh-light-gray: #f9fafb;
}

html { font-size: 100% !important; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  color: #374151;
  background: var(--mdh-white);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

.ctn { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== UTILITIES ===== */
.text-green { color: var(--mdh-green); }
.text-gold-mdh { color: var(--mdh-gold); }

/* ===== NAVBAR ===== */
.navbar-mdh {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e5e7eb;
}
.navbar-mdh .ctn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav-brand-mdh {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15em;
  color: var(--mdh-green);
}
.nav-links-mdh { display: flex; align-items: center; gap: 28px; }
.nav-links-mdh a { font-weight: 500; color: var(--mdh-gray); transition: color 0.2s; font-size: 0.95em; }
.nav-links-mdh a:hover { color: var(--mdh-green); }
.nav-cta-mdh {
  background: var(--mdh-green) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88em;
  transition: all 0.3s;
}
.nav-cta-mdh:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 101, 52, 0.3);
}
.nav-toggle-mdh { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle-mdh svg { width: 24px; height: 24px; color: var(--mdh-gray); }

/* ===== HERO — Spacious & Calm ===== */
.hero-mdh {
  background: linear-gradient(180deg, var(--mdh-soft-green) 0%, var(--mdh-white) 100%);
  padding: 120px 20px 100px;
  text-align: center;
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.hero-soft-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(22, 101, 52, 0.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner-mdh { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hero-greeting {
  font-size: 1.2em;
  color: var(--mdh-green);
  margin-bottom: 16px;
  font-weight: 500;
}
.hero-title-mdh {
  font-family: 'DM Serif Display', serif;
  font-size: 3em;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #1f2937;
}
.hero-desc-mdh {
  font-size: 1.1em;
  color: var(--mdh-gray);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions-mdh { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-green-mdh {
  display: inline-block;
  background: var(--mdh-green);
  color: #fff;
  padding: 16px 36px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(22, 101, 52, 0.25);
}
.btn-green-mdh:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(22, 101, 52, 0.35);
}
.btn-ghost-mdh {
  display: inline-block;
  border: 2px solid #d1d5db;
  color: var(--mdh-gray);
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-ghost-mdh:hover {
  border-color: var(--mdh-green);
  color: var(--mdh-green);
}
.btn-large-mdh { padding: 18px 48px; font-size: 1.1em; }

/* ===== SECTIONS ===== */
.sec-title-mdh {
  font-family: 'DM Serif Display', serif;
  text-align: center;
  font-size: 2.2em;
  font-weight: 400;
  margin-bottom: 12px;
  color: #1f2937;
}
.sec-sub-mdh {
  text-align: center;
  color: var(--mdh-gray);
  max-width: 560px;
  margin: 0 auto 50px;
  font-size: 1em;
  line-height: 1.7;
}

/* ===== FEATURES — Large Icon + Text ===== */
.feat-section-mdh { padding: 100px 20px; background: var(--mdh-white); }
.feat-grid-mdh {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.feat-item-mdh {
  display: flex;
  gap: 20px;
  padding: 32px;
  border-radius: 16px;
  background: var(--mdh-soft-green);
  transition: all 0.3s;
}
.feat-item-mdh:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(22, 101, 52, 0.08);
}
.feat-icon-mdh {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--mdh-white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-item-mdh h3 {
  font-size: 1.05em;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1f2937;
}
.feat-item-mdh p {
  color: var(--mdh-gray);
  font-size: 0.9em;
  line-height: 1.6;
}

/* ===== TIMELINE — Horizontal Scroll ===== */
.timeline-section-mdh {
  padding: 100px 0;
  background: var(--mdh-light-gray);
}
.timeline-scroll-mdh {
  overflow-x: auto;
  padding: 20px;
  -webkit-overflow-scrolling: touch;
}
.timeline-scroll-mdh::-webkit-scrollbar { height: 4px; }
.timeline-scroll-mdh::-webkit-scrollbar-track { background: transparent; }
.timeline-scroll-mdh::-webkit-scrollbar-thumb { background: var(--mdh-green-light); border-radius: 2px; }
.timeline-track-mdh {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 40px;
  width: max-content;
}
.timeline-step-mdh {
  background: var(--mdh-white);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  min-width: 200px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
}
.timeline-step-mdh:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(22, 101, 52, 0.1);
  border-color: var(--mdh-green-light);
}
.step-num-mdh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--mdh-green);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85em;
  font-weight: 700;
  margin-bottom: 12px;
}
.step-icon-mdh { font-size: 2em; margin-bottom: 12px; }
.timeline-step-mdh h4 {
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1f2937;
}
.timeline-step-mdh p {
  font-size: 0.85em;
  color: var(--mdh-gray);
  line-height: 1.5;
}
.timeline-arrow-mdh {
  display: flex;
  align-items: center;
  padding-top: 60px;
  font-size: 1.5em;
  color: var(--mdh-green-light);
}

/* ===== PACKAGES — Clean Cards ===== */
.packages-section-mdh { padding: 100px 20px; background: var(--mdh-white); }
.pkg-grid-mdh {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.pkg-card-mdh {
  background: var(--mdh-white);
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
}
.pkg-card-mdh:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}
.pkg-featured-mdh {
  border-color: var(--mdh-green);
  box-shadow: 0 8px 30px rgba(22, 101, 52, 0.12);
}
.pkg-badge-mdh {
  display: inline-block;
  background: var(--mdh-green);
  color: #fff;
  padding: 4px 14px;
  border-radius: 8px;
  font-size: 0.75em;
  font-weight: 700;
  margin-bottom: 12px;
}
.pkg-header-mdh { margin-bottom: 20px; }
.pkg-label-mdh {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3em;
  color: #1f2937;
  display: block;
  margin-bottom: 8px;
}
.pkg-price-mdh {
  font-size: 2em;
  font-weight: 700;
  color: var(--mdh-green);
  margin-bottom: 4px;
}
.pkg-dur-mdh {
  font-size: 0.88em;
  color: var(--mdh-gray);
}
.pkg-list-mdh {
  list-style: none;
  margin-bottom: 24px;
}
.pkg-list-mdh li {
  padding: 8px 0;
  color: #4b5563;
  font-size: 0.9em;
  border-bottom: 1px solid #f3f4f6;
}
.pkg-list-mdh li:last-child { border-bottom: none; }
.pkg-cta-mdh {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
  background: var(--mdh-light-gray);
  color: var(--mdh-gray);
  transition: all 0.3s;
  border: 1px solid #e5e7eb;
}
.pkg-cta-mdh:hover {
  background: var(--mdh-green);
  color: #fff;
  border-color: var(--mdh-green);
}
.pkg-cta-green-mdh {
  background: var(--mdh-green);
  color: #fff;
  border-color: var(--mdh-green);
}
.pkg-cta-green-mdh:hover { background: #14532d; }

/* ===== TESTIMONIALS — Simple Quote Blocks ===== */
.testi-section-mdh {
  padding: 100px 20px;
  background: var(--mdh-soft-green);
}
.testi-grid-mdh {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.testi-quote-mdh {
  background: var(--mdh-white);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
}
.testi-quote-mdh:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(22, 101, 52, 0.08);
}
.quote-mark-mdh {
  font-family: 'DM Serif Display', serif;
  font-size: 4em;
  color: var(--mdh-green-light);
  line-height: 1;
  margin-bottom: -10px;
  opacity: 0.5;
}
.testi-quote-mdh p {
  font-size: 0.95em;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.quote-author-mdh strong {
  display: block;
  color: #1f2937;
  font-size: 0.95em;
}
.quote-author-mdh span {
  color: var(--mdh-gray);
  font-size: 0.85em;
}

/* ===== CTA — Soft Green ===== */
.cta-section-mdh {
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--mdh-green) 0%, #14532d 100%);
  text-align: center;
  color: #fff;
}
.cta-section-mdh h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2em;
  font-weight: 400;
  color: #fff;
  margin-bottom: 16px;
}
.cta-section-mdh p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  font-size: 1.05em;
}

/* ===== FOOTER ===== */
.footer-mdh {
  background: #1f2937;
  color: #9ca3af;
  padding: 50px 0 25px;
}
.footer-grid-mdh {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
}
.footer-mdh h4 { color: #fff; font-size: 1em; margin-bottom: 14px; }
.footer-mdh p, .footer-mdh li { font-size: 0.88em; line-height: 1.8; }
.footer-mdh ul { list-style: none; }
.footer-mdh a { color: #9ca3af; transition: color 0.2s; }
.footer-mdh a:hover { color: var(--mdh-green-light); }
.footer-bottom-mdh {
  border-top: 1px solid #374151;
  margin-top: 28px;
  padding-top: 18px;
  text-align: center;
  color: #6b7280;
  font-size: 0.82em;
}

/* ===== WA FLOAT ===== */
.wa-float-mdh {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
  animation: waBMdh 2s infinite;
}
.wa-float-mdh:hover {
  transform: translateY(-4px) scale(1.05);
  animation: none;
}
.wa-float-mdh svg { width: 30px; height: 30px; }
@keyframes waBMdh { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 921px) {
  .navbar-mdh .nav-toggle-mdh { display: block !important; }
  .navbar-mdh .nav-links-mdh {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    gap: 16px;
    z-index: 9999;
  }
  .navbar-mdh .nav-links-mdh.active { display: flex !important; }
  .navbar-mdh .nav-cta-mdh { width: 100%; text-align: center; }
  .feat-grid-mdh { grid-template-columns: 1fr; }
  .pkg-grid-mdh { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .testi-grid-mdh { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .hero-mdh { padding: 80px 20px 60px; min-height: auto; }
  .hero-title-mdh { font-size: 2.2em !important; }
  .sec-title-mdh { font-size: 1.6em !important; }
  .timeline-step-mdh { min-width: 170px; padding: 24px 20px; }
}

@media (max-width: 480px) {
  .hero-title-mdh { font-size: 1.8em !important; }
  .hero-actions-mdh { flex-direction: column; align-items: center; }
  .feat-item-mdh { flex-direction: column; text-align: center; }
  .feat-icon-mdh { margin: 0 auto; }
  .footer-grid-mdh { grid-template-columns: 1fr !important; gap: 24px !important; }
  .nav-brand-mdh { font-size: 1em !important; }
  .sec-title-mdh { font-size: 1.4em !important; }
  .wa-float-mdh { bottom: 16px !important; right: 16px !important; width: 54px !important; height: 54px !important; }
}

/* ===== GALLERY SECTION ===== */
.gallery-section-mdh{padding:80px 0;background:var(--mdh-light-gray)}
.gallery-grid-mdh{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:24px}
.gallery-card-mdh{border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.08);transition:transform .3s,box-shadow .3s}
.gallery-card-mdh:hover{transform:translateY(-6px);box-shadow:0 12px 32px rgba(22,101,52,.12)}
.gallery-card-mdh img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.gallery-card-body-mdh{padding:14px 16px}
.gallery-card-body-mdh h4{font-size:.95em;font-weight:600;margin-bottom:4px;color:var(--mdh-green)}
.gallery-card-body-mdh p{font-size:.82em;color:var(--mdh-gray);line-height:1.5}
@media(max-width:768px){.gallery-grid-mdh{grid-template-columns:1fr}}

/* ===== VIDEO SECTION ===== */
.video-section-mdh{padding:80px 0;background:#fff}
.video-grid-mdh{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:24px}
.video-card-mdh{border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.08);transition:transform .3s,box-shadow .3s}
.video-card-mdh:hover{transform:translateY(-6px);box-shadow:0 12px 32px rgba(22,101,52,.12)}
.video-thumb-mdh{position:relative;aspect-ratio:16/9;overflow:hidden}
.video-thumb-mdh img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.video-card-mdh:hover .video-thumb-mdh img{transform:scale(1.05)}
.video-play-mdh{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:48px;height:48px;background:rgba(22,101,52,.8);border-radius:50%;display:flex;align-items:center;justify-content:center;transition:background .3s}
.video-play-mdh svg{width:20px;height:20px;fill:#fff;margin-left:3px}
.video-card-mdh:hover .video-play-mdh{background:var(--mdh-green)}
.video-badge-mdh{position:absolute;top:10px;right:10px;background:#ff0000;color:#fff;font-size:.7em;font-weight:600;padding:3px 8px;border-radius:4px}
.video-card-body-mdh{padding:14px 16px}
.video-card-body-mdh h4{font-size:.95em;font-weight:600;margin-bottom:4px;color:var(--mdh-green)}
.video-card-body-mdh .video-meta-mdh{font-size:.78em;color:var(--mdh-gray)}
@media(max-width:768px){.video-grid-mdh{grid-template-columns:1fr}}

