body {
    margin: 0;
    padding: 0;
    background-color: #959da8;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 99vh;
    font-family: Arial, sans-serif;
    overflow: hidden; /* Disable scrollbar */
}

.gradient-bar {
    width: 100%;
    height: 25px;
    background: linear-gradient(to right, #000000, #1223b9);
    position: absolute;
    top: 0;
    left: 0;
}

h1, h2, h3 {
    color: #cdd5e1;
    margin: 0; /* Reset margin */
    padding: 0; /* Reset padding */
}

.container {
    text-align: center;
    width: 33%;
}

.content {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    max-width: 100%;
    height: auto;
}

.contact-button {
    background-color: #112fcb;
    color: #959da8;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-top: 10px; /* Add space above button */
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #1223b9;
    transition: left 0.3s ease;
}

.contact-button:hover::before {
    left: 0;
}

.contact-button span {
    position: relative;
    z-index: 1;
}

footer {
    position: absolute;
    bottom: 20px; /* Adjusted to prevent hiding behind taskbar */
    width: 100%;
    text-align: center;
}

footer a {
    position: absolute;
    right: 10px;
    color: inherit;
    text-decoration: none;
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }
}

/* Modal styles */
.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.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #959da8;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-content h2 {
    color: #cdd5e1;
}

.modal-content label {
    color: #cdd5e1;
    margin-top: 10px;
}

.modal-content input,
.modal-content textarea {
    width: 90%; /* Ensure 90% of modal width */
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none; /* Prevent resizing */
}

.close {
    color: #aaa;
    align-self: flex-end;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    width: 100%;
}

.form-buttons button {
    background-color: #112fcb;
    color: #959da8;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-buttons button:hover {
    background-color: #1223b9;
}

/* Message modal styles */
#messageModal .modal-content {
    background-color: #959da8;
    text-align: center;
}

#messageText {
    color: #cdd5e1;
    margin-top: 20px;
}
