body {
    font-family: 'Arial', sans-serif;
    background-color: #f3f4f6;
    color: #333;
    margin: 0;
    padding: 0;
    background-image: linear-gradient(120deg, #f3f4f6, #e9eaec);
    text-align: center;
}

.container {
    max-width: 800px;
    margin: 50px auto;
    background-color: #ffffff;
    padding: 20px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-align: center;
}

h2 {
    font-size: 24px;
    color: #555;
    margin-bottom: 20px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #34495e;
}

select, button {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #dce4ec;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
}

select:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

button {
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: #007BFF;
    color: #fff;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

button:active {
    transform: translateY(0);
    animation: buttonPress 0.2s forwards;
}

@keyframes buttonPress {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.question {
    border: 2px dashed #3498db;
    padding: 20px;
    font-style: italic;
    color: #7f8c8d;
    text-align: center;
}

#messageArea {
    margin-top: 10px;
    color: #e74c3c;
}

#messageArea a {
    color: #3498db;
    text-decoration: underline;
}

.button-correct {
    background-color: green;
    color: white;
}

.button-incorrect {
    background-color: red;
    color: white;
}

.correct {
    color: green;
}

.incorrect {
    color: red;
}

.ldBar-label:after {
    content: "%";
}

.ldBar.no-percent .ldBar-label:after {
    content: "";
}

button#generateButton {
    background: linear-gradient(90deg, #3498db, #9b59b6);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button#generateButton:hover {
    background: linear-gradient(90deg, #2980b9, #8e44ad);
}

button#submitButton {
    background-color: #2ecc71;
}

button#submitButton:hover {
    background-color: #27ae60;
}

button#cryptoButton {
    background-color: #f39c12;
    box-shadow: 0 4px 6px rgba(204, 204, 204, 0.3);
}

button#cryptoButton:hover {
    background-color: #e67e22;
}

::-webkit-input-placeholder {
    color: #95a5a6;
}

::-moz-placeholder {
    color: #95a5a6;
}

:-ms-input-placeholder {
    color: #95a5a6;
}

:-moz-placeholder {
    color: #95a5a6;
}
ul {
    list-style-type: none;
    padding: 0;
}
ul.radio-list {
    display: flex;
    justify-content: space-between; /* This spaces out the radio buttons equally */
    align-items: center; /* Align vertically */
}

ul.radio-list li {
    margin: 0 10px; /* Adjust as needed for spacing between items */
}
.radio-list {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    justify-content: space-between;
}

.radio-list li {
    flex: 1;
    text-align: center;
}


button#cryptoButton {
    background-color: #b8860b; /* Dark gold */
    color: #fff; /* White text for contrast */
    box-shadow: 0 4px 6px rgba(204, 204, 204, 0.3);
    transition: all 0.3s ease; /* Smooth transition */
}

button#cryptoButton:hover {
    background-color: #9c7a09; /* Slightly darker gold for hover */
}
.correct {
    color: green !important;
}

.incorrect {
    color: red !important;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover, .close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
#about-us {
    padding: 20px 0;
    background-color: #f9f9f9; /* light gray, you can adjust */
    text-align: center;
}

#about-us h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

#about-us p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto; /* centering the paragraphs if they are less than 800px wide */
}

#about-us img {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
}
.scroll-link {
    cursor: pointer;
    text-decoration: underline;
    margin: 20px 0;
}
html {
    scroll-behavior: smooth;
}
#help-section {
    padding: 40px 0;
    background-color: #f7f7f7; /* slightly lighter gray for differentiation */
    text-align: center;
    border-top: 1px solid #e0e0e0; /* subtle border to separate sections */
}

#help-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

#help-section p {
    font-size: 18px;
    margin-bottom: 15px;
}

#help-section a {
    color: #2a7de1; /* Color for the email link, you can adjust if needed */
    text-decoration: none; 
    border-bottom: 1px dotted #2a7de1; /* subtle underline style for the link */
}

#help-section a:hover {
    text-decoration: underline; 
}
#providers-exams {
    padding: 40px 0;
    background-color: #fff; /* white background for contrast */
    text-align: center;
}

#providers-exams h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

#providers-exams p {
    font-size: 18px;
    margin-bottom: 30px;
}

.provider {
    margin: 0 auto;
    max-width: 500px; /* this ensures the text doesn't stretch too wide on large screens */
    text-align: left; /* aligns the provider and exam names to the left */
}

.provider h3 {
    font-size: 20px;
    margin-top: 20px;
    color: #333;
}

.provider ul {
    margin: 15px 0;
}

.provider ul li {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.header {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
    justify-content: start;  /* Align items to the start of the container */
}


/* Responsive styles for mobile screens */
@media (max-width: 480px) {
    .header {
        flex-direction: column;   /* Stack items vertically */
        align-items: center;      /* Center items horizontally */
        gap: 0.5rem;
    }
}

.title {
    /* Adjust these as per your design requirements */
    flex: 1; /* Makes sure the title occupies all available space */
    margin-right: 20px; /* Space between the title and the logo */
}

.logo-space {
    max-width: 100px; /* Adjust the width as per your logo's size */
    flex-shrink: 0; /* Ensures the logo doesn't shrink on smaller screens */
}

.logo-space img {
    width: 100%;
    height: auto; /* Keep this to ensure the logo maintains its aspect ratio */
}
/* Menu styles */
.top-menu {
    background-color: #f4f4f4;
    padding: 1em 0;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
}

.top-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.top-menu li {
    margin: 0 15px;
}

.top-menu a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.top-menu a:hover {
    color: #007BFF; /* Change this to any desired hover color */
}
.main-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

.main-nav li {
    float: left;
}

.main-nav li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.main-nav li a:hover {
    background-color: #111;
}

/* Basic Reset */
body, h1, h2, h3, p, ul, li, a {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    color: #333;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Header */
header {
    background-color: #ffffff;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

/* Navigation Bar */
.main-nav ul {
    display: flex;
    justify-content: center;
    background-color: #333;
}

.main-nav ul li {
    margin: 0 20px;
}

.main-nav ul li a {
    color: white;
    font-weight: bold;
}

.main-nav ul li a:hover {
    color: #007BFF;
}

/* Blog Container */
.blog-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.blog-container h1 {
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* Blog Post Styling */
.blog-post {
    background-color: #f8f8f8;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.blog-post h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #007BFF;
}

.blog-post h2 a {
    color: #007BFF;
    transition: color 0.3s ease;
}

.blog-post h2 a:hover {
    color: #0056b3;
}

.blog-post .post-date {
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
}

.blog-post p {
    margin-bottom: 15px;
}

.read-more {
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}
#about-us {
    background-color: #ffffff;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#about-us:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

#about-us h2 {
    color: #007BFF;
    margin-bottom: 20px;
}

#about-us p {
    color: #555;
    font-size: 1.1em;
    line-height: 1.6;
}
#providers-exams {
    background-color: #f8f8f8;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

#providers-exams:hover {
    background-color: #eef2f7;
}

#providers-exams h2 {
    color: #333;
    margin-bottom: 20px;
}

.provider {
    transition: transform 0.3s ease;
}

.provider:hover {
    transform: translateY(-5px);
}
#help-section {
    background-color: #ffffff;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

#help-section:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#help-section h2 {
    color: #007BFF;
    margin-bottom: 20px;
}

#help-section p {
    color: #555;
    font-size: 1.1em;
    line-height: 1.6;
}
#providers-exams {
    padding: 40px;
    text-align: center;
}

.provider-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.provider-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    width: 300px; /* Adjust as necessary */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.provider-card h3 {
    color: #007BFF;
    margin-bottom: 10px;
}
.provider-card .exam-list {
    list-style: none; /* Removes default bullet points */
    padding-left: 0; /* Aligns content properly */
}

.provider-card .exam-list li {
    padding: 8px 0; /* Adds vertical spacing between items */
    border-bottom: 1px solid #e0e0e0; /* Adds a separator line */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.provider-card .exam-list li:last-child {
    border-bottom: none; /* Removes border from the last item */
}

.provider-card .exam-list li:hover {
    background-color: #f0f0f0; /* Highlight effect on hover */
}

.provider-card .exam-list a {
    color: #007BFF; /* Color of the links */
    text-decoration: none; /* Removes underline from links */
    transition: color 0.3s ease; /* Smooth transition for link color */
}

.provider-card .exam-list a:hover {
    color: #0056b3; /* Darker shade on hover for links */
}


/* Additional styling for the content inside each card */







