/* Doctor CTA Form Section - Premium Bright & Gold Theme */

/* Force Full Width Breakout for Elementor */
.ducphuc-doctor-cta-section {
    position: relative;
    padding: 100px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background: linear-gradient(135deg, #f7f9fa 0%, #eef3f5 100%); /* Clean, bright medical white/grey background */
    overflow: hidden;
    font-family: 'Open Sans', Arial, sans-serif;
    border-top: 1px solid #e0dfd5;
    border-bottom: 1px solid #e0dfd5;
}

/* Luxurious Gold Accent Shape */
.ducphuc-doctor-cta-bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212,175,55,0.08) 0%, rgba(255,255,255,0) 50%),
                radial-gradient(circle at bottom left, rgba(212,175,55,0.05) 0%, rgba(255,255,255,0) 40%);
    z-index: 1;
    pointer-events: none;
}

.ducphuc-doctor-cta-container {
    max-width: 1200px; /* Wider container for full look */
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

/* Headings */
.ducphuc-doctor-cta-header {
    text-align: center;
    margin-bottom: 80px;
}

.ducphuc-doctor-cta-header h2 {
    color: #276b7b; /* Deep Elite Teal for high contrast on light background */
    font-size: 42px;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

/* Make "NGAY HÔM NAY" pop in Gold */
.ducphuc-doctor-cta-header h2 span.gold-text {
    color: #D4AF37;
}

.ducphuc-doctor-cta-header .subtitle {
    display: inline-block;
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: #fff;
    padding: 12px 40px;
    border-radius: 40px;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    letter-spacing: 1px;
}

/* Form Card Wrapper */
.ducphuc-doctor-cta-card {
    background: #ffffff; /* Pure clean white */
    border-radius: 20px;
    border: 2px solid #D4AF37; /* Pure Gold Border */
    display: flex;
    align-items: stretch;
    position: relative;
    box-shadow: 0 25px 50px rgba(39, 107, 123, 0.1); /* Soft teal shadow */
    min-height: 400px;
}

/* Left Image Column */
.ducphuc-doctor-image-col {
    width: 40%;
    position: relative;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
    overflow: hidden; /* Không cho ảnh lồi ra góc bo tròn */
    min-height: 100%; /* Đảm bảo cột luôn căng full chiều dọc */
}

/* Loại bỏ ảnh hưởng của cái Div vòng tròn dư thừa */
.ducphuc-doctor-circle {
    display: contents; /* Giúp div này tàng hình, không cản trở layout */
}

/* Ép bức ảnh bám sát 4 góc và lấp đầy 100% diện tích cột bên trái */
.ducphuc-doctor-image-col img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Lấp kín mọi khoảng trống */
    object-position: center; /* Canh giữa ảnh */
}

/* Right Form Column */
.ducphuc-doctor-form-col {
    padding: 50px 60px; /* Reset padding since there is no overlapping circle anymore */
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ducphuc-form-intro {
    font-size: 22px;
    color: #444; /* Dark grey */
    font-weight: 700;
    margin-bottom: 30px;
}

.ducphuc-doctor-form-col form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ducphuc-doctor-form-col .form-row {
    position: relative;
}

.ducphuc-doctor-form-col input[type="text"],
.ducphuc-doctor-form-col input[type="tel"],
.ducphuc-doctor-form-col textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #dda; /* Soft gold/beige border */
    border-radius: 8px;
    background: #fdfdfd; 
    font-size: 16px;
    color: #333;
    font-family: 'Open Sans', sans-serif;
    outline: none;
    transition: all 0.3s;
}

.ducphuc-doctor-form-col input:focus,
.ducphuc-doctor-form-col textarea:focus {
    border-color: #D4AF37;
    background: #fff;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

.ducphuc-doctor-form-col input::placeholder,
.ducphuc-doctor-form-col textarea::placeholder {
    color: #999;
}

/* HIGH CONVERTING GOLD CTA BUTTON */
@keyframes pulseBrightGold {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.ducphuc-doctor-form-col input[type="submit"] {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%) !important;
    color: #ffffff !important; 
    font-weight: 800 !important;
    font-size: 22px !important;
    text-transform: uppercase !important;
    padding: 20px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3) !important;
    transition: all 0.3s ease !important;
    margin-top: 15px;
    animation: pulseBrightGold 2s infinite; /* Pulsing effect */
}

.ducphuc-doctor-form-col input[type="submit"]:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.5) !important;
    background: linear-gradient(135deg, #e5c049 0%, #D4AF37 100%) !important;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .ducphuc-doctor-cta-card {
        flex-direction: column;
    }
    
    .ducphuc-doctor-image-col {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        border-bottom-left-radius: 0;
    }
    
    .ducphuc-doctor-circle {
        width: 320px;
        margin-left: 0;
    }
    
    .ducphuc-doctor-form-col {
        width: 100%;
        padding: 40px 20px;
    }
    
    .ducphuc-doctor-cta-header h2 {
        font-size: 28px;
    }
}
