/* =========================================
   GLOBAL RESPONSIVE FIXES
   ========================================= */

/* Mobile Header Height Adjustment */
:root {
    --header-h: 100px;
}

@media (max-width: 768px) {
    :root {
        --header-h: 70px;
    }
}

/* =========================================
   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;
        align-items: flex-start !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;
    }

}



/* ===========================
   HERO – FIXED RESPONSIVE SLIDER
=========================== */

@media (max-width: 991px) {
    .hero {
        height: 100vh;
        /* Mobile par bhi full height slider */
        padding-top: 150px;
        display: flex;
        align-items: center;
    }

    .hero-slider {
        width: 100%;
        height: 100%;
        /* Slider container poori height lega */
        margin-top: 0;
    }

    .hero-blue {
        display: none;
        /* Mobile par blue block hata diya */
    }

    .slide {
        position: absolute;
        /* Dono slides ko stack karne ke liye */
        inset: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        /* Default hidden */
        transition: opacity 0.8s ease;
        padding: 20px;
    }

    .slide.active {
        opacity: 1;
        /* Sirf active slide dikhegi */
        pointer-events: auto;
    }

    .hero-text {
        position: relative;
        left: auto;
        bottom: auto;
        transform: translateY(30px);
        /* Arrival animation effect */
        opacity: 0;
        text-align: center;
        max-width: 100%;
        order: 1;
        /* Text upar */
        margin-bottom: 30px;
    }

    .slide.active .hero-text {
        transform: translateY(0);
        opacity: 1;
    }

    .hero-text h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-image {
        position: relative;
        right: auto;
        top: auto;
        width: 90%;
        transform: scale(0.9);
        opacity: 0;
        order: 2;
        /* Image niche */
    }

    .slide.active .hero-image {
        transform: scale(1);
        opacity: 1;
    }

    .hero-image img {
        height: auto;
        width: 100%;
        object-fit: contain;
    }

    .nav {
        display: none;
        /* Mobile par text buttons hide karein */
    }
}

/* 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: 100px auto;
    }

    .gp-left h2 {
        font-size: 28px;
    }

    .stats {
        flex-direction: column;
        gap: 20px;
    }

    .approval-list {
        gap: 30px;
        justify-content: center;
    }
}

/* =========================================
   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) {
    .wn-item strong {
        font-size: 13px;
        /* Slightly smaller text */
    }

    .wn-item span {
        font-size: 11.5px;
    }

    .wn-item i {
        font-size: 16px;
        /* Slightly smaller icons */
    }
}