/* Unified Contact Form Styles */
.ccf-unified-contact-form {
    margin: 30px 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ccf-container {
    display: flex;
    background-color: #fff;
}

/* NEW: Left Section for Image */
.ccf-left-section {
    flex: 1;
    position: relative;
}

.ccf-left-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* NEW: Middle Section for Details */
.ccf-middle-section {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f8f9fa; /* Light background for contrast */
}

/* Right Section for Form (adjusted) */
.ccf-right-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background-color: #fff;
}

.ccf-form-container {
    width: 100%;
    max-width: 450px;
}

.ccf-heading {
    font-size: 32px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.2;
}

.ccf-company-name {
    font-size: 20px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 30px;
    color: #555;
}

.ccf-contact-info {
    margin-bottom: 30px;
}

.ccf-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.ccf-info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #495057;
}

.ccf-info-text {
    font-size: 16px;
    line-height: 1.6;
    color: #495057;
}

.ccf-info-text a {
    color: #007bff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ccf-info-text a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.ccf-info-text address {
    font-style: normal;
}

.ccf-social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.ccf-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.ccf-social-links a:hover {
    transform: translateY(-3px);
}

.ccf-form-title {
    font-size: 28px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.ccf-form-description {
    font-size: 16px;
    margin-bottom: 30px;
    color: #666;
}

.ccf-field-group {
    margin-bottom: 20px;
}

.ccf-field-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.ccf-field-group .required {
    color: #e74c3c;
}

.ccf-unified-contact-form .ccf-form-container input[type="text"],
.ccf-unified-contact-form .ccf-form-container input[type="email"],
.ccf-unified-contact-form .ccf-form-container input[type="tel"],
.ccf-unified-contact-form .ccf-form-container select,
.ccf-unified-contact-form .ccf-form-container textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.ccf-unified-contact-form .ccf-form-container input:focus,
.ccf-unified-contact-form .ccf-form-container select:focus,
.ccf-unified-contact-form .ccf-form-container textarea:focus {
    outline: none;
    border-color: #4dabf7;
    box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.2);
}

.ccf-checkbox-group {
    display: flex;
    align-items: center;
}

.ccf-checkbox-group input {
    margin-right: 10px;
}

.ccf-unified-contact-form .ccf-form-container .ccf-field-group button,
.ccf-form-container #ccf-submit-btn {
    width: 100%;
    background-color: #4dabf7;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: normal;
    box-shadow: none;
}

.ccf-unified-contact-form .ccf-form-container .ccf-field-group button:hover,
.ccf-form-container #ccf-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(51, 154, 240, 0.3);
}

.ccf-unified-contact-form .ccf-form-container .ccf-field-group button:disabled,
.ccf-form-container #ccf-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ccf-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    display: none;
}

.ccf-message.success {
    background-color: rgba(46, 213, 115, 0.1);
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.3);
}

.ccf-message.error {
    background-color: rgba(255, 71, 87, 0.1);
    color: #ff4757;
    border: 1px solid rgba(255, 71, 87, 0.3);
}

/* NEW: Bottom Image Section with Split Effect */
.ccf-bottom-image {
    position: relative;
    width: 100%;
    height: 300px; /* Adjust height as needed */
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.ccf-bottom-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  
}

/* Responsive styles */
@media screen and (max-width: 992px) {
    .ccf-container {
        flex-direction: column;
    }
    
    .ccf-left-section,
    .ccf-middle-section,
    .ccf-right-section {
        flex: none;
        width: 100%;
        padding: 40px 30px;
    }
    
    .ccf-left-section {
        min-height: 300px; /* Ensure image has height on mobile */
    }
    
    .ccf-middle-section {
        text-align: center;
    }
    
    .ccf-social-links {
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    .ccf-heading {
        font-size: 28px;
    }
    
    .ccf-company-name {
        font-size: 20px;
    }
    
    .ccf-form-container {
        padding: 0;
    }
    
    .ccf-left-section,
    .ccf-middle-section,
    .ccf-right-section {
        padding: 30px 20px;
    }
}