body {
    font-family: 'iranyekan', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    direction: ltr;
}

.header {
    width: 100%;
    height: 180px;
    background-color: #4CAF50;
    padding: 10px 20px;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    margin-top: 40px;
    position: absolute;
    z-index: 10;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
}

.profile-picture {
    width: 30%;
    padding: 20px;
    align-items: center;
    justify-content: center;
    display: flex;
}

.profile-picture img {
    border-radius: 50%;
    width: 220px;
    height: 220px;
    object-fit: cover;
    border: 5px solid #4CAF50;
    margin-right: 20px;
}

.name-title {
    text-align: left;
    flex-grow: 1;
    width: 70%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.name {
    font-size: 42px;
    color: #fff;
    margin: 0;
    font-weight: bold;
}

.title {
    color: #fff;
    font-size: 16px;
}
.section.contact i{
    padding: 8px;
    border-radius: 50px;
    background-color: #4CAF50;
    margin-inline-end: 8px;
    width: 15px;
    height: 15px;
    text-align: center;
}
.section.contact li{
    list-style: none;
}
.section.contact ul{
    padding: 20px;
}
.container:has(.profile-picture) {
    z-index: 222;
}

.container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.left-side {
    width: 30%;
    background-color: #222;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    top: -270px;
    margin-bottom: -270px;
    padding-top: 230px;
    text-align: left;
}

.right-side {
    width: 70%;
    padding: 20px;
    direction: rtl;
}

.section {
    margin-top: 30px;
}

.section h2 {
    border: 2px solid #4CAF50;
    border-radius: 20px;
    text-align: center;
    margin: 20px;
    font-size: 18px;
}
.section p {
    margin: 30px;
}

.right-side .section h2 {
    background-color: #4CAF50;
    color: white;
}

.section {
    width: 100%;
}

.section ul li {
    margin-bottom: 10px;
}

.section p {
    line-height: 1.8;
    font-size: 14px;
}

.right-side .section p {
    line-height: 1.8;
    font-size: 14px;
}
a{
    color: white;
}
.rtl{
    direction: rtl;
    text-align: right;
}
.ltr{
    direction: ltr;
    text-align: left;
}
/* Media Queries */

/* ریسپانسیو برای صفحه نمایش تبلت */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .left-side, .right-side {
        width: 100%;
        margin: 0;
        top: 0;
        padding-top: 20px;
        margin-bottom: 0;
    }

    .header {
        margin-top: 100px; /* Adjust the margin if necessary */
        height: 280px;
    }

    .profile-picture img {
        width: 150px;
        height: 150px;
    }

    .name {
        font-size: 32px;
    }

    .title {
        font-size: 14px;
    }
}

/* ریسپانسیو برای صفحه نمایش موبایل */
@media (max-width: 576px) {
    .header {
        padding: 10px;
        margin-top: 70px;
    }

    .profile-picture {
        width: 100%;
        justify-content: center;
    }

    .profile-picture img {
        width: 120px;
        height: 120px;
    }

    .name-title {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .name {
        font-size: 28px;
    }

    .title {
        font-size: 12px;
    }

    .container {
        max-width: 100%;
        padding: 0 10px;
    }

    .left-side {
        width: 100%;
        padding: 10px;
    }

    .right-side {
        width: 100%;
        padding: 10px;
    }

    .section h2 {
        font-size: 16px;
        margin: 10px;
    }
}
