/* Premium Split Layout & Floating Card Styles */
.consultation-form-section {
    padding: 100px 0;
    /* Soft red-to-blue professional gradient */
    background: linear-gradient(135deg, #fdf2f2 0%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

.consultation-form-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(237, 39, 40, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.consultation-form-section .container {
    position: relative;
    z-index: 1;
}

/* Benefit Sidebar Styles */
.form-benefit-wrap {
    padding-right: 40px;
}

.form-benefit-wrap h2 {
    font-size: 32px;
    font-weight: 600;
    color: #14435c !important;
    margin-bottom: 20px;
    line-height: 1.2;
}

.form-benefit-wrap p.subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ed2728;
    box-shadow: 0 10px 20px rgba(237, 39, 40, 0.1);
    margin-right: 20px;
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: 18px;
    font-weight: 500;
    color: #14435c;
    margin-bottom: 5px;
}

.benefit-text p {
    font-size: 16px;
    color: #777;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Floating Form Card */
.form-floating-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(20, 67, 92, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.form-floating-card .form-group {
    margin-bottom: 20px;
}

.form-floating-card .form-label {
    font-weight: 600;
    font-size: 14px;
    color: #14435c;
    margin-bottom: 8px;
}

.form-floating-card .form-control, 
.form-floating-card .form-select {
    height: 54px;
    border-radius: 10px;
    border: 1px solid #eee;
    padding: 0 20px;
    font-size: 15px;
    transition: all 0.3s ease;
}

/* Dropdown arrow styles */
.form-floating-card .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.15rem center;
    background-size: 14px 10px;
}

/* HIDE arrow ONLY for readonly (locked) fields on Product/Service pages */
.form-floating-card select.form-select[readonly] {
    background-image: none !important;
}

.form-floating-card textarea.form-control {
    height: auto;
    padding: 15px 20px;
}

.form-floating-card .form-control:focus {
    border-color: #ed2728;
    box-shadow: 0 0 0 4px rgba(237, 39, 40, 0.05);
}

.form-floating-card .bg-light {
    background-color: #f8f9fa !important;
}

.form-floating-card .submit-btn {
    width: 100%;
    height: 60px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(237, 39, 40, 0.2);
}

.form-floating-card .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(237, 39, 40, 0.3);
}

/* intl-tel-input adjustment - matching original contact form style */
.form-floating-card .iti {
    width: 100%;
}

.form-floating-card .iti__selected-flag {
    height: 100%;
    background-color: #f5f5f5 !important;
    border-radius: 12px 0 0 12px;
}

.form-floating-card .form-control {
    width: 100% !important;
}

@media (max-width: 991px) {
    .consultation-form-section {
        padding: 60px 0;
    }
    .form-benefit-wrap {
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }
    .benefit-item {
        justify-content: flex-start;
        max-width: 450px;
        margin: 0 auto 25px;
    }
    .benefit-text h4 {
        font-size: 17px;
    }
    .benefit-text p {
        font-size: 14px;
    }
    .form-floating-card {
        padding: 30px 25px;
    }
    .form-benefit-wrap h2 {
        font-size: 28px;
    }
    .form-benefit-wrap p.subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .consultation-form-section {
        padding: 40px 0;
    }
    .form-floating-card {
        padding: 25px 15px;
        border-radius: 15px;
    }
    .form-benefit-wrap h2 {
        font-size: 24px;
    }
    .benefit-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-right: 15px;
    }
    .form-floating-card .form-control, 
    .form-floating-card .form-select {
        height: 50px;
        font-size: 14px;
    }
    .form-floating-card .submit-btn {
        height: 54px;
        font-size: 15px;
    }
}
