/* ==========================
   GOOGLE FONT & RESET
========================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#081426;
    color:#fff;
    overflow-x:hidden;
}

/* ==========================
   VARIABLES
========================== */

:root{
    --primary:#f4b400;
    --secondary:#081426;
    --white:#ffffff;
    --gray:#c9c9c9;
    --card:#0d1d33;
}

/* ==========================
   NAVBAR
========================== */

header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:1000;
}

.navbar{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 9%;

    background:rgba(8,20,38,.85);

    backdrop-filter:blur(12px);

    border-bottom:1px solid rgba(255,255,255,.08);

}

.logo{

    display:flex;
    align-items:center;
    gap:15px;

}

.logo span{

    width:55px;
    height:55px;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    background:var(--primary);

    color:#081426;

    font-size:28px;
    font-weight:bold;

}

.logo h2{

    font-size:23px;

}

.logo p{

    color:var(--gray);
    font-size:13px;

}

.nav-links{

    display:flex;
    list-style:none;
    gap:35px;

}

.nav-links a{

    color:white;
    text-decoration:none;
    font-weight:500;
    transition:.35s;

}

.nav-links a:hover{

    color:var(--primary);

}

.download-btn{

    padding:12px 28px;

    background:var(--primary);

    color:#081426;

    text-decoration:none;

    border-radius:40px;

    font-weight:700;

    transition:.35s;

}

.download-btn:hover{

    transform:translateY(-4px);

    box-shadow:0 10px 30px rgba(244,180,0,.35);

}

/* ==========================
   HERO
========================== */

.hero{

    min-height:100vh;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:150px 9% 80px;

    background:

    linear-gradient(rgba(8,20,38,.82),
    rgba(8,20,38,.88)),

    url(images/background.jpg);

    background-size:cover;

    background-position:center;

}

.hero-left{

    width:50%;

}

.hero-left h4{

    color:var(--primary);

    font-size:26px;

    margin-bottom:15px;

}

.hero-left h1{

    font-size:75px;

    line-height:1.1;

    margin-bottom:15px;

}

.hero-left h1 span{

    color:var(--primary);

}

.hero-left h2{

    font-size:38px;

    margin-bottom:25px;

}

.hero-left p{

    color:#d3d3d3;

    font-size:18px;

    line-height:32px;

    max-width:620px;

}

.hero-buttons{

    margin-top:45px;

    display:flex;

    gap:20px;

}

.hire-btn{

    background:var(--primary);

    color:#081426;

    padding:15px 35px;

    border-radius:45px;

    text-decoration:none;

    font-weight:700;

    transition:.35s;

}

.hire-btn:hover{

    transform:translateY(-6px);

    box-shadow:0 12px 35px rgba(244,180,0,.45);

}

.cv-btn{

    border:2px solid var(--primary);

    color:white;

    padding:15px 35px;

    border-radius:45px;

    text-decoration:none;

    transition:.35s;

}

.cv-btn:hover{

    background:var(--primary);

    color:#081426;

}

.social-icons{

    display:flex;

    gap:18px;

    margin-top:45px;

}

.social-icons a{

    width:55px;

    height:55px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    border:2px solid rgba(255,255,255,.15);

    color:white;

    text-decoration:none;

    transition:.35s;

}

.social-icons a:hover{

    background:var(--primary);

    color:#081426;

    transform:translateY(-6px);

}

.hero-right{

    width:42%;

    display:flex;

    justify-content:center;

}

.hero-right img{

    width:100%;

    max-width:520px;

    border-radius:25px;

    border:6px solid rgba(244,180,0,.6);

    box-shadow:0 30px 60px rgba(0,0,0,.45);

    animation:floatImage 4s ease-in-out infinite;

}

/* ==========================
   ANIMATION
========================== */

@keyframes floatImage{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-18px);

    }

    100%{

        transform:translateY(0);

    }

}

/* ==========================
   ABOUT
========================== */

.about{
    padding:120px 9%;
    background:#ffffff;
    color:#081426;

    display:grid;
    grid-template-columns:1fr 1.2fr;
    gap:70px;
    align-items:center;
}

.about-image img{
    width:100%;
    border-radius:25px;
    box-shadow:0 20px 50px rgba(0,0,0,.15);
}

.about-content span{
    color:#f4b400;
    font-weight:700;
    letter-spacing:2px;
}

.about-content h2{
    font-size:48px;
    margin:20px 0;
}

.about-content p{
    color:#555;
    line-height:32px;
    font-size:18px;
}

.info-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-top:40px;
}

.info-card{
    background:#f8f9fb;
    padding:25px;
    border-radius:18px;
    transition:.35s;
    border:1px solid #eee;
}

.info-card i{
    font-size:30px;
    color:#f4b400;
    margin-bottom:15px;
}

.info-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.1);
}

/* ==========================
   COUNTERS
========================== */

.counter{
    background:#081426;
    padding:70px 9%;

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.counter-box{
    background:#0d1d33;
    border-radius:20px;
    text-align:center;
    padding:40px;
    transition:.35s;
}

.counter-box:hover{
    transform:translateY(-10px);
    border:1px solid #f4b400;
}

.counter-box h2{
    color:#f4b400;
    font-size:48px;
}

.counter-box p{
    margin-top:12px;
    color:#ddd;
}

/*==========================
        SKILLS
===========================*/

.skills{

padding:120px 9%;

background:#fff;

}

.section-title{

text-align:center;

margin-bottom:70px;

}

.section-title span{

color:#f4b400;

font-weight:700;

letter-spacing:2px;

}

.section-title h2{

font-size:48px;

margin:15px 0;

color:#081426;

}

.section-title p{

color:#666;

font-size:18px;

}

.skills-container{

display:grid;

grid-template-columns:1.2fr 1fr;

gap:60px;

}

.skill{

margin-bottom:30px;

}

.skill-info{

display:flex;

justify-content:space-between;

font-weight:600;

margin-bottom:10px;

color:#081426;

}

.progress{

width:100%;

height:12px;

background:#e7e7e7;

border-radius:20px;

overflow:hidden;

}

.progress-bar{

height:100%;

background:linear-gradient(90deg,#f4b400,#ffd54f);

border-radius:20px;

}

.skills-right{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:25px;

}

.software-card{

background:#081426;

color:white;

padding:35px;

border-radius:18px;

text-align:center;

transition:.4s;

}

.software-card i{

font-size:45px;

color:#f4b400;

margin-bottom:18px;

}

.software-card:hover{

transform:translateY(-12px);

box-shadow:0 20px 45px rgba(0,0,0,.25);

}

/* =========================
        PROJECTS
========================== */

.projects{
    padding:120px 9%;
    background:#081426;
}

.project-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
    margin-top:60px;
}

.project-card{
    position:relative;
    overflow:hidden;
    border-radius:20px;
    height:350px;
    cursor:pointer;
    box-shadow:0 20px 40px rgba(0,0,0,.3);
}

.project-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.6s;
}

.project-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to top,
        rgba(8,20,38,.95),
        rgba(8,20,38,.2));

    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:30px;
    color:#fff;
    opacity:0;
    transition:.5s;
}

.project-overlay h3{
    font-size:28px;
    margin-bottom:10px;
}

.project-overlay p{
    color:#ddd;
    margin-bottom:20px;
}

.project-btn{
    display:inline-block;
    padding:12px 25px;
    background:#f4b400;
    color:#081426;
    text-decoration:none;
    border-radius:30px;
    font-weight:600;
    transition:.3s;
}

.project-btn:hover{
    background:#fff;
}

.project-card:hover img{
    transform:scale(1.15);
}

.project-card:hover .project-overlay{
    opacity:1;
}

/* =========================
        TIMELINE
========================== */

.timeline-section{
    background:#fff;
    padding:120px 9%;
}

.timeline{
    position:relative;
    margin-top:70px;
}

.timeline::before{
    content:"";
    position:absolute;
    left:50%;
    top:0;
    width:4px;
    height:100%;
    background:#f4b400;
    transform:translateX(-50%);
}

.timeline-item{
    width:50%;
    position:relative;
    padding:20px 40px;
}

.timeline-item.left{
    left:0;
}

.timeline-item.right{
    left:50%;
}

.timeline-content{
    background:#081426;
    color:#fff;
    padding:30px;
    border-radius:18px;
    box-shadow:0 20px 40px rgba(0,0,0,.15);
    transition:.35s;
}

.timeline-content:hover{
    transform:translateY(-8px);
}

.timeline-content .year{
    display:inline-block;
    background:#f4b400;
    color:#081426;
    padding:8px 18px;
    border-radius:30px;
    font-weight:600;
    margin-bottom:15px;
}

.timeline-content h3{
    margin-bottom:8px;
    font-size:26px;
}

.timeline-content h4{
    color:#f4b400;
    margin-bottom:15px;
}

.timeline-content p{
    color:#ddd;
    line-height:1.7;
}

/* Timeline Dots */

.timeline-item::before{
    content:"";
    position:absolute;
    top:45px;
    width:20px;
    height:20px;
    background:#f4b400;
    border-radius:50%;
    border:4px solid #081426;
}

.timeline-item.left::before{
    right:-10px;
}

.timeline-item.right::before{
    left:-10px;
}

/* =========================
        SERVICES
========================== */

.services{
    padding:120px 9%;
    background:#081426;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
    margin-top:60px;
}

.service-card{
    background:#0d1d33;
    padding:40px 30px;
    border-radius:20px;
    text-align:center;
    transition:.35s;
    border:1px solid transparent;
}

.service-card i{
    font-size:55px;
    color:#f4b400;
    margin-bottom:20px;
}

.service-card h3{
    margin-bottom:15px;
}

.service-card p{
    color:#ddd;
    line-height:1.7;
}

.service-card:hover{
    transform:translateY(-12px);
    border-color:#f4b400;
}

/* =========================
        CONTACT
========================== */

.contact{
    padding:120px 9%;
    background:#ffffff;
}

.contact-container{
    display:grid;
    grid-template-columns:1fr 1.2fr;
    gap:50px;
    margin-top:60px;
}

.contact-info h3{
    color:#081426;
    font-size:30px;
    margin-bottom:25px;
}

.contact-info p{
    color:#555;
    margin:20px 0;
    font-size:18px;
}

.contact-info i{
    color:#f4b400;
    margin-right:10px;
}

.contact-form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-form input,
.contact-form textarea{
    padding:18px;
    border:1px solid #ddd;
    border-radius:12px;
    font-size:16px;
    font-family:Poppins,sans-serif;
}

.contact-form button{
    background:#f4b400;
    color:#081426;
    border:none;
    padding:18px;
    border-radius:40px;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.contact-form button:hover{
    transform:translateY(-5px);
}

/* =========================
        FOOTER
========================== */

footer{
    background:#081426;
    color:#fff;
    text-align:center;
    padding:60px 20px;
}

footer h2{
    color:#f4b400;
    margin-bottom:15px;
}

.footer-social{
    margin:30px 0;
}

.footer-social a{
    width:50px;
    height:50px;
    display:inline-flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    background:#102443;
    color:#fff;
    margin:0 10px;
    transition:.3s;
    text-decoration:none;
}

.footer-social a:hover{
    background:#f4b400;
    color:#081426;
}

.copyright{
    color:#bbb;
    margin-top:20px;
}

.loader{

position:fixed;

top:0;
left:0;

width:100%;
height:100%;

background:#081426;

display:flex;

flex-direction:column;

justify-content:center;
align-items:center;

z-index:99999;

transition:.8s;

}

.loader-circle{

width:90px;
height:90px;

border:8px solid rgba(255,255,255,.15);

border-top:8px solid #f4b400;

border-radius:50%;

animation:spin 1s linear infinite;

margin-bottom:20px;

}

@keyframes spin{

100%{

transform:rotate(360deg);

}

}

.top-btn{

position:fixed;

right:30px;

bottom:30px;

width:55px;
height:55px;

background:#f4b400;

display:flex;

justify-content:center;

align-items:center;

border-radius:50%;

text-decoration:none;

color:#081426;

font-size:20px;

box-shadow:0 10px 30px rgba(0,0,0,.3);

transition:.35s;

}

.top-btn:hover{

transform:translateY(-8px);

}

header.sticky{

background:#081426;

box-shadow:0 10px 35px rgba(0,0,0,.3);

}