/* Styles for the contact us section */

#contactUsSectionOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 40px;
    gap: 40px;
    width: 700px;
    margin: 0px auto;
    margin-bottom: 80px;
}

#contactUsSectionHeaderDiv {
    font-size: 25px;
    font-weight: bold;
    color: #333;
}

#contactUsSectionTextDiv {
    font-size: 17px;
    opacity: 0.8;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 10px;
}

.successMessageDiv {
    width: 100%;
    padding: 15px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    color: #155724;
    text-align: center;
    font-size: 16px;
    margin-bottom: 10px;
}

.errorMessageDiv {
    width: 100%;
    padding: 15px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    color: #721c24;
    text-align: center;
    font-size: 16px;
    margin-bottom: 10px;
}

#contactUsForm {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.formGroup {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.formGroup label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.formGroup input,
.formGroup textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
}

.formGroup input:focus,
.formGroup textarea:focus {
    border-color: #0088cc;
}

#submitButton {
    padding: 12px 24px;
    background-color: #0088cc;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    align-self: flex-start;
    transition: background-color 0.3s;
}

#submitButton:hover {
    background-color: #006699;
}

/* Contact information styles */
#contactInfoDiv {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
    border-top: 1px solid #eaeaea;
    padding-top: 30px;
}

.contactInfoItem {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contactInfoIcon {
    padding: 10px;
    background-color: #f0f7fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contactInfoIcon svg {
    fill: #0088cc;
}

.contactInfoText {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contactInfoLabel {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.contactInfoValue {
    font-size: 16px;
    color: #666;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    #contactUsSectionOuterDiv {
        width: 90%;
        padding: 40px 20px;
    }
}

@media (max-width: 576px) {
    #contactUsSectionOuterDiv {
        width: 95%;
        padding: 30px 10px;
    }

    .contactInfoItem {
        flex-direction: column;
        align-items: flex-start;
    }

    #submitButton {
        width: 100%;
        align-self: center;
    }
}