/* Netflix-Inspired Modern Variables */
:root {
    --netflix-red: #e50914;
    --netflix-dark: #141414;
    --netflix-darker: #0f0f0f;
    --netflix-gray: #333333;
    --netflix-light-gray: #757575;
    --netflix-white: #ffffff;
    --accent-gold: #ffd700;
    --accent-blue: #00d4ff;
    --gradient-primary: linear-gradient(135deg, #e50914 0%, #ff6b6b 100%);
    --gradient-dark: linear-gradient(135deg, #141414 0%, #0f0f0f 100%);
    --gradient-card: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    --font-heading: 'Raleway', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --shadow-glow: 0 0 30px rgba(229, 9, 20, 0.3);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.4);
    --border-radius: 12px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: 140px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--netflix-white);
    background: var(--netflix-dark);
    overflow-x: hidden;
    position: relative;
}

/* Ensure main content stays below navbar */
main {
    position: relative;
    z-index: 1;
}

/* Prevent any content from overlapping navbar */
* {
    z-index: auto;
}

.navbar {
    z-index: 99999 !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--netflix-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--netflix-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff0a16;
}

/* Loading Animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--netflix-darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.netflix-loader {
    width: 60px;
    height: 60px;
    border: 3px solid var(--netflix-gray);
    border-top: 3px solid var(--netflix-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Particle Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--netflix-red);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.8; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography - Improved readability with larger text sizes */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--netflix-white);
    margin-bottom: 0.5em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

h1 { 
    font-size: clamp(3.5rem, 6vw, 6rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
    white-space: nowrap;
    overflow: visible;
}

h2 { 
    font-size: clamp(2.5rem, 5vw, 4rem);
    position: relative;
}

h3 { 
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--accent-gold);
}

p { 
    margin-bottom: 1em;
    color: var(--netflix-light-gray);
    line-height: 1.8;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(229, 9, 20, 0.5); }
    to { text-shadow: 0 0 30px rgba(229, 9, 20, 0.8), 0 0 40px rgba(229, 9, 20, 0.3); }
}

/* Text Animations */
.text-reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: textReveal 0.8s ease forwards;
}

@keyframes textReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.typing-effect {
    overflow: hidden;
    border-right: 3px solid var(--netflix-red);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--netflix-red); }
}

/* Netflix-Style Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--netflix-white);
    box-shadow: var(--shadow-glow);
    transform: translateY(0);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(229, 9, 20, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: var(--netflix-white);
    border: 2px solid var(--netflix-red);
    position: relative;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--netflix-red);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover::after {
    width: 100%;
}

.btn-secondary:hover {
    color: var(--netflix-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Glitch Effect Button */
.btn-glitch {
    background: var(--netflix-red);
    color: var(--netflix-white);
    position: relative;
}

.btn-glitch:hover {
    animation: glitch 0.3s;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* Netflix-Style Navbar */
.navbar {
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(15px);
    color: var(--netflix-white);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(229, 9, 20, 0.3);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    background: rgba(20, 20, 20, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    color: var(--netflix-white);
    text-decoration: none;
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition-smooth);
}

.navbar-brand:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(229, 9, 20, 0.5));
}

.navbar-nav {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.navbar-nav li a {
    color: var(--netflix-white) !important;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 0.5rem 1rem;
    position: relative;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    display: block;
}

.navbar-nav li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    border-radius: 8px;
    transition: var(--transition-smooth);
    z-index: -1;
}

.navbar-nav li a:hover::before {
    opacity: 1;
}

.navbar-nav li a:hover {
    color: var(--netflix-white) !important;
    transform: translateY(-2px);
}

/* Specific fix for Why Hire Me link hover */
.navbar-nav li a[href="#why-hire-me"]:hover {
    color: var(--netflix-white) !important;
}

/* Ensure all navbar links have proper hover */
.navbar-nav li:hover a {
    color: var(--netflix-white) !important;
}

.navbar-toggler {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--netflix-white);
    background: none;
    border: none;
    transition: var(--transition-smooth);
}

.navbar-toggler:hover {
    color: var(--netflix-red);
    transform: scale(1.1);
}

/* Mobile Menu Animation */
.navbar-nav.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.navbar-nav.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

/* Netflix-Style Hero Section */
.hero-section {
    background: 
        linear-gradient(135deg, rgba(20, 20, 20, 0.8) 0%, rgba(15, 15, 15, 0.9) 100%),
        radial-gradient(circle at 20% 80%, rgba(229, 9, 20, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.2) 0%, transparent 50%);
    color: var(--netflix-white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: left;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(229,9,20,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10px, 10px); }
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: slideInLeft 1s ease-out;
}

.hero-content p:first-child {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 7vw, 7rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    white-space: nowrap;
    overflow: visible;
    width: auto;
    min-width: max-content;
}

.hero-content h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--netflix-light-gray);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-content .tagline {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1s forwards;
}

.hero-image {
    flex: 0 0 auto;
    animation: slideInRight 1s ease-out;
}

.hero-image .profile-pic {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--netflix-red);
    box-shadow: 
        0 0 50px rgba(229, 9, 20, 0.4),
        0 20px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    position: relative;
}

.hero-image .profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 80px rgba(229, 9, 20, 0.6),
        0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--netflix-red);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 60%; left: 80%; animation-delay: 2s; }
.floating-element:nth-child(3) { top: 80%; left: 20%; animation-delay: 4s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Netflix-Style Sections */
.section {
    padding: 160px 0 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Fix overlap issue for About section specifically */
#about {
    padding-top: 220px;
}

/* Ensure section headers have enough space from navbar */
.section h2 {
    margin-top: 20px;
}

/* About Me Section Specific Styling */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: justify;
}

.about-content strong {
    color: var(--accent-gold);
    font-weight: 700;
}

.section.bg-light {
    background: 
        linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagon" width="20" height="17.32" patternUnits="userSpaceOnUse"><polygon points="10,0 20,5.77 20,11.55 10,17.32 0,11.55 0,5.77" fill="none" stroke="rgba(229,9,20,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagon)"/></svg>');
    background-size: cover, 40px 34.64px;
    position: relative;
}

.section.bg-dark {
    background: var(--netflix-darker);
    position: relative;
}

.section.bg-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(229, 9, 20, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section h2 {
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    color: var(--netflix-white);
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section h2::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: expandWidth 0.8s ease-out;
}

.section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -25px;
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 1px;
    animation: expandWidth 0.8s ease-out 0.2s both;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100%; }
}

.section-description {
    font-size: 1.4rem;
    max-width: 900px;
    margin: 0 auto 5rem auto;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

/* Section Animation Classes */
.section.animate-in {
    animation: sectionSlideIn 1s ease-out;
}

@keyframes sectionSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Netflix-Style Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 4rem;
    text-align: left;
}

.skill-category {
    background: var(--gradient-card);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    border: 1px solid rgba(229, 9, 20, 0.2);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.skill-category:hover::before {
    transform: scaleX(1);
}

.skill-category:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: var(--shadow-hover);
    border-color: var(--netflix-red);
}

.skill-category h3 {
    color: var(--netflix-white);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.4rem;
}

.skill-category h3 i {
    font-size: 2rem;
    color: var(--netflix-red);
    background: rgba(229, 9, 20, 0.1);
    padding: 10px;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.skill-category:hover h3 i {
    transform: rotate(360deg);
    background: rgba(229, 9, 20, 0.2);
}

.skill-category ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-category li {
    background: rgba(229, 9, 20, 0.1);
    color: var(--netflix-white);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 1px solid rgba(229, 9, 20, 0.3);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.skill-category li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.skill-category li:hover::before {
    left: 0;
}

.skill-category li:hover {
    color: var(--netflix-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.3);
}

/* Netflix-Style Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 4rem;
}

.project-card {
    background: var(--gradient-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    text-align: left;
    transition: var(--transition-smooth);
    border: 1px solid rgba(229, 9, 20, 0.2);
    position: relative;
    transform-style: preserve-3d;
    background-image: 
        linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(45, 45, 45, 0.9) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circuit" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 0 10 L 10 10 L 10 0 M 10 10 L 20 10 M 10 10 L 10 20" fill="none" stroke="rgba(229,9,20,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23circuit)"/></svg>');
    background-size: cover, 20px 20px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(229, 9, 20, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.project-card:hover {
    transform: translateY(-15px) rotateX(10deg) rotateY(5deg);
    box-shadow: 
        var(--shadow-hover),
        0 0 50px rgba(229, 9, 20, 0.2);
    border-color: var(--netflix-red);
}

.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
    position: relative;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-info {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.project-info h3 {
    color: var(--netflix-white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
    font-weight: 700;
}

.project-card:hover .project-info h3 {
    color: var(--accent-gold);
}

.project-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-tech {
    margin-bottom: 2rem;
}

.project-tech span {
    display: inline-block;
    background: rgba(229, 9, 20, 0.1);
    color: var(--netflix-white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 8px;
    margin-bottom: 8px;
    border: 1px solid rgba(229, 9, 20, 0.3);
    transition: var(--transition-smooth);
}

.project-tech span:hover {
    background: var(--netflix-red);
    transform: translateY(-2px);
}

.project-tech span i {
    margin-right: 5px;
    color: var(--netflix-red);
}

.project-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.project-links .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Project Card Glow Effect */
@keyframes projectGlow {
    0%, 100% { box-shadow: var(--shadow-card); }
    50% { box-shadow: var(--shadow-card), 0 0 30px rgba(229, 9, 20, 0.3); }
}

.project-card.featured {
    animation: projectGlow 3s ease-in-out infinite;
}

/* Experience Timeline - Enhanced Netflix Style */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--gradient-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.3);
}

.timeline-item {
    padding: 20px 0;
    position: relative;
    width: 50%;
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: 4px solid var(--netflix-darker);
    top: 30px;
    right: -12px;
    z-index: 2;
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
    animation: pulse 2s infinite;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -12px;
}

.timeline-content {
    padding: 30px;
    background: var(--gradient-card);
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    text-align: left;
    border: 1px solid rgba(229, 9, 20, 0.2);
    transition: var(--transition-smooth);
    color: var(--netflix-white);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--netflix-red);
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
}

.timeline-content h3 {
    color: var(--netflix-white);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.timeline-date {
    color: var(--accent-gold);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
}

.timeline-content li {
    margin-bottom: 0.8rem;
    padding-left: 20px;
    position: relative;
    color: var(--netflix-light-gray);
    line-height: 1.6;
    font-size: 1rem;
}

.timeline-content li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--netflix-red);
    font-size: 0.8rem;
}

/* Achievements Grid - Netflix Style */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 4rem;
}

.achievement-item {
    background: var(--gradient-card);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    text-align: center;
    border: 1px solid rgba(229, 9, 20, 0.2);
    position: relative;
    overflow: hidden;
}

.achievement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.achievement-item:hover::before {
    transform: scaleX(1);
}

.achievement-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--netflix-red);
}

.achievement-item .icon-large {
    font-size: 4rem;
    color: var(--netflix-red);
    margin-bottom: 1.5rem;
    background: rgba(229, 9, 20, 0.1);
    padding: 20px;
    border-radius: 50%;
    display: inline-block;
    transition: var(--transition-smooth);
}

.achievement-item:hover .icon-large {
    transform: scale(1.1) rotate(360deg);
    background: rgba(229, 9, 20, 0.2);
}

.achievement-item h3 {
    color: var(--netflix-white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.achievement-item p {
    color: var(--netflix-light-gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Netflix-Style Contact Info */
.contact-info {
    max-width: 600px;
    margin: 4rem auto 0 auto;
    text-align: center;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--netflix-white);
    transition: var(--transition-smooth);
    padding: 15px;
    border-radius: var(--border-radius);
    background: rgba(229, 9, 20, 0.1);
    border: 1px solid rgba(229, 9, 20, 0.2);
}

.contact-info p:hover {
    background: rgba(229, 9, 20, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(229, 9, 20, 0.2);
}

.contact-info p i {
    color: var(--netflix-red);
    font-size: 1.5rem;
    background: rgba(229, 9, 20, 0.2);
    padding: 10px;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.contact-info p:hover i {
    transform: scale(1.2);
    background: var(--netflix-red);
    color: var(--netflix-white);
}

.contact-link {
    color: var(--netflix-white) !important;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-link:hover {
    color: var(--accent-gold) !important;
}

.social-links {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-links a {
    color: var(--netflix-white);
    font-size: 2.5rem;
    transition: var(--transition-smooth);
    padding: 15px;
    border-radius: 50%;
    background: rgba(229, 9, 20, 0.1);
    border: 2px solid rgba(229, 9, 20, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
}

.social-links a:hover {
    color: var(--netflix-white);
    background: var(--gradient-primary);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 15px 30px rgba(229, 9, 20, 0.4);
    border-color: var(--netflix-red);
}

/* Netflix-Style Footer */
.footer {
    background: var(--netflix-darker);
    color: var(--netflix-light-gray);
    padding: 3rem 0 2rem;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid rgba(229, 9, 20, 0.3);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

.footer p {
    margin: 0;
    transition: var(--transition-smooth);
}

.footer:hover p {
    color: var(--netflix-white);
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 992px) { /* Medium devices */
    .navbar-nav {
        gap: 15px;
    }
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .hero-content h2 {
        font-size: 2rem;
    }
    .hero-image .profile-pic {
        width: 250px;
        height: 250px;
    }
    .timeline::before {
        left: 18px; /* Move timeline line to left for mobile */
    }
    .timeline-item {
        width: 100%;
        left: 0 !important; /* Force all items to left */
        padding-left: 50px; /* Space for dot */
    }
    .timeline-item:nth-child(even) .timeline-dot {
        left: 8px; /* Adjust dot position for all items */
    }
    .timeline-dot {
        left: 8px; /* For all items */
        right: auto; /* Reset right */
    }
    .timeline-content {
        text-align: left !important; /* Force all content to left */
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
    }
    
    .navbar-brand {
        margin-right: auto;
        font-size: 1.5rem;
    }
    
    .navbar-toggler {
        display: block;
    }
    
    .navbar-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(20, 20, 20, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition-smooth);
        gap: 15px;
    }
    
    .navbar-nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .navbar-nav li {
        margin-bottom: 1rem;
    }
    
    .hero-section {
        text-align: center;
        padding: 8rem 0 4rem;
        overflow-x: auto;
    }
    
    .hero-section .container {
        flex-direction: column;
        gap: 40px;
        overflow-x: visible;
    }
    
    .hero-content {
        max-width: 100%;
        overflow-x: visible;
    }
    
    .hero-content h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
        white-space: normal;
        word-break: break-word;
        hyphens: auto;
        overflow: visible;
        width: 100%;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-image .profile-pic {
        width: 250px;
        height: 250px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .skills-grid, 
    .project-grid, 
    .achievements-grid, 
    .why-hire-grid,
    .education-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .timeline {
        padding: 0;
    }
    
    .contact-info p {
        flex-direction: column;
        gap: 10px;
    }
    
    .social-links {
        gap: 20px;
    }
    
    .social-links a {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-image .profile-pic {
        width: 200px;
        height: 200px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .why-hire-item,
    .skill-category,
    .project-card {
        padding: 25px 20px;
    }
    
    .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .icon-wrapper i {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .social-links a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Additional Netflix-style animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.text-glow {
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

.netflix-gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-lift {
    transition: var(--transition-smooth);
}

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

/* Custom Animations for Page Load */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease forwards;
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* Netflix-Style Why Hire Me Section */
.why-hire-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 4rem;
}

.why-hire-item {
    background: var(--gradient-card);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition-bounce);
    text-align: center;
    color: var(--netflix-white);
    border: 1px solid rgba(229, 9, 20, 0.2);
    position: relative;
    overflow: hidden;
}

.why-hire-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(229, 9, 20, 0.1), transparent);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.why-hire-item:hover::before {
    opacity: 1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.why-hire-item:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: var(--shadow-hover), 0 0 50px rgba(229, 9, 20, 0.3);
    border-color: var(--netflix-red);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.why-hire-item:hover .icon-wrapper {
    transform: rotateY(360deg);
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.5);
}

.icon-wrapper i {
    font-size: 2.5rem;
    color: var(--netflix-white);
}

.why-hire-item h3 {
    color: var(--netflix-white);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
}

.why-hire-item p {
    font-size: 1rem;
    color: var(--netflix-light-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    position: relative;
    z-index: 2;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--netflix-light-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

/* Animated Counter Effect */
.why-hire-item.animate .stat-number {
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure text is light on dark sections */
.section.bg-dark h2,
.section.bg-dark .section-description {
    color: var(--text-light);
}

/* Ensure navbar-nav for active menu on dark section is correct */
.section.bg-dark .contact-info p {
    color: var(--text-light);
}
.section.bg-dark .contact-info p i {
    color: var(--primary-color);
}
.section.bg-dark .contact-info a.contact-link {
    color: var(--text-light);
    text-decoration: underline;
}
.section.bg-dark .social-links a {
    color: var(--text-light);
}
.section.bg-dark .social-links a:hover {
    color: var(--primary-color);
}

/* Education Section - Netflix Style */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 4rem;
}

.education-item {
    background: var(--gradient-card);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    text-align: left;
    transition: var(--transition-smooth);
    border: 1px solid rgba(229, 9, 20, 0.2);
    position: relative;
    overflow: hidden;
}

.education-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.education-item:hover::before {
    transform: scaleX(1);
}

.education-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--netflix-red);
}

.education-item h3 {
    color: var(--netflix-white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.education-item p {
    margin-bottom: 0.8rem;
    color: var(--netflix-light-gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

.education-item .date {
    font-size: 1rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.education-item strong {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

/* --- Responsive Adjustments for new sections --- */
@media (max-width: 768px) {
    .why-hire-grid, .education-grid {
        grid-template-columns: 1fr;
    }
}
/* 
Custom Cursor Effect - DISABLED to fix cursor disappearing issue */
body {
    cursor: auto;
}

.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--netflix-red);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--netflix-red);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.3s ease;
    opacity: 0.5;
}

/* Hover Effects for Interactive Elements */
a:hover ~ .cursor,
button:hover ~ .cursor,
.btn:hover ~ .cursor {
    transform: scale(2);
    background: var(--accent-gold);
}

/* Netflix-style Loading Dots */
.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: dots 2s infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* Glitch Text Effect */
.glitch {
    position: relative;
    color: var(--netflix-white);
    font-size: 4rem;
    font-weight: bold;
    text-transform: uppercase;
    animation: glitch-skew 1s infinite linear alternate-reverse;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-anim 2s infinite linear alternate-reverse;
    color: var(--netflix-red);
    z-index: -1;
}

.glitch::after {
    animation: glitch-anim2 1s infinite linear alternate-reverse;
    color: var(--accent-blue);
    z-index: -2;
}

@keyframes glitch-anim {
    0% { clip: rect(42px, 9999px, 44px, 0); }
    5% { clip: rect(12px, 9999px, 59px, 0); }
    10% { clip: rect(48px, 9999px, 29px, 0); }
    15% { clip: rect(42px, 9999px, 73px, 0); }
    20% { clip: rect(63px, 9999px, 27px, 0); }
    25% { clip: rect(34px, 9999px, 55px, 0); }
    30% { clip: rect(86px, 9999px, 73px, 0); }
    35% { clip: rect(20px, 9999px, 20px, 0); }
    40% { clip: rect(26px, 9999px, 60px, 0); }
    45% { clip: rect(25px, 9999px, 66px, 0); }
    50% { clip: rect(57px, 9999px, 98px, 0); }
    55% { clip: rect(5px, 9999px, 46px, 0); }
    60% { clip: rect(82px, 9999px, 31px, 0); }
    65% { clip: rect(54px, 9999px, 27px, 0); }
    70% { clip: rect(28px, 9999px, 99px, 0); }
    75% { clip: rect(45px, 9999px, 69px, 0); }
    80% { clip: rect(23px, 9999px, 85px, 0); }
    85% { clip: rect(54px, 9999px, 84px, 0); }
    90% { clip: rect(45px, 9999px, 47px, 0); }
    95% { clip: rect(37px, 9999px, 20px, 0); }
    100% { clip: rect(4px, 9999px, 91px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    5% { clip: rect(52px, 9999px, 74px, 0); }
    10% { clip: rect(79px, 9999px, 85px, 0); }
    15% { clip: rect(75px, 9999px, 5px, 0); }
    20% { clip: rect(67px, 9999px, 61px, 0); }
    25% { clip: rect(14px, 9999px, 79px, 0); }
    30% { clip: rect(1px, 9999px, 66px, 0); }
    35% { clip: rect(86px, 9999px, 30px, 0); }
    40% { clip: rect(23px, 9999px, 98px, 0); }
    45% { clip: rect(85px, 9999px, 72px, 0); }
    50% { clip: rect(71px, 9999px, 75px, 0); }
    55% { clip: rect(2px, 9999px, 48px, 0); }
    60% { clip: rect(30px, 9999px, 16px, 0); }
    65% { clip: rect(59px, 9999px, 50px, 0); }
    70% { clip: rect(41px, 9999px, 62px, 0); }
    75% { clip: rect(2px, 9999px, 82px, 0); }
    80% { clip: rect(47px, 9999px, 73px, 0); }
    85% { clip: rect(3px, 9999px, 27px, 0); }
    90% { clip: rect(26px, 9999px, 55px, 0); }
    95% { clip: rect(42px, 9999px, 97px, 0); }
    100% { clip: rect(38px, 9999px, 49px, 0); }
}

@keyframes glitch-skew {
    0% { transform: skew(0deg); }
    10% { transform: skew(-2deg); }
    20% { transform: skew(1deg); }
    30% { transform: skew(-1deg); }
    40% { transform: skew(2deg); }
    50% { transform: skew(-1deg); }
    60% { transform: skew(0deg); }
    70% { transform: skew(1deg); }
    80% { transform: skew(-2deg); }
    90% { transform: skew(1deg); }
    100% { transform: skew(0deg); }
}

/* Neon Glow Effect */
.neon-glow {
    text-shadow: 
        0 0 5px var(--netflix-red),
        0 0 10px var(--netflix-red),
        0 0 15px var(--netflix-red),
        0 0 20px var(--netflix-red);
    animation: neon-flicker 2s infinite alternate;
}

@keyframes neon-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Holographic Effect */
.holographic {
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    background-size: 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: holographic-shift 3s ease-in-out infinite;
}

@keyframes holographic-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Performance Optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}

/* Print Styles */
@media print {
    .navbar,
    .loading-screen,
    .particles,
    .floating-elements {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .section {
        page-break-inside: avoid;
    }
}