/* ============================================
   PORTFOLIO HOME PAGE STYLES
   ============================================ */

/* HERO SECTION */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:120px 8%;
    margin-bottom:40px;
    background:
    radial-gradient(circle at top left,#1e3a8a,transparent 35%),
    radial-gradient(circle at bottom right,#0ea5e9,transparent 30%);
}

.hero-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    align-items:center;
}

.hero-text h1{
    font-size:62px;
    line-height:1.1;
    margin-bottom:20px;
}

.hero-text span{
    color:#38bdf8;
}

.hero-text p{
    font-size:18px;
    line-height:1.8;
    color:#cbd5e1;
    margin-bottom:20px;
}

/* BUTTONS GROUP */

.hero-btns{
    display:flex;
    justify-content:flex-start;
    align-items:center;
    gap:22px;
    margin-top:35px;
    flex-wrap:wrap;
}

/* HERO CARD */

.hero-card{
    background:rgba(255,255,255,0.05);
    padding:35px;
    margin-bottom:40px;
    border-radius:25px;
    border:1px solid rgba(255,255,255,0.08);
    backdrop-filter:blur(10px);
}

.hero-card h3{
    margin-bottom:20px;
    color:#38bdf8;
    font-size:24px;
}

.hero-card ul{
    list-style:none;
}

.hero-card ul li{
    margin-bottom:8px;
}

.hero-card ul li a{
    color:white;
    text-decoration:none;
    font-size:16px;
    transition:0.3s;
}

.hero-card ul li a:hover{
    color:#38bdf8;
    padding-left:5px;
}

/* TECH GRID */

.tech-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
    gap:16px;
}

.tech-card{
    background:#111827;
    padding:25px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,0.08);
    transition:0.3s;
}

.tech-card:hover{
    transform:translateY(-8px);
    border-color:#38bdf8;
}

.tech-card h3{
    margin-bottom:15px;
    color:#38bdf8;
}

.tech-card ul{
    padding-left:18px;
    line-height:1.8;
    color:#cbd5e1;
}

/* ABOUT SECTION */

.about{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

.about-box{
    background:#111827;
    padding:35px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,0.08);
}

.about-box h3{
    margin-bottom:20px;
    color:#38bdf8;
}

.about-box p{
    color:#cbd5e1;
    line-height:1.8;
}

/* EXPERIENCE TIMELINE */

.timeline{
    max-width:850px;
    margin:auto;
}

.timeline-content{
    background:#111827;
    padding:30px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,0.08);
}

.timeline-content h3{
    color:#38bdf8;
    margin-bottom:12px;
}

.timeline-content p{
    color:#cbd5e1;
    line-height:1.8;
}

/* PROJECTS GRID */

.projects{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.project-card{
    background:#111827;
    border-radius:20px;
    overflow:hidden;
    transition:0.3s;
    border:1px solid rgba(255,255,255,0.08);
    cursor:pointer;
}

.project-card:hover{
    transform:translateY(-8px);
}

.project-top{
    height:180px;
    background:linear-gradient(135deg,#1e3a8a,#0ea5e9);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:65px;
}

.project-content{
    padding:25px;
}

.project-content h3{
    margin-bottom:12px;
    color:#38bdf8;
}

.project-content p{
    color:#cbd5e1;
    line-height:1.7;
}

/* STATS GRID */

.stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.stat-card{
    background:#111827;
    padding:35px;
    text-align:center;
    border-radius:20px;
    border:1px solid rgba(255,255,255,0.08);
}

.stat-card h2{
    font-size:48px;
    color:#38bdf8;
}

.stat-card p{
    color:#cbd5e1;
}

/* CONTACT SECTION */

.contact{
    text-align:center;
}

.contact .section-title{
    font-size:30px;
}

.contact p{
    margin-bottom:15px;
    color:#cbd5e1;
    font-size:17px;
}

/* RESPONSIVE */

@media(max-width:900px){

    .hero-container,
    .about{
        grid-template-columns:1fr;
    }

    .hero-text h1{
        font-size:46px;
    }

    .hero-btns{
        justify-content:center;
    }

    .projects,
    .stats,
    .tech-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:600px){

    .hero{
        padding:80px 4%;
        min-height:auto;
    }

    .hero-text h1{
        font-size:36px;
    }

    .hero-card{
        padding:20px;
    }

    .project-top{
        font-size:50px;
        height:150px;
    }

    .stat-card h2{
        font-size:36px;
    }

}
