/* ===================================================================
   SVA GROUP GLOBAL - RESPONSIVE STYLESHEET
   Mobile, Tablet, and Desktop Breakpoint Optimizations
   =================================================================== */

/* ── Tablet Large (≤1200px) ────────────────────────────────────────── */
@media (max-width: 1200px) {
  .sva-mega-menu {
    width: 960px;
    padding: 24px 20px;
  }
  
  .mega-grid {
    gap: 16px;
  }
}

/* ── Tablet / Small Desktop (≤991px) ──────────────────────────────── */
@media (max-width: 991.98px) {
  .sva-nav-list {
    display: none;
  }
  
  .sva-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .sva-header {
    background-color: rgba(7, 27, 48, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  
  .sva-navbar {
    padding: 12px 0;
  }
  
  .sva-brand-logo {
    height: 44px;
  }
  
  .hero-container {
    padding-top: 130px;
    padding-bottom: 90px;
  }
  
  .sva-stats-section {
    padding: 30px 0;
  }
  
  .sva-stats-bar {
    margin-top: 0;
    margin-bottom: 0;
  }
  
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--sva-border-grey);
    padding: 16px 8px;
  }
  
  .stat-item:last-child {
    border-bottom: none;
  }
  
  .hero-controls {
    display: none;
  }
  
  .sva-page-hero {
    padding: 130px 0 60px;
  }
  
  .footer-col-title {
    margin-top: 24px;
  }
  
  .footer-bottom-links {
    justify-content: flex-start;
    margin-top: 14px;
  }

  /* Sector cards: reduce height on tablet */
  .sector-card {
    height: 240px;
  }

  /* Service cards: ensure image wrap scales */
  .service-card-img-wrap {
    height: 200px;
  }

  /* Section title: prevent overflow on tablet */
  .section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  }

  /* Leader card: reduce image height on tablet */
  .leader-img-wrap {
    height: 280px;
  }

  /* Project card: reduce height on tablet */
  .project-card {
    height: 300px;
  }
}

/* ── Mobile (≤767px) ───────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
  }
  
  .hero-btn-group {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-btn-group .btn {
    width: 100%;
    text-align: center;
  }
  
  .project-filters {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .project-filter-btn {
    font-size: 0.8rem;
    padding: 6px 14px;
  }
  
  .contact-form-wrap {
    padding: 26px 20px;
  }
  
  .contact-info-card {
    padding: 30px 20px;
  }
  
  .leader-img-wrap {
    height: 320px;
  }

  /* Leader card: full width on mobile, centered */
  .leader-card {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .floating-actions {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-float-btn {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
  
  .back-to-top-btn {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  /* Section titles on mobile */
  .section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  /* Sector cards: compact on mobile */
  .sector-card {
    height: 220px;
  }

  /* Service card image: smaller on mobile */
  .service-card-img-wrap {
    height: 180px;
  }

  /* Project card: comfortable height on mobile */
  .project-card {
    height: 280px;
    margin-bottom: 20px;
  }

  /* Page hero: reduce padding on mobile */
  .sva-page-hero {
    padding: 110px 0 50px;
  }

  /* Section desc: comfortable reading on mobile */
  .section-desc {
    font-size: 1rem;
  }

  /* Stats bar: smaller numbers on mobile */
  .stat-num {
    font-size: 2rem;
  }
}

/* ── Small Mobile (≤575px) ─────────────────────────────────────────── */
@media (max-width: 575.98px) {
  .sva-brand-name {
    font-size: 1.15rem;
  }
  
  .sva-brand-tag {
    font-size: 0.55rem;
    letter-spacing: 1.5px;
  }
  
  .sva-brand-logo {
    height: 38px;
  }
  
  .section-tag {
    font-size: 0.78rem;
  }

  /* Hero: even smaller on small phones */
  .hero-title {
    font-size: 1.9rem;
  }

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

  /* Sector card: slightly taller for readability */
  .sector-card {
    height: 200px;
  }

  /* Project card adjustments */
  .project-card {
    height: 260px;
  }

  /* Project filter buttons: wrap and center */
  .project-filters {
    gap: 6px;
  }

  .project-filter-btn {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  /* Leader image: smaller on tiny screens */
  .leader-img-wrap {
    height: 260px;
  }

  /* Footer: compact spacing */
  .footer-col-title {
    margin-top: 20px;
    font-size: 1rem;
  }

  /* Section title on very small screens */
  .section-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }
}

