/* ===========================
   GOOGLE FONT
=========================== */

@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:#0f172a;

    color:white;

    overflow-x:hidden;

}

a{

    text-decoration:none;

    color:white;

}

img{

    width:100%;

    display:block;

}

/* ===========================
SECTION
=========================== */

section{

    padding:120px 10%;

}

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title span{

    color:#38bdf8;

    font-size:14px;

    letter-spacing:3px;

}

.section-title h2{

    margin-top:15px;

    font-size:40px;

    font-weight:700;

}

.section-title p{

    margin-top:20px;

    color:#94a3b8;

    line-height:1.8;

}

/* ===========================
BUTTON
=========================== */

.btn-primary{

    background:#38bdf8;

    color:#fff;

    padding:15px 35px;

    border-radius:12px;

    font-weight:600;

    transition:.35s;

}

.btn-primary:hover{

    transform:translateY(-5px);

}

.btn-secondary{

    border:1px solid #38bdf8;

    padding:15px 35px;

    border-radius:12px;

    transition:.35s;

}

.btn-secondary:hover{

    background:#38bdf8;

}

/* ===========================
HERO
=========================== */

.hero{

    min-height:100vh;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:80px;

}

.hero-left{

    flex:1;

}

.hero-right{

    flex:1;

    display:flex;

    justify-content:center;

}

.hero-right img{

    width:360px;

    border-radius:50%;

    border:6px solid #38bdf8;

    box-shadow:0 0 60px rgba(56,189,248,.35);

}

.badge{

    display:inline-block;

    background:rgba(56,189,248,.15);

    color:#38bdf8;

    padding:10px 20px;

    border-radius:999px;

    margin-bottom:25px;

}

.hero h1{

    font-size:70px;

    font-weight:800;

}

.hero h3{

    margin:20px 0;

    color:#38bdf8;

    font-size:28px;

}

.hero p{

    line-height:1.9;

    color:#cbd5e1;

    max-width:650px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    margin-top:35px;

}

.stats{

    display:flex;

    gap:50px;

    margin-top:60px;

}

.stat h2{

    color:#38bdf8;

    font-size:42px;

}

.stat span{

    color:#94a3b8;

}

/* ===========================
ABOUT
=========================== */

.cards{

    display:grid;

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

    gap:30px;

}

.card{

    background:#111827;

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

    padding:40px;

    border-radius:20px;

    transition:.35s;

}

.card:hover{

    transform:translateY(-10px);

    border-color:#38bdf8;

}

.card h3{

    margin-bottom:20px;

    color:#38bdf8;

}

.card p{

    line-height:1.8;

    color:#cbd5e1;

}

/* ===========================
SKILLS
=========================== */

.skills-grid{

    display:grid;

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

    gap:30px;

}

.skill-card{

    background:#111827;

    padding:35px;

    border-radius:20px;

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

}

.skill-card h3{

    margin-bottom:25px;

    color:#38bdf8;

}

.skill-card p{

    line-height:2.1;

    color:#cbd5e1;

}

/* ===========================
PROJECT
=========================== */

.project-grid{

    display:grid;

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

    gap:40px;

}

.project-card{

    background:#111827;

    border-radius:20px;

    overflow:hidden;

    transition:.35s;

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

}

.project-card:hover{

    transform:translateY(-10px);

    border-color:#38bdf8;

}

.project-image{

    height:250px;

    overflow:hidden;

}

.project-image img{

    height:100%;

    object-fit:cover;

    transition:.5s;

}

.project-card:hover img{

    transform:scale(1.08);

}

.project-content{

    padding:35px;

}

.project-content h3{

    margin-bottom:12px;

}

.project-type{

    color:#38bdf8;

    font-size:14px;

}

.project-content p{

    margin:20px 0;

    line-height:1.8;

    color:#cbd5e1;

}

.tech-list{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

}

.tech-list span{

    background:#1e293b;

    padding:8px 15px;

    border-radius:30px;

    font-size:13px;

}

/* ===========================
TIMELINE
=========================== */

.timeline{

    position:relative;

    max-width:900px;

    margin:0 auto;

}

.timeline::before{

    content:"";

    position:absolute;

    left:20px;

    top:0;

    width:3px;

    height:100%;

    background:#38bdf8;

}

.timeline-item{

    position:relative;

    padding:25px 30px 25px 70px;

    margin-bottom:40px;

    background:#111827;

    border-radius:18px;

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

    transition:.35s;

}

.timeline-item:hover{

    transform:translateX(10px);

    border-color:#38bdf8;

}

.timeline-item::before{

    content:"";

    position:absolute;

    left:10px;

    top:35px;

    width:20px;

    height:20px;

    border-radius:50%;

    background:#38bdf8;

}

.timeline-item h3{

    font-size:24px;

    margin-bottom:10px;

}

.timeline-item span{

    color:#38bdf8;

    font-size:14px;

}

.timeline-item p{

    margin-top:15px;

    line-height:1.8;

    color:#cbd5e1;

}

/* ===========================
CONTACT
=========================== */

.contact-grid{

    display:grid;

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

    gap:30px;

}

.contact-item{

    background:#111827;

    padding:35px;

    border-radius:18px;

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

    transition:.3s;

}

.contact-item:hover{

    transform:translateY(-8px);

    border-color:#38bdf8;

}

.contact-item h4{

    color:#38bdf8;

    margin-bottom:15px;

}

.contact-item p,
.contact-item a{

    color:#cbd5e1;

    word-break:break-all;

}

/* ===========================
FOOTER
=========================== */

footer{

    padding:60px 10%;

    text-align:center;

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

    background:#0b1120;

}

footer h3{

    font-size:28px;

    margin-bottom:15px;

}

footer p{

    color:#94a3b8;

    margin-bottom:15px;

}

footer small{

    color:#64748b;

}

/* ===========================
SCROLLBAR
=========================== */

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-track{

    background:#0f172a;

}

::-webkit-scrollbar-thumb{

    background:#38bdf8;

    border-radius:50px;

}

/* ===========================
SELECTION
=========================== */

::selection{

    background:#38bdf8;

    color:white;

}

/* ===========================
ANIMATION
=========================== */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.hero,
.card,
.skill-card,
.project-card,
.timeline-item,
.contact-item{

    animation:fadeUp .8s ease;

}

/* ===========================
RESPONSIVE
=========================== */

@media(max-width:1100px){

.hero{

    flex-direction:column-reverse;

    text-align:center;

}

.hero-buttons{

    justify-content:center;

}

.stats{

    justify-content:center;

    flex-wrap:wrap;

}

.cards{

    grid-template-columns:1fr;

}

.skills-grid{

    grid-template-columns:1fr 1fr;

}

.project-grid{

    grid-template-columns:1fr;

}

.contact-grid{

    grid-template-columns:1fr;

}

}

@media(max-width:768px){

.hero h1{

    font-size:48px;

}

.hero h3{

    font-size:22px;

}

.hero-right img{

    width:260px;

}

.skills-grid{

    grid-template-columns:1fr;

}

.stats{

    gap:20px;

}

section{

    padding:80px 8%;

}

}