/* CSS for styling the application */
/* body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

/* header {
    background-color: #4CAF50; /* Eco-friendly color */
    /* color: white;
    text-align: center;
    padding: 20px;
     */ 
/* Base styling for the navbar */
/* Global styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: #f5f5f5;
    overflow-x: hidden; /* Prevent horizontal scrollbars */
}

/* Header and Navbar styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7); /* Transparent black for sleek effect */
    color: white;
    transition: background 0.3s ease-in-out; /* Smooth background transition */
}

.logo {
    display: flex;
    align-items: center;
    opacity: 0;
    animation: logoFadeIn 2s forwards; /* Fade-in animation */
}

.logo img {
    width: 50px; /* Logo size */
    margin-right: 10px;
}

nav {
    opacity: 0;
    animation: navFadeIn 2.5s forwards; /* Fade-in animation for navbar */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px;
    transition: all 0.3s; /* Smooth hover transition */
}

nav ul li a:hover {
    color: #ffd700; /* Golden color on hover */
    transform: scale(1.1); /* Scale up on hover */
}

/* Animations */
@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px); /* Initial offset from the top */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Move back to original position */
    }
}

@keyframes navFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px); /* Initial offset from the top */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Move back to original position */
    }
}

/* Hero section styling */
.content {
    text-align: center;
    padding: 50px;
    opacity: 0;
    animation: contentSlideIn 3s forwards; /* Slide-in animation for hero section */
}

.text-section {
    opacity: 0;
    animation: textSectionFadeIn 3.5s forwards; /* Additional animation for text */
}

button {
    background: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease-in-out; /* Smooth transition */
}

button:hover {
    background: #555; /* Darker background on hover */
    transform: scale(1.1); /* Scale up on hover */
}
/* 
/Fruit bowls styling */
.fruit-bowls {
    max-width: 100%;
    display: none;;
    justify-content: center;
    opacity: 0;
    animation: fruitBowlsSlideIn 4s forwards; /* Slide-in animation for fruit bowls */
}

.fruit-bowl {
    margin: 0px;
    max-width: 900px; /* Limit the width of fruit bowls */
    transition: transform 0.3s ease; /* Smooth transition */
}

.fruit-bowl:hover {
    transform: scale(1.1); /* Scale up on hover */
}

/* Slide-in animation for the hero section */
@keyframes contentSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px); /* Slide in from above */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Return to original position */
    }
}

/* Additional fade-in animation for text-section */
@keyframes textSectionFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Slide-in animation for fruit bowls */
@keyframes fruitBowlsSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px); /* Slide in from below */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Return to original position */
    }
}

main {
    padding: 20px;
}

h1, h2 {
    margin-bottom: 10px;
}

#activity-tracker {
    background-color: #e0f7e0; /* Light green for sustainability theme */
    padding: 20px;
    border-radius: 10px;
}

#suggestions {
    background-color: #f0e0d0; /* Light orange for suggestions */
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}
.fruit-bowls img{
    width:800px;
    height: 800px;;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
}

/* .popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.2);
    display: none;
}

.popup-content {
    padding: 20px;
}

.close-popup {
    float: right;
    cursor: pointer;
    color: #888;
}

.close-popup:hover {
    color: #333;
} */
/* Basic styling */
/* body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
} */

/* Header styling */
header {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Divider styling */
.divider {
    border-bottom: 1px solid #ccc;
    margin: 20px 0;
}

/* Section styling */
.category-heading {
    font-size: 24px;
    color: #27ae60;
    margin-bottom: 20px;
}

.suggestion-card {
    border: 1px solid #ddd;
    background-color: white;
    padding: 15px;
    margin: 15px;
    border-radius: 10px;
    transition: all 0.3s;
}

.suggestion-card img {
    width: 100%;
    border-radius: 10px;
}

/* Hover effect */
.suggestion-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

/* Footer styling */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 15px 0;
}

.social-media {
    display: inline-block;
}

.social-media a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

.social-media a:hover {
    color: #27ae60; /* Green on hover */
}

/* Pop-up styling */
.popup {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
}

.popup-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
}

.close {
    color: black;
    float: right;
    font-size: 20px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: red;
    cursor: pointer;
}
/* Styling for the tracking notification */
.tracking-notification {
    background-color: #f1c40f; /* Bright yellow for visibility */
    color: #333;
    text-align: center;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    position: absolute;
    top: 70px; /* Position right below the navbar */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Center it horizontally */
    z-index: 100; /* Ensure it's above other elements */
    opacity: 0.9; /* Slight transparency */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinner styling (CSS-based spinner) */
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.2); /* Light border */
    border-top: 4px solid #333; /* Darker for the spinner effect */
    border-radius: 50%; /* Circular shape */
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite; /* Infinite spinning animation */
    margin-right: 10px; /* Space between the spinner and text */
}

/* Animation for the spinner */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Fade-in and fade-out animations for transitions */
.tracking-notification.fadeIn {
    animation: fadeIn 0.2s; /* Quick fade-in */
}

.tracking-notification.fadeOut {
    animation: fadeOut 0.2s; /* Quick fade-out */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
#recommendations {
    margin-top: 20px;
  }
  .recommendation-item {
    padding: 10px;
    border: 1px solid #ddd;
    margin: 5px 0;
  }
  /* Basic styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
}

/* Header and navigation */
header {
    background-color: #2e7d32; /* Dark green */
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 30px;
    margin-right: 10px;
}

nav {
    display: flex;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff; /* White */
    font-weight: bold;
}

/* Main content */
main {
    text-align: center;
    padding: 40px 20px;
}

h1 {
    color: #388e3c; /* Light green */
}

#checkButton {
    background-color: #388e3c; /* Light green */
    color: #ffffff; /* White */
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

#checkButton:hover {
    background-color: #2e7d32; /* Dark green on hover */
}


.fruit-bowls img {
    width: 400px;
    height: auto;
    border-radius: 10px;
}
main{
    background-image: url('Untitled design (1).jpg');
}
.content {
    display: flex; /* Horizontal alignment */
    justify-content: space-between; /* Text on the right, fruit bowls on the left */
}

.fruit-bowls {
    display:flex;
    flex-direction: row;
    justify-content: flex-start; /* Align on the left */
}

.fruit-bowl {
    width: 100%;
    border-radius: 10px; /* Rounded corners */
    margin-right: 20px; /* Spacing between fruit bowls */
}

.text-section {
    text-align: right; /* Align text to the right */
}

h1 {
    color: #388e3c; /* Light green heading */
}

#check-button {
    background-color: #388e3c; /* Light green for button */
    color: #ffffff; /* White text */
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

#check-button:hover {
    background-color: #2e7d32; /* Dark green on hover */
}
span{
    color:#080a09
    
}
.fun-fact-section {
    margin-top: 40px; /* Creates space between sections */
    text-align: center;
}

#new-fun-fact-btn {
    background-color: #2eab66; /* Blue color */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#new-fun-fact-btn:hover {
    background-color: #5bf479; /* Darker blue on hover */
}
.category-heading{
    background-color: #8bf6bb;
    height: 30px;
    border-radius: 25px;
    color: #0d0e0d;
    text-emphasis-color: black;
    font-weight: 200;
    font: 1.4rem  Arial, sans-serif;
}
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
  }
  
  .container {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
  }
  
  h1 {
    text-align: center;
    margin-bottom: 30px;
  }
  
  form {
    display: flex;
    flex-direction: column;
  }
  
  label {
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  input, textarea {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  button {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #45a049;
  }
  
  #response-message {
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
  }
  .display-4{
     color: #f0f5f0;
  }
  .btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.hidden {
    display: none;
}

#new-user-message {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    text-align: center;
    margin-top: 10px;
}
h1 {
    text-align: center;
    margin-bottom: 20px;
}
.fun-fact-section {
    background-color: #f4f4f4;
    padding: 40px 20px;
    text-align: center;
}

.fun-fact-section .inner-div {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.fun-fact-section h2 {
    margin-top: 0;
    font-size: 28px;
    color: #333;
}
span{
    font: 20x Arial, sans-serif;
    color: #080c14
}
#container {
    padding: 50px;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;;
  }
  
  #contact-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .form-group {
    width: 48%;
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
  }
  
  @media (max-width: 767px) {
    #container {
      padding: 20px;
    }
  
    .form-group {
      width: 100%;
    }
  }
  .faq-section {
    background-color: #f9f9f9;
    padding: 60px 0;
  }
  
  
  .faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 600;
  }
  
  .faq-item {
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
  }
  
  .faq-question {
    background-color: #f2f2f2;
    padding: 16px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
  }
  
  .faq-answer {
    padding: 16px 24px;
    display: none;
  }
  
  .faq-item.active .faq-answer {
    display: block;
  }
  
 /* styles.css */

/* Style for the text-section container */

  
  /* Style for the <h1> tags */
  .text-section h1 {
    font-size: 24px; /* Font size for h1 */
    font-weight:5 rem; /* Bold text */
    color: #7fde40f0; /* Dark gray color */
    margin: 0; /* Remove default margin */
  }
  
  /* Style for the <span> tag */
  .text-section span {
    color: #2a6715; /* Orange color */
    font-weight: 10 rem; /* Bold text */
    font-style: italic; /* Italicize the span */
  }
  
  /* Style for the button */
  .text-section #check-button {
    padding: 10px 20px; /* Padding for the button */
    background-color: #4CAF50; /* Green background */
    color: white; /* White text */
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
  }
  
  .text-section #check-button:hover {
    background-color: rgb(35, 132, 46); /* Darker green on hover */
  }
  .content {
    display: flex; /* Use Flexbox */
    flex-direction: row; /* Stack elements in a column */
    align-items:center; /* Center-align elements horizontally */
    justify-content:space-around; /* Center-align elements vertically */
    gap: 20px; /* Space between elements */
  }
  
.fruit-bowl {
    width: 100%; /* Ensure the image doesn't overflow */
    height: 400px; 
    /* Maintain aspect ratio */
  }