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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    line-height: 1.7;
}

a {
    text-decoration: none;
}

section {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 90px 0;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #111827;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    z-index: 1000;
    border-bottom: 1px solid #1e293b;
}

nav h2 {
    color: #38bdf8;
}

nav div {
    display: flex;
    gap: 30px;
}

nav a {
    color: white;
    transition: 0.3s;
}

nav a:hover {
    color: #38bdf8;
}

.hero {
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 70px;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding-top: 80px;
}

.hero h1 {
    font-size: 60px;
    margin: 20px 0;
    line-height: 1.1;
}

.tag {
    color: #38bdf8;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero-text p {
    color: #cbd5e1;
    font-size: 18px;
}

.buttons {
    margin-top: 30px;
}

.btn {
    display: inline-block;
    background: #38bdf8;
    color: #020617;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: bold;
    margin-right: 12px;
    transition: 0.3s;
}

.btn:hover {
    background: #0ea5e9;
    transform: translateY(-3px);
}

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

.btn.secondary:hover {
    background: #38bdf8;
    color: #020617;
}

.hero-card,
.project-card,
.education-card,
.contact-card {
    background: #111827;
    border: 1px solid #334155;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.hero-card {
    min-width: 300px;
}

.hero-card h3,
.project-card h3,
.education-card h3 {
    color: #38bdf8;
    margin-bottom: 15px;
}

.hero-card p {
    border-bottom: 1px solid #1e293b;
    padding: 10px 0;
}

section h2 {
    font-size: 38px;
    margin-bottom: 30px;
    color: #ffffff;
}

section p {
    color: #cbd5e1;
    margin-bottom: 15px;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skills-grid span {
    background: #1e293b;
    color: #e2e8f0;
    border: 1px solid #334155;
    padding: 12px 18px;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.skills-grid span:hover {
    background: #38bdf8;
    color: #020617;
    transform: translateY(-3px);
}

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

.project-card {
    transition: 0.3s;
}

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

.project-icon {
    font-size: 32px;
}

.tech {
    color: #94a3b8;
    font-size: 14px;
    margin-top: 15px;
}

.project-link {
    display: inline-block;
    margin-top: 18px;
    color: #020617;
    background: #38bdf8;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: bold;
}

.project-link:hover {
    background: #0ea5e9;
}

.contact-card a {
    color: #38bdf8;
}

.contact-card a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 25px;
    background: #020617;
    color: #94a3b8;
}

@media (max-width: 900px) {
    nav {
        flex-direction: column;
        gap: 15px;
    }

    nav div {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }

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

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

    .hero-card {
        width: 100%;
    }
}
