/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
}

header .nav-links {
    list-style: none;
    display: flex;
}

header .nav-links li {
    margin-left: 20px;
}

header .nav-links a {
    color: white;
    text-decoration: none;
}

.hero {
    background-color: #f8f9fa;
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
}

.hero .cta {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.resources {
    padding: 50px 20px;
    text-align: center;
}

.resource-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.resource-card {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    width: 30%;
    margin-bottom: 20px;
}

.resource-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.resource-card p {
    font-size: 16px;
    margin-bottom: 20px;
}

.resource-card .btn {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.about, .contact {
    padding: 50px 20px;
    text-align: center;
}

.contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact form input, .contact form textarea {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact form button {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

footer {
    background-color: #007BFF;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Add these styles to your existing styles.css */

/* Hero section for Pulmonology */
#pulmonology.hero {
    background-color: #e3f2fd; /* Light blue background */
    padding: 80px 20px;
    text-align: center;
}

#pulmonology.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

#pulmonology.hero p {
    font-size: 18px;
    margin-bottom: 40px;
}

/* Topics section */
.topics {
    padding: 50px 20px;
    text-align: center;
    background-color: #f8f9fa;
}

.topics h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.topics ul {
    list-style: none;
    padding: 0;
}

.topics ul li {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Quiz section */
.quiz {
    padding: 50px 20px;
    text-align: center;
}

.quiz h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

#quiz-container {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
}

#quiz-question {
    font-size: 20px;
    margin-bottom: 20px;
}

#quiz-options {
    list-style: none;
    padding: 0;
}

#quiz-options li {
    margin-bottom: 10px;
}

.quiz-option {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.quiz-option:hover {
    background-color: #0056b3;
}

#quiz-feedback {
    font-size: 18px;
    margin-top: 20px;
    color: #28a745; /* Green for correct feedback */
}