.contact-us-section {
    background-color: var(--light-blue);
    margin-bottom: 0;
    padding: 96px 0;
}

.contact-us-section-header {
    margin-bottom: 64px;
}

.contact-us-section-content {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    flex-wrap: no-wrap;
}

@media (max-width: 992px) {
    .contact-us-section-content {
        flex-wrap: wrap;
    }
}

.contact-us-section-blue-containers {
    display: flex;
    gap: 16px;
    flex-direction: column;
}

.blue-contact-container {
    display: flex;
    padding: 16px;
    gap: 8px;
    border-radius: 48px;
    background: var(--medium-blue);
    width: fit-content;
    align-items: center;
    margin-bottom: 16px;
}

.blue-contact-container-text span {
    color: var(--main-blue);
    font-size: 18px;
    font-weight: 600;
}

.contact-us-section-ids {
    margin-top: 40px;
}

/* Contact form */

.contact-card {
    width: min(580px, 100%);
    background: #ffffff;
    border-radius: 32px;
    padding: 24px;
}
  
.contact-form {
    display: grid;
    gap: 14px;
}
  
.row-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
  
@media (max-width: 520px) {
    .row-two-columns {
        grid-template-columns: 1fr;
    }
}
  
.contact-form-field-wrap {
    position: relative;
}
  
.contact-form-field-wrap input,
.contact-form-field-wrap textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: var(--light-grey);
    color: var(--foreground-primary);
    font-size: 16px;
    padding: 16px;
    border-radius: 48px;
}
  
.contact-form-field-wrap textarea {
    border-radius: 24px;
    min-height: 144px;
    padding-top: 22px;
    resize: none;
}
  
.contact-form-field-wrap label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--foreground-secondary);
    pointer-events: none;
    padding: 0 6px;
    transition: all 0.18s ease;
    max-width: calc(100% - 32px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
  
.contact-form-field-wrap.textarea-wrap label {
    top: 18px;
    transform: none;
}
  
.contact-form-field-wrap.filled label,
.contact-form-field-wrap input:focus + label,
.contact-form-field-wrap textarea:focus + label {
    top: -7px;
    transform: none;
    font-size: 12px;
    color: var(--foreground-primary);
}
  
.checkboxes-consent-container {
    display: grid;
    gap: 16px;
    margin: 32px 0;
}
  
.checkbox-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--foreground-primary);
    cursor: pointer;
}
  
.checkbox-consent input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
  
.checkbox-consent .custom-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 2px;
    border: 2px solid var(--foreground-secondary);
    background: #ffffff;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.1s ease, border-color 0.1s ease;
}
  
.checkbox-consent .custom-checkbox::after {
    content: "";
    width: 5px;
    height: 9px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg) scale(0);
    transition: transform 0.1s ease;
    cursor: pointer;
}
  
.checkbox-consent input:checked + .custom-checkbox {
    background: var(--main-blue);
    border-color: var(--main-blue);
    cursor: pointer;
}
  
.checkbox-consent input:checked + .custom-checkbox::after {
    transform: rotate(45deg) scale(1);
}

.submit-button {
    border: none;
}

.submit-button:disabled {
    background: #f2a6d6;
    opacity: 0.8;
}

/* Contact form response message */
.contact-form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
}
.contact-form-message--success {
    color: #1B9919;
}
.contact-form-message--error {
    color: #ff0e0e;
}

.muted {
    color: var(--foreground-secondary);
}

.contact-form-buttons-message-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 520px) {
    .contact-form-buttons-message-container {
        display: block;
    }
}