@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Global Styling */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    padding-top: 80px; /* Prevents content from hiding behind the fixed header */
    padding-bottom: 40px; /* Prevents content from hiding behind the footer */
}

/* Header Styling */
.header {
    background-color: #001f4e;
    padding: 15px 30px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    width: 120px;
    margin-left: 30px; /* Ensure it stays 30px from the left edge */
}

.nav-links {
    display: flex;
    gap: 50px;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: auto; /* Push nav to the right */
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: 400;
    transition: text-decoration 0.2s ease-in-out;
}

.nav-links li a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
        position: relative;
    }

    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo {
        margin: 0 auto;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        margin-top: 10px;
        padding-bottom: 10px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

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

    .newsletter-input {
        width: 90%;
    }
}

/* Footer Styling */
footer {
    background-color: #001f4e;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.footer-section {
    min-width: 200px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
}

.footer-section a {
    text-decoration: none;
    color: white;
    font-weight: 300;
    display: inline-block;
    margin-bottom: 5px;
    transition: text-decoration 0.2s ease-in-out;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-logo-img {
    width: 50px;
    display: block;
    margin: 0 auto;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.footer-note {
    text-align: center;
    font-size: 12px;
    opacity: 0.8;
    margin-top: 10px;
}

/* Newsletter Section */
.newsletter {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.newsletter-input {
    width: 250px;
    padding: 12px 20px;
    font-size: 16px;
    color: #6b7280;
    background-color: #e7edf4;
    border: none;
    border-radius: 25px;
    outline: none;
    transition: box-shadow 0.2s ease-in-out;
}

.newsletter-input:focus {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    background-color: #ffffff;
}

.newsletter-button {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #001f4e;
    background-color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
}

.newsletter-button:hover {
    background-color: #e7edf4;
}

/* Contact Page Layout */
.contact-main {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-container {
    max-width: 500px;
    padding: 20px;
    color: #001f4e;
}

.contact-container h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-container p {
    font-size: 16px;
    margin: 5px 0;
}

.contact-container a {
    color: #001f4e;
    text-decoration: none;
    font-weight: 500;
}

.contact-container a:hover {
    text-decoration: underline;
}

.contact-image {
    width: 100%;
    max-width: 400px;
    margin-top: 15px;
    border-radius: 10px;
}
