 @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Raleway:wght@300;400;500;600;700&display=swap');

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            text-decoration: none;
            border: none;
            outline: none;
            font-family: 'Raleway', sans-serif;
        }

        html {
            font-size: 62.5%;
            scroll-behavior: smooth;
        }

        body {
            width: 100%;
            min-height: 100vh;
            overflow-x: hidden;
            background-color: #0a0a0a;
            color: white;
            position: relative;
            font-family: 'Raleway', sans-serif;
        }

        /* Advanced Background Animation */
        .bg-animation {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
            overflow: hidden;
        }

        .gradient-bg {
            position: absolute;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0a0a0a 75%, #1a1a2e 100%);
            background-size: 400% 400%;
            animation: gradientShift 15s ease infinite;
        }

        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        @keyframes arrowPulse {
            0% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4); }
            70% { box-shadow: 0 0 0 10px rgba(52, 152, 219, 0); }
            100% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0); }
        }

        .floating-shapes {
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .floating-shapes div {
            position: absolute;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
            animation: float 20s infinite linear;
        }

        .floating-shapes div:nth-child(1) {
            width: 80px;
            height: 80px;
            top: 20%;
            left: 10%;
            animation-delay: 0s;
            background: radial-gradient(circle, rgba(231, 76, 60, 0.1) 0%, transparent 70%);
        }

        .floating-shapes div:nth-child(2) {
            width: 120px;
            height: 120px;
            top: 60%;
            left: 80%;
            animation-delay: -5s;
            animation-duration: 25s;
        }

        .floating-shapes div:nth-child(3) {
            width: 60px;
            height: 60px;
            top: 80%;
            left: 20%;
            animation-delay: -10s;
            background: radial-gradient(circle, rgba(46, 204, 113, 0.1) 0%, transparent 70%);
        }

        .floating-shapes div:nth-child(4) {
            width: 100px;
            height: 100px;
            top: 40%;
            left: 70%;
            animation-delay: -15s;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
            }
            25% {
                transform: translateY(-20px) rotate(90deg);
            }
            50% {
                transform: translateY(0) rotate(180deg);
            }
            75% {
                transform: translateY(20px) rotate(270deg);
            }
        }

        .grid-pattern {
            position: absolute;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(rgba(52, 152, 219, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(52, 152, 219, 0.05) 1px, transparent 1px);
            background-size: 50px 50px;
            opacity: 0.3;
        }

        header {
            margin-top: 0;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 1rem 9%;
            background-color: rgba(10, 10, 10, 0.95);
            backdrop-filter: blur(15px);
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
            border-bottom: 1px solid rgba(52, 152, 219, 0.2);
        }

        .logo {
            font-size: 3.5rem;
            color: #3498db;
            font-weight: 800;
            cursor: pointer;
            transition: 0.5s ease;
            font-family: 'Montserrat', sans-serif;
            text-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
        }

        .logo:hover {
            transform: scale(1.1);
            text-shadow: 0 0 25px rgba(52, 152, 219, 0.8);
        }

        nav a {
            font-size: 1.8rem;
            color: white;
            margin-left: 4rem;
            font-weight: 500;
            transition: 0.3s ease;
            border-bottom: 3px solid transparent;
            padding-bottom: 5px;
            font-family: 'Montserrat', sans-serif;
        }

        nav a:hover,
        nav a.active {
            color: #3498db;
            border-bottom: 3px solid #3498db;
            text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
        }

        .menu-toggle {
            display: none;
            font-size: 2.5rem;
            color: white;
            cursor: pointer;
        }

        section {
            min-height: 100vh;
            padding: 10rem 9% 5rem;
        }

        /* HOME SECTION - FIXED LAYOUT */
        .home {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8rem;
            position: relative;
            overflow: hidden;
        }

        .home-content {
            flex: 1;
            order: 1; /* Content on LEFT side */
        }

        .home-img {
            flex: 1;
            order: 2; /* Image on RIGHT side */
            border-radius: 50%;
            position: relative;
            z-index: 1;
            animation: floatImage 4s ease-in-out infinite;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        @keyframes floatImage {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-15px);
            }
        }

        .home-img img {
            width: 100%;
            max-width: 300px;
            height: auto;
            border-radius: 50%;
            cursor: pointer;
            transition: 0.3s linear;
            border: 5px solid #3498db;
            aspect-ratio: 1/1;
            object-fit: cover;
            background-color: white;
            padding: 5px;
            box-shadow: 0 0 40px rgba(52, 152, 219, 0.5);
        }

        .home-img img:hover {
            transform: scale(1.05);
            box-shadow: 0 0 60px rgba(52, 152, 219, 0.8);
        }

        .home::before {
            content: '';
            position: absolute;
            width: 600px;
            height: 600px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(52, 152, 219, 0.15) 0%, transparent 70%);
            top: -300px;
            right: -300px;
            animation: pulse 4s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 0.3; transform: scale(1); }
            50% { opacity: 0.6; transform: scale(1.05); }
        }

        .home .home-content h1 {
            font-size: 6rem;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 2rem;
            font-family: 'Montserrat', sans-serif;
            color: #3498db; /* Original blue color */
        }

        span {
            color: #3498db;
        }

        .home-content h3 {
            font-size: 4rem;
            margin-bottom: 1rem;
            font-weight: 700;
            font-family: 'Montserrat', sans-serif;
            color: #ffffff; /* White color */
        }

        .home-content > p {
            font-size: 2.3rem;
            line-height: 1.8;
            margin-bottom: 3rem;
            color: #bdc3c7;
            max-width: 600px;
        }

        .contact-info {
            font-size: 2.2rem;
            margin-bottom: 3rem;
            line-height: 1.5;
            color: #ecf0f1;
        }

        .contact-info p {
            margin: 0 0 0.6rem;
            line-height: 1.5;
        }

        .contact-info p:last-child {
            margin-bottom: 0;
        }

        .contact-info i {
            color: #3498db;
            margin-right: 1.2rem;
            width: 24px;
            font-size: 2.6rem;
            vertical-align: middle;
        }

        .contact-info a {
            color: #3498db;
            transition: all 0.3s ease;
            text-decoration: none;
            position: relative;
        }

        .contact-info a:hover {
            color: #2ecc71;
            text-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
        }

        .contact-info a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -2px;
            left: 0;
            background-color: #2ecc71;
            transition: width 0.3s ease;
        }

        .contact-info a:hover::after {
            width: 100%;
        }

        .social-icons {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .social-icons a {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 85px;
            height: 85px;
            background-color: rgba(255, 255, 255, 0.05);
            border: 2px solid rgba(255, 255, 255, 0.1);
            font-size: 3.0rem;
            border-radius: 15px;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            text-decoration: none;
        }

        /* Individual platform colors */
        .linkedin-icon {
            color: #0077B5; /* LinkedIn blue */
        }
        
        .github-icon {
            color: #ffffff; /* GitHub white */
        }
        
        .leetcode-icon {
            color: #FFA116; /* LeetCode orange */
        }
        
        .gfg-icon {
            color: #2F8D46; /* GeeksforGeeks green */
        }
        
        .medium-icon {
            color: #ffffff; /* Medium white */
        }

        .freelance-icon {
            color: #2ecc71;
        }

        .social-icons a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transition: 0.5s;
        }

        .social-icons a:hover::before {
            left: 100%;
        }

        .social-icons a:hover {
            transform: translateY(-10px) scale(1.1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }

        /* Platform-specific hover backgrounds */
        .social-icons a[href*="linkedin"]:hover {
            background-color: #0077B5;
            border-color: #0077B5;
        }
        
        .social-icons a[href*="github"]:hover {
            background-color: #333333;
            border-color: #333333;
        }
        
        .social-icons a[href*="leetcode"]:hover {
            background-color: #FFA116;
            border-color: #FFA116;
        }
        
        .social-icons a[href*="geeksforgeeks"]:hover {
            background-color: #2F8D46;
            border-color: #2F8D46;
        }
        
        .social-icons a[href*="medium"]:hover {
            background-color: #00ab6c;
            border-color: #00ab6c;
        }

        .social-icons a[href*="rkfreelance"]:hover {
            background-color: #2ecc71;
            border-color: #2ecc71;
        }

        /* Platform name below icon */
        .platform-name {
            font-size: 1.1rem;
            color: #bdc3c7;
            margin-top: 8px;
            font-weight: 500;
            text-align: center;
            transition: all 0.3s ease;
            font-family: 'Montserrat', sans-serif;
        }

        .social-icons a:hover .platform-name {
            color: white;
            font-weight: 600;
        }

        /* Icon styling */
        .social-icons a i {
            transition: all 0.3s ease;
        }

        .social-icons a:hover i {
            color: white !important;
        }

        .social-icons a svg {
            width: 1em;
            height: 1em;
            transition: all 0.3s ease;
        }

        .social-icons a:hover svg {
            fill: white !important;
        }

        .leetcode-icon svg {
            fill: #FFA116;
        }

        .gfg-icon svg {
            fill: #2F8D46;
        }

        .btn {
            display: inline-block;
            padding: 1.2rem 2.8rem;
            background: linear-gradient(45deg, #3498db, #2ecc71);
            border-radius: 50px;
            font-size: 1.6rem;
            color: white;
            letter-spacing: 0.2rem;
            font-weight: 600;
            transition: all 0.4s ease;
            cursor: pointer;
            margin-top: 2rem;
            position: relative;
            overflow: hidden;
            border: none;
            font-family: 'Montserrat', sans-serif;
            text-transform: uppercase;
            box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
        }

        .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: 0.5s;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 15px 40px rgba(52, 152, 219, 0.5);
            background: linear-gradient(45deg, #2ecc71, #3498db);
        }

        .views-counter-btn {
            position: absolute;
            top: 14rem;
            right: 9%;
            z-index: 10;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1rem 2.2rem;
            background: rgba(10, 10, 10, 0.6);
            border: 2px solid rgba(46, 204, 113, 0.3);
            border-radius: 50px;
            font-size: 1.5rem;
            color: #2ecc71;
            font-weight: 600;
            gap: 0.8rem;
            font-family: 'Montserrat', sans-serif;
            box-shadow: 0 10px 30px rgba(46, 204, 113, 0.1);
            backdrop-filter: blur(10px);
            transition: all 0.4s ease;
            cursor: default;
        }

        .views-counter-btn i {
            font-size: 1.7rem;
        }

        .views-counter-btn:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 15px 40px rgba(46, 204, 113, 0.3);
            border-color: #2ecc71;
            background: rgba(46, 204, 113, 0.1);
        }

        .home-btns,
        .contact-btns {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .home-btns .btn,
        .contact-btns .btn {
            margin-top: 0;
        }

        .btn-freelance {
            padding: 1.2rem 2.6rem;
            font-size: 1.5rem;
            letter-spacing: 0.1rem;
            background: linear-gradient(45deg, #2ecc71, #27ae60);
            box-shadow: 0 6px 20px rgba(46, 204, 113, 0.25);
        }

        .btn-freelance:hover {
            background: linear-gradient(45deg, #27ae60, #2ecc71);
            box-shadow: 0 10px 28px rgba(46, 204, 113, 0.4);
        }

        .typing-text {
            font-size: 3.5rem;
            font-weight: 700;
            min-width: 280px;
            height: 6rem;
            display: flex;
            align-items: center;
            margin-bottom: 3rem;
            font-family: 'Montserrat', sans-serif;
        }

        .typing-text span {
            position: relative;
        }

        .typing-text span::before {
            content: "Software Developer";
            color: #3498db;
            animation: words 20s infinite;
            text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
        }

        .typing-text span::after {
            content: "";
            background-color: #0a0a0a;
            position: absolute;
            width: calc(100% + 8px);
            height: 100%;
            border-left: 3px solid #3498db;
            right: -8px;
            animation: cursor 0.8s infinite;
        }

        @keyframes cursor {
            0%, 100% {
                border-left: 3px solid #3498db;
            }
            50% {
                border-left: 3px solid transparent;
            }
        }

         @keyframes words {
            0%, 20% {
                content: "Software Developer";
            }
            21%, 40% {
                content: "Java Full Stack Developer";
            }
            41%, 60% {
                content: "AI & Data Science Student";
            }
            61%, 80% {
                content: "Problem Solver";
            }
            81%, 100% {
                content: "Web Developer";
            }
        } 

        .interests {
            font-size: 2.2rem;
            color: #2ecc71;
            margin-bottom: 2rem;
            font-weight: 600;
            font-family: 'Montserrat', sans-serif;
            height: 3.2rem;
            display: flex;
            align-items: center;
        }

        .interests span {
            position: relative;
        }

        .interests span::before {
            content: "Modern Software Development";
            color: #2ecc71;
            animation: interestWords 12s infinite;
            text-shadow: 0 0 10px rgba(46, 204, 113, 0.4);
        }

        .interests span::after {
            content: "";
            display: inline-block;
            width: 3px;
            height: 2rem;
            background-color: #2ecc71;
            margin-left: 8px;
            vertical-align: middle;
            animation: interestCursor 0.8s infinite;
        }

        @keyframes interestCursor {
            0%, 100% {
                opacity: 1;
            }
            50% {
                opacity: 0;
            }
        }

        @keyframes interestWords {
            0%, 30% {
                content: "Modern Software Development";
            }
            33%, 63% {
                content: "Full Stack Developer";
            }
            66%, 96% {
                content: "AI Enthusiast";
            }
        }

        /* Experience Section - REPLACED ABOUT */
        .experience {
            background-color: rgba(26, 26, 46, 0.5);
            position: relative;
            overflow: hidden;
        }

        .experience::before {
            content: '';
            position: absolute;
            width: 400px;
            height: 400px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(46, 204, 113, 0.1) 0%, transparent 70%);
            bottom: -200px;
            left: -200px;
        }

        .heading {
            font-size: 6rem;
            text-align: center;
            margin-bottom: 6rem;
            position: relative;
            font-family: 'Montserrat', sans-serif;
            background: linear-gradient(45deg, #3498db, #2ecc71);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .heading::after {
            content: '';
            position: absolute;
            width: 150px;
            height: 5px;
            background: linear-gradient(45deg, #3498db, #2ecc71);
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 5px;
        }

        .experience-content {
            max-width: 900px;
            margin: 0 auto;
        }

        .experience-item {
            background: rgba(255, 255, 255, 0.05);
            padding: 4rem;
            border-radius: 20px;
            margin-bottom: 4rem;
            border: 1px solid rgba(52, 152, 219, 0.2);
            backdrop-filter: blur(10px);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .experience-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(52, 152, 219, 0.2);
            border-color: #3498db;
        }

        .experience-item::before {
            content: '';
            position: absolute;
            top: 0;
            right: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
            transition: 0.5s;
        }

        .experience-item:hover::before {
            left: 100%;
        }

        .experience-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2.5rem;
            flex-wrap: wrap;
            gap: 2rem;
        }

        .experience-header h3 {
            font-size: 2.8rem;
            color: #3498db;
            font-family: 'Montserrat', sans-serif;
        }

        .experience-date {
            font-size: 1.8rem;
            color: #2ecc71;
            font-weight: 600;
            background: rgba(46, 204, 113, 0.1);
            padding: 0.8rem 2rem;
            border-radius: 30px;
            border: 1px solid rgba(46, 204, 113, 0.3);
        }

        .experience-details {
            font-size: 1.8rem;
            line-height: 1.8;
            color: #ecf0f1;
        }

        .experience-details p {
            margin-bottom: 1.5rem;
        }

        .experience-details ul {
            margin-left: 2rem;
            margin-bottom: 2rem;
            list-style: none;
        }

        .experience-details li {
            margin-bottom: 1rem;
            position: relative;
            padding-left: 2rem;
        }

        .experience-details li::before {
            content: '▸';
            color: #3498db;
            position: absolute;
            left: 0;
            font-weight: bold;
        }

        /* Education Section */
        .education {
            background-color: rgba(10, 10, 10, 0.8);
            position: relative;
        }

        .timeline {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
        }

        .timeline::after {
            content: '';
            position: absolute;
            width: 6px;
            background: linear-gradient(to bottom, #3498db, #2ecc71);
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -3px;
            border-radius: 3px;
        }

        .timeline-item {
            padding: 10px 40px;
            position: relative;
            width: 50%;
            box-sizing: border-box;
            margin-bottom: 5rem;
            opacity: 0;
            transform: translateY(60px) scale(0.92);
            transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.15), opacity 0.8s ease;
        }

        .timeline-item.visible {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .timeline-item:nth-child(odd) {
            left: 0;
            padding-right: 70px;
        }

        .timeline-item:nth-child(even) {
            left: 50%;
            padding-left: 70px;
        }

        .timeline-content {
            padding: 3rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            border-left: 5px solid #3498db;
            position: relative;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(52, 152, 219, 0.2);
            transition: all 0.4s ease;
        }

        .timeline-content:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(52, 152, 219, 0.2);
            border-color: #3498db;
        }

        .timeline-content h3 {
            font-size: 2.8rem;
            margin-bottom: 1rem;
            color: #3498db;
            font-family: 'Montserrat', sans-serif;
        }

        .college-title {
            display: flex;
            align-items: center;
            gap: 1.2rem;
            text-align: left;
        }

        .college-logo {
            width: 5.2rem;
            height: 5.2rem;
            object-fit: contain;
            flex-shrink: 0;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.95);
            padding: 0.4rem;
        }

        .timeline-content p {
            font-size: 1.8rem;
            margin-bottom: 0.8rem;
            color: #ecf0f1;
        }

        .timeline-content .date {
            font-size: 1.6rem;
            color: #2ecc71;
            font-style: italic;
            font-weight: 500;
        }

        .timeline-item:nth-child(odd) .timeline-content {
            border-left: 5px solid #3498db;
        }

        .timeline-item:nth-child(even) .timeline-content {
            border-right: 5px solid #2ecc71;
            border-left: none;
        }

        .timeline-item::after {
            content: '';
            position: absolute;
            width: 25px;
            height: 25px;
            background: linear-gradient(45deg, #3498db, #2ecc71);
            border: 4px solid #0a0a0a;
            border-radius: 50%;
            top: 15px;
            z-index: 1;
            transition: transform 0.4s ease;
        }

        .timeline-item.visible::after {
            animation: pulseDot 2s infinite;
        }

        @keyframes pulseDot {
            0% {
                box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
            }
        }

        .timeline-item:nth-child(odd)::after {
            right: -12px;
        }

        .timeline-item:nth-child(even)::after {
            left: -12px;
        }

        .college-link {
            display: inline-block;
            margin-top: 1rem;
            color: #2ecc71;
            font-size: 1.6rem;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
        }

        .college-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -2px;
            left: 0;
            background-color: #2ecc71;
            transition: width 0.3s ease;
        }

        .college-link:hover {
            color: #3498db;
        }

        .college-link:hover::after {
            width: 100%;
        }

        /* Skills Section */
        .skills {
            background-color: rgba(26, 26, 46, 0.5);
        }

        .skills-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 3rem;
        }

        .skill-category {
            background-color: rgba(255, 255, 255, 0.05);
            padding: 3rem;
            border-radius: 15px;
            transition: transform 0.3s ease;
            border: 1px solid rgba(52, 152, 219, 0.2);
            backdrop-filter: blur(10px);
        }

        .skill-category:hover {
            transform: translateY(-10px);
            border-color: #3498db;
            box-shadow: 0 15px 40px rgba(52, 152, 219, 0.2);
        }

        .skill-category h3 {
            font-size: 2.5rem;
            margin-bottom: 2rem;
            color: #3498db;
            text-align: center;
            font-family: 'Montserrat', sans-serif;
        }

        .skill-items {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            justify-content: center;
        }

        .skill-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 80px;
            height: 80px;
            background-color: rgba(37, 37, 37, 0.5);
            border-radius: 10px;
            transition: all 0.3s ease;
            border: 1px solid rgba(52, 152, 219, 0.1);
        }

        .skill-item:hover {
            background-color: rgba(52, 152, 219, 0.2);
            transform: scale(1.1);
            border-color: #3498db;
        }

        .skill-item i {
            font-size: 3rem;
            margin-bottom: 5px;
        }

        .skill-item img.skill-icon-img {
            width: 3rem;
            height: 3rem;
            object-fit: contain;
            margin-bottom: 5px;
        }

        .skill-item span {
            font-size: 1.2rem;
            color: white;
        }

        /* Projects Section */
        .projects {
            background-color: rgba(10, 10, 10, 0.8);
        }

        .projects-carousel {
            position: relative;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0;
        }

        .projects-carousel-viewport {
            overflow: visible;
            width: 100%;
        }

        .projects-carousel-track {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 4rem;
            width: 100%;
        }

        .project-slide {
            display: flex;
            flex-direction: column;
        }

        .projects-nav {
            display: none !important;
        }

        .projects-controls {
            display: none !important;
        }

        .project-card {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(52, 152, 219, 0.2);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 3rem;
            display: flex;
            flex-direction: column;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            height: 100%;
            width: 100%;
        }

        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(52, 152, 219, 0.3);
            border-color: #3498db;
        }

        .project-image {
            width: 100%;
            height: 180px;
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 2rem;
            background-size: cover;
            background-position: center;
        }

        .project-card h3 {
            font-size: 2.2rem;
            color: #3498db;
            margin-bottom: 1.5rem;
            font-family: 'Montserrat', sans-serif;
            text-align: center;
        }

        .project-card p {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            color: #bdc3c7;
            text-align: center;
            flex-grow: 1;
        }

        .project-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            justify-content: center;
            margin-bottom: 2rem;
        }

        .tech-tag {
            background: linear-gradient(45deg, #3498db, #2ecc71);
            color: white;
            padding: 0.5rem 1.5rem;
            border-radius: 20px;
            font-size: 1.2rem;
            font-weight: 500;
        }

        .tech-icons {
            display: flex;
            flex-wrap: wrap;
            gap: 1.2rem;
            align-items: center;
        }

        .tech-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 4.4rem;
            height: 4.4rem;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 12px;
            transition: all 0.3s ease;
            cursor: default;
        }

        .tech-icon i {
            font-size: 2.4rem;
            line-height: 1;
        }

        .tech-icon:hover {
            transform: translateY(-4px) scale(1.08);
            background: rgba(52, 152, 219, 0.15);
            border-color: #3498db;
            box-shadow: 0 8px 20px rgba(52, 152, 219, 0.25);
        }

        /* LeetCode Section */
        .leetcode {
            background-color: rgba(26, 26, 46, 0.45);
        }

        .lc-section-header {
            text-align: center;
            margin-bottom: 5rem;
        }

        .lc-main-title {
            font-size: 4.5rem;
            font-weight: 700;
            font-family: 'Montserrat', sans-serif;
            background: linear-gradient(90deg, #3498db, #fff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1.5rem;
        }

        .lc-main-title span {
            background: linear-gradient(90deg, #3498db, #2ecc71);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .lc-tagline {
            font-size: 1.8rem;
            color: #bdc3c7;
            margin-bottom: 2rem;
        }

        .lc-header-line {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            max-width: 420px;
            margin: 0 auto;
        }

        .lc-header-line span {
            flex: 1;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.6), transparent);
        }

        .lc-header-line i {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #3498db;
            box-shadow: 0 0 10px #3498db;
            flex-shrink: 0;
        }

        .leetcode-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .lc-widget {
            background: rgba(20, 20, 35, 0.9);
            border: 1px solid rgba(52, 152, 219, 0.25);
            border-radius: 20px;
            padding: 1.5rem;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
        }

        .lc-leetcard-link {
            display: block;
            border-radius: 14px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .lc-leetcard-link:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 30px rgba(255, 161, 22, 0.2);
        }

        .lc-leetcard-img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 14px;
        }

        .lc-journey h3 {
            font-size: 3rem;
            color: #3498db;
            margin-bottom: 2rem;
            font-family: 'Montserrat', sans-serif;
        }

        .lc-journey p {
            font-size: 1.7rem;
            line-height: 1.8;
            color: #bdc3c7;
            margin-bottom: 1.5rem;
        }

        .lc-view-btn {
            display: inline-flex;
            align-items: center;
            gap: 1rem;
            margin-top: 1.5rem;
            padding: 1.4rem 3rem;
            background: linear-gradient(45deg, #3498db, #2980b9);
            color: #fff;
            border-radius: 12px;
            font-size: 1.6rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            font-family: 'Montserrat', sans-serif;
            box-shadow: 0 8px 25px rgba(52, 152, 219, 0.35);
        }

        .lc-view-btn:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 35px rgba(52, 152, 219, 0.5);
        }

        .project-links {
            display: flex;
            justify-content: center;
            width: 100%;
            margin-top: auto;
        }

        .project-link {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: space-between;
            gap: 1.4rem;
            min-width: 22rem;
            padding: 1.15rem 2rem;
            color: #07111f;
            background: linear-gradient(135deg, #3498db 0%, #2ecc71 100%);
            border: 2px solid rgba(255, 255, 255, 0.22);
            border-radius: 999px;
            font-size: 1.35rem;
            font-weight: 800;
            line-height: 1;
            text-transform: uppercase;
            letter-spacing: 1.4px;
            text-decoration: none;
            box-shadow:
                0 0 0 5px #111827,
                0 0 0 7px rgba(52, 152, 219, 0.18),
                0 12px 24px rgba(46, 204, 113, 0.24);
            overflow: hidden;
            isolation: isolate;
            transition:
                transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.28s ease,
                filter 0.28s ease;
            will-change: transform;
        }

        .project-link::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.5) 18%, transparent 34%);
            transform: translateX(-130%);
            transition: transform 0.65s ease;
            z-index: 0;
        }

        .project-link:hover {
            transform: translateY(-4px);
            filter: saturate(1.08);
            box-shadow:
                0 0 0 5px #111827,
                0 0 0 7px rgba(46, 204, 113, 0.24),
                0 18px 34px rgba(52, 152, 219, 0.36);
        }

        .project-link:hover::before {
            transform: translateX(130%);
        }

        .project-link:active {
            transform: translateY(-1px) scale(0.98);
        }

        .project-link:focus-visible {
            outline: 3px solid #2ecc71;
            outline-offset: 8px;
        }

        .project-link-icon,
        .project-link-open {
            position: relative;
            z-index: 1;
            flex: 0 0 auto;
            font-size: 1.55rem;
            color: #07111f;
            transition: transform 0.28s ease;
        }

        .project-link-text {
            color: #000;
            font-weight: 900;
            text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
            position: relative;
            z-index: 1;
            flex: 1;
            text-align: center;
            white-space: nowrap;
        }

        .project-link:hover .project-link-icon {
            transform: rotate(-12deg) scale(1.08);
        }

        .project-link:hover .project-link-open {
            transform: translate(3px, -3px);
        }

        @media (prefers-reduced-motion: reduce) {
            .project-link,
            .project-link::before,
            .project-link-icon,
            .project-link-open {
                transition-duration: 0.01ms;
            }
        }

        .demo-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: linear-gradient(45deg, #e74c3c, #f39c12);
            color: white;
            padding: 0.5rem 1.5rem;
            border-radius: 20px;
            font-size: 1.2rem;
            font-weight: 600;
            z-index: 10;
        }

        /* Certifications Section */
        .certifications {
            background-color: rgba(26, 26, 46, 0.5);
        }

        .cert-carousel {
            position: relative;
            width: 100%;
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 5.5rem;
        }

        .cert-carousel-viewport {
            overflow: hidden;
            width: 100%;
            min-height: 500px;
            border-radius: 20px;
            cursor: grab;
            user-select: none;
        }

        .cert-carousel-viewport.is-dragging {
            cursor: grabbing;
        }

        .cert-carousel-track {
            display: flex;
            transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            will-change: transform;
        }

        .cert-carousel-track.no-transition {
            transition: none;
        }

        .cert-slide {
            flex: 0 0 50%;
            width: 50%;
            min-width: 0;
            box-sizing: border-box;
            padding: 0 0.8rem;
        }

        @media (max-width: 991px) {
            .cert-carousel {
                max-width: 560px;
            }

            .cert-slide {
                flex: 0 0 100%;
                width: 100%;
                padding: 0;
            }
        }

        .cert-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 4rem;
            height: 4rem;
            border-radius: 50%;
            border: 1px solid rgba(52, 152, 219, 0.4);
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
            font-size: 1.6rem;
            cursor: pointer;
            z-index: 2;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .cert-nav:hover {
            background: rgba(52, 152, 219, 0.3);
            border-color: #3498db;
        }

        .cert-prev { left: 0; }
        .cert-next { right: 0; }

        .cert-dots {
            display: flex;
            justify-content: center;
            gap: 0.8rem;
            margin-top: 2.5rem;
            flex-wrap: wrap;
        }

        .cert-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            border: none;
            background: rgba(255, 255, 255, 0.25);
            cursor: pointer;
            padding: 0;
            transition: all 0.3s ease;
        }

        .cert-dot.active {
            background: #3498db;
            transform: scale(1.25);
            box-shadow: 0 0 10px rgba(52, 152, 219, 0.6);
        }

        .cert-counter {
            text-align: center;
            font-size: 1.4rem;
            color: #7f8c8d;
            margin-top: 1.2rem;
            font-family: 'Montserrat', sans-serif;
        }

        .cert-card {
            background: rgba(255, 255, 255, 0.05);
            padding: 2.5rem;
            border-radius: 20px;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid rgba(52, 152, 219, 0.2);
            backdrop-filter: blur(10px);
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            width: 100%;
            min-height: 480px;
            box-sizing: border-box;
        }

        .cert-card:hover {
            box-shadow: 0 16px 36px rgba(52, 152, 219, 0.25);
            border-color: #3498db;
        }

        .cert-img {
            width: 100%;
            height: 220px;
            overflow: hidden;
            border-radius: 10px;
            margin-bottom: 2rem;
            background-color: rgba(0, 0, 0, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .cert-img img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 5px;
        }

        .cert-card h3 {
            font-size: 2rem;
            color: #3498db;
            margin-bottom: 1.2rem;
            min-height: auto;
            font-family: 'Montserrat', sans-serif;
            line-height: 1.3;
        }

        .cert-card p {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            flex-grow: 1;
            color: #ecf0f1;
            line-height: 1.6;
        }

        .cert-link {
            background: linear-gradient(45deg, #3498db, #2ecc71);
            color: white;
            padding: 1rem 2.5rem;
            border-radius: 30px;
            font-size: 1.6rem;
            font-weight: 600;
            text-align: center;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .cert-link:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
        }

        /* Contact Section */
        .contact {
            background-color: rgba(10, 10, 10, 0.8);
            text-align: center;
            min-height: auto;
            padding-bottom: 6rem;
        }

        .contact-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .contact-info-large {
            font-size: 2.2rem;
            margin-bottom: 2.5rem;
            line-height: 1.8;
            color: #ecf0f1;
        }

        .contact-info-large p {
            margin: 0 0 0.8rem;
        }

        .contact-info-large p:last-child {
            margin-bottom: 0;
        }

        .contact-info-large i {
            color: #3498db;
            margin-right: 1.5rem;
            width: 25px;
        }

        .contact-info-large a {
            color: #3498db;
            transition: all 0.3s ease;
            text-decoration: none;
            position: relative;
        }

        .contact-info-large a:hover {
            color: #2ecc71;
            text-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
        }

        .contact-info-large a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -2px;
            left: 0;
            background-color: #2ecc71;
            transition: width 0.3s ease;
        }

        .contact-info-large a:hover::after {
            width: 100%;
        }

        .contact-social-icons {
            display: flex;
            justify-content: center;
            gap: 3rem;
            margin-bottom: 0;
        }

        .contact-social-icons a {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            width: 7rem;
            height: 7rem;
            background-color: rgba(255, 255, 255, 0.05);
            border: 2px solid rgba(52, 152, 219, 0.3);
            font-size: 3rem;
            border-radius: 50%;
            transition: all 0.4s ease;
            color: #3498db;
            position: relative;
            overflow: hidden;
        }

        .contact-social-icons a::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: 0.5s;
        }

        .contact-social-icons a:hover::before {
            left: 100%;
        }

        .contact-social-icons a:hover {
            color: white;
            transform: translateY(-10px) scale(1.1);
            background-color: #3498db;
            border-color: #3498db;
            box-shadow: 0 10px 30px rgba(52, 152, 219, 0.5);
        }

        footer {
            background-color: rgba(26, 26, 46, 0.8);
            padding: 4rem 0;
            text-align: center;
            font-size: 1.8rem;
            color: #bdc3c7;
            border-top: 1px solid rgba(52, 152, 219, 0.2);
        }

        footer p {
            margin-bottom: 1rem;
        }

        footer a {
            color: #2ecc71;
            transition: color 0.3s ease;
        }

        footer a:hover {
            color: #3498db;
        }

        /* Responsive Design */
        @media(max-width: 1200px) {
            .home {
                gap: 4rem;
            }
            
            html {
                font-size: 55%;
            }
            
            .timeline::after {
                left: 31px;
            }
            
            .timeline-item {
                width: 100%;
                padding-left: 70px;
                padding-right: 15px;
                margin-bottom: 3rem;
            }

            .timeline-item:nth-child(odd) {
                padding-right: 15px;
            }
            
            .timeline-item:nth-child(even) {
                left: 0;
                padding-left: 70px;
            }
            
            .timeline-item:nth-child(odd)::after,
            .timeline-item:nth-child(even)::after {
                left: 18px;
                right: auto;
            }

            .timeline-item:nth-child(even) .timeline-content {
                border-left: 5px solid #2ecc71;
                border-right: none;
            }

            .college-title {
                align-items: flex-start;
                gap: 1rem;
            }

            .timeline-content h3,
            .timeline-content .college-title {
                font-size: 2.2rem;
                line-height: 1.35;
            }
        }

        @media(max-width: 995px) {
            .menu-toggle {
                display: block;
                position: relative;
                z-index: 1001;
            }

            nav {
                position: fixed;
                top: 0;
                right: -100%;
                width: 70%;
                height: 100vh;
                background-color: rgba(10, 10, 10, 0.98);
                backdrop-filter: blur(20px);
                flex-direction: column;
                justify-content: flex-start;
                padding-top: 15rem;
                transition: right 0.5s ease;
                z-index: 999;
                border-left: 3px solid #3498db;
            }

            nav.active {
                right: 0;
            }

            nav a {
                display: block;
                font-size: 2.5rem;
                margin: 2.5rem 0;
                text-align: center;
                padding: 1rem;
            }

            nav a:hover,
            nav a.active {
                padding: 1rem;
                border-radius: 0.5rem;
                border-bottom: 0.5rem solid #3498db;
            }

            .home {
                flex-direction: column;
                text-align: center;
                gap: 3rem;
                padding-top: 10rem;
                padding-bottom: 3rem;
            }

            .home-content {
                order: 2;
            }

            .home-img {
                order: 1;
            }

            .home-img img {
                width: 65vw;
                max-width: 320px;
            }

            .home .home-content h3 {
                font-size: 3.5rem;
            }

            .home-content h1 {
                font-size: 4.2rem;
            }

            .home .home-content h1 span {
                font-size: 0.92em;
            }

            .home-content > p {
                margin-bottom: 2rem;
                font-size: 2.0rem;
            }

            .typing-text {
                font-size: 3rem;
                height: 5rem;
                justify-content: center;
            }

            .interests {
                justify-content: center;
            }
            
            .social-icons {
                justify-content: center;
            }

            .home .social-icons {
                flex-wrap: nowrap;
                justify-content: center;
                gap: 1.2rem;
                width: 100%;
                margin-bottom: 3rem;
            }

            .home .social-icons a {
                flex: 1 1 0;
                min-width: 0;
                max-width: 9.5rem;
                width: auto;
                height: 9.5rem;
                font-size: 3.4rem;
                border-radius: 14px;
            }

            .home .social-icons .platform-name {
                font-size: 1.3rem;
                margin-top: 0.5rem;
            }

            .home-btns {
                justify-content: center;
                margin-top: 1.5rem;
            }

            .home-btns .btn {
                padding: 1.3rem 3.0rem;
                font-size: 1.6rem;
                letter-spacing: 0.12rem;
            }

            .views-counter-btn {
                position: absolute;
                top: 12rem;
                left: 5%;
                right: auto;
                z-index: 10;
                padding: 0.8rem 1.8rem;
                font-size: 1.3rem;
            }

            .views-counter-btn i {
                font-size: 1.5rem;
            }
            
            .contact-social-icons {
                flex-wrap: wrap;
            }
        }

        @media(max-width: 768px) {
            section {
                padding: 10rem 5% 4rem;
            }

            .home {
                padding-top: 9rem;
                padding-bottom: 2rem;
                gap: 2rem;
            }

            .home-img {
                animation: none;
            }

            .home .home-content h1 {
                font-size: 3.4rem;
            }

            .home .home-content h1 span {
                font-size: 0.9em;
            }

            .home .contact-info {
                display: block;
                margin-bottom: 1.5rem;
            }

            .home .contact-info p {
                margin-bottom: 0.6rem;
                font-size: 2.0rem;
            }

            .home .contact-info i {
                font-size: 2.4rem;
                width: 22px;
                margin-right: 1rem;
            }

            .home .home-content p {
                margin-bottom: 1.5rem;
                font-size: 1.9rem;
            }

            .home .social-icons {
                margin-bottom: 2rem;
                gap: 1rem;
            }

            .home .social-icons a {
                max-width: 8.5rem;
                height: 8.5rem;
                font-size: 3.0rem;
                border-radius: 12px;
            }

            .home .social-icons .platform-name {
                font-size: 1.2rem;
                margin-top: 0.4rem;
            }

            .heading {
                font-size: 5rem;
            }

            .skills-container {
                grid-template-columns: 1fr;
            }

            .projects-carousel-track {
                display: flex;
                flex-direction: row;
                flex-wrap: nowrap;
                width: auto;
                gap: 0;
                transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
                will-change: transform;
            }

            .projects-carousel-track.no-transition {
                transition: none;
            }

            .project-slide {
                flex: 0 0 100%;
                width: 100%;
                padding: 0;
            }

            .projects-carousel {
                padding: 0 3.5rem;
            }

            .projects-carousel-viewport {
                overflow: hidden;
                padding: 2.5rem 0;
            }

            .project-slide .project-card {
                transform: scale(0.92);
                opacity: 0.5;
                transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
            }

            .project-slide.active .project-card {
                transform: scale(1);
                opacity: 1;
            }

            .projects-nav {
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                width: 4rem;
                height: 4rem;
                border-radius: 50%;
                border: 1px solid rgba(52, 152, 219, 0.3);
                background: rgba(10, 10, 10, 0.3);
                backdrop-filter: blur(8px);
                -webkit-backdrop-filter: blur(8px);
                color: rgba(255, 255, 255, 0.8);
                font-size: 1.6rem;
                cursor: pointer;
                z-index: 10;
                display: flex !important;
                align-items: center;
                justify-content: center;
                transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
                animation: arrowPulse 2s infinite;
            }

            .projects-nav:hover {
                background: rgba(52, 152, 219, 0.2);
                border-color: #3498db;
                color: #fff;
                box-shadow: 0 0 15px rgba(52, 152, 219, 0.4);
            }

            .projects-prev { left: 0.8rem; }
            .projects-next { right: 0.8rem; }

            .projects-prev i, .projects-next i {
                transition: transform 0.3s ease;
            }

            .projects-prev:hover i {
                transform: translateX(-3px);
            }

            .projects-next:hover i {
                transform: translateX(3px);
            }

            .projects-controls {
                display: block !important;
            }

            .projects-dots {
                display: flex;
                justify-content: center;
                gap: 0.8rem;
                margin-top: 2.5rem;
                flex-wrap: wrap;
            }

            .projects-dot {
                width: 10px;
                height: 10px;
                border-radius: 50%;
                border: none;
                background: rgba(255, 255, 255, 0.25);
                cursor: pointer;
                padding: 0;
                transition: all 0.3s ease;
            }

            .projects-dot.active {
                background: #3498db;
                transform: scale(1.25);
                box-shadow: 0 0 10px rgba(52, 152, 219, 0.6);
            }

            .projects-counter {
                text-align: center;
                font-size: 1.4rem;
                color: #7f8c8d;
                margin-top: 1.2rem;
                font-family: 'Montserrat', sans-serif;
            }

            .cert-carousel {
                padding: 0 4rem;
                max-width: 100%;
            }

            .cert-card {
                min-height: 420px;
                padding: 2.2rem;
            }

            .cert-img {
                height: 200px;
                margin-bottom: 1.5rem;
            }

            .cert-card h3 {
                font-size: 2.0rem;
                margin-bottom: 1.0rem;
            }

            .cert-card p {
                font-size: 1.5rem;
                margin-bottom: 1.8rem;
                flex-grow: 1;
            }

            .cert-link {
                padding: 1.0rem 2.2rem;
                font-size: 1.5rem;
            }

            .leetcode-layout {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .timeline-item {
                padding-left: 58px;
                padding-right: 5px;
            }

            .timeline-item:nth-child(odd) {
                padding-right: 5px;
            }

            .timeline::after {
                left: 22px;
            }

            .timeline-item:nth-child(odd)::after,
            .timeline-item:nth-child(even)::after {
                left: 10px;
                width: 20px;
                height: 20px;
            }

            .timeline-content {
                padding: 2rem 1.6rem;
            }

            .timeline-content h3,
            .timeline-content .college-title {
                font-size: 1.9rem;
                line-height: 1.4;
            }

            .college-logo {
                width: 4rem;
                height: 4rem;
            }

            .timeline-content p {
                font-size: 1.6rem;
            }

            .contact-info-large {
                font-size: 1.8rem;
                margin-bottom: 2rem;
            }

            .contact-social-icons {
                gap: 2rem;
                margin-bottom: 0;
            }

            .project-card {
                height: auto;
            }

            .home-img img {
                width: 60vw;
                max-width: 240px;
            }
            
            .experience-item {
                padding: 3rem;
            }
            
            .experience-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }
        }

        @media(max-width: 450px) {
            html {
                font-size: 50%;
            }

            .home-img img {
                width: 50vw;
                max-width: 200px;
            }

            .home {
                padding-top: 8rem;
                padding-bottom: 1.5rem;
                gap: 1.5rem;
            }

            .home .contact-info {
                margin-bottom: 1rem;
            }

            .home .contact-info p {
                margin-bottom: 0.4rem;
                font-size: 1.8rem;
            }

            .home .contact-info i {
                font-size: 2.2rem;
                width: 20px;
                margin-right: 0.8rem;
            }

            .home .home-content p {
                margin-bottom: 1rem;
                font-size: 1.7rem;
            }

            .home .social-icons {
                gap: 0.8rem;
                margin-bottom: 1.5rem;
            }

            .home .social-icons a {
                max-width: 8.0rem;
                height: 8.0rem;
                font-size: 2.8rem;
                border-radius: 10px;
            }

            .home .social-icons .platform-name {
                font-size: 1.1rem;
                margin-top: 0.3rem;
            }

            .home-btns .btn {
                padding: 1.2rem 2.6rem;
                font-size: 1.5rem;
                letter-spacing: 0.08rem;
            }

            .views-counter-btn {
                position: absolute;
                top: 11rem;
                left: 5%;
                right: auto;
                padding: 0.6rem 1.4rem;
                font-size: 1.2rem;
            }

            .views-counter-btn i {
                font-size: 1.4rem;
            }
            
            .heading {
                font-size: 4rem;
            }
            
            .contact-social-icons a {
                width: 6rem;
                height: 6rem;
                font-size: 2.5rem;
            }
        }

        /* Preloader */
        body.preloader-active {
            overflow: hidden;
        }

        .preloader,
        #preloader {
            position: fixed;
            inset: 0;
            z-index: 99999;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            clip-path: circle(150% at center);
            -webkit-clip-path: circle(150% at center);
            transition: clip-path 1.2s cubic-bezier(0.85, 0, 0.15, 1), -webkit-clip-path 1.2s cubic-bezier(0.85, 0, 0.15, 1);
            background: #0a0a0a;
        }

        .preloader.hide,
        #preloader.hide {
            clip-path: circle(0% at center);
            -webkit-clip-path: circle(0% at center);
            pointer-events: none;
        }

        .preloader-bg {
            position: absolute;
            inset: 0;
            background-color: #0a0a0a;
            transition: background-color 0.1s ease;
            z-index: 0;
        }

        .preloader-shutters {
            position: absolute;
            inset: 0;
            z-index: 2;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.12s ease;
        }

        .preloader-shutters.active {
            opacity: 1;
        }

        .shutter-door {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            background-color: #0a0a0a;
            transform-origin: bottom center;
            transition: transform 0.9s cubic-bezier(0.83, 0, 0.17, 1);
            will-change: transform;
        }

        .shutter-door::before {
            content: '';
            position: absolute;
            inset: 0;
            background: repeating-linear-gradient(
                90deg,
                rgba(255, 255, 255, 0.03) 0,
                rgba(255, 255, 255, 0.03) 2px,
                transparent 2px,
                transparent 18px
            );
            pointer-events: none;
        }

        .preloader.shutter-open .shutter-door {
            transform: translateY(-100%);
        }

        .preloader.shutter-open {
            pointer-events: none;
        }

        .preloader-content {
            position: relative;
            z-index: 1;
            text-align: center;
            padding: 2rem;
            width: min(92vw, 900px);
            transition: opacity 0.28s ease, transform 0.28s ease, filter 0.28s ease;
        }

        .preloader-content.exit,
        .loader-content-wrap.exit {
            opacity: 0;
            transform: scale(0.88);
            filter: blur(6px);
        }

        .preloader-name {
            font-size: clamp(2.2rem, 6.5vw, 5.5rem);
            font-weight: 400;
            font-family: 'Montserrat', system-ui, sans-serif;
            letter-spacing: 0.02em;
            line-height: 1.2;
            color: #fff;
            transition: color 0.1s ease;
            animation: preloaderPulse 0.12s ease;
            word-break: break-word;
        }

        .preloader-name.switch {
            animation: preloaderSwitch 0.12s ease;
        }

        @keyframes preloaderPulse {
            0% { opacity: 0; transform: scale(0.96); }
            100% { opacity: 1; transform: scale(1); }
        }

        @keyframes preloaderSwitch {
            0% { opacity: 0.15; transform: scale(0.98); }
            100% { opacity: 1; transform: scale(1); }
        }



