.contact-wrapper {
    display: flex; 
    flex-wrap: wrap; 
    gap: 80px; 
    justify-content: space-between;

    .contact-title {
        font-size: 20px;
        font-weight: 700;
        line-height: 24px;
     }
}

.contact-description {
    align-self: center;
    flex: 1; 
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: start;
    list-style-position: inside;
    p {
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
    }
     ul {
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 8px;
        padding-top: 16px;
     }
}

.contact-form {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    background: linear-gradient(135deg, rgba(117, 206, 222, 0.50) 0%, rgba(255, 250, 182, 0.50) 90%);
    padding: 32px 32px;
    border-radius: 12px;
    h2 {
        margin-bottom: 16px;
     }

    .form-checkbox input[type="checkbox"] {
        flex: 0 0 20px;
        height: 20px;
        margin-right: 10px;
        accent-color: var(--primary, #00244D);
    }
    
    .form-checkbox label {
        font-size: 16px; 
        display: flex;
        align-items: center; 
    }

    form {
        display: flex;
        flex-direction: column;
        overflow: visible; 
        position: relative;
    }
}

.contact-form .send-button {
    background: transparent;
    padding: 8px 30px;
    border-radius: 999px;
    border: 1px solid var(--primary, #00244D);
    color: var(--primary, #00244D);
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    margin-top: 24px;
    align-self: flex-end;
    transition: all 0.3s;
}

.contact-form .send-button:hover {
    background-color: var(--primary, #00244D);
    color: var(--white, #FFF);
    cursor: pointer;
}

.form-row {
    display: flex;
    gap: 10px; 
}

.form-row > * {
    flex: 1; 
    font-size: 16px;
    box-sizing: border-box; 
    width: 100%;
}


.form-group input, 
.form-group select, 
.form-group textarea {
    font-family: 'Open Sans', sans-serif;
    width: 100%;
    padding: 8px;
    border-radius: 2px;
    box-sizing: border-box;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 27px;
    font-weight: 400;
    border: none;
}

/* Custom Placeholder Styles */
.contact-form input::placeholder,
.contact-form textarea::placeholder
 {
    color: var(--white-hover, #B3B3B3);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border: none;
}


/* Default styling for the select dropdown */
.contact-form select:not(:valid) {
    color: #B3B3B3 !important;
}

.contact-form select {
    appearance: none;
    -webkit-appearance: menulist-button;
    -moz-appearance: menulist-button;
    padding: 10px 10px 10px 4px;
    width: 100%;
    font-size: 16px;
    line-height: 27px;
    font-weight: 400;
    box-sizing: border-box;
    transition: all 0.3s ease;;
    color: #000 !important;
    background-color: #fff;
}


/* Error container styling */
.error-container {
    position: absolute;
    font-size: 12px;
    color: var(--danger, #F5365C);
    display: none; 
}

/* When error messages are added, this will make them visible */
.error-container.active {
    display: block;

}

small.error-message {
    margin-top: -4px;
    margin-bottom: 10px;
    margin-left: 4px;
    display: block; 
    color: var(--danger, #F5365C); 
    font-size: 14px; 
    line-height: 1.2; 
}


/* Mobile and tablet Responsive */
@media screen and (min-width: 1440px) {
    .contact-section {
        display: flex; 
        flex-wrap: wrap; 
        gap: 80px; 
        justify-content: space-between;
    }
    .contact-description {
        min-width: 350px;
    }
    .contact-form {
        min-width: 380px;
        padding: 32px 32px;
    }

}

/* Tablet - min-width: 768px */
@media (min-width: 768px) and (max-width: 1439px) {
    .contact-section {
        flex-direction: column;
        align-items: start;
        gap: 20px;
    }
    .contact-form {
        min-width: 500px;
        padding: 32px 32px;
    }
    
    
}

@media (max-width: 767px) {
    .contact-section {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .contact-form {
        padding: 32px 16px;
    }

}


/* Notification container */
#notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Notification popup */
.notification {
    background-color: #4caf50; 
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    opacity: 0; 
    transform: translateX(100%); 
    animation: slideIn 0.5s ease-out forwards, fadeOut 1.5s ease-in 4.5s forwards;
}

/* Slide-in animation */
@keyframes slideIn {
    to {
        transform: translateX(0); 
        opacity: 1; 
    }
}

/* Fade-out animation */
@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(100%); 
    }
}

.notification-success {
    background-color: #4caf50;
    color: white;
}
.notification-error {
    background-color: #F5365C;
    color: white;
}
