@font-face {
    font-family: 'Onest';
    src: url('../fonts/Onest-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

/* Abril Fatface Font */
@font-face {
    font-family: 'Abril Fatface';
    src: url('../fonts/AbrilFatface-Regular.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

/* Teko Font */
@font-face {
    font-family: 'Teko';
    src: url('../fonts/Teko-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}


.navbar-custom {
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    border-radius: 110px;
    padding: 10px 50px;
}

.navbar-nav .nav-link {
    color: white;

}

.buy-now-3 {
    display: inline-block;
    text-align: center;
    margin-top: 10px;
    background: #005EF7;
    color: #fff;
    padding: 12px 40px;
    border: solid 1px 4px 4px 1px black;
    border-radius: 75px;
    font-family: "Onest", sans-serif;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease-in-out;
}

/* ✅ Button Hover Effect */
.buy-now-3:hover {
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.7);
    transform: translateY(-2px);
}

/* =============================== HERO SECTION ==============================*/

.hero-section {
    color: white;
    text-align: left;
    padding: 5vw 0;
    /* height: 100vh; */
    display: flex;
}

.underline-text {
    display: inline-block;
    position: relative;
    z-index: 1;
}

.underline-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.2em;
    width: 100%;
    height: clamp(13px, 6px, 12px);
    background-color: rgba(0, 94, 247, 1);
    z-index: -1;
}


.card-img {
    /* height: 120vh; */
    object-fit: cover;
    border-radius: 0 0 50px 50px;
}

/* =====================MEDIA QUERIES ==================== */
@media (max-width: 768px) {
    .logo {
        height: 60px;
    }
}

@media (min-width: 720px) and (max-width: 1024px) {

    .logo {
        height: 80px;
    }

}

@media (min-width: 1800px) {
    .hero-section {
        justify-content: flex-start;
        align-items: flex-start;
    }

    .logo {
        height: 180px;
    }


}

.navbar-nav {
    font-family: 'Teko', sans-serif;
    font-weight: 500;
    font-size: 26px;
    line-height: 100%;
    letter-spacing: 0%;
}

.hero-title {
    font-family: 'Teko', sans-serif;
    font-weight: 500;
    font-size: clamp(40px, 10vw, 111px);
    line-height: 99%;
    letter-spacing: -2%;
}

/* Heading */
.styled-heading {
    font-family: 'Teko', sans-serif;
    font-weight: 500;
    font-size: 85px;
    line-height: 73%;
    letter-spacing: 0;
    text-align: center;
    text-transform: capitalize;
}

.highlight {
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    /* Adjust as needed */
    width: 100%;
    height: 22px;
    /* Adjust thickness of yellow highlight */
    background-color: #F5E901;
    z-index: -1;
}

.recipe-card {
    border-radius: 20px;
    border: solid 2px rgba(151, 151, 151, 1);
    overflow: visible;
    position: relative;
    transition: transform 0.3s ease-in-out;
    height: 100%;
}

.recipe-card:hover {
    background-color: rgba(245, 245, 255, 1);
}

.recipe-card::after {
    content: "";
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 100%;
    height: 100%;
    background: rgba(0, 94, 247, 1);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.recipe-card:hover::after {
    opacity: 1;
}

.recipe-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.recipe-card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.favorite {
    position: absolute;
    top: 10px;
    right: 10px;
}

.favorite img {
    width: 30px;
    height: 30px;
}

.difficulty {
    display: flex;
    align-items: center;
}

.difficulty span {
    margin-right: 5px;
}

.rating {
    background: transparent;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 400;
    color: rgba(28, 28, 28, 1);
    border: 2px solid rgba(9, 17, 16, 1);
    display: flex;
    align-items: center;
}

.rating img {
    width: 20px;
    height: 20px;
    margin-left: 5px;
}

.time-icon img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.Teko_Font {
    font-family: 'Teko', sans-serif;
    font-size: 32px;
    line-height: 85%;
    letter-spacing: 0%;
    text-transform: capitalize;
}

.Onest_Font {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -2%;
}



@media (min-width: 768px) and (max-width: 991px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}





/* By arbab */

/* Header */

.navbar-nav .active a {
    color: #005EF7;
}

.card-img-overlay {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.all_recipes_con {
    margin-top: 111px !important;
}

.all_recipes_con>h1.styled-heading {
    margin-bottom: 81px;
}

/* Responsive */

@media screen and (max-width:1024px) {
    
}
@media screen and (max-width:820px) {
    
}
@media screen and (max-width:768px) {
    
}
@media screen and (max-width:600px) {
    .card-img {
        height: 330px;
    }
}