/* ============================================================
   CHARTED — 100% PERFECT RESPONSIVE DESIGN SYSTEM
   Supports: 4K / Ultrawide / Desktop / Laptop / Tablet / 
             Foldables / Standard Mobile / Small Phones
   ============================================================ */

/* ─── GLOBAL RESPONSIVE GUARDS ─── */
html, body {
  max-width: 100vw !important;
  overflow-x: hidden !important;
  -webkit-text-size-adjust: 100% !important;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

img, video, svg, canvas {
  max-width: 100% !important;
  height: auto;
}

/* ─── CONTAINER PADDING SCALING ─── */
:root {
  --fluid-gutter: clamp(16px, 4vw, 32px);
}

.wow-section,
.section,
.site-header,
.site-footer {
  padding-left: var(--fluid-gutter) !important;
  padding-right: var(--fluid-gutter) !important;
}

/* ══════════════════════════════════════════════════════════════
   1. NAVIGATION & HEADER RESPONSIVENESS
══════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: rgba(5, 10, 20, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Desktop Navigation */
@media (min-width: 1051px) {
  .menu {
    display: none !important;
  }
  .site-header nav {
    display: flex !important;
    align-items: center !important;
    gap: clamp(14px, 2vw, 28px) !important;
  }
}

/* Tablet & Mobile Dropdown Navigation */
@media (max-width: 1050px) {
  .menu {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #f1f5f9 !important;
    padding: 8px 16px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
  }
  .menu:hover {
    background: rgba(59, 130, 246, 0.2) !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
  }

  .site-header nav {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: #070e1c !important;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3) !important;
    padding: 20px 6% 30px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8) !important;
  }

  .site-header nav.open {
    display: flex !important;
    animation: mobileNavFade 0.3s ease forwards !important;
  }

  .site-header nav > a {
    color: #e2e8f0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: rgba(255, 255, 255, 0.03) !important;
  }

  .site-header nav > a:hover,
  .site-header nav > a[aria-current="page"] {
    background: rgba(59, 130, 246, 0.15) !important;
    color: #60a5fa !important;
  }

  .site-header nav > .nav-cta {
    background: #2563eb !important;
    color: #fff !important;
    text-align: center !important;
    justify-content: center !important;
    margin-top: 6px !important;
  }
}

@keyframes mobileNavFade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════════
   2. HERO SECTION RESPONSIVENESS
══════════════════════════════════════════════════════════════ */
.wow-hero {
  min-height: auto !important;
  padding: clamp(60px, 10vw, 120px) var(--fluid-gutter) clamp(40px, 8vw, 80px) !important;
}

.wow-hero-inner {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
  gap: clamp(30px, 5vw, 60px) !important;
  align-items: center !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
}

.wow-hero-title,
.wow-h1 {
  font-size: clamp(38px, 6vw, 76px) !important;
  line-height: 1.05 !important;
  letter-spacing: -1.5px !important;
  word-break: break-word !important;
}

.wow-hero-sub,
.wow-hero-copy p {
  font-size: clamp(15px, 2vw, 18px) !important;
  line-height: 1.6 !important;
}

/* Hero Stats Row */
.wow-hero-stats {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: clamp(16px, 3vw, 36px) !important;
  margin-top: clamp(24px, 4vw, 40px) !important;
}

.wow-stat-item {
  flex: 1 1 auto !important;
  min-width: 100px !important;
}

.wow-stat-number {
  font-size: clamp(28px, 4vw, 42px) !important;
}

/* Hero Responsive Switch: Stacking on Tablet & Mobile */
@media (max-width: 1000px) {
  .wow-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .wow-hero-visual {
    width: 100% !important;
    max-width: 540px !important;
    margin: 0 auto !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   3. VIDEO SECTION RESPONSIVENESS
══════════════════════════════════════════════════════════════ */
.wow-video-section {
  margin: 0 var(--fluid-gutter) clamp(40px, 6vw, 80px) !important;
  max-width: 1320px !important;
}

@media (min-width: 1360px) {
  .wow-video-section {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

.wow-video-header {
  padding: clamp(16px, 3vw, 28px) clamp(16px, 4vw, 32px) !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.wow-video-header h2 {
  font-size: clamp(22px, 3vw, 36px) !important;
}

.wow-video-wrap video {
  width: 100% !important;
  aspect-ratio: 16/9 !important;
  height: auto !important;
}

.wow-sound-toggle-btn {
  bottom: clamp(12px, 3vw, 24px) !important;
  right: clamp(12px, 3vw, 24px) !important;
  padding: 8px 14px !important;
  font-size: 12px !important;
}

/* ══════════════════════════════════════════════════════════════
   4. SOLUTIONS REEL & PHOTO STREAM RESPONSIVENESS
══════════════════════════════════════════════════════════════ */
.wow-reel-card {
  flex: 0 0 clamp(280px, 45vw, 380px) !important;
  min-width: 260px !important;
}

.wow-stream-card {
  width: clamp(240px, 35vw, 380px) !important;
}

.wow-reel-body h3 {
  font-size: clamp(16px, 2vw, 19px) !important;
}

.wow-reel-desc {
  font-size: 13px !important;
}

/* ══════════════════════════════════════════════════════════════
   5. SERVICES & SOLUTIONS GRIDS RESPONSIVENESS
══════════════════════════════════════════════════════════════ */
.wow-services-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: clamp(16px, 3vw, 28px) !important;
}

.wow-service-card {
  padding: clamp(22px, 4vw, 36px) clamp(18px, 3vw, 28px) !important;
}

.sector-grid,
.work-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: clamp(16px, 3vw, 24px) !important;
}

/* ══════════════════════════════════════════════════════════════
   6. IMPACT & STATS SECTION RESPONSIVENESS
══════════════════════════════════════════════════════════════ */
.wow-impact-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: clamp(30px, 5vw, 60px) !important;
  align-items: center !important;
}

.wow-impact-stats {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: clamp(14px, 2.5vw, 24px) !important;
}

.wow-impact-stat.large {
  grid-column: 1 / -1 !important;
}

.wow-impact-stat-num {
  font-size: clamp(36px, 5vw, 56px) !important;
}

@media (max-width: 900px) {
  .wow-impact-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 540px) {
  .wow-impact-stats {
    grid-template-columns: 1fr !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   7. TEAM / STAFF GRID RESPONSIVENESS
══════════════════════════════════════════════════════════════ */
.wow-team-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: clamp(12px, 2vw, 20px) !important;
}

@media (max-width: 1200px) {
  .wow-team-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .wow-team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 440px) {
  .wow-team-grid {
    grid-template-columns: 1fr !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   8. CLIENTS / LOGOS MARQUEE RESPONSIVENESS
══════════════════════════════════════════════════════════════ */
.wow-clients-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: clamp(10px, 2vw, 16px) !important;
}

.wow-client-chip {
  padding: 8px 16px !important;
  font-size: clamp(11px, 1.5vw, 13px) !important;
}

/* ══════════════════════════════════════════════════════════════
   9. FOOTER RESPONSIVENESS
══════════════════════════════════════════════════════════════ */
.site-footer {
  padding-top: clamp(40px, 6vw, 70px) !important;
  padding-bottom: clamp(24px, 4vw, 40px) !important;
}

.footer-top {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr 1fr !important;
  gap: clamp(24px, 4vw, 40px) !important;
}

@media (max-width: 800px) {
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
}

.footer-bottom {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px !important;
  margin-top: clamp(24px, 4vw, 40px) !important;
  padding-top: 20px !important;
}

/* ══════════════════════════════════════════════════════════════
   10. WHATSAPP FLOATING BUTTON (RESPONSIVE SAFE-ZONE)
══════════════════════════════════════════════════════════════ */
.whatsapp-float {
  width: clamp(52px, 8vw, 62px) !important;
  height: clamp(52px, 8vw, 62px) !important;
  right: clamp(14px, 3vw, 24px) !important;
  bottom: calc(clamp(14px, 3vw, 24px) + env(safe-area-inset-bottom, 0px)) !important;
}

.whatsapp-float svg {
  width: 100% !important;
  height: 100% !important;
}
