:root {
    --green: #4CB332FF;
}

/* Mohamed Navbar */
/* Start Navbar  */
.navbar {
    background-color: var(--green);
    font-size: 20px;
    width: 100%;
}

.navbar-brand {
    transition: 0.3s;
    transition-timing-function: linear;
}

.navbar-brand:hover {
    letter-spacing: 1px;
    transform: scale(1.02);
}

.navbar-nav .nav-link {
    transition: 0.5s;
}

.navbar-nav .nav-link:hover {
    transform: translateY(4px);
    color: white;
}

/* End Navbar  */
/* العنوان*/
/*هغير لون النص واخليه فالنص واكبر الفونت*/

.title {
    position: relative;
    top: 70px;
    color: #4CB332FF;
    font-size: 48px;
    line-height: 60px;
    font-weight: 800;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: #565D6DFF;
    font-size: 20px;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 200px;
}


.recipes {
    font-size: 36px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 40px;


}

.recipes-section {
    background-color: rgb(244, 244, 251);
    padding-top: 50px;
}

/*Recipe Nav Bar*/

#recipeNav {
    position: absolute;
    top: 500px;
    left: 580px;
    border-radius: 50px;
    background-color: white;
    align-content: center;
}


/*Cards*/

.details {
    display: inline-block;
    margin-right: 18px;
    margin-left: 10px;
    font-size: smaller;
    font-weight: bold;
}

.badge {
    background-color: rgb(39, 125, 17);
    margin-right: 190px;
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.card-text {
    font-size: small;
}

/* .btn {
    background-color:#4CB332FF ;
    color:#FFFFFFFF ;
    font-weight: 450;
    border-radius: 25px;
    padding: 0 12px;
    width: 280px; 
    height: 35px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    align-content: center;
 } */
.main-btn {
    background-color: var(--green);
    color: white;
    padding: 10px 25px;
    transition: 0.3s;
    margin: 20px;
}

.main-btn:hover {
    background-color: #3D8F28FF;
    color: white;
    transform: scale(1.02);
}

.full-btn {
    margin: auto;
    width: 100%;
    border-radius: 10px;
}

.card1, .card2, .card3, .card4, .card5, .card6 {
    box-shadow: 0px 0px 1px #171a1f12, 0px 0px 2px #171a1f1F;
    border-radius: 12px;
    flex: 1;
    margin: auto;
}

/* .space {
    margin-top: 200;
} */
#calculator {
    max-width: 600px;
    margin: auto;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* الزرار */
.btnBMI {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    margin-top: 10px;
}

/* النتيجة */
#bmiResult {
    display: none;
    font-size: 18px;
    font-weight: bold;
    padding: 15px;
    border-radius: 10px;
    margin: 20px;
    text-align: center;
}

/* الحالات */
#bmiResult.success {
    background: #d4edda;
    color: #155724;
    border-left: 6px solid #28a745;
}

#bmiResult.warning {
    background: #fff3cd;
    color: #856404;
    border-left: 6px solid #ffc107;
}

#bmiResult.danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 6px solid #dc3545;
}

#bmiResult.info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 6px solid #17a2b8;
}


.plan {
    background: #E6FFF1FF;
    align-items: center;
    padding-top: 150px;
    padding-bottom: 150px;

}

#plan {
    margin-left: 170px;
    margin-right: 170px;
    border-radius: 15px;
    border-width: 2px;
    border-style: solid;
    border-color: #d7d9dc;
    align-items: center;
}

#planTitle {
    font-weight: bold;
    font-size: 35px;
    margin-top: 70px;
    margin-left: 20px;

}

#planSubtitle {
    font-size: 18px;
    margin-bottom: 20px;
    margin-left: 20px;

}

.btnPlan {
    background-color: #4CB332FF;
    color: #FFFFFFFF;
    font-size: 14px;
    font-weight: 500;
    border-radius: 25px;
    padding: 0 12px;
    width: 200px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-bottom: 64px;
    margin-top: 2px;
    margin-left: 20px;
}

/*BMI CALCULATOR*/

#calculator {
    margin-top: 150px;

}

.card-title {
    text-align: center;
}

.card-text {
    text-align: center;
}

.btnBMI {
    background-color: #4CB332FF;
    color: #FFFFFFFF;
    font-weight: 500;
    border-radius: 25px;
    padding: 0 12px;
    width: 150px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    text-decoration: none;
    margin: auto;
}

#bmiResult {
    display: none;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 20px;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

/* ألوان الحالات */
#bmiResult.success {
    background: #d4edda;
    color: #155724;
    border-left: 6px solid #28a745;
}

#bmiResult.warning {
    background: #fff3cd;
    color: #856404;
    border-left: 6px solid #ffc107;
}

#bmiResult.danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 6px solid #dc3545;
}

#bmiResult.info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 6px solid #17a2b8;
}



.inputs {
    border-radius: 13px;
}

#calculator {
    margin: auto;
    border-radius: 16px;
    border-color: #F5FBF4FF;
    border-width: 3px;
    height: 420px;
    width: fit-content;
    padding-top: 50px;
}

/* .container.space:last-of-type {
   margin-bottom: 200px;
} */


.card-title {
    font-size: 30px;
    font-weight: bolder;
}

.text {
    font-size: 17px;
    font-weight: 100;
}

/*Footer*/

footer {
    color: white;
    padding: 15px 20px;
    text-align: center;
    background: linear-gradient(128.64deg, #4CB332FF 0%, rgb(27, 183, 105) 100%);

}


footer .footer-col {
    margin: 10px 0;
}

footer h4 {
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 2px solid white;
    display: inline-block;
    padding-bottom: 5px;
}

.social-icons a {
    margin: 0 10px;
    display: inline-block;
    font-size: 20px;
    color: white;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #222;
}

.footer-bottom {
    margin-top: 10px;
    padding-top: 5px;
}