        :root {
            --bg: #0a0a15;
            --text: #f0f0ff;
            --accent: #00ccff;
            --accent2: #ff4d88;
            --glass: rgba(30, 30, 60, 0.2);
            --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
            --glow: 0 0 20px rgba(0, 204, 255, 0.3);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            background: var(--bg);
            color: var(--text);
            font-family: 'Montserrat', sans-serif;
            line-height: 1.6;
            scroll-behavior: smooth;
            overflow-x: hidden;
        }

        a {
            color: var(--accent);
            text-decoration: none;
            transition: color 0.2s;
        }

        a:hover {
            color: var(--accent2);
        }

        section {
            padding: 4rem 1.5rem;
        }

        h1,
        h2,
        h3 {
            font-family: 'Oswald', sans-serif;
            letter-spacing: 1px;
        }

        h2 {
            font-size: 2.5rem;
            margin-bottom: 2rem;
            text-align: center;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        /* Navbar */
        nav {
            background: var(--bg);
            position: sticky;
            top: 0;
            z-index: 100;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--glass);
            backdrop-filter: blur(10px);
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--accent);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .logo-image {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--accent);
        }

        nav ul {
            list-style: none;
            display: flex;
            gap: 1.5rem;
        }

        nav li {
            font-weight: 500;
            font-size: 1.1rem;
        }

        #menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--accent);
            font-size: 1.5rem;
            cursor: pointer;
        }

        @media (max-width: 700px) {
            nav ul.active {
                display: flex;
                flex-direction: column;
                width: 100%;
                position: fixed;
                top: 80px;
                left: 0;
                background: var(--bg);
                padding: 1rem 0;
                border-bottom: 1px solid var(--glass);
            }

            nav ul {
                display: none;
            }

            #menu-toggle {
                display: block;
            }
        }

        /* Hero */
        #hero {
            min-height: 90vh;
            display: flex;
            align-items: center;
            background: url('bg_5.jpeg') center/cover no-repeat;
            background-attachment: fixed;
            position: relative;
            z-index: 1;
            color: var(--text);
            text-align: center;
        }

        #hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 40, 0.7);
            z-index: 2;
        }

        .hero-content {
            position: relative;
            z-index: 3;
            max-width: 800px;
            margin: 0 auto;
        }

        #hero h1 {
            font-size: 4rem;
            margin-bottom: 1rem;
            text-shadow: 0 0 10px var(--accent);
            font-family: 'Space Mono', monospace;
        }

        .tagline {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            color: var(--accent);
            font-family: 'Quicksand', sans-serif;
        }

        .hero-cta {
            display: inline-block;
            padding: 1rem 2rem;
            background: radial-gradient(circle, var(--accent) 0%, #0081a7 100%);
            color: white;
            border-radius: 50px;
            font-weight: 700;
            text-decoration: none;
            box-shadow: var(--glow);
            margin-top: 2rem;
            transition: transform 0.3s;
        }

        .hero-cta:hover {
            transform: scale(1.05);
        }

        .hero-badge {
            display: flex;
            gap: 1rem;
            margin-top: 3rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .hero-badge span {
            font-family: 'Space Mono', monospace;
            background: var(--glass);
            border: 2px solid var(--accent);
            border-radius: 30px;
            padding: 0.5rem 1rem;
            box-shadow: var(--glow);
        }

        /* About */
        #about {
            background: radial-gradient(circle, rgba(16, 16, 40, 1) 0%, var(--bg) 100%);
            padding: 4rem 1.5rem;
        }

        .about-container {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 3rem;
            justify-content: center;
            max-width: 1000px;
            margin: 0 auto;
        }

        .about-image {
            flex: 1;
            min-width: 300px;
        }

        .about-image img {
            width: 100%;
            max-width: 320px;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .about-content {
            flex: 2;
            min-width: 300px;
            background: var(--glass);
            backdrop-filter: blur(10px);
            padding: 2rem;
            border-radius: 16px;
            box-shadow: var(--shadow);
        }

        .about-content h2 {
            text-align: left;
            font-size: 2.2rem;
            margin-bottom: 1.5rem;
            color: var(--accent);
        }

        .about-content p {
            margin-bottom: 1.2rem;
            line-height: 1.8;
        }

        .about-funfacts {
            margin-top: 2rem;
            padding: 1.5rem;
            background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
            border-radius: 8px;
        }

        .funfacts-heading {
            font-size: 1.2rem;
            margin-bottom: 1rem;
            color: var(--accent2);
        }

        .about-funfacts ol {
            list-style: none;
            padding: 0;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .about-funfacts li:before {
            content: "❖";
            color: var(--accent);
            margin-right: 0.5rem;
        }

        /* Skills */
        #skills {
            background: var(--bg);
            padding: 4rem 1.5rem;
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            max-width: 800px;
            margin: 0 auto;
        }

        @media (max-width: 700px) {
            .skills-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 500px) {
            .skills-grid {
                grid-template-columns: 1fr;
            }
        }

        .skill-item {
            background: var(--glass);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 1.5rem;
            text-align: center;
            box-shadow: var(--shadow);
            transition: transform 0.3s;
            min-height: 160px;
        }

        .skill-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 45px var(--glow);
        }

        .skill-icon {
            font-size: 2rem;
            margin-bottom: 0.8rem;
            color: var(--accent);
        }

        .skill-bar {
            width: 100px;
            height: 100px;
            margin: 0 auto;
            position: relative;
            margin-bottom: 1rem;
        }

        .skill-bar svg {
            width: 100px;
            height: 100px;
            transform: rotate(90deg);
        }

        .skill-bar circle {
            fill: none;
            stroke-width: 8;
            stroke-linecap: round;
            stroke: rgba(255, 255, 255, 0.1);
        }

        .skill-bar circle:last-child {
            stroke: var(--accent);
            stroke-dasharray: 360;
            stroke-dashoffset: calc(360 - (var(--percent) * 3.6));
            stroke-width: 8;
            animation: fill 1s ease-out forwards;
        }

        .skill-bar:hover circle:last-child {
            stroke: var(--accent2);
        }

        .skill-bar span {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-weight: bold;
            font-size: 1.5rem;
            color: var(--accent);
        }

        .skill-name {
            font-size: 1.1rem;
            font-weight: 700;
        }

        /* Projects */
        #projects {
            background: var(--glass);
            backdrop-filter: blur(5px);
            padding: 4rem 0;
            margin: 0;
        }

        .projects-scroller {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
          gap: 2rem;
          padding: 2rem;
          overflow: hidden; 
        }

        .project-card {
    width: 100%;
    min-height: 400px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s;
}
        .project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.2); /* Optional glass highlight */
}
        .project-thumb {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 1rem;
        }

        .project-title {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .project-description {
            margin-bottom: 1rem;
            flex-grow: 1;
        }

        .project-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .project-links a {
            padding: 0.5rem 1rem;
            background: var(--accent);
            color: black;
            border-radius: 4px;
            font-weight: 600;
        }

        .project-links a:hover {
            background: var(--accent2);
            color: white;
        }

        /* Blog Section */
        .blog-about {
            background: #0a192f;
            color: #fff;
            border-radius: 16px;
            box-shadow: 0 4px 24px rgba(0, 64, 128, 0.15);
            padding: 2rem;
            margin: 2rem auto 3.5rem;
            max-width: 800px;
        }

        .blog-card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-top: 1.5rem;
        }

        .blog-card {
            background: #1e3d6b;
            color: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 16px rgba(0, 64, 128, 0.15);
            padding: 1.5rem;
            transition: all 0.3s;
        }

        .blog-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 24px rgba(0, 64, 128, 0.3);
            background: #2a4f8a;
        }

        .blog-card h3 {
            color: #87ceeb;
            font-size: 1.3rem;
            margin-bottom: 0.8rem;
        }

        .blog-card a {
            color: #87ceeb;
            font-weight: 600;
            text-decoration: none;
            display: inline-block;
            margin-top: 0.5rem;
            transition: color 0.2s;
        }

        .blog-card a:hover {
            color: #fff;
            text-decoration: underline;
        }

        #certifications {
            background: linear-gradient(135deg, #0a192f 0%, #1e3d6b 100%);
            color: #fff;
            padding: 3rem 1rem;
            border-radius: 18px;
            box-shadow: 0 4px 32px rgba(0, 16, 32, 0.2);
            margin-bottom: 3.5rem;
        }

        .certifications-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 2.5rem;
            margin-top: 1.5rem;
            padding: 0 2rem;
        }

        .cert-card {
            flex: 1;
            min-width: 300px;
            max-width: 500px;
            background: #1e3d6b;
            border: 4px solid #87CEEB;
            border-radius: 20px;
            box-shadow: 0 0 32px 8px rgba(135, 206, 235, 0.3);
            backdrop-filter: blur(8px);
            padding: 2rem;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .cert-card:hover {
            box-shadow: 0 0 44px 14px rgba(135, 206, 235, 0.4);
            transform: translateY(-5px);
            background: #2a4f8a;
        }

        .cert-img-container {
            width: 100%;
            max-width: 400px;
            height: 280px;
            /* background: #0a192f; */
            /* Remove or comment out this line */
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .cert-img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 16px;
            transition: transform 0.2s;
        }

        .cert-img:hover {
            transform: scale(1.05);
        }

        .cert-title {
            font-size: 1.3rem;
            font-weight: bold;
            margin-top: 1.5rem;
            color: #87ceeb;
            text-align: center;
        }


        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.9);
            z-index: 999;
            align-items: center;
            justify-content: center;
            animation: modalFade 0.3s;
        }

        .modal-content {
            border-radius: 16px;
            max-width: 90vw;
            max-height: 90vh;
            animation: modalZoom 0.3s;
        }

        .close {
            position: absolute;
            top: 2rem;
            right: 2rem;
            font-size: 2rem;
            color: #00ccff;
            cursor: pointer;
        }

        .close:hover {
            color: #ff4d88;
        }

        @keyframes modalFade {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes modalZoom {
            from {
                transform: scale(0.7);
                opacity: 0;
            }

            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        /* Add this at the end of your <style> block */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .about-container {
            animation: fadeIn 0.8s ease-out forwards;
        }

        /* Optional: Animate image and content separately for a staggered effect */
        .about-image,
        .about-content {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeIn 0.8s ease-out forwards;
            animation-delay: 0.2s;
        }

        .about-image {
            animation-delay: 0.2s;
        }

        .about-content {
            animation-delay: 0.4s;
        }

    /* Contact */
        #contact {
            background: linear-gradient(135deg, rgba(16, 16, 60, 0.7), rgba(8, 8, 28, 0.8));
            padding: 4rem 1.5rem;
            border-radius: 24px 24px 0 0;
            margin-top: 4rem;
        }

        .contact-card {
            background: var(--glass);
            backdrop-filter: blur(10px);
            border-radius: 24px;
            box-shadow: var(--shadow);
            max-width: 480px;
            margin: 0 auto;
            padding: 2rem;
            text-align: center;
        }

        .contact-card h2 {
            margin-bottom: 1.5rem;
        }

        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .contact-form input,
        .contact-form textarea {
            background: rgba(0, 0, 0, 0.2);
            border: 1px solid var(--glass);
            border-radius: 8px;
            padding: 0.8rem;
            color: var(--text);
            font-family: inherit;
            width: 100%;
        }

        .contact-form textarea {
            min-height: 120px;
            resize: vertical;
        }

        .contact-form button {
            background: var(--accent);
            color: black;
            border: none;
            border-radius: 8px;
            padding: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 0.5rem;
        }

        .contact-form button:hover {
            background: var(--accent2);
            color: white;
        }

        .contact-links {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            margin-top: 2rem;
        }

        .contact-links a {
            font-size: 1.8rem;
            color: var(--accent);
            transition: all 0.3s;
        }

        .contact-links a:hover {
            color: var(--accent2);
            transform: scale(1.2);
        }

        */

        /* Footer */
        footer {
            text-align: center;
            padding: 1.5rem;
            background: var(--bg);
            border-top: 1px solid var(--glass);
        }

        .footer-note {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.6);
            margin-top: 0.5rem;
        }

        /* Misc */
        .badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--glass);
            border: 1px solid var(--accent);
            border-radius: 20px;
            padding: 0.5rem 1rem;
            font-size: 0.9rem;
            box-shadow: var(--glow);
            margin: 0 0.5rem 0.5rem 0;
        }

        /* Animations */
        @keyframes fill {
            from {
                stroke-dashoffset: 360;
            }
        }

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.9);
            z-index: 999;
            align-items: center;
            justify-content: center;
            animation: modalFade 0.3s;
        }

        @keyframes modalFade {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        .modal-content {
            border-radius: 16px;
            max-width: 90vw;
            max-height: 90vh;
            animation: modalZoom 0.3s;
        }

        @keyframes modalZoom {
            from {
                transform: scale(0.7);
                opacity: 0;
            }

            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .close {
            position: absolute;
            top: 2rem;
            right: 2rem;
            font-size: 2rem;
            color: var(--accent);
            cursor: pointer;
        }

        .close:hover {
            color: var(--accent2);
        }

        /* Fade-in on scroll */
        section {
            transform: translateY(20px);
            opacity: 0;
            transition: all 0.6s ease-out;
        }

        section.in-view {
            transform: translateY(0);
            opacity: 1;
        }