* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.section-head {
    padding: 0px 20px 20px 20px;
}

.custom-btn {
    background: #fff;
    border: 2px solid #8b0815;
    color: #8b0815;
}

.custom-btn:hover {
    background: #8b0815;
    border: 2px solid #8b0815;
    /* border-radius: 25px; */
    color: #fff;
}


/* header */
#header {
    background: #80020e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0;

}

#header .navbar {
    padding: 0 !important;
}

.typewriter {
    display: inline-block;
    overflow: hidden;
    border-right: .15em solid #fff;
    white-space: nowrap;
    animation:
        typing 3s steps(30, end) 0s 1 normal forwards,
        blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    0% {
        width: 0;
    }

    40% {
        width: 100%;
    }

    60% {
        width: 100%;
    }

    100% {
        width: 0;
    }
}


@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: #fff;
    }
}


.typewriter {
    animation: typing 6s steps(30, end) infinite, blink-caret 0.75s step-end infinite;
}

#header .navbar-brand,
#header .nav-link {
    color: white;
}

.nav-item.custom-dropdown {
    position: relative;
}

.nav-item.custom-dropdown .dropdown-menu {
    position: absolute;
    left: 0;
    top: 100%;
    display: none;
    min-width: 200px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.nav-item.custom-dropdown:hover .dropdown-menu,
.nav-item.custom-dropdown:hover .user-dropdown {
    display: block;
}

.nav-item.custom-dropdown .user-dropdown {
    position: absolute;
    right: 0 !important;
    top: 100%;
    display: none;
    min-width: 200px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.nav-item.custom-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu .dropdown-header,
.user-dropdown .dropdown-header {
    padding: 10px;
    font-weight: bold;
    background-color: #f8f9fa;
}

.dropdown-menu .dropdown-item,
.user-dropdown .dropdown-item {
    padding: 8px 15px;
    display: block;
    color: #212529;
    text-decoration: none;
}

.dropdown-menu .dropdown-item:hover,
.user-dropdown .dropdown-item:hover {
    background-color: #f1f1f1;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100%;
    background: #fff;
    box-shadow: -3px 0 6px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1040;
    display: none;
}

.cart-overlay.active {
    display: block;
}

/* header End */


/* search css start */
#suggestProduct {
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    z-index: 9999;
}

#suggestProduct .suggestion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s, color 0.2s;
}

#suggestProduct .suggestion-item:hover,
#suggestProduct .suggestion-item.bg-gray-200 {
    background-color: #f0f0f0;
    color: #000;
}

#suggestProduct .suggestion-item img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 4px;
}

#suggestProduct a.text-gray-500 {
    color: #999;
    cursor: default;
}

/* search css end */


/* Register Form Css start */

.step-indicator {
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 1rem;
}

.step-header {
    position: relative;
    padding: 10px 20px;
    background-color: #ccc;
    color: #fff;
    margin-right: 5px;
    min-width: 300px;
    text-align: center;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%);
    transition: background-color 0.3s ease;
}

.step-header.active {
    background-color: #8b0815;
    color: #fff;
}

.step-header .step-label {
    display: block;
    line-height: 1.2;
}

.step-header:last-child {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

input.form-control {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

select.form-control {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

textcategory.form-control {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

a.login-link:hover {
    color: #8b0815;
}

.step label,
.step input,
.step select,
.step textcategory,
.step h5 {
    font-size: 13px !important;
}

/* Register Form Css end */


/* Search */
* {
    box-sizing: border-box;
}

.search {
    position: relative;
    left: 150px;
    flex: 2;
    max-width: 600px;
}

/* search css end */

/* slider start */
img.carousel-image {
    object-fit: cover;
    height: 94vh;
    width: 100%;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 12%;
    transform: translateY(-50%);
    text-align: left;
    max-width: 600px;
}

.carousel-caption h5 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.carousel-caption p {
    font-size: 1.2rem;
    font-weight: 400;
    color: #fff;
    margin-top: 10px;
}

.carousel-caption .btn {
    background-color: #80020e;
    color: white;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 15px;
    text-decoration: none;
}

.carousel-caption .btn:hover {
    background-color: #80020e;
}

/* slider end */

/* chairman message start */

.chairman-message-card {
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 8px 8px 0 0;
    padding: 15px;
    height: auto;
    min-height: 280px;
}

.chairman-message-header {
    background-color: #444;
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

.chairman-message-content {
    padding: 15px;
}

.chairman-message-body {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.chairman-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.chairman-name {
    font-size: 18px;
    margin-bottom: 5px;
}

.chairman-title {
    font-size: 16px;
    margin: 0;
}

.chairman-message-label {
    font-weight: bold;
    display: inline-block;
    border-bottom: 1px solid #000;
    margin-bottom: 10px;
}

.chairman-message-text {
    text-align: justify;
    font-size: 14px;
}


/* chairman message end */


/* video section start */

.chairman-video-card iframe {
    width: 100%;
    height: 100%;
}


/* video section end */


/* category css start */

#category h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #80020e;
}

#category p {
    font-size: 0.9rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 20px;
}

.browse-btn {
    background-color: transparent;
    color: #80020e;
    font-size: 1rem;
    padding: 10px 50px;
    border-radius: 5px;
    border: 2px solid #80020e;
    text-decoration: none;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.browse-btn:hover {
    background-color: #80020e;
    color: white;
    border-color: #80020e;
}


#category {
    padding: 40px;
}

.scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 10px;
    scrollbar-width: thin;
}

.scroll-container::-webkit-scrollbar {
    height: 6px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.category-card {
    flex: 0 0 auto;
    width: 250px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.category-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.category-card:hover {
    transform: translateY(-5px) scale(1.03);
}

.category-card p {
    margin: 10px 0;
    font-size: 1rem;
    color: #333;
}

/* category css end */

/* food item start */
.category-btn {
    background-color: transparent;
    color: #80020e;
    border: 2px solid #80020e;
    padding: 8px 16px;
    border-radius: 6px;
    transition: 0.3s;
    cursor: pointer;
}

.category-btn:hover {
    background-color: #80020e;
    color: #fff;
    border-color: #80020e;
}


#food-items .card-img-top {
    height: 180px;
    object-fit: cover;
}

#food-items .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#food-items .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.order-btn {
    display: inline-block;
    background-color: #80020e;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 12px;
    line-height: 1.5;
}

.buy-btn {
    display: inline-block;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 12px;
    line-height: 1.5;
}

.order-btn:hover {
    background-color: #5c0109;
    color: #fff;
}

/* food item end */


/* catering css start */

#catering {
    background-color: #f5f5f5;
    width: 95%;
}

#catering h3 {
    font-size: 2rem;
}

#catering p {
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: justify;
}

#catering .btn {
    width: 75px;
    height: 45px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#catering .btn i {
    font-size: 1.2rem;
    color: white;
}

/* catering css end */


/* Corporate Catering start */
#corporate-catering {
    background-color: #f5f5f5;
    width: 95%;
}

#corporate-catering h3 {
    font-weight: 600;
    font-size: 1.75rem;
    color: #80020e;
}

#corporate-catering p {
    font-size: 0.85rem;
    color: #6C757D;
    margin-bottom: 0;
}

#corporate-catering .btn-outline-success {
    font-size: 14px;
    padding: 8px 20px;
    width: 35%;
    border: 2px solid #80020e;
    color: #80020e;
    background-color: transparent;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#corporate-catering .btn-outline-success:hover {
    background-color: #80020e;
    color: #fff;
}

#corporate-catering .btn-success {
    width: 75px;
    height: 50px;
    padding: 0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#corporate-catering .btn-success i {
    font-size: 1.4rem;
    color: #fff;
}

#corporate-catering .card {
    border-radius: 10px;
    overflow: hidden;
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    height: 100%;
}

#corporate-catering .card img {
    height: 170px;
    object-fit: cover;
    width: 100%;
}

#corporate-catering .card-body {
    padding: 15px;
}

#corporate-catering .card-body h6 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
}

#corporate-catering .card-body p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.blog-btn {
    background-color: transparent;
    color: #80020e;
    font-size: 1rem;
    padding: 5px 50px;
    border-radius: 5px;
    border: 2px solid #80020e;
    text-decoration: none;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-btn:hover {
    background-color: #80020e;
    color: white;
    border-color: #80020e;
}

/* Adjust spacing between heading row and cards */
#corporate-catering .row.mb-4 {
    margin-bottom: 30px !important;
}

/* Corporate Catering Section end */


/* Why Choose start */

.why-cookups-image {
    height: 470px;
    width: 480px;
}

.earn-image {
    height: 470px;
    max-width: 510px;
}

.get-start-btn {
    background-color: transparent;
    color: #80020e;
    font-size: 1rem;
    padding: 10px 50px;
    width: 50%;
    border-radius: 5px;
    border: 2px solid #80020e;
    text-decoration: none;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.get-start-btn:hover {
    background-color: #80020e;
    color: white;
    border-color: #80020e;
}

.become-cook-btn {
    background-color: #80020e;
    color: white;
    font-size: 1rem;
    padding: 10px 50px;
    width: 45%;
    border-radius: 5px;
    text-decoration: none;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.become-cook-btn:hover {
    background-color: #80020e;
    color: white;
}

/* Why Choose end */


/* Review Start */
.review-box {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 40px;
    max-width: 90%;
    margin: auto;
    background: #fff;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(45%) sepia(77%) saturate(243%) hue-rotate(75deg) brightness(85%) contrast(89%);
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* Review End */


/* management start */
#management {
    background-color: #f5f5f5;
    width: 95%;
}

/* management end */


/* footer css start */
#footer {
    background: linear-gradient(#0f172a);
}

.footer-top {
    position: relative;
    /* left: 65px; */
}

.footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
}

.footer .footer-links ul {
    padding: 0;
}

.contact {
    position: relative;
    left: 72px;
}

/* footer css end */



/* hotel details */
#image-gallery li img {
    width: 100%;
    height: 300px;
    object-fit: fill;
}

.lSSlideOuter .lSPager.lSGallery img {
    width: 100%;
    height: 45px;
    object-fit: fill;
}

.lSSlideOuter .lSPager.lSGallery li.active,
.lSSlideOuter .lSPager.lSGallery li:hover {
    border-radius: unset;
    border-top: 1px solid #193E6C;
    border-left: 1px solid #193E6C;
    border-right: 1px solid rgb(236 53 59);
    border-bottom: 1px solid rgb(236 53 59);
    padding: 2px;
}

.lSSlideOuter .lSPager.lSGallery li.active img,
.lSSlideOuter .lSPager.lSGallery li:hover img {
    height: 39px;
}

#details {
    padding: 50px;
}

.tab-content {
    height: 370px;
    overflow-y: auto;
}


/* features css start */
.features {
    position: relative;
    top: -5px;
}

.features-card {
    background-color: #f2f5f8;
    width: 100%;
    height: 35px;
}

.feature-card-body {
    height: 100%;
}

.feature-text {
    font-size: 0.78rem;
}

.feature-icon {
    width: 25px;
}

/* features css end */


/* comment css start */
.comment-section {
    position: relative;
    top: 40px;
}

.scroll-section {
    max-height: 300px;
    overflow-y: auto;
}


.nav-tabs .nav-link.active {
    background-color: #8b0815;
    color: #fff;
    border-color: #8b0815 #8b0815 #fff;
}

/* hotel details css end */


/* category page start */

#category-page {
    padding: 40px;
}

.call-to-order {
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
}

.call-to-order a {
    color: black;
    font-weight: bold;
    text-decoration: none;
}

.category-page-card {
    flex: 0 0 auto;
    width: 200px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: center !important;
    transition: transform 0.3s ease;
}

.category-page-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.category-page-card:hover {
    transform: translateY(-5px) scale(1.03);
}

.category-page-card p {
    margin: 10px 0;
    font-size: 1rem;
    color: #333;
}

/* category page end */



/* breadcrumb start */

#breadcrumb {
    list-style: none;
    display: inline-block;
    padding-left: 2px;

    .icon {
        font-size: 14px;
    }

    li {
        float: left;

        a {
            color: #FFF;
            display: block;
            background: #3498db;
            /* blue */
            text-decoration: none;
            position: relative;
            height: 40px;
            line-height: 40px;
            padding: 0 10px 0 5px;
            text-align: center;
            margin-right: 23px;
        }

        &:nth-child(even) {
            a {
                background-color: #2980b9;
                /* blue darken */

                &:before {
                    border-color: #2980b9;
                    border-left-color: transparent;
                }

                &:after {
                    border-left-color: #2980b9;
                }
            }
        }

        &:first-child {
            a {
                padding-left: 15px;
                border-radius: 4px 0 0 4px;

                &:before {
                    border: none;
                }
            }
        }

        &:last-child {
            a {
                padding-right: 15px;
                border-radius: 0 4px 4px 0;

                &:after {
                    border: none;
                }
            }
        }

        a {

            &:before,
            &:after {
                content: "";
                position: absolute;
                top: 0;
                border: 0 solid #3498db;
                border-width: 20px 10px;
                width: 0;
                height: 0;
            }

            &:before {
                left: -20px;
                border-left-color: transparent;
            }

            &:after {
                left: 100%;
                border-color: transparent;
                border-left-color: #3498db;
            }

            &:hover {
                background-color: #1abc9c;

                &:before {
                    border-color: #1abc9c;
                    border-left-color: transparent;
                }

                &:after {
                    border-left-color: #1abc9c;
                }
            }

            &:active {
                background-color: #16a085;

                &:before {
                    border-color: #16a085;
                    border-left-color: transparent;
                }

                &:after {
                    border-left-color: #16a085;
                }
            }
        }
    }
}


/* breadcrumb end */


/* Media Query css */

@media (max-width: 768px) {

    .nav-item.custom-dropdown .dropdown-menu {
        position: relative;
        width: 60%;
    }

    .nav-item.custom-dropdown .user-dropdown {
        position: relative;
        left: 0;
        width: 60%;
    }

    .contact {
        position: relative;
        left: 0px;
    }

    .footer-top {
        position: relative;
        left: 0px;
    }

    .step-header {
        min-width: 0px;
    }

    .search {
        position: relative;
        left: 0px;
        display: none;
    }

    .slider_section {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 103%;
    }

    img.carousel-image {
        object-fit: fill;
        height: 60vh;
        width: 100%;
    }

    .carousel-caption {
        position: absolute;
        top: 45%;
        left: 20%;
    }

    .carousel-caption h5 {
        font-size: 1.2rem;
    }

    .carousel-caption .btn {
        padding: 10px 5px;
        font-size: 15px;
    }

    .chairman-message-card {
        position: relative;
        top: 5px;
        width: 90%;
        height: 56%;
        margin: 0 auto;
    }

    .chairman-video-card iframe {
        width: 90%;
        height: 260px;
        margin-left: 20px;
    }

    #product-list .col-12 {
        flex: 0 0 auto;
        width: 80%;
        margin: 0 auto;
    }

    #related-products .col-12 {
        flex: 0 0 auto;
        width: 80%;
        margin: 0 auto;
    }

    #corporate-catering .btn-outline-success {
        width: 40%;
    }

    .earn-image {
        height: 340px;
    }

    .become-cook-btn {
        width: 50%;
    }

    .category-page-card {
        position: relative;
        right: 45px;
    }

    #breadcrumb {
        padding-left: 40px;
    }

    #product-details #breadcrumb {
        padding-left: 0px;
        width: max-content;
        font-size: small;
    }
}

@media screen and (min-width: 1400px) {
    .search {
        position: relative;
        left: 250px;
    }

    .chairman-message-card {
        max-height: 400px;
        overflow-y: auto;
    }

    .chairman-video-card {
        max-height: 280px;
    }

    .chairman-video-card iframe {
        height: 450px;
    }
}