/* Responsive */
@media (max-width: 768px) {
   .top-banner {
    font-size: 0.8rem;
  }

  .top-banner .container {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }
  .navbar {
    top: 60px;
  }

  body {
    padding-top: 120px;
  } 
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  } 
  .section-title {
    font-size: 1.8rem;
  }
  .service-card img {
    height: 180px;
  }
  .industry-image {
    margin-top: 30px;
  }
  .different-card img {
    height: 180px;
  }
  .different-row {
    flex-direction: column;
    text-align: center;
  }

  .different-img img {
    width: 100%;
    height: 200px;
  }
  .cta-title {
    font-size: 1.9rem;
  }

  .cta-box {
    padding: 50px 25px;
  }
   .product-hero {
    height: 80vh;
    padding: 40px 20px;
  }

  .flow-row {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }
  .footer {
    text-align: center;
  }

  .footer-social {
    margin-bottom: 20px;
  }
  .case-hero {
    padding: 110px 0;
  }

  .case-hero h1 {
    font-size: 2rem;
  }

  .impact-card h3 {
    font-size: 2rem;
  }
  .careers-hero h1 {
    font-size: 2.3rem;
  }

  .careers-section {
    padding: 70px 0;
  }
  .xam-steps {
    gap: 16px;
  }

  .step-card {
    width: 100%;
    max-width: 360px;
  }
   .step-connector {
    display: none;
  }
  .split {
  flex-direction: column !important;
 }
 .hero-flex{
  flex-direction:column !important;
 }
  .xam-text{
    flex: 0;
  }
  .visual{
    flex:0;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .why-xam-cards {
    flex-direction: column;
    gap: 50px;
  }
  .feature-card {
    flex: 0 0 100%;
  }
}

@media (max-width: 992px) {

  /* Remove extra outer spacing */
  .navbar {
    padding-bottom: 6px;
  }

  .navbar-collapse {
    border-radius: 10px;
    margin-top: 4px;        /* was 15px – this caused the gap */
    padding: 10px 14px;     /* reduced padding */
  }

  /* Reduce vertical spacing between nav items */
  .navbar-nav {
    gap: 4px !important;
  }

  .navbar-nav .nav-link {
    padding: 4px 0;
    font-size: 0.95rem;
  }

  /* Dropdown inside mobile menu */
  .dropdown-menu {
    margin-top: 2px;
    padding: 2px 0;
    background: transparent;
    box-shadow: none;
    display: none;
  }

  .dropdown-item {
    padding: 5px 14px;
    font-size: 0.9rem;
  }
   .product-hero h1 {
    font-size: 2.5rem;
  }

  .product-section h2 {
    font-size: 2rem;
  }

  .product-img-lg {
    max-width: 100%;
  }
  .case-hero h1 {
    font-size: 2.4rem;
  }

  .case-section {
    padding: 70px 0;
  }

  .cta-box {
    padding: 40px 25px;
  }
  .hero-grid {
    flex-direction: column;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .feature-row {
    flex-direction: column;
  }

  .feature-row.reverse {
    flex-direction: column;
  }
}


