@media (max-width: 767px) {
    .btn-primary, .btn-secondary {
        padding: 10px 15px;
        font-size: 14px;
    }

    .navbar-brand img {
        width: 80%;
        height: auto;
    }

    header {
        z-index: 999;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .navbar-collapse a, .navbar-collapse i {
        color: #2B354B;
    }

    .header-socials i {
        line-height: normal;
    }

    .navbar-toggler {
        padding: 0 20px;
        /* font-size: 40px; */
        line-height: 1;
        color: #2B354B;
        background-color: transparent;
        border: 0;
        border-radius: 0;
    }

    .navbar-toggler i {
        color: #2B354B;
        font-size: 30px;
    }

    .navbar-toggler:focus {
        text-decoration: none;
        outline: 0;
        box-shadow: none;
        border: 0;
    }

    .navbar {
        padding: 10px 15px;
    }

    .navbar-nav {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        border: 0;
    }

    .header .nav-item {
        justify-content: center;
        margin-bottom: 15px;
    }

    .header .navbar-nav .nav-item .nav-link, .header .navbar-nav .nav-item .dropdown-menu li {
        padding: 0px;
        border-bottom: transparent;
        line-height: normal;
        padding-top: 0;
        font-size: 16px;
        font-weight: 400;
    }

    .dropdown-menu[data-bs-popper] {
        top: 46px;
        left: auto;
        border: 0;
        box-shadow: none;
        background-color: transparent;
        text-align: center;
    }

    .dropdown-item {
        display: block;
        width: 100%;
        padding: 0;
        clear: both;
        font-weight: 400;
        color: var(--bs-dropdown-link-color);
        text-align: inherit;
        text-decoration: none;
        white-space: nowrap;
        background-color: transparent;
        border: 0;
        border-radius: 0;
    }

     /* Home */ 
    .home-header .carousel-item {
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        height: 350px;
    }   
    .home-header .carousel-caption {
        position: absolute;
        right: auto;
        bottom: 0;
        top: 0;
        left: 5%;
        padding-top: 0;
        padding-bottom: 0;
        color: #fff;
        text-align: left;
        width: auto;
        align-content: center;
        z-index: 999;
    }

    .home-header .carousel-caption h1 {
        font-size: 25px;
    }

    .home-header .carousel-caption p {
        line-height: normal;
    }

    .home-header .carousel-item img {
        height: 350px;
    }

    .home-how-can-we-help .card .card-img-overlay {
        bottom: 0!important;
        background-color: rgb(43 53 75 / 41%);
        padding-bottom: 20px;
    }

    .home-how-can-we-help {
        padding: 10% 0;
    }

    .fresh-daily {
        padding-bottom: 15%;
    }

    .customize-tools {
        top: 100%;
    }

    .customize-tools .controls .prev {
        left: 35%;
    }

    .customize-tools .controls .next {
        right: 35%;
    }

    .home-about {
        padding: 15% 0;
    }

    .home-about-video {
        /* height: fit-content; */
        height: 500px;
    }

    #background-video {
        object-fit: cover;
        width: 100%;
        height: -webkit-fill-available;
        position: fixed;
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        margin: auto;
        z-index: -1;
        max-height: none;
    }

    .wholesale-orders {
        padding: 10% 0;
    }

    .wholesale-orders img {
        margin-top: 40px;
    }

    select {
        box-shadow: none;
    }

    .reviews {
        padding: 10% 0 20% 0;
    }

    .reviews .customize-tools {
        top: 104%;
    }

    .reviews .card {
        height: 100% !important;
        min-height: 100%;
    }

    #map {
        height: 250px;
        width: 100%;
    }

    .about, .about-gallery, .product, .wine-gallery, .where-logos, .processing-team, .wholesale-services, .restaurant-gallery, .restaurant, .contact {
        padding-bottom: 10%;
    }

    .product-page {
        padding: 10% 0;
    }

    .wine-page, .wholesale-services {
        padding: 10% 0;
    }

    .product-page h1 {
        font-size: 25px;
    }

    .wine-page img {
        margin-bottom: 40px;
    }

    .contact .h3, .contact .h3 a {
        font-size: 20px !important;
    }

    .contact i {
        font-size: 30px;
    }

    /* Footer */
    footer {
        text-align: center;
        padding: 10%;
    }

    footer img {
        width: 100%;
    }

    .footer-socials {
        margin-top: 20px;
    }

    .footer p>i {
        font-size: 22px;
    }

    .footer-socials i {
        font-size: 21px;
        height: auto;
        width: 25px;
        line-height: 30px;
        padding: 0;
    }
    
    .footer-socials a {
        vertical-align: middle;
        line-height: 35px;
        text-align: center;
        padding: 5px;
        width: 50px;
        height: 50px;
        margin: 10px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    h4, .h4 {
        font-size: 20px;
    }
    
    .mobi-login {
        display: block;
        text-align: center;
    }

    .mobi-logo img {
        width: 50%;
    }

    header {
        z-index: 999;
        top: 33px;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: auto;
        right: 0px;
        width: 40%;
        background-color: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .navbar-collapse a, .navbar-collapse i {
        color: #000;
    }

    .header-socials i {
        line-height: normal;
    }

    .navbar-toggler {
        padding: 0 0 0 20px;
        line-height: 1;
        color: #000;
        background-color: transparent;
        border: 0;
        border-radius: 0;
    }

    .navbar-toggler i {
        color: #000;
        font-size: 30px;
    }

    .navbar-toggler:focus {
        text-decoration: none;
        outline: 0;
        box-shadow: none;
        border: 0;
    }

    .navbar {
        padding: 0 10px;
    }

    .navbar-nav {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        border: 0;
    }

    .header .navbar-nav .nav-item .nav-link {
        padding: 0px;
        border-bottom: transparent;
        line-height: normal;
        font-size: 16px;
    }

    .header .nav-item {
        justify-content: center;
        margin-bottom: 15px;
    }

    .header .navbar-nav .nav-item .nav-link, .header .navbar-nav .nav-item .dropdown-menu li {
        padding: 0px;
        border-bottom: transparent;
        line-height: normal;
        padding-top: 0;
        font-size: 16px;
        font-weight: 400;
    }

    .dropdown-menu[data-bs-popper] {
        top: 46px;
        left: auto;
        border: 0;
        box-shadow: none;
        background-color: transparent;
        text-align: center;
    }

    .dropdown-item {
        display: block;
        width: 100%;
        padding: 0;
        clear: both;
        font-weight: 400;
        color: var(--bs-dropdown-link-color);
        text-align: inherit;
        text-decoration: none;
        white-space: nowrap;
        background-color: transparent;
        border: 0;
        border-radius: 0;
    }

    /* Home */
    .home-header .carousel-caption {
        left: 5%;
        width: 70%;
    }

    .home-header .carousel-caption h1 {
        font-size: 25px;
    }

    .home-header .carousel-item {
        height: 320px;
    }

    .home-how-can-we-help .card .card-img-overlay {
        bottom: 0!important;
        background-color: rgb(43 53 75 / 41%);
        padding-bottom: 20px;
    }

    .customize-tools .controls .next {
        right: 0px;
    }

    .customize-tools .controls .prev {
        left: 0px;
    }

    .wholesale-orders img {
        margin-top: 40px;
    }

    .product-page h1 {
        font-size: 35px;
    }

    .contact a>i {
        font-size: 30px;
    }

    .error-page {
        padding: 20vh 0;
    }
    
    /* Footer */
    footer {
        padding: 5% 0;
    }

    footer img {
        width: 60%;
        height: auto;
        margin-bottom: 40px;
    }

    #map {
        height: 400px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    p, li, a {
        line-height: normal;
    }
    .logo img {
        width: 100%;
    }

    .navbar-nav .btn-primary {
        padding: 10px 10px;
        font-size: 14px;
    }

    .navbar-nav {
        width: 100%;
    }

    .header .navbar-nav .nav-item .nav-link {
        padding: 0 0 0 10px;
    }

    .dropdown-menu[data-bs-popper] {
        top: 34px;
    }

    .header .navbar-nav .nav-item .nav-link i {
        line-height: 10px;
        vertical-align: middle;
    }

    /* Home */
    .home-header .carousel-caption {
        left: 5%;
        width: 70%;
    }

    .home-header .carousel-caption h1 {
        font-size: 25px;
    }

    .home-header .carousel-item {
        height: 320px;
    }

    .home-how-can-we-help .card .card-img-overlay {
        bottom: 0!important;
        background-color: rgb(43 53 75 / 41%);
        padding-bottom: 10px;
    }

    .contact a>i {
        font-size: 25px;
    }

    .error-page {
        padding: 20vh 0;
    }

    /* Footer */
    .footer-socials i {
        font-size: 21px;
        height: auto;
        width: 25px;
        line-height: 30px;
        padding: 0;
    }
    
    .footer-socials a {
        vertical-align: middle;
        line-height: 25px;
        text-align: center;
        padding: 5px;
        width: 40px;
        height: 40px;
    }
}

@media (min-width: 1199px) and (max-width: 1600px) {
    .header .navbar-nav .nav-item .nav-link {
        padding: 0 0 0 15px;
        font-size: 15px;
    }

    .dropdown-menu[data-bs-popper] {
        top: 65px;
    }

     /* Home */

    .home-header .carousel-item {
        height: 500px;
    }

    .home-header .carousel-caption {
        left: 5%;
        width: 60%;
    }

    .error-page {
        padding: 30vh 0;
    }
}

@media (min-width: 1390px) and (max-width: 1600px) {
    .logo img {
        width: 100%;
        padding: 5px 0;
    }

    .header .navbar-nav .nav-item .nav-link {
        padding: 0 0 0 30px;
        font-size: 15px;
    }

    .home-header .carousel-item {
        height: 570px;
    }

     .home-header .carousel-caption {
        left: 8%;
    }
}
@media (min-width: 2000px) and (max-width: 2600px) {
    .home-header .carousel-caption {
        left: 25%;
    }
}