body {
    background-color: #324979;
    color: #ffffff;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header-top {
    padding-top: 2rem;
    padding-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 300;
}

/* Logo Styles */
.logo-wrapper {
    min-height: 150px;
}

.main-logo {
    max-width: 100%;
    height: auto;
    max-height: 220px; /* Optional cap to keep it from being too tall */
    display: block;
}

/* Contact Form Styles */
.contact-form-container {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form-container h2 {
    font-weight: 400;
    font-size: 2rem;
    margin-bottom: 2.5rem !important;
}

/* Input Styles */
.custom-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 0;
    color: white;
    padding: 0.75rem 0;
    font-weight: 300;
}

.custom-input:focus {
    background: transparent;
    color: white;
    border-bottom-color: white;
    box-shadow: none;
}

.custom-input::placeholder {
    color: #ffffff;
    opacity: 0.9;
}

/* Checkbox and Privacy */
.custom-checkbox {
    margin-top: 2.5rem;
}

.custom-checkbox .form-check-input {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.7);
    border-radius: 0;
    width: 1.25em;
    height: 1.25em;
    margin-top: 0.1em;
    cursor: pointer;
    flex-shrink: 0;
}

.custom-checkbox .form-check-input:checked {
    background-color: transparent;
    border-color: white;
    position: relative;
}

.custom-checkbox .form-check-input:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    left: 2px;
    top: -3px;
}

.custom-checkbox .form-check-input:focus {
    box-shadow: none;
    border-color: white;
}

.privacy-text {
    font-size: 0.75rem;
    line-height: 1.3;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

/* Submit Button */
.btn-submit {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 0.75rem 2rem;
    width: 100%;
    margin-top: 1.5rem;
    border-radius: 0;
    font-weight: 400;
    transition: all 0.3s ease;
}

.btn-submit:hover, .btn-submit:focus {
    background: white;
    color: #3b537c;
}

/* Alert Styles Customization */
.alert {
    border-radius: 0;
    border: none;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .header-top {
        padding-top: 1.5rem;
        padding-bottom: 0.5rem;
    }
    
    .logo-wrapper {
        min-height: auto;
        margin-bottom: 1.5rem !important; /* Reduces space between logo and form */
    }

    .contact-form-container {
        margin-top: 1rem !important;
    }

    /* Reduces bottom spacing of the entire main row on mobile */
    main .pb-5 {
        padding-bottom: 1rem !important;
    }

    .privacy-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .custom-checkbox {
        margin-top: 1.5rem !important;
    }
}