/* =========================
   BASE STYLES
========================= */

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0f172a;
    color: #e5e7eb;
    line-height: 1.6;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    position: sticky;
    top: 0;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1e293b;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    max-width: 1000px;
    margin: auto;
}

.logo {
    color: #38bdf8;
    font-weight: bold;
    font-size: 1.2em;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

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

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

/* =========================
   HERO SECTION
========================= */

.hero {
    padding: 90px 20px;
    text-align: center;
    background: linear-gradient(135deg, #020617, #0f172a);
    border-bottom: 1px solid #1e293b;
}

.hero-content {
    max-width: 900px;
    margin: auto;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
    color: #38bdf8;
}

.subtitle {
    color: #94a3b8;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 25px auto;
    color: #cbd5e1;
}

/* BUTTONS */

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 16px;
    background: #38bdf8;
    color: #0f172a;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.btn:hover {
    background: #0ea5e9;
}

.btn.secondary {
    background: #1f2937;
    color: #e5e7eb;
}

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

/* =========================
   SECTIONS
========================= */

section {
    padding: 30px;
    margin: 30px auto;
    max-width: 900px;
    background: #111827;
    border-radius: 12px;
    border: 1px solid #1f2937;
}

section h2 {
    color: #38bdf8;
    font-size: 1.6em;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #38bdf8;
}

/* Paragraphs */

p {
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 12px;
}

/* =========================
   PROFILE IMAGE
========================= */

.profile-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.profile-pic {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid #38bdf8;
    object-fit: cover;
}

/* =========================
   SKILLS
========================= */

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.skill-badge {
    background: #1f2937;
    color: #e5e7eb;
    padding: 10px 14px;
    border-radius: 20px;
    border: 1px solid #334155;
    font-size: 0.9em;
    transition: 0.2s;
}

.skill-badge:hover {
    background: #38bdf8;
    color: #0f172a;
    transform: translateY(-2px);
}

/* =========================
   PROJECT CARDS
========================= */

.project-card {
    background: #1f2937;
    padding: 20px;
    margin: 18px 0;
    border-radius: 12px;
    border-left: 4px solid #38bdf8;
    transition: 0.2s ease;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.project-card h3 {
    margin-top: 0;
    color: #e5e7eb;
}

.project-card p {
    margin-bottom: 10px;
}

/* =========================
   FOOTER
========================= */

footer {
    text-align: center;
    padding: 20px;
    background: #020617;
    color: #94a3b8;
    margin-top: 30px;
    border-top: 1px solid #1e293b;
}

/* =========================
   LINKS
========================= */

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

a:hover {
    text-decoration: underline;
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 768px) {

    .hero {
        padding: 60px 15px;
    }

    .hero h1 {
        font-size: 2.2em;
    }

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

    .btn {
        width: 80%;
        text-align: center;
    }

    .nav-container {
        flex-direction: column;
        gap: 10px;
    }

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

    section {
        margin: 15px;
        padding: 18px;
    }

    .profile-pic {
        width: 110px;
        height: 110px;
    }

    .skills-grid {
        justify-content: center;
    }
}
.contact-card {
    background: #1f2937;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #334155;
    margin-top: 15px;
}

.contact-card p {
    margin: 8px 0;
}
.skills-banner {
    margin: 20px auto 25px auto;
    padding: 12px 18px;
    max-width: 800px;
    background: #1f2937;
    border: 1px solid #334155;
    border-radius: 10px;
    text-align: center;
}

.skills-role {
    font-size: 1.05em;
    font-weight: 600;
    color: #38bdf8;
    margin: 0 0 6px 0;
}

.skills-stack {
    font-size: 0.95em;
    color: #cbd5e1;
    margin: 0;
}
