:root {
    --bg-color: #0b0f19;
    --bg-alt: #111827;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --secondary: #8b5cf6;
    --secondary-glow: rgba(139, 92, 246, 0.5);
    --accent: #10b981;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Base Styles */
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.section-padding { padding: 5rem 10%; }
.bg-alt { background-color: var(--bg-alt); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--secondary-glow);
}
.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.5rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: padding 0.3s;
}
.navbar.scrolled { padding: 1rem 10%; box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.logo { font-size: 1.8rem; font-weight: 800; background: linear-gradient(to right, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.navbar nav ul { display: flex; gap: 2rem; }
.navbar nav ul li a { font-weight: 600; transition: color 0.3s; }
.navbar nav ul li a:hover { color: var(--primary); }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    padding-top: 80px;
    gap: 4rem;
}
.hero-content { flex: 1; }
.hero-content .subtitle { color: var(--primary); font-weight: 600; font-size: 1.2rem; margin-bottom: 0.5rem; }
.hero-content h1 { font-size: 4rem; font-weight: 800; margin-bottom: 0.5rem; line-height: 1.1; }
.hero-content h2 { font-size: 2rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.hero-content .description { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 500px; }
.contact-info { margin-bottom: 2rem; }
.contact-info p { margin-bottom: 0.5rem; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.contact-info i { color: var(--primary); width: 20px; }
.hero-buttons { display: flex; gap: 1rem; margin-bottom: 3rem; }

/* Stats Counters */
.stats-container { display: flex; gap: 3rem; margin-top: 2rem; }
.stat-box h3 { font-size: 2.5rem; color: var(--primary); display: inline; }
.stat-box span { font-size: 2.5rem; color: var(--primary); font-weight: 800; }
.stat-box p { color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* Hero Image & Badge */
.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}
.hero-img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
}
.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: float 4s ease-in-out infinite;
    z-index: 10;
}
.floating-badge i { font-size: 2.5rem; color: #fbbf24; }
.badge-title { display: block; font-weight: 800; font-size: 1.2rem; }
.badge-desc { display: block; font-size: 0.8rem; color: var(--text-muted); }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Headings */
.section-heading { text-align: center; margin-bottom: 4rem; }
.section-heading h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.heading-line { width: 60px; height: 4px; background: var(--primary); margin: 0 auto; border-radius: 2px; }

/* About */
.about-content p { font-size: 1.2rem; text-align: center; max-width: 800px; margin: 0 auto; color: var(--text-muted); }

/* Experience Grid (Glassmorphism) */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}
.card-icon { font-size: 2rem; color: var(--primary); margin-bottom: 1.5rem; }
.glass-card h3 { margin-bottom: 1rem; font-size: 1.3rem; }
.glass-card p { color: var(--text-muted); }

/* Skills */
.skills-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.skills-column h3 { margin-bottom: 2rem; font-size: 1.5rem; color: var(--secondary); }
.skills-list li { margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.skills-list i { color: var(--accent); }
.tags-container { display: flex; flex-wrap: wrap; gap: 1rem; }
.tag {
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Education Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.timeline::before {
    content: ''; position: absolute; top: 0; left: 20px;
    width: 2px; height: 100%; background: var(--glass-border);
}
.timeline-item { position: relative; margin-bottom: 2rem; padding-left: 60px; }
.timeline-dot {
    position: absolute; left: 14px; top: 0;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--primary); border: 3px solid var(--bg-alt);
    box-shadow: 0 0 10px var(--primary-glow);
}
.timeline-content h3 { font-size: 1.3rem; color: var(--primary); }
.timeline-content h4 { font-size: 1.1rem; margin: 0.5rem 0; }
.timeline-content p { color: var(--text-muted); font-size: 0.9rem; }

/* Footer */
footer { text-align: center; padding: 2rem; background: #080b13; color: var(--text-muted); }

/* ---- ANIMATION CLASSES ---- */
.reveal-up { opacity: 0; transform: translateY(50px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-up.active { opacity: 1; transform: translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-50px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-left.active { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(50px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-right.active { opacity: 1; transform: translateX(0); }

.zoom-in { opacity: 0; transform: scale(0.9); transition: all 0.6s cubic-bezier(0.5, 0, 0, 1); }
.zoom-in.active { opacity: 1; transform: scale(1); }

/* Responsive */
@media (max-width: 991px) {
    .hero { flex-direction: column; text-align: center; padding-top: 120px; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .contact-info p { justify-content: center; }
    .skills-wrapper { grid-template-columns: 1fr; }
    .navbar nav { display: none; } /* Mobile menu toggle needed in real prod */
}
