/* ===================================
   HORIZONTAL CONTACT FORM LAYOUT
   Card-style horizontal container
   =================================== */

/* Contact Wrapper - Horizontal Card */
.contact-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 0;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
}

/* Contact Info - Left Side Card */
.contact-info {
    background: linear-gradient(135deg, #105c9d 0%, #009688 100%);
    padding: 3rem 2rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.contact-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.contact-details h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.contact-details p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Appointment Form - Right Side Card */
.appointment-form {
    padding: 3rem;
    background: #ffffff;
}

/* Form Row - Horizontal Layout */
.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Full Width Form Group (for textarea) */
.form-group-full {
    grid-column: 1 / -1;
}

/* Submit Row - Centered Layout */
.form-row-submit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.form-row-submit .form-group.checkbox {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-row-submit .form-group.checkbox label {
    font-size: 0.9rem;
    margin: 0;
}

.form-row-submit .btn-submit {
    min-width: 220px;
    padding: 0.9rem 2rem;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 300px 1fr;
    }

    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .appointment-form {
        padding: 2rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 2rem 1.5rem;
    }

    .appointment-form {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .form-row-submit {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .form-row-submit .btn-submit {
        width: 100%;
        min-width: auto;
    }
}