:root {
    --bg-main: #dff4ff;
    --bg-soft: #c9ecff;
    --bg-deep: #8fd3ff;
    --card: #ffffff;
    --card-soft: #f4fbff;
    --text: #0f172a;
    --light-text: #ffffff;
    --muted: #475569;
    --muted-light: #e2f3ff;
    --accent: #0284c7;
    --accent-light: #38bdf8;
    --accent-dark: #0369a1;
    --border: #b6e3ff;
    --dark-border: rgba(255, 255, 255, 0.18);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(180deg, #87ceeb 0%, #bfeaff 35%, #eaf8ff 100%);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(3, 105, 161, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 20px;
    color: var(--light-text);
}

.logo-box {
    background: #ffffff;
    color: var(--accent-dark);
    padding: 8px 10px;
    border-radius: 8px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 12px;
}

.nav-links a {
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    color: #eff9ff;
    background: rgba(255, 255, 255, 0.08);
    transition: 0.2s;
}

.nav-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.18);
    border-color: white;
}

.menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}

section {
    max-width: 1200px;
    margin: auto;
    padding: 80px 24px;
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    min-height: 85vh;
    color: #083344;
}

.status {
    display: inline-block;
    color: var(--accent-dark);
    border: 1px solid var(--accent-light);
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.45);
    font-weight: 600;
}

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

.hero h1 span {
    color: var(--accent-dark);
}

.hero h2 {
    color: #075985;
    font-size: 20px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.55);
}

.hero p {
    color: #334155;
    font-size: 18px;
    max-width: 650px;
    margin-bottom: 28px;
}

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

.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: white;
    color: var(--text);
    transition: 0.2s;
    font-weight: 600;
}

.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
}

.terminal-card {
    background: rgba(7, 89, 133, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(3, 105, 161, 0.25);
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(3, 105, 161, 0.95);
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #dbeafe;
}

.dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ef4444;
}

.yellow {
    background: #f59e0b;
}

.green {
    background: #22c55e;
}

.terminal-body {
    padding: 28px;
}

.terminal-body p {
    color: #e0f2fe;
    margin-bottom: 14px;
}

.terminal-body span {
    color: #bae6fd;
}

/* Profile photo in hero (replaces terminal card) */
.hero-photo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-img {
    width: 100%;
    max-width: 380px;
    border-radius: 16px;
    border: 6px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 60px rgba(3, 105, 161, 0.18);
    object-fit: cover;
}

.section-title {
    font-size: 34px;
    margin-bottom: 14px;
    color: #0f172a;
}

.section-subtitle {
    color: var(--muted);
    max-width: 750px;
    margin-bottom: 36px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

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

.card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(14, 116, 144, 0.08);
}

.card h3 {
    margin-bottom: 12px;
    color: #0f172a;
}

.card p {
    color: var(--muted);
    margin-bottom: 16px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.tag {
    border: 1px solid #bae6fd;
    color: #075985;
    background: #f0f9ff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 14px;
}

.timeline {
    display: grid;
    gap: 18px;
}

.timeline-item {
    border-left: 4px solid var(--accent);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    padding: 18px 18px 18px 20px;
    box-shadow: 0 10px 30px rgba(14, 116, 144, 0.08);
}

.timeline-item h3 {
    margin-bottom: 6px;
}

.timeline-item .date {
    color: var(--accent-dark);
    margin-bottom: 10px;
    display: block;
    font-weight: 700;
}

.timeline-item p {
    color: var(--muted);
}

.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.skill-category h3 {
    color: var(--accent-dark);
    margin-bottom: 16px;
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-box {
    text-align: center;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(14, 116, 144, 0.08);
}

.contact-box p {
    color: var(--muted);
    margin-bottom: 24px;
}

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

footer {
    text-align: center;
    padding: 28px;
    color: white;
    background: #0369a1;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: none;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    cursor: pointer;
    font-size: 20px;
}

.back-to-top.show {
    display: block;
}

@media (max-width: 900px) {
    body {
        background: linear-gradient(180deg, #87ceeb 0%, #bfeaff 40%, #eaf8ff 100%);
    }

    .hero,
    .grid-2,
    .grid-3,
    .skills-wrapper {
        grid-template-columns: 1fr;
    }

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

    .profile-img {
        max-width: 260px;
        border-width: 4px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 76px;
        right: 24px;
        left: 24px;
        flex-direction: column;
        background: #0369a1;
        padding: 18px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 12px;
    }

    .nav-links.open {
        display: flex;
    }

    .menu-btn {
        display: block;
    }
}
