/* --- Responsive Overrides for SecureUPI Redesign --- */

@media (max-width: 1199px) {
  .Hero h1 {
    font-size: 3rem;
  }
  
  .Pricing-Card.popular {
    transform: none;
  }
}

@media (max-width: 991px) {
  section {
    padding: 60px 0;
  }
  
  .Hero {
    padding: 60px 0 40px 0;
  }
  
  .Hero h1 {
    font-size: 2.5rem;
    text-align: center;
  }
  
  .Hero p.hero-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .Hero-CTAs {
    display: flex;
    justify-content: center;
    gap: 12px;
  }
  
  .Hero-Reviews {
    justify-content: center;
    margin-top: 36px;
    margin-bottom: 40px;
  }
  
  .Dashboard-Preview {
    margin-top: 40px;
  }
  
  .Trust-Badges {
    margin-top: 40px;
    padding-top: 20px;
  }
  
  .Trust-Badge-Item {
    justify-content: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 20px;
  }
  
  .Trust-Badge-Item:last-child {
    border-bottom: none;
  }
  
  .navbar-collapse {
    display: none !important; /* Managed by Mobile Aside Navigation SidePanel */
  }
  
  .API-Doc-Brief {
    padding-right: 0;
    margin-bottom: 40px;
  }
  
  .FAQ-Girl-Container {
    margin-top: 40px;
    text-align: center;
  }
  
  .FAQ-Girl-Container img {
    max-width: 80%;
  }
  
  .Contact-Info-Card {
    margin-bottom: 30px;
  }
  
  footer {
    padding: 60px 0 20px 0;
    text-align: center;
  }
  
  .footer-desc {
    margin: 0 auto 30px auto;
  }
  
  .footer-title {
    margin-top: 30px;
    margin-bottom: 16px;
  }
  
  .footer-links {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .Hero h1 {
    font-size: 2.25rem;
  }
  
  .Hero-CTAs {
    flex-direction: column;
    align-items: stretch;
  }
  
  .Hero-CTAs a {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
  }
  
  .Section-Header h2 {
    font-size: 1.85rem;
  }
  
  .Feature-Card {
    padding: 24px;
  }
  
  .Pricing-Card {
    padding: 30px 20px;
  }
  
  .Security-Card {
    padding: 24px;
  }
  
  .Code-Container {
    padding: 16px;
  }
  
  .Contact-Form-Wrapper {
    padding: 24px;
  }
}

@media (max-width: 575px) {
  .Dashboard-Grid {
    grid-template-columns: 1fr;
  }
  
  .Floating-Badge {
    display: none; /* Hide to avoid overlapping on very small screens */
  }
}