/* For Google Chrome (125% zoom level) */
@media screen and (-webkit-min-device-pixel-ratio: 1.25),
  screen and (min-resolution: 120dpi) {
}
@media (max-width: 1199.98px) {
  .hero-info-item {
    justify-content: flex-start;
  }
  .custom-dropdown-menu {
    position: static;
    transform: none !important;
    width: 100%;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 10px 0;
    background: transparent;
    border: none;
  }
  .dropdown-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .dropdown-grid-item:hover {
    transform: none;
  }
  .navbar-dark .navbar-toggler {
    display: flex;
  }
  .offcanvas-header {
    background: #11141a !important;
    border-bottom: 1px solid #8080803d;
  }
}

@media (max-width: 991.98px) {
  .bleed-img-box {
    min-height: 380px; /* Brings height balance back down gracefully when rows stack */
    height: 380px;
  }
.row.g-4 {
    margin: 0 !important;
    gap: 0 !important;
}

.row.mb-5 {
    margin-bottom: 0 !important;
}
  .img-box-content.about-us-img {
    display: none;
  }
  .bleed-content-box {
    padding: 40px 24px !important; /* Drops desktop tracking offsets on smaller devices */
    max-width: 100%;
  }

  .edge-bleed-section .main-heading {
    font-size: 2rem;
  }
  .sec-07-cta {
    padding: 50px 0;
    text-align: center;
  }

  .sec-07-cta .cta-heading {
    font-size: 1.85rem;
  }

  .cta-btn-group {
    justify-content: center !important; /* Forces buttons dead center on devices */
    margin-top: 10px;
  }
  .testimonials {
    padding: 50px 0;
  }
  .testimonials .main-heading {
    font-size: 2rem;
    margin-bottom: 0;
  }
  .testimonial-card {
    padding: 30px 25px;
  }
  .contact-upper-content {
    padding: 0;
    background: #ffffff; /* Strip out gradients transparent filters on mobile rows stack */
  }

  .sec-08-contact .main-heading {
    font-size: 2rem;
  }

  .floating-contact-card {
    padding: 30px 20px;
    margin-top: 20px;
  }

  .contact-map-background-canvas {
    margin-top: 0; /* Clear layout tracking shift constraints on mobile screens */
  }
  .footer {
    padding: 60px 0 30px 0;
  }

  .footer-links-block {
    padding-left: 0 !important;
  }

  .footer-contact-badge-bar {
    margin-top: 30px;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 12px;
  }

  .badge-bar-divider {
    display: none; /* Strip internal straight bar divider layout markers on stacked variants */
  }
  .training-grid-wrapper {
    grid-template-columns: 1fr; /* Stacks image top, content bottom */
  }

  .training-left-flush img {
    height: 400px; /* Gives the image a nice presentation block layout on mobile */
  }

  .training-right-content {
    padding: 40px 20px 0 20px; /* Standard margins when stacked */
  }

  .content-inner-box {
    max-width: 100%;
  }
  .faq-sticky-sidebar {
    position: static; /* Disables sticky attachment on mobile since sections wrap under each other */
    margin-bottom: 50px;
  }

  .faq-static-card {
    padding: 20px; /* Shaved inline padding for compact devices */
  }
  .contact-form-section {
    padding: 50px 0;
  }

  .contact-card-wrapper {
    padding: 30px 20px;
  }

  .form-main-card .form-heading {
    font-size: 1.85rem;
  }
  .service-sec-02-content {
    margin-top: 20px;
  }

  section.service-sec-02 .row {
    flex-direction: column-reverse;
  }

  .mission-content {
    margin-top: 20px;
  }

  section.sec-02.service-sec-03 .row {
    margin-bottom: 20px !important;
  }

  section.faqs {
  }

  .contact-main {
    padding: 0;
  }
}

@media (max-width: 767.98px) {
  .footer-bottom-row {
    flex-direction: column;
    gap: 12px;
    text-align: center !important;
  }

  .footer-bottom-row .bottom-link-item {
    text-align: center !important;
    width: 100%;
  }
  .check-main {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-bottom-main {
    padding: 30px 0;
  }

  /* Auto-aligns items inside grid columns cleanly when layout wraps on small viewports */
  .hero-contact-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px !important;
  }

  .hero-info-item {
    min-width: 100%;
  }
}
@media (max-width: 480px) {
  .cta-btn-group .btn {
    width: 100%; /* Spans full horizontal layout stretch comfortably on tiny mobile viewports */
    justify-content: center;
  }
  .hero-contact-row {
    grid-template-columns: 1fr; /* Stacks completely into a single clean column on extra tiny mobile frames */
    gap: 20px !important;
  }
}
