/* --- RESPONSIVE MEDIA QUERY FOR MOBILE (Screen width 992px se kam par) --- */
@media screen and (max-width: 992px) {
    .logo {
        margin-left: 0;
    }
    
    .menu-toggle {
        display: flex; /* Mobile par icon show ho jayega */
    }

    /* Mobile Sidebar Menu Drawer */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Shuru mein screen se bahar hoga */
        width: 300px;
        height: 100vh;
        background-color: rgba(18, 18, 18, 0.98);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 90px 30px 30px 30px;
        gap: 25px;
        margin-left: 0;
        transition: right 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
        overflow-y: auto;
    }

    /* Jab active class lagegi toh menu screen par aa jayega */
    .nav-links.active {
        right: 0;
    }

    .menu-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
    }

    .nav-links .menu-list a {
        font-size: 16px;
        white-space: normal;
    }

    /* Buttons ab Contact ke neechay stack ho kar nazar aayenge */
    .header-btn {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 12px;
        margin-top: 10px;
    }

    .header-btn div, .header-btn a {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {

   

    .hero-content h1 {
        font-size: 54px;
    }

    .testimonial-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }

}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 1050px) {

    .desktop-navigation,
    .header-actions {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }

    .header-container {
        min-height: 78px;
    }

    .hero-section {
        padding-top: 78px;
    }

    .hero-slider {
        height: 600px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .why-content {
        max-width: 700px;
    }

    .solutions-grid {
        grid-template-columns: 1fr 1fr;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .payments-box {
        grid-template-columns: 1fr;
    }

    .payments-image {
        min-height: 350px;
    }

    .platform-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 45px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .container {
        width: min(100% - 30px, 600px);
    }

    .section-padding {
        padding: 70px 0;
    }


   

    .hero-section {
        padding-top: 72px;
    }

    .hero-slider {
        height: 610px;
    }

    .hero-container {
        width: calc(100% - 30px);
        align-items: center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.72),
                rgba(0, 0, 0, 0.35)
            );
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 39px;
        line-height: 1.1;
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.65;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .primary-button,
    .secondary-button {
        min-height: 46px;
        padding-left: 19px;
        padding-right: 19px;
    }

    .hero-arrow {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .hero-prev {
        left: 10px;
    }

    .hero-next {
        right: 10px;
    }

    .hero-dots {
        bottom: 20px;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .section-heading p {
        font-size: 13px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solution-image {
        height: 245px;
    }

    .solution-content {
        padding: 25px;
    }

    .why-features {
        grid-template-columns: 1fr;
    }

    .why-content h2 {
        font-size: 34px;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .industry-card {
        height: 260px;
    }

    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .integration-card {
        min-height: 115px;
        padding: 17px 10px;
    }

    .integration-card img {
        width: 40px;
        height: 40px;
    }

    .integration-card span {
        font-size: 11px;
        text-align: center;
    }

    .payments-image {
        min-height: 260px;
    }

    .payments-content {
        padding: 35px 25px;
    }

    .payments-content h2 {
        font-size: 34px;
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-slider {
        gap: 8px;
    }

    .testimonial-card {
        flex: 0 0 100%;
        padding: 23px;
    }

    .testimonial-card > p {
        min-height: auto;
    }

    .testimonial-arrow {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        font-size: 15px;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .client-logo {
        min-height: 90px;
        padding: 15px;
    }

    .client-logo img {
        max-width: 100px;
    }

    .demo-cta-section {
        min-height: 430px;
    }

    .demo-cta-content h2 {
        font-size: 36px;
    }

    .footer-main {
        padding: 60px 0 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-bottom-inner {
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        gap: 10px 18px;
    }

    .demo-modal {
        padding: 12px;
    }

    .demo-modal-box {
        padding: 28px 20px;
    }

    .demo-modal-header h2 {
        font-size: 26px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .floating-contact {
        right: 10px;
        bottom: 10px;
    }

    .floating-contact a {
        min-width: 72px;
        min-height: 35px;
        font-size: 10px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .hero-slider {
        height: 570px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .hero-small-title {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .hero-arrow {
        display: none;
    }

    .integrations-grid {
        grid-template-columns: 1fr 1fr;
    }

    .clients-grid {
        grid-template-columns: 1fr 1fr;
    }

    .floating-contact {
        display: none;
    }

}



























/* ==========================================
   RESPONSIVE STYLES FOR TESTIMONIAL SECTION
   ========================================== */

/* Tablet View (Max Width: 992px) */
@media screen and (max-width: 992px) {
    .testimonial-layout {
        grid-template-columns: 1fr; /* 2 columns se 1 column kar diya */
        min-height: auto;
    }

    .testimonial-fixed-image {
        height: 350px; /* Tablet ke liye image ki height kam kar di */
    }

    .testimonial-content-slider {
        padding: 30px 25px 75px;
    }

    .testimonial-static-header h2 {
        font-size: 30px;
    }
}

/* Mobile View (Max Width: 576px) */
@media screen and (max-width: 576px) {
    .testimonials-section {
        padding: 40px 15px; /* Section ki padding mobile par kam ki */
    }

    .testimonial-layout {
        border-radius: 10px;
    }

    .testimonial-fixed-image {
        height: 250px; /* Mobile par image mazeed choti kar di taake scroll na karna pare */
    }

    .testimonial-content-slider {
        padding: 25px 20px 70px;
    }

    .testimonial-static-header h2 {
        font-size: 24px; /* Heading size mobile ke mutabiq */
    }

    .testimonial-question {
        margin: 10px 0 20px;
        font-size: 14px;
    }

    .testimonial-box {
        min-height: auto; /* Mobile par content ke hisab se height adjust ho gi */
        padding: 22px 20px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    .testimonial-controls {
        right: 20px;
        bottom: 15px;
    }

    .testimonial-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    
}


/* ==========================================
   RESPONSIVE HEADER & BUTTONS STYLES
   ========================================== */

/* Tablet View (Max Width: 992px) */
@media screen and (max-width: 992px) {
    .site-header {
        padding: 0 20px;
        height: 80px;
    }

    /* Tablet par buttons ka size thoda compact kar diya hai */
    .header-actions a {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* =========================================================
   RESPONSIVE STYLES FOR MOBILE MENU BUTTONS
   ========================================================= */

   @media screen and (max-width: 992px) {
    /* Mobile menu ke andar buttons ka container */
    .mobile-menu-buttons {
        display: flex;
        flex-direction: column; /* Dono buttons ek ke neechay aik (stack) ho jayenge */
        gap: 12px;              /* Dono ke darmiyan thoda fasla */
        width: 100%;            
        margin-top: 25px;      
        padding: 0 10px;        
    }

    /* Buttons ki styling taake mobile par mukammal fit aayein */
    .mobile-menu-buttons .restaurant-button,
    .mobile-menu-buttons .free-trial-button {
        display: block;
        width: 100%;            /* Poori screen ki width le lenge */
        text-align: center;
        padding: 12px 20px;
        font-size: 15px;
        font-weight: 500;
        border-radius: 8px;
        text-decoration: none;
        box-sizing: border-box;
    }

    /* Restaurant POS Button (Outline style) */
    .mobile-menu-buttons .restaurant-button {
        background: transparent;
        border: 1px solid #444444;
        color: #ffffff;
    }

    /* Free Trial Button (Filled red style) */
    .mobile-menu-buttons .free-trial-button {
        background: #e5252a;
        border: 1px solid #e5252a;
        color: #ffffff;
    }
}



/* =========================================================
   RESPONSIVE DESIGN FOR CONTACT PAGE
   ========================================================= */

/* Tablet and Smaller Desktops (Max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .contact-banner {
        padding: 50px 40px;
    }
    
    .contact-main-section {
        padding: 50px 30px;
    }

    .contact-grid {
        gap: 40px;
    }
}

/* Tablets and Mobile Devices (Max-width: 768px) */
@media screen and (max-width: 768px) {
    .contact-banner {
        padding: 40px 20px;
        min-height: 180px;
        background-position: center; /* Mobile pe image center align ho jayegi */
    }


.site-logo {
    width: 100px;
}

    .contact-banner h1 {
        font-size: 32px;
    }

    .contact-main-section {
        padding: 40px 20px;
    }

    /* 2 Columns grid ko 1 Column kar diya hai */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-left-info h2 {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .contact-form-box {
        padding: 25px 20px; /* Mobile pe form padding kam ki hai */
    }

    .contact-form-box h3 {
        font-size: 22px;
    }
}


/* Mobile aur Tablet Screens ke liye Special Adjustment */
@media screen and (max-width: 992px) {
    .contact-banner {
        /* Mobile par background image ko 'contain' ya center set karein taake lady ki photo poori aur saaf dikhe */
        background-position: top right;
        background-size: auto; 
        padding: 40px 20px;
        min-height: 180px;
    }
    
    .contact-banner h1 {
        font-size: 34px;
    }
}
/* Small Mobile Phones (Max-width: 480px) */
@media screen and (max-width: 480px) {


    
    .contact-banner h1 {
        font-size: 28px;
    }

    .contact-left-info h2 {
        font-size: 22px;
    }

    .contact-info-block {
        gap: 15px;
    }

    .contact-info-block .icon-box {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .contact-info-block p, 
    .contact-info-block a {
        font-size: 14px;
    }

    .form-group input, 
    .form-group textarea {
        font-size: 16px; /* iOS zoom issue fix karne ke liye 16px best hai */
        padding: 10px 12px;
    }

    .submit-btn {
        padding: 12px;
        font-size: 14px;
    }
}



/* Responsive Design for About Page */
@media screen and (max-width: 992px) {
    .who-we-are-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .who-we-are-section {
        padding: 50px 20px;
    }
}



/* =========================================================
   RESPONSIVE MEDIA QUERIES (TABLETS & PHONES)
   ========================================================= */

   @media screen and (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .partner-benefits-grid,
    .steps-grid,
    .input-row {
        grid-template-columns: 1fr;
    }

    .partners-banner h1 {
        font-size: 28px;
    }

    .partners-intro h2 {
        font-size: 24px;
    }

    .partner-section-block,
    .partner-form-wrapper {
        padding: 20px 15px;
    }

    .partners-main-section {
        padding: 40px 10px;
    }
}


/* Responsive Design for Hardware Page */
@media screen and (max-width: 1024px) {
    .hardware-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .hardware-grid {
        grid-template-columns: 1fr;
    }
    .devices-main-section {
        padding: 40px 20px;
    }
   
}




/* Responsive */
@media screen and (max-width: 992px) {
    .split-grid, .cards-grid-3, .alt-row, .alt-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}





/* =========================================================
   RESPONSIVE MEDIA QUERIES (TABLETS & PHONES)
   ========================================================= */
   @media screen and (max-width: 1024px) {
    .key-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .retail-intro-grid,
    .retail-features-split,
    .key-cards-grid {
        grid-template-columns: 1fr;
    }

    .retail-banner h1,
    .section-heading {
        font-size: 26px;
    }

    .intro-text-box h2,
    .section-title {
        font-size: 24px;
    }

    .retail-main-section {
        padding: 40px 15px;
    }

    .play-icon-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 45px;
        height: 30px;
        background-color: rgba(255, 0, 0, 0.9);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .play-icon-btn i {
        color: #ffffff;
        font-size: 16px;
    }

}



/* Responsive Media Queries */
@media screen and (max-width: 1024px) {
    .features-grid-exact {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .features-grid-exact {
        grid-template-columns: 1fr;
    }
    .features-main-title {
        font-size: 32px;
    }
}




/* Responsive Media Queries */
@media screen and (max-width: 1024px) {
    .win-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .win-intro-grid,
    .win-cards-grid {
        grid-template-columns: 1fr;
    }

    .win-banner-inner h1,
    .win-section-heading {
        font-size: 26px;
    }

    .win-intro-text h2 {
        font-size: 24px;
    }
}