.ra-content {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}
.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.header-title {
    font-size: 1.7rem;
    color: #012a82;
    font-weight: 900;
    -webkit-text-stroke: 0.8px #0b2265;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    margin-bottom: 15px;
    flex-wrap: wrap; 
}
.header-title::before,
.header-title::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 28px;
    background-color: #0b2265;
    margin: 0 15px;
    border-radius: 4px;
}
.sub-text {
    color: #2c3e88;
    font-size: 1.6rem;
    font-weight: 500;
    margin-top: 5px;
}
.university-list {
    color: #2c3e88;
    font-size: 1.4rem;
    line-height: 2.2;
    font-weight: 400;
    max-width: 100%;
    margin-top: 15px;
}
.logo-item {
    height: 70px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: transform 0.3s ease;
    margin: 10px;
    margin-left: 15px; 
}

.logo-item:hover { transform: scale(1.1); opacity: 1; }
.profile-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin: 15px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.divider-box {
    width: 100%;
  
    margin: 30px auto; 
}
.members-text {
    color: #2c3e88;
    font-size: 1.2rem;
    line-height: 2.4;
    font-weight: 500;
    padding: 0 10px;
}
.topic-header {
    color: #012a82;
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 15px;
    border-bottom: none !important;
}
.spine-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    counter-reset: spine-counter;
}
.spine-list li {
    display: flex;
    align-items: flex-start; 
    margin-bottom: 10px;
    counter-increment: spine-counter;
    position: relative;
    font-size: 1.1rem;
    color: #214592;
    font-weight: 500;
    line-height: 1.8;
}
.spine-list li::before {
    content: counter(spine-counter, persian) ".";
    font-weight: 800;
    color: #214592;
    flex-shrink: 0;
    width: 10px; 
}
.timeline-header {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 30px;
    color: #fff;
}
.timeline-container {
    background-color: #002286;
    border-radius: 20px;
    padding: 40px 20px;
    width: 100%;
    margin-top: 60px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(11, 34, 101, 0.15);
}
.timeline-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.timeline-card:hover {
    transform: translateY(-5px);
}
.timeline-icon {
    width: 60px;  
    height: 60px;
    object-fit: contain; 
    margin-bottom: 15px;
}
.timeline-title {
    color: #002286;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 5px;
}
.timeline-date {
    color: #002286;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    background: #eef2ff;
    padding: 2px 10px;
    border-radius: 10px;
}
@media (min-width: 992px) {
    
    .topic-header { white-space: nowrap;
    font-size: 1.12rem;
    }
    .spine-list li { white-space: nowrap; align-items: center; 
    
    font-size: 1.1rem;}
    .spine-right-col li {
        flex-direction: row-reverse; 
        justify-content: flex-start; 
        text-align: left;
    }
    .spine-right-col li::before {
        direction: ltr; 
        text-align: right;
        margin-right: 10px; 
        margin-left: 0;
    }
    .spine-right-col .topic-header { text-align: left; }
    .spine-left-col li {
        flex-direction: row; 
        justify-content: flex-start; 
        text-align: right;
    }
    .spine-left-col li::before {
        text-align: right;
        margin-left: 10px;
        margin-right: 0;
    }
    .spine-left-col .topic-header { text-align: right; }
    /* ستون وسط */
    .spine-center-col li {
        flex-direction: row;
        justify-content: center;
        text-align: center;
    }
    .spine-center-col li::before { margin-left: 10px; }
    .spine-center-col .topic-header { text-align: center; }
}
@media (max-width: 991px) {
    
    .spine-right-col, .spine-left-col, .spine-center-col {
        text-align: right !important;
        padding: 0 15px;
    }
    .topic-header {
        white-space: normal; 
        text-align: center !important; 
        font-size: 1.3rem;
        margin-top: 20px;
    }
    .spine-list li {
        white-space: normal; 
        flex-direction: row !important; 
        justify-content: flex-start !important;
        text-align: right !important;
        font-size: 1rem;
    }
    .spine-list li::before {
        direction: rtl !important;
        text-align: right;
        margin-left: 10px !important;
        margin-right: 0 !important;
    }
}
@media (max-width: 768px) {
    .header-title { font-size: 1.3rem; }
    .header-title::before, .header-title::after { display: none; }
    
    .sub-text { font-size: 1.1rem; }
    .university-list { font-size: 1rem; text-align: justify; }
    
    .logo-item { height: 50px; margin: 5px; }
    .profile-img { width: 160px; height: 160px; }
    
    .members-text { font-size: 1rem; text-align: justify; }
    
    .timeline-container { padding: 25px 15px; }
    .timeline-header { font-size: 1.5rem; }
    
    .col-12 { margin-bottom: 15px; }
}