/* ===================================================
   CHI KI PRANA — RESPONSIVE CSS
   Breakpoints: 1024px | 768px | 480px
   =================================================== */

/* ===== TABLET (≤1024px) ===== */
@media (max-width: 1024px) {

  /* Blog: 2 columns */
  .blog-grid     { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  /* Why Choose: 2x2 grid */
  .why-cols  { grid-template-columns: repeat(2, 1fr); }
  .why-inner { gap: 40px; }
  .why-title { flex: 0 0 100%; text-align: center; }
  .why-title small { margin: 12px auto 0; }

  /* Footer: 2-column */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* About: stack, image no longer bled full-height */
  .about-inner  { flex-direction: column; min-height: unset; }
  .about-img    { position: relative; inset: unset; width: 100%; height: 380px; }
  .about-text   { margin-left: 0; padding: 50px 6%; }
  .about-badge  { left: 16px; bottom: 16px; }

  /* Services slider: 2 per view on tablet */
  .services-grid { grid-auto-columns: calc((100% - 28px) / 2); }
  .slider-arrow.prev { left: 4px; }
  .slider-arrow.next { right: 4px; }

  /* Testimonials */
  .testimonials-viewport { padding: 10px 8% 30px; }
  .testimonial-card { padding: 40px 32px; }

  /* Hero */
  .hero-text { flex: 0 0 60%; }
	
	
.pricing-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px;
  }

  .pricing-card-v2 {
    height: 180px;
    min-height: 180px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .pricing-card-v2 h3 {
    font-size: 11.5px;
    letter-spacing: 0.8px;
  }

  .pricing-card-v2-price {
    font-size: 28px;
  }

  .split-price {
    font-size: 23px;
  }

  .pricing-card-v2 > p {
    font-size: 12px;
  }
}

/* ===== MOBILE (≤768px) ===== */
@media (max-width: 768px) {

  /* ---- NAV ---- */
  /* NOTE: position:absolute (not fixed) here is deliberate. #mainNav is
     animated by scroll-animations.js (Motion sets an inline transform
     on it for the hide/show-on-scroll effect), and per the CSS spec any
     transformed ancestor becomes the containing block for its
     position:fixed descendants. That silently breaks a fixed dropdown's
     placement. Anchoring to #mainNav with absolute + top:100% sidesteps
     the problem entirely and still docks it right under the navbar. */
  .nav-links {
    display: none !important; position: absolute !important;
    top: 100% !important; left: 0 !important; right: 0 !important;
    background: #ffffff !important;
    flex-direction: column; align-items: stretch !important;
    padding: 16px 0 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    gap: 0;
    /* Slide-in animation */
    transform: translateY(-12px); opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
    z-index: 1001 !important;
  }
  .nav-links.open {
    display: flex !important;
    transform: translateY(0); opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    padding: 14px 24px !important;
    border-bottom: 1px solid var(--purple-bg);
    width: 100% !important; font-size: 14px;
    box-sizing: border-box;
    display: flex !important;
    justify-content: flex-start;
    text-align: left;
  }
  .btn-nav { margin: 12px 24px 0; text-align: center; }
  .hamburger { display: flex; }

  /* ---- NAV: dropdown becomes a tap-to-expand accordion ---- */
  .menu-item-has-children { width: 100%; }
  .menu-item-has-children > a {
    width: 100% !important; justify-content: space-between !important;
    box-sizing: border-box;
  }
  .menu-item-has-children > a::after { margin-top: 0; flex-shrink: 0; }
  .sub-menu {
    position: static !important; margin-top: 0;
    max-height: 0; overflow: hidden;
    opacity: 1; visibility: visible; transform: none;
    background: var(--purple-bg) !important;
    border: none; border-radius: 0; box-shadow: none;
    padding: 0;
    width: 100%;
    transition: max-height 0.35s var(--transition-smooth);
  }
  .menu-item-has-children.submenu-open > .sub-menu { max-height: 480px; padding: 6px 0; }
  .sub-menu a { padding: 12px 24px 12px 40px !important; border-bottom: none; font-size: 13.5px; }

  /* ---- HERO ---- */
  .hero {
    /* Keep bg image full cover on mobile */
    min-height: 100svh;
  }
  .hero-parallax-bg {
    /* Disable parallax transform on mobile for cleaner UX */
    position: absolute;
    inset: 0;
    background: url('../images/hero-banner-img.png') center 30% / cover no-repeat;
    transform: none !important;
  }
  .hero-overlay {
    background: linear-gradient(
      160deg,
      rgba(248,240,255,0.97) 0%,
      rgba(238,225,255,0.93) 50%,
      rgba(210,180,250,0.70) 100%
    );
  }
  .hero-inner {
    flex-direction: column; text-align: center;
    padding: 40px 6% 100px; gap: 0;
  }
  .hero-text { flex: unset; max-width: 100%; width: 100%; }
  .hero-title { font-size: clamp(36px, 9vw, 56px); }
  .hero-sub   { font-size: 17px; }
  .hero-btns  { justify-content: center; }
  .hero-divider { justify-content: center; }
  .hero-img { display: none; }

  /* ---- SECTIONS ---- */
  section { padding: 70px 5%; }
  .section-title { font-size: clamp(22px, 5.5vw, 36px); margin-bottom: 40px; }

  /* ---- SERVICES SLIDER ---- */
  .services-grid { grid-auto-columns: 88%; gap: 16px; }
  .services-viewport { padding: 6px 4px 22px; }
  .slider-arrow { width: 40px; height: 40px; }
  .slider-arrow.prev { left: 2px; }
  .slider-arrow.next { right: 2px; }

  /* ---- ABOUT ---- */
  .about-inner { gap: 0; }
  .about-img   { height: 300px; }
  .about-text  { padding: 40px 6%; }
  .about-badge { left: 10px; bottom: 10px; padding: 14px 18px; }
  .about-badge .num { font-size: 30px; }
  .about-text h2 { font-size: clamp(22px, 5vw, 36px); }

  /* ---- TESTIMONIALS ---- */
  .testimonials-viewport { padding: 10px 4% 26px; }
  .testimonial-card { padding: 34px 22px; opacity: 1; transform: none; }
  .testimonial-text { font-size: 18px; }
  .testimonials .slider-arrow { display: none; }

  /* ---- WHY ---- */
  .why { padding: 60px 5%; }
  .why-inner { flex-direction: column; gap: 32px; }
  .why-title { font-size: clamp(22px, 5vw, 30px); }
  .why-cols  { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  /* ---- BLOG ---- */
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }

  /* ---- CTA ---- */
  .cta-banner { padding: 90px 6%; }
  .cta-banner-parallax-bg {
    transform: none !important;
    top: 0; height: 100%;
  }
  .cta-title { font-size: clamp(24px, 7vw, 42px); }
  .cta-sub   { font-size: 15px; }

  /* ---- FOOTER ---- */
  .footer-top    { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
	
	
.pricing-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .pricing-card-v2 {
    width: 100%;
    height: auto;
    min-height: 180px;

    padding: 42px 24px 18px;
  }

  .pricing-card-v2 h3 {
    font-size: 12.5px;
  }

  .pricing-card-v2-price {
    font-size: 30px;
  }

  .pricing-card-v2 > p {
    font-size: 12.5px;
  }

  .pricing-card-v2-split {
    max-width: 280px;
  }
}

/* ===== SMALL MOBILE (≤480px) ===== */
@media (max-width: 480px) {

  section { padding: 56px 5%; }

  /* Nav */
  nav { height: 64px; }
  .nav-links { top: 64px; }
  .logo-icon { height: 48px; }

  /* Hero */
  .hero { min-height: 100svh; padding-top: 64px; }
  .hero-title { font-size: clamp(32px, 10vw, 48px); }
  .hero-sub   { font-size: 16px; }
  .hero-btns  { flex-direction: column; align-items: center; gap: 12px; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 260px; text-align: center; }

  /* Why */
  .why-cols { grid-template-columns: 1fr; gap: 28px; }

  /* Section title */
  .section-eyebrow { font-size: 11px; letter-spacing: 3px; }
  .section-title   { font-size: clamp(20px, 6vw, 32px); }

  /* CTA */
  .cta-title { font-size: clamp(22px, 8vw, 38px); }
  .cta-sub   { font-size: 14px; }

  /* About badge */
  .about-badge { left: 6px; bottom: 6px; padding: 12px 14px; }
  .about-badge .num { font-size: 26px; }

  /* Footer */
  .footer-top { gap: 24px; }
  footer      { padding: 56px 5% 24px; }
	
	 .pricing-cards-grid {
    gap: 30px;
  }

  .pricing-card-v2 {
    min-height: 175px;
    padding: 40px 18px 16px;
  }

  .pricing-card-v2-icon {
    width: 44px;
    height: 44px;
    top: -22px;
  }

  .pricing-card-v2-icon svg {
    width: 22px;
    height: 22px;
  }

  .pricing-card-v2 h3 {
    font-size: 11.5px;
    letter-spacing: 0.7px;
  }

  .pricing-card-v2-price {
    font-size: 28px;
  }

  .split-label {
    font-size: 10px;
  }

  .split-price {
    font-size: 23px;
  }

  .pricing-card-v2 > p {
    font-size: 12px;
    line-height: 1.4;
  }
}
