/* ============================================================
   RESPONSIVE ADDITIONS — paste these at the END of your CSS
   Breakpoints: 1024px | 768px | 480px
   ============================================================ */

/* ── 1024px: Large Tablet ─────────────────────────────────── */
@media (max-width: 1024px) {

  /* NAV */
  nav {
    padding: 14px 24px;
    position: relative;
  }
  .nav-links { display: none; }

  /* HERO */
  #hero {
    grid-template-columns: 1fr;
    padding: 80px 24px 50px;
    gap: 0;
  }
  .hero-h1 { font-size: 38px; }
  .hero-left { max-width: 100%; }
  .hero-right { height: 280px; }
  .hero-stats { gap: 24px; margin-top: 40px; padding-top: 28px; }
  .stat-val { font-size: 24px; }

  /* HERO MAIN VIDEO */
  .hero-main video {
    width: 100% !important;
    position: relative;
    opacity: 0.25 !important;
  }

  /* PAIN */
  #pain { padding: 50px 24px; }
  .bgo-pain-grid { flex-direction: column; }
  .bgo-pain-card { max-width: 100%; }
  .pain-grid {
    flex-direction: column !important;
    align-items: center;
  }
  .pain-card { max-width: 100%; }

  /* WHAT */
  #what { padding: 50px 24px; }
  .what-grid { grid-template-columns: repeat(2, 1fr); }
  .what-grid > :nth-last-child(2):nth-child(4n+1) { grid-column: auto; }

  /* HOW */
  .hero-right{
    display:none;
  }
  .how-layout { grid-template-columns: 1fr; }
  .how-right img { max-width: 100%; }
  .how-item::before, .pain-card:before{
   display:none;
  }
  /* ROI */
  #roi { padding: 50px 24px; }
  .roi-flex-wrapper { flex-direction: column; gap: 36px; }
  .roi-grid { grid-template-columns: repeat(2, 1fr); }
  .roi-3d-image {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    max-width: 90%;
  }

  /* CARD GRID */
  .card-grid { grid-template-columns: repeat(2, 1fr); }

  /* INDUSTRY GRID */
  .gx-industry-grid-v2 { justify-content: center; }
  .gx-industry-grid-v2 .gx-card:nth-child(5),
  .gx-industry-grid-v2 .gx-card:nth-child(6),
  .gx-industry-grid-v2 .gx-card:nth-child(7) { grid-column: auto; }

  /* CTA */
  #cta { margin: 0 24px 50px; padding: 40px 24px; }
  .cta-flex-wrapper { flex-direction: column; gap: 40px; text-align: center; }
  .cta-form-container { width: 100%; max-width: 100%; }
  .cta-title { font-size: 32px !important; }

  /* TESTIMONIALS */
  .testi-grid-layout { grid-template-columns: repeat(2, 1fr); }
  .testimonial-wrapper { gap: 20px; }

  /* FAQ */
  .gx-faq-container { flex-direction: column; gap: 36px;    padding: 0 15px; }
  .gx-faq-left { padding-right: 0; }
  .gx-faq-left h2 { font-size: 24px; }

  /* COMPACT SECTION */
  .bg-compact-section { padding: 50px 24px; }

  /* GX3 */
  .gx3-container {
    flex-direction: column;
    padding: 32px 24px;
    gap: 32px;
  }
  .gx3-visual { left: 0; width: 100%; }
  .gx6-svg { width: 100%; }

  /* NEWS */
  .news-feature { flex-direction: column; }
  .press-release_left { margin-left: 0; width: 100%; }
  .press-release_left img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; }

  /* FOOTER */
  .footer-grid-wrapper { grid-template-columns: 1fr 1fr; }

  /* SECTION TITLES */
  .section-title { font-size: 30px !important; }
  .bg-compact-tagline,
  .cta-title { font-size: 30px !important; }
}

/* ── 768px: Tablet / Large Mobile ────────────────────────── */
@media (max-width: 768px) {
  

.s2-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}
.ts-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
}  
.bgo-pain-section {

    padding: 0 5px;
}
  .gx-faq-bg{
     display:none;
  }
  /* GLOBAL SPACING */
  .container { padding: 0 15px; }

  /* HERO */
  .hero-h1 { font-size: 30px; letter-spacing: -0.02em; }
  .hero-sub { font-size: 13px; }
  .hero-badge { font-size: 11px; padding: 5px 12px; }
    .hero-cta-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        display: block;
        padding: 14px 0;
    }
  .btn-primary { padding: 12px 24px; font-size: 13px; width: 100%; text-align: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  #hero { padding: 70px 20px 40px; }

  /* WHAT */
  .what-grid { grid-template-columns: 1fr; }

  /* ROI GRID */
  .roi-grid { grid-template-columns: 1fr; }

  /* CARD GRID — industries/case studies */
  .card-grid { grid-template-columns: 1fr; }

  /* TESTIMONIALS */
  .testi-grid-layout { grid-template-columns: 1fr; }
  .testimonial-wrapper { flex-direction: column; padding: 30px 0; }
  .testimonial-card { width: 100%; }

  /* HOW ITEMS */
  .how-item { flex-direction: column; gap: 12px; padding: 18px; }
  .how-step { margin-top: 0; }

  /* PAIN CARDS */
  .pain-card { max-width: 100%; }
  .pain-grid img { max-height: 180px; }

  /* BG COMPACT */
  .bg-compact-grid { grid-template-columns: 1fr; }
  .bg-compact-card { padding: 24px; }

  /* FAQ */
  .gx-faq-left p { font-size: 16px; }
  .gx-faq-question { font-size: 14px; }

  /* NEWS */
  .news { padding: 50px 16px; }
  .press-release_right { padding: 20px 16px; }
  .main-news .htfd { font-size: 20px; }
  .small-news .htfd { font-size: 16px; }

  /* TABS */
  .tabs { flex-wrap: wrap; gap: 8px; }
  .tab-btn { padding: 10px 16px; font-size: 13px; }

  /* LOGO ROW */
  .logo-row ul li { width: 140px; height: 90px; }

  /* GX3 */
  .gx3-wrap { padding: 30px 0; }
  .gx3-title { font-size: 28px; }
  .gx3-subtitle { font-size: 16px; }

  /* FOOTER */
  .footer-grid-wrapper { grid-template-columns: 1fr; text-align: left; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .footer-legal a { margin: 0 8px; }
  .site-footer { padding: 40px 20px 24px; }

  /* SECTION HEADINGS */
  .section-title { font-size: 26px !important; }
  .section-eyebrow { font-size: 14px; }
  .bg-compact-tagline,
  .cta-title { font-size: 26px !important; }
  p { font-size: 14px !important; }

  /* CTA */
  #cta { margin: 0 16px 40px; border-radius: 16px; }

  /* GLOW ORB */
  .glow-orb { width: 200px; height: 200px; }

  /* ROI IMAGE */
  .roi-image-container { display: none; }

  /* CAREER */
  .career-testimonials { padding: 40px 16px; }

  /* PAIN SECTION BG */
  #pain::before { display: none; }

  /* 3D IMAGE CONTAINER */
  .image-container-3d {
    width: 100%;
    max-width: 320px;
    height: auto;
    transform: perspective(800px) rotateY(-8deg) scale(1);
  }
  nav {
    flex-wrap: wrap;
    padding: 1rem;
    position: relative;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }

  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 0.5rem 0;
  }
  .active .hamburger{
    display:none;
  }
  .nav-links.active {
    display: flex;
  }
.close-btn {
  display: block;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  text-align: right;
  padding: 4px 0 12px;
  width: 100%;
}
  .nav-links li a {
    display: block;
    padding: 12px 0;
    border-bottom: 0.5px solid #222;
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
  }

  .nav-cta {
    display: inline-block;
    margin-top: 12px;
    background: #fff;
    color: #000 !important;
    padding: 10px 18px !important;
    border-radius: 6px;
    font-weight: 500;
  }
}

/* ── 480px: Small Mobile ──────────────────────────────────── */
@media (max-width: 480px) {

  /* HERO */
  #hero { padding: 60px 16px 36px; }
  .hero-h1 { font-size: 24px; }
  .hero-sub { font-size: 12px; }
  .hero-right { height: 200px; }
  .hero-badge { display: none; }
  .hero-stats { display: none; } /* clean on very small screens */

  /* NAV */
  nav { padding: 12px 16px; }
  .logo img { max-width: 100px; }

  /* PAIN / SECTION TITLES */
  .section-title { font-size: 22px !important; }
  .bg-compact-tagline,
  .cta-title { font-size: 22px !important; }

  /* CARDS */
  .what-card,
  .roi-card,
  .bg-compact-card,
  .card-3d { padding: 16px; }

  /* PAIN CARD */
  .bgo-pain-header { padding: 16px 18px; }
  .bgo-pain-body { padding: 12px 18px 18px; }

  /* CTA */
  .cta-body { font-size: 14px; }
  #cta { margin: 0 10px 30px; padding: 28px 16px; }

  /* TESTIMONIAL */
  .quote-text { font-size: 14px; min-height: auto; }

  /* NEWS */
  .news { padding: 36px 12px; }
  .press-release_right { padding: 14px 12px; }

  /* LOGO ROW */
  .logo-row ul li { width: 110px; height: 72px; }
  .logo-row ul { gap: 8px; }

  /* GX CARDS */
  .gx-card { flex-basis: 100%; height: 130px; }

  /* HOW ITEMS */
  .how-item { padding: 14px; }
  .how-item-title { font-size: 15px; }

  /* FOOTER */
  .footer-col img { max-width: 100px; }
  .footer-tagline { font-size: 12px; }
  .copyright,
  .footer-legal a { font-size: 10px; }

  /* TABS */
  .tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .tab-btn { flex-shrink: 0; padding: 8px 14px; font-size: 12px; }

  /* BUTTONS */
  .btn-primary { padding: 12px 18px; }
  .nav-cta { padding: 7px 16px; font-size: 12px; }

  /* ROI IMAGE CONTAINER: already hidden at 768 */

  /* COMPACT BG */
  .bg-compact-section { padding: 36px 14px; }
  .bg-compact-card { padding: 18px; }

  /* 3D IMAGE */
  .image-container-3d {
    transform: none;
    max-width: 100%;
  }
}

/* ── Hamburger Menu ───────────────────────────────────────── */
/* Activates below 1024px where .nav-links is hidden */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    z-index: 200;
  }
  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5,5,5,0.97);
    backdrop-filter: blur(18px);
    z-index: 150;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: color 0.2s;
  }
  .mobile-nav a:hover { color: var(--yellow); }
  .mobile-nav .nav-cta {
    background: var(--yellow);
    color: #000 !important;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 15px !important;
  }
}
@media (min-width: 1025px) {
  .hamburger { display: none; }
  .mobile-nav { display: none !important; }
}

/* ── Utility: prevent horizontal overflow on all screens ─── */
body { overflow-x: hidden; }
img, video, svg, canvas { max-width: 100%; }
.gx6-svg { max-width: 100%; height: auto; }
.gx3-container { overflow: hidden; }
