*
{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f7f7f7;
    color: #333;
    text-align: center;
}
header {
    width: 100%;
    background-color: #4CAF50;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
nav {
    display: flex;
    gap: 30px;
}
nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}
nav a:hover {
    text-decoration: underline;
}
.hidden {
    display: none;
  }
.error-message {
      color: red;
      font-size: 14px;
      white-space: nowrap; /* Prevent line breaks */
      overflow: hidden;
      text-overflow: ellipsis; /* Optional: add ellipsis for very long text */
}
.dropdown {
    position: relative;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 150px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    z-index: 1;
}
.dropdown-content a {
    display: block;
    color: black;
    padding: 10px;
    text-decoration: none;
}
.dropdown-content a:hover {
    background-color: #f0f0f0;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.hero {
    max-width: 800px;
    margin: 20px auto;
    text-align: left;
    line-height: 1.5;
}
.hero h2 {
    font-size: 24px; /* Slightly smaller for mobile readability */
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.1); /* Light background for readability */
    border-radius: 8px;
    width: 100%; /* Ensures it doesn’t get too wide */
    max-width: 800px; /* Matches the container */
    margin: 10px auto; /* Ensures it's centered */
}
.hero ol {
    margin-left: 20px;
    padding: 20px;
}
.hero ul {
    margin-left: 20px;
    padding: 20px;
}
.hero p {
    padding: 20px;
}
.hero img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.cta-button {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    padding: 12px 18px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    margin-top: 15px;
    cursor: pointer;
    transition: 0.3s;
}
.cta-button:hover {
    background-color: #2E7D32;
    transform: scale(1.05);
}
footer {
    footer {
        width: 100%;
        max-width: 800px; /* Match the header */
        background-color: black;
        color: white;
        text-align: center;
        padding: 20px;
        margin: 40px auto; /* Center it */
    }
}
footer a {
    color: #4CAF50;
    text-decoration: none;
}
@media (max-width: 768px) {
    header, nav {
        flex-direction: column;
        text-align: center;
    }
    nav {
        gap: 10px;
        margin-top: 10px;
    }
}