/* ==========================================
   Contact Section Styles
   ========================================== */

.ecs-contact-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 80px 0;
    color: #ffffff;
}

.ecs-content {
    padding-right: 40px;
}

.ecs-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.2;
    color: #ffffff;
}

.ecs-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    margin: 0 0 32px;
    color: rgba(255, 255, 255, 0.9);
}

.ecs-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ecs-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.ecs-benefits i {
    color: #27ae60;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Form Wrapper */
.ecs-form-wrapper {
    background: #ffffff;
    border-radius: 12px;
    padding: 36px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.ecs-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 24px;
    text-align: center;
}

/* Form Fields */
.ecs-field {
    margin-bottom: 20px;
}

.ecs-field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.ecs-field label span {
    color: #e74c3c;
}

.ecs-field input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #1f2937;
    background: #f9fafb;
    transition: all 0.2s;
    font-family: inherit;
}

.ecs-field input:focus {
    outline: none;
    border-color: #3498db;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.ecs-field input.ecs-invalid {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.ecs-error {
    display: block;
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 4px;
    min-height: 18px;
}

/* Submit Button */
.ecs-submit {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    margin-top: 8px;
}

.ecs-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.ecs-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Spinner */
.ecs-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: ecs-spin 0.7s linear infinite;
}

.ecs-spinner.ecs-spinning {
    display: block;
}

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

/* Form Message */
.ecs-form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.ecs-form-message.ecs-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    display: block;
}

.ecs-form-message.ecs-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    display: block;
}

/* Success Message */
.ecs-success-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.ecs-success-message.ecs-visible {
    display: block;
}

.ecs-success-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
}

.ecs-success-message h4 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin: 0 0 10px;
}

.ecs-success-message p {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 991px) {
    .ecs-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .ecs-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .ecs-contact-section {
        padding: 50px 0;
    }

    .ecs-form-wrapper {
        padding: 28px 20px;
    }

    .ecs-title {
        font-size: 1.8rem;
    }
}
