/* ========================================
   INDEX.HTML MOBILE RESPONSIVE FIXES
   ======================================== */

/* ========== FIX BODY PADDING FOR FIXED HEADER ========== */
@media (max-width: 768px) {
    body {
        padding-top: 70px !important;
        overflow-x: hidden;
    }

    /* Hero Section Mobile Fixes */
    /* .hero-transform {
        height: auto !important;
        min-height: 80vh;
        padding: 40px 20px 60px;
        overflow: hidden;
    } */

    #heroCanvas {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .hero-content {
        position: relative;
        z-index: 5;
        padding: 20px 15px !important;
        max-width: 100%;
    }

    .hero-content h2 {
        font-size: 2rem !important;
        margin-bottom: 20px !important;
        line-height: 1.2;
    }

    /* .hero-content p {
        font-size: 14px !important;
        line-height: 1.6;
        padding: 15px !important;
        margin-bottom: 25px !important;
    } */

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
    }

    /* Process Section Mobile */
    .common-section {
        padding: 20px 15px !important;
        margin: 0 !important;
    }

    .process-section-animate {
        padding: 20px 0;
    }

    .process-section-animate h2 {
        font-size: 32px !important;
        margin-bottom: 0 !important;
        padding: 0 15px;
    }

    /* AI Section / Cards Mobile */
    .ai-section {
        padding: 30px 0 !important;
    }

    .wrap {
        padding: 0 15px !important;
        width: 100% !important;
    }

    .heading {
        margin-bottom: 30px !important;
    }

    .heading h1 {
        font-size: 32px !important;
        padding: 12px 18px !important;
        line-height: 1.3;
    }

    .subtitle {
        font-size: 14px !important;
        padding: 0 10px !important;
        margin-top: 15px !important;
    }

    /* Cards Grid Mobile */
    .cards {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 !important;
    }

    .card {
        width: 100% !important;
        min-height: auto !important;
        padding: 16px !important;
    }

    .card-title {
        font-size: 18px !important;
        margin: 10px 0 !important;
    }

    .card-body {
        padding: 5px !important;
    }

    .card p {
        font-size: 14px !important;
        height: auto !important;
        max-width: 100% !important;
    }

    /* Center all card images on mobile */
    .icon-placeholder,
    .icon-placeholders,
    .card-img-wrapper {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        margin: 0 auto !important;
    }

    .icon-placeholder img,
    .icon-placeholders img,
    .card-img-wrapper img {
        width: 100% !important;
        max-width: 250px !important;
        margin: 15px auto !important;
        display: block !important;
    }

    /* Trusted Customers Mobile */
    .trusted-customers {
        padding: 30px 15px !important;
    }

    .trusted-customers h2 {
        font-size: 28px !important;
        margin-bottom: 20px !important;
    }

    .logo-slider {
        width: 90% !important;
    }

    .slide img {
        max-width: 100px !important;
    }

    /* Why Choose Section Mobile */
    .why-choose {
        padding: 40px 15px !important;
    }

    .why-choose .container {
        flex-direction: column !important;
        padding: 0 !important;
    }

    .left-content,
    .right-content {
        width: 100% !important;
        max-width: 100% !important;
    }

    .left-content h2 {
        font-size: 28px !important;
        text-align: center !important;
        margin-bottom: 15px !important;
    }

    .subtitle {
        text-align: center !important;
        max-width: 100% !important;
    }

    .features {
        margin-top: 25px !important;
        gap: 20px !important;
    }

    .feature {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 12px !important;
        text-align: left !important;
    }

    .feature h4 {
        font-size: 16px !important;
        margin-bottom: 5px !important;
    }

    .feature p {
        font-size: 14px !important;
    }

    .icon-img {
        width: 40px !important;
        height: 40px !important;
        flex-shrink: 0;
    }

    .right-content {
        display: none !important;
    }
}

/* ========== EXTRA SMALL PHONES (MAX 480PX) ========== */
@media (max-width: 480px) {
    body {
        padding-top: 60px !important;
    }
/* 
    .hero-transform {
        min-height: 70vh;
        padding: 30px 15px 50px;
    } */

    .hero-content h2 {
        font-size: 1.75rem !important;
    }

    /* .hero-content p {
        font-size: 13px !important;
        padding: 12px !important;
    } */

    .heading h1 {
        font-size: 28px !important;
        padding: 10px 15px !important;
    }

    .subtitle {
        font-size: 13px !important;
    }

    .trusted-customers h2 {
        font-size: 24px !important;
    }

    .left-content h2 {
        font-size: 24px !important;
    }
}

/* ========== PREVENT HORIZONTAL SCROLL ========== */
html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* .hero-transform, */
.common-section,
.ai-section,
.trusted-customers,
.why-choose {
    max-width: 100vw;
    overflow-x: hidden;
}

/* ========================================
   NEW FEATURES SECTION STYLES (Restoring Missing CSS)
   ======================================== */

