/* ===============================
   RESPONSIVE DESIGN
   Keep this file from overriding hero or interactive-cards stack behavior.
================================= */

@media screen and (max-width: 1024px) {
  .about-us {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-block: var(--section-spacing-tablet);
  }

  .about-content,
  .about-image {
    max-width: min(760px, 100%);
    width: 100%;
  }

  .about-content {
    margin-bottom: 24px;
  }

  .about-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
    margin: 0 auto;
  }

  .contact-us,
  .contact-us-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-content,
  .contact-form-container {
    width: 100%;
    max-width: min(720px, 100%);
  }
}

@media screen and (max-width: 900px) {
  .featured-tool-heading {
    margin-bottom: 1.5rem;
  }

  .featured-tool-grid {
    grid-template-columns: 1fr;
  }

  .featured-tool-card {
    padding: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
  }

  .footer-links-group {
    flex-direction: column;
    gap: 1.25rem;
  }

  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .footer-meta {
    min-width: auto;
  }

  .footer-legal-nav {
    justify-content: flex-start;
  }
}

@media screen and (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  img,
  video,
  canvas,
  svg {
    max-width: 100%;
    height: auto;
  }

  .form-group input {
    font-size: 14px;
  }

  .about-us {
    padding-block: var(--mobile-section-spacing);
  }

  .contact-us,
  .contact-us-section {
    padding-top: var(--mobile-section-spacing);
    padding-bottom: var(--mobile-section-spacing);
  }

  .hero-wrapper {
    padding-bottom: 8px;
  }

  .site-footer {
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }
}

@media screen and (max-width: 640px) {
  .featured-tool-section {
    padding-block: 3.5rem;
  }

  .featured-tool-heading h2 {
    font-size: 1.85rem;
  }

  .featured-tool-intro,
  .featured-tool-card p {
    font-size: 0.98rem;
  }

  .featured-tool-actions .primary-cta {
    width: 100%;
    text-align: center;
  }
}
