/* ============================================================
   Contact Page — contact.css
   Beaver Builder HTML widget classes
   ============================================================ */

/* Overrides */
.contact-form-wrap .fl-module-content,
.contact-sidebar .fl-module-content {
    margin: 0;
}


/* ------------------------------------------------------------
   Contact Form Section
   ------------------------------------------------------------ */

.contact-form-wrap > .fl-col-content {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 20px;
    box-sizing: border-box;
}

.contact-form-wrap div.wpforms-container-full {

    max-width: 100%;
}

.contact-form-wrap strong {
    font-weight: bold;
}

.contact-form-title span {
    color: #d72027;
}

.contact-form-subtitle {
    color: #444;
    margin: 0 0 24px !important;
    line-height: 1.5;
}

.contact-divider {
    border: none;
    border-top: 2px solid #d72027;
    margin: 0;
}

/* Form grid rows */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.form-row .form-group {
    flex: 1;
}

/* Individual field */
.form-group {
    margin-bottom: 20px;
}

/* Labels */
.form-label {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.form-label .required {
    color: #d72027;
    margin-left: 2px;
}

/* ------------------------------------------------------------
   Contact Sidebar
   ------------------------------------------------------------ */

.contact-sidebar > .fl-col-content  {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.contact-sidebar-header {
    background: #1a1a1a;
    padding: 15px 20px;
}

.contact-sidebar-title {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

.contact-sidebar-body {
    background: #fff;
    padding: 0 20px;
}

.contact-sidebar-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.contact-sidebar-item:last-child {
    border-bottom: none;
}

/* Icon circle */
.contact-sidebar-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: #d72027;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-sidebar-icon i {
    font-size: 15px;
    color: #fff;
}

/* Info text */
.contact-sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 2px;
}

.contact-sidebar-label {
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
    line-height: 1;
}

.contact-sidebar-value {
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.4;
}

.contact-sidebar-value a {
    color: #d72027;
    text-decoration: none;
}

.contact-sidebar-value h5, .contact-sidebar-value h5 a {
    font-weight: normal;
    font-family: Arial;
    font-size: 14px;
    line-height: 1.4;
}


.contact-sidebar-value a:hover {
    text-decoration: underline;
}

/* Social links */
.contact-social-section {
    padding: 16px 20px 20px;
    border-top: 1px solid #eee;
}

.contact-social-label {
    display: block;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 10px;
}

/* Strip BB module spacing inside social section */
.contact-social-section .fl-module-icon-group,
.contact-social-section .fl-module-content {
    margin: 0 !important;
    padding: 0 !important;
}

/* Flex row of icons */
.contact-social-section .fl-icon-group {
    display: flex;
    gap: 8px;
}

/* Each icon button */
.contact-social-section .fl-icon a {
    width: 34px;
    height: 34px;
    border-radius: 5px !important;
    background: #eee !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease !important;
    border: none !important;
}

.contact-social-section .fl-icon a:hover {
    background: #ddd !important;
}

.contact-social-section .fl-icon a i {
    font-size: 13px;
    color: #444;
}

.contact-social-section .fl-icon a:hover i:before {
    color: #444 !important;
}

.contact-social-section .social .fl-icon {
    margin: 0;
}


/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 768px) {
    .contact-form-wrap {
        padding: 24px 20px;
    }

    .contact-form-wrap > .fl-col-content,
    .contact-sidebar  > .fl-col-content {
        border: none;
        border-radius: 0;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
