@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #0b1020;
    --surface: #121a2f;
    --surface-2: #18223b;
    --text: #eef2ff;
    --muted: #aab4cf;
    --accent: #6c63ff;
    --accent-2: #8b85ff;
    --border: rgba(255,255,255,.10);
    --max: 1100px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

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

.hero {
    min-height: 92vh;
    background:
        radial-gradient(circle at 80% 20%, rgba(108,99,255,.28), transparent 30%),
        radial-gradient(circle at 10% 80%, rgba(139,133,255,.15), transparent 28%);
    border-bottom: 1px solid var(--border);
}

.navbar {
    max-width: var(--max);
    margin: auto;
    padding: 24px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    background: var(--accent);
    border-radius: 12px;
    font-weight: 800;
}

.nav-links { list-style: none; display: flex; gap: 25px; }
.nav-links a { color: var(--muted); transition: .25s; }
.nav-links a:hover { color: white; }

.menu-btn {
    display: none;
    background: transparent;
    color: white;
    border: 0;
    font-size: 28px;
    cursor: pointer;
}

.hero-content {
    max-width: var(--max);
    margin: auto;
    padding: 120px 25px;
    display: flex;
    align-items: center;
    gap: 45px;
}

.avatar {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent), #302b63);
    border: 8px solid rgba(255,255,255,.08);
    font-size: 48px;
    font-weight: 800;
}

    
    .avatar img {
        width: 150%;
        height: 150%;
        object-fit: cover;
        border-radius: 50%;

    }


.tag, .date, .project-number { color: var(--accent-2); font-size: 13px; font-weight: 800; letter-spacing: 2px; }
h1 { font-size: clamp(42px, 7vw, 76px); line-height: 1.05; margin: 8px 0 15px; }
.subtitle { color: var(--muted); font-size: 19px; margin-bottom: 30px; }

.btn {
    display: inline-block;
    border: 0;
    cursor: pointer;
    background: var(--accent);
    color: white;
    padding: 13px 23px;
    border-radius: 10px;
    font: inherit;
    font-weight: 700;
    transition: transform .2s, background .2s;
}
.btn:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn.small { padding: 10px 17px; }

.section {
    max-width: var(--max);
    margin: auto;
    padding: 95px 25px 10px;
}

.section-title { display: flex; align-items: center; gap: 15px; margin-bottom: 35px; }
.section-title span { color: var(--accent); font-weight: 800; }
.section-title h2 { font-size: 32px; }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(108,99,255,.55); }
.card p { color: var(--muted); }

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

.timeline { display: grid; gap: 20px; }
.timeline-item h3 { margin: 7px 0 2px; font-size: 21px; }
.institution { color: var(--accent-2) !important; font-weight: 600; margin-bottom: 8px; }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.icon { font-size: 32px; }
.grid-2 h3 { margin: 10px 0; }

.skills { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.skill-info { display: flex; justify-content: space-between; margin-bottom: 7px; font-weight: 600; }
.skill-info span:last-child { color: var(--accent-2); }
.bar { height: 9px; background: #252f4a; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }

.chips, .tech { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chips span, .tech span {
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 7px 12px;
    border-radius: 99px;
    font-size: 13px;
    color: var(--muted);
}
.tech { margin-top: 18px; }
.tech span { color: var(--accent-2); }

.project-card { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.project-card h3 { font-size: 25px; margin: 5px 0; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; }
.contact-info { display: flex; flex-direction: column; gap: 15px; }
.contact-info a { color: var(--accent-2); }
.contact-form { display: grid; gap: 9px; }
.contact-form label { font-weight: 600; font-size: 14px; }
input, textarea {
    width: 100%;
    padding: 13px 15px;
    margin-bottom: 9px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #0d1426;
    color: white;
    font: inherit;
    outline: none;
}
input:focus, textarea:focus { border-color: var(--accent); }
.form-message { color: var(--accent-2) !important; min-height: 25px; }

.top-btn {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 45px;
    height: 45px;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    font-size: 22px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: .25s;
}
.top-btn.show { opacity: 1; pointer-events: auto; }

footer {
    text-align: center;
    color: var(--muted);
    padding: 55px 20px 30px;
    margin-top: 70px;
    border-top: 1px solid var(--border);
}

@media (max-width: 760px) {
    .menu-btn { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 82px;
        right: 20px;
        width: 220px;
        padding: 20px;
        flex-direction: column;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 15px;
        z-index: 5;
    }
    .nav-links.open { display: flex; }
    .hero-content { padding: 80px 25px; flex-direction: column; text-align: center; }
    .avatar { width: 150px; height: 150px; font-size: 38px; }
    .grid-2, .skills, .contact-grid { grid-template-columns: 1fr; }
    .project-card { flex-direction: column; align-items: flex-start; }
}
    

    
 
    