/* =========================================
   GLOBAL RESPONSIVE FIXES
   ========================================= */

/* Mobile Header Height Adjustment */
:root {
    --header-h: 100px;
}

@media (max-width: 768px) {
    :root {
        --header-h: 70px;
    }
}


/* ===== MOBILE ===== */
@media (max-width: 767px) {

  .home-event-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 16px;
  }
  
  .home-events, .event-content{
      padding:0 20px
  }
  
  

  .event-slab {
    flex-direction: column;
  }

  .event-slab-left {
    width: 100%;
    clip-path: none;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
  }

  .event-logo {
    width: 58px;
    height: auto;
  }

  .event-name {
    font-size: 12px;
  }

  .event-slab-right {
    padding: 14px;
  }

  .event-meta {
    flex-wrap: wrap;
    gap: 10px;
  }

  .event-cta {
    left: auto;
    align-self: flex-start;
    margin-top: 12px;
  }
}




/* ===== DESKTOP SMALL ===== */
@media (min-width: 768px) and (max-width: 1399px) {

  .home-event-grid {
    max-width: 1200px;
    gap: 50px;
    padding: 0 20px;
  }

  .event-slab-left {
    width: 105px;
  }

  .event-name {
    font-size: 12.5px;
  }

  .event-cta {
    left: auto;
    align-self: flex-end;
  }
}



/* ===== DESKTOP LARGE ===== */
@media (min-width: 1400px) {

  .home-event-grid {
    max-width: 1500px;
    gap: 70px;
  }

  .event-slab {
    min-height: 110px;
  }

  .event-slab-left {
    width: 120px;
    padding: 16px;
  }

  .event-name {
    font-size: 13px;
  }

  .event-cta {
    left: auto;
    align-self: flex-end;
  }
}


/* =========================================
   1. NAVBAR & MENU OVERLAY
   ========================================= */

@media (max-width: 1024px) {
    .menu-container {
        flex-direction: column;
        padding: 20px;
        align-items: center;
        margin-top: 30%;
    }

    .menu-links {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns on Tablet */
        width: 100%;
        gap: 20px;
    }

    .m-sidebar {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        margin-top: 40px;
        padding-top: 30px;
        min-width: 100%;
        text-align: center;
    }
}

@media (max-width: 600px) {

    .menu-container {

        margin-top: 60%;
    }

    .menu-links {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns on Tablet */
    }

    .m-letter {
        font-size: 2.5rem;
    }

    .m-item p {
        display: none;
        /* Hide subtext for cleaner mobile menu */
    }

    .navbar {
        padding: 0 20px;
    }
}


@media (max-width: 768px) {

    .footer {
        clip-path: none !important;
        margin-top: 0 !important;
        padding-top: 60px !important;
    }

    .footer::before,
    .footer-accents {
        display: none !important;
    }

    .links-grid {
        flex-direction: column !important;
        gap: 35px !important;
    }

    .link-column {
        width: 100% !important;
    }

    .form-header-flex {
        flex-direction: column !important;
    }

    .input-row {
        flex-direction: column !important;
    }

    /*.input-group input,*/
    /*.input-group textarea {*/
    /*    width: 100% !important;*/
    /*}*/

    .send-btn {
        width: 100% !important;
    }

    .footer-right {
        padding: 0;
        margin-top: 50px;
    }

    .inquire-btn {
        top: -168px;
        left: 85px;
    }
}


@media (max-width: 480px) {
    .tagline-bold {
        font-size: 11px;
    }

    .link-header {
        font-size: 13px;
    }

    .form-title {
        font-size: 18px;
    }

    .footer-copyright-strip {
        padding: 15px 0;
    }

    .copyright-container {
        padding: 0 20px;
    }
}



@media (max-width: 768px) {

    .navbar {
        padding: auto;
        justify-content: space-between;
    }

    .nav-right {
        left: 0;
    }

}




/* Small Mobile Adjustments */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 24px;
    }

    .hero-image {
        width: 100%;
    }
}

/* =========================================
   3. ABOUT US & HUD CIRCLES
   ========================================= */

/*@media (max-width: 1024px) {*/
/*    .about-container {*/
/*        flex-direction: column;*/
/*        gap: 50px;*/
/*        padding: 0 30px;*/
/*    }*/

/*    .about-title {*/
/*        margin: 0 0 30px 30px;*/
/*    }*/

/*    .about-left p,*/
/*    .about-right {*/
/*        max-width: 100%;*/
/*    }*/

/*    .tech-container {*/
/*        justify-content: center;*/
/*        gap: 30px;*/
/*    }*/
/*}*/

@media (max-width: 600px) {
    .tech-container {
        flex-direction: column;
        align-items: center;
    }

    .node-wrapper.center {
        transform: scale(1);
        /* Reset DNA scale for small mobile */
    }
}

/* =========================================
   4. MANUFACTURING (Diamond Nav & Stack)
   ========================================= */

@media (max-width: 1024px) {
    .sym-wrapper {
        grid-template-columns: 1fr;
        gap: 100px;
        padding: 0 20px;
        margin: 40px auto;
    }

    .sym-header-container {
        padding-left: 15px;
    }

    .sym-visual-container {
        height: 350px;
    }

    .sym-nav-diamond {
        width: 100%;
    }

    .nav-side {
        gap: 150px;
    }
}

@media (max-width: 480px) {
    .sym-stack-frame {
        width: 280px;
        /* Smaller cards for mobile */
        height: 180px;
    }

    .nav-side {
        gap: 120px;
    }

    .sym-fac-item h3 {
        font-size: 18px;
    }

    .sym-fac-item h3 span {
        font-size: 15px;
    }
}

/* =========================================
   5. GLOBAL PRESENCE & STATS
   ========================================= */

@media (max-width: 900px) {
    .gp-container {
        margin: 0 22px !important;
            width: fit-content !important;
        padding: 40px 0px !important;
    }

    .gp-left h2 {
        font-size: 28px;
    }

    .stats {
        flex-direction: column;
            width: max-content;
        gap: 20px;
    }

}

/* =========================================
   6. FOOTER RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .footer-form {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-nav {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .input-row {
        grid-template-columns: 1fr;
    }

    .cert-grid {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

/* =========================================
   WHATS NEW SECTION RESPONSIVE
========================================= */

/* ---------- TABLET (1024px and below) ---------- */
@media (max-width: 1024px) {
    .wn-features {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* 2 items per row */
        gap: 40px 20px;
    }

    .wn-item {
        min-width: unset;
        /* Remove fixed min-width for grid fitting */
    }
}

/* ---------- MOBILE (768px and below) ---------- */
@media (max-width: 768px) {
    .whats-new {
        padding: 40px 0 50px;
        /* Reduce vertical padding */
    }

    .wn-title {
        text-align: center;
        /* Center title for mobile aesthetics */
        font-size: 18px;
        margin-bottom: 30px;
    }

    .wn-features {
        grid-template-columns: 1fr;
        /* Stack items vertically */
        gap: 25px;
    }

    .wn-item {
        padding: 0 10px;
        /* Optional: Center the items horizontally on mobile */
        max-width: 300px;
        margin: 0 auto;
    }
}

/* ---------- SMALL MOBILE (480px and below) ---------- */
@media (max-width: 480px) {
    
    .vp-section-wrapper{
        padding-bottom: 170px;
    }
    .intro , .desc{
        max-width: 350px !important;
    }
    .wn-item strong {
        font-size: 13px;
        /* Slightly smaller text */
    }

    .wn-item span {
        max-width: 330px !important;
        font-size: 11.5px;
    }

    .wn-item i {
        font-size: 16px;
        /* Slightly smaller icons */
    }
}