/*==========================
GOOGLE FONTS
==========================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#0d1117;
    color:#ffffff;
    line-height:1.6;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/*==========================
HEADER
==========================*/

header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    background:#161b22;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,.5);
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo h2{
    color:#fff;
    font-size:28px;
}

.logo span{
    color:#7c3aed;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:30px;
}

nav ul li a{
    color:#fff;
    text-decoration:none;
    font-size:17px;
    transition:.3s;
}

nav ul li a:hover,
nav ul li a.active{
    color:#7c3aed;
}

/*==========================
BUTTONS
==========================*/

.btn{
    display:inline-block;
    background:#7c3aed;
    color:#fff;
    padding:12px 28px;
    border-radius:30px;
    text-decoration:none;
    transition:.3s;
    font-weight:600;
}

.btn:hover{
    background:#5b21b6;
    transform:translateY(-3px);
}

.btn-outline{
    display:inline-block;
    padding:12px 28px;
    border:2px solid #7c3aed;
    color:#7c3aed;
    border-radius:30px;
    text-decoration:none;
    margin-left:15px;
    transition:.3s;
}

.btn-outline:hover{
    background:#7c3aed;
    color:white;
}

/*==========================
HERO
==========================*/

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    background:linear-gradient(135deg,#0d1117,#1f2937);
}

.hero-content{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:60px;
    margin-top:80px;
}

.hero-text h3{
    color:#7c3aed;
    font-size:24px;
}

.hero-text h1{
    font-size:65px;
    margin:15px 0;
}

.hero-text h2{
    color:#bdbdbd;
    margin-bottom:20px;
}

.hero-text p{
    color:#c7c7c7;
    margin-bottom:35px;
}

.hero-image{
    text-align:center;
}

.hero-image img{
    width:380px;
    border-radius:50%;
    border:6px solid #7c3aed;
    box-shadow:0 0 35px rgba(124,58,237,.5);
}

/*==========================
SECTIONS
==========================*/

section{
    padding:90px 0;
}

section h2{
    text-align:center;
    font-size:40px;
    margin-bottom:50px;
}

/*==========================
ABOUT
==========================*/

.about-preview{
    background:#111827;
    text-align:center;
}

.about-preview p{
    max-width:850px;
    margin:25px auto;
    color:#c9c9c9;
}

/*==========================
SKILLS
==========================*/

.skills-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.skills-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.skill {
  text-align: center;
}

/*==========================
PROJECTS
==========================*/

.projects-preview{
    background:#111827;
}

.project-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.project-card{
    background:#161b22;
    border-radius:15px;
    overflow:hidden;
    transition:.3s;
}

.project-card:hover{
    transform:translateY(-10px);
}

.project-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.project-card h3{
    padding:20px;
}

.project-card p{
    padding:0 20px;
    color:#ccc;
}

.project-card .btn{
    margin:20px;
}

/*==========================
STATS
==========================*/

.stats{
    background:#0d1117;
}

.stats .container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:30px;
    text-align:center;
}

.stat{
    background:#161b22;
    padding:40px;
    border-radius:15px;
}

.stat h2{
    color:#7c3aed;
    font-size:48px;
    margin-bottom:10px;
}

/*==========================
CALL TO ACTION
==========================*/

.cta{
    text-align:center;
    background:linear-gradient(135deg,#7c3aed,#4c1d95);
}

.cta h2{
    margin-bottom:20px;
}

.cta p{
    margin-bottom:30px;
}

/*==========================
FOOTER
==========================*/

footer{
    background:#161b22;
    text-align:center;
    padding:50px 20px;
}

footer h2{
    color:#7c3aed;
    margin-bottom:15px;
}

.socials{
    margin:25px 0;
}

.socials a{
    color:white;
    font-size:28px;
    margin:0 12px;
    transition:.3s;
}

.socials a:hover{
    color:#7c3aed;
}

/*==========================
RESPONSIVE
==========================*/

@media(max-width:900px){

.hero-content{
    grid-template-columns:1fr;
    text-align:center;
}

.hero-image img{
    width:280px;
}

header .container{
    flex-direction:column;
}

nav ul{
    margin:20px 0;
    flex-wrap:wrap;
    justify-content:center;
}

.hero-text h1{
    font-size:45px;
}

section h2{
    font-size:32px;
}
/* Desktop */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile */
@media screen and (max-width: 768px) {

    .container {
        width: 95%;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    p {
        font-size: 16px;
    }

    /* Navigation */
    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav a {
        margin: 8px 0;
    }

    /* Product/gallery sections */
    .products,
    .gallery,
    .cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Buttons */
    button {
        width: 100%;
        padding: 12px;
    }
}


}
}/* Small phones */
@media screen and (max-width: 480px) {

    h1 {
        font-size: 24px;
    }

    body {
        font-size: 15px;
    }