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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #020617;
            color: #e5e5e5;
            line-height: 1.6;
            overflow-x: hidden;
        }

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

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.98);
            backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 20px 0;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

        nav.scrolled {
            padding: 15px 0;
            box-shadow: 0 6px 40px rgba(59, 130, 246, 0.3);
        }

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

        nav .logo {
            font-size: 24px;
            font-weight: bold;
            background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: fadeInLeft 0.8s ease-out;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 30px;
            animation: fadeInRight 0.8s ease-out;
        }

        nav a {
            color: #ffffff;
            text-decoration: none;
            transition: all 0.3s;
            position: relative;
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
            transition: width 0.3s;
        }

        nav a:hover::after {
            width: 100%;
        }

        /* Hamburger Menu */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 5px;
            z-index: 1001;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background: #3b82f6;
            transition: all 0.3s ease;
            border-radius: 3px;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

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

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

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        @keyframes scaleIn {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

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

        /* Scroll reveal animations */
        .scroll-reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.8s ease-out;
        }

        .scroll-reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero-content {
            z-index: 1;
            animation: fadeInUp 1s ease-out;
        }

        .hero h1 {
            font-size: 4rem;
            margin-bottom: 20px;
            background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: scaleIn 1s ease-out 0.2s both;
        }

        .hero p {
            font-size: 1.5rem;
            margin-bottom: 30px;
            color: #cccccc;
            animation: fadeInUp 1s ease-out 0.4s both;
        }

        .cta-button {
            display: inline-block;
            padding: 15px 40px;
            background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 500;
            transition: all 0.3s;
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
            animation: fadeInUp 1s ease-out 0.6s both;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(59, 130, 246, 0.3);
        }

        .hero-content h1 {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            column-gap: 8px;
            row-gap: 5px;
            font-size: 4rem;
            margin-bottom: 20px;
            line-height: 1.2;

            background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .typing-container {
            display: inline-flex;
            align-items: center;
            white-space: nowrap;
        }

        .hero-content h1 .cursor {
            display: inline-block !important;
            margin-left: 2px;
            font-weight: 100;
            -webkit-text-fill-color: #3b82f6 !important; 
            color: #3b82f6 !important;
            vertical-align: middle;
        }

        .hero-content h1 .cursor.blink {
            animation: blinker 0.8s step-start infinite !important;
        }

        @keyframes blinker {
            50% { visibility: hidden; }
        }

        .cta-button {
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
            color: white;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .cta-button:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 15px 30px rgba(59, 130, 246, 0.5);
            letter-spacing: 2px;
        }

        .cta-button::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -60%;
            width: 20%;
            height: 200%;
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(30deg);
            transition: all 0.7s;
        }

        .cta-button:hover::after {
            left: 120%;
        }

        @keyframes buttonPulse {
            0% { box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4); }
            50% { box-shadow: 0 5px 25px rgba(59, 130, 246, 0.7); }
            100% { box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4); }
        }

        .cta-button {
            animation: fadeInUp 1s ease-out 0.8s both, buttonPulse 2s infinite ease-in-out;
        }

        /* Section Styling */
        section {
            padding: 100px 0;
            position: relative;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 40px;
            position: relative;
            color: #ffffff;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
            border-radius: 2px;
        }

        /* About Section */
        .about-content {
            display: grid;
            grid-template-columns: 300px 1fr;
            gap: 60px;
            align-items: center;
        }

        .profile-photo {
            width: 300px;
            height: 300px;
            /* border-radius: 20px; */
            border-radius: 50%;
            overflow: hidden;
            border: 3px solid #3b82f6;
            box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
            position: relative;
            background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
        }

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

        .about-right {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .about-text {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #e5e5e5;
        }

        .about-text p {
            margin-bottom: 10px;
        }

        .skill-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }

        .skill-item {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            padding: 15px;
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.4s ease;
        }

        .skill-item:hover {
            transform: translateY(-5px);
            background: rgba(59, 130, 246, 0.1);
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
            border-color: rgba(59, 130, 246, 0.2);
        }

        .skill-item h3 {
            color: #3b82f6;
            margin-bottom: 10px;
        }

        .skill-item p {
            color: #cccccc;
        }

        /* Projects Section */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 40px;
        }

        .project-card {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.4s ease;
            cursor: pointer;
        }

        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
            border-color: rgba(59, 130, 246, 0.2);
        }

        .project-image {
            height: 300px;
            background: #020617;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            overflow: hidden;
        }

        .project-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 10px;
            transition: transform 0.4s ease, filter 0.4s ease;
            filter: brightness(0.95);
            transform: scale(1.03);
         }


        .project-card:hover .project-image img {
            transform: scale(1);
            filter: brightness(1);
        }

        .project-content {
            padding: 30px;
        }

        .project-content h3 {
            color: #3b82f6;
            margin-bottom: 15px;
            font-size: 1.5rem;
        }

        .project-content p {
            color: #cccccc;
        }

        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 15px;
        }

        .tag {
            background: rgba(59, 130, 246, 0.1);
            color: #3b82f6;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.85rem;
            border: 1px solid rgba(59, 130, 246, 0.2);
            transition: all 0.3s ease;
        }

        .tag:hover {
            background: rgba(59, 130, 246, 0.3);
            transform: translateY(-2px);
        }

        .project-actions {
            display: flex;
            gap: 12px;
            margin-top: 22px;
            flex-wrap: wrap;
            opacity: 0.85;
        }

        .project-actions:hover {
            opacity: 1;
        }

        .project-link {
            padding: 8px 14px;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 500;
            text-decoration: none;
            background: rgba(59, 130, 246, 0.1);
            color: #60a5fa;
            border: 1px solid rgba(59, 130, 246, 0.2);
            transition: all 0.25s ease;
        }

        .project-link:hover {
            background: rgba(59, 130, 246, 0.3);
            transform: translateY(-2px);
        }

        .project-link.secondary {
            background: transparent;
            color: #c7d2fe;
            border: 1px dashed rgba(255, 255, 255, 0.25);
        }


        /* Skills Section */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 20px;
        }

        .skills-card {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            padding: 15px;
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.4s ease;
        }

        .skills-card:hover {
           transform: translateY(-10px);
            box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
            border-color: rgba(59, 130, 246, 0.2);
        }

        .skills-card h3 {
            color: #3b82f6;
            margin-bottom: 10px;
        }

        .skills-card p {
            color: #cccccc;
        }

        .skills-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 15px;
        }

        .tag {
            background: rgba(59, 130, 246, 0.1);
            color: #3b82f6;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.85rem;
            border: 1px solid rgba(59, 130, 246, 0.2);
            transition: all 0.3s ease;
        }

        .tag:hover {
            background: rgba(59, 130, 246, 0.3);
            transform: translateY(-2px);
        }

        .credential-layout {
            display: grid;
            grid-template-columns: 300px 1fr;
            gap: 60px;
            align-items: center;
        }

        .credential-badge img {
            justify-content: center;
            align-items: center;
            max-width: 240px;
            width: 100%;
            height: auto;
            object-fit: cover;
            filter: drop-shadow(0 10px 30px rgba(59,130,246,0.3));
                }

        .credential-card {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            padding: 15px;
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.4s ease;
        }

        .credential-card:hover {
           transform: translateY(-10px);
            box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
            border-color: rgba(59, 130, 246, 0.2);
        }

        .credential-card h3 {
            color: #3b82f6;
            margin-top: 10px;
            margin-bottom: 10px;
        }

        .credential-card p {
            margin-top: 10px;
            margin-bottom: 10px;
            color: #cccccc;
        }
        .tag {
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .certificate-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 10px;
            margin-bottom: 10px;

            padding: 12px 22px;
            border-radius: 99px;

            background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
            color: #ffffff;
            font-size: 0.95rem;
            font-weight: 500;
            text-decoration: none;
            box-shadow: 0 8px 20px rgba(59,130,246,0.3);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .certificate-cta:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(59,130,246,0.3);
        }

        .certificate-cta::after {
            content: "";
            position: absolute;
            top: -50%;
            left: -60%;
            width: 20%;
            height: 200%;
            background: rgba(255, 255, 255, 0.35);
            transform: rotate(25deg);
            transition: left 0.7s ease;
        }

        .certificate-cta:hover::after {
            left: 130%;
        }

        @keyframes ctaPulse {
            0% { box-shadow: 0 8px 20px rgba(59,130,246,0.35); }
            50% { box-shadow: 0 8px 30px rgba(59,130,246,0.65); }
            100% { box-shadow: 0 8px 20px rgba(59,130,246,0.35); }
        }

        .certificate-cta {
            animation: ctaPulse 2.5s infinite ease-in-out;
        }

        .credential-badge img {
            animation: floatBadge 6s ease-in-out infinite,
                    glowPulse 3s ease-in-out infinite;
        }

        @keyframes floatBadge {
            0%   { transform: translateY(0); }
            50%  { transform: translateY(-8px); }
            100% { transform: translateY(0); }
        }

        @keyframes glowPulse {
            0% {
                filter: drop-shadow(0 10px 25px rgba(59,130,246,0.3));
            }
            50% {
                filter: drop-shadow(0 15px 35px rgba(59,130,246,0.55));
            }
            100% {
                filter: drop-shadow(0 10px 25px rgba(59,130,246,0.3));
            }
        }


        /* Contact Section */
        .contact-content {
            text-align: center;
            max-width: 600px;
            margin: 0 auto;
        }

        .contact-content p {
            color: #cccccc;
        }

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

        .social-links a {
            width: 60px;
            height: 60px;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s;
            text-decoration: none;
            color: #ffffff;
            font-size: 1.5rem;
        }

        .social-links a:hover {
            background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
        }

        /* Resume Button */
        .resume-btn-wrapper {
            margin-top: 30px;
            text-align: center;
        }

        .resume-btn {
            display: inline-block;
            background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
            color: white;
            padding: 14px 35px;
            border-radius: 50px;
            text-decoration: none;
            font-size: 1rem;
            font-weight: 500;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
            position: relative; 
            overflow: hidden;
        }

        .resume-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(59, 130, 246, 0.3);
        }

        .resume-btn::after {
            content: "";
            position: absolute;
            top: -50%;
            left: -60%;
            width: 20%;
            height: 200%;
            background: rgba(255, 255, 255, 0.35);
            transform: rotate(25deg);
            transition: left 0.7s ease;
        }

        .resume-btn:hover::after {
            left: 130%;
        }

        @keyframes btnPulse {
            0% { box-shadow: 0 8px 20px rgba(59,130,246,0.3); }
            50% { box-shadow: 0 8px 30px rgba(59,130,246,0.65); }
            100% { box-shadow: 0 8px 20px rgba(59,130,246,0.3); }
        }

        .resume-btn {
            animation: btnPulse 2.5s infinite ease-in-out;
        }


        /* Footer */
        .site-footer {
            width: 100%;
            background: linear-gradient(180deg, #0a1533 0%, #020617 100%);
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 -10px 40px rgba(59, 130, 246, 0.05);
        }

        .footer-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 35px 20px;
            text-align: center;
            color: #9ca3af;
            font-size: 0.95rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hamburger {
                display: flex;
            }

            nav ul {
                position: fixed;
                top: 70px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 70px);
                background: rgba(0, 0, 0, 0.98);
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 30px;
                transition: left 0.3s ease;
                backdrop-filter: blur(10px);
            }

            nav ul.active {
                left: 0;
            }

            nav ul li {
                opacity: 0;
                transform: translateY(20px);
            }

            nav ul.active li {
                animation: fadeInUp 0.5s ease forwards;
            }

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

            nav a {
                font-size: 1.2rem;
            }

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

            .about-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .profile-photo {
                margin: 0 auto;
            }

            .skills-grid {
                grid-template-columns: 1fr;
            }

            .projects-grid,
            .articles-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            nav .logo {
            font-size: 18px;
            }

            .hero h1 {
                font-size: 2rem;
                gap: 2px;
            }

            .hero p {
                font-size: 1.2rem;
            }

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

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

        @media (max-width: 768px) {
        .credential-layout {
            grid-template-columns: 1fr;
        }

        .credential-badge {
            justify-content: center;
            margin: 0 auto 10px auto;
        }

        .credential-badge img {
            margin: 0 auto;
            display: block;
        }
        }
