/* Responsive Media Queries */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
  .hero-content {
    margin-top: 100px;
    padding-bottom: 50px;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .trust-strips-wrapper {
    margin-top: -50px;
  }
}

@media (max-width: 768px) {
  /* Top Bar Fixes */
  .top-bar {
    padding: 5px 0 !important;
  }
  .top-bar-container {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 15px;
  }
  .top-bar-left, .top-bar-right {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 15px;
  }
  .top-bar-left span, .top-bar-right span {
    margin-right: 0;
    font-size: 0.75rem; /* Slightly smaller for mobile */
  }
  .social-icons {
    margin-top: 0;
  }
  
  /* Header Nav Fixes */
  .logo-text {
    font-size: 1.05rem !important;
    white-space: nowrap;
  }
  .logo-tagline {
    font-size: 0.6rem !important;
  }
  .desktop-btn-get-in-touch {
    display: none !important;
  }
  .mobile-btn-get-in-touch {
    display: flex !important;
  }

  /* Hero Section Fixes for Mobile */
  .hero {
    height: auto !important; /* Allow it to grow based on content */
    min-height: 100vh;
    padding-top: 40px !important;
    padding-bottom: 80px !important;
    align-items: flex-start !important; /* Prevent centered top-overflow */
  }
  .hero-content {
    margin-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .hero-actions {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
  .hero-actions a {
    width: 100% !important;
    justify-content: center !important;
  }
  .stats-area {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1rem !important;
  }
  .stat-item {
    justify-content: flex-start;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
  }
  .stat-divider {
    width: 80px !important;
    height: 1px !important;
    margin: 0 auto;
  }
  
  /* Trust Strips Mobile Fixes */
  .dark-trust-strip {
    flex-direction: column !important;
  }
  .trusted-by-area {
    width: 100% !important;
    text-align: center;
    padding: 2rem 1rem !important;
  }
  .trusted-by-area > div:first-child {
    display: none !important; /* Hide the yellow triangle accent on mobile as it breaks stacked layout */
  }
  .light-features-strip {
    flex-direction: column !important;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
  }
  .feature-tick {
    flex-direction: column;
    gap: 0.5rem !important;
  }
  
  /* CTA & Download Section Mobile Fixes */
  #cta-download {
    flex-direction: column !important;
  }
  #cta-download > div {
    min-width: 100% !important;
    padding: 3rem 1.5rem !important;
    align-items: center !important;
    text-align: center !important;
  }
  #cta-download > div:nth-child(2) {
    min-height: 200px !important;
    padding: 0 !important;
  }
  #cta-download h2 {
    font-size: 1.8rem !important;
  }
  #cta-download p {
    margin: 0 auto 2rem auto !important;
  }
  #cta-download .cta-btn, #cta-download .cta-btn-outline {
    align-self: center !important;
  }

  /* Footer Mobile Fixes */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
    text-align: left;
  }
  .footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid ul li {
    text-align: left;
  }
  .footer-grid h4 {
    margin-left: 0;
    margin-right: 0;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
    align-items: flex-start !important;
  }

  /* Industries Section Mobile Fixes */
  #industries > div {
    flex-direction: column;
  }
  #industries > div > div:first-child {
    flex: auto !important;
    padding: 3rem 1.5rem !important;
  }
  #industries > div > div:last-child {
    flex-direction: column;
    width: 100%;
  }
  .industry-img-card {
    min-height: 200px;
    transform: none !important;
    border-right: none !important;
    border-bottom: 2px solid var(--color-primary);
    margin-left: 0 !important;
  }
  .industry-img-card > div:first-child {
    transform: none !important;
    left: 0 !important;
    right: 0 !important;
  }
  .industry-img-card > div:last-child {
    transform: none !important;
  }
  
  /* Trusted Clients Strip Mobile Fixes */
  #trusted-clients .container {
    flex-direction: column;
    text-align: center;
    gap: 1rem !important;
  }
  #trusted-clients > div > div:nth-child(3) {
    flex-wrap: wrap;
    justify-content: center !important;
  }
  .client-logo {
    margin: 10px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding-top: 30px !important;
    padding-bottom: 100px !important; /* Extra room for the button */
  }
  .hero h1 {
    font-size: 1.8rem;
  }
}
