﻿
        /* ================================================================
       CSS VARIABLES — LIGHT & DARK THEMES
    ================================================================ */
        :root {
            --primary: #0f172a;
            --secondary: #2563eb;
            --accent: #38bdf8;
            --bg: #f8fafc;
            --card: #ffffff;
            --text: #0f172a;
            --muted: #64748b;
            --border: #e2e8f0;
            --grad: linear-gradient(135deg, #2563eb, #38bdf8);
            --grad-text: linear-gradient(135deg, #2563eb, #38bdf8);
            --shadow: 0 4px 24px rgba(37, 99, 235, 0.10);
            --shadow-lg: 0 12px 48px rgba(37, 99, 235, 0.18);
            --glow: 0 0 30px rgba(56, 189, 248, 0.25);
            --radius: 14px;
            --radius-sm: 10px;
            --nav-bg: rgba(248, 250, 252, 0.85);
            --t: 0.35s;
        }

        [data-theme="dark"] {
            --primary: #f1f5f9;
            --bg: #020617;
            --card: #0f172a;
            --text: #f1f5f9;
            --muted: #94a3b8;
            --border: rgba(255, 255, 255, 0.08);
            --shadow: 0 4px 24px rgba(0, 0, 0, 0.40);
            --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.60);
            --glow: 0 0 40px rgba(56, 189, 248, 0.30);
            --nav-bg: rgba(2, 6, 23, 0.85);
        }

        /* ================================================================
       RESET & BASE
    ================================================================ */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: var(--bg);
            color: var(--text);
            transition: background var(--t), color var(--t);
            overflow-x: hidden;
            line-height: 1.6;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        img {
            max-width: 100%;
            display: block;
        }

        ul {
            list-style: none;
        }

        /* ================================================================
       UTILITY
    ================================================================ */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        .section {
            padding: 100px 0;
        }

        .section-header {
            text-align: center;
            margin-bottom: 64px;
        }

        .badge-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--secondary);
            background: rgba(37, 99, 235, 0.08);
            border: 1px solid rgba(37, 99, 235, 0.15);
            padding: 6px 16px;
            border-radius: 99px;
            margin-bottom: 14px;
        }

        [data-theme="dark"] .badge-tag {
            background: rgba(37, 99, 235, 0.15);
            border-color: rgba(37, 99, 235, 0.30);
        }

        .section-title {
            font-size: clamp(1.9rem, 3.5vw, 2.8rem);
            font-weight: 800;
            color: var(--text);
            line-height: 1.15;
            margin-bottom: 14px;
        }

        .grad-text {
            background: var(--grad);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-sub {
            font-size: 1rem;
            color: var(--muted);
            max-width: 560px;
            margin: 0 auto;
        }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 13px 28px;
            border-radius: 99px;
            font-family: 'Poppins', sans-serif;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            border: none;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .btn::after {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(255, 255, 255, 0.15);
            opacity: 0;
            transition: opacity 0.3s;
        }

        .btn:hover::after {
            opacity: 1;
        }

        .btn:hover {
            transform: translateY(-2px);
        }

        .btn-primary {
            background: var(--grad);
            color: #fff;
            box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
        }

        .btn-primary:hover {
            box-shadow: 0 10px 32px rgba(37, 99, 235, 0.50);
        }

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

        .btn-outline:hover {
            background: var(--secondary);
            color: #fff;
        }

        .btn-ghost {
            background: rgba(37, 99, 235, 0.08);
            color: var(--secondary);
            border: 1px solid rgba(37, 99, 235, 0.20);
        }

        .btn-ghost:hover {
            background: var(--secondary);
            color: #fff;
        }

        .btn-sm {
            padding: 9px 20px;
            font-size: 0.8rem;
        }

        /* ================================================================
       SCROLLBAR
    ================================================================ */
        ::-webkit-scrollbar {
            width: 5px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--secondary);
            border-radius: 99px;
        }

        /* ================================================================
       NAVBAR
    ================================================================ */
        #navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: var(--nav-bg);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            transition: box-shadow 0.3s, background var(--t);
        }

        #navbar.scrolled {
            box-shadow: var(--shadow);
        }

        .nav-wrap {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 70px;
        }

        .nav-logo {
            font-size: 1.1rem;
            font-weight: 800;
            color: var(--text);
            letter-spacing: -0.02em;
        }

        .nav-logo span {
            background: var(--grad);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 2px;
        }

        .nav-links a {
            font-size: 0.86rem;
            font-weight: 500;
            color: var(--muted);
            padding: 7px 13px;
            border-radius: 8px;
            transition: all 0.25s;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--secondary);
            background: rgba(37, 99, 235, 0.08);
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        /* Theme Toggle */
        .theme-toggle {
            width: 50px;
            height: 26px;
            background: var(--border);
            border-radius: 99px;
            cursor: pointer;
            position: relative;
            border: none;
            transition: background 0.3s;
            flex-shrink: 0;
        }

        .theme-toggle::after {
            content: '';
            position: absolute;
            top: 3px;
            left: 3px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--secondary);
            transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        [data-theme="dark"] .theme-toggle::after {
            transform: translateX(24px);
        }

        [data-theme="dark"] .theme-toggle {
            background: rgba(37, 99, 235, 0.3);
        }

        .theme-icon {
            font-size: 0.9rem;
            color: var(--muted);
            pointer-events: none;
        }

        /* Hamburger */
        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            border: none;
            background: none;
            padding: 6px;
        }

        .hamburger span {
            display: block;
            width: 22px;
            height: 2px;
            background: var(--text);
            border-radius: 2px;
            transition: all 0.3s;
        }

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

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

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

        /* Mobile Menu */
        .mobile-nav {
            display: none;
            flex-direction: column;
            padding: 10px 1.5rem 18px;
            border-top: 1px solid var(--border);
            background: var(--nav-bg);
        }

        .mobile-nav.open {
            display: flex;
        }

        .mobile-nav a {
            padding: 12px 0;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text);
            border-bottom: 1px solid var(--border);
            transition: color 0.2s;
        }

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

        /* ================================================================
       HERO
    ================================================================ */
        #home {
            min-height: 100vh;
            padding-top: 70px;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        /* Animated mesh background */
        .hero-bg {
            position: absolute;
            inset: 0;
            z-index: 0;
            overflow: hidden;
        }

        .hero-bg-orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.5;
            animation: orbFloat 8s ease-in-out infinite;
        }

        .orb1 {
            width: 500px;
            height: 500px;
            background: rgba(37, 99, 235, 0.15);
            top: -100px;
            right: -100px;
            animation-delay: 0s;
        }

        .orb2 {
            width: 380px;
            height: 380px;
            background: rgba(56, 189, 248, 0.12);
            bottom: -80px;
            left: -80px;
            animation-delay: 3s;
        }

        .orb3 {
            width: 260px;
            height: 260px;
            background: rgba(37, 99, 235, 0.10);
            top: 40%;
            left: 35%;
            animation-delay: 6s;
        }

        [data-theme="dark"] .orb1 {
            opacity: 0.4;
        }

        [data-theme="dark"] .orb2 {
            opacity: 0.35;
        }

        /* Floating grid dots */
        .hero-grid {
            position: absolute;
            inset: 0;
            background-image: radial-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px);
            background-size: 40px 40px;
            pointer-events: none;
        }

        [data-theme="dark"] .hero-grid {
            background-image: radial-gradient(rgba(56, 189, 248, 0.06) 1px, transparent 1px);
        }

        .hero-inner {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5rem;
            align-items: center;
            position: relative;
            z-index: 1;
            padding: 80px 0;
        }

        /* Hero content */
        .hero-greeting {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: rgba(37, 99, 235, 0.08);
            border: 1px solid rgba(37, 99, 235, 0.18);
            border-radius: 99px;
            padding: 7px 18px;
            margin-bottom: 22px;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--secondary);
            animation: fadeDown 0.7s ease both;
        }

        .pulse-dot {
            width: 8px;
            height: 8px;
            background: #22c55e;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }

        .hero-name {
            font-size: clamp(2.4rem, 5vw, 3.8rem);
            font-weight: 900;
            line-height: 1.08;
            color: var(--text);
            margin-bottom: 18px;
            letter-spacing: -0.03em;
            animation: fadeUp 0.7s ease 0.15s both;
        }

        .hero-type {
            font-size: clamp(1rem, 2.2vw, 1.3rem);
            font-weight: 600;
            color: var(--muted);
            margin-bottom: 22px;
            min-height: 2.2rem;
            animation: fadeUp 0.7s ease 0.25s both;
        }

        .type-cursor {
            color: var(--secondary);
            border-right: 3px solid var(--secondary);
            padding-right: 3px;
            animation: blink 0.7s step-end infinite;
        }

        .hero-bio {
            font-size: 0.95rem;
            color: var(--muted);
            line-height: 1.85;
            max-width: 460px;
            margin-bottom: 36px;
            animation: fadeUp 0.7s ease 0.35s both;
        }

        .hero-btns {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
            animation: fadeUp 0.7s ease 0.45s both;
        }

        .hero-socials {
            display: flex;
            gap: 12px;
            margin-top: 36px;
            animation: fadeUp 0.7s ease 0.55s both;
        }

        .hero-social-btn {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: var(--card);
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            color: var(--muted);
            transition: all 0.3s;
            cursor: pointer;
        }

        .hero-social-btn:hover {
            background: var(--secondary);
            color: #fff;
            border-color: var(--secondary);
            transform: translateY(-3px);
            box-shadow: var(--shadow);
        }

        /* Hero image */
        .hero-visual {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .profile-ring-wrap {
            position: relative;
            width: 380px;
            height: 380px;
            animation: fadeUp 0.8s ease 0.2s both;
        }

        .profile-ring-outer {
            position: absolute;
            inset: -20px;
            border-radius: 50%;
            background: conic-gradient(from 0deg, #2563eb, #38bdf8, #2563eb);
            animation: spin 8s linear infinite;
            opacity: 0.5;
        }

        .profile-ring-inner {
            position: absolute;
            inset: -12px;
            border-radius: 50%;
            border: 2px dashed rgba(37, 99, 235, 0.30);
            animation: spin 20s linear infinite reverse;
        }

        .profile-circle {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: var(--grad);
            padding: 5px;
            box-shadow: var(--shadow-lg), var(--glow);
        }

        .profile-inner {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: linear-gradient(135deg, #dbeafe, #bfdbfe);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
        }

        [data-theme="dark"] .profile-inner {
            background: linear-gradient(135deg, #1e3a5f, #0f2d5a);
        }

        .profile-inner i {
            font-size: 8rem;
            color: var(--secondary);
            opacity: 0.3;
        }

        /* Floating cards around image */
        .float-card {
            position: absolute;
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            box-shadow: var(--shadow);
            padding: 10px 16px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.78rem;
            font-weight: 600;
            color: var(--text);
            animation: orbFloat 4s ease-in-out infinite;
            white-space: nowrap;
        }

        .float-card i {
            font-size: 1.2rem;
        }

        .fc-java {
            top: 5%;
            right: -8%;
            animation-delay: 0s;
        }

        .fc-java i {
            color: #f89820;
        }

        .fc-react {
            bottom: 12%;
            left: -10%;
            animation-delay: 1.2s;
        }

        .fc-react i {
            color: #61dafb;
        }

        .fc-mca {
            top: 50%;
            right: -12%;
            animation-delay: 2.4s;
        }

        .fc-mca i {
            color: #22c55e;
        }

        /* ================================================================
       ABOUT
    ================================================================ */
        #about {
            background: var(--card);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1.1fr;
            gap: 5rem;
            align-items: center;
        }

        /* ================================================================
       ABOUT — redesigned
    ================================================================ */
        #about {
            background: var(--card);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        /* Bio card */
        .about-bio-card {
            display: flex;
            align-items: center;
            gap: 24px;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 28px 32px;
            margin-bottom: 28px;
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
        }

        .about-bio-card::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: var(--grad);
        }

        .about-bio-avatar {
            font-size: 3.5rem;
            flex-shrink: 0;
            line-height: 1;
            background: rgba(37, 99, 235, 0.08);
            border: 1px solid rgba(37, 99, 235, 0.15);
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .about-bio-text h3 {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 8px;
        }

        .about-bio-text p {
            font-size: 0.88rem;
            color: var(--muted);
            line-height: 1.8;
        }

        /* Stats row */
        .about-stats-row {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            margin-bottom: 28px;
        }

        .about-stat-box {
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 22px 16px;
            text-align: center;
            box-shadow: var(--shadow);
            transition: all 0.3s;
            cursor: default;
        }

        .about-stat-box:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
            border-color: rgba(37, 99, 235, 0.30);
        }

        .asb-icon {
            font-size: 1.6rem;
            margin-bottom: 8px;
        }

        .asb-num {
            font-size: 1.8rem;
            font-weight: 900;
            background: var(--grad);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1;
            margin-bottom: 4px;
        }

        .asb-lbl {
            font-size: 0.7rem;
            font-weight: 600;
            color: var(--muted);
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        /* Bottom two-col grid */
        .about-bottom-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
        }

        .about-card {
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: all 0.3s;
        }

        .about-card:hover {
            box-shadow: var(--shadow-lg);
            border-color: rgba(37, 99, 235, 0.20);
        }

        .about-card-header {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 16px 20px;
            background: var(--card);
            border-bottom: 1px solid var(--border);
            font-weight: 700;
            font-size: 0.9rem;
            color: var(--text);
        }

        .about-card-icon {
            font-size: 1.1rem;
        }

        .about-card-title {
            font-size: 0.88rem;
            font-weight: 700;
            color: var(--text);
        }

        /* Projects list */
        .about-proj-list {
            padding: 8px 0;
        }

        .about-proj-item {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 13px 20px;
            border-bottom: 1px solid var(--border);
            transition: background 0.2s;
        }

        .about-proj-item:last-child {
            border-bottom: none;
        }

        .about-proj-item:hover {
            background: var(--card);
        }

        .aproj-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .aproj-info {
            flex: 1;
        }

        .aproj-name {
            font-size: 0.88rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 4px;
        }

        .aproj-tags {
            display: flex;
            gap: 5px;
            flex-wrap: wrap;
        }

        .aproj-tags span {
            font-size: 0.65rem;
            font-weight: 600;
            color: var(--secondary);
            background: rgba(37, 99, 235, 0.08);
            padding: 2px 8px;
            border-radius: 99px;
        }

        .aproj-arrow {
            color: var(--muted);
            font-size: 0.75rem;
            transition: all 0.2s;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
        }

        .about-proj-item:hover .aproj-arrow {
            background: var(--secondary);
            color: #fff;
            transform: translateX(2px);
        }

        /* Tech items with bars */
        .about-tech-grid {
            padding: 14px 20px;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .about-tech-item {
            display: grid;
            grid-template-columns: 24px 80px 1fr 36px;
            align-items: center;
            gap: 8px;
        }

        .ati-icon {
            font-size: 1rem;
            text-align: center;
        }

        .ati-name {
            font-size: 0.78rem;
            font-weight: 600;
            color: var(--text);
        }

        .ati-bar {
            height: 6px;
            background: var(--border);
            border-radius: 99px;
            overflow: hidden;
        }

        .ati-fill {
            height: 100%;
            border-radius: 99px;
            background: var(--grad);
            width: 0;
            transition: width 1.3s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .ati-fill.animated {
            width: var(--fw);
        }

        .ati-pct {
            font-size: 0.7rem;
            font-weight: 700;
            color: var(--secondary);
            text-align: right;
        }

        .about-text {
            font-size: 0.95rem;
            color: var(--muted);
            line-height: 1.9;
            margin-bottom: 16px;
        }

        .about-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin: 24px 0 32px;
        }

        .about-pill {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--secondary);
            background: rgba(37, 99, 235, 0.08);
            border: 1px solid rgba(37, 99, 235, 0.15);
            padding: 7px 14px;
            border-radius: 99px;
            transition: all 0.25s;
        }

        .about-pill:hover {
            background: var(--secondary);
            color: #fff;
            transform: scale(1.04);
        }

        /* ================================================================
       EDUCATION
    ================================================================ */


        .tl {
            position: relative;
            max-width: 820px;
            margin: 0 auto;
        }

        .tl::before {
            content: '';
            position: absolute;
            left: 36px;
            top: 8px;
            bottom: 8px;
            width: 2px;
            background: linear-gradient(to bottom, var(--secondary), var(--accent), transparent);
            border-radius: 2px;
        }

        .tl-row {
            display: flex;
            gap: 2.5rem;
            margin-bottom: 36px;
            align-items: flex-start;
        }

        .tl-icon-wrap {
            flex-shrink: 0;
            width: 74px;
            height: 74px;
            border-radius: 50%;
            background: var(--grad);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.4rem;
            box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.10), var(--shadow);
            z-index: 1;
            position: relative;
        }

        .tl-card {
            flex: 1;
            background: var(--card);
            border-radius: var(--radius);
            border: 1px solid var(--border);
            padding: 26px 30px;
            box-shadow: var(--shadow);
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }

        .tl-card::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            background: var(--grad);
            border-radius: 3px 0 0 3px;
        }

        .tl-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
            border-color: rgba(37, 99, 235, 0.25);
        }

        .tl-year {
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--secondary);
            background: rgba(37, 99, 235, 0.08);
            padding: 4px 12px;
            border-radius: 99px;
            display: inline-block;
            margin-bottom: 12px;
        }

        .tl-degree {
            font-size: 1.08rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 6px;
        }

        .tl-school {
            font-size: 0.88rem;
            color: var(--muted);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .tl-score {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--secondary);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* ================================================================
       SKILLS
    ================================================================ */
        #skills {
            background: var(--card);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .skills-category-title {
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--muted);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .skills-category-title::after {
            content: '';
            flex: 1;
            height: 1px;
            background: var(--border);
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
            gap: 16px;
            margin-bottom: 52px;
        }

        .skill-card {
            background: var(--bg);
            border-radius: var(--radius);
            border: 1px solid var(--border);
            padding: 26px 16px;
            text-align: center;
            cursor: default;
            transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
            overflow: hidden;
        }

        .skill-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--grad);
            opacity: 0;
            transition: opacity 0.3s;
        }

        .skill-card:hover {
            transform: translateY(-8px) scale(1.04);
            box-shadow: var(--shadow-lg), var(--glow);
            border-color: transparent;
        }

        .skill-card:hover::before {
            opacity: 1;
        }

        .skill-card:hover .skill-icon,
        .skill-card:hover .sk-name,
        .skill-card:hover .sk-lvl {
            position: relative;
            z-index: 1;
            color: #fff !important;
            -webkit-text-fill-color: #fff !important;
        }

        .skill-icon {
            font-size: 2.6rem;
            margin-bottom: 12px;
            transition: transform 0.3s;
            display: block;
            position: relative;
            z-index: 1;
        }

        .skill-card:hover .skill-icon {
            transform: scale(1.15) rotate(-5deg);
        }

        .sk-name {
            font-size: 0.82rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 4px;
            position: relative;
            z-index: 1;
            transition: color 0.3s;
        }

        .sk-lvl {
            font-size: 0.68rem;
            color: var(--muted);
            position: relative;
            z-index: 1;
            transition: color 0.3s;
        }

        /* Tools */
        .tools-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
            gap: 14px;
        }

        .tool-card {
            display: flex;
            align-items: center;
            gap: 14px;
            background: var(--bg);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border);
            padding: 16px 20px;
            transition: all 0.3s;
        }

        .tool-card:hover {
            background: var(--card);
            border-color: var(--secondary);
            box-shadow: var(--shadow);
            transform: translateX(4px);
        }

        .tool-icon {
            font-size: 1.7rem;
        }

        .tool-name {
            font-size: 0.88rem;
            font-weight: 600;
            color: var(--text);
        }

        .tool-ver {
            font-size: 0.7rem;
            color: var(--muted);
        }

        /* ================================================================
       EXPERIENCE
    ================================================================ */


        .exp-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 24px;
        }

        .exp-card {
            background: var(--card);
            border-radius: var(--radius);
            border: 1px solid var(--border);
            padding: 30px;
            box-shadow: var(--shadow);
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }

        .exp-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--grad);
        }

        .exp-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-lg), var(--glow);
        }

        .exp-period {
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--secondary);
            background: rgba(37, 99, 235, 0.08);
            padding: 4px 12px;
            border-radius: 99px;
            display: inline-block;
            margin-bottom: 16px;
        }

        .exp-title {
            font-size: 1.08rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 4px;
        }

        .exp-company {
            font-size: 0.88rem;
            color: var(--secondary);
            font-weight: 600;
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .exp-desc {
            font-size: 0.84rem;
            color: var(--muted);
            line-height: 1.8;
            margin-bottom: 18px;
        }

        .exp-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .exp-tag {
            font-size: 0.7rem;
            font-weight: 600;
            color: var(--secondary);
            background: rgba(37, 99, 235, 0.08);
            padding: 4px 12px;
            border-radius: 99px;
        }

        /* ================================================================
       PROJECTS
    ================================================================ */
        #projects {
            background: var(--card);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .proj-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
            gap: 26px;
        }

        .proj-card {
            background: var(--bg);
            border-radius: var(--radius);
            border: 1px solid var(--border);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
            position: relative;
        }

        .proj-card:hover {
            transform: translateY(-10px) scale(1.015);
            box-shadow: var(--shadow-lg), var(--glow);
            border-color: rgba(37, 99, 235, 0.30);
        }

        .proj-banner {
            height: 170px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .proj-banner::after {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.15);
            transition: opacity 0.3s;
        }

        .proj-card:hover .proj-banner::after {
            opacity: 0;
        }

        .proj-banner-icon {
            font-size: 4rem;
            color: rgba(255, 255, 255, 0.9);
            position: relative;
            z-index: 1;
            transition: transform 0.4s;
        }

        .proj-card:hover .proj-banner-icon {
            transform: scale(1.15) rotate(-5deg);
        }

        .proj-body {
            padding: 24px;
        }

        .proj-tags {
            display: flex;
            gap: 7px;
            flex-wrap: wrap;
            margin-bottom: 12px;
        }

        .proj-tag {
            font-size: 0.68rem;
            font-weight: 700;
            color: var(--secondary);
            background: rgba(37, 99, 235, 0.08);
            padding: 3px 10px;
            border-radius: 99px;
        }

        .proj-title {
            font-size: 1.08rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 8px;
        }

        .proj-desc {
            font-size: 0.83rem;
            color: var(--muted);
            line-height: 1.75;
            margin-bottom: 20px;
        }

        .proj-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        /* Banner themes */
        .banner-agri {
            background: linear-gradient(135deg, #15803d, #4ade80 160%);
        }

        .banner-student {
            background: linear-gradient(135deg, #1d4ed8, #38bdf8 160%);
        }

        .banner-krishi {
            background: linear-gradient(135deg, #b45309, #fbbf24 160%);
        }

        .banner-ai {
            background: linear-gradient(135deg, #6d28d9, #a78bfa 160%);
        }

        /* ================================================================
       RESUME
    ================================================================ */


        .resume-hero {
            max-width: 700px;
            margin: 0 auto;
            background: var(--card);
            border-radius: 20px;
            border: 1px solid var(--border);
            box-shadow: var(--shadow-lg);
            padding: 60px 50px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .resume-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--grad);
        }

        .resume-icon-wrap {
            width: 90px;
            height: 90px;
            background: rgba(37, 99, 235, 0.08);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 24px;
            font-size: 2.4rem;
            color: var(--secondary);
            border: 2px solid rgba(37, 99, 235, 0.15);
        }

        .resume-hero h3 {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 12px;
        }

        .resume-hero p {
            font-size: 0.95rem;
            color: var(--muted);
            margin-bottom: 32px;
            line-height: 1.8;
        }

        /* ================================================================
       CONTACT
    ================================================================ */
        #contact {
            background: var(--card);
            border-top: 1px solid var(--border);
        }

        .contact-layout {
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 4rem;
        }

        .contact-cards {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .contact-card {
            display: flex;
            align-items: center;
            gap: 18px;
            background: var(--bg);
            border-radius: var(--radius);
            border: 1px solid var(--border);
            padding: 20px 22px;
            transition: all 0.3s;
        }

        .contact-card:hover {
            border-color: var(--secondary);
            box-shadow: var(--shadow);
            transform: translateX(6px);
        }

        .contact-icon-box {
            width: 52px;
            height: 52px;
            flex-shrink: 0;
            background: rgba(37, 99, 235, 0.08);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: var(--secondary);
            transition: all 0.3s;
        }

        .contact-card:hover .contact-icon-box {
            background: var(--secondary);
            color: #fff;
        }

        .c-label {
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--muted);
            margin-bottom: 4px;
        }

        .c-value {
            font-size: 0.92rem;
            font-weight: 600;
            color: var(--text);
        }

        .c-value a {
            color: var(--secondary);
            transition: opacity 0.2s;
        }

        .c-value a:hover {
            opacity: 0.75;
        }

        /* Form */
        .contact-form {
            background: var(--bg);
            border-radius: var(--radius);
            border: 1px solid var(--border);
            padding: 36px;
        }

        .form-title {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 24px;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
        }

        .form-group {
            margin-bottom: 16px;
        }

        .form-group label {
            display: block;
            font-size: 0.78rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 7px;
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 12px 15px;
            border: 1.5px solid var(--border);
            border-radius: var(--radius-sm);
            font-family: 'Poppins', sans-serif;
            font-size: 0.86rem;
            color: var(--text);
            background: var(--card);
            outline: none;
            transition: border-color 0.25s, box-shadow 0.25s;
            resize: vertical;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: var(--secondary);
            box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
        }

        .form-group textarea {
            min-height: 115px;
        }

        .form-submit {
            width: 100%;
            justify-content: center;
            margin-top: 6px;
        }

        /* ================================================================
       FOOTER
    ================================================================ */
        footer {
            background: var(--primary);
            padding: 56px 0 28px;
        }

        [data-theme="dark"] footer {
            background: #000;
        }

        .footer-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 2rem;
            flex-wrap: wrap;
            margin-bottom: 42px;
        }

        .footer-logo {
            font-size: 1.2rem;
            font-weight: 800;
            color: #fff;
            margin-bottom: 12px;
        }

        .footer-logo span {
            background: var(--grad);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .footer-tagline {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.45);
            max-width: 260px;
            line-height: 1.7;
        }

        .footer-links-title {
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: rgba(255, 255, 255, 0.40);
            margin-bottom: 14px;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 9px;
        }

        .footer-links a {
            font-size: 0.88rem;
            color: rgba(255, 255, 255, 0.60);
            transition: color 0.2s;
        }

        .footer-links a:hover {
            color: var(--accent);
        }

        .footer-socials {
            display: flex;
            gap: 12px;
        }

        .fsoc {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.07);
            border: 1px solid rgba(255, 255, 255, 0.10);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.60);
            transition: all 0.3s;
            cursor: pointer;
        }

        .fsoc:hover {
            background: var(--secondary);
            color: #fff;
            border-color: transparent;
            transform: translateY(-3px);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding-top: 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .footer-copy {
            font-size: 0.82rem;
            color: rgba(255, 255, 255, 0.35);
        }

        .footer-made {
            font-size: 0.82rem;
            color: rgba(255, 255, 255, 0.35);
        }

        /* ================================================================
       CHATBOT
    ================================================================ */
        .chat-fab {
            position: fixed;
            bottom: 28px;
            right: 28px;
            z-index: 999;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: var(--grad);
            box-shadow: var(--shadow-lg), var(--glow);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1.4rem;
            color: #fff;
            border: none;
            transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
            animation: fadeUp 0.7s ease 0.8s both;
        }

        .chat-fab:hover {
            transform: scale(1.12);
            box-shadow: var(--shadow-lg), 0 0 40px rgba(37, 99, 235, 0.50);
        }

        .chat-fab .chat-badge {
            position: absolute;
            top: -4px;
            right: -4px;
            width: 18px;
            height: 18px;
            background: #22c55e;
            border-radius: 50%;
            border: 2px solid var(--bg);
            font-size: 0;
            animation: pulse 2s infinite;
        }

        .chat-window {
            position: fixed;
            bottom: 100px;
            right: 28px;
            z-index: 998;
            width: 360px;
            max-height: 520px;
            background: var(--card);
            border-radius: 20px;
            border: 1px solid var(--border);
            box-shadow: var(--shadow-lg);
            display: flex;
            flex-direction: column;
            transform: scale(0.85) translateY(20px);
            transform-origin: bottom right;
            opacity: 0;
            pointer-events: none;
            transition: all 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
        }

        .chat-window.open {
            opacity: 1;
            pointer-events: all;
            transform: scale(1) translateY(0);
        }

        .chat-head {
            padding: 18px 20px;
            background: var(--grad);
            border-radius: 20px 20px 0 0;
            display: flex;
            align-items: center;
            gap: 14px;
            flex-shrink: 0;
        }

        .chat-avatar {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
        }

        .chat-head-info {
            flex: 1;
        }

        .chat-head-name {
            font-size: 0.9rem;
            font-weight: 700;
            color: #fff;
        }

        .chat-head-status {
            font-size: 0.72rem;
            color: rgba(255, 255, 255, 0.80);
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .chat-head-status::before {
            content: '';
            width: 7px;
            height: 7px;
            background: #4ade80;
            border-radius: 50%;
            display: block;
        }

        .chat-close-btn {
            color: rgba(255, 255, 255, 0.80);
            background: none;
            border: none;
            font-size: 1.1rem;
            cursor: pointer;
            padding: 4px;
            transition: color 0.2s;
        }

        .chat-close-btn:hover {
            color: #fff;
        }

        .chat-messages {
            flex: 1;
            overflow-y: auto;
            padding: 18px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            scroll-behavior: smooth;
        }

        .chat-messages::-webkit-scrollbar {
            width: 4px;
        }

        .chat-messages::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 99px;
        }

        .msg {
            max-width: 85%;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .msg.bot {
            align-self: flex-start;
        }

        .msg.user {
            align-self: flex-end;
        }

        .msg-bubble {
            padding: 11px 15px;
            border-radius: 16px;
            font-size: 0.84rem;
            line-height: 1.55;
        }

        .msg.bot .msg-bubble {
            background: var(--bg);
            color: var(--text);
            border: 1px solid var(--border);
            border-bottom-left-radius: 4px;
        }

        .msg.user .msg-bubble {
            background: var(--grad);
            color: #fff;
            border-bottom-right-radius: 4px;
        }

        .msg-time {
            font-size: 0.65rem;
            color: var(--muted);
            padding: 0 4px;
        }

        .msg.user .msg-time {
            align-self: flex-end;
        }

        .chat-quick {
            padding: 0 18px 10px;
            display: flex;
            flex-wrap: wrap;
            gap: 7px;
            flex-shrink: 0;
        }

        .quick-btn {
            font-size: 0.72rem;
            font-weight: 600;
            color: var(--secondary);
            background: rgba(37, 99, 235, 0.08);
            border: 1px solid rgba(37, 99, 235, 0.18);
            padding: 5px 12px;
            border-radius: 99px;
            cursor: pointer;
            transition: all 0.2s;
            white-space: nowrap;
        }

        .quick-btn:hover {
            background: var(--secondary);
            color: #fff;
            border-color: var(--secondary);
        }

        .chat-input-row {
            padding: 14px 16px;
            border-top: 1px solid var(--border);
            display: flex;
            gap: 10px;
            align-items: center;
            flex-shrink: 0;
        }

        .chat-input {
            flex: 1;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 99px;
            padding: 10px 16px;
            font-family: 'Poppins', sans-serif;
            font-size: 0.83rem;
            color: var(--text);
            outline: none;
            transition: border-color 0.2s;
        }

        .chat-input:focus {
            border-color: var(--secondary);
        }

        .chat-send {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--grad);
            border: none;
            color: #fff;
            font-size: 0.9rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            flex-shrink: 0;
        }

        .chat-send:hover {
            transform: scale(1.1);
            box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
        }

        /* Typing indicator */
        .typing-indicator {
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 12px 16px;
        }

        .typing-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--muted);
            animation: typingDot 1.2s ease infinite;
        }

        .typing-dot:nth-child(2) {
            animation-delay: 0.2s;
        }

        .typing-dot:nth-child(3) {
            animation-delay: 0.4s;
        }

        /* ================================================================
       SCROLL REVEAL
    ================================================================ */
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }

        .reveal.from-left {
            transform: translateX(-40px);
        }

        .reveal.from-right {
            transform: translateX(40px);
        }

        .reveal.visible {
            opacity: 1 !important;
            transform: translate(0) !important;
        }

        /* ================================================================
       BACK TO TOP
    ================================================================ */
        #backTop {
            position: fixed;
            bottom: 96px;
            right: 28px;
            z-index: 997;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--card);
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            color: var(--secondary);
            cursor: pointer;
            box-shadow: var(--shadow);
            transition: all 0.3s;
            opacity: 0;
            pointer-events: none;
        }

        #backTop.visible {
            opacity: 1;
            pointer-events: all;
        }

        #backTop:hover {
            background: var(--secondary);
            color: #fff;
            border-color: var(--secondary);
            transform: translateY(-3px);
        }

        /* ================================================================
       ANIMATIONS
    ================================================================ */
        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(28px);
            }

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

        @keyframes fadeDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }

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

        @keyframes orbFloat {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-15px);
            }
        }

        @keyframes spin {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        @keyframes pulse {

            0%,
            100% {
                opacity: 1;
                transform: scale(1);
            }

            50% {
                opacity: 0.5;
                transform: scale(0.85);
            }
        }

        @keyframes blink {

            0%,
            100% {
                border-color: var(--secondary);
            }

            50% {
                border-color: transparent;
            }
        }

        @keyframes typingDot {

            0%,
            80%,
            100% {
                transform: scale(0.7);
                opacity: 0.5;
            }

            40% {
                transform: scale(1);
                opacity: 1;
            }
        }

        @keyframes shimmer {
            0% {
                background-position: -200% 0;
            }

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

        /* ================================================================
       RESPONSIVE
    ================================================================ */
        @media (max-width: 960px) {
            .hero-inner {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 3rem;
                padding: 60px 0;
            }

            .hero-content {
                order: 2;
            }

            .hero-visual {
                order: 1;
            }

            .hero-bio {
                margin: 0 auto 36px;
            }

            .hero-btns,
            .hero-socials {
                justify-content: center;
            }

            .profile-ring-wrap {
                width: 280px;
                height: 280px;
            }

            .fc-java {
                right: 0;
            }

            .fc-react {
                left: 0;
            }

            .fc-mca {
                right: 0;
            }

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

            .about-img-container {
                padding: 10px;
            }

            .about-stats-row {
                grid-template-columns: repeat(2, 1fr);
            }

            .about-bottom-grid {
                grid-template-columns: 1fr;
            }

            .about-bio-card {
                flex-direction: column;
                text-align: center;
            }

            .contact-layout {
                grid-template-columns: 1fr;
            }

            .nav-links,
            .nav-cta {
                display: none;
            }

            .hamburger {
                display: flex;
            }
        }

        @media (max-width: 600px) {
            .section {
                padding: 70px 0;
            }

            .chat-window {
                width: calc(100vw - 32px);
                right: 16px;
                bottom: 90px;
            }

            .chat-fab {
                bottom: 20px;
                right: 16px;
            }

            #backTop {
                right: 16px;
                bottom: 88px;
            }

            .resume-hero {
                padding: 36px 24px;
            }

            .form-row {
                grid-template-columns: 1fr;
            }
        }
    
