:root {
    --primary-color: #00f2ea;
    /* Neon Cyan */
    --secondary-color: #ff0055;
    /* Neon Pink */
    --tertiary-color: #7000ff;
    /* Neon Purple */
    --bg-color: #050505;
    /* Deep Black */
    --text-color: #ffffff;
    --card-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent-gradient: linear-gradient(135deg, #00f2ea 0%, #7000ff 100%);
    --glow-shadow: 0 0 10px rgba(0, 242, 234, 0.3), 0 0 20px rgba(112, 0, 255, 0.2);
    --hover-glow: 0 0 15px rgba(0, 242, 234, 0.5);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(112, 0, 255, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 242, 234, 0.15) 0%, transparent 25%);
    background-attachment: fixed;
}

.text-muted {
    color: #a0a0a0 !important;
}

/* Navbar */
.navbar {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    font-weight: 800;
    color: #fff !important;
    text-shadow: 0 0 10px var(--primary-color);
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px var(--primary-color);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 242, 234, 0.5), 0 0 30px rgba(112, 0, 255, 0.4);
    animation: fadeInDown 1s ease-out;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 1.8rem;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.5s backwards;
}

.profile-img-container {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    margin: 0 auto 3rem;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 25px rgba(0, 242, 234, 0.4), inset 0 0 10px rgba(0, 242, 234, 0.3);
    animation: zoomIn 1s ease-out;
    position: relative;
}

.profile-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sections */
section {
    padding: 120px 0;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 5rem;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-shadow: 0 0 20px rgba(112, 0, 255, 0.8);
}

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 6px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 3px;
    box-shadow: 0 0 20px var(--primary-color);
}

/* Cards (Glassmorphism) */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

/* Skills */
.skill-badge {
    background: rgba(0, 242, 234, 0.1);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    margin: 0.6rem;
    display: inline-block;
    border: 1px solid var(--primary-color);
    transition: all 0.3s;
    font-weight: 600;
    text-shadow: 0 0 5px var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 242, 234, 0.2);
}

.skill-badge:hover {
    background: var(--primary-color);
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--primary-color);
    text-shadow: none;
}

/* Timeline */
.timeline-item {
    border-left: 4px solid var(--tertiary-color);
    padding-left: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--bg-color);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-color);
    transition: all 0.3s;
}

.timeline-item:hover::before {
    background: var(--primary-color);
    box-shadow: 0 0 30px var(--primary-color);
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 242, 234, 0.5);
}

/* Projects */
.project-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    transition: transform 0.5s;
    border: 1px solid var(--glass-border);
}

.glass-card:hover .project-img {
    transform: scale(1.03);
    border-color: var(--primary-color);
}

.project-links a {
    color: #fff;
    margin-right: 1.5rem;
    font-size: 1.5rem;
    transition: all 0.3s;
}

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

/* Contact */
.social-icons a {
    font-size: 2.5rem;
    color: #fff;
    margin: 0 1.5rem;
    transition: all 0.3s;
    display: inline-block;
}

.social-icons a:hover {
    color: var(--secondary-color);
    transform: translateY(-5px) scale(1.1);
    text-shadow: 0 0 20px var(--secondary-color);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(0, 242, 234, 0.1);
    border-top-color: var(--primary-color);
    border-right-color: var(--tertiary-color);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    box-shadow: 0 0 30px rgba(0, 242, 234, 0.4);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Skills New Styles */
.skill-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-glow);
    border-color: var(--primary-color);
    background: rgba(20, 20, 20, 0.9);
}

.skill-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transition: transform 0.3s;
}

.skill-card:hover .skill-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 20px var(--primary-color));
}

/* Certificates */
.cert-card {
    overflow: hidden;
    padding: 0 !important;
    border-radius: 16px;
}

.cert-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
    transition: transform 0.5s;
}

.cert-card:hover .cert-img {
    transform: scale(1.1);
}

.cert-placeholder {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--glass-border);
}

/* Buttons */
.btn-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 242, 234, 0.2);
    transition: all 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 30px;
    border-radius: 50px;
}

.btn-primary:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 40px var(--primary-color);
    transform: translateY(-3px);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    border-radius: 50px;
    padding: 10px 30px;
}

.btn-outline-light:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Tech Stack */
.tech-item {
    display: inline-block;
    margin: 8px;
    transition: transform 0.3s;
}

.tech-item .badge {
    font-size: 1.1rem;
    background: rgba(0, 242, 234, 0.05) !important;
    border: 1px solid var(--primary-color);
    color: #fff;
    padding: 12px 28px !important;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(0, 242, 234, 0.1);
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-item:hover .badge {
    background: var(--primary-color) !important;
    color: #000;
    box-shadow: 0 0 30px var(--primary-color);
}

/* Scroll Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.fade-in-section.visible {
    opacity: 1;
    transform: none;
}