/* ==========================================================================
   NOVEX BUSINESS CONSULTANT - RESPONSIVE STYLESHEET
   Mobile-First & Comprehensive Multi-Breakpoint Optimization
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. LAPTOP & SMALL DESKTOP (Max width: 1200px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1200px) {
  :root {
    --container-max-width: 960px;
  }

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

  .about-grid,
  .why-us-grid,
  .milestones-grid,
  .mission-vision-grid {
    gap: 40px;
  }

  .footer-top {
    grid-template-columns: 1.2fr 0.8fr 1fr 1.1fr;
    gap: 30px;
  }
}

/* --------------------------------------------------------------------------
   2. TABLET LANDSCAPE & PORTRAIT (Max width: 992px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 992px) {
  :root {
    --header-height: 76px;
  }

  .section-title {
    font-size: 2.1rem;
  }

  /* Header & Mobile Navigation Menu Drawer */
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background-color: var(--color-primary-navy);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 32px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition-normal);
    z-index: 1001;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 24px;
  }

  .nav-link {
    font-size: 1.15rem;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-link::after {
    display: none;
  }

  .btn-header {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  /* Hero Section */
  .hero-section {
    min-height: auto;
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 60px;
  }

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

  .hero-stats-bar {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 24px;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 0;
    padding-bottom: 14px;
  }

  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* About Grid Stacking */
  .about-grid,
  .why-us-grid,
  .milestones-grid,
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .about-text-col {
    padding-right: 0;
  }

  .about-image-card img {
    height: 360px;
  }

  /* Services Grid */
  .services-grid,
  .sectors-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Why Choose Us Accordion Stack */
  .accordion-container {
    flex-direction: column;
    min-height: auto;
  }

  .accordion-item.collapsed {
    padding: 16px 20px;
  }

  .accordion-item.collapsed .acc-vertical-text {
    writing-mode: horizontal-tb;
    transform: none;
  }

  /* Contact Page Grid */
  .contact-box-container {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .cta-banner-card {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 44px 32px;
  }

  .cta-banner-text {
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   3. MOBILE DEVICES (Max width: 767px - 320px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 767px) {
  .container {
    padding: 0 18px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-desc {
    font-size: 0.98rem;
  }

  /* Hero Section Mobile */
  .hero-title {
    font-size: 2.05rem;
    line-height: 1.2;
  }

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

  /* Cards Single Column Stacking */
  .services-grid,
  .sectors-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .sector-card {
    height: 320px;
  }

  .about-image-card img {
    height: 280px;
  }

  /* Page Banner Header */
  .page-banner-title {
    font-size: 2.1rem;
  }

  /* Form Padding */
  .contact-form-side {
    padding: 32px 20px;
  }

  .contact-info-side {
    padding: 32px 20px;
  }

  /* Footer Stacking */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

/* --------------------------------------------------------------------------
   4. ULTRA-SMALL MOBILE DEVICES (Max width: 375px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 375px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .site-logo img {
    height: 34px;
  }

  .btn-primary,
  .btn-navy,
  .btn-white {
    padding: 12px 22px;
    font-size: 0.88rem;
    width: 100%;
  }

  .badge-pill {
    font-size: 0.72rem;
    padding: 5px 12px;
  }
}
