/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    
    

    /* .product-card {
        background: #f9fafb;
        border-radius: 10px;
        overflow: hidden;
        text-align: left;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        padding: 20px;
        height: 550px;
        width: 350px;
        
        display: block !important;
    } */

    .mainImage{
        width: 100%;
    }
    
}




/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .navbar-nav .nav-item .nav-link {

        margin-left: 40px;
    }

    .btn-header {
        margin-left: 40px;
    }
    
    
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .navbar-nav .nav-item .nav-link {

        margin-left: 40px;
    }

    .btn-header {
        margin-left: 40px;
    }
    
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .navbar-nav .nav-item .nav-link {

        margin-left: 40px;
    }

    .btn-header {
        margin-left: 40px;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .navbar-nav .nav-item .nav-link {

        margin-left: 40px;
    }

    .btn-header {
        margin-left: 40px;
    }
}

@media only screen and (max-width: 768px) {
    .logom{
        margin-left: 0px;
    }
    .home-why .sec1p{
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-buttons {
        display: flex;
        justify-content: center;
        padding: 0px;
    }

    .hero-buttons a{
        font-size: 16px !important;
    }

    .wcops{
        font-size: 30px;
        text-align: center;
        margin-bottom: 30px;
    }
    .home-industries {
        margin-left: 0px !important;
    }
    .sec1p{
         margin-left: 37px;  
    }
    .home-card-wcops{
        margin-bottom: 50px;
    }
    .octs{
        margin-left: 10px;
    }
    .indexsection{
        margin-left: -15px;
        
    }
    .sustainability-list li{
        /* margin-left: -100px; */
        width: 100%;
        display: flex;
        justify-content: left;
        align-items: start;
    }

    .sustainability-list{
        margin-left: -15px;
    }

    .sec1p{
        margin-left:0px !important;
    }
    .grid-item{
        font-size: 15px;
    }
    .grid-item ul li{
        margin-left: -10px;
    }
    
    .ourglobalcard{
        padding-bottom: 20px;
    }
    .sec1p{
        margin-left: 20px;
    }
    /* .card-div2{
        margin-left: 10px;
    } */
    
    .slider{
        max-width: 100% !important;
    }

    .product-card{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .card-div1{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 0px;
    }
    .card-Industries{
        margin: 0px !important;
        max-width: 100% !important;
    }

    .grid-item video {
        width: 350px;
        
    }

    .about-story video {
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }

    .our-image {
        width: 100%;
        height: 100%;
    }

    .grid-item1 ul li {
        margin-left: 0px;
    }

    .abf {
        margin-top: 10px;
    }

    .our-value {
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }

    .footer {
        flex-direction: column;
    }

    .footer-content {
        justify-content: center;
    }
    .footer-social-icons{
        margin-bottom: 20px;
    }
    .fps{
        font-size: 49px;
    }
}

@media (min-width:768px) and (max-width:1024px){

    .grid-item video {
        width: 550px;
    }
    .sustainability-image{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .sustainability-list li {
        margin-left: 0px;
        display: flex;
        justify-content: left;
        align-items: start;
    }
    .whatourclients{
        margin-bottom: 70px;
    }
    .card-div2{
        height: 100%;
    }
    .ourglobalcard{
        margin-bottom: 30px;
    }
    .back-content img{
        padding: 30px !important;
}
.custom-card {
    padding: 15px;
    height: 95%;
    width: 100%;
}

}
@media (min-width:1400px){

    .hero{  
        width: 100% !important;
        overflow-x: hidden;
    }
    .why-choose{
        width: 100%;
    }
    .product-card{
        width: 400px;
    }
    .sustainability-image img{
        width: 90%;
    }
    .card-div2{
        width: 90%;
        margin-left: 5%;
    }
    .cprd{
        width: 100%;
    }
    .indexsectionthree{
        width:100%;
    }
    .ourcommitment{
        width: 100%;
        overflow-x: hidden;
    }
    .about-madhav-fab,
    .about-global,
    footer{
        width: 100%;
    }
    .whatourclients{
        width: 100%; 
    }
}