@media (min-width:320px) and (max-width:576px) {
    .location-container {
        display: none;
    }

    .location-container1 {
        display: block;
    }

    .card {
        margin-bottom: 0rem !important;
        margin-right: 0rem !important;
        margin-top: 0.1rem;
    }

    .service-row {
        margin-top: 1rem;
    }

    .product-section {
        padding: 210px 0px;
        padding-bottom: 0px;
    }

    .modal-dialog {
        /* max-width: 500px;  */
        max-width: 100%;
        margin: 10px;
    }

    .diet-card {
        border: 1px solid #ccc;
        border-radius: 8px;
        display: block;
        align-items: center;
        padding: 10px;
        margin: 0px;
        background-color: #fff;
        height: 18rem;
    }

    .modal-body {
        padding: 0px;
    }

    .diet-details h5 {
        font-size: 18px;
        font-weight: bold;
        margin-top: 9px;
    }

    .vrat-img {
        height: auto;
    }

    .banner-word {
        font-size: 15px;
        text-align: left;
    }

    #grocery-search {
        margin-top: -30px;
    }

    .search-input {
        background: white;
        border-radius: 50px;
        width: 95%;
    }

    #book-cater1 {
        width: 11.5rem;
        margin-right: 5px;
    }

    #book-cater {
        width: 10.5rem;
        margin-left: 0.5rem;
    }

    #franchise-desc {
        padding: 6px 10px;
    }

    #cook-chefdesc {
        padding: 6px 10px;
    }

    .service-card .service-overlay p {
        font-size: 12px;
        line-height: 1.4;
        color: #fff;
    }

    .service-card .service-overlay h5 {
        margin-bottom: 5px;
        font-size: 14px;
        font-weight: bold;
        color: #fff;
    }

    #catering-desc {
        padding: 6px 10px;
    }

    .header-actions {
        margin-right: -50px;
        gap: 5px;
    }

    .navbar-brand {
        padding-top: .3125rem;
        padding-bottom: .3125rem;
        margin-right: 1rem;
        font-size: 1.25rem;
        text-decoration: none;
        white-space: nowrap;
        margin-left: -24px;
    }

    #login {
        margin-right: 1px;
    }

    .subscription {
        text-align: end;
        display: flex;
        justify-content: space-between;
        align-items: self-end;
        margin-left: -6rem;
    }

    #book-cook {
        width: 10.5rem;
    }

    #dietry-sec {
        margin-top: -3rem;
    }

    #book-chef {
        width: 10.5rem;
        margin-top: 1rem;
        margin-left: 0.5rem;
    }

    #book-franchise {
        width: 10.5rem;
        margin-top: 1rem;
    }

    #para {
        font-size: 12px;
    }

    #banner-background {
        background-color: #ffffffdb;
        height: 35rem !important;
        margin-top: 20px !important;
        border-radius: 15px;
        padding: 19px 28px;
        width: 21.5rem;
    }

    #banner-catering {
        background-color: #ffffffdb;
        height: 44rem !important;
        margin-top: 20px !important;
        border-radius: 15px;
        padding: 19px 28px;
        width: 21.5rem;
    }

    

    #banner-cooked:hover {
        background: #28a745;
        color: #ffffff;
        border-color: #28a745;
    }

    #banner-ready:hover {
        background: #28a745;
        color: #ffffff;
        border-color: #28a745;
    }

    #banner-ready {
        background: transparent;
           color: #28a745;
        border: 2px solid #28a745;
        padding: 3px 4px;
        font-size: 12px;
    }

    #banner-cooked {
        background: transparent;
       color: #28a745;
        border: 2px solid #28a745;
        padding: 3px 7px;
        font-size: 12px;
    }
    

    #groceries {
        margin-top: -4rem !important;

    }

    #banner-btn {
        margin-top: -3.6rem;
        margin-left: -23px;
    }

    #food-search {
        margin-top: -2rem !important;

    }

    #btn-cook {
        margin-left: 1px;
    }

    #btn-ready-to {
        margin-left: -0.1rem;
    }

    


    #btn-dietary {
        background: transparent;
          color: #28a745;
        border: 2px solid #28a745;
        padding: 3px 5px;
        font-size: 12px;
    }


    #btn-vrat {
        background: transparent;
        color: #28a745;
        border: 2px solid #28a745;
        padding: 3px 25px;
        font-size: 12px;
    }

    #btn-diet {
        margin-left: 1px;
    }

    #button-vrat {
        margin-left: -0.1rem;
    }

    #banner-cook {
        background-color: #ffffffdb;
        height: 36.5rem !important;
        margin-top: 20px !important;
        border-radius: 15px;
        padding: 19px 4px;
        width: 21.5rem;
    }

    #banner-franchise {
        background-color: #ffffffdb;
        height: 34rem !important;
        margin-top: 20px !important;
        border-radius: 15px;
        padding: 19px 4px;
        width: 21.5rem;
    }

    h2 {
        /* font-family: 'Dancing Script', cursive; */
        font-family: 'Poppins';
        font-size: 1.5rem;
        color: #ff6600;
        margin-bottom: 30px;
        text-align: center;
        margin-top: 2rem !important;
    }

    #privacy {
        text-align: center;
    }

    #location {
        color: #ffffff;
        border: 1px solid #ffffff;
    }

    #book-catering {
        margin-top: 15px;
    }

    #hire-cook {
        margin-top: 15px;
    }

    .navbar .navbar-nav .nav-item {
        padding: 0px 0px 10px 34px;
    }

    .resize_catering-img {
        height: 19rem;
    }

    #hire-title {
        text-align: center;
    }



    #catering-title {
        text-align: center;
    }

    .catering {
        background-color: #ffffffdb;
        height: 42rem;
        margin-top: 5px;
        border-radius: 15px;
        /* padding: 22px 40px; */
        width: 23.5rem;
        padding: 4px 19px;
    }

    #kukmee-oulet {
        margin-top: 80px;
    }

    .chef_cook {
        background-color: #ffffffdb;
        height: 36rem;
        /* padding: 21px 15px; */
        padding: 4px 19px;
        border-radius: 15px;
        margin-top: 5px;
        width: 23.5rem;
    }

    #kukmart-oulet {
        margin-top: 80px;
    }

    #product-list {
        padding: 0px 30px;
    }

    .franchise {
        background-color: #ffffffdb;
        height: 33.5rem;
        border-radius: 15px;
        padding: 10px 19px;
        margin-top: 3px;
        width: 23.5rem;
    }

    #dietry {
        margin-left: -100px;
    }

    #refill {
        font-size: 10px;
        padding: 7px 7px;
    }

    #categories {
        font-size: 10px;
    }

    #repeat {
        font-size: 10px;
        padding: 7px 6px;
    }

    /* .btn-subscription {
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s 
ease-in-out;
    margin-left: 6rem;
} */

    #vrate-meal {
        margin-left: 6rem;
    }

    #vrat {
        margin-top: -1.5rem;
    }

    .food-box {
        height: auto;
        padding: 15px 25px 25px 25px !important;
    }

}

@media (min-width:577px) and (max-width:768px) {

    .navbar-brand {
        padding-top: .3125rem;
        padding-bottom: .3125rem;
        margin-right: 0rem;
        font-size: 1.25rem;
        text-decoration: none;
        white-space: nowrap;
    }

    .subscription {
        margin-top: 1rem;
        text-align: start;
    }

    .btn-subscription {
        margin-top: 1rem;
    }

    .service-row {
        margin-top: 3rem;
    }

}

@media (min-width:769px) and (max-width:991px) {
    .product-section {
        padding-bottom: 0px;
    }
}