    :root {
        --primary: #6366f1;
        --secondary: #a78bfa;
        --dark: #0f172a;
        --light: #f8fafc;
        --gray: #e2e8f0;
    }

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

    .hero-photo{
            float:left;
            height:420px;
            object-fit:cover;
            margin-right:1rem;
            margin-top: 1rem;
            border-radius:80px;
          }
          /* push all following content to the right and add top padding */
          .hero-photo ~ *{
            margin-left:calc(48% + 1rem);
            padding-top:3rem;
          }
          @media (max-width:800px){
            .hero-photo{float:none;width:100%;height:auto;margin:0 0 1rem 0;margin-top: 3rem;}
            .hero-photo ~ *{margin-left:0;padding-top:0;}
          }

    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        background: linear-gradient(-45deg, #0f172a, #1e293b, #1e1b4b, #0f172a);
        background-size: 400% 400%;
        animation: gradientShift 18s ease infinite;
        color: #e2e8f0;
        line-height: 1.7;
        min-height: 100vh;
        position: relative;
    }

    @keyframes gradientShift {
        0% {
            background-position: 0% 50%;
        }

        50% {
            background-position: 100% 50%;
        }

        100% {
            background-position: 0% 50%;
        }
    }

    /* Subtle geometric pattern */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background:
            radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.05) 0%, transparent 50%);
        pointer-events: none;
        z-index: -1;
    }

    header {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 2rem;
    }

    .hero h1 {
        font-size: 4.8rem;
        background: linear-gradient(90deg, #c084fc, #a78bfa, #818cf8, #60a5fa);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 1rem;
        animation: fadeInUp 1.2s ease-out;
    }

    .hero p {
        font-size: 1.4rem;
        max-width: 900px;
        margin: 1rem auto;
        opacity: 0.95;
    }

    .contact-info {
        margin: 2rem 0;
        font-size: 1.1rem;
    }

    .btn {
        display: inline-block;
        padding: 14px 34px;
        margin: 12px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.4s ease;
    }

    .btn-primary {
        background: linear-gradient(45deg, var(--primary), var(--secondary));
        color: white;
    }

    .btn-outline {
        border: 2px solid var(--primary);
        color: var(--primary);
        background: transparent;
    }

    .btn:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
    }

    .btn-outline:hover {
        background: var(--primary);
        color: white;
    }

    nav {
        position: fixed;
        top: 0;
        width: 100%;
        padding: 1.5rem 5%;
        background: rgba(15, 23, 42, 0.85);
        backdrop-filter: blur(12px);
        z-index: 1000;
        display: flex;
        justify-content: center;
        gap: 3rem;
        border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    }

    nav a {
        color: #cbd5e1;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.1rem;
        transition: color 0.3s;
    }

    nav a:hover {
        color: var(--secondary);
    }

    section {
        padding: 120px 8%;
        max-width: 1400px;
        margin: 0 auto;
    }

    h2 {
        font-size: 3.2rem;
        text-align: center;
        margin-bottom: 4rem;
        background: linear-gradient(90deg, #c084fc, #818cf8);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .card {
        background: rgba(30, 41, 59, 0.6);
        backdrop-filter: blur(16px);
        border-radius: 20px;
        padding: 2.5rem;
        margin: 1.5rem 0;
        border: 1px solid rgba(148, 163, 184, 0.15);
        transition: all 0.5s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .card:hover {
        transform: translateY(-15px);
        border-color: rgba(167, 139, 250, 0.5);
        box-shadow: 0 25px 60px rgba(99, 102, 0.3);
    }

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

    .exp-item {
        padding-bottom: 1.5rem;
        /* Add padding for separation */
        margin-bottom: 1.5rem;
        border-bottom: 1px solid rgba(167, 139, 250, 0.2);
        /* Separator */
    }

    .exp-item:last-child {
        border-bottom: none;
        /* No separator for the last item */
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .exp-item h3 {
        color: var(--secondary);
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .exp-item small {
        color: #94a3b8;
        font-size: 1rem;
    }

    /* NEW CSS CLASS to handle visibility toggle */
    .exp-item.hidden {
        display: none;
    }

    .tag {
        display: inline-block;
        background: rgba(99, 102, 241, 0.25);
        color: var(--primary);
        padding: 0.4rem 1rem;
        border-radius: 30px;
        font-size: 0.9rem;
        margin: 0.4rem 0.4rem 0.4rem 0;
    }

    footer {
        text-align: center;
        padding: 5rem 2rem;
        background: rgba(10, 15, 30, 0.95);
        margin-top: 5rem;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(60px);
        }

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

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

        nav {
            flex-direction: column;
            gap: 1rem;
            padding: 1rem;
        }

        section {
            padding: 80px 5%;
        }

        h2 {
            font-size: 2.5rem;
        }
    }

    /* ===== Navbar ===== */
    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        background: #0f0f1a;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.5rem;
        z-index: 999;
    }

    .nav-brand {
        font-weight: 700;
        font-size: 1.2rem;
        color: #c084fc;
    }

    /* Desktop nav */
    .nav-links {
        display: flex;
        gap: 1.5rem;
    }

    .nav-links a {
        color: #fff;
        text-decoration: none;
        font-weight: 500;
    }

    /* ===== Hamburger ===== */
    .hamburger {
        display: none;
        flex-direction: column;
        background: none;
        border: none;
        cursor: pointer;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: #fff;
        margin: 4px 0;
        transition: 0.3s;
    }

    /* ===== Hamburger Animation ===== */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

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

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

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

        .nav-links {
            position: absolute;
            top: 64px;
            left: 0;
            width: 100%;
            background: #0f0f1a;
            flex-direction: column;
            align-items: center;
            gap: 1.2rem;
            padding: 1.5rem 0;
            display: none;
        }

        .nav-links.active {
            display: flex;
        }
    }