@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Momo+Signature&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

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

body {
    font-family: "Playfair Display", serif;
    background-color: rgb(8, 8, 8);

}

:root {
    --blue: #1D3557;
    --white: #F1FAEE;
    --red: #E63946;
    --black: #0a0a0a;
    --orange: orange;

}

/* --------------------- common element ------------------ */
ul {
    list-style: none;
}

a {
    display: inline-block;
    text-decoration: none;
    /* background-color: brown; */
}

/* ------------------ common class --------------------- */
.container {
    max-width: 1920px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0 15px;
}

.hovering:hover {
    color: var(--orange) !important;
    ;
}

/* ------------- top bar ------------ */

.top-left a {
    margin-left: 8px;

}

.top-left,
.topbar-center,
.topbar-right {
    font-size: 14px;
}

.topbar-right a {
    margin-left: 15px;
}

.top-left a:hover {
    color: var(--orange) !important;
}

.topbar-right a:hover {
    color: var(--orange) !important;
}

/* Responsive */
@media (max-width: 767px) {
    .topbar-center {
        display: block;
    }

    .top-left a {
        display: block;
        margin: 4px 4px;
        text-align: center;
    }

    .topbar-right a {
        margin: 0 4px;
        text-align: center;
    }
}

/* ----------------- navbar --------------- */
.navbar {
    background-color: var(--blue);
}

.nav_link {
    font-weight: bold;

}

.nav_link.active,
.nav_link:hover {
    color: var(--orange) !important;
    border-bottom: 1px solid var(--orange);


}
.navbar-nav{
    margin-left:150px;
}
.nav-item{
    margin-right: 20px;
}
.active {
    border-bottom: 1px solid var(--orange);

}

.navbar_brand img {
    width: 30px;
    height: 30px;
}

.nav_icon {
    color: var(--white);
}

.nav_icon li a {
    margin-left: 52px;

}

.icon_box {
    border-right: 1px solid var(--white);
    /* padding-right: 158px; */
    padding: 10px;
    transition: all 0.5 ease-in-out;


}

.icon_box i:hover {
    background-color: var(--orange);
    transform: translateY(-5px);

}

/* responsive */

@media screen and (max-width: 767px) {
    .nestra-navbar {
        margin-top: 120px;
    }

    .navbar_brand {
        padding: 0 5px;
        font-size: 10px;
    }

    .navbar-toggler {
        display: block;
        margin: 0 10px;
        font-size: 10px;
    }

    .nav_item,
    .nav_icon {
        font-size: 10px;
        color: var(--white);
    }

    .navicon ul {
        margin-top: 20px;
        display: flex;

    }
}

/* -------------------------- home banner ----------------------- */
.carousel_item img {
    height: 500px;
    object-fit: cover;
}

/* ------------------------ features ---------------------- */

.feature_card {
    background-color: var(--red);
    padding: 35px 20px 45px;
    border-radius: 14px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
    height: 100%;

}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-card .icon {
    font-size: 36px;
    color: var(--black);
    margin-bottom: 15px;
}

.feature-card h6 {
    font-weight: 600;
    color: #333;
}

.arrow-btn {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: #fff;
    border: 2px solid #c70000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c70000;
    font-size: 18px;
    transition: 0.3s;
}

.feature-card:hover .arrow-btn {
    background: #c70000;
    color: #fff;
}

/* --------------------- offer ----------------- */
.card {
    transition: transform 0.4s, box-shadow 0.4s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* -------------------- few words ------------------ */
/* .fewwords_heading {
    width: 400px;
}

.fewwords_para {
    width: 400px;
} */

.trust {
    line-height: 0;
}

.section_btn {
    background-color: var(--red);
    margin-top: 15px;
    border: none;
    border-radius: 10px;

}

.section_btn a {

    font-weight: 400;
    font-size: 17px;
    padding: 5px 20px;
    text-transform: capitalize;
    color: var(--white);
}

.section_btn:hover {
    background-color: var(--orange);
    color: var(--black);
}

.fewwords_rightpart {
    position: relative;
}

.few_wordsright {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (max-width:767px) {
    .few_wordsimg img {
        width: 300px;
    }

    .fewwords_heading {
        font-size: 20px;
    }

    /* .fewwords_para{
        width:300px;
        height: 200px;
        font-size:15px;
    } */
}

/* -------------------------- testimonial ----------------------- */
.testimonial {
    background-color: var(--white);
}

.testi_upperpart {
    padding-bottom: 109px;
}



/* .testi_card{
    background-color: var(--semiwhite);
} */
.colon_img {
    text-align: center;
}

.colon_img img {
    max-width: 56px;
    width: 100%;


}

.details {

    font-size: 20px;
    text-align: center;
    font-weight: 400;
    padding: 15px 0;

}

.name {

    font-size: 20px;
    text-align: center;
    padding-bottom: 30px;
}

.man_img {
    text-align: center;
}

.man_img img {
    width: 124px;
    height: 186px;

}

@media screen and(max-width:767px) {
    .testi_video {
        height: 50px;
        width: 500px;
    }
}

/* -------------------------- creative section ----------------- */

.creative_para2 {
    font-size: 20px;
}

.creative_btn {
    margin-left: 70px;
}

/* ------------------------ about us part-------------- */
/* ------------ about banner ---------------- */
.banner {
    height: calc(100vh - 100px);
    background-image: url('../images/aboutbannerimg2.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-blend-mode: multiply;
    position: relative;
}

.breadcrumb {
    position: absolute;
    top: 35%;
    left: 30%;
    padding-bottom: 5px;
}

.breadcrumb li {
    font-size: 30px;

}

.hero_heading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ---------- info card -------------- */
.about-card {
    transition: transform 0.4s, box-shadow 0.4s;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* ----------------- our chefs -------------- */
.chefs {
    background-color: burlywood;
}

.flip_card img {
    height: 200px;
    width: 200px;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 320px;

}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
}

.flip-card-front {
    background: #fff;
}

.flip-card-back {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: #fff;
    transform: rotateY(180deg);
}

/* --------------- goal ---------------- */
.goal_card {
    transition: transform 0.4s, box-shadow 0.4s;
}

.goal_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* ----------- counter --------- */
.counter_body {
    background-color: var(--black);
}

.counter {
    font-weight: bold;
    color: #f59e0b;
}

/* ----------------- course ---------------- */
/* ---------------- course banner -------------------- */
.course_banner {
    height: calc(100vh - 100px);
    background-image: url(../images/coursebanner.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-blend-mode: multiply;
    position: relative;
}

.hover_card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.hover_card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Overlay */
.hover_content {
    position: absolute;
    color: #fff;
    /* background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); */
    background-color: #f59e0b;
    inset: 0;
    /* top:300px; */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

/* Hover Effects */
.hover_card:hover img {
    transform: scale(1.15);
}

.hover_card:hover .hover_content {
    transform: translateY(0);

}

.hover_content h5 {
    font-size: 22px;
    margin-bottom: 5px;
}

.hover_content p {
    font-size: 14px;
    margin-bottom: 10px;
}

@media screen and (max-width:767px) {
    .hover_content {
        overflow: hidden;
    }
}

/* -------------------------- category ---------------------- */
.category_banner {
    height: calc(100vh - 100px);
    background-image: url(../images/aboutbanner.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-blend-mode: multiply;
    position: relative;
}

.Hover_card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.9);

}

/* --------------------- recipes ----------------- */
.recipes_banner {
    height: calc(100vh - 100px);
    background-image: url(../images/recipe_banner.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-blend-mode: multiply;
    position: relative;
}

.section-title {
    border-left: 5px solid #ff7043;
    padding-left: 10px;
    margin-bottom: 15px;
}

.step {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.badge-custom {
    background: #ff7043;
}

.chef_details {
    position: absolute;
    top: 280px;
    left: 40px;


}


.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 300px;
}

.swiper-slide img {
    display: block;
    width: 100%;
}

/* ---------------------- sign in ----------------- */
.card {
    max-width: 420px;
}

/* ------------------------- footer ------------------ */
.footer {
    font-size: 18px;
    background-color: var(--blue);
}

.sign {
    font-size: 40px;
    line-height: 1;
}

.form {
    position: relative;
}

.form::after {
    content: " ";
    width: 680px;
    height: 3px;
    background: var(--white);
    position: absolute;
    bottom: -1px;
    transform: translate(-50%);
}

.subscribe {
    margin-left: 412px;
    color: var(--white);
    text-transform: uppercase;
}

input[type="mail"] {
    background-color: var(--blue);
    border: none;
}

::placeholder {
    color: var(--white);
}

.icon_box:hover {
    background-color: var(--orange);

}

.icon_box li a:hover {
    color: var(--black);
}

.similar_recipes {
    position: relative;
}

@media screen and (max-width:1199px) {
    .breadcrumb {
        position: absolute;
        top: 20px;
    }

    .breadcrumb li {
        font-size: 20px;

    }

    .hero_heading h1 {
        font-size: 20px;
    }

    .flip_card img {
        width: 50px;
        height: 50px;
    }

    .flip-card-front {
        width: 95px;
        height: 200px;
    }

    .flip-card-front h5 {
        font-size: 10px;
    }

    .flip-card-front p {
        font-size: 10px;
    }
    .footer_icon ul{
        display: flex;
       
    }
}

@media screen and (max-width:767px) {
     .breadcrumb {
        position: absolute;
        top:10px;
    }

    .breadcrumb li {
        font-size: 20px;

    }

    .hero_heading h1 {
        font-size: 20px;
    }

    .youtubevideo iframe {
        width: 300px;
    }
       .flip-card{
        padding-left: 0;
        margin-left: 0;
       }
    .flip_card img {
        width: 50px;
        height: 50px;
    }

    .flip-card-front {
        width: 95px;
        height: 200px;
        padding-left: 0;
         margin-left: 0;
    }

    .flip-card-front h5 {
        font-size: 10px;
    }

    .flip-card-front p {
        font-size: 10px;
    }
    .flip-card-back{
        overflow: hidden;
        padding-left: 0;
    }
    .footer {
        font-size: 10px;
        margin-left: 20px;
    }

    .sign {
        font-size: 20px;
    }

    .subscribe {
        margin-left: 30px;

    }

    .form::after {
        width: 100px;
    }

    .footer_icon ul {
        display: flex;
    }
}



