/* Consultation Form Section Styles */
.landing-consultation-form-section {
    padding: 80px 0;
    background-color: #f8f8f8; /* Light background */
}

.consultation-form-wrapper {
    background: linear-gradient(135deg, #e0f7fa 0%, #e8f5e9 100%); /* Light blue/green gradient */
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 0 auto;
}

.consultation-form-header {
    margin-bottom: 30px;
}

.consultation-form-header .form-main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
    text-transform: uppercase;
    background-image: linear-gradient(90deg, #2aaddf 0%, #282561 42.46%, #282561 8.61%, #282561 7.94%, #ef3e56 67%);    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.consultation-form-header .form-sub-title {
    font-family: 'Dancing Script', cursive; /* Script font from image */
    font-size: 2em;
    color: #007bff; /* Blue color */
    margin-bottom: 0;
}

.consultation-form .form-control {
    width: 100%; /* Make inputs full width */
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 12px 15px;
    height: auto;
}

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

.consultation-form .form-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px; /* Compensate for col padding */
    margin-right: -10px; /* Compensate for col padding */
    width: 100%; /* Ensure it takes full width */
}

.consultation-form .form-row > .col-md-4 {
    padding-left: 10px;
    padding-right: 10px;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.consultation-form .form-submit-btn {
    background-color: #007bff; /* Blue button */
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 20px; /* Reduced padding */
    font-size: 1em; /* Reduced font size */
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.consultation-form .form-submit-btn:hover {
    background-color: #0056b3;
}

.consultation-form-separator {
    margin: 20px 0;
    font-size: 1.1em;
    color: #666;
}

/* Hotline Button Animation */
@keyframes hotline-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(220, 53, 69, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
        transform: scale(1);
    }
}

@keyframes hotline-shake {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(-5deg); }
    20% { transform: rotate(5deg); }
    30% { transform: rotate(-5deg); }
    40% { transform: rotate(5deg); }
    50% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

.consultation-form-hotline .hotline-btn {
    display: inline-flex;
    align-items: center;
    background-color: #dc3545; /* Red button */
    color: #fff;
    border-radius: 50px;
    padding: 10px 25px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 700;
    transition: background-color 0.3s ease;

    /* Animation */
    animation: hotline-pulse 2s infinite;
}

.consultation-form-hotline .hotline-btn:hover {
    background-color: #c82333;
    animation: none; /* Stop animation on hover if desired, or keep it */
}

.consultation-form-hotline .hotline-btn i {
    margin-right: 10px;
    font-size: 1.5em;
    /* Shake animation for the icon */
    animation: hotline-shake 2s infinite;
    animation-delay: 1s; /* Delay shake to alternate with pulse */
}

/* Hide phone number span on all devices */
.consultation-form-hotline .hotline-btn span {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .consultation-form-wrapper {
        padding: 30px;
        margin: 0 15px;
    }

    .consultation-form-header .form-main-title {
        font-size: 2em;
    }

    .consultation-form-header .form-sub-title {
        font-size: 1.5em;
    }

    .consultation-form .form-row {
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
    }

    .consultation-form .form-row > .col-md-4 {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 100%; /* Ensure it takes full width */
        flex-basis: 100%; /* Ensure it takes full width */
    }

    /* Make submit button full width on mobile */
    .consultation-form .form-submit-btn {
        width: 100%;
        display: block;
        margin-bottom: 15px; /* Add spacing below */
    }

    .consultation-form-hotline .hotline-btn {
        font-size: 1em;
        padding: 10px 20px;
        /* Removed flex-direction: column since span is hidden */
        width: 100%; /* Make hotline button full width too for consistency */
        justify-content: center; /* Center content */
        border-radius: 10px;
    }

    .consultation-form-hotline .hotline-btn i {
        margin-right: 10px; /* Restore margin right */
        margin-bottom: 0; /* Remove margin bottom */
    }
}
