html{
    scroll-behavior:smooth;
}
body{
    margin:0;
    background:#0b1c3b;
    color:#f5f1e8;
    overflow-x:hidden;
}
main{
    padding-top:60px;
}
.nav{
    background:rgba(11,28,59,.65);
    backdrop-filter:blur(18px);
    border-bottom: 1px solid rgba(245,241,232,.15);
    box-shadow:0 10px 30px rgba(0,0,0,.35);
}
.nav-link{
    color:#f5f1e8 !important;
    font-size:18px;
    transition:.3s;
}
.nav-link:hover{
    color: #e3a15a !important;
    transform:scale(1.08);
    border-bottom:1px solid #d98245;
}
.navbar-toggler{
    border:1px solid #f5f1e8;
}
.navbar-toggler-icon{
    filter:invert(1);
}
#hero{
    background: linear-gradient(180deg,#0b1c3b 0%,#0b1c3b 75%, #1b1830 90%,#521908 100%);
}
.hero-name{
    font-size:clamp(3rem,8vw,80px);
    letter-spacing:2px;
    color: #f5f1e8;
}
.roles{
    display:grid;
    grid-template-columns:repeat(2,auto);
    gap:15px;
}
.role{
    border:2px solid #d98245;
    border-radius:50px;
    color:#f5f1e8;
    text-align:center;
}
.title{
    color:#f5f1e8;
    font-size:clamp(3rem,8vw,80px);
    font-weight:700;
}
.title-min{
    color:transparent;
    -webkit-text-stroke:2px #d98245;
    font-size:clamp(3rem,8vw,80px);
    font-weight:700;
    line-height:1;
    opacity:0;
    animation:show .9s ease forwards;
    animation-delay:.9s;
}
@media (min-width:992px){
    .right-design{
        padding-left:80px;
    }
}
.designer{
    display:flex;
    align-items:baseline;
    gap:5px;
}
.and{
    margin-left:20px;
}
@keyframes show{
    from{
        opacity:0;
    }
    to{
        opacity:1;
    }
}
.resume-btn{
    background:#f5f1e8;
    color:#0b1c3b;
    padding:12px 35px;
    border-radius:50px;
    border:2px solid #f5f1e8;
    box-shadow: 0 15px 30px rgba(0,0,0,.45);
    transition:.3s;
}
.resume-btn:hover{
    background:transparent;
    color:#e3a15a;
    border-color:#e3a15a;
    transform: translateY(-5px);
}
#about{
    background: linear-gradient(180deg, #521908 0%,#521908 75%, #351306 85%, #0b1c3b);
    color: #f1d8b8;
    padding-bottom: 5%;
}
.heading{
    padding:5% 0 40px;
}
.heading h1{
    color: #e3a15a;
}
.text{
    line-height:1.8;
    font-size:18px;
    color: #f1d8b8;
}
.more-text{
    position:relative;
}
@media(max-width:768px){
    .more-text{
        max-height:120px;
        overflow:hidden;
        position: relative;
    }
    .more-text::after{
        content:"";
        position:absolute;
        bottom:0;
        left:0;
        width:100%;
        height:40px;
        background:linear-gradient(transparent, #521908);
    }
    .more-text.show{
        max-height:none;
    }
    .more-text.show::after{
        display:none;
    }
}
.show-more{
    display:none;
    color:#f5f1e8;
    text-align:center;
    cursor:pointer;
    margin:20px auto 0;
    padding:8px 25px;
    border:1px solid #e3a15a;
    border-radius:50px;
    width:max-content;
}
@media(max-width:768px){
    .show-more{
        display:block;
        margin-left:auto;
        margin-right:auto;
    }
}
#projects{
    background: linear-gradient(180deg,#0b1c3b 0%,#0b1c3b 100%);
    padding: 5% 0;
}
.design-part{
    background: #171411;
    border: 2px solid #594333;
    padding: 5%;
    margin-top: 5%;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.develop-part{
    background: #101820;
    border: 2px solid #34485c;
    padding: 5%;
    margin: 1%;
    margin-top: 5%;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,4.5);
}
.project-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}
@media(max-width:992px){
    .project-grid{
        grid-template-columns:repeat(2,1fr);
    }
}
@media(max-width:576px){
    .project-grid{
        grid-template-columns:1fr;
    }
}
img{
    max-width:100%;
    height:auto;
}
.project-card{
    cursor:pointer;
    border:2px solid rgba(245,241,232,.15);
    border-radius:15px;
    overflow:hidden;
    background:#101d35;
    display:flex;
    flex-direction:column;
    height:100%;
    transition: .35s;
}
.project-card:hover{
    transform:translateY(-8px);
    border-color: #d98245;
    box-shadow:0 0 10px rgba(217,130,69,.25),
}
.project-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-bottom:2px solid rgba(245,241,232,.15);
}
.project-card h3{
    margin:0;
    padding:15px;
    text-align:center;
    color:#f5f1e8;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
#detail-images{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap:20px;
    align-items:start;
    margin:20px 0;
}
.detail-image{
    width:100%;
    height:auto;
    display:block;
    border-radius:12px;
    border:2px solid #d98245;
    object-fit:contain;
}
#project-details{
    color:#f5f1e8;
    padding:40px 0;
}
#project-details h1{
    color: #e3a15a;
    margin-bottom:20px;
}
#project-details p{
    font-size:18px;
    line-height:1.8;
    color: #bfc3cc;
}
#detail-links{
    margin-top:25px;
}
#detail-links a{
    display:inline-block;
    margin-right:15px;
    padding:10px 18px;
    border:2px solid #d98245;
    color:#f5f1e8;
    text-decoration:none;
    border-radius:8px;
    transition: .3s;
}
#detail-links a:hover{
    background: #d98245;
    color:#0b1c3b;
}   
.view-all-btn{
    display:inline-block;
    color:#f5f1e8;
    text-decoration:none;
    border:1px solid #d98245;
    padding:10px 28px;
    border-radius:50px;
    transition:.3s;
}
.view-all-btn:hover{
    background:#d98245;
    color:#0b1c3b;
}
.project-nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:25px 0 40px;
}
.nav-btn{
    text-decoration:none;
    color:#f5f1e8;
    border:1px solid #d98245;
    padding:10px 22px;
    border-radius:50px;
    transition:.3s;
}
.nav-btn:hover{
    background:#d98245;
    color:#0b1c3b;
}
.contact-container{
    gap:40px;
}
.socials{
    display:flex;
    justify-content:center;
    align-items:center;
}
.contacts{
    max-width:600px;
    padding:30px;
    background: #0b1c3b;
    border:2px solid #d98245;
    border-radius:18px;
    box-shadow:0 20 50px rgba(0,0,0,.5),
}
.contacts .form-control{
    background:#0b1c3b;
    color:#f5f1e8;
    border:1px solid #d98245;
    border-radius:10px;
}
.contacts .form-control:focus{
    background:#0b1c3b;
    color:#f5f1e8;
    border-color:#d98245;
    box-shadow:0 0 15px rgba(217,130,69,.35);
}
.contacts .form-floating label{
    color:#bfc3cc;
}
.contacts textarea.form-control{
    height:150px;
    resize:none;
}
.contacts button{
    width:100%;
    padding:12px;
    background:#f5f1e8;
    color:#0b1c3b;
    border:none;
    border-radius:10px;
    font-weight:bold;
    transition:.3s;
}
.contacts button:hover{
    background:#d98245;
    color:#0b1c3b;
    transform: translateY(-3px);
}
.circle-1{
    position:relative;
    width:min(340px,90vw);
    height:min(340px,90vw);
    border:2px solid #d98245;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow: 0 0 40px rgba(217,130,69,.18);
}
.circle-2{
    width:170px;
    height:170px;
    border:2px solid #d98245;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#0b1c3b;
}
.circle-2 h5{
    margin:0;
    color:#f5f1e8;
    text-align:center;
    transition: .3s;
}
.icon{
    --radius:120px;
    --angle:45deg;
    position:absolute;
    top:50%;
    left:50%;
    width:58px;
    height:58px;
    margin:-29px;
    border:2px solid #f5f1e8;
    border-radius:50%;
    background:transparent;
    color:#d98245;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
    text-decoration:none;
    transform:rotate(calc(var(--i) * var(--angle) - 90deg))
    translateY(calc(var(--radius) * -1))
    rotate(calc((var(--i) * var(--angle) - 90deg) * -1));
    transition:.3s;
}
.icon:hover{
    background:#d98245;
    color:#0b1c3b;
    border-color: #d98245;
    box-shadow:
    0 0 15px rgba(217,130,69,.6),
    0 0 35px rgba(217,130,69,.35);
}
.mine{
    color:#e3a15a;
    text-decoration:none;
}
.detail-video{
    width:100%;
    border-radius:12px;
    border:2px solid #d98245;
    background:#000;
}