/* ==========================================================================
   FOXC GROUP — Responsive Breakpoints & Mobile Optimization
   ========================================================================== */

/* Large Desktops & 4K (1440px +) */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
}

/* Laptops & Standard Desktop (992px to 1439px) */
@media (max-width: 1199.98px) {
  .division-content {
    padding: 40px 30px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* Tablets (768px to 991.98px) */
@media (max-width: 991.98px) {
  :root {
    --header-height: 80px;
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

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

  .portal-container {
    margin-top: 50px;
  }

  .portal-img-wrap {
    max-width: 380px;
  }

  .division-block {
    margin-bottom: 50px;
  }

  .division-img-wrap {
    min-height: 350px;
  }

  .stat-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px 15px;
  }

  .stat-card:last-child {
    border-bottom: none;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .navbar-collapse {
    background: rgba(7, 7, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: 25px;
    border-radius: var(--border-radius-md);
    margin-top: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
  }

  .nav-link-custom {
    padding: 12px 0 !important;
  }
}

/* Mobile Devices (max-width: 767.98px) */
@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .division-content {
    padding: 30px 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .cta-box {
    padding: 50px 20px;
  }

  .cta-title {
    font-size: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Extra Small Phones (max-width: 480px) */
@media (max-width: 480px) {
  .btn-gold, .btn-outline-gold {
    width: 100%;
    justify-content: center;
  }

  .hero-title {
    font-size: 2.2rem;
  }
}
