/* X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1400px) {
    .about-card-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1200px) {
    .about-card-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .get-text {
        padding: 50px;
    }

    .hero {
        padding: 100px 0px 300px 0px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 992px) {
    .about-card-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .sec-head {
        transform: translateX(0px) !important;
    }

    .sec-head h2 {
        margin-left: 0 !important;
        margin-top: 10px !important;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 768px) {
    .hero {
        padding: 50px 0;
    }

    .floting-img #hero-img-1,
    .floting-img #hero-img-2,
    .floting-img #hero-img-3,
    .floting-img #hero-img-4 {
        display: none;
    }

    .about-card-container {
        grid-template-rows: 150px 150px;
    }

    .th-btn {
        padding: 20px 10px;
    }

    /* .product-inner {
        grid-template-columns: repeat(4, 200px);
    } */

    .contact-icon .fal {
        width: 35px;
        height: 35px;
        line-height: 35px;
    }

    .get-text {
        padding: 50px 10px 20px 10px;
    }

    #test-left {
        text-align: end;
    }

    #test-right {
        text-align: start;
    }

    .test-arrow {
        margin-top: 20px;
    }

    .proud-partnerships {
        padding-bottom: 50px;
    }
    .testimonial-inner {
        gap: 10px;
        padding: 1rem;
        border-radius: 10px;
        border: 1px solid #575C5629;
    }
    h1 {
        letter-spacing: 0px;
    }
    .hero::before{
        display: none;
    }
    .sec-head img{
        display: none;
    }
    .sec-head h2{
        margin-top: 0px !important;
    }
    .sec-head {
        margin-bottom: 20px;
    }
    .product-inner {
        max-width: 1200px;
        overflow-x: scroll;
        grid-template-columns: repeat(5, 250px);
    }
    /* .product-inner {
        width: 150%;
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    } */
    .our-product     .sec-head h2 {
       width: 100%;
    }
    .product-inner{
        margin-top: 30px;
    }
    .contact-form {
        padding: 40px 20px;
        background-color: var(--color-1);
        border-radius: 0px;
    }
}

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 576px) {
    footer ul {
        margin: 0;
        padding: 0;
    }

    .proud-partnerships {
        background-position: left center;
        padding: 50px 0;
    }

    .our-placements-head::before {
        height: 4px;
        bottom: 15px;
    }

    
    .th-btn {
        line-height: 100%;
    }
    header>.container-xxl img {
        max-width: 60px;
    }
    .hero{
        padding-bottom: 0;
    }
    .our-placements,
    .contact-us,
    .our-product,
    .why-choose-us,
    .about-us
    {
        padding: 40px 0;
    }
    
    .test-img{
        max-width: 70px;
    }
    .about-card-container {
        grid-template-rows: 110px 110px;
    }
    .get-text input{
        flex: 1 1 38px;
        padding: 10px 20px;
    }
    .contact-us{
        padding-top: 0;
    }
    .contact-us .sec-head{
        border: none;
    }
    .proud-partnerships h2,
    .sec-head h2{
        width: 100%;
    }
    .proud-text{
        background-color: #FFFBEE;
        padding: 30px 15px;
    }
    .proud-partnerships {
        padding-bottom: 0px;
    }
}