/* Mobile aur Tablets ke liye (Max 991px) */
@media (max-width: 991px) {
    .hero-section {
        padding: 15px;
    }

    .hero-content-wrapper {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        position: relative; /* Parent ko relative rakha taake static button sahi kaam kare */
    }

    .hero-text-col {
        width: 100% !important;
        margin-bottom: 20px;
        order: 1; /* Text sab se upar */
        padding: 0;
    }

    .hero-title {
        font-size: 28px !important;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 16px !important;
        margin-bottom: 20px;
    }

    /* Button Fixed Code */
    .cta-banner-button {
        order: 2; /* Text ke foran baad button aaye */
        margin-bottom: 30px;
        text-align: center;
        width: 100%;
    }

    .cta-button-banner {
        display: inline-block !important; /* display: none ko khatam kiya */
        position: static !important;      /* Absolute position ko mobile pe khatam kiya */
        background-color: #f2901D;        /* Color check karlein */
        color: #ffffff;
        text-decoration: none;
        border-radius: 100px;
        width: auto;
        padding: 12px 25px;
        font-size: 14px;
        font-weight: bold;
    }

    .hero-image-col {
        width: 100% !important;
        order: 3; /* Image ko sab se niche kar diya */
        display: none;
    }

    .image-container img {
        max-width: 80%;
        height: auto;
    }

    /* Contact Bar Fixed */
    .contact-bar {
        display: flex;
        flex-direction: column;
        width: 100% !important;
    }

    .contact-item {
        width: 100% !important;
        border: none !important;
        padding: 10px 0;
        text-align: center;
    }
    .growth-partner-wrapper {
        flex-direction: column; /* Text card aur Stats grid ko ek ke upar ek karne ke liye */
        gap: 20px;
    }

    .growth-text-card {
        padding: 40px 30px; /* Mobile par padding thori kam kar di */
        text-align: center;
        align-items: center;
    }

    .growth-title {
        font-size: 24px !important; /* Title ka size adjust kiya */
        line-height: 1.3;
    }

    .stats-grid-container {
        /* Mobile par columns ko 1 ya 2 rakh sakte hain screen size ke mutabiq */
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
        gap: 15px;
    }
    .product-comparison-wrapper {
        flex-direction: column; /* Cards ko vertical karne ke liye */
        align-items: center;    /* Cards ko center karne ke liye */
        gap: 30px;              /* Mobile par cards ke darmiyan space */
        padding: 0 20px;        /* Side se thori space */
    }

    .product-card {
        width: 100%;            /* Card ko full width karne ke liye */
        max-width: 400px;       /* Card zyada bara na ho jaye */
        margin: 0 auto;
    }

    .highlighted-product {
        transform: scale(1);    /* Agar desktop pe koi zoom effect hai to mobile pe reset */
        order: -1;              /* Agar aap Hospital Management ko mobile pe sabse upar dikhana chahte hain */
    }
    .testimonial-wrapper {
        flex-direction: column; /* Header ko cards ke upar lane ke liye */
        text-align: center;
        gap: 40px;
    }

    .testimonial-header-col {
        flex: 0 0 100%; /* Full width */
        padding-right: 0; /* Extra space khatam */
        max-width: 100%;
    }

    .testimonial-title {
        font-size: 28px !important;
        margin-bottom: 15px;
    }

    /* Agar aap ne grid use kiya hai to usse 2 columns mein kar denge tablets pe */
    .testimonial-grid-col {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .project-cta-buttons {
        flex-direction: column; /* Buttons ko ek ke upar ek karne ke liye */
        gap: 15px;              /* Buttons ke darmiyan thora gap */
        margin-top: 30px;       /* Top margin mobile ke hisab se kam kardi */
        align-items: center;    /* Buttons ko screen ke beech mein lane ke liye */
    }

    .cta-button {
        width: 100%;            /* Button ko poori width di taake click karna asaan ho */
        max-width: 300px;       /* Button bohat zyada lamba na ho jaye */
        text-align: center;     /* Text ko button ke center mein kar diya */
        padding: 15px 20px;     /* Mobile par touch area bara kar diya */
    }
    .footer-cta-content {
        flex-direction: column; /* Text aur Button ko ek ke upar ek karne ke liye */
        text-align: center;     /* Poore content ko center align karne ke liye */
        gap: 25px;              /* Text aur Button ke beech space */
    }

    .cta-text-group {
        width: 100%;
    }

    .cta-heading {
        font-size: 24px !important;
        margin-bottom: 10px;
    }

    .cta-get-started-btn {
        display: inline-block; /* Button ko center mein rakhne ke liye */
        width: auto;           /* Button apne text ke mutabiq size le ga */
        min-width: 200px;      /* Clickable area behtar karne ke liye */
        padding: 12px 30px;
    }
    .hero-content-wrapper1 {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 40px; /* Niche se thori space */
    }

    .cta-button-banner-page {
        position: static !important; /* Absolute position ko khatam kar diya */
        margin: 20px auto 0;        /* Center align aur thora gap */
        display: inline-block;
        width: fit-content;
        transform: none !important;
    }

    .hero-text-col2 .hero-subtitle br {
        display: none; /* Mobile par line break khatam taake text sahi dikhe */
    }
    .about-us-button {
        margin-bottom: 15px;
    }
    .how-we-do-it-section {
        padding: 60px 20px !important;
        background-color: var(--dark-blue);
    }

    .how-we-do-it-header {
        margin-bottom: 40px;
    }

        .how-we-do-it-header .section-title {
            font-size: 32px !important;
        }

        .how-we-do-it-header .section-subtitle {
            font-size: 16px !important;
        }

    /* Grid ko completely linear (vertical stack) bana do */
    .process-flow-container {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        gap: 40px !important;
        padding: 20px 0 !important;
        position: relative;
    }

    /* Sab cards ko center aur full controlled width do */
    .process-card {
        width: 100% !important;
        max-width: 420px !important;
        margin: 0 auto !important;
        padding: 40px 30px !important;
        border-radius: 30px !important;
        text-align: center !important; /* Mobile pe center better lagta hai */
        border: 3px solid #f2901D;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    /* Step number ko thora bara aur center karo */
    .step-number {
        width: 60px !important;
        height: 60px !important;
        font-size: 24px !important;
        margin: 0 auto 20px auto !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .step-title {
        font-size: 24px !important;
        text-align: center;
        margin-bottom: 15px;
    }

    .step-description {
        text-align: center;
        font-size: 16px !important;
        margin-bottom: 20px;
    }

    .step-details {
        text-align: center !important;
        padding: 0;
        margin: 0 auto;
    }

        .step-details li {
            text-align: left;
            display: inline-block;
            padding-left: 25px;
            font-size: 15px !important;
        }

    /* Desktop ke grid positions ko reset kar do */
    .step-1, .step-2, .step-3, .step-4 {
        grid-area: auto !important;
    }

    /* Center icon aur connecting lines mobile pe hide (kyunki ab linear flow hai) */
    .process-center-icon,
    .process-flow-container::before {
        display: none !important;
    }
    /*.how-we-do-it-section {
        padding: 40px 20px;
    }

    .how-we-do-it-header {
        text-align: center;
        margin-bottom: 30px;
    }

    .process-flow-container {*/
        /* Grid ko 1 column mein kar diya */
        /*grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 30px;*/ /* Gap kam kar diya taake cards kareeb ayein */
        /*padding: 20px 0;
    }

    .process-card {
        width: 100%;
        max-width: 400px;*/ /* Card ko zyada phailne se roka */
        /*text-align: center;
    }*/

    /* Center icon ko mobile par aksar hide kar dete hain taake flow kharab na ho */
    /*.process-center-icon {
        display: none;
    }

    .step-details {
        text-align: left;
        display: inline-block;*/ /* List ko center karne ke liye */
    /*}*/

    .about-us-title{
        padding-top: 10px !important;
    }

    .modules-features-section {
        padding: 40px 20px;
    }

    .modules-features-header {
        text-align: center;
        margin-bottom: 30px;
    }

    .modules-grid {
        flex-direction: column; /* Cards ko vertical stack karne ke liye */
        align-items: center;    /* Cards ko center align karne ke liye */
        gap: 25px;              /* Cards ke darmiyan space */
    }

    .module-card {
        width: 100%;            /* Mobile par full width */
        max-width: 450px;       /* Lekin card zyada phailay na */
        padding: 30px;          /* Card ke andar ki spacing */
        text-align: left;       /* List items left align hi achay lagtay hain */
    }

    .section-subtitle {
        /*font-size: 15px;*/
        line-height: 1.6;
    }
    .about-us-description {
        font-size: 18px;
    }
    .industries-section {
        padding: 40px 20px;
    }

    .industries-header {
        text-align: center;
        margin-bottom: 30px;
    }

    /* Image ko responsive banana */
    .industries-image-wrapper {
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }

    .industries-main-image {
        width: 100%;
        max-width: 600px; /* Tablet par image bohat barri na ho */
        height: auto;
        border-radius: 15px;
    }

    /* Grid/Flex ko vertical karna */
    .industries-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .industry-card {
        width: 100%;
        max-width: 400px;
        text-align: center;
        padding: 20px;
        background: #f9f9f9; /* Agar background visible nahi hai to add kar sakte hain */
        border-radius: 10px;
    }
    .contact-section {
        padding: 40px 15px;
    }

    .contact-header {
        text-align: center;
        margin-bottom: 30px;
    }

    .contact-form-grid {
        /* Grid ko 1 column mein convert kiya */
        display: grid;
        grid-template-columns: 1fr;
        gap: 5px; /* Label aur uske apne input ke darmiyan gap */
    }

    .form-label {
        display: block;      /* Is se label poori line le lega aur input niche chala jaye ga */
        margin-bottom: 8px;  /* Input se thora fasla */
        font-size: 14px;
        font-weight: 600;
        text-align: left;
    }

    .form-input {
        width: 100% !important;
        display: block;
        margin-bottom: 20px; /* Agle label se fasla rakhne ke liye */
        padding: 12px;
    }

    /* Select wrapper ko bhi full width karein */
    .custom-select-wrapper {
        width: 100%;
    }

    /* Textarea adjustment */
    .form-textarea {
        width: 100% !important;
        margin-bottom: 20px;
    }

    .form-submit-row {
        text-align: center;
        margin-top: 10px;
    }

    .submit-btn {
        width: 100%;
        max-width: 100%; /* Mobile par poora button zyada behtar lagta hai */
    }
}

/* Chote mobile phones ke liye (Max 576px) */
@media (max-width: 576px) {
    .hero-title {
        font-size: 32px !important;
    }

    .hero-tagline {
        font-size: 14px;
    }
    .stats-grid-container {
        grid-template-columns: 1fr; /* Bohat choti screen par stats ek line mein aa jayenge */
    }

    .stat-card {
        text-align: center;
        padding: 10px;
        margin-bottom: 5px;
    }

    .stat-number {
        font-size: 28px !important;
    }
    .product-name {
        font-size: 22px !important;
    }

    .product-features {
        padding-left: 0;
        text-align: left;
    }
    .testimonial-grid-col {
        grid-template-columns: 1fr; /* Mobile par 1 card per row */
    }

    .testimonial-card {
        padding: 20px;
        text-align: left; /* Text ko left hi rhen dain taake professional lage */
    }

    .reviewer-info {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .cta-button-banner-page {
        font-size: 14px;
        padding: 12px 20px;
    }
    .about-us-button {
        margin-bottom: 15px;
    }
    .section-title {
        font-size: 26px !important;
    }

    .step-number {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 18px;
    }
    .module-name {
        font-size: 20px !important;
    }

    .feature-item {
        font-size: 14px;
    }
    .section-title {
        font-size: 24px !important;
    }

    .industry-title {
        font-size: 18px !important;
    }
    .social-links {
        margin-bottom: 10px !important;
    }
}
/* Bohat chote phones ke liye adjustment */
@media (max-width: 480px) {
    .cta-button {
        font-size: 16px;        /* Text thora chota kiya taake button ke andar fit rahe */
    }
}