
 body {
     font-family: "Vazirmatn", sans-serif;
     background-color: #f8f9fb;
     overflow-x: hidden;
 }

.resume-container {
    display: flex;
    min-height: 100vh;
}

/* ستون سمت چپ */
.sidebar {
    background: linear-gradient(135deg, #1a1a40 0%, #2d1f6c 100%);
    color: #fff;
    width: 35%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 30px;
    position: sticky;
    top: 0;
}

.sidebar img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
}

.sidebar h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.sidebar h4 {
    font-size: 1rem;
    color: #0dcaf0;
    margin-bottom: 20px;
}

.sidebar .social a {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 8px;
    transition: 0.3s;
}

.sidebar .social a:hover {
    color: #0dcaf0;
}

.sidebar .contact-info {
    margin-top: 40px;
    font-size: 0.9rem;
    text-align: left;
    direction: ltr;
}

/* ستون سمت راست */
.content {
    width: 65%;
    background: #fff;
    padding: 60px;
}

section {
    margin-bottom: 80px;
}

.section-title {
    position: relative;
    font-weight: 700;
    margin-bottom: 40px;
}

.section-title::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background: #0dcaf0;
    border-radius: 3px;
}

.skill-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 8px;
    background: linear-gradient(90deg, #0dcaf0, #6610f2);
}

footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #888;
}

.right-section {
    position: sticky;
    top: 0;
    height: 100vh;
    /* کل ارتفاع صفحه */
    overflow-y: auto;
    /* اگه محتوا زیاد شد، فقط تو خودش اسکرول بشه */
}
 .style1{
     width: 95%;
 }
 .style2{
     width: 70%;
 }
 .style3{
     width: 80%;
 }
 .style4{
     width: 50%;
 }
 .style5{
     width: 90%;
 }
 #typing-text {
     font-size: 14px; /* اندازه دلخواه، مثلا 18px یا 14px */
     font-weight: 400; /* سبک معمولی، یا 700 برای پررنگ */
 }

@media (max-width: 992px) {
    .resume-container {
        flex-direction: column;
    }

    .sidebar,
    .content {
        width: 100%;
        position: relative;
    }

    .sidebar {
        min-height: auto;
    }
}

