/* General Styling */
body {
    font-family: 'Georgia', sans-serif;
    background: linear-gradient(180deg, #f3f3d9, #e6e4c2);
    margin: 0;
    padding: 0;
}

header {
    background: linear-gradient(90deg, #82b54b, #a2cf6e);
    color: white;
    text-align: center;
    padding: 20px 0;
    border-bottom: 4px solid #5e7d3b;
}

header h1 {
    font-size: 3em;
    margin: 0;
    text-shadow: 2px 2px #4f653b;
}

header p {
    font-size: 1.2em;
    margin: 5px 0;
}

.container {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
}

.form-box, .report-box {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 20px;
}

h2, h3 {
    text-align: center;
    color: #5e7d3b;
    margin-bottom: 10px;
}

h3::before {
    content: '☘️ ';
}

.highlighted-text {
    font-size: 1.5em;
    font-weight: bold;
    color: #a34831;
    text-align: center;
}

button {
    background: linear-gradient(90deg, #5e7d3b, #82b54b);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1em;
    display: block;
    margin: 0 auto;
}

button:hover {
    background: linear-gradient(90deg, #82b54b, #a2cf6e);
}

#heartRateSection, #bmiSection {
    text-align: center;
}

canvas {
    max-width: 100%;
    height: 300px;
    border-radius: 10px;
    margin-top: 20px;
}

ul {
    list-style: none;
    padding: 0;
}

ul li::before {
    content: '🌿 ';
    font-weight: bold;
    color: #5e7d3b;
}

li {
    margin: 5px 0;
}

/* Footer */
footer {
    text-align: center;
    background: #82b54b;
    color: white;
    padding: 10px 0;
    margin-top: 20px;
}

/* Contact Section */
.contact-section {
    margin-top: 10px;
    text-align: center;
    font-size: 1em;
}

.contact-section h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
    color: #5e7d3b;
}

.contact-section a {
    color: #5e7d3b;
    text-decoration: none;
    font-weight: bold;
}

.contact-section a:hover {
    text-decoration: underline;
}

.contact-section p {
    margin: 5px 0;
}

/* Responsive Layout for Mobile Devices */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5em;
    }
    
    header p {
        font-size: 1em;
    }

    .container {
        padding: 10px;
    }

    .form-box, .report-box {
        padding: 15px;
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.5em;
    }

    .highlighted-text {
        font-size: 1.3em;
    }

    button {
        font-size: 1em;
    }

    ul li {
        font-size: 1em;
    }

    footer {
        font-size: 0.9em;
    }
}

/* For Very Small Screens (Phones) */
@media (max-width: 480px) {
    header h1 {
        font-size: 2em;
    }

    .container {
        padding: 5px;
    }

    .form-box, .report-box {
        padding: 10px;
    }

    h2 {
        font-size: 1.6em;
    }

    h3 {
        font-size: 1.4em;
    }

    .highlighted-text {
        font-size: 1.2em;
    }

    button {
        font-size: 0.9em;
    }

    ul li {
        font-size: 0.9em;
    }

    footer {
        font-size: 0.8em;
    }
}
#contactSection {
    background: linear-gradient(180deg, #e6e4c2, #f3f3d9);
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

#contactSection h2 {
    color: #5e7d3b;
    margin-bottom: 10px;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

#contactForm label {
    font-weight: bold;
    color: #5e7d3b;
}

#contactForm input, #contactForm textarea {
    width: 90%;
    max-width: 400px;
    padding: 10px;
    border: 1px solid #5e7d3b;
    border-radius: 5px;
    font-size: 1em;
}

#contactForm button {
    background: linear-gradient(90deg, #5e7d3b, #82b54b);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
}

#contactForm button:hover {
    background: linear-gradient(90deg, #82b54b, #a2cf6e);
}
