@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;700;900&display=swap');


*{

margin:0;
padding:0;
box-sizing:border-box;
font-family:Vazirmatn;

}


body{

background:#080012;
color:white;
min-height:100vh;
overflow-x:hidden;

}




.background{

position:fixed;

width:100%;
height:100%;


background:

radial-gradient(circle at top right,#a855f7aa,transparent 35%),

radial-gradient(circle at bottom left,#7c3aedaa,transparent 35%);


animation:bgAnimation 8s infinite alternate;


z-index:-1;

}




@keyframes bgAnimation{


from{

transform:scale(1);

}


to{

transform:scale(1.25);

}


}




.about{

padding:80px 20px;

animation:fade 1s ease;

}



.container{

max-width:1200px;
margin:auto;
text-align:center;

}





.logo{

width:110px;
height:110px;


margin:auto;


display:flex;
align-items:center;
justify-content:center;


font-size:50px;


border-radius:50%;


background:

linear-gradient(135deg,#c084fc,#6d28d9);



box-shadow:

0 0 50px #a855f7;



animation:float 3s infinite;


}





@keyframes float{


50%{

transform:translateY(-20px);

}

}




h1{

margin-top:35px;

font-size:45px;


}


h1 span{

color:#c084fc;

}



.subtitle{

margin-top:15px;

color:#ccc;

font-size:18px;

}




.cards{


margin-top:60px;


display:grid;


grid-template-columns:
repeat(auto-fit,minmax(260px,1fr));


gap:25px;


}




.card{


padding:35px;


border-radius:25px;


background:

rgba(255,255,255,.08);



border:

1px solid rgba(255,255,255,.15);



backdrop-filter:blur(20px);



opacity:0;



animation:

cardShow .8s forwards;



transition:.4s;


}




.card:nth-child(1){

animation-delay:.3s;

}


.card:nth-child(2){

animation-delay:.6s;

}


.card:nth-child(3){

animation-delay:.9s;

}




@keyframes cardShow{


from{

opacity:0;

transform:translateY(70px);

}



to{

opacity:1;

transform:translateY(0);

}


}




.card:hover{


transform:

translateY(-15px)
scale(1.05);



box-shadow:

0 0 40px #a855f7;


}





.icon{

font-size:50px;

}



.card h2{


margin:20px 0;


color:#e9d5ff;


}




.card p{


color:#ddd;

line-height:2;


}





.info{


margin-top:70px;


padding:40px;


border-radius:30px;



background:

rgba(255,255,255,.07);



backdrop-filter:blur(20px);



animation:

slideUp 1.5s;


}




.info h2{


font-size:35px;


color:#c084fc;


}



.info p{


margin-top:20px;


line-height:2.2;


color:#ddd;


}




button{


margin-top:30px;


padding:15px 45px;


border:none;


border-radius:50px;


cursor:pointer;


font-size:17px;


color:white;


background:

linear-gradient(135deg,#a855f7,#6d28d9);



transition:.4s;


animation:glow 2s infinite;


}



button:hover{


transform:scale(1.1);


}





@keyframes glow{


50%{

box-shadow:

0 0 40px #a855f7;

}


}




@keyframes fade{


from{

opacity:0;

}


to{

opacity:1;

}


}





@keyframes slideUp{


from{

opacity:0;

transform:translateY(100px);

}



to{

opacity:1;

transform:translateY(0);

}


}





@media(max-width:600px){


h1{

font-size:32px;

}


}
/* Subtle motion polish for the About page */
.about h1 span {
    background: linear-gradient(90deg, #d8b4fe, #a78bfa, #e879f9, #d8b4fe);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: aboutTitleShimmer 7s ease-in-out infinite;
}

@keyframes aboutTitleShimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.card::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 20%, rgba(216,180,254,.12) 48%, transparent 76%);
    transform: translateX(-120%);
    transition: transform .8s ease;
}

.card:hover::before {
    transform: translateX(120%);
}

.card .icon {
    display: inline-block;
    transform-origin: 50% 65%;
    animation: aboutIconFloat 3.8s ease-in-out infinite;
}

.card:nth-child(2) .icon { animation-delay: .45s; }
.card:nth-child(3) .icon { animation-delay: .9s; }

@keyframes aboutIconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(-3deg); }
}

.info {
    position: relative;
    border: 1px solid rgba(192,132,252,.16);
    box-shadow: 0 10px 45px rgba(88,28,135,.10);
    transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}

.info:hover {
    border-color: rgba(192,132,252,.38);
    box-shadow: 0 14px 55px rgba(168,85,247,.16);
    transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
    .about h1 span,
    .card .icon,
    .logo,
    .background,
    .card,
    .info,
    button {
        animation: none !important;
        transition: none !important;
    }
}

/* Refined, calm motion system */
.background { animation: aboutAmbient 18s ease-in-out infinite alternate; will-change: transform; }
@keyframes aboutAmbient { from { transform: scale(1) translate3d(0,0,0); } to { transform: scale(1.08) translate3d(-1.5%,1%,0); } }
.about { padding: clamp(48px,7vw,88px) 18px; }
.logo { animation: logoReveal .9s cubic-bezier(.2,.8,.2,1) both; box-shadow: 0 0 0 10px rgba(168,85,247,.07), 0 14px 55px rgba(168,85,247,.28); }
@keyframes logoReveal { from { opacity:0; transform: translateY(18px) scale(.88); } to { opacity:1; transform:translateY(0) scale(1); } }
.cards { perspective: 1000px; }
.card { transform: translateY(28px); animation: cardShow .75s cubic-bezier(.2,.75,.25,1) forwards; transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.card:hover { transform: translateY(-8px) scale(1.015); border-color:rgba(216,180,254,.42); box-shadow:0 18px 48px rgba(124,58,237,.2); }
.card:nth-child(1){animation-delay:.12s}.card:nth-child(2){animation-delay:.24s}.card:nth-child(3){animation-delay:.36s}
.info { animation: slideUp .9s .3s both; }
button { animation: none; box-shadow:0 8px 28px rgba(168,85,247,.22); }
button:hover { transform: translateY(-3px); box-shadow:0 13px 35px rgba(168,85,247,.32); }
@media(max-width:700px){ .about{padding:42px 16px}.logo{width:84px;height:84px;font-size:38px}h1{font-size:clamp(27px,8vw,36px);line-height:1.35}.subtitle{font-size:15px;line-height:1.9}.cards{margin-top:34px;grid-template-columns:1fr;gap:16px}.card{padding:25px 20px;border-radius:20px}.info{margin-top:32px;padding:26px 20px;border-radius:22px}.info h2{font-size:25px}.info p{font-size:14px;line-height:2}button{max-width:100%;padding:13px 28px} }
@media(prefers-reduced-motion:reduce){.background,.logo,.card,.info,.about h1 span,.card .icon{animation:none!important}.card,.info,button{transition:none!important}}


/* ===== JOIL RP: centered About page composition ===== */
body { background:#111116 !important; }
.about {
 width:100% !important; min-height:100vh; padding:82px 20px 64px !important;
 display:flex; align-items:flex-start; justify-content:center; text-align:center !important;
}
.about > .container {
 width:min(100%,1200px) !important; max-width:1200px !important; margin:0 auto !important;
 text-align:center !important; display:flex; flex-direction:column; align-items:center;
}
.about .logo, .about h1, .about .subtitle, .about .info {
 margin-left:auto !important; margin-right:auto !important; text-align:center !important;
}
.about h1 { width:100%; line-height:1.45; }
.about .subtitle { max-width:900px; line-height:2; }
.about .cards {
 width:100%; display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
 justify-content:center; align-items:stretch; gap:24px; margin:56px auto 0 !important;
}
.about .card {
 width:100%; min-width:0; display:flex; flex-direction:column;
 align-items:center; justify-content:flex-start; text-align:center !important;
}
.about .card p, .about .card h2 { width:100%; text-align:center !important; }
.about .info { width:100%; max-width:1000px; }
.about .info h2, .about .info p { text-align:center !important; }
.page-lang-switch {
 position:absolute; z-index:5; top:18px; right:clamp(16px,4vw,56px);
 display:flex; align-items:center; gap:6px; padding:5px; direction:ltr;
 border:1px solid rgba(168,85,247,.3); border-radius:999px; background:rgba(139,92,246,.12);
}
.page-lang-switch a { padding:8px 14px; color:#e8dcfa; text-decoration:none; border-radius:999px; font-size:13px; font-weight:700; }
.page-lang-switch a.active { background:#7040b8; color:#fff; }
@media(max-width:700px) {
 .about { padding:76px 16px 44px !important; }
 .about .cards { grid-template-columns:1fr; margin-top:34px !important; }
 .about .card { padding:25px 20px; }
 .page-lang-switch { top:12px; right:12px; }
}


/* ===== Final centering: About content in the space beside the sidebar ===== */
body { padding-right:var(--joil-sidebar-width,78px) !important; }
.about {
 width:100% !important; min-height:100vh; margin:0 !important;
 padding:clamp(46px,6vw,76px) clamp(18px,4vw,48px) 60px !important;
 display:flex !important; justify-content:center !important; align-items:flex-start !important;
 text-align:center !important;
}
.about > .container {
 width:100% !important; max-width:1050px !important; margin:0 auto !important;
 display:flex !important; flex-direction:column !important; align-items:center !important;
 text-align:center !important;
}
.about .logo { margin:0 auto !important; }
.about h1, .about .subtitle, .about .info, .about .info h2, .about .info p {
 width:100%; margin-left:auto !important; margin-right:auto !important; text-align:center !important;
}
.about .cards {
 width:100% !important; max-width:1000px; margin:48px auto 0 !important;
 display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important;
 justify-content:center !important; align-items:stretch !important; gap:22px !important;
}
.about .cards > .card {
 width:100% !important; min-width:0; margin:0 !important; text-align:center !important;
 display:flex !important; flex-direction:column !important; align-items:center !important;
}
.about .cards > .card h2, .about .cards > .card p { width:100%; text-align:center !important; }
.about .info { max-width:950px; }
@media(max-width:800px) {
 .about .cards { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media(max-width:560px) {
 .about { padding:40px 14px !important; }
 .about .cards { grid-template-columns:1fr !important; }
}


/* ===== JOIL RP: subdued plum background matching the reference screenshot ===== */
html, body { background:#100c19 !important; }
body { background-color:#100c19 !important; }
.background {
    position:fixed !important; inset:0 !important; width:100% !important; height:100% !important;
    background-color:#100c19 !important;
    background-image:
        radial-gradient(ellipse 34% 38% at 12% 20%, rgba(112,72,145,.16) 0%, rgba(112,72,145,0) 100%),
        radial-gradient(ellipse 30% 36% at 79% 62%, rgba(91,48,125,.13) 0%, rgba(91,48,125,0) 100%),
        radial-gradient(ellipse 24% 28% at 72% 5%, rgba(91,42,112,.10) 0%, rgba(91,42,112,0) 100%) !important;
    background-size:100% 100% !important; background-position:center !important;
    animation:none !important; opacity:1 !important; z-index:-1 !important;
}
