*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
    background: #0f172a;
    color: white;
}

/* HEADER */

.header{
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.9);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo h2{
    font-size: 2rem;
}

.logo span{
    color: #38bdf8;
}

.nav-links{
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a{
    text-decoration: none;
    color: white;
    transition: 0.3s;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links .active{
    color: #38bdf8;
}

/* HERO */

.hero{
    min-height: 90vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 8%;
    gap: 60px;
}

.hero-text{
    flex: 1;
}

.hero-text h1{
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

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

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

.hero-buttons{
    display: flex;
    gap: 20px;
}

.hero-buttons button{
    padding: 14px 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}

.primary-btn{
    background: #38bdf8;
    color: black;
    font-weight: bold;
}

.secondary-btn{
    background: transparent;
    border: 2px solid #38bdf8 !important;
    color: white;
}

.hero-buttons button:hover{
    transform: translateY(-3px);
}

.hero-image{
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img{
    width: 400px;
    border-radius: 30px;
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.3);
}

/* CONTENT */

.content{
    padding: 100px 8%;
}

.section-title{
    text-align: center;
    margin-bottom: 70px;
}

.section-title h1{
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-title p{
    color: #cbd5e1;
}

/* PROJECTS */

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

.project-card{
    background: #1e293b;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s;
}

.project-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.2);
}

.project-card-header img{
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-card-body{
    padding: 25px;
}

.project-card-body h2{
    margin-bottom: 15px;
}

.project-card-body p{
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-tags{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.project-tags span{
    background: #0f172a;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 0.9rem;
}

.project-card button{
    width: 100%;
    padding: 14px;
    border: none;
    background: #38bdf8;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.project-card button:hover{
    background: white;
}

/* FOOTER */

.footer{
    padding: 60px 8%;
    text-align: center;
    background: #020617;
}

.footer h2{
    margin-bottom: 15px;
}

.footer p{
    color: #94a3b8;
}

.footer-links{
    margin: 25px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a{
    color: #38bdf8;
    text-decoration: none;
}

.copyright{
    margin-top: 20px;
    font-size: 0.9rem;
}

/* RESPONSIVE */

@media(max-width: 900px){

    .hero{
        flex-direction: column;
        text-align: center;
    }

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

    .hero-text h1{
        font-size: 3rem;
    }

    .hero-image img{
        width: 300px;
    }

    .header{
        flex-direction: column;
        gap: 20px;
    }

    .nav-links{
        flex-wrap: wrap;
        justify-content: center;
    }
}