/* =========================================================
   IRAN GOSTARESH
   PROFILE.CSS
========================================================= */

:root {

    --profile-blue: #4fa7d8;
    --profile-blue-light: #79c8ed;

    --profile-green: #55c9a0;
    --profile-green-light: #8be0bf;

    --profile-gold: #d8b45a;
    --profile-gold-light: #f0d78b;

    --profile-white: #ffffff;
    --profile-text: #18323b;
    --profile-muted: #71838a;

    --profile-bg: #f3faf9;
    --profile-card: rgba(255, 255, 255, 0.68);

    --profile-border: rgba(255, 255, 255, 0.85);

    --profile-shadow:
        0 20px 60px rgba(36, 105, 117, 0.10);

    --profile-radius: 24px;

}


@font-face {
    font-family: "IRANSansX";
    src: url("PeydaWeb-Bold.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


body {

    margin: 0;

    font-family:
        'IRANSansX',
        
        sans-serif;

    background:
        var(--services-bg);

    color:
        var(--services-text);

}


/* =========================================================
   RESET
========================================================= */

.profile-page *,
.profile-footer * {

    box-sizing: border-box;

}


.profile-page {

    width: 100%;
    min-height: 100vh;

    background:

        radial-gradient(
            circle at 10% 10%,
            rgba(121, 200, 237, .18),
            transparent 28%
        ),

        radial-gradient(
            circle at 90% 20%,
            rgba(85, 201, 160, .16),
            transparent 30%
        ),

        linear-gradient(
            180deg,
            #f8fcfc 0%,
            #eef8f6 100%
        );

    color: var(--profile-text);

    overflow: hidden;

}


/* =========================================================
   CONTAINER
========================================================= */

.profile-container {

    width: min(
        100% - 40px,
        1050px
    );

    margin-inline: auto;

}


/* =========================================================
   PROFILE HEADER
========================================================= */

.profile-header {

    padding: 80px 0 55px;

    text-align: center;

    position: relative;

}


/* decorative circles */

.profile-header::before {

    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(79, 167, 216, .14),
            transparent 70%
        );

    top: -100px;
    left: -100px;

    pointer-events: none;

}


.profile-header::after {

    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(85, 201, 160, .14),
            transparent 70%
        );

    right: -80px;
    top: 120px;

    pointer-events: none;

}


/* =========================================================
   AVATAR
========================================================= */

.profile-avatar {

    width: 118px;
    height: 118px;

    margin: 0 auto 20px;

    padding: 5px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--profile-blue),
            var(--profile-green),
            var(--profile-gold)
        );

    box-shadow:
        0 12px 35px rgba(55, 150, 164, .20);

    position: relative;

}


.profile-avatar::before {

    content: "";

    position: absolute;

    inset: -7px;

    border-radius: 50%;

    border: 1px solid rgba(79, 167, 216, .20);

}


.profile-avatar img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: 50%;

    background: white;

}


/* =========================================================
   PROFILE NAME
========================================================= */

.profile-name h1 {

    margin: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    font-size: clamp(
        28px,
        4vw,
        38px
    );

    font-weight: 900;

    color: var(--profile-text);

}


.profile-username {

    display: block;

    margin-top: 6px;

    direction: ltr;

    font-size: 14px;

    color: var(--profile-muted);

}


/* =========================================================
   VERIFIED
========================================================= */

.verified {

    width: 23px;
    height: 23px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--profile-blue),
            var(--profile-green)
        );

    color: white;

    font-size: 13px;

    box-shadow:
        0 5px 15px rgba(79, 167, 216, .25);

}


/* =========================================================
   PROFILE TITLE
========================================================= */

.profile-title {

    margin: 20px auto 0;

    max-width: 700px;

    color: var(--profile-blue);

    font-size: 15px;

    font-weight: 700;

    line-height: 2;

}


.profile-title span {

    color: var(--profile-gold);

    padding-inline: 4px;

}


/* =========================================================
   BIO
========================================================= */

.profile-bio {

    max-width: 600px;

    margin: 12px auto 0;

    color: var(--profile-muted);

    font-size: 15px;

    line-height: 2.2;

}


/* =========================================================
   SOCIALS
========================================================= */

.profile-socials {

    display: flex;

    justify-content: center;

    gap: 10px;

    margin-top: 25px;

}


.profile-social {

    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    text-decoration: none;

    color: var(--profile-text);

    background:
        rgba(255, 255, 255, .65);

    border:
        1px solid var(--profile-border);

    box-shadow:
        0 8px 25px rgba(36, 105, 117, .07);

    backdrop-filter: blur(14px);

    -webkit-backdrop-filter: blur(14px);

    transition:
        .3s ease;

}


.profile-social:hover {

    transform:
        translateY(-5px);

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--profile-blue),
            var(--profile-green)
        );

    box-shadow:
        0 12px 25px rgba(55, 150, 164, .18);

}


/* =========================================================
   PROFILE LINKS
========================================================= */

.profile-links {

    width: min(
        100%,
        650px
    );

    margin: 30px auto 0;

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.profile-link {

    min-height: 68px;

    padding: 10px 14px;

    display: grid;

    grid-template-columns:
        44px
        1fr
        44px;

    align-items: center;

    gap: 12px;

    text-decoration: none;

    color: var(--profile-text);

    background:
        var(--profile-card);

    border:
        1px solid var(--profile-border);

    border-radius:
        var(--profile-radius);

    box-shadow:
        var(--profile-shadow);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;

}


.profile-link:hover {

    transform:
        translateY(-3px);

    border-color:
        rgba(79, 167, 216, .35);

    box-shadow:
        0 25px 60px rgba(
            36,
            105,
            117,
            .13
        );

}


.profile-link-icon {

    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--profile-blue),
            var(--profile-green)
        );

    font-size: 17px;

}


.profile-link-text {

    text-align: right;

    font-size: 15px;

    font-weight: 700;

}


.profile-link-arrow {

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        rgba(79, 167, 216, .08);

    color:
        var(--profile-blue);

    transition:
        .3s ease;

}


.profile-link:hover
.profile-link-arrow {

    background:
        var(--profile-blue);

    color: white;

}


/* =========================================================
   PROJECT SECTION
========================================================= */

.profile-projects-section {

    padding: 55px 0 90px;

}


/* =========================================================
   PROJECT HEADING
========================================================= */

.projects-heading {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 30px;

    margin-bottom: 28px;

}


.projects-label {

    display: inline-block;

    margin-bottom: 8px;

    color: var(--profile-blue);

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 2px;

    direction: ltr;

}


.projects-heading h2 {

    margin: 0;

    font-size: clamp(
        28px,
        4vw,
        42px
    );

    font-weight: 900;

}


.projects-heading h2 strong {

    color:
        var(--profile-green);

}


.projects-heading p {

    max-width: 500px;

    margin: 12px 0 0;

    color: var(--profile-muted);

    line-height: 2;

    font-size: 14px;

}


/* =========================================================
   FILTERS
========================================================= */

.profile-filters {

    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 25px;

    overflow-x: auto;

    padding: 4px;

    scrollbar-width: none;

}


.profile-filters::-webkit-scrollbar {

    display: none;

}


.profile-filter {

    flex-shrink: 0;

    border: none;

    cursor: pointer;

    padding: 11px 19px;

    border-radius: 14px;

    background:
        rgba(255, 255, 255, .7);

    color:
        var(--profile-muted);

    border:
        1px solid rgba(255,255,255,.8);

    font-family: inherit;

    font-size: 13px;

    font-weight: 700;

    transition:
        .3s ease;

}


.profile-filter:hover {

    color:
        var(--profile-blue);

}


.profile-filter.active {

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--profile-blue),
            var(--profile-green)
        );

    box-shadow:
        0 8px 20px rgba(
            79,
            167,
            216,
            .18
        );

}


/* =========================================================
   PROJECT GRID
========================================================= */

.profile-projects {

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 18px;

}


/* =========================================================
   PROJECT CARD
========================================================= */

.profile-project {

    position: relative;

    display: block;

    overflow: hidden;

    text-decoration: none;

    color: var(--profile-text);

    background:
        rgba(255,255,255,.72);

    border:
        1px solid rgba(
            255,
            255,
            255,
            .9
        );

    border-radius:
        26px;

    box-shadow:
        0 18px 50px rgba(
            36,
            105,
            117,
            .08
        );

    backdrop-filter:
        blur(15px);

    -webkit-backdrop-filter:
        blur(15px);

    transition:
        transform .4s ease,
        box-shadow .4s ease;

}


.profile-project:hover {

    transform:
        translateY(-7px);

    box-shadow:
        0 30px 70px rgba(
            36,
            105,
            117,
            .14
        );

}


/* =========================================================
   PROJECT IMAGE
========================================================= */

.project-image {

    height: 270px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #e7f5f8,
            #e9f8f1
        );

}


.project-image img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .6s ease;

}


.profile-project:hover
.project-image img {

    transform:
        scale(1.06);

}


/* =========================================================
   PROJECT NUMBER
========================================================= */

.project-number {

    position: absolute;

    top: 15px;
    right: 15px;

    min-width: 42px;
    height: 42px;

    padding: 0 10px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    color: white;

    background:
        rgba(
            24,
            50,
            59,
            .55
        );

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

    font-size: 12px;

    font-weight: 900;

    direction: ltr;

}


/* =========================================================
   PROJECT INFO
========================================================= */

.project-info {

    min-height: 150px;

    padding: 22px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

}


.project-category {

    display: inline-block;

    margin-bottom: 7px;

    color:
        var(--profile-green);

    font-size: 12px;

    font-weight: 800;

}


.project-info h3 {

    margin: 0;

    font-size: 20px;

    font-weight: 900;

}


.project-info p {

    margin: 8px 0 0;

    color:
        var(--profile-muted);

    font-size: 13px;

    line-height: 1.9;

}


/* =========================================================
   PROJECT ARROW
========================================================= */

.project-arrow {

    flex-shrink: 0;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    color:
        var(--profile-blue);

    background:
        rgba(
            79,
            167,
            216,
            .09
        );

    font-size: 20px;

    transition:
        .3s ease;

}


.profile-project:hover
.project-arrow {

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--profile-blue),
            var(--profile-green)
        );

    transform:
        rotate(-5deg);

}


/* =========================================================
   MORE BUTTON
========================================================= */

.profile-more {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    min-width: 220px;

    margin: 30px auto 0;

    padding: 14px 22px;

    border: none;

    border-radius: 15px;

    cursor: pointer;

    font-family: inherit;

    font-size: 14px;

    font-weight: 800;

    color:
        var(--profile-text);

    background:
        rgba(255,255,255,.8);

    box-shadow:
        0 10px 30px rgba(
            36,
            105,
            117,
            .07
        );

    transition:
        .3s ease;

}


.profile-more span {

    color:
        var(--profile-blue);

    font-size: 19px;

}


.profile-more:hover {

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--profile-blue),
            var(--profile-green)
        );

    transform:
        translateY(-3px);

}


.profile-more:hover span {

    color: white;

}


/* =========================================================
   CTA
========================================================= */

.profile-cta {

    padding: 85px 0;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(
                79,
                167,
                216,
                .13
            ),
            rgba(
                85,
                201,
                160,
                .13
            )
        );

    border-top:
        1px solid rgba(
            255,
            255,
            255,
            .8
        );

    border-bottom:
        1px solid rgba(
            255,
            255,
            255,
            .8
        );

}


.profile-cta span {

    color:
        var(--profile-muted);

    font-size: 14px;

}


.profile-cta h2 {

    margin: 12px 0;

    font-size:
        clamp(
            30px,
            5vw,
            48px
        );

    font-weight: 900;

}


.profile-cta h2 strong {

    color:
        var(--profile-gold);

}


.profile-cta p {

    margin: 0 0 25px;

    color:
        var(--profile-muted);

}


.profile-cta-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    padding: 14px 25px;

    border-radius: 16px;

    text-decoration: none;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--profile-blue),
            var(--profile-green)
        );

    box-shadow:
        0 12px 30px rgba(
            55,
            150,
            164,
            .20
        );

    font-size: 14px;

    font-weight: 800;

    transition:
        .3s ease;

}


.profile-cta-button:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 18px 40px rgba(
            55,
            150,
            164,
            .28
        );

}


/* =========================================================
   FOOTER
========================================================= */

.profile-footer {

    padding: 25px 0;

    background:
        #17343d;

    color:
        rgba(
            255,
            255,
            255,
            .65
        );

}


.profile-footer .profile-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.profile-footer p {

    margin: 0;

    font-size: 13px;

}


.profile-footer span {

    font-size: 12px;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 800px) {

    .profile-header {

        padding-top: 55px;

    }


    .profile-projects {

        grid-template-columns: 1fr;

    }


    .projects-heading {

        flex-direction: column;

        align-items: flex-start;

    }


    .project-image {

        height: 240px;

    }

}


@media (max-width: 600px) {

    .profile-container {

        width:
            min(
                calc(100% - 28px),
                520px
            );

    }


    .profile-header {

        padding:
            40px 0 45px;

    }


    .profile-avatar {

        width: 100px;
        height: 100px;

    }


    .profile-name h1 {

        font-size: 28px;

    }


    .profile-title {

        font-size: 13px;

    }


    .profile-bio {

        font-size: 13px;

        line-height: 2;

    }


    .profile-link {

        min-height: 62px;

        grid-template-columns:
            40px
            1fr
            38px;

        border-radius: 19px;

    }


    .profile-link-icon {

        width: 40px;
        height: 40px;

        border-radius: 12px;

    }


    .profile-link-text {

        font-size: 13px;

    }


    .profile-link-arrow {

        width: 34px;
        height: 34px;

        border-radius: 10px;

    }


    .profile-projects-section {

        padding:
            40px 0 65px;

    }


    .projects-heading h2 {

        font-size: 30px;

    }


    .project-image {

        height: 210px;

    }


    .project-info {

        min-height: 135px;

        padding: 18px;

    }


    .project-info h3 {

        font-size: 17px;

    }


    .project-info p {

        font-size: 12px;

    }


    .project-arrow {

        width: 42px;
        height: 42px;

    }


    .profile-cta {

        padding: 65px 0;

    }


    .profile-cta h2 {

        font-size: 30px;

    }


    .profile-footer .profile-container {

        flex-direction: column;

        text-align: center;

    }

}


@media (max-width: 380px) {

    .profile-social {

        width: 40px;
        height: 40px;

    }


    .profile-link {

        grid-template-columns:
            38px
            1fr
            34px;

        gap: 8px;

    }


    .profile-link-icon {

        width: 38px;
        height: 38px;

    }


    .profile-link-text {

        font-size: 12px;

    }


    .project-info {

        gap: 8px;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .profile-page *,
    .profile-page *::before,
    .profile-page *::after {

        animation: none !important;

        transition: none !important;

        scroll-behavior: auto !important;

    }

}