/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Particles Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(to right, #002244, #004488);
    background-size: cover;
}

/* Header */
header {
    height:fit-content;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

header .hero-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

header .hero-content p {
    font-size: 1.2rem;
    color: #ddd;
}

/* Main Form Section */
main {
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0);
}
 
.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: #ffffffd5;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    text-align: center;
    color: #002244;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

/* Form Styles */
form .form-group {
    margin-bottom: 1.5rem;
}

form .form-group label {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

form .form-group input {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

form .form-group input:focus {
    border-color: #0073e6;
    outline: none;
}

form .btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    background: #0073e6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

form .btn:hover {
    background: #005bb5;
}


/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background: #002244;
    color: white;
    font-size: 0.9rem;
    margin-top: 2rem;
    width: 100%;
    margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .hero-content h1 {
        font-size: 2rem;
    }

    header .hero-content p {
        font-size: 1rem;
    }

    .form-container {
        padding: 1.5rem;
    }
}


nav .logo {
    position: relative; /* Keeps the logo aligned with flexbox */
    /* No additional margin needed */
}

nav .logo img {
    padding-top: 20px;
    width: 400px; /* Larger default size for desktop */
    height: auto; /* Maintain aspect ratio */
    max-width: 200%; /* Ensure it doesn’t overflow */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    nav .logo img {
        width: 200px; /* Slightly smaller for tablets */
    }
}

@media (max-width: 768px) {
    nav .logo img {
        width: 200px; /* Adjust for smaller tablets and larger phones */
    }
}

@media (max-width: 480px) {
    nav .logo img {
        width: 180px; /* Larger size for better visibility on mobile */
    }
}
