/*=================== banner style  =================*/

/* left style */

.mehrab-banner-contact {
    display: flex;
    gap: 2rem;
    align-items: center;
    width: 70%;
    margin: 0px auto;
    justify-content: space-between;
    padding-top: 1rem;
    height: 95dvh;
    flex-wrap: wrap;
}


.mehrab-banner-contact .left-section .banner-title {
    font-size: 2.4rem;
}

.mehrab-banner-contact .left-section .banner-title .banner-title-hilait {
    color: #C778DD;
}

.mehrab-banner-contact .left-section .banner-text {
    color: #ABB2BF;
    margin: 2rem 0;
    font-size: 1.2rem;
}

.mehrab-banner-contact .left-section .banner-link {
    border: 2px solid #C778DD;
    padding: 8px 16px;
    border-radius: 11px;
    box-shadow: 2px 2px 0 #6d1186;
    transition: 0.3s ease;
    display: inline-block;
}

.mehrab-banner-contact .left-section .banner-link:hover {
    box-shadow: 4px 4px 0 #6d1186;
}

/* right style */

.mehrab-banner-contact .right-section {
    position: relative;
    animation: float-img 3s ease-in-out infinite;
}

.mehrab-banner-contact .img-mehrab {
    width: 400px;
    height: 400px;
    max-width: 100%;
    animation: float-img 3s ease-in-out infinite;
    border-radius: 50%;
    border: 1px solid #C778DD;
    transition: 0.4s ease;
    object-fit: cover;
    cursor: pointer;
    position: relative;
    box-shadow: 0 0 20px #6d1186;
    transition: 0.3s ease;
}

.mehrab-banner-contact .img-mehrab:hover {
    scale: 1.05;
    animation: float-img-border 3s ease-in-out infinite;
}

@keyframes float-img {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes float-img-border {

    100% {
        box-shadow: 0 0 40px #6d1186;
    }
}

.mehrab-banner-contact .bannr-accontion {
    position: relative;
    top: -5px;
    padding: 5px 30px;
    text-align: center;
    color: #abb2bf;
    border: 1px solid #ABB2BF;
}


.mehrab-banner-contact .banner-p-mehrab {
    color: white;
}


/*=================== slogan style  =================*/
.slogan-contact {
    position: relative;
    text-align: center;
    margin-top: 70px;
}


.slogan-contact .slogan-box {
    border: 1px solid #abb2bf;
    display: inline-block;
    padding: 1.5rem 2rem;
    position: relative;
    border-radius: 15px;
}

.slogan-contact .slogan-box .qoat {
    position: absolute;
    width: 35px;
}

.slogan-contact .slogan-box .qoat.left-coat {
    top: -16px;
    left: 20px;
    width: 30px;
}

.slogan-contact .slogan-box .qoat.right-coat {
    bottom: -10px;
    right: 20px;
    width: 30px;
}


/*=================== projetc style  =================*/

.project-container {
    width: 70%;
    margin: 0 auto;
    margin-top: 7rem;
}

.project-container .project-title-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.project-container .project-view-all {
    border: 2px solid #C778DD;
    padding: 8px 12px;
    border-radius: 11px;
    box-shadow: 2px 2px 0 #6d1186;
    transition: 0.3s ease;
}

.project-container .project-view-all:hover {
    box-shadow: 4px 4px 0 #6d1186;
}

.project-container .project-title-box .project-title {
    display: flex;
    font-size: 2rem;
    font-weight: 400;
    position: relative;
}


.project-container .project-title-box .project-title .titlr-hilait {
    color: #c778dd;
}


.project-container .project-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.project-container .project-list .project-card {
    border: 2px solid #ABB2BF;
    border-radius: 15px;
    transition: all .35s ease;
}

.project-container .project-list .project-card:hover {
    transform: translateY(-6px);
    border-color: #C778DD;
}

.project-container .project-list .project-card .project-img {
    width: 100%;
    height: 195px;
    border-bottom: 1px solid #abb2bf;
    border-radius: 15px 15px 0 0;
    object-fit: cover;
    display: block;
}

.project-container .project-list .project-card .project-tecnologis {
    padding: 8px;
    gap: 8px;
}

.project-container .project-list .project-card .project-info {
    border-top: 1px solid #abb2bf;
    padding: 16px;
}

.project-container .project-list .project-card .project-info .project-text {
    color: #ABB2BF;
    margin: 18px 0;
}

.project-container .project-list .project-card .project-info .project-link {
    border: 2px solid #C778DD;
    padding: 8px 16px;
    border-radius: 11px;
    box-shadow: 2px 2px 0 #6d1186;
    transition: 0.3s ease;
    display: inline-block;
}

.project-container .project-list .project-card .project-info .project-link:hover {
    box-shadow: 4px 4px 0 #6d1186;
}


/* project shape */
.project-container .project-shapes {
    position: absolute;
    left: -2.7%;
}


/*=================== skils section style  =================*/

.title-skils {
    margin-top: 70px;
}

.title-skils .skills-cart {
    display: flex;
    gap: 1rem;
    width: 70%;
    margin: 0 auto;
}

.title-skils .skills-cart .skills-box {
    border: 1px solid #abb2bf;
    margin-bottom: 1rem;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    margin: 0 auto;
}

.title-skils .skills-cart .skills-box .box-header {
    border-bottom: 1px solid #abb2bf;
    padding: 0.5rem;
}

.title-skils .skills-cart .skills-box .box-content {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.5rem;
    color: #abb2bf;
}

/*=================== about me style  =================*/

.about-container {
    width: 70%;
    margin: 0 auto;
    margin-top: 40px;
    gap: 3rem;
    position: relative;
}


.about-container .about-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.about-wrapper .left-section {
    width: 50%;
}

.about-wrapper .left-section .title-discriotion {
    color: #abb2bf;
    margin-bottom: 1.5rem;
}

.about-wrapper .left-section .about-btn {
    border: 2px solid #C778DD;
    padding: 8px 16px;
    border-radius: 11px;
    box-shadow: 2px 2px 0 #6d1186;
    transition: 0.3s ease;
    display: inline-block;
}


.about-wrapper .left-section .about-btn:hover {
    box-shadow: 4px 4px 0 #6d1186;
}

.about-wrapper .right-section {
    position: relative;
}

.about-wrapper .right-section .img-about {
    width: 400px;
    height: 400px;
    max-width: 100%;
    margin-top: -65px;
    border-bottom: 1px solid #C778DD;
    object-fit: cover;
}

.about-wrapper .right-section .secend-shape {
    position: absolute;
    right: 320px;
}

/* shape */
.shape-shadow {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    box-shadow: 0 0 40px #6d1186;
    background: rgb(109, 17, 134, 0.2);
    filter: blur(160px);
    position: absolute;
    right: -80px;
    top: 100px;
}

/*=================== contact style  =================*/

.contact-wrapper {
    display: flex;
    justify-content: space-between;
    width: 70%;
    margin: 0 auto;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-wrapper .contact-container {
    width: auto;
    max-width: 45%;
}

.contact-wrapper .left-section .title-contact {
    color: #ABB2BF;
}


/* right section */
.contacts-right {
    flex: 1;
    min-width: 320px;
}

.contact-cards {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.contact-card {
    background: #14151F;
    border: 1px solid rgba(199, 120, 221, 0.2);
    border-radius: 14px;
    padding: 20px;
    flex: 1;
    /* min-width: 110px; */
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.08);
    width: 75%;
}

.contact-card .icon {
    width: 44px;
    height: 44px;
    background: rgba(199, 120, 221, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C778DD;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: normal;
}

.contact-card p {
    color: #6c7180;
    font-size: 0.9rem;
}

/* let's work together box */
.work-together {
    background: #14151F;
    border: 1px solid rgba(199, 120, 221, 0.2);
    border-radius: 14px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.08);
}

.work-together p {
    font-size: 1.3rem;
}

.call-btn {
    border: 2px solid #C778DD;
    padding: 8px 16px;
    border-radius: 11px;
    box-shadow: 2px 2px 0 #6d1186;
    transition: 0.3s ease;
    display: inline-block;
}

.call-btn:hover {
    box-shadow: 4px 4px 0 #6d1186;
}


/*=================== footer style  =================*/

.footer-container {
    display: flex;
    justify-content: space-between;
    width: 70%;
    margin: 0 auto;
    margin-top: 80px;
    flex-wrap: wrap;
    gap: 2rem;
}

/* left section style */

.footer-container .left-section {
    font-size: 21px;
}

.footer-container .left-section .wrapper {
    display: flex;
    gap: 1rem;
    margin-bottom: 15px;
}

.footer-container .left-section .title {
    color: #abb2bf;
}

/* right section style */

.footer-container .right-section {
    color: #abb2bf;
    align-items: end;
    font-size: 32px;
}

.footer-container .right-section .title-right {
    color: white;
    margin-bottom: 10px;
}

/* title last */

.title-last {
    text-align: center;
    color: #abb2bf;
    margin: 70px;
    font-size: 21px;
}

/* shape footer */

.footer-container .shape-footer {
    position: absolute;
    left: -2.6%;
}


/* ============== shapes ================ */

.fixed-social {
    position: fixed;
    z-index: 1000;
    left: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #abb2bf;
}

.fixed-social .social-line {
    width: 1px;
    height: 150px;
    background: #abb2bf;
    margin-bottom: 10px;
}

.fixed-social .social-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fixed-social .social-list .social-link {
    transition: all 0.3s;
    font-size: 1.3rem;
}


.fixed-social .social-list .social-link:hover {
    color: white;
}


/*=================================================================
   RESPONSIVE
==================================================================*/

/* ---------- Tablets (<= 1024px) ---------- */
@media (max-width: 1024px) {

    .mehrab-banner-contact,
    .project-container,
    .title-skils .skills-cart,
    .about-container,
    .contact-wrapper,
    .footer-container {
        width: 88%;
    }

    .project-container .project-shapes,
    .footer-container .shape-footer {
        display: none;
    }

    .about-wrapper .right-section .secend-shape {
        right: 15%;
    }
}

/* ---------- Small tablets / large phones (<= 900px) ---------- */
@media (max-width: 900px) {

    .mehrab-banner-contact {
        height: auto;
        flex-direction: column-reverse;
        text-align: center;
        padding: 3rem 0;
        gap: 2.5rem;
    }

    .mehrab-banner-contact .left-section .banner-title {
        font-size: 2rem;
    }

    .mehrab-banner-contact .img-mehrab {
        width: 280px;
        height: 280px;
    }

    .project-container .project-list {
        justify-content: center;
        gap: 1.5rem;
    }

    .project-container .project-list .project-card {
        width: 100%;
        max-width: 400px;
    }

    .title-skils .skills-cart {
        flex-direction: column;
    }

    .about-wrapper {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .about-wrapper .left-section {
        width: 100%;
    }

    .about-wrapper .right-section .img-about {
        width: 280px;
        height: 280px;
        margin-top: 0;
        border-radius: 50%;
        border: 1px solid #C778DD;
        border-bottom: 1px solid #C778DD;
    }

    .about-wrapper .right-section .secend-shape,
    .shape-shadow {
        display: none;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .contact-wrapper .contact-container {
        max-width: 100%;
    }

    .contacts-right {
        min-width: 0;
        width: 100%;
    }

    .contact-card {
        width: 100%;
        min-width: 140px;
    }

    .work-together {
        justify-content: center;
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }

    .fixed-social {
        display: none;
    }
}

/* ---------- Phones (<= 576px) ---------- */
@media (max-width: 576px) {

    .mehrab-banner-contact,
    .project-container,
    .title-skils .skills-cart,
    .about-container,
    .contact-wrapper,
    .footer-container {
        width: 92%;
    }

    .mehrab-banner-contact .left-section .banner-title {
        font-size: 1.6rem;
    }

    .mehrab-banner-contact .left-section .banner-text {
        font-size: 1rem;
    }

    .mehrab-banner-contact .img-mehrab,
    .about-wrapper .right-section .img-about {
        width: 220px;
        height: 220px;
    }

    .project-container .project-title-box .project-title {
        font-size: 1.5rem;
    }

    .slogan-contact .slogan-box {
        padding: 1rem 1.2rem;
    }

    .contact-cards {
        flex-direction: column;
    }

    .contact-card {
        width: 100%;
    }

    .work-together {
        padding: 20px;
    }

    .work-together p {
        font-size: 1.1rem;
    }

    .footer-container .right-section {
        font-size: 22px;
        align-items: flex-start;
    }

    .title-last {
        margin: 40px 10px;
        font-size: 16px;
    }
}