:root{
    --bg-1: linear-gradient(135deg,#06213a 0%, #0b6b9a 60%, #42a5f5 100%);
    --glass: rgba(255,255,255,0.06);
    --card-shadow: 0 8px 30px rgba(3,15,30,0.35);
    --accent: #42a5f5;
    --muted: rgba(255,255,255,0.8);
    --radius: 14px;
    --max-width: 1100px;
    --gap: 1.25rem;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
    font-family: Inter, "Segoe UI", system-ui, Roboto, Arial, sans-serif;
    margin:0;
    background: var(--bg-1);
    color:#fff;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    line-height:1.5;
}

/* Container */
.container{
    max-width:var(--max-width);
    margin:0 auto;
    padding:2rem;
}

/* NAVBAR */
.navbar{
    position:sticky;
    top:0;
    backdrop-filter: blur(8px);
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border-bottom:1px solid rgba(255,255,255,0.04);
    z-index:1000;
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.brand{color:#fff;text-decoration:none;font-weight:700;font-size:1.05rem}
.nav-links{display:flex;gap:1rem;align-items:center}
.nav-links a{color:rgba(255,255,255,0.9);text-decoration:none;padding:0.5rem;border-radius:8px;transition:all .18s}
.nav-links a:hover{background:rgba(255,255,255,0.04);color:var(--accent)}

#nav-toggle{display:none;background:none;border:none;padding:.4rem;border-radius:8px;cursor:pointer}
.burger{display:block;width:28px;height:2px;background:#fff;position:relative}
.burger::after,.burger::before{content:"";position:absolute;left:0;width:100%;height:2px;background:#fff;transition:all .2s}
.burger::before{top:-8px} .burger::after{top:8px}

/* HERO */
.hero{padding:4rem 0}
.hero-inner{display:flex;align-items:center;gap:2rem;flex-wrap:wrap}
.hero-card{display:flex;gap:2rem;background:var(--glass);padding:1.5rem;border-radius:var(--radius);box-shadow:var(--card-shadow);width:100%;align-items:center}
.profile-wrap{flex:0 0 160px;display:flex;justify-content:center}
.profile{width:140px;height:140px;border-radius:50%;object-fit:cover;border:3px solid rgba(255,255,255,0.12);box-shadow:0 10px 30px rgba(2,6,23,0.6)}
.hero-text{flex:1}
.hero-text h1{margin:0;font-size:1.6rem}
.hero-text .muted{font-weight:600;color:var(--accent);font-size:1rem}
.subtitle{color:rgba(255,255,255,0.85);margin:.5rem 0}
.bio{color:rgba(255,255,255,0.8)}

.hero-ctas{margin-top:.75rem;display:flex;gap:.75rem;flex-wrap:wrap}
.btn{display:inline-block;padding:.65rem 1rem;border-radius:999px;background:linear-gradient(90deg,var(--accent),#1976d2);color:#fff;text-decoration:none;font-weight:600;box-shadow:0 6px 20px rgba(9,57,94,0.45);transition:transform .15s}
.btn:hover{transform:translateY(-4px)}
.btn.ghost{background:transparent;border:1px solid rgba(255,255,255,0.06)}

/* SECTIONS */
.section{padding:3rem 0}
.section-title{font-size:1.4rem;text-align:center;margin-bottom:1rem;color:var(--accent)}

/* CARD */
.card{background:var(--glass);padding:1.25rem;border-radius:12px;box-shadow:var(--card-shadow);border:1px solid rgba(255,255,255,0.04)}

/* ABOUT GRID */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.about-grid p{color:rgba(255,255,255,0.95)}

/* SKILLS */
.skills-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:var(--gap)}
.skill h3{margin:0 0 .5rem 0;color:var(--muted)}
.progress-bar{background:rgba(255,255,255,0.06);height:10px;border-radius:8px;overflow:hidden}
.progress{height:100%;width:0;background:linear-gradient(90deg,var(--accent),#1976d2);transition:width 1.6s ease}

/* PROJECTS */
.projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}
.project{display:flex;flex-direction:column;gap:.75rem}
.project-img{height:160px;object-fit:cover;border-radius:10px}
.project-body h3{margin:0;color:var(--muted)}
.link{color:var(--accent);text-decoration:none;font-weight:600}

/* EDUCATION TABLE */
.table-wrap{overflow:auto}
.edu-table{width:100%;border-collapse:collapse;color:rgba(255,255,255,0.95)}
.edu-table th, .edu-table td{padding:.9rem .8rem;border-bottom:1px dashed rgba(255,255,255,0.03);text-align:left}
.edu-table thead th{background:rgba(255,255,255,0.02);color:var(--accent);font-weight:700}

/* CONTACT LAYOUT */
.contact-grid{display:grid;grid-template-columns:1fr 320px;gap:1rem;align-items:start}
.contact-form .form-row{display:flex;gap:.75rem;margin-bottom:.75rem}
.contact-form input, .contact-form textarea{flex:1;padding:.8rem;border-radius:10px;border:none;background:rgba(255,255,255,0.03);color:#fff}
.contact-info h3{margin-top:0;color:var(--muted)}
.social-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}
.social-list a{color:var(--accent);text-decoration:none}

/* TIMELINE */
.timeline-item{margin-bottom:1rem}
.muted{color:rgba(255,255,255,0.85);font-size:.95rem}

/* FOOTER */
.footer{padding:1.25rem 0;border-top:1px solid rgba(255,255,255,0.03);margin-top:2rem}
.footer-inner{display:flex;justify-content:space-between;align-items:center}
.footer-socials a{color:var(--muted);text-decoration:none;margin-left:1rem}

/* RESPONSIVE */
@media (max-width:900px){
    .about-grid{grid-template-columns:1fr}
    .contact-grid{grid-template-columns:1fr}
}
@media (max-width:700px){
    .nav-links{display:none}
    #nav-toggle{display:block}
    .hero-inner{flex-direction:column}
    .hero-card{flex-direction:column;align-items:center;text-align:center}
}
