/* ===========================
   GOOGLE FONT
=========================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#050505;
    color:#fff;
    overflow-x:hidden;
    line-height:1.7;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    width:100%;
    display:block;
}

ul{
    list-style:none;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ===========================
   BACKGROUND
=========================== */

.background{
    position:fixed;
    inset:0;
    z-index:-5;
    overflow:hidden;
    background:#050505;
}

.blob{
    position:absolute;
    width:500px;
    height:500px;
    border-radius:50%;
    filter:blur(120px);
    opacity:.25;
    animation:blobMove 12s ease-in-out infinite alternate;
}

.blob1{
    background:#ff7b00;
    top:-150px;
    left:-120px;
}

.blob2{
    background:#ff5100;
    right:-120px;
    bottom:-150px;
}

@keyframes blobMove{

0%{
transform:scale(1) translate(0,0);
}

100%{
transform:scale(1.35) translate(80px,-40px);
}

}

/* ===========================
   NAVBAR
=========================== */

.navbar{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:999;
    backdrop-filter:blur(16px);
    background:rgba(0,0,0,.45);
    border-bottom:1px solid rgba(255,255,255,.06);
}

.navbar .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:80px;
}

.logo{
    font-size:30px;
    font-weight:700;
    letter-spacing:1px;
}

.logo span{
    color:#ff7b00;
}

.nav-links{
    display:flex;
    gap:38px;
}

.nav-links a{
    font-size:15px;
    transition:.35s;
    position:relative;
}

.nav-links a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:2px;
    background:#ff7b00;
    transition:.35s;
}

.nav-links a:hover{
    color:#ff7b00;
}

.nav-links a:hover::after{
    width:100%;
}

.menu-btn{
    display:none;
    font-size:26px;
    cursor:pointer;
}

/* ===========================
   HERO
=========================== */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    position:relative;
}

.hero-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:70px;
}

.subtitle{
    color:#ff7b00;
    letter-spacing:3px;
    margin-bottom:15px;
    font-weight:600;
}

.hero h1{
    font-size:65px;
    line-height:1.1;
    margin-bottom:12px;
}

.hero h2{
    font-size:30px;
    color:#ff7b00;
    margin-bottom:20px;
    min-height:40px;
}

.hero-text{
    color:#cfcfcf;
    margin-bottom:35px;
    max-width:550px;
}

.hero-buttons{
    display:flex;
    gap:18px;
    margin-bottom:40px;
}

.primary-btn,
.secondary-btn{
    padding:15px 34px;
    border-radius:50px;
    font-weight:600;
    transition:.35s;
}

.primary-btn{
    background:#ff7b00;
    color:#fff;
}

.primary-btn:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 35px rgba(255,123,0,.35);
}

.secondary-btn{
    border:2px solid #ff7b00;
}

.secondary-btn:hover{
    background:#ff7b00;
}

.social-icons{
    display:flex;
    gap:18px;
}

.social-icons a{
    width:48px;
    height:48px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#111;
    transition:.35s;
    font-size:18px;
}

.social-icons a:hover{
    background:#ff7b00;
    transform:translateY(-6px);
}

.image-box{
    width:420px;
    height:420px;
    margin:auto;
    position:relative;
}

.circle{
    position:absolute;
    inset:0;
    border-radius:50%;
    border:8px solid #ff7b00;
}

.image-box img{
    position:absolute;
    top:22px;
    left:22px;
    width:calc(100% - 44px);
    height:calc(100% - 44px);
    border-radius:50%;
    object-fit:cover;
    object-position:center top;
    z-index:5;
}
@keyframes rotateCircle{

100%{
transform:rotate(360deg);
}

}

.scroll-down{
    position:absolute;
    bottom:35px;
    left:50%;
    transform:translateX(-50%);
    animation:bounce 1.8s infinite;
}

.scroll-down i{
    font-size:32px;
    color:#ff7b00;
}

@keyframes bounce{

50%{
transform:translateY(10px);
}

}

/* ===========================
   SECTIONS
=========================== */

section{
    padding:110px 0;
}

.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-title h2{
    font-size:42px;
}

.line{
    width:90px;
    height:4px;
    margin:15px auto;
    background:#ff7b00;
    border-radius:30px;
}

/* ===========================
   ABOUT
=========================== */

.about-content{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:55px;
    align-items:center;
}

.about-text p{
    margin-bottom:25px;
    color:#cfcfcf;
}

.about-cards{
    display:grid;
    gap:22px;
}

.card{
    background:#101010;
    padding:28px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.05);
    transition:.35s;
}

.card:hover{
    transform:translateY(-8px);
    border-color:#ff7b00;
}

.card h3{
    margin-bottom:10px;
    color:#ff7b00;
}

.card span{
    color:#bcbcbc;
}

/* ===========================
   SKILLS
=========================== */

.skills-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.skill-card{
    background:#101010;
    padding:40px 20px;
    border-radius:18px;
    text-align:center;
    transition:.35s;
    border:1px solid rgba(255,255,255,.05);
}

.skill-card i{
    font-size:42px;
    color:#ff7b00;
    margin-bottom:20px;
}

.skill-card h3{
    font-size:18px;
}

.skill-card:hover{
    transform:translateY(-10px);
    border-color:#ff7b00;
    box-shadow:0 18px 40px rgba(255,123,0,.18);
}

/* ===========================
   EXPERIENCE
=========================== */

.timeline{
    position:relative;
    max-width:900px;
    margin:auto;
}

.timeline::before{
    content:'';
    position:absolute;
    left:50%;
    top:0;
    width:3px;
    height:100%;
    background:#ff7b00;
    transform:translateX(-50%);
}

.timeline-item{
    width:50%;
    padding:20px 40px;
    position:relative;
}

.timeline-item:nth-child(odd){
    left:0;
    text-align:right;
}

.timeline-item:nth-child(even){
    left:50%;
}

.timeline-content{
    background:#101010;
    padding:28px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.06);
    transition:.35s;
    position:relative;
}

.timeline-content:hover{
    transform:translateY(-8px);
    border-color:#ff7b00;
    box-shadow:0 18px 40px rgba(255,123,0,.18);
}

.timeline-content h3{
    color:#ff7b00;
    margin-bottom:8px;
}

.timeline-content h4{
    margin-bottom:8px;
}

.timeline-content span{
    display:inline-block;
    margin-bottom:15px;
    color:#bcbcbc;
    font-size:14px;
}

.timeline-content p{
    color:#d2d2d2;
}

.timeline-item::before{
    content:'';
    position:absolute;
    top:38px;
    width:18px;
    height:18px;
    background:#ff7b00;
    border-radius:50%;
    z-index:5;
}

.timeline-item:nth-child(odd)::before{
    right:-10px;
}

.timeline-item:nth-child(even)::before{
    left:-9px;
}

/* ===========================
   PROJECTS
=========================== */

.project-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.project-card{
    background:#101010;
    border-radius:20px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.05);
    transition:.4s;
}

.project-card:hover{
    transform:translateY(-12px);
    border-color:#ff7b00;
    box-shadow:0 20px 45px rgba(255,123,0,.22);
}

.project-card img{
    height:230px;
    object-fit:cover;
    transition:.5s;
}

.project-card:hover img{
    transform:scale(1.08);
}

.project-content{
    padding:25px;
}

.project-content h3{
    color:#ff7b00;
    margin-bottom:15px;
}

.project-content p{
    color:#cfcfcf;
}

/* ===========================
   CONTACT
=========================== */

.contact-box{
    max-width:850px;
    margin:auto;
    text-align:center;
    background:#101010;
    border-radius:22px;
    padding:60px 40px;
    border:1px solid rgba(255,255,255,.05);
}

.contact-box h3{
    font-size:34px;
    margin-bottom:20px;
}

.contact-box p{
    color:#cfcfcf;
    max-width:620px;
    margin:auto;
    margin-bottom:35px;
}

.contact-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

/* ===========================
   FOOTER
=========================== */

footer{
    padding:30px 0;
    border-top:1px solid rgba(255,255,255,.08);
    text-align:center;
    color:#a9a9a9;
    background:#080808;
}

/* ===========================
   SCROLLBAR
=========================== */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#090909;
}

::-webkit-scrollbar-thumb{
    background:#ff7b00;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#ff5e00;
}

/* ===========================
   SELECTION
=========================== */

::selection{
    background:#ff7b00;
    color:#fff;
}

/* ===========================
   ANIMATIONS
=========================== */

@keyframes fadeUp{

0%{
opacity:0;
transform:translateY(40px);
}

100%{
opacity:1;
transform:translateY(0);
}

}

.hero-left{
    animation:fadeUp .9s ease;
}

.hero-right{
    animation:fadeUp 1.2s ease;
}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:1100px){

.hero-container{
grid-template-columns:1fr;
text-align:center;
}

.hero-text{
margin:auto auto 35px;
}

.hero-buttons,
.social-icons{
justify-content:center;
}

.image-box{
margin-top:40px;
}

.about-content{
grid-template-columns:1fr;
}

.skills-grid{
grid-template-columns:repeat(2,1fr);
}

.timeline::before{
left:30px;
}

.timeline-item{
width:100%;
left:0!important;
padding-left:75px;
padding-right:10px;
text-align:left!important;
}

.timeline-item::before{
left:22px!important;
}

}

@media(max-width:768px){

.nav-links{
position:fixed;
top:80px;
left:-100%;
width:100%;
background:#090909;
display:flex;
flex-direction:column;
align-items:center;
padding:40px 0;
gap:28px;
transition:.4s;
}

.nav-links.active{
left:0;
}

.menu-btn{
display:block;
}

.hero h1{
font-size:46px;
}

.hero h2{
font-size:24px;
}

.section-title h2{
font-size:34px;
}

.image-box{
width:320px;
height:320px;
}

.contact-box{
padding:45px 25px;
}

.contact-box h3{
font-size:28px;
}

}

@media(max-width:600px){

.container{
width:92%;
}

.hero{
padding-top:120px;
}

.hero-buttons{
flex-direction:column;
align-items:center;
}

.primary-btn,
.secondary-btn{
width:100%;
max-width:280px;
text-align:center;
}

.skills-grid{
grid-template-columns:1fr;
}

.project-grid{
grid-template-columns:1fr;
}

.image-box{
width:270px;
height:270px;
}

.hero h1{
font-size:38px;
}

.hero h2{
font-size:22px;
}

.subtitle{
font-size:14px;
letter-spacing:2px;
}

.social-icons{
flex-wrap:wrap;
}

}

@media(max-width:400px){

.logo{
font-size:24px;
}

.hero h1{
font-size:32px;
}

.section-title h2{
font-size:28px;
}

.image-box{
width:230px;
height:230px;
}

.card,
.timeline-content,
.project-card,
.contact-box,
.skill-card{
border-radius:15px;
}

}

/* ===========================
   EXTRA HOVER EFFECTS
=========================== */

.card,
.skill-card,
.project-card,
.timeline-content,
.contact-box{
transition:
transform .35s ease,
box-shadow .35s ease,
border-color .35s ease;
}

.primary-btn,
.secondary-btn,
.social-icons a{
transition:
background .35s ease,
transform .35s ease,
box-shadow .35s ease;
}

/* ===========================
   END OF FILE
=========================== */