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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background-color: #09090b;
            color: #fafafa;
            line-height: 1.6;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        .container-md {
            max-width: 896px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background-color: rgba(9, 9, 11, 0.8);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid #27272a;
            z-index: 1000;
        }

        nav .nav-content {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1.5rem;
            height: 4rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            font-family: 'Courier New', monospace;
            color: #10b981;
            font-size: 1rem;
        }

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

        .nav-links a {
            color: #fafafa;
            text-decoration: none;
            font-size: 0.875rem;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: #10b981;
        }

        /* Hero Section */
        .hero {
            padding-top: 8rem;
            padding-bottom: 5rem;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 3rem;
            align-items: center;
        }

        @media (min-width: 768px) {
            .hero-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        .hero-intro {
            color: #10b981;
            font-family: 'Courier New', monospace;
            margin-bottom: 1rem;
        }

        h1 {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1rem;
            letter-spacing: -0.025em;
        }

        @media (min-width: 768px) {
            h1 {
                font-size: 3.75rem;
            }
        }

        h2 {
            font-size: 1.875rem;
            color: #a1a1aa;
            margin-bottom: 1.5rem;
        }

        @media (min-width: 768px) {
            h2 {
                font-size: 2.25rem;
            }
        }

        .hero-description {
            font-size: 1.125rem;
            color: #a1a1aa;
            margin-bottom: 2rem;
        }

        .button-group {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .btn {
            padding: 0.75rem 2rem;
            border-radius: 0.5rem;
            font-weight: 500;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s;
        }

        .btn-primary {
            background-color: #10b981;
            color: #09090b;
        }

        .btn-primary:hover {
            background-color: #34d399;
            transform: scale(1.05);
        }

        .btn-secondary {
            border: 1px solid #10b981;
            color: #10b981;
        }

        .btn-secondary:hover {
            background-color: rgba(16, 185, 129, 0.1);
            transform: scale(1.05);
        }

        .social-links {
            display: flex;
            gap: 1.5rem;
        }

        .social-links a {
            color: #a1a1aa;
            transition: color 0.3s;
        }

        .social-links a:hover {
            color: #10b981;
        }

        .profile-image-wrapper {
            position: relative;
            max-width: 28rem;
            margin: 0 auto;
        }
        

        .profile-glow {
            position: absolute;
            inset: 0;
            background-color: rgba(16, 185, 129, 0.2);
            border-radius: 9999px;
            filter: blur(80px);
        }

        .profile-image {
            position: relative;
            width: 100%;
            aspect-ratio: 1;
            object-fit: cover;
            border-radius: 1rem;
            border: 2px solid rgba(16, 185, 129, 0.3);
        }

        /* Section Styles */
        section {
            padding: 5rem 0;
        }

        .section-title {
            font-size: 2.25rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .section-subtitle {
            color: #a1a1aa;
            margin-bottom: 3rem;
        }

        /* Projects */
        .projects-grid {
            display: flex;
            flex-direction: column;
            gap: 6rem;
        }

        .project {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            align-items: center;
        }

        @media (min-width: 768px) {
            .project {
                grid-template-columns: 1fr 1fr;
            }

            .project:nth-child(even) .project-image {
                order: 2;
            }

            .project:nth-child(even) .project-content {
                order: 1;
            }
        }

        .project-image-wrapper {
            position: relative;
            aspect-ratio: 16/9;
            border-radius: 0.5rem;
            overflow: hidden;
            transition: transform 0.3s;
        }

        .project-image-wrapper:hover {
            transform: scale(1.02);
        }

        .project-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .project-overlay {
            position: absolute;
            inset: 0;
            background-color: rgba(16, 185, 129, 0.2);
            opacity: 0;
            transition: opacity 0.3s;
        }

        .project-image-wrapper:hover .project-overlay {
            opacity: 1;
        }

        .project-label {
            color: #10b981;
            font-family: 'Courier New', monospace;
            font-size: 0.875rem;
            margin-bottom: 0.5rem;
        }

        .project h3 {
            font-size: 1.875rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .project-description {
            color: #a1a1aa;
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

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

        .tech-tag {
            padding: 0.25rem 0.75rem;
            background-color: #18181b;
            color: #10b981;
            border-radius: 9999px;
            font-size: 0.875rem;
            font-family: 'Courier New', monospace;
        }

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

        .project-link {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #a1a1aa;
            text-decoration: none;
            font-size: 0.875rem;
            transition: all 0.3s;
        }

        .project-link:hover {
            color: #10b981;
            transform: translateY(-2px);
        }

        /* Skills Section */
        .bg-dark {
            background-color: rgba(24, 24, 27, 0.5);
        }

        .skills-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        @media (min-width: 768px) {
            .skills-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .skills-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .skill-card {
            background-color: #18181b;
            padding: 1.5rem;
            border-radius: 0.5rem;
            border: 1px solid #27272a;
        }

        .skill-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }

        .skill-icon {
            color: #10b981;
            width: 20px;
            height: 20px;
        }

        .skill-header h3 {
            font-size: 1rem;
            font-weight: 600;
        }

        .skill-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .skill-tag {
            padding: 0.25rem 0.75rem;
            background-color: #27272a;
            border-radius: 0.25rem;
            font-size: 0.875rem;
            color: #d4d4d8;
            transition: all 0.3s;
        }

        .skill-tag:hover {
            background-color: rgba(16, 185, 129, 0.1);
            transform: scale(1.05);
        }

        /* Blog Section */
        .blog-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        @media (min-width: 768px) {
            .blog-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .blog-card {
            background-color: #18181b;
            border-radius: 0.5rem;
            border: 1px solid #27272a;
            overflow: hidden;
            transition: border-color 0.3s;
        }

        .blog-card:hover {
            border-color: rgba(16, 185, 129, 0.5);
        }

        .blog-content {
            padding: 1.5rem;
        }

        .blog-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            font-size: 0.875rem;
            color: #71717a;
            margin-bottom: 1rem;
        }

        .blog-card h3 {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            transition: color 0.3s;
        }

        .blog-card:hover h3 {
            color: #10b981;
        }

        .blog-excerpt {
            color: #a1a1aa;
            margin-bottom: 1rem;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .blog-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .blog-tag {
            padding: 0.125rem 0.5rem;
            background-color: #27272a;
            color: #10b981;
            border-radius: 0.25rem;
            font-size: 0.75rem;
            font-family: 'Courier New', monospace;
        }

        .read-more {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: #10b981;
            font-size: 0.875rem;
            font-weight: 500;
            text-decoration: none;
            transition: gap 0.3s;
        }

        .read-more:hover {
            gap: 0.75rem;
        }

        /* Education Section */
        .timeline {
            position: relative;
            padding-left: 2rem;
            border-left: 2px solid #10b981;
        }

        .timeline-dot {
            position: absolute;
            left: -9px;
            top: 0;
            width: 1rem;
            height: 1rem;
            background-color: #10b981;
            border-radius: 9999px;
        }

        .timeline-date {
            color: #10b981;
            font-family: 'Courier New', monospace;
            font-size: 0.875rem;
            margin-bottom: 0.5rem;
        }

        .timeline h3 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .timeline-school {
            color: #a1a1aa;
            margin-bottom: 1rem;
        }

        .timeline ul {
            color: #a1a1aa;
            list-style: none;
        }

        .timeline li {
            margin-bottom: 0.5rem;
        }

        /* Contact Section */
        .contact {
            text-align: center;
        }

        .contact p {
            color: #a1a1aa;
            margin-bottom: 2rem;
            max-width: 36rem;
            margin-left: auto;
            margin-right: auto;
        }

        /* Footer */
        footer {
            padding: 2rem 0;
            border-top: 1px solid #27272a;
            text-align: center;
        }

        footer p {
            color: #71717a;
            font-size: 0.875rem;
            font-family: 'Courier New', monospace;
        }

        /* SVG Icons */
        .icon {
            width: 24px;
            height: 24px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .icon-sm {
            width: 20px;
            height: 20px;
        }

        .icon-xs {
            width: 16px;
            height: 16px;
        }

        .overlay-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(6px);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.5rem;
        z-index: 2000;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
      }
      .overlay-backdrop.open {
        opacity: 1;
        pointer-events: all;
      }

      /* ── Overlay panel ── */
      .overlay-panel {
        background-color: #18181b;
        border: 1px solid #27272a;
        border-radius: 0.5rem;
        width: 100%;
        max-width: 680px;
        max-height: 88vh;
        overflow-y: auto;
        transform: translateY(20px) scale(0.97);
        transition: transform 0.28s cubic-bezier(0.34, 1.45, 0.64, 1);
      }
      .overlay-backdrop.open .overlay-panel {
        transform: translateY(0) scale(1);
      }

      /* ── Overlay inner content ── */
      .overlay-body {
        padding: 2rem;
      }
      .overlay-top-row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 0.75rem;
      }
      .overlay-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: #fafafa;
        line-height: 1.3;
        margin: 0;
      }
      .overlay-close {
        flex-shrink: 0;
        width: 32px;
        height: 32px;
        border-radius: 0.25rem;
        border: 1px solid #27272a;
        background: transparent;
        color: #a1a1aa;
        font-size: 16px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: border-color 0.2s, color 0.2s;
      }
      .overlay-close:hover {
        border-color: rgba(16, 185, 129, 0.5);
        color: #10b981;
      }

      .overlay-meta-row {
        display: flex;
        align-items: center;
        gap: 1rem;
        font-size: 0.875rem;
        color: #71717a;
        margin-bottom: 1rem;
      }
      .overlay-tags {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        margin-bottom: 1.5rem;
      }
      .overlay-divider {
        border: none;
        border-top: 1px solid #27272a;
        margin-bottom: 1.5rem;
      }
      .overlay-content {
        font-size: 0.9375rem;
        line-height: 1.8;
        color: #a1a1aa;
      }
      .overlay-content p + p { margin-top: 1rem; }

      /* Make cards feel clickable */
      .blog-card { cursor: pointer; }
      .blog-card .read-more { pointer-events: none; }
     
      .doc-processing {
            position: relative;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 6px;
            color: #666;
            font-size: 14px;
            overflow: hidden;
            margin-top: 10px;
            }

            .scanline {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 20%;
            background: linear-gradient(
                to right,
                transparent,
                rgba(0, 150, 255, 0.2),
                transparent
            );
            animation: scan 1.5s linear infinite;
            }

            @keyframes scan {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(300%); }
            }

        .modal-image {
        width: 100%;
        max-height: 500px;   /* add this */
        border-radius: 8px;
        margin: 16px 0;
        object-fit: contain; /* change cover → contain so certs aren't cropped */
        }

        .project-image-wrapper a {
         display: block;
         width: 100%;
        height: 100%;
    }

   

















  




