@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

        html {
            scroll-behavior: smooth;
            
        }
        body {
            font-family: 'Inter', sans-serif;
            background: #141414;
            color: #ffffff;
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* Netflix-style scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #141414;
        }

        ::-webkit-scrollbar-thumb {
            background: #e50914;
            border-radius: 4px;
        }

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

        /* Header */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 1rem 4%;
            background: rgba(0, 0, 0, 0);
            backdrop-filter: blur(10px);
            z-index: 1000;
            transition: all 0.3s ease;
        }

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

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
        }

        .logo {
            font-size: 2rem;
            font-weight: 800;
            color: #e50914;
            text-decoration: none;
            transition: transform 0.3s ease;
        }

        .logo:hover {
            transform: scale(1.05);
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            color: #ffffff;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: #e50914;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: #e50914;
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 4%;
            background-image:url("https://d3ghupt9z9s6o0.cloudfront.net/app/uploads/2017/04/13100509/Netflix-Background.jpg");
            background-position: left center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.75); /* Simple dark overlay */
            z-index: 0;
        }

        /* Red gradient overlay */
        .hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 30% 50%, rgba(229, 9, 20, 0.1) 0%, transparent 50%);
            z-index: 1;
        }
        .hero-content {
            flex: 1;
            max-width: 600px;
            z-index: 2;
        }

        .hero h1 {
            font-size: 4rem;
            font-weight: 800;
            margin-bottom: 1rem;
            line-height: 1.1;
        }

        .hero h1 span {
            color: #e50914;
        }

        .typing-container {
            font-size: 2rem;
            font-weight: 600;
            margin-bottom: 2rem;
            height: 60px;
            display: flex;
            align-items: center;
        }

        .typing-text {
            color: #e50914;
            border-right: 3px solid #e50914;
            padding-right: 5px;
            animation: blink 1s infinite;
        }

        @keyframes blink {
            0%, 50% { border-color: #e50914; }
            51%, 100% { border-color: transparent; }
        }

        .hero p {
            font-size: 1.2rem;
            color: #cccccc;
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        .social-icons {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .social-icons a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid #e50914;
            border-radius: 50%;
            color: #e50914;
            font-size: 1.5rem;
            transition: all 0.3s ease;
        }

        .social-icons a:hover {
            background: #e50914;
            color: #ffffff;
            transform: translateY(-3px);
        }

        .cta-button {
            display: inline-block;
            padding: 1rem 2rem;
            background: #e50914;
            color: #ffffff;
            text-decoration: none;
            border-radius: 4px;
            font-weight: 600;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .cta-button::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;
        }

        .cta-button:hover::before {
            left: 100%;
        }

        .cta-button:hover {
            background: #f40612;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(229, 9, 20, 0.3);
        }

        .hero-image {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: bottom center;
            z-index: 2;
        }

        .hero-image img {
            width: 350px;
            height: 350px;
            border-radius: 50%;
            object-fit: fill;
            border: 4px solid #e50914;
            box-shadow: 0 0 50px rgba(229, 9, 20, 0.3);
            transition: transform 0.3s ease;
        }

        .hero-image img:hover {
            transform: scale(1.05);
        }

        /* Hero Buttons */
        .hero-buttons {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
            flex-wrap: wrap;
        }

        .btn-primary,
        .btn-secondary,
        .btn-outline {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 12px 24px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
            cursor: pointer;
            border: 2px solid transparent;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .btn-primary {
            background: linear-gradient(45deg, #e50914, #f40612);
            color: #ffffff;
            border-color: #e50914;
        }

        .btn-primary:hover {
            background: linear-gradient(45deg, #f40612, #e50914);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(229, 9, 20, 0.4);
        }

        .btn-secondary {
            background: transparent;
            color: #ffffff;
            border-color: #ffffff;
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
        }

        .btn-outline {
            background: transparent;
            color: #e50914;
            border-color: #e50914;
        }

        .btn-outline:hover {
            background: #e50914;
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(229, 9, 20, 0.3);
        }

        .btn-primary i,
        .btn-secondary i,
        .btn-outline i {
            font-size: 1rem;
        }

        /* Mobile responsiveness for buttons */
        @media (max-width: 768px) {
            .hero-buttons {
                flex-direction: column;
                align-items: center;
                gap: 0.8rem;
            }
            
            .btn-primary,
            .btn-secondary,
            .btn-outline {
                width: 100%;
                justify-content: center;
                max-width: 250px;
            }
        }

        /* Section Styling */
        section {
            padding: 6rem 4%;
            background: #141414;
        }

        section:nth-child(even) {
            background: #0f0f0f;
        }

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

        .section-title {
            text-align: center;
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 3rem;
            color: #ffffff;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: #e50914;
        }

        /* Creative Text Animation Section */
        .creative-text-section {
            padding: 7rem 0;
            background: #0a0a0a;
            position: relative;
            overflow: hidden;
            min-height: 60vh;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .creative-title-wrapper {
            max-width: 100%;
            width: 100%;
            margin: 0 auto;
            padding: 0 2rem;
            position: relative;
            z-index: 2;
        }
        
        .creative-title-prefix {
            font-size: clamp(2rem, 5vw, 5rem);
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 1rem;
            letter-spacing: -0.03em;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s ease-out 0.2s forwards;
        }
        
        .creative-title {
            font-size: clamp(3rem, 10vw, 9rem);
            font-weight: 900;
            color: #ffffff;
            line-height: 0.9;
            letter-spacing: -0.03em;
            margin-bottom: 2rem;
            display: flex;
            flex-wrap: wrap;
        }
        
        .creative-highlight {
            background: linear-gradient(45deg, #e50914, #f40612);
            color: #ffffff;
            padding: 0 0.2em;
            margin-right: 0.15em;
            opacity: 0;
            transform: translateY(40px);
            animation: fadeInUp 0.8s ease-out 0.4s forwards;
            display: inline-block;
        }
        
        .creative-ampersand {
            color: #ffffff;
            font-style: italic;
            font-weight: 700;
            margin: 0 0.2em;
            opacity: 0;
            transform: translateY(40px);
            animation: fadeInUp 0.8s ease-out 0.6s forwards;
            display: inline-block;
        }
        
        .creative-title-suffix {
            color: #ffffff;
            opacity: 0;
            transform: translateY(40px);
            animation: fadeInUp 0.8s ease-out 0.8s forwards;
            display: inline-block;
        }

        .media-word {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            border-radius: 0.5rem;
            width: clamp(60px, 8vw, 100px);
            height: clamp(40px, 5vw, 60px);
            margin: 0 0.2rem;
            opacity: 0;
            transform: scale(0) rotate(10deg);
            animation: popIn 0.8s ease-out forwards;
            animation-delay: calc(var(--word-index, 0) * 0.2s + 0.3s);
        }

        .media-word video,
        .media-word img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            filter: brightness(0.7);
            transition: all 0.3s ease;
        }

        .media-word:hover video,
        .media-word:hover img {
            filter: brightness(1);
            transform: scale(1.1);
        }

        .word-overlay {
            position: relative;
            z-index: 2;
            font-size: clamp(0.5rem, 1.2vw, 0.9rem);
            font-weight: 900;
            color: #ffffff;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            mix-blend-mode: difference;
        }

        .creative-subtitle {
            margin-top: 2rem;
            text-align: center;
            position: relative;
            z-index: 2;
        }

        .creative-subtitle p {
            font-size: clamp(1rem, 1.5vw, 1.2rem);
            color: #cccccc;
            font-weight: 400;
            letter-spacing: 0.05em;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s ease-out 1s forwards;
        }
        
        .creative-accent-circle {
            position: absolute;
            top: 15%;
            right: 10%;
            width: 150px;
            height: 150px;
            background: #03a9f4;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: #ffffff;
            font-size: 0.9rem;
            font-weight: 600;
            padding: 1.5rem;
            transform: rotate(10deg);
            opacity: 0;
            animation: fadeIn 1s ease-out 1.2s forwards, float-circle 6s ease-in-out infinite;
            box-shadow: 0 10px 30px rgba(3, 169, 244, 0.3);
            z-index: 1;
        }

        /* Additional animations for creative text section */
        @keyframes float-circle {
            0%, 100% {
                transform: rotate(10deg) translateY(0);
            }
            50% {
                transform: rotate(8deg) translateY(-15px);
            }
        }
        /* Animations */
        @keyframes slideUpFade {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes popIn {
            0% {
                opacity: 0;
                transform: scale(0) rotate(10deg);
            }
            50% {
                transform: scale(1.1) rotate(5deg);
            }
            100% {
                opacity: 1;
                transform: scale(1) rotate(0deg);
            }
        }

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

        /* Responsive Design */
        @media (max-width: 768px) {
            .creative-text-section {
                padding: 1.5rem 0;
                min-height: 30vh;
            }
            
            .creative-text-wrapper {
                padding: 0 1.5rem;
            }
            
            .animated-text-line {
                gap: 0.3rem;
                margin: 0.1rem 0;
                justify-content: space-between;
                text-align: justify;
            }
            
            .text-word {
                font-size: clamp(1.2rem, 6vw, 2.5rem);
            }
            
            .media-word {
                width: clamp(50px, 10vw, 80px);
                height: clamp(35px, 7vw, 50px);
                margin: 0.1rem;
            }

            .creative-subtitle p {
                font-size: clamp(0.7rem, 1vw, 0.9rem);
            }
        }

        @media (max-width: 480px) {
            .creative-text-section {
                padding: 1rem 0;
                min-height: 25vh;
            }
            
            .text-word {
                font-size: clamp(1rem, 8vw, 2rem);
            }

            .creative-text-wrapper {
                max-width: 100%;
                padding: 0 1rem;
            }
        }

        /* Skills Section */
        .skills-container {
            margin-top: 40px;
        }

        .skills-category {
            margin-bottom: 50px;
        }

        .skills-category h3 {
            font-size: 1.8rem;
            color: #e50914;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
        }

        .skills-category h3::before {
            content: '';
            width: 30px;
            height: 3px;
            background: linear-gradient(90deg, #e50914, #f40612);
            margin-right: 15px;
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        .skill-item {
            background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
            padding: 25px;
            border-radius: 10px;
            text-align: center;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .skill-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, rgba(229, 9, 20, 0.05), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .skill-item:hover {
            transform: translateY(-5px);
            border-color: #e50914;
            box-shadow: 0 10px 30px rgba(229, 9, 20, 0.2);
        }

        .skill-item:hover::before {
            opacity: 1;
        }

        .skill-name {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: #ffffff;
            z-index: 1;
            position: relative;
        }

        .skill-level {
            font-size: 0.9rem;
            color: #e50914;
            margin-bottom: 15px;
            z-index: 1;
            position: relative;
        }

        .skill-bar {
            width: 100%;
            height: 8px;
            background: #333333;
            border-radius: 4px;
            overflow: hidden;
            z-index: 1;
            position: relative;
        }

        .skill-progress {
            height: 100%;
            background: linear-gradient(90deg, #e50914, #f40612);
            border-radius: 4px;
            transition: width 1s ease;
        }
        /* Skills Slider */
        .skills-slider {
            margin: 4rem 0;
        }

        .slider {
            position: relative;
            overflow: hidden;
            padding: 2rem 0;
            margin: 2rem 0;
        }

        .slider ul {
            display: flex;
            list-style: none;
            width: calc(150px * 16);
            animation: scroll 15s linear infinite;
        }

        .slider li {
            width: 200px;
            height: 100px;
            background: rgba(255, 255, 255, 0.05);
            border: 2px solid #e50914;
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            margin-right: 2rem;
            transition: transform 0.3s ease;
        }

        .slider li:hover {
            transform: translateY(-10px);
            background: rgba(229, 9, 20, 0.1);
        }

        .slider li img {
            width: 40px;
            height: 40px;
            object-fit: contain;
            margin-bottom: 0.5rem;
        }

        .slider li span {
            font-size: 0.9rem;
            font-weight: 500;
            color: #ffffff;
        }

        @keyframes scroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(calc(-150px * 8)); }
        }

        .slider-reverse ul {
            animation: scroll-reverse 20s linear infinite;
        }

        @keyframes scroll-reverse {
            0% { transform: translateX(calc(-150px * 8)); }
            100% { transform: translateX(0); }
        }

        /* Dynamic Projects Section */
        .dynamic-projects {
            position: relative;
            min-height: 100vh;
            padding: 6rem 4%;
            background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
            overflow: hidden;
        }

        .projects-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0.1;
            z-index: 1;
        }

        .floating-elements {
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .floating-elements::before,
        .floating-elements::after {
            content: '';
            position: absolute;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(229, 9, 20, 0.2) 0%, transparent 70%);
            animation: float 20s ease-in-out infinite;
        }

        .floating-elements::before {
            top: 10%;
            left: 10%;
            animation-delay: 0s;
        }

        .floating-elements::after {
            bottom: 10%;
            right: 10%;
            animation-delay: 10s;
        }

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

        .dynamic-projects .container {
            position: relative;
            z-index: 2;
        }

        .dynamic-projects .section-title {
            text-align: center;
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 3rem;
            background: linear-gradient(45deg, #ffffff, #e50914);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* Project Filters */
        .project-filters {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 3rem;
            flex-wrap: wrap;
        }

        .filter-btn {
            background: transparent;
            border: 2px solid rgba(229, 9, 20, 0.3);
            color: #cccccc;
            padding: 0.8rem 1.5rem;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            position: relative;
            overflow: hidden;
        }

        .filter-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, #e50914, #f40612);
            transition: left 0.3s ease;
            z-index: -1;
        }

        .filter-btn:hover {
            color: #ffffff;
            border-color: rgba(229, 9, 20, 0.6);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(229, 9, 20, 0.2);
        }

        .filter-btn:hover::before {
            left: 0;
        }

        .filter-btn.active {
            background: linear-gradient(45deg, #e50914, #f40612);
            border-color: #e50914;
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(229, 9, 20, 0.4);
        }

        .filter-btn.active::before {
            left: 0;
        }

        .filter-btn i {
            font-size: 0.9rem;
        }

        /* Project Card Filter Animation */
        .project-card-modern.hidden {
            opacity: 0;
            transform: scale(0.8) translateY(20px);
            pointer-events: none;
            transition: all 0.3s ease;
        }

        .project-card-modern.visible {
            opacity: 1;
            transform: scale(1) translateY(0);
            pointer-events: all;
            transition: all 0.3s ease;
        }

        /* Mobile responsiveness for filters */
        @media (max-width: 768px) {
            .project-filters {
                gap: 0.8rem;
                margin-bottom: 2rem;
            }
            
            .filter-btn {
                padding: 0.6rem 1rem;
                font-size: 0.8rem;
            }
        }

        /* Particle Effects */
        .particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }

        .particle {
            position: absolute;
            width: 2px;
            height: 2px;
            background: #e50914;
            border-radius: 50%;
            animation: float 8s linear infinite;
        }

       

        @keyframes float {
            0% {
                transform: translateY(100vh) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                transform: translateY(-100vh) rotate(360deg);
                opacity: 0;
            }
        } 
        
        .image-trail{
            position:fixed;
            top: 0;
            left: 0;
            width: 150px;
            height: 150px;
            border-radius:20px;
            object-fit:cover;
            pointer-events:none;
            opacity:0;
            z-index: 10000 !important;
            transform: translate(-50%, -50%) scale(0);
            border: 2px solid red;
            background: red;
            transition: all 0.4s ease;
        }
        @media(max-width:900px){
            .image-trail{
                width: 100px;
                height: 100px;
            }
            
            .cursor-follow-image {
                width: 200px;
                height: 120px;
            }
        }

        /* Education Timeline */
        #education {
            padding: 80px 0;
            background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
        }

        .education-certifications-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        .education-section,
        .certifications-section {
            position: relative;
        }

        .subsection-title {
            color: #e50914;
            font-size: 2rem;
            font-weight: 600;
            text-align: center;
            margin-bottom: 2rem;
            position: relative;
        }

        .subsection-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, #e50914, #f40612);
            border-radius: 2px;
        }

        .education-timeline,
        .certifications-timeline {
            position: relative;
            max-width: 600px;
            margin: 0 auto;
            padding: 2rem 0;
        }

        /* Timeline vertical line */
        .education-timeline::before,
        .certifications-timeline::before {
            content: '';
            position: absolute;
            left: 30px;
            top: 0;
            bottom: 0;
            width: 4px;
            background: linear-gradient(180deg, #e50914, #f40612, #e50914);
            border-radius: 2px;
            box-shadow: 0 0 10px rgba(229, 9, 20, 0.3);
        }

        .timeline-item {
            position: relative;
            margin: 2.5rem 0;
            display: flex;
            align-items: flex-start;
            opacity: 0;
            animation: fadeInUp 0.8s ease-out forwards;
        }

        .timeline-item:nth-child(1) { animation-delay: 0.2s; }
        .timeline-item:nth-child(2) { animation-delay: 0.4s; }
        .timeline-item:nth-child(3) { animation-delay: 0.6s; }

        .timeline-dot {
            position: absolute;
            left: 22px;
            top: 8px;
            width: 20px;
            height: 20px;
            background: linear-gradient(45deg, #e50914, #f40612);
            border: 4px solid #0a0a0a;
            border-radius: 50%;
            z-index: 2;
            box-shadow: 0 0 15px rgba(229, 9, 20, 0.4);
            transition: all 0.3s ease;
        }

        .timeline-dot:hover {
            transform: scale(1.2);
            box-shadow: 0 0 25px rgba(229, 9, 20, 0.6);
        }

        .timeline-content {
            background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
            padding: 1.8rem;
            border-radius: 12px;
            margin-left: 70px;
            position: relative;
            border: 1px solid rgba(229, 9, 20, 0.2);
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
            width: calc(100% - 70px);
        }

        .timeline-content:hover {
            transform: translateY(-3px);
            border-color: rgba(229, 9, 20, 0.5);
            box-shadow: 0 12px 35px rgba(229, 9, 20, 0.1);
        }

        .timeline-content::before {
            content: '';
            position: absolute;
            left: -10px;
            top: 15px;
            width: 0;
            height: 0;
            border: 8px solid transparent;
            border-right-color: #1a1a1a;
        }

        .timeline-content h4 {
            color: #e50914;
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .timeline-content .institution {
            color: #ffffff;
            font-size: 1rem;
            font-weight: 500;
            margin-bottom: 0.5rem;
        }

        .timeline-content .duration {
            color: #cccccc;
            font-size: 0.85rem;
            margin-bottom: 1rem;
            padding: 0.3rem 0.8rem;
            background: rgba(229, 9, 20, 0.1);
            border-radius: 15px;
            display: inline-block;
            border: 1px solid rgba(229, 9, 20, 0.3);
        }

        .timeline-content .description {
            color: #cccccc;
            line-height: 1.6;
            font-size: 0.9rem;
        }

        .timeline-content .description a {
            color: #e50914;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .timeline-content .description a:hover {
            color: #f40612;
            text-decoration: underline;
        }

        /* Mobile responsiveness */
        @media (max-width: 1024px) {
            .education-certifications-wrapper {
                grid-template-columns: 1fr;
                gap: 3rem;
            }
        }

        @media (max-width: 768px) {
            .education-timeline::before,
            .certifications-timeline::before {
                left: 20px;
            }

            .timeline-dot {
                left: 12px;
                width: 16px;
                height: 16px;
            }

            .timeline-content {
                margin-left: 50px;
                width: calc(100% - 50px);
                padding: 1.5rem;
            }

            .timeline-content::before {
                left: -8px;
                top: 12px;
                border-width: 6px;
            }

            .subsection-title {
                font-size: 1.6rem;
            }
        }

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

        /* Contact Section */
        #contact {
            padding: 80px 0;
            background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 100%);
        }

        #contact .section-title {
            text-align: center;
            font-size: 3rem;
            color: #ffffff;
            margin-bottom: 3rem;
            font-weight: 700;
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            max-width: 1200px;
            margin: 0 auto;
            align-items: start;
        }

        .contact-info {
            background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
            border: 2px solid #e50914;
            border-radius: 15px;
            padding: 2.5rem;
            height: fit-content;
        }

        .contact-info h3 {
            color: #ffffff;
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            font-weight: 600;
        }

        .contact-info p {
            color: #cccccc;
            line-height: 1.6;
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
        }

        .contact-info div p {
            color: #ffffff;
            margin-bottom: 1rem;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .contact-form {
            background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
            border: 2px solid rgba(229, 9, 20, 0.3);
            border-radius: 15px;
            padding: 2.5rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            color: #ffffff;
            font-weight: 500;
            margin-bottom: 0.5rem;
            font-size: 1rem;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            background: #2a2a2a;
            border: 1px solid #444;
            border-radius: 8px;
            color: #ffffff;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #e50914;
            background: #333;
            box-shadow: 0 0 10px rgba(229, 9, 20, 0.3);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #888;
        }

        .submit-btn {
            width: 100%;
            padding: 15px;
            background: linear-gradient(45deg, #e50914, #f40612);
            border: none;
            border-radius: 8px;
            color: #ffffff;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .submit-btn:hover {
            background: linear-gradient(45deg, #f40612, #e50914);
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(229, 9, 20, 0.4);
        }

        .submit-btn:active {
            transform: translateY(0);
        }

        /* Mobile responsiveness */
        @media (max-width: 768px) {
            .contact-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            #contact .section-title {
                font-size: 2.5rem;
            }
            
            .contact-info,
            .contact-form {
                padding: 2rem;
            }
        }

        /* Projects Section */
        #projects {
            position: relative;
            padding: 80px 0;
            background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 100%);
        }

        #projects .section-title {
            text-align: center;
            font-size: 3rem;
            color: #ffffff;
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.2rem;
            color: #cccccc;
            margin-bottom: 4rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .project-card-modern {
            background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
            border-radius: 20px;
            padding: 0;
            border: 1px solid rgba(229, 9, 20, 0.2);
            transition: all 0.3s ease;
            overflow: hidden;
            position: relative;
            opacity: 0;
            transform: translateY(50px);
            animation: fadeInUp 0.8s ease-out forwards;
        }

        .project-card-modern:nth-child(1) { animation-delay: 0.1s; }
        .project-card-modern:nth-child(2) { animation-delay: 0.2s; }
        .project-card-modern:nth-child(3) { animation-delay: 0.3s; }
        .project-card-modern:nth-child(4) { animation-delay: 0.4s; }

        .project-card-modern:hover {
            transform: translateY(-10px);
            border-color: rgba(229, 9, 20, 0.5);
            box-shadow: 0 20px 40px rgba(229, 9, 20, 0.15);
        }

        .project-card-modern::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, rgba(229, 9, 20, 0.05), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

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

        .project-header {
            padding: 2rem 2rem 1rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .project-icon {
            font-size: 2.5rem;
            background: linear-gradient(45deg, #e50914, #f40612);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .project-category {
            background: linear-gradient(45deg, #e50914, #f40612);
            color: #ffffff;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .project-content {
            padding: 1.5rem 2rem 2rem;
            position: relative;
            z-index: 1;
        }

        .project-title {
            color: #ffffff;
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .project-subtitle {
            color: #e50914;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .project-card .project-description {
            color: #cccccc;
            line-height: 1.6;
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
            text-align: justify;
            word-spacing: 0.05em;
            hyphens: auto;
            width: 100%;
        }

        .project-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }

        .tech-tag {
            background: rgba(229, 9, 20, 0.1);
            color: #e50914;
            padding: 0.4rem 0.8rem;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 500;
            border: 1px solid rgba(229, 9, 20, 0.3);
            transition: all 0.3s ease;
        }

        .tech-tag:hover {
            background: rgba(229, 9, 20, 0.2);
            transform: translateY(-2px);
        }

        .project-links {
            display: flex;
            gap: 1rem;
        }

        .project-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.8rem 1.2rem;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            flex: 1;
            justify-content: center;
        }

        .project-link.primary {
            background: linear-gradient(45deg, #e50914, #f40612);
            color: #ffffff;
            border: none;
        }

        .project-link.primary:hover {
            background: linear-gradient(45deg, #f40612, #e50914);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(229, 9, 20, 0.4);
        }

        .project-link.secondary {
            background: transparent;
            color: #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .project-link.secondary:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.6);
            transform: translateY(-2px);
        }

        .project-link i {
            font-size: 0.9rem;
        }

        /* Mobile responsiveness */
        @media (max-width: 768px) {
            .projects-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
                padding: 0 1rem;
            }
            
            #projects .section-title {
                font-size: 2.5rem;
            }
            
            .project-header {
                padding: 1.5rem 1.5rem 1rem;
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }
            
            .project-content {
                padding: 1rem 1.5rem 1.5rem;
            }
            
            .project-links {
                flex-direction: column;
                gap: 0.8rem;
            }
        }

        /* Show All Projects Button */
        .show-all-projects-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1.5rem;
            margin-top: 3rem;
            margin-bottom: 1rem;
            position: relative;
            flex-wrap: wrap;
        }
        
        .show-all-projects-btn {
            background: linear-gradient(45deg, #e50914, #f40612);
            color: #ffffff;
            border: none;
            padding: 1.2rem 3rem;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 1rem;
            cursor: pointer;
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 10px 30px rgba(229, 9, 20, 0.5), 0 0 0 rgba(229, 9, 20, 0.2);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        .show-all-projects-btn:hover {
            transform: translateY(-4px) scale(1.05);
            box-shadow: 0 15px 35px rgba(229, 9, 20, 0.6), 0 0 20px rgba(229, 9, 20, 0.3);
        }
        
        .show-all-projects-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, #ff3333, #e50914);
            opacity: 0;
            z-index: -1;
            transform: scale(0.9);
            transition: all 0.4s ease;
        }
        
        .show-all-projects-btn:hover::before {
            opacity: 1;
            transform: scale(1);
        }
        
        .show-all-projects-btn i {
            font-size: 1.2rem;
            transition: transform 0.4s ease;
        }
        
        .show-all-projects-btn:hover i {
            transform: rotate(90deg);
        }
        
        /* Secondary Button Variant */
        .show-all-projects-btn.secondary-btn {
            background: transparent;
            border: 2px solid #e50914;
            color: #e50914;
        }
        
        .show-all-projects-btn.secondary-btn:hover {
            background: linear-gradient(45deg, #e50914, #f40612);
            color: #ffffff;
            border-color: #e50914;
        }
        
        .show-all-projects-btn.secondary-btn::before {
            background: linear-gradient(45deg, #e50914, #f40612);
        }
        
        /* Mobile responsiveness for button container */
        @media (max-width: 768px) {
            .show-all-projects-container {
                flex-direction: column;
                gap: 1rem;
            }
            
            .show-all-projects-btn {
                width: 100%;
                max-width: 280px;
            }
        }

        /* Projects Table Modal - Section Overlay */
        .projects-table-modal {
            display: none;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.95);
            z-index: 999;
            overflow-y: auto;
        }
        
        .projects-table-modal.active {
            display: block !important;
        }
        
        .modal-content {
            margin: 20px auto;
            width: 95%;
            max-width: 1200px;
            background-color: #111;
            border-radius: 16px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem 2rem;
            background: #000;
            border-bottom: 1px solid #333;
        }
        
        .modal-header h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: #fff;
            margin: 0;
        }
        
        .close-modal-btn {
            background: none;
            border: none;
            color: #ffffff;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            outline: none;
        }
        
        .close-modal-btn:hover {
            background-color: rgba(255, 51, 51, 0.2);
            transform: rotate(90deg);
            color: #FF3333;
        }
        
        .projects-table-container {
            padding: 1rem 2rem 2rem;
        }
        
        .projects-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0 12px;
        }
        
        .table-header th {
            text-align: left;
            padding: 1rem 1.5rem;
            color: #888888;
            font-weight: 500;
            font-size: 0.9rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            border-bottom: 1px solid #1a1a1a;
        }
        
        .project-row {
            position: relative;
            transition: all 0.4s ease;
            cursor: pointer;
            background: rgba(30, 30, 30, 0.4);
            border-radius: 0;
            margin: 0;
            border-bottom: 1px solid #1a1a1a;
        }
        
        .project-row td {
            padding: 2rem 1.5rem;
            color: #ffffff;
            border: none;
            position: relative;
            z-index: 1;
            transition: all 0.3s ease;
        }
        
        .project-row:hover {
            background: #FF3333;
            color: #ffffff;
            border-color: #FF3333;
            transform: translateY(-2px);
            box-shadow: 0 0 30px rgba(255, 51, 51, 0.3);
        }
        
        .project-row:hover td {
            color: #ffffff;
        }
        
        .project-name {
            font-weight: 600;
            font-size: 1.1rem;
            width: 20%;
            transition: transform 0.3s ease;
        }
        
        .project-row:hover .project-name {
            transform: translateX(5px);
        }
        
        .project-type {
            font-size: 0.95rem;
            opacity: 0.8;
            width: 20%;
        }
        
        .project-tech-list {
            font-size: 0.95rem;
            opacity: 0.8;
            width: 25%;
        }
        
        /* Separate styles for table description cells */
        .projects-table .project-description {
            font-size: 0.9rem;
            opacity: 0.9;
            width: 35%;
            line-height: 1.5;
            padding-right: 1rem;
            text-align: justify;
            word-spacing: normal;
            hyphens: auto;
            max-width: 300px;
        }
        
        .project-preview-container {
            display: none;
        }
        
        .project-preview {
            position: absolute;
            top: 50%;
            right: 0;
            transform: translate(100%, -50%);
            width: 350px;
            height: 200px;
            background: #1a1a1a;
        }
        
        /* Cursor-following Image Styles */
        .cursor-follow-image {
            position: fixed;
            width: 320px;
            height: 200px;
            border-radius: 8px;
            background-size: cover;
            background-position: center;
            opacity: 0;
            pointer-events: none;
            z-index: 9999;
            transform: translate(-50%, -50%);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            transition: opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
            border: 2px solid rgba(229, 9, 20, 0.5);
        }
        
        /* Mobile Responsive Styles */
        @media (max-width: 768px) {
            .projects-table-container {
                padding: 1rem;
            }
            
            .projects-table th:nth-child(3), /* Technologies column - hide on mobile */
            .projects-table td:nth-child(3) {
                display: none;
            }
            
            .project-name {
                width: 40%;
            }
            
            .project-type {
                width: 25%;
            }
            
            .projects-table .project-description {
                width: 35%;
                font-size: 0.85rem;
                line-height: 1.4;
                text-align: left;
                max-width: none;
            }
            
            .cursor-follow-image {
                width: 200px;
                height: 120px;
            }
        }

        /* Particle Animation */
        @keyframes particle-float {
            0% {
                transform: translateY(0) scale(1);
                opacity: 1;
            }
            50% {
                transform: translateY(-10px) scale(1.1);
                opacity: 0.7;
            }
            100% {
                transform: translateY(0) scale(1);
                opacity: 1;
            }
        }

        .particle {
            position: absolute;
            width: 8px;
            height: 8px;
            background: #e50914;
            border-radius: 50%;
            animation: particle-float 3s ease-in-out infinite;
        }

        .particle:nth-child(1) {
            left: 10%;
            animation-delay: 0s;
        }

        .particle:nth-child(2) {
            left: 20%;
            animation-delay: 0.2s;
        }

        .particle:nth-child(3) {
            left: 30%;
            animation-delay: 0.4s;
        }

        .particle:nth-child(4) {
            left: 40%;
            animation-delay: 0.6s;
        }

        .particle:nth-child(5) {
            left: 50%;
            animation-delay: 0.8s;
        }

        .particle:nth-child(6) {
            left: 60%;
            animation-delay: 1s;
        }

        .particle:nth-child(7) {
            left: 70%;
            animation-delay: 1.2s;
        }

        .particle:nth-child(8) {
            left: 80%;
            animation-delay: 1.4s;
        }

        .particle:nth-child(9) {
            left: 90%;
            animation-delay: 1.6s;
        }

        /* Glitch Effect */
        .glitch {
            position: relative;
            display: inline-block;
            color: #ffffff;
            font-weight: 700;
            font-size: 2rem;
        }

        .glitch::before,
        .glitch::after {
            content: attr(data-text);
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            color: #e50914;
            clip-path: inset(0 0 0 0);
            animation: glitch-anim 3s infinite linear alternate-reverse;
        }

        .glitch::after {
            color: #f40612;
            animation-delay: 0.1s;
        }

        @keyframes glitch-anim {
            0% {
                clip-path: inset(0 0 0 0);
            }
            20% {
                clip-path: inset(10% 0 80% 0);
            }
            40% {
                clip-path: inset(20% 0 60% 0);
            }
            60% {
                clip-path: inset(30% 0 50% 0);
            }
            80% {
                clip-path: inset(40% 0 40% 0);
            }
            100% {
                clip-path: inset(50% 0 50% 0);
            }
        }

        /* Hover Effects */
        .hover-scale {
            transition: transform 0.3s ease;
        }

        .hover-scale:hover {
            transform: scale(1.05);
        }

        .hover-fade {
            transition: opacity 0.3s ease;
        }

        .hover-fade:hover {
            opacity: 0.8;
        }

        .hover-shadow {
            transition: box-shadow 0.3s ease;
        }

        .hover-shadow:hover {
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        /* Text Effects */
        .text-gradient {
            background: linear-gradient(45deg, #e50914, #f40612);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .text-shadow {
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
        }

        /* Border Animation */
        .border-animate {
            position: relative;
            display: inline-block;
            overflow: hidden;
        }

        .border-animate::after {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, #e50914, #f40612);
            transform: translateX(-50%) scaleX(0);
            transition: transform 0.4s ease;
            z-index: 1;
        }

        .border-animate:hover::after {
            transform: translateX(-50%) scaleX(1);
        }

        .border-animate span {
            position: relative;
            z-index: 2;
        }

        /* Background Animation */
        .bg-animate {
            position: relative;
            overflow: hidden;
        }

        .bg-animate::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
            z-index: 1;
        }

        .bg-animate::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 300%;
            height: 300%;
            background: radial-gradient(circle, rgba(229, 9, 20, 0.1) 0%, transparent 70%);
            transform: translate(-50%, -50%) scale(0);
            transition: transform 0.6s ease;
            z-index: 2;
        }

        .bg-animate:hover::after {
            transform: translate(-50%, -50%) scale(1);
        }

        /* Card Hover Effects */
        .card {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
            z-index: 1;
            transition: opacity 0.3s ease;
        }

        .card:hover::before {
            opacity: 0.8;
        }

        .card-content {
            position: relative;
            z-index: 2;
        }

        /* Button Styles */
        .btn {
            display: inline-block;
            padding: 12px 24px;
            background: linear-gradient(45deg, #e50914, #f40612);
            color: #ffffff;
            text-decoration: none;
            border-radius: 25px;
            font-weight: 600;
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .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:hover {
            background: #f40612;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(229, 9, 20, 0.3);
        }

        /* Responsive Utilities */
        @media (max-width: 768px) {
            .container {
                padding: 0 1rem;
            }

            .section-title {
                font-size: 2.5rem;
            }

            .hero h1 {
                font-size: 3rem;
            }

            .hero-content {
                padding: 0 1rem;
            }

            .btn {
                width: 100%;
                max-width: 300px;
                margin: 0 auto;
            }

            .projects-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .project-card-modern {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }

            .project-header {
                flex-direction: column;
                align-items: flex-start;
                padding: 1.5rem;
            }

            .project-title {
                font-size: 1.5rem;
            }

            .project-subtitle {
                font-size: 1rem;
            }

            .project-card .project-description {
                font-size: 0.9rem;
            }

            .project-tech {
                flex-direction: column;
                align-items: center;
                gap: 0.5rem;
            }

            .tech-tag {
                padding: 0.3rem 0.6rem;
                font-size: 0.8rem;
            }

            .project-links {
                flex-direction: column;
                gap: 0.8rem;
            }

            .contact-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            #contact .section-title {
                font-size: 2.5rem;
            }
            
            .contact-info,
            .contact-form {
                padding: 2rem;
            }
        }

        @media (max-width: 480px) {
            .hero h1 {
                font-size: 2.5rem;
            }

            .hero-content {
                padding: 0 0.5rem;
            }

            .btn {
                padding: 10px 20px;
                font-size: 0.9rem;
            }

            .projects-grid {
                gap: 1rem;
            }

            .project-card-modern {
                padding: 1rem;
            }

            .project-title {
                font-size: 1.2rem;
            }

            .project-subtitle {
                font-size: 0.9rem;
            }

            .project-card .project-description {
                font-size: 0.8rem;
            }

            .project-tech {
                flex-direction: row;
                flex-wrap: wrap;
                justify-content: center;
                gap: 0.5rem;
            }

            .tech-tag {
                padding: 0.3rem 0.6rem;
                font-size: 0.7rem;
            }

            .project-links {
                flex-direction: row;
                justify-content: center;
                gap: 1rem;
            }

            .contact-content {
                padding: 1rem;
            }
        }

        /* Animation for page load */
        @keyframes pageLoad {
            0% {
                opacity: 0;
                transform: translateY(10px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Apply page load animation to body */
        body {
            animation: pageLoad 0.8s ease-out forwards;
        }

        /* Animation for fade-in elements */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Apply fade-in animation to specific elements */
        .fade-in {
            opacity: 0;
            animation: fadeIn 0.8s ease-out forwards;
        }

        /* Staggered animation for list items */
        .staggered-list li {
            opacity: 0;
            transform: translateY(10px);
            animation: fadeIn 0.8s ease-out forwards;
        }

        .staggered-list li:nth-child(1) { animation-delay: 0.1s; }
        .staggered-list li:nth-child(2) { animation-delay: 0.2s; }
        .staggered-list li:nth-child(3) { animation-delay: 0.3s; }
        .staggered-list li:nth-child(4) { animation-delay: 0.4s; }
        .staggered-list li:nth-child(5) { animation-delay: 0.5s; }

        /* Hover effects for links */
        a {
            position: relative;
            display: inline-block;
            color: #e50914;
            text-decoration: none;
            overflow: hidden;
        }

        a::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            width: 100%;
            height: 2px;
            background: linear-gradient(45deg, #e50914, #f40612);
            transform: translateX(-50%) scaleX(0);
            transition: transform 0.4s ease;
        }

        a:hover::after {
            transform: translateX(-50%) scaleX(1);
        }

        /* Carousel Styles */
        .carousel-container {
            position: relative;
            overflow: hidden;
            height: auto;
            min-height: 280px;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 4px;
        }

        .carousel-track {
            display: flex;
            align-items: center;
            height: 100%;
            animation: infiniteScroll 25s linear infinite;
            gap: 15px;
            padding: 30px 0;
        }

        .carousel-track:hover {
            animation-play-state: paused;
        }

        @keyframes infiniteScroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        /* Netflix Card Styles */
        .netflix-container {
            padding: 80px 0;
            background: #0f0f0f;
        }

        .netflix-container .section-title {
            text-align: center;
            margin-bottom: 3rem;
            font-size: 3rem;
            color: #fff;
        }

        .netflix-card {
            flex-shrink: 0;
            border-radius: 4px;
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .netflix-card:hover {
            transform: scale(1.05);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
        }

        .netflix-card.wide {
            width: auto;
            height: auto;
        }

        .netflix-card.tall {
            width: auto;
            height: auto;
        }

        .card-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            max-width: none;
            max-height: 240px; /* Set a reasonable max height for the carousel */
        }

        /* Update carousel container to be more flexible */
        .carousel-container {
            position: relative;
            overflow: hidden;
            height: auto;
            min-height: 300px;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 8px;
            padding: 20px 0;
        }

        .carousel-track {
            display: flex;
            align-items: center;
            height: 100%;
            animation: infiniteScroll 25s linear infinite;
            gap: 20px;
            padding: 20px;
        }
