@media screen and (min-width:1200px) and (max-width:1400px) {
    body{
        overflow-x: hidden;
    }
    
    .heading-text h1{
        font-size: 32px;
    }

    .design-btn a{
        padding: 15px 30px;
    }

    .slider{
        width: 550px;
    }

    .slide{
        width: 90%;
    }

    .map-holder iframe{
        width: 500px;
    }

    .name {
        transform: translateY(-70%);
    }
    
    .follow-card:hover .name {
        transform: translateY(70%); /* Moves the text into view */
    }
}

@media screen and (min-width:1024px) and (max-width:1200px) {
    /* .hideOnMobile{
        display: none;
    }    */
    
    .navbar ul{
        margin-left: 150px;
    }

    .Menu-button{
        display: none;
        fill: #000;
    }

    .heading-text h1{
        font-size: 30px;
    }

    .design-btn a{
        padding: 15px 30px;
    }

    .slider{
        width: 400px;
        height: 250px;
    }

    .slide{
        width: 90%;
    }

    .map-holder iframe{
        width: 350px;
    }

    .about-heading{
        font-size: 20px;
    }

    .main-logo-holder img{
        max-width: 250px;
    }

}

@media screen and (min-width:768px) and (max-width:1024px){

    .Menu-button{
        display: block;
    }

    .navbar .Menu-button{
        position: relative;
        left: 330px;
    }

    .sidebar ul{
        margin: 100px auto;
    }

    .heading-text h1 {

        font-size: 1.5rem; /* Adjust font size for medium devices */

    }

    .heading-btns-holder {

        display: flex;

        flex-direction: column; /* Stack buttons vertically */

    }

    .heading-btns-holder .design-btn {

        margin-bottom: 60px; /* Add space between buttons */

    }

    .slider{
        max-width: 300px;
        height: 250px;
    }

    .categories-section{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .card-holder{
        width: 70%;
    }

    .border-box{
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .hidden .card-holder{
        width: 70%;
    }

}

@media screen and (min-width:480px) and (max-width:768px){
    body{
        overflow-x: hidden;
    }

    .slider{
        display: none;
    }

    .hideOnMobile{
        display: none;
    }
    
    .Menu-button svg{
        display: block;
    }

    .Menu-button{
        position: relative;
        /* left: 20px; */
        top: 10px;
    }

    .sidebar ul{
        margin: 100px auto;
    }

    .heading-text h1 {

        font-size: 1.5rem; /* Adjust font size for medium devices */
        max-width: 400px;
        text-align: center;

    }

    .heading-btns-holder {

        display: flex;

        flex-direction: column; /* Stack buttons vertically */

    }

    .heading-btns-holder .design-btn {

        margin-bottom: 60px; /* Add space between buttons */

    }

    .row {

        display: flex;
    
        flex-wrap: wrap; /* Allow wrapping */
    
        align-items: center; /* Center items vertically */
    
    }

    .categories-section{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .card-holder{
        width: 70%;
    }

    .border-box{
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .hidden .card-holder{
        width: 70%;
    }

    .adress-holder{
        text-align: center;
    }

    .footer-logo-holder{
        margin: 0 auto;
        text-align: center;
    }
}

@media screen and (min-width:320px) and (max-width:480px){
    
    body{
        overflow-x: hidden;
    }

    .heading-text{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hideOnMobile{
        display: none;
    }

    .Menu-button svg{
        display: block;
        fill: #000;
    }
    
    .Menu-button{
        position: relative;
        left: 10px;
        top: 10px;
    }

    .heading-text h1 {

        font-size: 1.5rem; /* Adjust font size for medium devices */
        max-width: 300px;
    }

    .sidebar ul{
        margin: 100px auto;
    }

    .slider{
        display: none;
    }

    .heading-btns-holder {

        display: flex;

        flex-direction: column; /* Stack buttons vertically */

    }

    .heading-btns-holder .design-btn {

        margin-bottom: 60px; /* Add space between buttons */

    }

    .row {

        display: flex;
    
        flex-wrap: wrap; /* Allow wrapping */
    
        align-items: center; /* Center items vertically */
    
    }

    .categories-section{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .card-holder{
        width: 100%;
    }

    .border-box{
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .hidden .card-holder{
        width: 100%;
    }

    .main-logo-holder img{
        width: 200px;
    }
}
