
/* Container chính chứa 2 nửa */
.achieve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.screen-reader-response {
    display: none;
}
.achieve-card.fade-in-up.appear{
	background: #fff;
}
/* =============================================
   CF7 Override - Giữ nguyên style form cũ
   ============================================= */

/* Xoá border mặc định của CF7 */
.wpcf7 form .wpcf7-response-output {
    margin: 12px 0 0;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* CF7 wraps each field in span — cần reset */
.wpcf7 .form-group span.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Input & Select & Tel — khớp .form-input cũ */
.wpcf7 .form-input,
.wpcf7 input.form-input,
.wpcf7 select.form-input,
.wpcf7 textarea.form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    background-color: #f8fafc;
    transition: border-color 0.2s cubic-bezier(0.4,0,0.2,1),
                background-color 0.2s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.2s cubic-bezier(0.4,0,0.2,1);
    font-family: 'Inter', sans-serif;
    color: #0f172a;
    outline: none;
    box-sizing: border-box;
    cursor: pointer;
}

.wpcf7 .form-input:focus,
.wpcf7 input.form-input:focus,
.wpcf7 select.form-input:focus {
    border-color: #e11d48;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1);
}

/* Submit button — khớp .btn .btn-primary .btn-block .pulse-btn */
.wpcf7 input.wpcf7-submit,
.wpcf7 .btn.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border-radius: 9999px;
    cursor: pointer;
    background-color: #e11d48;
    color: #ffffff;
    border: none;
    margin-top: 10px;
    animation: pulsing 2s infinite alternate;
    transition: background-color 0.35s cubic-bezier(0.4,0,0.2,1),
                transform 0.35s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.35s cubic-bezier(0.4,0,0.2,1);
    box-sizing: border-box;
}
.lead-form br {
    display: none;
}
.wpcf7 input.wpcf7-submit:hover {
    background-color: #be123c;
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -15px rgba(225, 29, 72, 0.15);
}

/* Ẩn spinner loading mặc định CF7 nếu không cần */
.wpcf7 .wpcf7-spinner {
    display: inline-block;
}

/* lead-form gap */
.wpcf7 .lead-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* form-row-2 grid */
.wpcf7 .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 640px) {
    .wpcf7 .form-row-2 {
        grid-template-columns: 1fr;
    }
}

.achieve-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.achieve-visual.vertical-box-split {
    position: relative;
    width: 100%;
    height: 380px;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Định dạng chung cho mỗi nửa */
.split-segment {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
}

/* Nửa trên: TRƯỚC */
.segment-before {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

/* Nửa dưới: SAU */
.segment-after {
    background: linear-gradient(135deg, #be123c, #e11d48);
}

/* Bố cục nội dung bên trong */
.segment-content {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 320px;
}

.text-group {
    text-align: left;
}

/* Icon style */
.icon-sad {
    color: #d1d5db;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
}

.icon-happy {
    color: #fde047;
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(253, 224, 71, 0.5));
}

/* Typography */
.score-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    margin: 0 0 4px 0;
}

.score-text.highlight {
    color: #fde047;
    font-size: 2rem;
}

.desc-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.4;
}

/* Label TRƯỚC / SAU */
.segment-label {
    position: absolute;
    top: 12px;
    left: 15px;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
}

/* Mũi tên chuyển đổi */
.transition-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: #e11d48;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Thông tin học sinh bên dưới card */
.achieve-info {
    padding: 20px;
}
.achieve-student {
    display: flex;
    align-items: center;
    gap: 15px;
}
.student-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.student-meta {
    display: flex;
    flex-direction: column;
}
.student-name {
    font-weight: 700;
    color: #333;
}
.student-school {
    font-size: 0.8rem;
    color: #666;
}
.split-segment.segment-after {
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
}
.split-segment.segment-before {

border-top-left-radius: 20px;
border-top-right-radius: 20px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
}
                
