/* === MODERN GLASSMORPHISM THEME === */
:root {
    --bg-base: #0f172a;        /* Deep elegant slate */
    --text-primary: #f8fafc;   /* Crisp white */
    --text-secondary: #94a3b8; /* Soft slate grey */
    --accent: #6366f1;         /* Vibrant professional indigo */
    --accent-glow: rgba(99, 102, 241, 0.4);
    
    /* Glass variables */
    --glass-bg: rgba(30, 41, 59, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    background-color: var(--bg-base); 
    color: var(--text-secondary); 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    line-height: 1.6; 
    position: relative;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s ease; }
ul { list-style: none; }
html { scroll-behavior: smooth; }

/* === BACKGROUND GLOW EFFECTS === */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
}
.orb-1 {
    width: 400px; height: 400px;
    background: var(--accent);
    top: -10%; left: -10%;
}
.orb-2 {
    width: 500px; height: 500px;
    background: #3b82f6;
    bottom: 20%; right: -10%;
    opacity: 0.3;
}

/* === GLASSMORPHISM UTILITIES === */
.glass-nav {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

.glass-box, .glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
}

/* === NAVBAR === */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 50px; position: sticky; top: 0; z-index: 100;
}
.logo { 
    color: var(--text-primary); 
    font-size: 1.4rem; font-weight: 800; 
    display: flex; align-items: center; gap: 8px;
}
.theme-icon { color: var(--accent); font-size: 1.2rem; }
.nav-links { display: flex; gap: 30px; font-size: 0.95rem; font-weight: 500;}
.nav-links a { color: var(--text-secondary); }
.nav-links a:hover { color: var(--text-primary); }
.btn-contact { 
    background: rgba(255,255,255,0.05); 
    padding: 8px 18px; border-radius: 8px; 
    border: 1px solid var(--glass-border);
    color: var(--text-primary) !important; 
}
.btn-contact:hover { background: var(--accent); border-color: var(--accent); }

/* === HERO SECTION === */
.hero { display: flex; align-items: center; justify-content: space-between; min-height: 90vh; padding: 0 100px; }
.greeting { color: var(--accent); font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px;}
.hero h1 { font-size: 4.5rem; color: var(--text-primary); line-height: 1.1; font-weight: 800; letter-spacing: -1px; margin-bottom: 10px;}
.hero .subtitle { font-size: 2.5rem; color: var(--text-secondary); margin-bottom: 30px; font-weight: 500; }

.bio-highlight {
    padding: 25px;
    max-width: 550px;
    margin-bottom: 40px;
    border-left: 4px solid var(--accent);
}
.bio { font-size: 1.05rem; }
.highlight { color: var(--text-primary); font-weight: 600;}

.btn { display: inline-block; padding: 14px 28px; border-radius: 8px; font-weight: 600; margin-right: 15px; transition: 0.3s; }
.btn.primary { background: var(--accent); color: white; box-shadow: 0 4px 15px var(--accent-glow); }
.btn.primary:hover { transform: translateY(-3px); box-shadow: 0 6px 20px var(--accent-glow); }
.btn.secondary { color: var(--text-primary); background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border);}
.btn.secondary:hover { background: rgba(255,255,255,0.1); }

/* === HERO IMAGE === */
.hero-img { position: relative; width: 320px; height: 320px; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; position: relative; z-index: 2; transition: 0.4s ease; box-shadow: var(--glass-shadow);}
.hero-img:hover img { transform: translateY(-10px); }
.img-border { position: absolute; top: 20px; left: 20px; width: 100%; height: 100%; border: 2px solid var(--accent); border-radius: 24px; z-index: 1; opacity: 0.5; transition: 0.4s ease; }
.hero-img:hover .img-border { transform: translate(5px, 5px); opacity: 1; }

/* === SECTIONS === */
.section { padding: 100px 50px; max-width: 1100px; margin: 0 auto; }
.section-heading { font-size: 2.2rem; color: var(--text-primary); margin-bottom: 50px; font-weight: 800; }

/* === EXPERIENCE TIMELINE === */
.timeline { border-left: 2px solid rgba(255,255,255,0.1); padding-left: 40px; margin-left: 10px; }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before { content: ""; position: absolute; left: -47px; top: 20px; width: 12px; height: 12px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 10px var(--accent-glow);}
.timeline-content { padding: 30px; transition: 0.3s ease; }
.timeline-content:hover { transform: translateX(5px); border-color: rgba(255,255,255,0.2); }
.timeline-content h3 { color: var(--text-primary); font-size: 1.4rem; margin-bottom: 5px; }
.timeline-content .company { color: var(--accent); font-weight: 600; display: block; margin-bottom: 5px; }
.timeline-content .date { font-size: 0.85rem; margin-bottom: 15px; display: block; opacity: 0.7;}
.cert-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 15px; color: var(--text-primary); font-weight: 600; font-size: 0.9rem; }
.cert-link i { color: var(--accent); transition: 0.3s; }
.cert-link:hover i { transform: translateX(5px); }

/* === PROJECTS === */
.project-container { display: flex; flex-direction: column; gap: 40px; }
.project-card { padding: 35px; transition: 0.3s ease; }
.project-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }
.project-overline { color: var(--accent); font-family: 'Fira Code', monospace; font-size: 0.85rem; margin-bottom: 10px; }
.project-title { color: var(--text-primary); font-size: 1.8rem; margin-bottom: 15px; font-weight: 700;}
.project-desc { margin-bottom: 20px; font-size: 1rem;}
.project-tech-list { display: flex; gap: 15px; font-family: 'Fira Code', monospace; font-size: 0.8rem; opacity: 0.8;}

/* === HACKATHONS === */
.hackathon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.hack-card { padding: 30px; transition: 0.3s; }
.hack-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }
.hack-card h3 { color: var(--text-primary); margin-bottom: 10px; font-size: 1.3rem;}
.hack-date { color: var(--accent); font-weight: 600; font-size: 0.85rem; margin-bottom: 15px; }

/* === FOOTER === */
footer { text-align: center; padding: 80px 20px 40px; }
footer h3 { color: var(--text-primary); font-size: 2rem; margin-bottom: 10px; }
footer p { margin-bottom: 30px; }
.socials { font-size: 1.5rem; margin: 30px 0; }
.socials a { margin: 0 12px; color: var(--text-secondary); transition: 0.3s; }
.socials a:hover { color: var(--text-primary); transform: translateY(-3px); display: inline-block;}
.copyright { font-size: 0.85rem; opacity: 0.5; }

/* === MOBILE === */
@media (max-width: 768px) {
    .navbar { padding: 20px; }
    .hero { flex-direction: column-reverse; padding: 40px 20px; text-align: left; margin-top: 40px;}
    .hero h1 { font-size: 3rem; }
    .hero .subtitle { font-size: 1.8rem; }
    .hero-img { width: 250px; height: 250px; margin-bottom: 40px; align-self: center;}
    .hero-buttons { display: flex; flex-direction: column; gap: 15px; }
    .btn { margin: 0; text-align: center; }
}
