/* ==========================================================================
   NOTARY PART — Responsive Stylesheet
   Breakpoints: 360px, 390px, 430px, 576px, 768px, 991px, 1024px, 1280px, 1440px, 1920px
   ========================================================================== */

/* Extra Small Devices (phones < 576px) */
@media (max-width: 575.98px) {
  html, body {
    overflow-x: hidden;
  }

  .section-padding {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .brand-logo {
    font-size: 1.35rem;
  }

  .btn {
    width: 100%;
    padding: 0.75rem 1.25rem;
  }

  .btn-group-responsive {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .hero-floating-card {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }

  .hero-image-wrapper {
    margin-top: 2rem;
  }

  .timeline-step {
    padding: 1.25rem 0.5rem;
  }

  .document-item-list {
    grid-template-columns: 1fr;
  }

  .category-filter-bar {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .category-filter-btn {
    display: inline-block;
    margin-right: 0.35rem;
    margin-bottom: 0.35rem;
  }

  .form-card {
    padding: 1.5rem 1.25rem;
  }

  .legal-notice-banner {
    padding: 1.25rem 1rem;
  }

  .top-announcement-bar {
    text-align: center;
    font-size: 0.75rem;
  }

  .top-announcement-bar .d-flex {
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* Specific 360px & 390px fine tuning */
@media (max-width: 390px) {
  h1, .h1 {
    font-size: 1.95rem;
  }

  h2, .h2 {
    font-size: 1.65rem;
  }

  .trust-item {
    font-size: 0.825rem;
  }

  .borough-pill {
    font-size: 0.8rem;
    padding: 0.45rem 0.85rem;
  }
}

/* Small Tablets and Large Phones (576px - 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-image-wrapper {
    margin-top: 2.5rem;
  }

  .document-item-list {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

/* Tablets (768px - 991.98px) */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--color-deep-navy);
    padding: 1.5rem 1rem;
    margin-top: 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(197, 164, 109, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  }

  .navbar-nav .nav-link {
    padding: 0.65rem 0.5rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .navbar-nav .nav-link.active::after {
    display: none;
  }

  .nav-cta-item {
    margin-top: 1rem;
  }

  .nav-cta-item .btn {
    width: 100%;
  }

  .timeline-step {
    text-align: left;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem 0;
  }

  .timeline-step-icon {
    margin: 0;
    flex-shrink: 0;
  }

  .spotlight-split-reverse {
    flex-direction: column-reverse;
  }
}

/* Desktops and Laptops (992px - 1199.98px) */
@media (min-width: 992px) {
  .btn-group-responsive {
    display: inline-flex;
    flex-direction: row;
    gap: 1rem;
  }

  .hero-content {
    padding-right: 2rem;
  }
}

/* Large Displays (1200px - 1439.98px) */
@media (min-width: 1200px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1200px;
  }
}

/* Ultra Wide Displays (1440px and 1920px) */
@media (min-width: 1440px) {
  .container-xxl, .container-xl, .container {
    max-width: 1320px;
  }

  .hero-section {
    padding-top: 6.5rem;
    padding-bottom: 7rem;
  }
}

@media (min-width: 1920px) {
  .container-xxl, .container {
    max-width: 1440px;
  }

  body {
    font-size: 17px;
  }
}
