/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Header Styles */
header {
    background-color: #1f76b4;
    color: white;
    padding: 15px 0;
}

/* Logo container for aligning the logo and title */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 150px;  /* Adjust the size of the logo */
    height: auto;
    margin-right: 200px;  /* Space between logo and title */
}

h1 {
    margin: 0;
    font-size: 36px;
    font-weight: bold;
    margin-right: 100px;
}

/* Navigation Styles */
nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: rgb(249, 244, 244);
    text-decoration: none;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background-color: #f4f4f4;
    padding: 50px 20px;
}

/* General button styling for consistency */
button, .section-btn {
    background-color: #1f76b4;  /* Blue background */
    color: white;               /* White text */
    padding: 10px 20px;         /* Padding for the button */
    border: none;               /* Remove border */
    border-radius: 5px;         /* Rounded corners */
    font-size: 16px;            /* Text size */
    cursor: pointer;           /* Pointer cursor when hovered */
    transition: background-color 0.3s ease;  /* Smooth background transition */
}

/* Button hover effect */
button:hover, .section-btn:hover {
    background-color: #1e5a82;  /* Darker blue on hover */
}

/* Optional: Adding some spacing for better layout */
.card button {
    margin-top: 10px;  /* Spacing between text and button */
    display: block;    /* Make the button block level so it takes up the full width */
    width: 100%;       /* Full width of the card */
}

/* Optional: To limit button size */
.section-btn {
    width: 200px;  /* Set a fixed width for buttons */
    margin: 10px auto;  /* Center align the button horizontally */
}

/* Home Section Cards */
.home-sections {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.card {
    background: rgb(247, 245, 245);
    padding: 20px;
    margin: 10px;
    width: 250px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.card h3 {
    color: #1f76b4;
}

.card a {
    display: inline-block;
    margin-top: 10px;
    color:#eaf1f7 ;
    background-color: #1f76b4;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
}

.card a:hover {
    background-color: #1e5a82;
}

/* Footer */
footer {
    background-color: #1f76b4;
    color: rgb(246, 236, 236);
    padding: 15px 0;
    margin-top: 20px;  /* Reduced margin-top for quiz page footer */
    margin-bottom: 0;  /* No bottom margin */
}

/* Styling for the quiz container */
.quiz-container {
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    max-width: 600px;
    margin: 100px auto;
    text-align: left;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Styling the quiz title */
.quiz-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #1f76b4;
}

/* Styling for each question block */
.question {
    margin-bottom: 30px;  /* Reduce margin to prevent too much space */
}

/* Styling for question text */
.question p {
    font-weight: bold;
    font-size: 18px;
}

/* Style for each radio button option */
.question label {
    display: block;
    font-size: 16px;
    margin: 10px 0;
    cursor: pointer;
}

.question input[type="radio"] {
    margin-right: 10px;
}

/* Styling for the quiz result */
.quiz-result {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-top: 20px;
}

/* Optional: Fade-in animation for quiz appearance */
.quiz-container {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Chatbot Styles */
#chat {
    margin: 20px auto;
    padding: 20px;
    max-width: 600px;
    background-color: #f0f0f0;
    border-radius: 10px;
}

.chat-container {
    margin: 20px;
    padding: 10px;
    background-color: #fff;
    height: 300px;
    overflow-y: scroll;
    border-radius: 5px;
}

#user-input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#user-input-button {
    padding: 10px 20px;
    background-color: #1f76b4;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#user-input-button:hover {
    background-color: #1e5a82;
}
