/* ----------------------------- */
/*   Experience (Resume) Section */
/* ----------------------------- */

.resume-section {
    padding: 80px 0;
    direction: rtl;
    font-family: 'IRANYekan', Tahoma, sans-serif;
    color: #fff;
}

.resume-section .container {
    max-width: 900px; /* برای تمرکز بیشتر محتوا در وسط */
    margin: 0 auto;
    padding: 0 20px;
}

/* استایل عنوان */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-title p {
    color: #cbd5e1;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    font-size: 15px;
}

/* تایم‌لاین */
.timeline-container {
    position: relative;
    border-right: 2px solid rgba(255, 255, 255, 0.3); /* خط سفید نیمه‌شفاف */
    padding-right: 40px;
    margin-right: 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

/* دایره‌های تایم‌لاین (توخالی طبق عکس) */
.timeline-dot {
    position: absolute;
    right: -49.5px; /* تنظیم دقیق مرکز دایره روی خط */
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #fff;
    z-index: 5;
}

/* کارت تجربه (استایل روشن طبق عکس) */
.experience-card {
    background: #f1f5f9; /* آبی بسیار ملایم یخی */
    padding: 25px;
    border-radius: 24px; /* گوشه‌های گرد طبق عکس */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
    color: #1e293b;
}

.experience-card:hover {
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.card-header h3 {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
}

.date-tag {
    background: #e2e8f0;
    padding: 4px 14px;
    border-radius: 10px;
    font-size: 13px;
    color: #64748b;
    font-weight: bold;
}

.description {
    font-size: 14px;
    line-height: 1.9;
    color: #475569;
}

/* ===================== */
/*   MOBILE RESPONSIVE   */
/* ===================== */

@media (max-width: 768px) {
    .resume-section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .timeline-container {
        padding-right: 30px;
        margin-right: 10px;
    }

    .timeline-dot {
        right: -39px; /* تنظیم برای موبایل */
        width: 15px;
        height: 15px;
    }

    .experience-card {
        padding: 20px;
    }

    .card-header h3 {
        font-size: 17px;
    }
}
