/* ==========================================================================
   Responsive Adaptations & Mobile Media Queries — website.prasadkamble.com
   ========================================================================== */

/* Desktop safeguard */
@media (min-width: 993px) {
  .nav-mobile,
  .nav-mobile.open {
    display: none !important;
  }

  .mobile-menu-btn {
    display: none !important;
  }
}

/* Tablet & Smaller Laptops (<= 992px) */
@media (max-width: 992px) {
  .nav-desktop {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    width: 42px;
    height: 42px;
    cursor: pointer;
    flex-shrink: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .hero-visual {
    order: -1;
    max-width: 540px;
    margin: 0 auto;
  }

  .page-header-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-profile-grid {
    grid-template-columns: 1fr;
  }

  .about-photo-wrapper {
    position: static;
    max-width: 320px;
    margin-bottom: var(--space-6);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .section {
    padding-top: var(--space-8);
    padding-bottom: var(--space-10);
  }

  .hero {
    padding-top: var(--space-6);
    padding-bottom: var(--space-10);
  }

  .hero-content h1 {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  .hero-lead {
    font-size: var(--font-size-base);
    line-height: 1.55;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-floating-badge {
    position: static;
    margin-top: var(--space-4);
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-wrapper {
    padding: var(--space-5);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
  }

  .article-header h1 {
    font-size: var(--font-size-2xl);
  }
}

/* Mobile Phones (<= 640px) */
@media (max-width: 640px) {
  /* Give logo and hamburger menu full breathing room */
  .header-actions .btn-sm {
    display: none;
  }

  .header-container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .logo-img {
    height: 38px;
  }

  .logo-title {
    font-size: 1rem;
  }

  .logo-sub {
    font-size: 0.65rem;
  }
}

/* Small Handhelds (<= 480px) */
@media (max-width: 480px) {
  .hero-trust-bar {
    flex-direction: column;
    gap: var(--space-2);
  }

  .fresher-offer-card {
    padding: var(--space-5);
  }

  .price-tag-fixed {
    font-size: 1.85rem;
  }
}
