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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #0f172a;
    color: white;
    line-height: 1.6;
}


/* Navbar */

header {
    position: sticky;
    top: 0;
    background: #0f172a;
    z-index: 1000;
    border-bottom: 1px solid #334155;
}

.navbar {
    max-width: 1100px;
    margin: auto;
    padding: 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 25px;
    font-weight: bold;
}

.logo span {
    color: #38bdf8;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
}

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


/* Hero */

.hero {
    min-height: 90vh;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    padding: 30px;
}

.hero-content {
    max-width: 800px;
}

.small-text {
    color: #38bdf8;
    letter-spacing: 3px;
}

.hero h1 {
    font-size: 60px;
    margin: 10px 0;
}

.hero h2 {
    color: #38bdf8;
    font-size: 30px;
}

.hero p {
    margin: 20px 0;
    color: #cbd5e1;
}


/* Buttons */

.hero-buttons {
    margin-top: 30px;
}

.btn {
    display: inline-block;

    padding: 12px 25px;
    margin: 5px;

    background: #38bdf8;
    color: #020617;

    text-decoration: none;
    border-radius: 6px;

    font-weight: bold;
}

.btn:hover {
    opacity: 0.8;
}

.secondary {
    background: transparent;
    color: white;
    border: 1px solid #38bdf8;
}


/* Sections */

.section {
    max-width: 1100px;
    margin: auto;
    padding: 100px 30px;
}

.section-title {
    text-align: center;
    font-size: 35px;
    margin-bottom: 40px;
    color: #38bdf8;
}

.about-content {
    max-width: 700px;
    margin: auto;
    text-align: center;
    color: #cbd5e1;
}


/* Skills */

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.skill {
    padding: 12px 20px;
    border: 1px solid #334155;
    border-radius: 8px;
    background: #1e293b;
}


/* Projects */

.projects-container {
    display: grid;

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

    gap: 25px;
}

.project-card {
    background: #1e293b;

    padding: 25px;

    border-radius: 10px;

    border: 1px solid #334155;
}

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

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

.project-card span {
    color: #38bdf8;
    font-size: 14px;
}


/* Contact */

.contact {
    text-align: center;
}


/* Footer */

footer {
    text-align: center;
    padding: 30px;

    border-top: 1px solid #334155;

    color: #94a3b8;
}


/* Mobile */

@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .projects-container {
        grid-template-columns: 1fr;
    }
}