/* -------------------- RTL FIX + UI ALIGNMENT -------------------- */

.personal-info {
    direction: ltr;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* CARD STYLE */
.personal-info .info-item {
    display: flex;
    flex-direction: row-reverse; /* icon LEFT, text RIGHT */
    align-items: center;
    background: #ffffff;
    padding: 20px 22px;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    gap: 18px;
}

/* ICON (left side visually) */
.personal-info .info-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 50%;
    background: #0e497f;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
}

/* TEXT (right-aligned) */
.personal-info .info-content {
    text-align: right;
}

/* Titles */
.personal-info .info-content h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0e497f;
}

/* Subtext */
.personal-info .info-content p {
    margin-top: 5px;
    font-size: 0.95rem;
    color: #333;
}

/* Mobile layout */
@media (max-width: 768px) {
    .personal-info {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   ARABIC EDUCATION SECTION (LTR layout)
   ========================================== */

/* Force the entire layout to stay LTR visually */
#education,
#education * {
    direction: ltr !important;
    text-align: left !important;
}

/* Center elements that must stay centered */
#education .section-title,
#education .section-title p,
#education .education-intro {
    text-align: center !important;
}

/* Keep text inside cards RTL but aligned properly */
#education .timeline-content h3,
#education .timeline-content p {
    direction: rtl !important;
    text-align: right !important;
}

