body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif; /* Ensure this is set */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #003366;
    color: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
header .logo-container {
    display: flex;
    align-items: center;
}
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    color: #003366;
    border-radius: 5px;
    margin-right: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
}
header .logo-container h1 {
    margin: 0;
    font-size: 1.5rem;
    padding-right: 1rem;
}
.tagline {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffcc00;
    margin-right: 1rem; /* Add margin-right to the tagline for spacing */
}
nav {
    display: flex;
    gap: 1rem;
    align-items: center; /* Ensure alignment of items */
}
nav a, .dropdown > a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: background 0.3s ease;
    border-radius: 5px;
    position: relative; /* For submenu positioning */
}
nav a:hover, nav a.active, .dropdown > a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #003366;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 5px;
    top: calc(100% + 0.5rem); /* Position below the parent link */
    left: 0; /* Align with the parent link */
    width: 100%; /* Match width of parent link */
}
.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.dropdown-content a:hover, .dropdown-content a.active {
    background-color: #ffcc00; /* More pronounced highlight color */
}
.dropdown:hover .dropdown-content, .dropdown-content:hover {
    display: block;
}
.dropdown:hover > a, .dropdown > a.active {
    background: rgba(255, 255, 255, 0.2);
}
.search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}
.search input {
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    outline: none;
}
.search button {
    padding: 0.5rem 1rem;
    background: #fff;
    color: #003366;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.search button:hover {
    background: #ddd;
}
.container {
    padding: 2rem;
    background-color: #fff;
    margin: 2rem auto;
    width: 90%;
    max-width: 1200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
h2 {
    color: #003366;
    font-family: 'Roboto', sans-serif; /* Ensure this is set */
}
/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    margin: 0; /* Remove margin */
    padding: 0; /* Remove padding */
    height: 50vh; /* Reduce height to 50% of the viewport height */
    overflow: hidden;
}
.hero img {
    width: 100%;
    height: auto;
    display: block; /* Remove any default inline spacing */
}
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.7); /* Darker background */
    padding: 2rem;
    border-radius: 10px;
    color: #fff;
    text-align: center;
    font-family: 'Roboto', sans-serif; /* Ensure this is set */
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.cta-button {
    background-color: #ffcc00;
    color: #003366;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.cta-button:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}
.cta-button:active {
    background-color: #cc9900; /* Change color on active state */
}

/* Introduction Section */
.introduction {
    background-color: #f9f9f9;
    padding: 2rem 0;
}
.introduction .container {
    text-align: center;
}
.introduction h2 {
    margin-bottom: 1rem;
    font-family: 'Roboto', sans-serif; /* Ensure this is set */
}

/* Tools Section */
.tools {
    background-color: #f1f1f1;
    padding: 2rem 0;
    margin-top: -35px; /* Move the section up slightly */
}
.tools .container {
    display: flex;
    justify-content: space-between;
    text-align: center;
}
.tool {
    flex: 1;
    margin: 0 1rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.tool:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}
.tool h3 {
    margin-bottom: 0.5rem;
    font-family: 'Roboto', sans-serif; /* Ensure this is set */
    color: #003366;
}
.tool p {
    margin-bottom: 1rem;
}
.tool-icon {
    font-size: 3rem;
    color: #ffcc00;
    margin-bottom: 1rem;
}

/* Content Highlights Section */
.content-highlights {
    background-color: #f9f9f9;
    padding: 2rem 0;
}
.content-highlights .container {
    display: flex;
    justify-content: space-between;
    text-align: center;
}
.content-item {
    flex: 1;
    margin: 0 1rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.content-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.content-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 1rem;
}
.content-item h3 {
    margin-bottom: 0.5rem;
    font-family: 'Roboto', sans-serif; /* Ensure this is set */
}
.content-item p {
    margin-bottom: 1rem;
}

/* CTA Section */
.cta {
    background-color: #003366;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}
.cta .container {
    max-width: 800px;
    margin: 0 auto;
}
.cta h2 {
    margin-bottom: 1rem;
    font-family: 'Roboto', sans-serif; /* Ensure this is set */
}
.cta p {
    margin-bottom: 2rem;
}
.cta-button {
    background-color: #ffcc00;
    color: #003366;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.cta-button:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: #003366;
    color: #fff;
    padding: 0.5rem;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 40px;
}
footer div {
    display: flex;
    align-items: center;
    gap: 1rem;
}
footer .footer-links a {
    color: #fff;
    text-decoration: none;
    padding: 0 1rem;
    border-right: 1px solid #fff;
}
footer .footer-links a:last-child {
    border-right: none;
}
footer .footer-links a:hover {
    text-decoration: underline;
    color: #ffcc00;
    transition: color 0.3s ease;
}
footer .social-icons a {
    font-size: 1.5rem;
    color: #fff;
    transition: color 0.3s ease;
}
footer .social-icons a:hover {
    color: #ffcc00;
}
.icon {
    width: 24px;
    height: 24px;
    fill: #fff;
}
.flag-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
}


/* Contact Form */
.contact-container {
    padding: 2rem;
    background-color: #fff;
    margin: 2rem auto;
    width: 90%;
    max-width: 1200px; /* Adjust max-width for better form layout */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-family: 'Roboto', sans-serif; /* Ensure this is set */
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-weight: 500;
    color: #003366;
}

input, textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
}

button {
    padding: 0.75rem 2rem;
    background-color: #ffcc00;
    color: #003366;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    align-self: center;
}

button:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

button:active {
    background-color: #cc9900;
    transform: scale(0.98);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Signup Form Styles */
.signup-container, .login-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Roboto', sans-serif;
}

.signup-header, .login-header {
    background-color: #003366;
    color: #fff;
    padding: 1rem;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    text-align: center;
}

.signup-header h1, .login-header h1 {
    margin: 0;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #003366;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.btn {
    display: inline-block;
    width: 100%;
    padding: 0.75rem;
    background-color: #003366;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #002244;
    transform: translateY(-2px);
}

.btn:active {
    background-color: #001122;
}
