.project-detail{
    padding:150px 0 100px;
}

.project-header{
    text-align:center;
    margin-bottom:50px;
}

.project-header h1{
    font-size:48px;
}

.project-gallery{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
    margin-bottom:50px;
}

.project-gallery{
    display:flex;
    justify-content:center;
    margin-bottom:50px;
}

.project-gallery img{
    width:85%;
    max-width:900px;

    height:470px;
    object-fit:cover;

    border-radius:20px;
}

.project-info{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.info-card{
    background: linear-gradient(
    135deg,
    #d89e00 0%,
    #db9f07 20%,
    #ffd700 50%,
    #ffdd32 70%,
    #d69a00 85%,
    #ca9400 100%
);
    border-radius:20px;
    padding:25px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.info-card h3{
    color:var(--primary);
    margin-bottom:10px;
}


.projects-page{
    padding:150px 0 100px;
}



.project-btn{
    display:inline-block;
    margin-top:15px;
    padding:10px 20px;

    background:#c8a75d;
    color:#fff;

    border-radius:8px;

    text-decoration:none;

    transition:.3s;
}

.project-btn:hover{
    transform:translateY(-3px);
}



.project-card{
    height:100%;
    display:flex;
    flex-direction:column;
}

.project-card:hover{
    transform:translateY(-8px);
}

.project-card img{
    width:100%;
    height:260px;
    object-fit:cover;
}

.project-content{
    padding:25px;
}

.project-content h3{
    font-size:22px;
    margin-bottom:15px;
    color:#0f4c81;
}

.project-info p{
    margin-bottom:10px;
}

.project-partner{
    color:#777;
    font-size:14px;
    margin-top:15px;
}

.project-btn{
    display:inline-block;
    margin-top:20px;
    padding:12px 24px;

    background:#c8a75d;
    color:#fff;

    border-radius:8px;
    text-decoration:none;

    transition:.3s;
}

.project-btn:hover{
    transform:translateY(-2px);
}




.projectsSwiper{
    padding:20px 10px 50px;
}

.swiper-slide{
    height:auto;
}

.project-card{
    height:100%;
    display:flex;
    flex-direction:column;
}

.project-card img{
    width:100%;
    height:260px;
    object-fit:cover;
}

.project-content{
    padding:20px;
}

.project-content h3{
    margin-bottom:15px;
    color:#0f4c81;
}

.project-content p{
    margin-bottom:10px;
}

.project-partner{
    color:#777;
    font-size:14px;
}

.project-btn{
    display:inline-block;
    margin-top:15px;
    padding:10px 20px;

    background:#c8a75d;
    color:#fff;

    border-radius:8px;
    text-decoration:none;
}







/* =========================
   PROJECTS SECTION BOX
========================= */

.projects-home{

    padding:80px 0;

}

.projects-home .container{

    width:92%;

    max-width:1400px;

    margin:auto;

    background:#d8d8d8;

    border-radius:30px;

    padding:50px 40px;

}

/* اسلایدر */
.projectsSwiper{

    padding:20px 10px 50px;

}

/* کارت پروژه */
.project-card{
    background:rgba(255,255,255,.45);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.55);

    border-radius:24px;

    overflow:hidden;

    box-shadow:
        0 15px 35px rgba(0,0,0,.08),
        inset 0 1px 0 rgba(255,255,255,.55);

    transition:.35s;
}

.project-card:hover{


    transform:translateY(-8px);

    box-shadow:
        0 25px 45px rgba(0,0,0,.12),
        inset 0 1px 0 rgba(255,255,255,.6);


}

.project-card img{

    width:100%;
    height:260px;

    object-fit:cover;

}

.project-content{
    display:flex;
    flex-direction:column;
    flex:1;
}

.project-content h3{

    margin-bottom:15px;

    color:#0f4c81;

}

.project-content p{

    margin-bottom:10px;

}

.project-partner{

    color:#777;

    font-size:14px;

}

.project-btn{

    display:inline-block;

    margin-top:15px;

    padding:10px 20px;

    background:#c8a75d;

    color:#fff;

    border-radius:8px;

    text-decoration:none;
    
    margin-top:auto;

}

/* موبایل */

@media (max-width:768px){

    .projects-home .container{

        width:92%;

        padding:30px 20px;

        border-radius:25px;

    }

}




.projects-wrapper{

    display:flex;
    align-items:stretch;
    gap:35px;

    padding:30px;

    background:rgba(255,255,255,.35);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.45);

    border-radius:30px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.08),
        inset 0 1px 0 rgba(255,255,255,.55);

}


/* در فارسی: کارت سمت راست، دکمه سمت چپ */
html[dir="rtl"] .projects-wrapper{
    flex-direction:row;
}

/* در انگلیسی: کارت سمت چپ، دکمه سمت راست */
html[dir="ltr"] .projects-wrapper{
    flex-direction:row-reverse;
}

.projectsSwiper{
    flex:1;
    min-width:0;
}

.projects-more{

    display:flex;
    align-items:center;
    justify-content:center;

    width:320px;
    height:100%;

    min-height:520px;      /* تقریباً هم‌قد کارت */

    padding:30px;

    border-radius:24px;

    background:linear-gradient(
        135deg,
        #c9981a,
        #e5bf53,
        #b7860f
    );

    color:#fff;
    text-decoration:none;

    font-size:22px;
    font-weight:700;

    text-align:center;

    box-shadow:0 15px 35px rgba(0,0,0,.18);

    transition:.35s;

    flex-shrink:0;

    display:flex;
    align-items:center;
    justify-content:center;

    height:200px;

}

.projects-more:hover{

    transform:translateY(-8px);
    box-shadow:0 22px 45px rgba(0,0,0,.25);
    color:#fff;

}

.projects-more::after{

    content:"→";
    margin-left:12px;
    transition:.3s;

}

html[dir="rtl"] .projects-more::after{

    content:"←";
    margin-right:12px;
    margin-left:0;

}

/* فارسی = دکمه سمت چپ */
html[dir="rtl"] .projects-wrapper{
    flex-direction:row-reverse;
}

/* انگلیسی = دکمه سمت راست */
html[dir="ltr"] .projects-wrapper{
    flex-direction:row;
}


/* ================= Mobile ================= */

@media (max-width:991px){

    .projects-wrapper{

        flex-direction:column !important;
        align-items:center;

    }

    .projects-more{

        order:-1;

        width:100%;
        max-width:380px;

        min-height:unset;
        height:70px;

        margin-bottom:30px;

        font-size:18px;

    }

}
@media (max-width:768px){

    .projects-wrapper{

        flex-direction:column;

    }

    .projects-more{

        order:-1;

        width:100%;
        min-width:0;

        height:70px;

        font-size:18px;

    }

}

@media (max-width:768px){

    .projects-wrapper{

        flex-direction:column;

        gap:25px;

    }

    .projects-more{

        order:-1;

        width:100%;
        max-width:390px;

        min-height:65px;

        font-size:18px;

        border-radius:18px;

    }

    .projectsSwiper{

        width:100%;

    }

    .projectsSwiper .swiper-slide{

        display:flex;
        justify-content:center;

    }

    .project-card{

        width:100%;
        max-width:390px;

    }

}








/* ===========================
   Projects Page
=========================== */

.projects-page{
    padding:140px 0 100px;
}

.projects-page .container{
    width:92%;
    max-width:1400px;
    margin:auto;
}

/* ---------- Header ---------- */

.projects-header{
    text-align:center;
    margin-bottom:60px;
}

.projects-header h1{

    font-size:52px;
    font-weight:700;
    color:#c9981a;

    margin-bottom:18px;

}

.projects-header p{

    max-width:700px;
    margin:auto;

    color:#666;

    font-size:18px;
    line-height:2;

}

/* ---------- Grid ---------- */

.projects-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

/* ---------- Card ---------- */

.project-card{

    background:rgba(255,255,255,.45);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.55);

    border-radius:24px;

    overflow:hidden;

    display:flex;
    flex-direction:column;

    transition:.35s;

    box-shadow:
        0 15px 35px rgba(0,0,0,.08),
        inset 0 1px 0 rgba(255,255,255,.55);

}

.project-card:hover{

    transform:translateY(-10px);

    box-shadow:
        0 25px 45px rgba(0,0,0,.12),
        inset 0 1px 0 rgba(255,255,255,.6);

}

/* ---------- Image ---------- */

.project-card img{

    width:100%;
    height:260px;

    object-fit:cover;

    transition:.5s;

}

.project-card:hover img{

    transform:scale(1.05);

}

/* ---------- Content ---------- */

.project-content{

    padding:25px;

    display:flex;
    flex-direction:column;

    flex:1;

}

.project-content h3{

    color:#0f4c81;

    font-size:24px;

    margin-bottom:18px;

    min-height:60px;

}

/* ---------- Info ---------- */

.project-info{

    display:flex;
    flex-direction:column;

    gap:10px;

    margin-bottom:25px;

}

.project-info p{

    margin:0;

    color:#555;

    line-height:1.9;

}

.project-partner{

    color:#999 !important;

    font-size:15px;

}

/* ---------- Button ---------- */

.project-btn{

    margin-top:auto;

    display:flex;
    justify-content:center;
    align-items:center;

    height:48px;

    border-radius:50px;

    text-decoration:none;

    color:#fff;

    font-weight:600;

    background:linear-gradient(
        135deg,
        #c9981a,
        #e5bf53,
        #b7860f
    );

    transition:.35s;

}

.project-btn:hover{

    color:#fff;

    transform:translateY(-3px);

}

/* ---------- Tablet ---------- */

@media(max-width:992px){

    .projects-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

/* ---------- Mobile ---------- */

@media(max-width:768px){

    .project-card{

    width:100%;
    max-width:380px;

    }

    .projects-page{
        padding:120px 0 80px;
    }

    .projects-header h1{

        font-size:38px;

    }

    .projects-header p{

        font-size:16px;

    }

    .projects-grid{

        grid-template-columns:1fr;

        gap:30px;

        justify-items:center;

    }

    .project-card img{

        height:220px;

    }

}









/* ======================================
   PROJECT DETAIL
====================================== */

.project-detail{
    padding:100px 0;
    background:#fafafa;
}

.project-header{
    text-align:center;
    margin-bottom:60px;
}

.project-header h1{
    font-size:42px;
    font-weight:800;
    color:#1f1f1f;
    position:relative;
    display:inline-block;
}

.project-header h1::after{
    content:"";
    width:90px;
    height:4px;
    background:#d4af37;
    position:absolute;
    bottom:-15px;
    left:50%;
    transform:translateX(-50%);
    border-radius:20px;
}

.project-gallery{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
    margin-bottom:60px;
}

.gallery-item{
    border-radius:18px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
}

.gallery-item img{
    width:100%;
    height:420px;
    object-fit:cover;
    transition:.45s;
}

.gallery-item:hover img{
    transform:scale(1.05);
}

.project-info{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.info-card{
    background:#fff;
    border-radius:18px;
    padding:30px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.35s;
    border-top:4px solid #d4af37;
}

.info-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.info-card span{
    display:block;
    color:#999;
    font-size:15px;
    margin-bottom:12px;
    font-weight:600;
}

.info-card strong{
    display:block;
    color:#222;
    font-size:22px;
    font-weight:800;
    line-height:1.6;
}

/* ==========================
      Tablet
========================== */

@media(max-width:992px){

.project-header h1{
    font-size:34px;
}

.gallery-item img{
    height:320px;
}

}

/* ==========================
       Mobile
========================== */

@media(max-width:768px){

.project-detail{
    padding:70px 0;
}

.project-header{
    margin-bottom:35px;
}

.project-header h1{
    font-size:28px;
}

.project-gallery{
    grid-template-columns:1fr;
    gap:20px;
}

.gallery-item img{
    height:250px;
}

.project-info{
    grid-template-columns:1fr;
    gap:18px;
}

.info-card{
    padding:22px;
}

.info-card strong{
    font-size:18px;
}

}




@media (min-width:993px){
    .menu-toggle{
        display:none !important;
    }
}
