/* =====================================================
   MOBILE PROFESSIONAL UI – SCAMDEKHO (FINAL CLEAN)
   ===================================================== */

/* ---------- DESKTOP DEFAULT ---------- */
.menu-toggle {
  display: none;
}

/* =====================================================
   MOBILE ONLY
   ===================================================== */
@media (max-width: 768px) {

  /* ---------------- GLOBAL ---------------- */
  body {
    overflow-x: hidden !important;
  }

  section {
    padding: 80px 16px !important;
  }

  h1 {
    font-size: 32px !important;
    line-height: 1.25 !important;
  }

  h2 { font-size: 26px !important; }
  p  { font-size: 15px !important; }

  /* ================= NAVBAR ================= */
  .navbar {
  height: 70px !important;        /* thoda breathing space */
  padding: 0 12px !important;     /* CarInfo-type tight spacing */
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.navbar a{
  margin-left: -10px;
}


  /* Logo wrapper */
  .navbar a {
    display: flex;
    align-items: center;
    height: 100%;
  }

  /* ✅ MOBILE LOGO SIZE (DESKTOP SAFE) */
  .navbar img.site-logo {
    height: 100px !important;
    width: 160px !important;
    object-fit: contain;
  }

  /* Hide desktop nav */
  .nav-links {
    display: none;
  }

  /* Hamburger */
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    margin: 5px 0;
    background: #0a2a52;
    border-radius: 3px;
  }

  /* Dropdown */
  .nav-links.active {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: #ffffff;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .nav-links.active a {
    padding: 16px;
    font-size: 16px;
    border-bottom: 1px solid #eef2f7;
  }

  .nav-links.active a:last-child {
    border-bottom: none;
  }

  /* ---------------- HERO ---------------- */
  .hero {
    padding: 110px 16px 60px !important;
    text-align: center !important;
  }

  .hero p {
    font-size: 15px !important;
    margin-top: 8px;
  }

  /* ---------------- SCAN CARD ---------------- */
  .scan-card {
    padding: 22px !important;
    border-radius: 18px !important;
  }

  .scan-tabs {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .tab {
    padding: 14px !important;
    font-size: 14px !important;
  }

  textarea.scan-input {
    min-height: 180px !important;
  }

  /* ---------------- FOOTER ---------------- */
  .footer {
    padding: 70px 20px 30px !important;
  }

  .footer-container {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  .footer-bottom {
    font-size: 13px !important;
  }
}

/* =====================================================
   EXTRA SMALL DEVICES
   ===================================================== */
@media (max-width: 420px) {
  h1 {
    font-size: 28px !important;
  }
}
@media (max-width: 768px) {
  .post-wrapper {
    margin: 90px auto 40px auto !important;
  }
}
