/* ==========================
   Google Font
========================== */

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

/* ==========================
   Reset
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{

    font-family:'Vazirmatn',sans-serif;
    background:#0f1117;
    color:#fff;
    direction:rtl;
    line-height:2;

}

/* ScrollBar */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#111827;

}

::-webkit-scrollbar-thumb{

    background:#00bcd4;
    border-radius:20px;

}

/* ==========================
Container
========================== */

.container{

    max-width:1400px;

}

/* ==========================
Glass Effect
========================== */

.glass{

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(20px);

    border-radius:20px;

    box-shadow:0 20px 40px rgba(0,0,0,.35);

    transition:.4s;

    opacity:0;

    transform:translateY(40px);

}

.glass.show{

    opacity:1;

    transform:translateY(0);

}

.glass:hover{

    transform:translateY(-5px);

    box-shadow:0 25px 45px rgba(0,188,212,.18);

}

/* ==========================
Header
========================== */

.title{

    font-size:48px;

    font-weight:800;

    color:#fff;

}

.subtitle{

    color:#00d4ff;

    font-size:18px;

    margin-top:10px;

}

/* ==========================
Section Titles
========================== */

section h2{

    margin-bottom:25px;

    font-size:28px;

    color:#00d4ff;

}

section h2 i{

    margin-left:10px;

}

/* ==========================
Paragraph
========================== */

p{

    color:#d0d0d0;

    font-size:17px;

}

/* ==========================
Sidebar
========================== */

.sidebar{

    position:sticky;

    top:40px;

}

.profile{

    width:220px;

    height:220px;

    object-fit:cover;

    border-radius:20px;

    border:4px solid #00d4ff;

    margin-bottom:20px;

}

.sidebar h3{

    font-size:28px;

}

.sidebar p{

    color:#bbb;

}

.sidebar hr{

    border-color:#2d3748;

}

/* ==========================
Social
========================== */

.social{

    display:flex;

    justify-content:center;

    gap:15px;

    margin-top:20px;

}

.social a{

    width:48px;

    height:48px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#1b2230;

    color:white;

    text-decoration:none;

    transition:.4s;

}

.social a:hover{

    background:#00d4ff;

    color:#111;

    transform:translateY(-6px);

}

/* ==========================
Timeline
========================== */

.timeline{

    border-right:3px solid #00d4ff;

    padding-right:25px;

}

.item{

    margin-bottom:35px;

    position:relative;

}

.item::before{

    content:"";

    width:18px;

    height:18px;

    border-radius:50%;

    background:#00d4ff;

    position:absolute;

    right:-36px;

    top:8px;

}

.item h4{

    font-size:24px;

}

.item span{

    color:#8ca3af;

    font-size:14px;

}
/* ==========================
Skills
========================== */

.skill{

    margin-bottom:25px;

}

.skill span{

    display:block;

    margin-bottom:8px;

    font-weight:600;

}

.progress{

    height:14px;

    background:#202938;

    border-radius:50px;

    overflow:hidden;

}

.progress-bar{

    height:100%;

    display:flex;

    align-items:center;

    justify-content:flex-end;

    padding-left:10px;

    color:#fff;

    font-size:11px;

    font-weight:bold;

    background:linear-gradient(90deg,#00bcd4,#00e5ff);

}

.w-95{width:95%;}
.w-90{width:90%;}
.w-85{width:85%;}
.w-80{width:80%;}
.w-75{width:75%;}
.w-70{width:70%;}
.w-65{width:65%;}
.w-60{width:60%;}

/* ==========================
Projects
========================== */

.project{

    background:#151d2c;

    border-radius:15px;

    padding:20px;

    margin-bottom:20px;

    border:1px solid rgba(255,255,255,.05);

    transition:.35s;

}

.project:hover{

    transform:translateY(-8px);

    border-color:#00d4ff;

    box-shadow:0 15px 30px rgba(0,212,255,.15);

}

.project h3{

    color:#00d4ff;

    margin-bottom:10px;

}

/* ==========================
Award Cards
========================== */

.card-box{

    background:#151d2c;

    border-radius:18px;

    padding:25px;

    text-align:center;

    margin-bottom:25px;

    transition:.4s;

}

.card-box:hover{

    transform:translateY(-10px);

    box-shadow:0 15px 30px rgba(0,212,255,.18);

}

.card-box i{

    font-size:45px;

    color:#00d4ff;

    margin-bottom:20px;

}

.card-box h5{

    margin-bottom:15px;

    font-size:22px;

}

/* ==========================
Tags
========================== */

.tags{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

}

.tags span{

    background:#1c2638;

    color:#00d4ff;

    padding:10px 18px;

    border-radius:40px;

    transition:.3s;

    font-size:15px;

}

.tags span:hover{

    background:#00d4ff;

    color:#111;

    cursor:default;

}

/* ==========================
Technology Grid
========================== */

.tech-grid{

    display:grid;

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

    gap:18px;

}

.tech{

    background:#151d2c;

    text-align:center;

    padding:18px;

    border-radius:15px;

    font-weight:700;

    transition:.3s;

}

.tech:hover{

    background:#00d4ff;

    color:#111;

    transform:scale(1.05);

}

/* ==========================
Quote
========================== */

.quote-icon{

    font-size:45px;

    color:#00d4ff;

    margin-bottom:15px;

}

blockquote{

    font-size:22px;

    font-style:italic;

    color:#ddd;

}

/* ==========================
Lists
========================== */

ul{

    list-style:none;

}

ul li{

    margin-bottom:12px;

    color:#ddd;

}
/* ==========================
Footer
========================== */

footer{

    margin-top:60px;

    padding:30px;

    text-align:center;

    color:#9ca3af;

    border-top:1px solid rgba(255,255,255,.08);

}

footer p{

    margin:8px 0;

}

/* ==========================
Buttons
========================== */

.btn-custom{

    display:inline-block;

    background:linear-gradient(135deg,#00bcd4,#0097a7);

    color:#fff;

    padding:12px 28px;

    border-radius:50px;

    text-decoration:none;

    transition:.35s;

    font-weight:600;

    border:none;

}

.btn-custom:hover{

    transform:translateY(-4px);

    box-shadow:0 12px 25px rgba(0,188,212,.35);

    color:#fff;

}

/* ==========================
Links
========================== */

a{

    transition:.3s;

}

a:hover{

    text-decoration:none;

}

/* ==========================
Animations
========================== */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes zoom{

    from{

        transform:scale(.9);

        opacity:0;

    }

    to{

        transform:scale(1);

        opacity:1;

    }

}

.title{

    animation:fadeUp .8s ease;

}

.subtitle{

    animation:fadeUp 1.1s ease;

}

.profile{

    animation:zoom .8s ease;

}

/* ==========================
Hover Effects
========================== */

h1,h2,h3,h4,h5{

    transition:.3s;

}

h2:hover{

    color:#4dd0e1;

}

img{

    max-width:100%;

}

img:hover{

    transition:.4s;

    transform:scale(1.02);

}

/* ==========================
Selection
========================== */

::selection{

    background:#00bcd4;

    color:#fff;

}

/* ==========================
Responsive
========================== */

@media(max-width:992px){

.sidebar{

    position:relative;

    margin-top:30px;

}

.title{

    font-size:36px;

}

.profile{

    width:180px;

    height:180px;

}

.tech-grid{

    grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

body{

    font-size:15px;

}

.title{

    font-size:30px;

}

.subtitle{

    font-size:16px;

}

section h2{

    font-size:24px;

}

.profile{

    width:150px;

    height:150px;

}

.social{

    flex-wrap:wrap;

}

.tech-grid{

    grid-template-columns:1fr 1fr;

}

.tags{

    justify-content:center;

}

}

@media(max-width:576px){

.container{

    padding:15px;

}

.glass{

    padding:20px !important;

}

.title{

    font-size:26px;

}

.sidebar h3{

    font-size:22px;

}

.project{

    padding:15px;

}

.card-box{

    padding:18px;

}

blockquote{

    font-size:18px;

}

.tech-grid{

    grid-template-columns:1fr;

}

.social a{

    width:42px;

    height:42px;

}

}

/* ==========================
End
========================== */