/* ==========================================================================
   Contact Section — 2-Column Layout (Demo Form + Get in Touch)
   ========================================================================== */

.contact-section-wrapper {
    background: #f8f9fa;
    padding: 20px 0;
}

/* ---------- Left Column: Demo Card ---------- */

.contact-demo-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
}

.contact-demo-header {
    background: linear-gradient(135deg, #31c8c2 0%, #1e9e99 100%);
    padding: 28px 28px 24px;
    position: relative;
}

.contact-demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.contact-demo-badge i {
    font-size: 7px;
    animation: contact-pulse-dot 2s ease-in-out infinite;
}

@keyframes contact-pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.contact-demo-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.contact-demo-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* Benefits List */
.contact-demo-body {
    padding: 24px 28px 28px;
}

.contact-demo-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.contact-demo-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    font-size: 14px;
    color: #4a5568;
    line-height: 1.5;
}

.contact-demo-benefits li i {
    color: #31c8c2;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Form */
.contact-form-group {
    margin-bottom: 18px;
}

.contact-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.contact-form-label i {
    margin-right: 6px;
    color: #31c8c2;
}

.contact-form-optional {
    color: #999;
    font-weight: 400;
}

.contact-phone-wrapper {
    position: relative;
}

/* intl-tel-input inside inline form */
.contact-demo-form .iti {
    width: 100%;
}

.contact-demo-form .iti__tel-input {
    width: 100%;
    padding: 12px 14px 12px 90px;
    font-size: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s ease;
    background: #fff;
}

.contact-demo-form .iti__tel-input:focus {
    outline: none;
    border-color: #31c8c2;
    box-shadow: 0 0 0 4px rgba(49, 200, 194, 0.12);
}

.contact-demo-form .iti__tel-input.is-invalid {
    border-color: #e53e3e;
}

.contact-demo-form .iti__tel-input.is-valid {
    border-color: #31c8c2;
}

.contact-form-input {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s ease;
    background: #fff;
    box-sizing: border-box;
}

.contact-form-input:focus {
    outline: none;
    border-color: #31c8c2;
    box-shadow: 0 0 0 4px rgba(49, 200, 194, 0.12);
}

.contact-form-input::placeholder {
    color: #a0aec0;
}

.contact-form-error {
    color: #e53e3e;
    font-size: 12px;
    margin-top: 6px;
    display: none;
}

.contact-form-error.is-visible {
    display: block;
}

/* Submit Button */
.contact-demo-submit {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #31c8c2 0%, #1e9e99 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(49, 200, 194, 0.3);
}

.contact-demo-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(49, 200, 194, 0.4);
}

.contact-demo-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.contact-demo-submit.is-loading .contact-demo-submit-text {
    display: none;
}

.contact-demo-submit.is-loading .contact-demo-submit-spinner {
    display: block;
}

.contact-demo-submit-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: contact-spin 0.8s linear infinite;
}

@keyframes contact-spin {
    to { transform: rotate(360deg); }
}

/* Privacy */
.contact-demo-privacy {
    margin-top: 14px;
    text-align: center;
    font-size: 12px;
    color: #718096;
}

.contact-demo-privacy i {
    margin-right: 4px;
}

.contact-demo-privacy a {
    color: #31c8c2;
    text-decoration: none;
}

.contact-demo-privacy a:hover {
    text-decoration: underline;
}

/* Success State */
.contact-demo-success {
    display: none;
    text-align: center;
    padding: 30px 10px;
}

.contact-demo-success.is-visible {
    display: block;
}

.contact-demo-success .contact-demo-success-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #31c8c2 0%, #1e9e99 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    animation: contact-success-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes contact-success-pop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.contact-demo-success .contact-demo-success-icon i {
    color: #fff;
    font-size: 28px;
}

.contact-demo-success h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1e2022;
    margin: 0 0 10px 0;
}

.contact-demo-success p {
    font-size: 14px;
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
}

/* Form hidden when success */
.contact-demo-card.is-success .contact-demo-form {
    display: none;
}

/* ---------- Right Column: Get in Touch ---------- */

.contact-touch-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
}

.contact-touch-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e2022;
    margin: 0 0 12px 0;
}

/* Benefits Squares */
.contact-benefits-squares {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-benefit-square {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(49, 200, 194, 0.08) 0%, rgba(30, 158, 153, 0.05) 100%);
    border: 1px solid rgba(49, 200, 194, 0.2);
    border-radius: 14px;
    padding: 22px 16px;
}

.contact-benefit-value {
    font-size: 32px;
    font-weight: 800;
    color: #1e9e99;
    line-height: 1.2;
}

.contact-benefit-label {
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 4px;
}

/* Contact Method Rows */
.contact-methods {
    gap: 8px;
}

.contact-method-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.contact-method-row:hover {
    background: #f8f9fa;
    border-color: #e9ecef;
    text-decoration: none;
    transform: translateX(4px);
}

.contact-method-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 28px;
}

.contact-method-icon--primary {
    background: #e8f4fd;
    color: #377dff;
}

.contact-method-icon--success {
    background: #e6f9f0;
    color: #25d366;
}

.contact-method-icon--info {
    background: #e8f4fd;
    color: #00c9a7;
}

.contact-method-icon--facebook {
    background: #e8eaf6;
    color: #1877f2;
}

.contact-method-info h5 {
    font-size: 20px;
    font-weight: 600;
    color: #1e2022;
    margin: 0 0 4px 0;
}

.contact-method-info span {
    font-size: 18px;
    color: #677788;
}

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

@media (max-width: 991px) {
    .contact-demo-header {
        padding: 24px 20px 20px;
    }
    .contact-demo-body {
        padding: 20px;
    }
    .contact-touch-card {
        padding: 28px 24px;
    }
}

@media (max-width: 575px) {
    .contact-section-wrapper {
        padding: 10px 0;
    }
    .contact-demo-title {
        font-size: 20px;
    }
    .contact-touch-title {
        font-size: 24px;
    }
    .contact-touch-card {
        padding: 24px 18px;
    }
    .contact-demo-body {
        padding: 18px 16px 20px;
    }
    .contact-method-row {
        padding: 12px;
    }
}
