/* General Reset */
body {
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif; /* Default font remains Raleway */
    background: #fff;
    color: #4D4E53;
}

/* Mobile Logo Section */
.mobile-logo {
    display: none; /* Hidden by default for desktop */
    text-align: center;
    margin: 10px 0;
}

.mobile-logo img {
    width: 200px;
    height: auto;
}

/* Slider Section */
.slider {
    position: relative;
    width: 100%;
    height: auto;
}

.slider img {
    width: 100%;
    height: auto;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.slider-title {
    width: 600px;
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.2));
}

/* Decorative Separator */
.separator {
    display: flex;
    justify-content: center;
}

.separator-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
}

/* Main Content Section (Desktop Only) */
.main-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0px auto;
    padding: 20px;
    gap: 40px;
}

.left-content {
    flex: 1;
    max-width: 40%;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center logo horizontally */
    font-family: 'Open Sans', sans-serif; /* Updated font for left side */
}

.left-logo-container {
    margin-bottom: 20px;
}

.left-logo {
    width: 180px;
}

.organization-text {
    font-size: 14px;
    line-height: 1.6;
    color: #898989;
    text-align: justify;
    font-family: 'Open Sans', sans-serif; /* Updated font */
}

/* Form Container */
.container {
    flex: 1;
    max-width: 55%;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
}

h2 {
    text-align: center;
    color: #4D4E53; /* Do not change this font */
    font-family: 'Raleway', sans-serif; /* Keep Raleway for titles */
    font-size: 26px;
    font-weight: 300;
}
h3 {
    font-family: 'Raleway', sans-serif; /* Keep Raleway for titles */
    color: #bbbbbb;
    font-size: 24px;
    font-weight: 300;
    text-align: left;
}
p {
    text-align: left;
    font-family: 'Raleway', sans-serif; /* Keep Raleway for titles */
    color: #bbbbbb;
}

/* Form Fields */
form {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-family: 'Open Sans', sans-serif; /* Updated font for form */
}

label {
    font-weight: normal;
    color: #666;
    font-family: 'Open Sans', sans-serif; /* Updated font for labels */
    font-size: 13px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"] {
    padding: 10px;
    border: 2px solid #ccc;
    font-size: 16px;
    color: #4D4E53;
    font-family: 'Open Sans', sans-serif; /* Updated font for inputs */
}

button {
    padding: 12px;
    background-color: #00458a;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Open Sans', sans-serif; /* Updated font for button */
}

button:hover {
    background-color: #002147;
}

/* Footer Section */
.footer {
    background-color: #1d2438;
    color: #fff;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    gap: 20px;
    position: relative;
}

/* Left Section */
.footer-left {
    flex: 1;
    text-align: center;
    color: #fff;
}

.footer-logo {
    width: 150px;
    margin-bottom: 15px;
}

.payment-logos {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.payment-logo {
    width: 50px;
    height: auto;
}

/* Separator */
.footer-separator {
    width: 1px;
    background-color: #fff;
    height: 100%;
    margin: 0 20px;
}

/* Right Section */
.footer-right {
    flex: 1;
    text-align: left;
    font-size: 14px;
    color: #fff;
}

.contact-details {
    line-height: 1.6;
    margin-bottom: 10px;
    color: #fff;
}

.contact-details a {
    color: #fff;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    font-size: 14px;
    color: #fff;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-separator {
        display: none; /* Hide separator on mobile */
    }

    .footer-right {
        text-align: center;
    }

    .main-content {
        flex-direction: column;
        margin: 0px auto;
    }

    .left-content {
        display: none; /* Hide left content on mobile */
    }

    .mobile-logo {
        display: block; /* Show logo on mobile */
    }

    .container {
        max-width: 100%; /* Full width for form on mobile */
    }
}





.input-container {
    position: relative;
    display: flex;
    flex-direction: column; /* Stack input and error message */
    gap: 5px; /* Space between input and error message */
}

.input-container input {
    flex: 1;
    padding-right: 30px; /* Space for validation icon */
    border: 2px solid #ccc;
    padding: 10px;
}

.input-container .validation-icon {
    position: absolute;
    right: 10px;
    top: 17%; /* Adjusted for better placement */
    font-size: 16px;
    display: none; /* Hidden by default */
}

.input-container .validation-icon.valid {
    color: green;
    display: inline-block;
}

.input-container .validation-icon.invalid {
    color: red;
    display: inline-block;
}

.input-container .error-message {
    font-size: 12px;
    color: red;
    margin: 0;
    padding: 0;
    display: block; /* Always show space for the error message */
    height: 16px; /* Ensure consistent spacing for all fields */
}
.input-container input {
    flex: 1;
    padding-right: 30px; /* Space for validation icon */
    border: 2px solid #ccc;
    padding: 10px;
    transition: border-color 0.3s ease; /* Smooth transition for border color */
}

.input-container input.valid {
    border-color: green; /* Green border for valid fields */
}

.input-container input.invalid {
    border-color: red; /* Red border for invalid fields */
}




/* Modal Background */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Transparent black background */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* Modal Content */
.modal-content {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Modal Title */
.modal-content h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1d2438;
}

/* Modal Subtitle */
.modal-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #444;
}

/* Modal Paragraph */
.modal-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Close Button */
.modal-close {
    padding: 10px 20px;
    background-color: #00458a;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: #002147;
}

.terms-container .error-message {
    font-size: 12px;
    color: red;
    margin-top: 5px;
    display: block;
}


/* Dropdown Design */
input[type="text"],
input[type="number"],
select {
    padding: 10px;
    border: 2px solid #ccc;
    font-size: 16px;
    color: #4D4E53;
    font-family: 'Open Sans', sans-serif; /* Ensure consistent font */
    width: 100%;
    box-sizing: border-box; /* Ensure consistent sizing */
    appearance: none; /* Remove default browser styles */
    background-color: #fff;
}

select {
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns%3D%22http%3A//www.w3.org/2000/svg%22 viewBox%3D%220 0 4 5%22%3E%3Cpath fill%3D%22%234D4E53%22 d%3D%22M2 0L0 2h4zm0 5L0 3h4z%22/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 12px;
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: green; /* Match validation styling */
}

