/* ==========================================================================
   RD IT & Software Engineering — Mobile-First Responsive Rules (responsive.css)
   Breakpoints: 480px (large phones), 768px (tablets), 1024px (laptops), 1200px+ (desktops)
   ========================================================================== */

/* Small mobile adjustments (< 480px) */
@media (max-width: 479px) {
  .btn {
    width: 100%;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .glass-card,
  .form-card,
  .legal-card {
    padding: 22px;
  }
}

/* Tablet & Large Phone (>= 640px) */
@media (min-width: 640px) {
  .container {
    padding-inline: 28px;
  }

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

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

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

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

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

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Tablet Landscape & Laptop (>= 768px) */
@media (min-width: 768px) {
  .section {
    padding-block: 96px;
  }

  .floating-pill {
    display: inline-flex;
  }

  .cta-banner {
    padding: 64px 48px;
  }
}

/* Desktop & Laptop (>= 1024px) */
@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-toggle,
  .mobile-drawer {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 52px;
  }

  .split-panel {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

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

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

  .contact-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}
