* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-image: url('https://i.pinimg.com/564x/1d/a0/45/1da045f28efea67e06968c85e25dccc0.jpg'); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    color: rgb(3, 17, 2);
    
}

.site-main-wrapper {
    padding: 10px;
}

header {
    text-align: center;
}

#main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: black;
}

.branding img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link2 {
    color: black;
    text-decoration: none;
    transition: color 0.3s;
}
.nav-link:hover {
    color: #ffcc00; /* Highlight color */
}

.nav-actions {
    display: flex;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-primary {
    background-color: rgb(230, 25, 6); /* Primary button color */
}

.btn-secondary {
    background-color: greenyellow; /* Secondary button color */
    margin-top: 20px;
}

.hero {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 50px;
    text-align: left;
    
    color: #00bfff;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 2.5rem;
}

.hero-text h6 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: goldenrod;
}

.hero-text p {
    margin: 20px 0;
}

.hero-image img {
    max-width: 400px;
    border-radius: 10px;
}



/* Footer Styles */
footer {
    background-color: #2a2d34; /* Dark gray-blue */
    color: #d3d3d3; /* Light gray */
    padding: 10px 0;
    font-family: 'Arial', sans-serif;
    font-size: 0.8em;
    text-align: center;
    
    bottom: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 150px;
    margin: 0 5px;
    line-height: 1.4; /* Reduced line height */
}

.footer-section h3 {
    margin-bottom: 5px;
    font-size: 1em;
    color: #fff;
}

.footer-section p {
    margin: 2px 0;
}

.footer-section a {
    color: #00bfff; /* Light blue */
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ffdf00; /* Gold */
}

.socials {
    margin-top: 5px;
}

.socials a {
    margin: 0 3px;
}

.socials img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s;
}

.socials a:hover img {
    transform: scale(1.1);
}

/* Footer Bottom */
.footer-bottom {
    font-size: 0.7em;
    border-top: 1px solid #444;
    margin-top: 5px;
    padding-top: 5px;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        text-align: center;
        margin-bottom: 5px;
    }
}



/*profile page style*/
/* Child Profile Section Styles */
.child-profile-section {
    background-color: black;
    padding: 40px 20px;
    text-align: center;
}

.section-heading {
    font-size: 2rem;
    color: gold;
    margin-bottom: 30px;
}

.profile-content {
    max-width: 600px;
    margin: 0 auto;
    
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.form-control {
    width: 100%;
    padding: 10px;
    font-size: 0.9rem;
    border-radius: 5px;
    border: 1px solid gold;
}

.btn {
    display: inline-block;
    background-color: #ffcc00;
    color: #333;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    margin-top: 20px;
}

.btn-primary {
    background-color: #ffcc00;
}

.btn:hover {
    background-color: #e0b800;
}


/* General styles for the container */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Section heading styles */
.section-heading {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

/* Styles for the login form */
.login-form {
    display: flex;
    flex-direction: column;
}

/* Form group styles */
.form-group {
    margin-bottom: 15px;
}

/* Label styles */
.form-group label {
    margin-bottom: 5px;
    color: #555;
}

/* Input styles */
.form-control {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

/* Focus styles for inputs */
.form-control:focus {
    border-color: #007bff;
    outline: none;
}

/* Button styles */
.btn {
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    transition: background-color 0.3s;
    width: 100px;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .section-heading {
        font-size: 20px;
    }

    .btn {
        font-size: 14px;
    }
}


/*loggedin page*/

/* General styles for the container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Heading styles */
h1, h2, h3 {
    color: #333;
}

/*slider*/
.slider-container {
    display: flex;
    transition: transform 0.5s ease;
    overflow: hidden; /* Ensure only one slide is visible */
}
.slide {
    min-width: 100%;
    box-sizing: border-box; /* Ensure padding/margins are included in width */
}
/* Optional styles for buttons */
.prev, .next {
    cursor: pointer;
}
/* Profile card styles */
.profile-card, .health-guidance, .food-calculator, .nutrient-calculator {
    margin-bottom: 20px;
    padding: 15px;
    color: black;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

/* Form styles */
form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 10px;
    color: #555;
}

input[type="text"],
input[type="number"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    margin-top: 5px;
}

/* Button styles */
button {
    margin-top: 10px;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

/* Results section styles */
#foodResults, #nutrientResults {
    margin-top: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #0df3d4;
    background-color: #f1f1f1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    h1, h2, h3 {
        font-size: 20px;
    }

    button {
        font-size: 14px;
    }
}


/* Meal Planner Styles */
.meal-planner {
    background-color: #f8f9fa; /* Light gray background */
    border-radius: 8px;
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333;
    font-family: 'Arial', sans-serif;
}

.meal-planner h2 {
    color: #007bff; /* Blue color for heading */
    margin-bottom: 10px;
}

.meal-planner p {
    margin: 10px 0;
    line-height: 1.6;
}

.meal-planner-features {
    text-align: left;
    margin-top: 20px;
}

.meal-planner-features ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.meal-planner-features li {
    background: #e9ecef; /* Slightly darker gray */
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
}

.meal-planner a {
    color: #007bff;
    text-decoration: none;
}

.meal-planner a:hover {
    text-decoration: underline;
}

.meal-planner-signup {
    margin-top: 20px;
}

.signup-button {
    background-color: #28a745; /* Green color */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.signup-button:hover {
    background-color: #218838; /* Darker green on hover */
}



/* Slider styles*/
 /* Add this CSS to your styles.css file or within a <style> tag */
 .image-slider {
    position: relative;
    max-width: 600px; /* Set a smaller size for the slider */
    margin: auto;
    overflow: hidden;
    border-radius: 8px; /* Rounded corners for a better look */
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: 400px; /* Fixed height to ensure consistency */
    object-fit: cover; /* Ensures the image covers the container */
}

/* Navigation buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    width: auto;
    padding: 10px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 3px;
    user-select: none;
    transition: background-color 0.3s;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


/* ChatBot Styles */

.chatbot-container {
    width: 500px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chatbot-header {
    background-color: #4caf50;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

.chatbot-messages {
    height: 400px;
    overflow-y: auto;
    padding: 10px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.chatbot-messages div {
    margin: 5px 0;
}

.user-message {
    text-align: right;
    color: blue;
}

.bot-message {
    text-align: left;
    color: green;
}

#userInput {
    width: 80%;
    padding: 10px;
    border: none;
    border-top: 1px solid #ddd;
    outline: none;
}

button {
    width: 20%;
    padding: 10px;
    border: none;
    background-color: #4caf50;
    color: white;
    cursor: pointer;
    border-top: 1px solid #ddd;
}

#body1 {
    font-family: Arial, sans-serif;
    background-color: #f0f8ff;
    display: flex;
    justify-content: center;
    align-items:flex-end;
    height: 100vh;
    margin: 0;
    background-image: url(https://i.pinimg.com/564x/33/2c/be/332cbefa9123a9a5a91f030339364e5e.jpg);
    background-repeat: no-repeat;
    background-size:contain;
}

