/* CARD */
.client-card {
    max-width: 900px;
    margin: 50px auto;
    display: flex;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    font-family: "Poppins", sans-serif;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

/* LEFT FORM */
.client-form-section {
    width: 55%;
    padding: 45px;
}

.form-title {
    font-size: 24px;
    font-weight: 600;
}

.form-subtitle {
    font-size: 14px;
    color: #777;
    margin-bottom: 30px;
}

/* FORM */
.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    padding: 9px 0;
    font-size: 14px;
    outline: none;
}


.form-group label {
    position: absolute;
    top: 9px;
    left: 0;
    font-size: 13px;
    color: #666;
    transition: 0.3s;
}

.required { color: red; }

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:valid + label {
    top: -10px;
    font-size: 11px;
    color: #4f67d8;
}

/* PHONE */
.phone-group {
    display: flex;
    gap: 12px;
}
.input-wrapper {
    flex: 1;
    position: relative;
}

/* BUTTON */
.submit-btn {
    width: 100%;
    max-width: 360px;

    padding: 12px 16px;
    margin: 20px auto 0;

    display: flex;
    align-items: center;       /* vertical center */
    justify-content: center;   /* horizontal center */

    border: none;
    background: linear-gradient(135deg, #4f67d8, #6c86e8);
    color: #fff;
    border-radius: 12px;

    font-size: 14px;
    font-weight: 500;
    line-height: 1;            /* IMPORTANT */
    cursor: pointer;
}

.submit-btn:hover {
    box-shadow: 0 10px 25px rgba(79,103,216,0.4);
}

/* RIGHT PANEL */
.client-info-section {
    width: 45%;
    padding: 55px 45px;
    background: linear-gradient(135deg, #4f67d8, #6c86e8);
    color: #fff;
    border-top-left-radius: 140px;
    border-bottom-left-radius: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-title {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 12px;
}

.info-subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* POINTS */
.info-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 35px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.info-item i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* ICON LINKS */
.contact-links {
    display: flex;
    gap: 14px;
}

.icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-box i {
    font-size: 18px;
}

.icon-box:hover {
    background: #ffffff;
    color: #4f67d8;
    box-shadow: 0 0 18px rgba(255,255,255,0.55);
    transform: translateY(-2px);
}

/* RESPONSIVE */

@media (max-width: 1023px) {
    .client-card {
        max-width: 95%;
    }

    .client-form-section,
    .client-info-section {
        padding: 40px 30px;
    }

    .info-title {
        font-size: 26px;
    }
}


@media (max-width: 767px) {
    .client-card {
        flex-direction: column;
        margin: 16px;
        border-radius: 14px;
    }

    /* Hide right panel on mobile */
    .client-info-section {
        display: none;
    }

    .client-form-section {
        width: 100%;
        padding: 24px 20px;
    }

    .form-title {
        font-size: 20px;
    }

    .form-subtitle {
        font-size: 13px;
        margin-bottom: 22px;
    }

    .submit-btn {
        font-size: 13px;
        padding: 11px;
    }

    /* Stack phone fields */
    .phone-group {
        flex-direction: column;
        gap: 18px;
    }
}


@media (max-width: 480px) {
    .client-card {
        margin: 12px;
    }

    .client-form-section {
        padding: 20px 16px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 13px;
    }

    .form-group label {
        font-size: 12px;
    }

    .submit-btn {
        padding: 10px;
    }
}

@media (max-width: 360px) {
    .form-title {
        font-size: 18px;
    }

    .submit-btn {
        font-size: 12px;
    }
}