:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --dark-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --text-accent: #f093fb;
    --card-bg: rgba(17, 25, 40, 0.75);
    --shadow-primary: 0 8px 32px rgba(31, 38, 135, 0.37);
    --shadow-hover: 0 16px 64px rgba(31, 38, 135, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--dark-gradient);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Legacy styles from original main.css - removed 'p' to fix text visibility */
/* nav h1,
a,
ul,
table {
    font-family: 'Raleway', sans-serif;
    font-weight: 1000;
} */

header.banner h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 80px;
    font-weight: 800;
    color: white;
}

header.banner h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: white;
}

header.banner p {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: white;
}

header.banner {
    background-color: #5522cc;
}

.centered {
    padding: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Fireworks canvas background */
#fireworks-canvas {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: var(--dark-gradient);
    pointer-events: auto;
}

/* Particles.js container (legacy - kept for compatibility) */
/* #particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: var(--dark-gradient);
} */

/* Custom Animated Background */
/* #animated-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
    background: var(--dark-gradient);
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(240, 147, 251, 0.1));
    border-radius: 50%;
    animation: float 20s infinite linear;
    opacity: 0.6;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 80%;
    animation-delay: -5s;
}

.shape:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 30%;
    left: 70%;
    animation-delay: -10s;
}

.shape:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 20%;
    animation-delay: -15s;
}

.shape:nth-child(5) {
    width: 40px;
    height: 40px;
    top: 10%;
    left: 60%;
    animation-delay: -8s;
} */

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
    }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 40s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Modern Navigation */
nav {
    position: fixed;
    top: 20px;
    left: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 10px 30px;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover,
nav a.active {
    background: var(--accent-gradient);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(240, 147, 251, 0.4);
}

.theme-toggle {
    background: none;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--accent-gradient);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.hero-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--primary-gradient);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-primary);
    transition: all 0.3s ease;
}

.hero-avatar:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: var(--shadow-hover);
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
    }

    to {
        filter: drop-shadow(0 0 40px rgba(102, 126, 234, 0.8));
    }
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(240, 147, 251, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary:hover {
    box-shadow: 0 8px 40px rgba(240, 147, 251, 0.6);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--text-accent);
}

/* Experience Section */
.experience {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 60px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow-small 2s ease-in-out infinite alternate;
}

@keyframes glow-small {
    from {
        filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.5));
    }

    to {
        filter: drop-shadow(0 0 16px rgba(102, 126, 234, 0.8));
    }
}

.experience-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.job-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.job-card:hover::before {
    transform: scaleX(1);
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(240, 147, 251, 0.5);
}

.job-header {
    margin-bottom: 20px;
}

.job-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.job-company {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-accent);
    margin-bottom: 10px;
}

.job-period {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.job-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 400;
}

/* Fix for all paragraph text visibility issues */
.hero p,
.job-card p,
.contact-container p,
footer p {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    color: var(--text-secondary);
}

.job-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: rgba(102, 126, 234, 0.2);
    color: var(--text-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.job-highlights {
    list-style: none;
    margin: 15px 0;
}

.job-highlights li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.job-highlights li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--text-accent);
    font-weight: bold;
}

/* Scroll indicator - disabled */
.scroll-indicator {
    display: none;
}

.scroll-progress {
    display: none;
}

/* Contact Section Styles */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 15px 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    width: 250px;
    margin: 0 auto;
}

.contact-method svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-right: 0;
}


.contact-method>div {
    flex: 1;
    text-align: left;
}

.contact-method:hover {
    background: var(--accent-gradient);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.4);
}

.response-time {
    padding: 20px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 15px;
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 20px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    margin-top: 100px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-gradient);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.4);
}

/* AOS fallback safety net - ensures elements don't stay hidden if AOS fails */
body.aos-fallback [data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    nav {
        top: 10px;
        left: 10px;
        right: 10px;
        padding: 10px;
        width: auto;
    }

    nav ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }

    .job-card {
        padding: 20px;
    }
}
