:root {
    --bg-dark: #0a0a0a;
    /* True Black */
    --bg-card: rgba(255, 255, 255, 0.03);
    --primary: #38bdf8;
    /* Sky Blue */
    --secondary: #818cf8;
    /* Indigo */
    --accent: #f472b6;
    /* Pink Accent */
    --text-main: #ffffff;
    --text-muted: #a3a3a3;
    --gradient: linear-gradient(120deg, var(--primary), var(--secondary));
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.7;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    /* Technical Grid Pattern */
}

/* Enhanced Background Glows */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(100px);
    opacity: 0.5;
    animation: pulse 10s infinite alternate;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    top: -20%;
    left: -10%;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary), transparent 70%);
    bottom: -10%;
    right: -10%;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* Typography & Utils */
h1,
h2,
h3 {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--text-main);
    color: var(--bg-dark);
    padding: 14px 32px;
    border-radius: 5px;
    /* Sharper corners for tech vibe */
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: var(--glass-border);
    color: var(--text-main);
    padding: 14px 32px;
    border-radius: 5px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-main);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 4rem;
    font-weight: 700;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(10, 10, 10, 0.85);
    /* Slightly darker */
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: var(--glass-border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary);
}

/* Hero Section */
header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 60px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
}

.badge {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid rgba(56, 189, 248, 0.3);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

h1 {
    font-size: 5rem;
    /* Larger impact */
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.subtitle {
    font-size: 1.8rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 400;
}

.description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    max-width: 800px;
    margin: 0 auto;
}

.stat h3 {
    font-size: 2.5rem;
    background: linear-gradient(to bottom, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.stat p {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Skills */
.skill-category {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: var(--glass-border);
    padding: 40px;
    border-radius: 16px;
    transition: 0.3s;
}

.skill-category:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.1);
}

.skill-category h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--text-main);
}

.tags span {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e5e5e5;
    transition: 0.2s;
}

.tags span:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Projects */
.project-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 40px;
    border: var(--glass-border);
    position: relative;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.05);
}

.project-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--primary);
}

.project-card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.project-desc {
    font-size: 1rem;
    color: #d4d4d4;
}

/* Timeline */
.timeline {
    border-left: 2px solid rgba(255, 255, 255, 0.05);
    margin-left: 20px;
}

.timeline-item::before {
    background: var(--bg-dark);
    border-color: var(--secondary);
    width: 14px;
    height: 14px;
    left: -48px;
}

.date {
    color: var(--secondary);
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 1px;
}

/* Footer */
footer {
    border-top: var(--glass-border);
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.3) 0%, transparent 100%);
}

.huge-btn {
    border: 2px solid var(--text-main);
    background: transparent;
    color: var(--text-main);
    font-size: 1.5rem;
    padding: 20px 60px;
    border-radius: 100px;
    margin: 40px 0;
}

.huge-btn:hover {
    background: var(--text-main);
    color: black;
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}
/* Glow Button Animation */
.glow-btn {
    position: relative;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
    overflow: hidden;
    animation: pulse-glow 2s infinite;
}

.glow-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.6);
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 10px rgba(56, 189, 248, 0.2); }
    50% { box-shadow: 0 0 20px rgba(56, 189, 248, 0.5); border-color: #f0f9ff; }
    100% { box-shadow: 0 0 10px rgba(56, 189, 248, 0.2); }
}

/* Spotlight Effect on Cards */
.project-card, .skill-category {
    position: relative;
    z-index: 1;
}

.project-card::before, .skill-category::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.4), transparent 40%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 2;
}

.project-card:hover::before, .skill-category:hover::before {
    opacity: 1;
}

/* Unique Certifications Style */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cert-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--gradient);
    opacity: 0.7;
}

.cert-card:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.cert-icon-box {
    width: 60px; height: 60px;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.cert-info h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
    color: var(--text-main);
}

.cert-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.cert-tags span {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--primary);
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Cyber Timeline Style */
.timeline {
    border-left: 2px solid rgba(56, 189, 248, 0.2);
    margin-left: 20px;
    position: relative;
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.timeline-item:hover::before {
    background: var(--primary);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.8);
    transform: scale(1.3);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s;
}

.timeline-item:hover .timeline-content {
    border-color: var(--secondary);
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
}

.timeline-date {
    display: inline-block;
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content h3 {
    color: var(--text-main);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.timeline-content h4 {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #cbd5e1;
}

/* Premium Holo-Glass Footer */
footer {
    position: relative;
    margin-top: 100px;
    padding: 80px 5% 40px;
    background: linear-gradient(to top, #020617, transparent);
    border-top: 1px solid rgba(56, 189, 248, 0.1);
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    box-shadow: 0 0 30px var(--primary);
}

.footer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.footer-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Floating Social Dock */
.social-dock {
    display: inline-flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 30px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin-top: 40px;
    transition: transform 0.3s;
}

.social-dock:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.social-dock a {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: all 0.2s;
}

.social-dock a:hover {
    color: var(--primary);
    transform: scale(1.2);
    text-shadow: 0 0 15px var(--primary);
}

.copyright {
    margin-top: 60px;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.85rem;
    opacity: 0.5;
    letter-spacing: 1px;
}

/* V3 OVERHAUL - ULTRA MODERN */
:root {
    --primary: #00f2fe;
    --secondary: #4facfe;
    --accent: #ff0099;
    --bg-dark: #050505;
    --glass: rgba(255, 255, 255, 0.05);
    --neon-glow: 0 0 20px rgba(79, 172, 254, 0.6);
}

body {
    background: #000;
    background-image: radial-gradient(circle at 50% 50%, #111 0%, #000 100%);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 9999;
    width: 0%;
    box-shadow: 0 0 10px var(--primary);
}

/* Hero Typing Cursor */
.typing-cursor::after {
    content: '|';
    animation: blink 1s infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Ultra Cards */
.project-card, .cert-card, .skill-category {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
}

.project-card:hover {
    border-color: var(--primary);
    box-shadow: var(--neon-glow);
    transform: translateY(-10px) scale(1.02);
}

/* Neon Headers */
h1, h2 {
    text-shadow: 0 0 20px rgba(79, 172, 254, 0.3);
}

.gradient-text {
    background: linear-gradient(to right, #00f2fe, #4facfe, #ff0099);
    -webkit-background-clip: text;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* Fix: Static Gradient for Name */
.gradient-text {
    animation: none !important;
    background: linear-gradient(to right, #00f2fe, #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* FIRE EFFECT UPGRADE */
.btn-primary:hover { box-shadow: 0 0 20px var(--primary), 0 0 40px var(--accent); transform: translateY(-3px); }
.project-card:hover, .cert-card:hover { border-color: transparent; box-shadow: 0 0 15px var(--primary), inset 0 0 15px var(--primary); animation: border-flicker 2s infinite alternate; }
@keyframes border-flicker { 0% { box-shadow: 0 0 15px var(--primary), inset 0 0 10px var(--primary); } 100% { box-shadow: 0 0 25px var(--accent), inset 0 0 20px var(--accent); } }

/* Extended Fire Effects */
.skill-category:hover {
    border-color: transparent;
    box-shadow: 0 0 15px var(--primary), inset 0 0 15px var(--primary);
    animation: border-flicker 2s infinite alternate;
}

/* Hero Text Blue Fire */
header h1 {
    animation: text-flicker 3s infinite alternate;
}

@keyframes text-flicker {
    0% { text-shadow: 0 0 20px var(--primary), 0 0 40px var(--secondary); }
    100% { text-shadow: 0 0 40px var(--primary), 0 0 80px var(--secondary), 0 0 100px var(--accent); }
}

/* Timeline Fire */
.timeline-content:hover {
    border-color: transparent;
    box-shadow: 0 0 15px var(--primary), inset 0 0 15px var(--primary);
    animation: border-flicker 2s infinite alternate;
    background: rgba(0, 242, 254, 0.05);
}

/* Tech Tags Fire Blocks */
.tags span, .project-tech span, .cert-tags span {
    border: 1px solid rgba(0, 242, 254, 0.3);
    background: rgba(0, 242, 254, 0.05);
    box-shadow: 0 0 5px rgba(0, 242, 254, 0.1);
    transition: all 0.3s;
}

.tags span:hover, .project-tech span:hover, .cert-tags span:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary);
    transform: translateY(-2px);
    border-color: transparent;
}

/* NAV BAR UPGRADE */
nav {
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 242, 254, 0.1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    padding: 20px 5%;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(to right, #00f2fe, #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(0, 242, 254, 0.5));
}

.nav-links a {
    position: relative;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.nav-links .btn-primary {
    padding: 10px 25px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.nav-links .btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--primary);
}
