@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700&family=Poppins:wght@400;600;700&family=Rajdhani:wght@500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Playfair+Display:wght@700&display=swap');
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    overflow-x: hidden;
    overflow-y: scroll;
    background: #111111;
}

section[id], .cover-section {
    scroll-margin-top: 8vh;
}

nav,
.site-nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;    
    z-index: 100;
    font-weight: bold;
    isolation: isolate;
}

nav ul,
.site-nav ul {
    font-weight: bolder;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    height: 64px;
    padding: 0 clamp(20px, 4vw, 56px);
}

nav ul li.brand,
.site-nav ul li.brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    letter-spacing: 2px;
    color: #fff;
}

nav ul li.brand .brand-link,
.site-nav ul li.brand .brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

nav ul li.brand .brand-logo,
.site-nav ul li.brand .brand-logo {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

nav ul li.nav-links,
.site-nav ul li.nav-links {
    display: flex;
    gap: clamp(8px, 2vw, 18px);
}

nav ul li.nav-links a,
.site-nav ul li.nav-links a {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.82rem, 1.5vw, 0.98rem);
    font-weight: 600;
    letter-spacing: 0.4px;
    text-decoration: none;
    color: #c8c8c8;
    padding: 4px 10px;
    border-radius: 6px;
    transition: color 0.25s, background 0.25s;
}

nav ul li.nav-links a:hover,
.site-nav ul li.nav-links a:hover {
    color: #1da9c0;
    background: rgba(29,169,192,0.1);
}

.cover-section {
    position: relative;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    min-height: 520px;
    overflow: hidden;
    isolation: isolate;
    background: #111111;
    contain: layout paint;
}

.hero {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px clamp(24px, 6vw, 80px) 0;
    color: #fff;
    z-index: 5;
}

.hero-left {
    width: min(680px, 100%);
    max-width: 680px;
    padding: clamp(18px, 3vw, 36px);
    text-align: center;
}

.hero-copy-frame {
    position: relative;
    display: block;
    width: 100%;
    animation: antigravityBracket 6s ease-in-out infinite;
}

.hero-copy-frame::before,
.hero-copy-frame::after {
    content: "";
    position: absolute;
    width: clamp(22px, 3vw, 40px);
    height: clamp(22px, 3vw, 40px);
    border-color: rgba(159, 232, 220, 0.45);
    border-style: solid;
    pointer-events: none;
    transition: border-color 0.3s ease;
}

.hero-copy-frame::before {
    top: 0;
    left: 0;
    border-width: 1.5px 0 0 1.5px;
}

.hero-copy-frame::after {
    right: 0;
    bottom: 0;
    border-width: 0 1.5px 1.5px 0;
}

.bracket-third { padding: 28px; animation-delay: -1.8s; }
.bracket-second { padding: 20px; animation-delay: -1.2s; }
.bracket-first { padding: 14px; animation-delay: -0.6s; }

@keyframes antigravityBracket {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -5px, 0); }
}

.hero-kicker,
.hello-kicker {
    color: #9fe8dc;
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(0.65rem, 1.2vw, 0.82rem);
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.hero-left h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.9rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.3;
    color: #f5f5f5;
    text-shadow: 0 2px 16px rgba(0,0,0,0.6);
    margin-bottom: 8px;
}

.hero-left h1 span {
    color: #1da9c0;
    text-shadow: 0 0 18px rgba(29,169,192,0.55);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.88em;
}

.hero-name-line {
    display: inline-block;
    white-space: nowrap;
}

.hero-left p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    color: #c8c8c8;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
}

.hero-left h1,
.hero-left p,
.hero-left .socialmedia { position: relative; z-index: 1; }

.highlight {
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255,107,107,0.45);
}

.socialmedia {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.socialmedia a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
    text-decoration: none;
}
.socialmedia a:hover {
    transform: translateY(-3px);
    background: rgba(29,169,192,0.15);
    border-color: rgba(29,169,192,0.4);
}
.socialmedia a img {
    width: 32px; height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.75;
    transition: opacity 0.2s;
}
.socialmedia a:hover img { opacity: 1; }

.bottom-info {
    position: absolute;
    bottom: 14px;
    left: clamp(16px, 3vw, 28px);
    right: clamp(16px, 3vw, 28px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bottom-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}

.left.corner { overflow: hidden; }

.left.corner p {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(0.72rem, 1.4vw, 1rem);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
}

.magnetic-art-stage {
    position: relative;
    z-index: 1;
    width: 100%;
    height: clamp(240px, 34vw, 390px);
    margin: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
}

.about-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: clamp(24px, 5vw, 76px);
    max-width: 1280px;
    margin: clamp(28px, 5vw, 58px) auto 0;
}

.about-split > * {
    min-width: 0;
}

#bubble-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.skills-section {
    padding: clamp(48px, 8vh, 80px) clamp(20px, 6vw, 72px);
    color: #fff;
    position: relative;
    z-index: 5;
    background: transparent;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    color: #1da9c0;
    text-shadow: 0 0 12px rgba(29,169,192,0.4);
    margin-bottom: clamp(20px, 3vh, 36px);
    position: relative;
    z-index: 2;
}

.education-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 56px);
    position: relative;
    z-index: 2;
}

.education-container {
    flex: 1 1 340px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.education-animation {
    flex: 0 1 420px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.education-animation dotlottie-wc {
    width: clamp(200px, 38vw, 500px);
    height: clamp(200px, 38vw, 500px);
}

.college, .school {
    padding: clamp(18px, 2.5vw, 28px) clamp(18px, 2.5vw, 30px);
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-left: 3px solid #1da9c0;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.45);
    font-family: 'Poppins', sans-serif;
    color: #d0d0d0;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.college:hover, .school:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(29,169,192,0.18);
}

.edu-degree {
    font-size: clamp(0.88rem, 1.5vw, 1.02rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
    line-height: 1.5;
}

.edu-institute {
    font-size: clamp(0.85rem, 1.4vw, 0.98rem);
    font-weight: 600;
    color: #1da9c0;
    margin-bottom: 3px;
}

.edu-location {
    font-size: clamp(0.78rem, 1.2vw, 0.86rem);
    color: #888;
    letter-spacing: 0.4px;
}

.edu-year {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.78rem;
    font-family: 'Orbitron', sans-serif;
    color: #FFD700;
    letter-spacing: 1px;
    text-shadow: 0 0 6px rgba(255,215,0,0.35);
}

.edu-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-top: 14px;
    padding-top: 11px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(0.72rem, 1.2vw, 0.82rem);
    letter-spacing: 0.3px;
    color: rgba(255,255,255,0.68);
}

.edu-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.edu-highlights span:not(:last-child)::after {
    content: "/";
    margin-left: 2px;
    color: rgba(159,232,220,0.45);
}

.edu-highlights strong {
    color: #9fe8dc;
    font-size: 1.05em;
    font-weight: 700;
}

.edu-highlight-label {
    color: rgba(255,255,255,0.55);
}

.tech-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: clamp(40px, 6vh, 70px) clamp(20px, 5vw, 56px) clamp(32px, 5vh, 60px);
    background: transparent;
    position: relative;
    overflow: visible;
}.leetcode-section {
    position: relative;
    padding: 20px clamp(20px, 6vw, 80px);
    display: flex;
    justify-content: center;
    z-index: 2;
    overflow: visible;
}

#leetcode-canvas {
    position: absolute;
    inset: -80px;
    width: calc(100% + 160px);
    height: calc(100% + 160px);
    z-index: 0;
    pointer-events: none;
}

.leetcode-card {
    position: relative;
    z-index: 2;
    width: auto;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    border-radius: 16px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}

.hackathon-section {
    position: relative;
    padding: clamp(72px, 10vh, 130px) clamp(20px, 6vw, 80px);
    overflow: hidden;
    scroll-margin-top: 8vh;
}
.hackathon-section::before {
    content: '';
    position: absolute;
    top: 16%;
    left: 8%;
    width: min(520px, 65vw);
    height: 360px;
    background: radial-gradient(circle, rgba(255,59,48,0.1), transparent 68%);
    filter: blur(18px);
    pointer-events: none;
    animation: hackathonGlow 8s ease-in-out infinite;
}
@keyframes hackathonGlow {
    0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.65; }
    50% { transform: translate3d(26px, -16px, 0); opacity: 1; }
}
.hackathon-shell {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(26px, 4vw, 52px) 0;
    border-top: 1px solid rgba(255,255,255,0.13);
    border-bottom: 1px solid rgba(255,255,255,0.09);
}
.hackathon-heading {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 18px;
    margin-bottom: clamp(34px, 5vw, 58px);
}
.hackathon-eyebrow {
    color: #ff3b30;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}
.hackathon-line {
    width: min(160px, 20vw);
    height: 1px;
    background: linear-gradient(90deg, rgba(255,59,48,0.8), transparent);
}
.hackathon-brand-lockup {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: clamp(10px, 1.4vw, 18px);
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    background: linear-gradient(120deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
    box-shadow: 0 14px 34px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.hackathon-brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.82);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}
.hackathon-brand-mark img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 8px;
    background: #080808;
}
.hackathon-brand-separator {
    color: #ff8a83;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-shadow: 0 0 12px rgba(255,59,48,0.55);
}
.team-mark img {
    border-radius: 50%;
}
.hackathon-heading h2 {
    grid-column: 1 / -1;
    margin-top: 18px;
    color: #f7f7f5;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3.8rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.12;
    text-shadow: 0 0 30px rgba(255,255,255,0.12);
}
.hackathon-subtitle {
    grid-column: 1 / -1;
    margin-top: 10px;
    color: rgba(255,255,255,0.48);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.78rem, 1.4vw, 0.94rem);
    letter-spacing: 0.08em;
}

.hackathon-organizer {
    grid-column: 1 / -1;
    margin-top: 7px;
    color: rgba(255,255,255,0.64);
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(0.7rem, 1.2vw, 0.82rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.hackathon-content {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.7fr);
    gap: clamp(34px, 8vw, 130px);
    align-items: start;
}
.hackathon-story {
    max-width: 700px;
}
.hackathon-kicker {
    margin-bottom: 16px;
    color: #ff8a83;
    font-family: 'Caveat', cursive;
    font-size: clamp(1.45rem, 2.6vw, 2.1rem);
}
.hackathon-description {
    color: rgba(255,255,255,0.72);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.92rem, 1.35vw, 1.05rem);
    line-height: 1.9;
}
.hackathon-meta {
    display: grid;
    gap: 7px;
    padding-left: 24px;
    border-left: 1px solid rgba(255,59,48,0.45);
    animation: hackathonDrift 6s ease-in-out infinite;
}
@keyframes hackathonDrift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
.hackathon-meta-label {
    margin-top: 7px;
    color: rgba(255,255,255,0.38);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.hackathon-meta strong {
    color: rgba(255,255,255,0.9);
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.5;
}
.hackathon-github {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(100%, 250px);
    margin-top: 20px;
    padding: 13px 14px 13px 17px;
    color: #fff;
    border: 1px solid rgba(255,59,48,0.55);
    border-radius: 10px;
    background: rgba(255,59,48,0.06);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.hackathon-github b {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 50%;
    background: #ff3b30;
    color: #190807;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
}
.hackathon-github:hover {
    background: rgba(255,59,48,0.16);
    box-shadow: 0 16px 38px rgba(255,59,48,0.18), inset 0 1px 0 rgba(255,255,255,0.12);
    transform: translateY(-4px);
}
@media (max-width: 760px) {
    .hackathon-heading {
        grid-template-columns: auto 1fr;
        column-gap: 10px;
    }

    .hackathon-line {
        width: 100%;
    }

    .hackathon-brand-lockup {
        grid-column: 1 / -1;
        justify-self: start;
        margin-top: 18px;
    }

    .hackathon-content {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hackathon-meta {
        padding: 22px 0 0;
        border-top: 1px solid rgba(255,59,48,0.45);
        border-left: 0;
    }

    .hackathon-github {
        width: 100%;
    }
}

.leetcode-card:hover {
    transform: translateY(-3px);
    border-color: rgba(29,169,192,0.4);
    box-shadow: 0 18px 40px rgba(0,0,0,0.5), 0 0 28px rgba(29,169,192,0.15);
}

.leetcode-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00e5ff;
    background: linear-gradient(135deg, rgba(29,169,192,0.22), rgba(127,92,255,0.22));
    border: 1px solid rgba(29,169,192,0.35);
    box-shadow: 0 0 16px rgba(29,169,192,0.2);
}

.leetcode-content {
    display: flex;
    align-items: center;
    color: #7d9090; 
    gap: 16px;
    flex-shrink: 0;
}

.leetcode-title {
    font-family: 'Orbitron', -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif !important;
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;

    background: linear-gradient(90deg, #ffffff 0%, #7ce8f5 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ffffff; /* fallback if gradient text isn't supported */
    animation: leetcodeShimmer 4s linear infinite;
}

@keyframes leetcodeShimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.leetcode-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid rgba(29,169,192,0.5);
    color: #00e5ff !important;
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.35s ease;
}

.leetcode-btn svg {
    stroke: #00e5ff;
}

.leetcode-btn:hover {
    background: #00e5ff;
    color: #0a0a0a !important;
    box-shadow: 0 0 20px rgba(0,229,255,0.45);
    transform: translateY(-2px);
}

.leetcode-btn:hover svg {
    stroke: #0a0a0a;
}

@media (max-width: 600px) {
    .leetcode-card { flex-direction: column; text-align: center; gap: 10px; padding: 16px 20px; }
    .leetcode-content { flex-direction: column; gap: 8px; }
}
.tech-bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
    z-index: 0;
}

.tech-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 70vmin; height: 70vmin;
    background: radial-gradient(circle, rgba(29,169,192,0.06) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.tech-header {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 100%;
    width: 100%;
    margin: 0 auto clamp(24px, 4vh, 44px);
    padding: 0 20px;
}

.tech-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(0.7rem, 1.1vw, 0.82rem);
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #1da9c0, #a78bfa, #00ffff, #1da9c0);
    background-size: 280% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: eyebrowShimmer 4s linear infinite;
}

.tech-eyebrow::before,
.tech-eyebrow::after {
    content: '';
    width: 22px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #1da9c0);
    flex-shrink: 0;
}

.tech-eyebrow::after {
    background: linear-gradient(90deg, #a78bfa, transparent);
    animation: none;
}

@keyframes eyebrowShimmer {
    to { background-position: -280% center; }
}

@keyframes underlinePulse {
    0%, 100% { opacity: 0.4; width: 40px; }
    50%      { opacity: 1; width: 72px; }
}

.tech-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.3rem, 4.6vw, 3.1rem);
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.25;
    margin: 0 0 14px;
    white-space: nowrap;
    background: linear-gradient(115deg, #ffffff 20%, #1da9c0 42%, #a78bfa 58%, #ffffff 80%);
    background-size: 260% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleSheen 7s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(167, 139, 250, 0.25));
}

@keyframes titleSheen {
    0%, 100% { background-position: 0% center; }
    50%      { background-position: 100% center; }
}

.tech-sub {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.8rem, 1.3vw, 0.98rem);
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.4px;
    line-height: 1.6;
    max-width: 460px;
    margin: 0 auto;
    animation: subBreathe 4s ease-in-out infinite;
}

@keyframes subBreathe {
    0%, 100% { opacity: 0.52; }
    50%      { opacity: 0.85; }
}

.tech-orbit-wrapper {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 5vw, 80px);
    position: relative;
    z-index: 2;
    min-height: 0;
    overflow: visible;
}

.tech-lottie-side {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.tech-lottie-side dotlottie-wc {
    width: clamp(130px, 16vw, 240px);
    height: clamp(130px, 16vw, 240px);
}

.tech-canvas-side {
    position: relative;
    width: min(600px, 52vw, calc(100vh - 220px));
    height: min(600px, 52vw, calc(100vh - 220px));
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

#orbit-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: auto;
}

.orbit-center-label {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
    gap: 3px;
}

.focus-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(40px, 6vw, 80px);
    padding: clamp(56px, 9vh, 96px) clamp(20px, 6vw, 80px);
    position: relative;
    z-index: 2;
    color: #fff;
    overflow: hidden;
}

.left-side {
    flex: 0 1 480px;
    min-width: 0;
}

.focus-label {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1rem, 2vw, 1.4rem);
    letter-spacing: 5px;
    color: #1da9c0;
    text-shadow: 0 0 12px rgba(29,169,192,0.45);
    margin-bottom: clamp(20px, 3vh, 36px);
}

.left-side ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.left-side ul li {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.92rem, 1.6vw, 1.1rem);
    line-height: 1.75;
    color: #d0d0d0;
    margin-bottom: clamp(8px, 1.2vh, 14px);
    position: relative;
    padding-left: 22px;
}

.left-side ul li::before {
    content: "◆";
    position: absolute;
    left: 0;
    color: #1da9c0;
    font-size: 0.62em;
    top: 0.3em;
}

.right-side {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
    margin-left: auto;
    padding-right: 0;
}

.changing-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#changing-word {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.8rem);
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: -8px;
    background: linear-gradient(90deg, #00ffff, #1da9c0, #7f5cff, #00ffff);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientMove 4s linear infinite;
    transition: opacity 0.2s ease;
}

.changing-text-wrapper h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3.4rem, 8.5vw, 9rem);
    font-weight: 800;
    line-height: 1;
    color: #fff;
    text-shadow: 0 0 40px rgba(29,169,192,0.22), 0 0 80px rgba(29,169,192,0.1);
    white-space: nowrap;
    letter-spacing: -1px;
}

@keyframes gradientMove {
    0%   { background-position: 0%; }
    100% { background-position: 300%; }
}

.reveal {
    opacity: 0;
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
}

.reveal-up    { transform: translateY(48px); }
.reveal-left  { transform: translateX(-52px); }
.reveal-right { transform: translateX(52px); }

.reveal.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.laptop-showcase {
    position: relative;
    padding: clamp(50px, 8vh, 90px) 20px;
    background:
        linear-gradient(180deg, #0d0f12 0%, #16191d 55%, #1c2024 100%);
    overflow: visible;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100vw;
}


.laptop-showcase::before {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;   
    height: 42%;
    background: linear-gradient(180deg, #2a2d31 0%, #1a1c1f 100%);
    box-shadow: inset 0 8px 20px rgba(0,0,0,0.4);
    z-index: 0;
}


.laptop-showcase::after {
    content: '';
    position: absolute;
    top: 10%; left: 50%;
    width: 900px; height: 500px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(29,169,192,0.12), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.laptop-stage-wrap { position: relative; z-index: 1; }
.laptop-stage {
    position: relative;
    width: 700px; height: 640px;   
    margin: 0 auto;
    perspective: 2000px;
    perspective-origin: 50% 22%;  
    cursor: grab;
    touch-action: none;
}

.laptop-stage-wrap { transform-origin: top center; width: 760px; }


.laptop-stage.dragging { cursor: grabbing; }
.laptop-stage::after {
    content: ''; position: absolute; left: 50%; bottom: 18px;
    width: 380px; height: 46px; transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.55), transparent 72%);
    filter: blur(4px); z-index: 0;
}

.laptop-rig { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.laptop-body { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }


.base-slab {
    position: absolute;
    width: 560px; height: 360px;
    left: 70px; top: 260px;
    transform-style: preserve-3d;
}
.base-face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 16px; }
.base-top {
    transform: translateZ(10px);
    background: linear-gradient(155deg, #d9dbde 0%, #b7bac0 55%, #9a9da3 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4), 0 0 30px rgba(0,0,0,0.3);
}

.base-bottom {
    transform: rotateY(180deg) translateZ(10px);
    background: linear-gradient(155deg, #4b4d50 0%, #303234 100%);
}

.keyboard-deck { position: absolute; inset: 6% 5%; }
.keyboard-keys {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 62%;
    display: flex;
    flex-direction: column;
    gap: 4%;
    padding: 3%;
    box-sizing: border-box;
    filter: drop-shadow(0 0 7px rgba(154, 202, 255, 0.14));
}
.kbd-row {
    flex: 1;
    display: flex;
    gap: 2.2%;
}
.kbd-key {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    background: linear-gradient(160deg, rgba(255,255,255,0.78), rgba(218,230,246,0.36) 55%, rgba(51,67,88,0.34));
    box-shadow:
        inset 0 -1.5px 0 rgba(0,0,0,0.28),
        inset 0 1px 0 rgba(255,255,255,0.7),
        0 0 5px rgba(150, 200, 255, 0.3);
    transition: transform 90ms ease, background 120ms ease, box-shadow 120ms ease;
}
.kbd-key:hover,
.kbd-key.is-pressed {
    transform: translateY(1px);
    background: linear-gradient(160deg, rgba(245,250,255,0.96), rgba(167,211,255,0.74) 60%, rgba(75,131,194,0.72));
    box-shadow:
        inset 0 -1px 0 rgba(31,57,88,0.34),
        inset 0 1px 0 rgba(255,255,255,0.92),
        0 0 9px rgba(139, 197, 255, 0.88);
}
.kbd-key.wide { flex: 5.5; }
.kbd-key span {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(5px, 0.9vw, 8px);
    color: rgba(15,25,38,0.72);
    letter-spacing: 0.3px;
    pointer-events: none;
    transition: color 120ms ease, text-shadow 120ms ease;
}
.kbd-key.is-pressed span {
    color: #16385e;
    text-shadow: 0 0 5px rgba(255,255,255,0.95);
}
.trackpad { position: absolute; bottom: 4%; left: 32%; right: 32%; height: 26%; border-radius: 6px; background: rgba(0,0,0,0.07); box-shadow: inset 0 1px 3px rgba(0,0,0,0.25); }
.base-vents { position: absolute; inset: 20% 15%; background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0.35) 0 3px, transparent 3px 12px); opacity: 0.6; border-radius: 6px; }


.lid-hinge {
    position: absolute;
    width: 560px; height: 340px;
    left: 70px; top: -80px;
    transform-origin: 50% 100%;
    transform: rotateX(-20deg);  
    transform-style: preserve-3d;
}
.lid-face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 14px 14px 5px 5px; overflow: hidden; }
.lid-front { transform: translateZ(6px); background: #0a0a0a; padding: 14px 14px 20px; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.06), 0 30px 60px rgba(0,0,0,0.55); }
.lid-back { transform: rotateY(180deg) translateZ(6px); background: linear-gradient(150deg, #d7d9db 0%, #b2b5ba 55%, #86898f 100%); display: flex; align-items: center; justify-content: center; box-shadow: 0 30px 60px rgba(0,0,0,0.55); }
.lid-back-logo { width: 22%; opacity: 0.82; filter: grayscale(1) brightness(0.35); }


.screen-bezel { position: relative; width: 100%; height: 100%; }
.screen-cam { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: #222; }
.screen-surface { position: relative; width: 100%; height: 100%; border-radius: 4px; overflow: hidden; background: #0d1117; }
.os-wallpaper { position: absolute; inset: 0; background: radial-gradient(circle at 18% 18%, rgba(29,169,192,0.32), transparent 55%), radial-gradient(circle at 85% 78%, rgba(127,92,255,0.26), transparent 55%), linear-gradient(160deg, #0b0f14 0%, #0a0a0a 100%); }
.screen-glare { position: absolute; inset: 0; pointer-events: none; border-radius: 14px 14px 5px 5px; background: linear-gradient(120deg, rgba(255,255,255,0.10) 0%, transparent 32%, transparent 68%, rgba(255,255,255,0.05) 100%); }


.os-desktop { position: absolute; inset: 0 0 8% 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: min-content; gap: 4%; padding: 6%; align-content: start; }
.os-icon { display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: none; cursor: pointer; padding: 4px; border-radius: 6px; transition: background 0.2s ease, transform 0.2s ease; }
.os-icon:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.os-icon-img { width: 60%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 20%;  padding: 12%; }
.os-icon-img img { width: 100%; height: 100%; object-fit: contain; }
.os-icon-file { font-size: 1.1rem; }
.os-icon-label { font-family: 'Poppins', sans-serif; font-size: 0.4rem; color: rgba(255,255,255,0.85); text-align: center; text-shadow: 0 1px 2px rgba(0,0,0,0.6); }


.os-window { position: absolute; left: 6%; right: 6%; top: 5%; bottom: 12%; display: none; flex-direction: column; border-radius: 6px; overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,0.55); z-index: 5; }
.os-window.open { display: flex; }
.os-window-titlebar { display: flex; align-items: center; gap: 6px; padding: 5px 6px; background: #1f2225; flex-shrink: 0; }
.os-window-icon { width: 12px; height: 12px; display: flex; align-items: center; justify-content: center; font-size: 0.55rem; }
.os-window-icon img { width: 100%; height: 100%; object-fit: contain; }
.os-window-title { flex: 1; font-family: 'Poppins', sans-serif; font-size: 0.46rem; color: rgba(255,255,255,0.8); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.os-window-controls { display: flex; gap: 4px; }
.os-win-btn { width: 16px; height: 16px; border-radius: 4px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75); border: none; font-size: 0.55rem; cursor: pointer; }
.os-win-btn:hover { background: rgba(255,255,255,0.18); }
.os-win-close:hover { background: #ff5f57; color: #400; }
.os-window-addr { display: none; align-items: center; gap: 5px; padding: 4px 8px; background: #1a1c1f; color: rgba(255,255,255,0.55); font-family: 'Poppins', sans-serif; font-size: 0.44rem; border-bottom: 1px solid rgba(255,255,255,0.06); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; flex-shrink: 0; }
.os-window-addr.visible { display: flex; }
.os-window-body {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #111; 
}
.os-live-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: none; background: #fff; }
.os-file-panel { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10%; text-align: center; }
.file-panel-icon { width: 18%; } .file-panel-icon img { width: 100%; }
.file-panel-name { font-family: 'Orbitron', sans-serif; font-size: 0.56rem; color: #fff; }
.file-panel-note { font-family: 'Poppins', sans-serif; font-size: 0.4rem; color: rgba(255,255,255,0.5); max-width: 85%; }
.file-panel-btn { margin-top: 4px; padding: 5px 14px; border-radius: 999px; background: #1da9c0; color: #fff; font-family: 'Poppins', sans-serif; font-size: 0.42rem; font-weight: 600; text-decoration: none; }
.os-text-app { position: absolute; inset: 0; display: flex; flex-direction: column; background: #1b1d20; }
.os-text-toolbar { padding: 4px 8px; font-family: 'Poppins', sans-serif; font-size: 0.4rem; color: rgba(255,255,255,0.4); border-bottom: 1px solid rgba(255,255,255,0.06); flex-shrink: 0; }
.os-text-content { flex: 1; overflow-y: auto; padding: 10px 12px; font-family: 'Poppins', sans-serif; font-size: 0.44rem; line-height: 1.6; color: rgba(255,255,255,0.82); white-space: pre-wrap; }


.os-start-menu { position: absolute; left: 4%; bottom: 10%; width: 60%; max-width: 260px; display: none; flex-direction: column; background: rgba(24,26,29,0.95); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; overflow: hidden; z-index: 6; box-shadow: 0 18px 40px rgba(0,0,0,0.55); }
.os-start-menu.open { display: flex; }
.start-menu-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 10px; }
.start-app { display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: none; cursor: pointer; padding: 5px 2px; border-radius: 5px; transition: background 0.2s ease; }
.start-app:hover { background: rgba(255,255,255,0.08); }
.start-app img { width: 16px; height: 16px; object-fit: contain; }
.start-app-file { font-size: 0.85rem; }
.start-app span:last-child { font-family: 'Poppins', sans-serif; font-size: 0.36rem; color: rgba(255,255,255,0.8); text-align: center; }
.start-menu-power { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; background: rgba(255,255,255,0.04); border-top: 1px solid rgba(255,255,255,0.06); }
.power-user { font-family: 'Poppins', sans-serif; font-size: 0.4rem; color: rgba(255,255,255,0.6); }
.power-btn { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); color: #ff8a83; border: none; font-size: 0.5rem; cursor: pointer; }
.power-btn:hover { background: #ff3b30; color: #fff; }


.os-taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 8%; display: flex; align-items: center; gap: 6px; padding: 0 3%; background: rgba(20,22,26,0.85); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,0.06); z-index: 4; }
.tb-start { width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; border-radius: 3px; }
.tb-start:hover { background: rgba(255,255,255,0.1); }
.tb-running { flex: 1; display: flex; gap: 5px; overflow: hidden; }
.tb-run-icon { width: 14px; height: 14px; border-radius: 3px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); cursor: pointer; position: relative; }
.tb-run-icon img { width: 80%; height: 80%; object-fit: contain; }
.tb-run-icon.active::after { content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); width: 3px; height: 3px; border-radius: 50%; background: #1da9c0; }
.tb-clock { font-family: 'Rajdhani', sans-serif; font-size: 0.44rem; color: rgba(255,255,255,0.7); flex-shrink: 0; }


.os-shutdown-overlay { position: absolute; inset: 0; background: #000; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 10px; z-index: 10; cursor: pointer; }
.os-shutdown-overlay.visible { display: flex; }
.power-on-btn { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); font-size: 0.9rem; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.power-on-btn:hover { background: #1da9c0; color: #fff; }
.shutdown-label { font-family: 'Rajdhani', sans-serif; font-size: 0.4rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.35); text-transform: uppercase; }

.os-photo-app {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: #111;
}
.os-photo-stage {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0a0a0a;
}
.os-photo-stage img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.os-photo-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.6rem;
    cursor: pointer;
    transition: background 0.2s ease;
}
.os-photo-nav:hover { background: rgba(255,255,255,0.22); }
.os-photo-nav.prev { left: 8px; }
.os-photo-nav.next { right: 8px; }
.os-photo-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px;
    background: #17191c;
    flex-shrink: 0;
}
.os-photo-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.os-photo-dot.active { background: #1da9c0; transform: scale(1.3); }
.os-photo-empty {
    color: rgba(255,255,255,0.4);
    font-family: 'Poppins', sans-serif;
    font-size: 0.5rem;
    text-align: center;
    padding: 20px;
}
@media (max-width: 760px) { .laptop-stage-wrap { width: 100%; } }
@media (max-width: 600px) {
    .laptop-showcase {
        padding: 48px 8px 20px;
        overflow: hidden;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }
}
.resume-section {
    padding: clamp(56px, 9vh, 96px) clamp(20px, 6vw, 80px);
    position: relative;
    z-index: 2;
}

.resume-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(32px, 5vw, 72px);
    padding: clamp(36px, 5vw, 60px) clamp(28px, 5vw, 64px);
    border-radius: 18px;
    position: relative;
    overflow: hidden;
}

.resume-card::before {
    content: '';
    position: absolute;
    top: -60px; left: -60px;
    width: 340px; height: 340px;
    background: radial-gradient(circle, rgba(29,169,192,0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: glowFloat 7s ease-in-out infinite;
}

.resume-card::after {
    content: '';
    position: absolute;
    bottom: -60px; right: -40px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(127,92,255,0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: glowFloat 9s ease-in-out infinite reverse;
}

@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0); }
    50%       { transform: translate(18px, 14px); }
}

.resume-left {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.resume-tag {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #1da9c0;
    text-shadow: 0 0 10px rgba(29,169,192,0.45);
    margin-bottom: 10px;
}

.resume-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.resume-text {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.88rem, 1.4vw, 1rem);
    line-height: 1.8;
    color: #9a9a9a;
    min-height: 3.6em;
}

.typewriter-cursor {
    display: inline-block;
    color: #1da9c0;
    font-weight: 300;
    animation: cursorBlink 0.75s step-end infinite;
    margin-left: 1px;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

.resume-right {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: clamp(20px, 3vh, 32px);
    position: relative;
    z-index: 2;
}

.resume-stats-row {
    display: flex;
    gap: clamp(20px, 3vw, 40px);
}

.resume-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 20px 28px;
    min-width: 110px;
    text-align: center;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.resume-stat:hover {
    transform: translateY(-4px);
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #1da9c0;
    text-shadow: 0 0 16px rgba(29,169,192,0.4);
    line-height: 1;
}

.stat-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    color: #777;
    letter-spacing: 0.5px;
    line-height: 1.5;
    text-transform: uppercase;
}

.resume-buttons {
    display: flex;
    flex-direction: row;
    gap: 14px;
    flex-wrap: nowrap;
}

.resume-btn {
    padding: 13px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: clamp(0.82rem, 1.2vw, 0.94rem);
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    position: relative;
    overflow: hidden;
}

.resume-btn.primary {
    background: linear-gradient(135deg, #1da9c0 0%, #0e7a8f 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(29,169,192,0.28);
}
.resume-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(29,169,192,0.38);
}

.resume-btn.secondary {
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: #e0e0e0;
}
.resume-btn.secondary:hover {
    background: rgba(255,255,255,0.09);
    transform: translateY(-3px);
}

.questions-section {
    width: 100%;
    padding: 3.5rem 6% 3rem;
    box-sizing: border-box;
}

.questions-heading {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    line-height: 1;
}

.still-have {
    font-family: 'Caveat', cursive;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    color: #555;
    font-weight: 600;
}

.questions-word {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 7vw, 5.2rem);
    font-weight: 700;
    color: #f0f0f0;
    letter-spacing: -0.02em;
}

.questions-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 600px;
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    background: #161616;
}

.field-group {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #222;
}

.field-label {
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1da9c0;
    padding: 12px 18px 0;
    font-weight: 600;
}

.questions-form textarea,
.questions-form input[type="email"],
.questions-form input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 18px 14px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    border: none;
    outline: none;
    resize: none;
    background: transparent;
    color: #e8e8e8;
}

.questions-form textarea { min-height: 90px; }

.questions-form textarea::placeholder,
.questions-form input[type="email"]::placeholder { color: #333; }

.questions-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: #131313;
    border-top: 1px solid #1e1e1e;
}

.questions-note {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: #333;
}

.submit-btn {
    padding: 9px 24px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.06em;
    background: #1da9c0;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.submit-btn:hover {
    background: #17909e;
    transform: translateY(-1px);
}

.questions-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.questions-visuals {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.questions-content {
    flex: 1;
}

.questions-visuals dotlottie-wc {
    width: 420px;
    height: 420px;
    max-width: 100%;
}

@media (max-width: 968px) {
    .questions-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 80px;
        flex-wrap: wrap;
    }
}


.Projects {
    min-height: auto;
    padding: 100px 20px 40px;
    text-align: center;
}

.kinetic-projects-container {
    position: relative;
  
    padding: 20px 20px 100px;
    width: 100%;
}
.internship-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(60px, 10vh, 110px) clamp(20px, 6vw, 80px);
    background: #111111;
    overflow: hidden;
}

.offer-letters-section {
    position: relative;
    padding: clamp(72px, 10vh, 120px) clamp(20px, 6vw, 80px);
    overflow: hidden;
    text-align: center;
}

.offer-letters-heading {
    position: relative;
    z-index: 2;
    margin-bottom: 42px;
}

.offer-letters-eyebrow,
.offer-letter-type,
.offer-letter-index {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.offer-letters-eyebrow {
    color: #9fe8dc;
    font-size: 0.72rem;
}

.offer-letters-heading h2 {
    margin: 8px 0;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    background: linear-gradient(100deg, #f5f7ff, #8cdcff 48%, #d4b7ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.offer-letters-heading p {
    color: rgba(255,255,255,0.55);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.offer-letters-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 4vw, 56px);
    max-width: 1050px;
    margin: 0 auto;
    perspective: 1200px;
}

.offer-letter-card {
    position: relative;
    min-height: 280px;
    padding: clamp(26px, 4vw, 46px);
    overflow: hidden;
    text-align: left;
    background: transparent;
    border: 1px solid rgba(159,232,220,0.18);
    box-shadow: 0 24px 70px rgba(0,0,0,0.2), inset 0 0 45px rgba(159,232,220,0.025);
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.offer-letter-card::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    right: -80px;
    bottom: -90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(127,92,255,0.2), transparent 68%);
    pointer-events: none;
}

.offer-letter-card:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
    border-color: rgba(159,232,220,0.5);
    box-shadow: 0 32px 80px rgba(0,0,0,0.35), 0 0 45px rgba(29,169,192,0.12);
}

.offer-letter-index {
    position: absolute;
    top: 20px;
    right: 22px;
    color: rgba(255,255,255,0.36);
    font-size: 0.65rem;
}

.offer-letter-mark {
    position: absolute;
    top: 30px;
    left: 28px;
    color: rgba(159,232,220,0.15);
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3.2rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1;
    user-select: none;
}

.offer-letter-content {
    position: relative;
    z-index: 1;
    margin-top: 82px;
}

.offer-letter-type {
    color: #9fe8dc;
    font-size: 0.7rem;
}

.offer-letter-content h3 {
    margin: 8px 0 4px;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    line-height: 1.35;
}

.offer-letter-content p {
    color: rgba(255,255,255,0.6);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.offer-company-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.68);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.offer-company-link:hover {
    color: #b9fff1;
    transform: translateX(3px);
}

.offer-letter-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-bottom: 6px;
    color: #b9fff1;
    border-bottom: 1px solid rgba(185,255,241,0.5);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.offer-letter-link:hover {
    color: #fff;
    border-color: #fff;
    transform: translateX(5px);
}

@media (max-width: 700px) {
    .offer-letters-section {
        padding: 72px 20px 84px;
    }

    .offer-letters-heading {
        margin-bottom: 30px;
    }

    .offer-letters-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .offer-letter-card {
        min-height: 250px;
        padding: 28px 24px;
    }
}

.internship-card {
    position: relative;
    z-index: 2;                                  
    width: 100%;
    max-width: 680px;
    padding: clamp(30px, 4.5vw, 50px);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,0.035), rgba(10,20,25,0.18));
    border: 1px solid rgba(159,232,220,0.16);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    box-shadow: 0 25px 60px rgba(0,0,0,0.42), 0 0 45px rgba(29,169,192,0.08);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease, border-color 0.4s ease;
}

#internship-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;                                      
    pointer-events: none;
}

.internship-card:hover {
    transform: translateY(-4px);
    border-color: rgba(29,169,192,0.35);
    box-shadow: 0 35px 80px rgba(0,0,0,0.6), 0 0 50px rgba(29,169,192,0.12);
}

.internship-aurora {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

.internship-card-inner {
    position: relative;
    z-index: 2;
}

.internship-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.internship-header-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.internship-tag {
    align-self: flex-start;
    padding: 4px 14px;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #a78bfa;
    background: rgba(167,139,250,0.12);
    border: 1px solid rgba(167,139,250,0.3);
}

.internship-role {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    color: #fff;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #ffffff 0%, #7ce8f5 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: internshipShimmer 5s linear infinite;
}

@keyframes internshipShimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.internship-company {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1da9c0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.internship-duration-badge {
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: 999px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #00e5ff;
    background: rgba(29,169,192,0.1);
    border: 1px solid rgba(29,169,192,0.35);
    box-shadow: 0 0 16px rgba(29,169,192,0.15);
}

.internship-points {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
}

.internship-points li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 14px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    line-height: 1.7;
    background: linear-gradient(100deg, #b8fff3 0%, #8edff1 44%, #c7b8ff 100%);
    background-size: 180% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: internshipTextDrift 7s ease-in-out infinite alternate;
}

@keyframes internshipTextDrift {
    from { background-position: 0% center; }
    to { background-position: 100% center; }
}

.internship-points li::before {
    content: "◆";
    position: absolute;
    left: 0;
    top: 0.3em;
    color: #1da9c0;
    -webkit-text-fill-color: #1da9c0;
    font-size: 0.6em;
}

.internship-stack {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.stack-label {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 12px;
}

.stack-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stack-chips .chip-frontend,
.stack-chips .chip-backend {
    flex: 0 0 100%;
    width: max-content;
}

.chip {
    padding: 7px 16px;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.chip:hover {
    transform: translateY(-2px);
    border-color: rgba(29,169,192,0.5);
    box-shadow: 0 8px 20px rgba(29,169,192,0.15);
}

.chip-frontend {
    color: #7ce8f5;
    background: rgba(29,169,192,0.14);
    border-color: rgba(29,169,192,0.4);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.chip-backend {
    color: #c4a8ff;
    background: rgba(127,92,255,0.14);
    border-color: rgba(127,92,255,0.4);
    font-weight: 700;
    letter-spacing: 0.5px;
}

@media (max-width: 600px) {
    .internship-canvas-wrap { height: 110px; }
    .internship-duration-badge { align-self: flex-start; }
}
.kinetic-projects-stage {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(40px, 6vw, 80px);
    flex-wrap: wrap;
    z-index: 2;
}


.kinetic-slide {
    flex: 1 1 400px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 10px;
}


.kinetic-visual-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}


.kinetic-logo {
    width: 75px;
    height: 75px;
    object-fit: contain;
    z-index: 2;
    transition: transform 0.4s ease;
}

.kinetic-logo-va {
    width: 85px;
    height: 85px;
    object-fit: contain;
    z-index: 2;
    transition: transform 0.4s ease;
}

.kinetic-slide:hover .kinetic-logo,
.kinetic-slide:hover .kinetic-logo-va {
    transform: scale(1.08);
}


.hologram-glow {
    position: absolute;
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, rgba(255, 59, 48, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulseAura 4s infinite ease-in-out;
}

@keyframes pulseAura {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}


.kinetic-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.kinetic-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.kinetic-divider {
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff3b30, transparent);
    margin-bottom: 18px;
    transition: width 0.4s ease;
}

.kinetic-slide:hover .kinetic-divider {
    width: 200px;
}

.kinetic-desc {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 232, 229, 0.7);
    margin-bottom: 30px;
    min-height: 80px;
    text-align: center;
    text-justify: inter-word;
    max-width: 520px;
    letter-spacing: 0.5px;
}

.github-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid rgba(255, 59, 48, 0.4);
    color: #ff8a83;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s ease;
}

.github-view-btn:hover {
    border-color: #ff3b30;
    color: #111;
    background: #ff3b30;
    box-shadow: 0 0 20px rgba(255, 59, 48, 0.35);
    transform: translateY(-2px);
}

.btn-git-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: invert(79%) sepia(58%) saturate(3015%) hue-rotate(145deg) brightness(107%) contrast(101%);
    transition: filter 0.4s ease;
}

.github-view-btn:hover .btn-git-icon {
    filter: brightness(0) invert(0.06); 
}
#Projects {
    padding: 70px 5% 40px;
    position: relative;
    overflow: visible;
}

#Projects::before,
#Projects::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
}

#Projects::before {
    top: -80px;
    left: 0;
}

#Projects::after {
    bottom: -80px;
    right: 0;
}

#Projects div {
    position: relative;
    z-index: 2;
    text-align: center;
}
#projects-bubble-canvas {
    position: absolute;
    inset: -80px;
    width: calc(100% + 160px);
    height: calc(100% + 160px);
    z-index: 1;
    pointer-events: none;
}
#Projects h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    gap: 2px;
}

#Projects .handwriting {
    font-family: 'Caveat', cursive;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: #ffb1a9;
    margin-bottom: -4px;
    animation: floatText 3s ease-in-out infinite;
}

#Projects .bold {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(100deg, #ffffff 0%, #b9fff1 38%, #1da9c0 72%, #0e7a8f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 0 12px rgba(29,169,192,0.2),
        0 0 30px rgba(29,169,192,0.15);
    position: relative;
}

@keyframes floatText {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-4px); }
}

#contact {
    min-height: 100vh;
    width: 100%;
    padding: 100px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    background: #0f0f0f;
    color: white;
    font-family: 'Poppins', sans-serif;
    flex-wrap: wrap;
}

#contact .right.side {
    flex: 1;
    min-width: 320px;
}

.connect-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    margin-bottom: 20px;
    gap: 0;
}

.lets-word {
    font-family: 'Caveat', cursive;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 600;
    color: #a0e8f0;
    letter-spacing: 1px;
    line-height: 1.1;
    text-shadow: 0 0 18px rgba(29,169,192,0.35);
}

.connect-word {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.8rem, 7vw, 6rem);
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1;
    background: linear-gradient(90deg, #00f0ff 0%, #7f5cff 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    background-size: 200%;
    animation: connectShimmer 4s linear infinite;
}

@keyframes connectShimmer {
    0%   { background-position: 0%; }
    100% { background-position: 200%; }
}

#contact .right.side h3 {
    font-size: 1.3rem;
    color: #cfcfcf;
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 550px;
}

#contact .Left.side {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

#contact label {
    font-size: 1rem;
    font-weight: 500;
    color: #e5e5e5;
    margin-bottom: 8px;
    display: block;
    letter-spacing: 1px;
}

#contact input,
#contact textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding: 15px 5px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: 0.4s ease;
}

#contact textarea {
    resize: none;
    min-height: 120px;
}

#contact input:focus,
#contact textarea:focus {
    border-bottom: 2px solid #00f0ff;
    box-shadow: 0 10px 30px rgba(0,240,255,0.15);
}

#contact input::placeholder,
#contact textarea::placeholder { color: #888; }

#contact button {
    margin-top: 20px;
    width: 180px;
    padding: 15px 0;
    border: none;
    border-radius: 50px;
    background: linear-gradient(90deg, #00f0ff, #0066ff);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.4s ease;
    letter-spacing: 1px;
}

#contact button:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0,240,255,0.35);
}

@keyframes glow {
    from { text-shadow: 0 0 10px #00f0ff; }
    to   { text-shadow: 0 0 25px #00f0ff, 0 0 40px #00f0ff; }
}


@media (max-width: 900px) {
    .reveal-left,
    .reveal-right {
        transform: translateY(28px);
    }
    .corner-photo-wrap {
        display: none;
    }
    .education-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    .education-animation {
        width: 100%;
        justify-content: center;
        flex: 0 0 auto;
    }
    .education-animation dotlottie-wc {
        width: min(280px, 72vw);
        height: min(280px, 72vw);
        max-width: 100%;
        max-height: 100%;
    }
    .about-split {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
    .magnetic-art-stage {
        height: clamp(210px, 52vw, 300px);
    }

    .tech-orbit-wrapper {
        flex-direction: column;
        gap: 12px;
    }
    .tech-canvas-side {
        width: min(480px, 88vw);
        height: min(480px, 88vw);
    }
    .tech-lottie-side dotlottie-wc {
        width: 120px; height: 120px;
    }

    .focus-section {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 32px;
    }
    .right-side {
        width: 100%;
        justify-content: flex-end;
        margin-left: 0;
    }
    .changing-text-wrapper { align-items: flex-end; }
    .changing-text-wrapper h1 { font-size: clamp(3rem, 14vw, 6rem); }
    .left-side { flex: 0 0 auto; width: 100%; }

    .resume-card {
        flex-direction: column;
        align-items: stretch;
        gap: 36px;
    }
    .resume-right { align-items: flex-start; }
    .resume-buttons { flex-wrap: wrap; }

    #contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 60px;
    }
    .connect-word { font-size: clamp(2.4rem, 10vw, 4rem); }
    .lets-word    { font-size: clamp(1.8rem, 6vw, 2.8rem); }
}

@media (max-width: 600px) {
    .cover-section {
        min-height: 480px;
        height: 100svh;
        max-height: 100svh;
    }

    .skills-section { padding: 56px 16px 64px; }
    .education-wrapper { gap: 24px; }
    .about-split { gap: 12px; margin-top: 28px; }
    .about-card { padding: 28px 14px; }
    .about-carousel { padding: 0 30px; }
    .about-support { max-width: 260px; }

    nav ul { height: 56px; padding: 0 14px; }
    nav ul li.brand .brand-link { gap: 7px; }
    nav ul li.brand .brand-logo { width: 32px; height: 32px; }
    nav ul li.brand span { display: none; }
    nav ul li.nav-links { gap: 2px; }
    nav ul li.nav-links a {
        font-size: 0.62rem;
        letter-spacing: 0;
        padding: 4px 5px;
    }

    .hero { padding: 72px 20px 0; }
    .hero-left h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
    .bracket-third { padding: 20px; }
    .bracket-second { padding: 14px; }
    .bracket-first { padding: 9px; }

    .tech-section { min-height: unset; padding-bottom: 40px; }
    .tech-canvas-side {
        width: min(320px, 90vw);
        height: min(320px, 90vw);
    }
    .tech-lottie-side dotlottie-wc { width: 90px; height: 90px; }

    .focus-section { padding: 40px 20px; gap: 24px; }
    .changing-text-wrapper h1 { font-size: clamp(2.4rem, 15vw, 4.5rem); }
    #changing-word { font-size: 0.9rem; }
    .right-side { justify-content: flex-end; }
    .changing-text-wrapper { align-items: flex-end; }

    .resume-card { padding: 28px 22px; border-radius: 18px; }
    .resume-stat { padding: 16px 18px; min-width: 90px; }
    .resume-buttons { flex-direction: column; width: 100%; }
    .resume-btn { width: 100%; text-align: center; }
    .resume-heading { font-size: 1.5rem; }

    #Projects { padding: 55px 5% 30px; }
    #Projects h1 { gap: 0; }
    #Projects .handwriting { font-size: 1rem; }
    #Projects .bold { font-size: 2.5rem; }

    .connect-word { font-size: 2.2rem; letter-spacing: 1px; }
    .lets-word    { font-size: 1.6rem; }
}

.about-accent {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 280px;
    height: 280px;
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,0.08) 0%,
            transparent 70%
        );

    animation: floatBlob 10s ease-in-out infinite;
    pointer-events: none;
}

.about-card {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
    max-width: 1000px;
    padding: 40px 50px;
    border-radius: 32px;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#bubble-canvas-right {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    pointer-events: none;
    transform: scaleX(-1);
}

.about-text {
    position: relative;
    z-index: 2;

    font-family: -apple-system, BlinkMacSystemFont,
                 "SF Pro Display", "Inter",
                 "Poppins", sans-serif;
    font-size: clamp(0.92rem, 1.25vw, 1.08rem);
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0;
    text-align: center;
    max-width: 850px;     
    animation: fadeText 1.2s ease forwards;
}

.about-kicker,
.about-keyword,
.about-support {
    display: block;
    position: relative;
    z-index: 2;
}

.about-kicker {
    margin-bottom: 12px;
    color: rgba(185,255,241,0.72);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.about-keyword {
    margin-bottom: 12px;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    background: linear-gradient(100deg, #f5f7ff, #8cdcff 45%, #d4b7ff);
    background-size: 180% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: aboutKeywordFlow 4s ease-in-out infinite alternate;
}

.about-support {
    max-width: 290px;
    margin: 0 auto;
    color: rgba(255,255,255,0.72);
}

@keyframes aboutKeywordFlow {
    from { background-position: 0% center; transform: translateY(0); }
    to { background-position: 100% center; transform: translateY(-4px); }
}

.apple-highlight {
    position: relative;
    font-family: "SF Pro Display",
                 -apple-system,
                 BlinkMacSystemFont,
                 sans-serif;

    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.04em;
    transition: all 0.4s ease;
}

.apple-highlight:hover {
    color: #f5f5f7;
    text-shadow:
        0 0 20px rgba(255,255,255,0.15);
}

.apple-highlight::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;

    width: 100%;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.9),
        transparent
    );

    transform: scaleX(0);
    transform-origin: center;

    animation: underlineReveal 2.5s ease forwards;
}


@keyframes fadeText {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}


@keyframes underlineReveal {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }

    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}

@keyframes floatBlob {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(30px);
    }
}

.apple-footer {
    width: 100%;
    padding: 28px 20px;
    margin-top: 0;

    background: #0f0f0f;

    position: relative;
    overflow: hidden;
}


#footer-bubble-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.apple-footer .footer-content {
    position: relative;
    z-index: 2;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    font-family: "Orbitron", sans-serif;

    font-size: 0.8rem;
    font-weight: 500;

    letter-spacing: 0.35em;

    text-transform: uppercase;

    color: rgba(255,255,255,0.65);

    transition: all 0.4s ease;
}

.footer-content p:hover {
    color: rgba(255,255,255,0.95);

    letter-spacing: 0.42em;

    transform: translateY(-1px);

    text-shadow:
        0 0 20px rgba(255,255,255,0.08);
}


@media (max-width: 768px) {
    .apple-footer {
        padding: 60px 16px 32px;
        min-height: 220px;
    }

    .footer-content p {
        font-size: 0.72rem;
        letter-spacing: 0.28em;
    }
}

#Testimonials {
    padding: 160px 6% 120px;
    position: relative;
    overflow: hidden;
    background: #111111;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh; 
}


#Testimonials #below {
    text-align: center;
    margin-bottom: -50px; 
    position: relative;
    z-index: 1; 
    pointer-events: none;
}

#Testimonials h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    gap: 12px;
}

#Testimonials .handwriting {
    font-family: 'Playfair Display', 'Didot', 'Georgia', serif;
    font-style: italic;
    font-size: clamp(1.4rem, 2.8vw, 2.4rem);
    color: #8fdfff;
    letter-spacing: 0.05em;
    font-weight: 400;
    opacity: 0.85; 
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

#Testimonials .testimonial-gradient {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(3rem, 9vw, 7.5rem);
    font-weight: 700;
    letter-spacing: -0.03em; 
    background: linear-gradient(90deg, #00d2ff, #0072ff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.12;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}


#Testimonials:has(.testimonial-card.active) .handwriting {
    opacity: 0.45;
}
#Testimonials:has(.testimonial-card.active) .testimonial-gradient {
    opacity: 0.07;
}


.testimonials-slider-wrapper {
    width: 100%;
    max-width: 1050px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.testimonials-container {
    width: 100%;
    position: relative;
    min-height: 280px; 
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    padding: 20px 0;
    box-sizing: border-box;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: 
        opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        visibility 0.8s;
}


.testimonial-card.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.testimonial-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
    font-size: clamp(1.3rem, 2.4vw, 1.9rem); 
    font-weight: 400;
    line-height: 1.7;
    color: #ffffff;
    margin-bottom: 25px;
    letter-spacing: -0.015em;
    text-wrap: balance;
    text-shadow: 0 2px 15px rgba(17, 17, 17, 0.6);
}

.testimonial-author {
    display: block;
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #00d2ff;
    letter-spacing: 0.02em;
}


.testimonial-portfolio {
    display: inline-block;
    margin-top: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #8fdfff;
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-bottom: 1px dashed rgba(143, 223, 255, 0.4);
    padding-bottom: 2px;
}

.testimonial-portfolio:hover {
    color: #fff;
    border-bottom-color: #fff;
}


@media (max-width: 900px) {
    #Testimonials { padding: 120px 4% 80px; min-height: unset; }
    #Testimonials #below { margin-bottom: -20px; }
    #Testimonials .handwriting { opacity: 0.75; }
    #Testimonials:has(.testimonial-card.active) .handwriting { opacity: 0.35; }
    .testimonial-card { padding: 10px 0; }
}

@media (max-width: 600px) {
    #Testimonials { padding: 80px 4% 60px; }
    .testimonial-text { font-size: 1.2rem; line-height: 1.6; margin-bottom: 15px; }
}

.about-carousel {
    position: relative;
    width: 100%;
    margin-top: 15px;
    padding: 0 45px; 
}


.about-text {
    width: 100%;
    margin: 0;
    display: none;
    opacity: 0;
    transform: translateY(12px);
}

.about-text.active {
    display: block; 
    animation: smoothFadeUp 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes smoothFadeUp {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    user-select: none;
    line-height: 1;
}

.carousel-nav:hover {
    background: rgba(29, 169, 192, 0.15);
    border-color: rgba(29, 169, 192, 0.4);
    color: #1da9c0;
    transform: translateY(-50%) scale(1.05);
}

.carousel-nav.prev { left: 16px; }
.carousel-nav.next { right: 16px; }

@media (max-width: 600px) {
    .about-carousel { padding: 0 20px; }
    .carousel-nav { width: 36px; height: 36px; font-size: 1.5rem; }
    .carousel-nav.prev { left: 4px; }
    .carousel-nav.next { right: 4px; }
}
.ProfessionalSkills {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 80px auto;
    min-height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    z-index: 5;

    opacity: 1;
    transform: none;
    filter: none;
}

.ProfessionalSkills.revealed {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0px);
}

.skills-group {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: clamp(10px, 1.8vw, 24px); 
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    left: 50%;
    transform: translateX(-50%) scale(0.94) translateY(15px);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    filter: blur(8px);
}

.ProfessionalSkills.revealed .skills-group {
    animation: applePremiumRotation 10s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

.ProfessionalSkills.revealed .skills-group:nth-child(1) {
    animation-delay: 0s;
}

.ProfessionalSkills.revealed .skills-group:nth-child(2) {
    animation-delay: 5s;
}

.ProfessionalSkills .skills-group div {
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    font-size: clamp(0.75rem, 1.35vw, 1.15rem); 
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
    border: none !important;
    outline: none;
    padding: 12px clamp(16px, 2vw, 32px);
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    box-shadow: 
        0 15px 45px rgba(0, 0, 0, 0.35), 
        inset 0 1.5px 2px rgba(255, 255, 255, 0.18),
        inset 0 -1px 1px rgba(255, 255, 255, 0.05);
    transition: 
        background 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.5s ease;
    cursor: default;
    user-select: none;
}

.ProfessionalSkills .skills-group div:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: scale(1.04) translateY(-3px);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.55), 
        0 0 20px rgba(255, 255, 255, 0.12),
        inset 0 1.5px 2px rgba(255, 255, 255, 0.3);
}

@keyframes applePremiumRotation {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.94) translateY(20px);
        filter: blur(12px);
        pointer-events: none;
    }
    4%, 46% { 
        opacity: 1;
        transform: translateX(-50%) scale(1) translateY(0);
        filter: blur(0px);
        pointer-events: auto;
    }
    50%, 100% { 
        opacity: 0;
        transform: translateX(-50%) scale(1.04) translateY(-20px);
        filter: blur(12px);
        pointer-events: none;
    }
}

@media (max-width: 1024px) {
    .skills-group {
        padding: 0 15px;
        gap: 12px;
    }
    .ProfessionalSkills .skills-group div {
        font-size: 0.85rem;
        padding: 10px 18px;
        letter-spacing: 0.04em;
    }
}

@media (max-width: 768px) {

    .ProfessionalSkills {
        min-height: 200px;
        height: auto;
        margin: 40px auto;
        opacity: 1;
        transform: none;
        filter: none;
    }

    .skills-group {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;

        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;

        width: 100%;
        padding: 0 15px;
        white-space: normal;
    }

    .ProfessionalSkills.revealed .skills-group {
        animation: none;
    }

    .ProfessionalSkills .skills-group div {
        font-size: 0.8rem;
        padding: 10px 16px;
    }
}

@keyframes mobileFadeInOut {
    0%, 50%, 100% { opacity: 0; pointer-events: none; }
    4%, 46% { opacity: 1; pointer-events: auto; }
}

.skills-expand{
    width:100%;
    max-width:1000px;
    margin:50px auto 0;
}

.skills-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: auto;
    padding: 6px 2px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16.5px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    position: relative;
    transition: color 0.4s ease;
}

.skills-btn::after{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #1da9c0, transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.skills-btn:hover{
    color: #fff;
}

.skills-btn:hover::after{
    transform: scaleX(1);
}

.skills-btn .btn-arrow {
    color: #1da9c0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.skills-btn.expanded .btn-arrow {
    transform: rotate(180deg);
}

.skill-static {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.skill-static span {
    position: relative;
    padding: 8px 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: rgba(255,255,255,0.75);
    background: transparent;
    border-radius: 999px;
    cursor: default;
    transition: color 0.3s ease, transform 0.3s ease;
}

.skill-static span:hover {
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 600px) {
    .skill-static span {
        padding: 6px 14px;
        font-size: 0.84rem;
    }
}

.skills-content{
    max-height:0;
    overflow:hidden;
    padding: 0 6px;
    transition:max-height .8s cubic-bezier(0.16, 1, 0.3, 1);
}

.skills-content.active{
    max-height:2400px;
    margin-top:48px;
}

.skills-content.active .skill-category {
    animation: categoryFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.skills-content.active .skill-category:nth-child(1) { animation-delay: 0.05s; }
.skills-content.active .skill-category:nth-child(2) { animation-delay: 0.1s; }
.skills-content.active .skill-category:nth-child(3) { animation-delay: 0.15s; }
.skills-content.active .skill-category:nth-child(4) { animation-delay: 0.2s; }
.skills-content.active .skill-category:nth-child(5) { animation-delay: 0.25s; }
.skills-content.active .skill-category:nth-child(6) { animation-delay: 0.3s; }
.skills-content.active .skill-category:nth-child(7) { animation-delay: 0.35s; }

@keyframes categoryFadeIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.skill-category {
    position: relative;
    margin-bottom: 24px;
    padding: 22px 26px;
    border-radius: 18px;
    background: transparent;
    transition: transform 0.4s ease;
}

.skill-category:hover {
    transform: translateY(-3px);
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 14px;
}

.cat-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 16px currentColor, 0 0 4px currentColor;
}
.dot-cyan   { background: #1da9c0; color: #1da9c0; }
.dot-violet { background: #7f5cff; color: #7f5cff; }
.dot-gold   { background: #FFD700; color: #FFD700; }

.skill-marquee {
    position: relative;
    width: 100%;
    overflow: clip;
    contain: paint;
    padding: 0 40px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}

@media (max-width: 600px) {
    .skill-marquee {
        padding: 0 20px;
        -webkit-mask-image: linear-gradient(to right, transparent, #000 20px, #000 calc(100% - 20px), transparent);
        mask-image: linear-gradient(to right, transparent, #000 20px, #000 calc(100% - 20px), transparent);
    }
}
.skill-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: skillScroll 26s linear infinite;
}

.skill-track.track-reverse {
    animation-direction: reverse;
    animation-duration: 32s;
}

.skill-marquee:hover .skill-track {
    animation-play-state: paused;
}

@keyframes skillScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.skill-track span {
    flex-shrink: 0;
    margin: 0 7px;
    padding: 11px 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
    color: rgba(255,255,255,0.72);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 999px;
    cursor: default;
    transition: color 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.skill-track span:hover {
    color: #fff;
    border-color: rgba(29,169,192,0.55);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(29,169,192,0.18), inset 0 1px 1px rgba(255,255,255,0.08);
}

@media (max-width: 600px) {
    .skill-track span {
        padding: 9px 18px;
        font-size: 0.78rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .tech-section canvas {
        display: none;
    }

    .tech-eyebrow, .tech-title, .tech-sub, .tech-eyebrow::after {
        animation: none;
    }

}

#rusho-bot {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99999;
    font-family: 'Poppins', sans-serif;
    cursor: auto !important;
}

#rusho-bot *,
#rusho-bot button,
#rusho-bot input,
#rusho-bot textarea,
#rusho-bot select,
#rusho-bot .msg-bubble {
    cursor: auto !important;
}

#bot-toggle {
    cursor: pointer !important;
    position: relative;
    width: 94px;
    height: 44px;
    border-radius: 3px;
    border: 1px solid rgba(159,232,220,0.65);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 24, 25, 0.92);
    box-shadow:
        0 12px 28px rgba(0,0,0,0.42),
        0 0 24px rgba(159,232,220,0.18),
        0 0 0 1px rgba(255,255,255,0.06) inset;
    animation: askMeFloat 4.5s ease-in-out infinite;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease, border-color 0.35s ease;
}

#bot-toggle:hover {
    animation-play-state: paused;
    transform: translateY(-6px) rotate(-2deg) scale(1.04);
    border-color: #dffff8;
    box-shadow:
        0 16px 40px rgba(0,0,0,0.5),
        0 0 28px rgba(159,232,220,0.3),
        0 0 0 1px rgba(255,255,255,0.1) inset;
}

#bot-toggle:active { transform: translateY(-1px) scale(0.97); }

@keyframes askMeFloat {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(0, -5px, 0) rotate(1.5deg); }
}

.bot-toggle-label {
    position: relative;
    z-index: 2;
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #dffff8;
    white-space: nowrap;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
    pointer-events: none;
}

.bot-toggle-ai {
    position: absolute;
    top: -7px;
    right: -7px;
    z-index: 3;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #111;
    background: #9fe8dc;
    padding: 2px 6px;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35), 0 0 0 2px rgba(17,17,17,0.9);
    animation: aiBadgeOrbit 3s ease-in-out infinite;
}

@keyframes aiBadgeOrbit {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(2px, -2px) rotate(6deg); }
}

.bot-toggle-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 3px;
    border: 1px solid rgba(159,232,220,0.45);
    animation: botPulse 2.4s ease-out infinite;
    pointer-events: none;
}

@keyframes botPulse {
    0%   { transform: scale(0.9); opacity: 0.8; }
    70%  { transform: scale(1.35); opacity: 0; }
    100% { opacity: 0; }
}


#bot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: min(420px, calc(100vw - 32px));
    height: min(620px, calc(100vh - 120px));
    display: none;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0;
    background: #111111;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    transform-origin: bottom right;
    animation: botWindowIn 0.5s cubic-bezier(0.22,1,0.36,1);
}

#bot-window.open { display: flex; }

@keyframes botWindowIn {
    from { opacity: 0; transform: translateY(20px) scale(0.92) rotate(1deg); filter: blur(6px); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}


.bot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: linear-gradient(120deg, rgba(159,232,220,0.04), rgba(127,92,255,0.04));
    flex-shrink: 0;
}

.bot-header-left {
    display: flex;
    align-items: center;
    gap: 0;
}

.bot-avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    background: linear-gradient(135deg, rgba(29,169,192,0.22), rgba(127,92,255,0.2));
    border: 1px solid rgba(29,169,192,0.25);
    color: rgba(255,255,255,0.94);
}

.bot-header-text { display: flex; flex-direction: column; line-height: 1.3; }

.bot-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    background: linear-gradient(90deg, #f5f7ff, #a7f0ff 55%, #d2d0ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.bot-version {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    color: #8fb8c2;
    letter-spacing: 0.3px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3ee06b;
    box-shadow: 0 0 8px #3ee06b;
    display: inline-block;
}

#bot-close {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    width: 28px;
    height: 28px;
    border-radius: 8px;
    cursor: pointer !important;
    font-size: 13px;
    transition: all 0.25s ease;
}
#bot-close:hover {
    color: #fff;
    border-color: rgba(255,107,107,0.5);
    background: rgba(255,107,107,0.12);
}


.bot-model-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.model-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1da9c0;
    flex-shrink: 0;
}

#ai-model {
    flex: 1;
    background: rgba(255,255,255,0.04);
    color: #e5e5e5;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 8px;
    padding: 7px 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    outline: none;
    cursor: pointer !important;
    transition: border-color 0.2s ease, background 0.2s ease;
}
#ai-model:hover, #ai-model:focus { border-color: rgba(29,169,192,0.5); background: rgba(255,255,255,0.06); }
#ai-model option { background: #161616; color: #e5e5e5; }


#chat-box {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-behavior: smooth;
    background: linear-gradient(180deg, rgba(10,13,17,0.16), rgba(10,13,17,0.02));
}

#chat-box::-webkit-scrollbar { width: 5px; }
#chat-box::-webkit-scrollbar-track { background: transparent; }
#chat-box::-webkit-scrollbar-thumb {
    background: rgba(29,169,192,0.3);
    border-radius: 10px;
}
#chat-box::-webkit-scrollbar-thumb:hover { background: rgba(29,169,192,0.5); }

.msg {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    max-width: 100%;
    animation: msgIn 0.28s cubic-bezier(0.22,1,0.36,1);
}

@keyframes msgIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.msg-avatar {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    color: #1da9c0;
    background: rgba(29,169,192,0.15);
    border: 1px solid rgba(29,169,192,0.25);
    box-shadow: 0 8px 16px rgba(29,169,192,0.12);
}

.msg.user .msg-avatar {
    color: #dfe4ff;
    background: rgba(127,92,255,0.18);
    border-color: rgba(127,92,255,0.28);
}

.msg-bubble {
    position: relative;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    line-height: 1.6;
    padding: 14px 16px;
    border-radius: 18px;
    max-width: 78%;
    word-wrap: break-word;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.msg-bubble::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    pointer-events: none;
}

.msg.bot .msg-bubble {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #e4e4e4;
    border-bottom-left-radius: 6px;
    box-shadow: 0 14px 30px rgba(10,13,17,0.28);
}

.msg.bot .msg-bubble p,
.msg.user .msg-bubble p {
    position: relative;
    z-index: 1;
}

.msg-bubble canvas.msg-canvas {
    position: absolute;
    inset: auto 0 0 0;
    width: 100%;
    height: 92px;
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

.msg-intro {
    padding-top: 16px;
    padding-bottom: 16px;
}

.msg-pill {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 8px;
    margin-bottom: 8px;
    background: rgba(160, 233, 255, 0.12);
    border: 1px solid rgba(160, 233, 255, 0.18);
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: #a9f3ff;
}

.msg-name {
    font-weight: 700;
    color: #f5f7ff;
}

.msg.user {
    flex-direction: row-reverse;
    margin-left: auto;
}

.msg.user .msg-bubble {
    background: linear-gradient(135deg, rgba(29,169,192,0.86), rgba(127,92,255,0.82));
    color: #fff;
    border-bottom-right-radius: 6px;
    box-shadow: 0 12px 22px rgba(29,169,192,0.18);
}

.msg.user .msg-avatar {
    background: rgba(127,92,255,0.18);
    border-color: rgba(127,92,255,0.3);
}

.msg-bubble strong {
    color: #f8fbff;
    font-weight: 700;
}

.msg-bubble em {
    color: #dfeaff;
    font-style: italic;
}

.msg-bubble code {
    background: rgba(255,255,255,0.08);
    color: #d7faff;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 2px 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8em;
}

.msg-bubble a {
    color: #78dcff;
    text-decoration: none;
    font-weight: 600;
    word-break: break-word;
}

.msg-bubble a:hover { text-decoration: underline; }

.typing-dots {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}
.typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1da9c0;
    animation: typingBounce 1.2s infinite ease-in-out;
}
.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-4px); opacity: 1; }
}


.bot-input-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid rgba(255,255,255,0.07);
    background: rgba(7,15,18,0.38);
    flex-shrink: 0;
    min-height: 68px;
    box-sizing: border-box;
}

#user-input {
    flex: 1;
    resize: none;
    min-height: 40px;
    max-height: 100px;
    box-sizing: border-box;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px;
    padding: 10px 14px;
    color: #f0f0f0;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    line-height: 1.4;
}
#user-input::placeholder { color: #666; }
#user-input:focus {
    border-color: rgba(29,169,192,0.55);
    box-shadow: 0 0 0 3px rgba(29,169,192,0.12);
}

#send-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: none;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #1da9c0, #7f5cff);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 16px rgba(29,169,192,0.3);
}
#send-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(29,169,192,0.4); }
#send-btn:active { transform: translateY(0) scale(0.94); }
#send-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

@media (max-width: 480px) {
    html,
    body {
        overflow-x: clip;
    }

    #rusho-bot { bottom: 16px; right: 16px; }
    #bot-window {
        width: calc(100vw - 32px);
        height: min(72vh, 620px);
        bottom: 74px;
        contain: layout;
    }
}
.msg-bubble a{
    color:#00c8ff;
    text-decoration:none;
    font-weight:600;
    word-break:break-word;
}

.msg-bubble a:hover{
    text-decoration:underline;
}

/* Premium chat dock refinements */
.bot-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

#bot-minimize,
#bot-close {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.72);
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

#bot-minimize:hover,
#bot-close:hover {
    transform: translateY(-2px);
    background: #fff;
    color: #111;
}

#chat-box {
    padding: 20px 18px 14px;
}

.bot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 2px 0 0 38px;
}

.suggestions-label {
    width: 100%;
    margin-bottom: 2px;
    color: rgba(255,255,255,0.35);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.suggestion-chip {
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    background: rgba(255,255,255,0.035);
    color: rgba(255,255,255,0.68);
    font-family: 'Poppins', sans-serif;
    font-size: 0.66rem;
    line-height: 1.2;
    text-align: left;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.suggestion-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.48);
    background: #fff;
    color: #111;
}

.bot-input-row {
    align-items: center;
    gap: 8px;
    padding: 12px 14px 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(8,8,8,0.5);
}

#user-input {
    min-height: 44px;
    padding: 11px 16px;
    border-radius: 999px;
    border-color: rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.035);
}

#user-input:focus {
    border-color: rgba(255,255,255,0.42);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}

#send-btn {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: #f5f5f2;
    color: #111;
    box-shadow: 0 8px 20px rgba(0,0,0,0.28);
}

#send-btn:hover {
    background: #fff;
    box-shadow: 0 12px 26px rgba(0,0,0,0.4);
}

#bot-toggle {
    width: 92px;
    height: 42px;
    border-radius: 999px;
    border-color: rgba(255,255,255,0.22);
    background: #111;
    box-shadow: 0 14px 30px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.1);
}

.bot-toggle-label { color: #f5f5f2; }
.bot-toggle-ai { background: #f5f5f2; color: #111; border-radius: 999px; }
.bot-toggle-pulse { border-radius: 999px; border-color: rgba(255,255,255,0.3); }

#bot-window,
.bot-header,
.bot-model-row,
#chat-box,
.bot-input-row {
    border-color: transparent;
}

#bot-window {
    background:
        radial-gradient(circle at 100% 0%, rgba(255,86,76,0.13), transparent 35%),
        linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,59,48,0.045) 48%, rgba(12,12,12,0.32));
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 24px;
    backdrop-filter: blur(28px) saturate(145%);
    -webkit-backdrop-filter: blur(28px) saturate(145%);
    box-shadow:
        0 28px 70px rgba(0,0,0,0.42),
        inset 0 1px 0 rgba(255,255,255,0.2),
        inset 0 -1px 0 rgba(255,59,48,0.1);
}

#bot-window::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(115deg, rgba(255,255,255,0.12), transparent 28%, transparent 72%, rgba(255,59,48,0.08));
    opacity: 0.7;
}

#chat-box {
    background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,59,48,0.018));
}

#ai-model,
.suggestion-chip,
.msg-pill,
#user-input,
.msg-bubble,
.msg.bot .msg-bubble,
.msg.user .msg-bubble {
    background: transparent !important;
    border-color: rgba(255,255,255,0.18);
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.msg-bubble,
.msg.bot .msg-bubble,
.msg.user .msg-bubble,
.msg-pill {
    border: 0 !important;
}

.msg.bot .msg-bubble {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.055) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 10px 28px rgba(0,0,0,0.12) !important;
}

.msg.user .msg-bubble {
    padding: 12px 15px;
    border-radius: 16px;
    background: rgba(255,59,48,0.045) !important;
    box-shadow: inset 0 1px 0 rgba(255,150,140,0.14) !important;
}

.msg-bubble::before {
    display: none;
}

.msg.bot .msg-bubble {
    color: #f3eeeb;
}

.msg.bot .msg-bubble p {
    color: #f3eeeb;
}

.msg.user .msg-bubble {
    background: linear-gradient(110deg, #ffb0aa 0%, #ff5c52 48%, #ff3b30 100%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.msg-avatar {
    color: #ff8a83;
    background: transparent;
    border-color: rgba(255,59,48,0.42);
    box-shadow: 0 0 16px rgba(255,59,48,0.14);
}

.msg.user .msg-avatar {
    color: #111;
    background: #f5f5f2;
    border-color: #f5f5f2;
    box-shadow: 0 0 16px rgba(255,255,255,0.18);
}

.message-copy {
    position: relative;
    z-index: 1;
}

.msg.user .message-copy {
    background: linear-gradient(110deg, #ffd0ca 0%, #ff756b 48%, #ff3b30 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 0 8px rgba(255,59,48,0.18));
}

.msg.bot .msg-bubble {
    color: #fffaf8;
    font-size: 0.9rem;
    line-height: 1.72;
    text-shadow: 0 1px 12px rgba(255,255,255,0.08);
}

.msg.bot .msg-bubble p {
    color: #fffaf8;
}

.msg.user .msg-bubble {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.65;
}

.msg-name,
.msg-pill {
    color: #ff9c94;
}

#user-input {
    color: #fffaf8;
    background: rgba(255,255,255,0.065) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 24px rgba(0,0,0,0.12) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

#user-input::placeholder {
    color: rgba(255,255,255,0.62);
}

.msg-name,
.msg-pill {
    color: #ff8a83;
}

.msg-pill {
    border: 0 !important;
}

.msg-bubble a {
    color: #ff8a83;
}

.model-label {
    color: #ff6b61;
}

.bot-header {
    padding-left: 2px;
    padding-right: 2px;
}

.bot-model-row {
    padding-left: 2px;
    padding-right: 2px;
}

#chat-box {
    padding-left: 2px;
    padding-right: 2px;
}

.bot-input-row {
    padding-left: 0;
    padding-right: 0;
}

/* Keep the glass panel airy and centered at every size. */
#bot-window {
    width: min(390px, calc(100vw - 40px));
    height: min(570px, calc(100vh - 112px));
}

.bot-header {
    padding: 22px 28px 18px;
}

.bot-header-text {
    align-items: center;
    text-align: center;
}

.bot-name {
    font-size: 0.78rem;
    letter-spacing: 0.38px;
}

.bot-version {
    font-size: 0.6rem;
}

.bot-model-row {
    justify-content: center;
    gap: 8px;
    padding: 12px 28px 16px;
}

.model-label {
    font-size: 0.58rem;
    letter-spacing: 1.5px;
}

#ai-model {
    flex: 0 1 190px;
    padding: 6px 9px;
    font-size: 0.68rem;
}

#chat-box {
    padding: 22px 28px 18px;
    gap: 18px;
}

.msg {
    justify-content: center;
    gap: 8px;
}

.msg-bubble,
.msg.bot .msg-bubble,
.msg.user .msg-bubble {
    max-width: 88%;
    padding: 12px 14px;
}

.msg.bot .msg-bubble,
.msg.user .msg-bubble {
    font-size: 0.8rem;
    line-height: 1.6;
}

.msg-avatar {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    font-size: 0.54rem;
}

.bot-suggestions {
    justify-content: center;
    margin-left: 0;
}

.suggestions-label {
    text-align: center;
}

.suggestion-chip {
    font-size: 0.61rem;
}

.bot-input-row {
    align-items: center;
    padding: 16px 24px 22px;
}

#user-input {
    min-height: 40px;
    padding: 10px 15px;
    font-size: 0.78rem;
}

#send-btn {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
}

@media (max-width: 480px) {
    .bot-suggestions { margin-left: 0; }
    .suggestion-chip { font-size: 0.62rem; }
}

#bot-toggle {
    width: 64px;
    height: 64px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    isolation: isolate;
}

#bot-toggle:hover {
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: translateY(-5px) scale(1.06);
}

.bot-orb {
    position: relative;
    display: block;
    width: 54px;
    height: 54px;
    overflow: hidden;
    border-radius: 50%;
    background:
        radial-gradient(circle at 68% 24%, #fff 0 8%, transparent 24%),
        radial-gradient(circle at 32% 74%, rgba(0,0,0,0.95) 0 19%, transparent 48%),
        linear-gradient(135deg, #090909 0 37%, #575757 55%, #f8f8f5 100%);
    box-shadow: 0 10px 24px rgba(0,0,0,0.45), 0 0 22px rgba(255,255,255,0.12);
    transform: rotate(-12deg);
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
}

.bot-orb::before {
    content: '';
    position: absolute;
    inset: 7px 8px 28px 22px;
    border-radius: 50%;
    background: rgba(255,255,255,0.82);
    filter: blur(7px);
    opacity: 0.8;
}

.bot-orb::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.52);
    box-shadow: inset -8px -9px 14px rgba(0,0,0,0.45), inset 8px 8px 16px rgba(255,255,255,0.24);
}

.bot-orb-core {
    position: absolute;
    left: 13px;
    bottom: 11px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #050505;
    box-shadow: 0 0 9px rgba(0,0,0,0.7), inset 2px 2px 4px rgba(255,255,255,0.12);
}

#bot-toggle:hover .bot-orb {
    transform: rotate(8deg) scale(1.04);
    box-shadow: 0 14px 30px rgba(0,0,0,0.55), 0 0 30px rgba(255,255,255,0.2);
}

.bot-toggle-pulse {
    inset: 2px;
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: 50%;
}
.carousel-3d-scroll {
    position: relative;
    height: 400vh;
}

.carousel-3d-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    perspective: 1600px;
}

.carousel-3d-stage {
    position: relative;
    width: 100%;
    height: 620px;
    transform-style: preserve-3d;
}

.carousel-3d-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: 440px;
    max-width: 88vw;
    padding: 30px 26px;
    border-radius: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition:
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease;
    cursor: pointer;
    will-change: transform, opacity, filter;
}

.carousel-3d-card.is-active {
    cursor: default;
    box-shadow: none;
}

.carousel-3d-card a.github-view-btn {
    position: relative;
    z-index: 30;
    pointer-events: auto;
}

.carousel-3d-card .kinetic-desc { min-height: 74px; }

.carousel-3d-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.75);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-3d-nav:hover {
    background: rgba(255,59,48,0.16);
    border-color: rgba(255,59,48,0.6);
    color: #ff8a83;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 0 24px rgba(255,59,48,0.25);
}

.carousel-3d-nav.prev { left: clamp(4px, 2vw, 30px); }
.carousel-3d-nav.next { right: clamp(4px, 2vw, 30px); }

.carousel-3d-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.carousel-3d-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-3d-dots span.active {
    width: 26px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff3b30, #ff9a91);
    box-shadow: 0 0 10px rgba(255,59,48,0.5);
}

.project-stack {
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: min(100%, 430px);
    margin-bottom: 20px;
    text-align: left;
}

.project-stack-group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.project-stack-group > span {
    flex: 0 0 100%;
    color: rgba(255,255,255,0.42);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-align: center;
    text-transform: uppercase;
}

.project-stack-group b {
    padding: 5px 9px;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 999px;
    color: rgba(255,255,255,0.76);
    background: rgba(255,255,255,0.045);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.project-stack-group.frontend > span { color: #ffaaa2; }
.project-stack-group.frontend b { border-color: rgba(255,138,131,0.3); background: rgba(255,59,48,0.1); }
.project-stack-group.backend > span { color: #ff6f66; }
.project-stack-group.backend b { border-color: rgba(255,59,48,0.38); background: rgba(126,12,22,0.22); }
.project-stack-group.support > span { color: #d9aaa5; }

.project-links {
    width: min(620px, calc(100% - 120px));
    min-height: 76px;
    margin-top: 18px;
    padding: 0 22px;
    position: relative;
    z-index: 40;
    text-align: left;
}

.project-links-kicker {
    display: block;
    margin-bottom: 9px;
    color: rgba(255,255,255,0.42);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.project-links-track {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 50px;
    padding: 8px 0 8px 16px;
    border-left: 1px solid rgba(255,255,255,0.18);
    background: linear-gradient(90deg, rgba(255,255,255,0.055), transparent 82%);
}

.project-links-rule {
    width: 18px;
    height: 1px;
    flex: 0 0 18px;
    background: #ff3b30;
    box-shadow: 0 0 12px rgba(255,59,48,0.7);
}

.project-links a {
    display: none;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    text-decoration: none;
    text-transform: none;
    padding: 3px 0;
    transition: color 0.28s ease, transform 0.28s ease;
    position: relative;
}

.project-links a small {
    color: #ff3b30;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.project-links a.active {
    display: flex;
}

.project-links a strong {
    flex: 1;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.72rem, 1.15vw, 0.88rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.35;
}

.project-links a:hover {
    color: #ff8a83;
    transform: translateX(4px);
}

.project-links a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    background: #ff3b30;
    color: #160807;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    line-height: 1;
    box-shadow: 0 0 18px rgba(255,59,48,0.38);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.project-links a:hover span {
    transform: rotate(8deg) scale(1.08);
    box-shadow: 0 0 24px rgba(255,59,48,0.65);
}

@media (max-width: 700px) {
    .kinetic-projects-container { padding: 12px 12px 72px; }
    .kinetic-projects-container { overflow: visible; }
    .carousel-3d-scroll { height: 220vh; }
    .carousel-3d-wrapper { width: 100%; }
    .carousel-3d-wrapper {
        justify-content: flex-start;
        padding-top: 18px;
    }
    .carousel-3d-stage {
        flex: 0 0 500px;
        height: 500px;
    }
    .carousel-3d-card {
        width: min(320px, calc(100vw - 56px));
        padding: 12px 16px;
    }
    .carousel-3d-card .kinetic-visual-wrapper {
        width: 84px;
        height: 72px;
        margin-bottom: 8px;
    }
    .carousel-3d-card .kinetic-logo,
    .carousel-3d-card .kinetic-logo-va {
        width: 54px;
        height: 54px;
    }
    .carousel-3d-card .kinetic-title {
        font-size: 1.28rem;
        margin-bottom: 8px;
    }
    .carousel-3d-card .kinetic-divider {
        width: 86px;
        margin-bottom: 10px;
    }
    .carousel-3d-card .kinetic-desc {
        min-height: 0;
        margin-bottom: 12px;
        font-size: 0.78rem;
        line-height: 1.45;
    }
    .carousel-3d-card .project-stack {
        gap: 5px;
        margin-bottom: 0;
    }
    .carousel-3d-card .project-stack-group {
        gap: 4px;
    }
    .carousel-3d-card .project-stack-group > span {
        font-size: 0.56rem;
    }
    .carousel-3d-card .project-stack-group b {
        padding: 4px 7px;
        font-size: 0.62rem;
    }
    .carousel-3d-nav { width: 42px; height: 42px; font-size: 1.6rem; }
    .project-links {
        width: calc(100% - 34px);
        min-height: 70px;
        margin-top: 8px;
        padding: 0 8px;
    }
    .project-links-track { gap: 10px; padding-left: 10px; }
    .project-links a { gap: 8px; }
    .project-links a small { font-size: 0.55rem; }
    .project-links a strong { font-size: 0.67rem; }
    .project-links a span { width: 1.55rem; height: 1.55rem; font-size: 0.7rem; }
}
.carousel-3d-card .kinetic-title {
    min-height: 1.3em;
}

.carousel-3d-card .kinetic-desc {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
    font-weight: 400;
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    line-height: 1.75;
    letter-spacing: -0.01em;
    color: rgba(255,255,255,0.72);
}



.corner-photo-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}

#portrait-frame {
    position: relative;
    width: clamp(120px, 13vw, 180px);
    height: clamp(120px, 13vw, 180px);
    overflow: hidden;
    background: transparent;
    border: none;
    border-radius: 10px;
    box-shadow: none;
    pointer-events: auto;
}

.portrait-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; 
    object-position: center;
    background: transparent;
    opacity: 1;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.portrait-base { z-index: 1; }

.portrait-robot {
    z-index: 2;
    clip-path: circle(0px at -999px -999px);
    transition: clip-path 0.05s linear;
}

.socialmedia {
    position: relative;
    z-index: 50;
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    pointer-events: auto;
}

.socialmedia a {
    position: relative;
    z-index: 51;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    cursor: pointer;
    pointer-events: auto;
    text-decoration: none;
}

.socialmedia a img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.socialmedia a:hover {
    transform: translateY(-3px);
}



.bottom-info {
    position: absolute;
    bottom: 14px;
    left: clamp(16px, 3vw, 28px);
    right: clamp(16px, 3vw, 28px);
    z-index: 50;
    pointer-events: none;
}

.bottom-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
}

.corner-photo-wrap {
    position: relative;
    z-index: 52;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}

#portrait-frame {
    position: relative;
    z-index: 53;

    width: clamp(110px, 12vw, 170px);
    height: clamp(110px, 12vw, 170px);

    overflow: hidden;
    pointer-events: auto;
}

.portrait-img {
    pointer-events: none;
}



@media (max-width: 900px) {
    .corner-photo-wrap {
        display: none !important;
    }
}

@keyframes promptFloat {
    0%, 100% { opacity: 0.72; text-shadow: 0 0 0 rgba(159,232,220,0); }
    50% { opacity: 1; text-shadow: 0 0 14px rgba(159,232,220,0.55); }
}

.projects-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: rgba(255,177,169,0.72);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.projects-intro {
    max-width: 570px;
    margin: 22px auto 0;
    color: rgba(255,255,255,0.56);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.78rem, 1.25vw, 0.92rem);
    line-height: 1.75;
}

/* Final viewport guardrails for phones. */
@media (max-width: 600px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    img,
    canvas,
    video,
    svg {
        max-width: 100%;
    }

    .cover-section {
        height: var(--viewport-height, 100dvh);
        min-height: 520px;
        max-height: none;
    }

    nav ul {
        gap: 8px;
        padding-inline: 12px;
    }

    nav ul li.nav-links {
        min-width: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

    nav ul li.nav-links::-webkit-scrollbar {
        display: none;
    }

    nav ul li.nav-links a {
        flex: 0 0 auto;
    }

    .hero {
        padding: 72px 12px 0;
    }

    .hero-left {
        padding: 12px 4px;
    }

    .hero-name-line {
        white-space: normal;
    }

    .bottom-info {
        bottom: max(12px, env(safe-area-inset-bottom));
    }

    .bottom-row {
        align-items: flex-end;
        gap: 12px;
    }

    .questions-container,
    .about-split,
    .education-wrapper,
    .tech-orbit-wrapper,
    .focus-section,
    #contact {
        width: 100%;
        max-width: 100%;
    }

    .questions-container {
        gap: 18px;
        padding: 36px 16px;
    }

    .questions-visuals dotlottie-wc {
        width: min(240px, 72vw);
        height: min(240px, 72vw);
    }

    .tech-title {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .leetcode-card {
        width: calc(100% - 32px);
        max-width: 420px;
    }

    .leetcode-content {
        min-width: 0;
        width: 100%;
    }

    .leetcode-title,
    .leetcode-desc {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .leetcode-btn {
        max-width: 100%;
    }

    .hackathon-section,
    .internship-section,
    .offer-letters-section,
    .questions-section {
        overflow-x: clip;
    }

    .hackathon-heading h2,
    .resume-heading,
    .internship-role {
        overflow-wrap: anywhere;
    }

    .hackathon-description,
    .internship-points,
    .resume-text {
        overflow-wrap: anywhere;
    }

    .carousel-3d-wrapper {
        min-width: 0;
    }

    .carousel-3d-nav.prev { left: 2px; }
    .carousel-3d-nav.next { right: 2px; }

    #rusho-bot {
        right: max(12px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
    }

    #bot-window {
        position: fixed;
        left: max(12px, env(safe-area-inset-left));
        right: max(12px, env(safe-area-inset-right));
        bottom: calc(76px + env(safe-area-inset-bottom));
        width: auto;
        max-width: 390px;
        height: min(70dvh, 560px);
        max-height: calc(var(--viewport-height, 100dvh) - 92px);
        border-radius: 20px;
    }

    .bot-header {
        padding: 16px 16px 14px;
    }

    .bot-model-row {
        padding: 10px 16px 12px;
    }

    #chat-box {
        min-height: 0;
        padding: 16px 14px 12px;
        gap: 12px;
    }

    .msg {
        align-items: flex-start;
        max-width: 100%;
    }

    .msg-bubble,
    .msg.bot .msg-bubble,
    .msg.user .msg-bubble {
        min-width: 0;
        max-width: calc(100% - 32px);
        overflow-wrap: anywhere;
    }

    .bot-suggestions {
        gap: 6px;
    }

    .suggestion-chip {
        max-width: 100%;
        white-space: normal;
    }

    .bot-input-row {
        padding: 10px 14px max(12px, env(safe-area-inset-bottom));
    }

    #user-input {
        min-width: 0;
        max-height: 84px;
    }
}

@media (max-width: 380px) {
    .welcome-container {
        padding-inline: 14px;
    }

    .welcome-status-pill span:not(.status-pulse-dot) {
        max-width: 170px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .welcome-kicker-row {
        gap: 8px;
    }

    .welcome-kicker-text {
        font-size: 0.68rem;
        letter-spacing: 0.2em;
    }

    .welcome-sub-row {
        max-width: 280px;
        gap: 6px;
    }

    .sub-role {
        font-size: 0.58rem;
        letter-spacing: 0.12em;
    }

    .welcome-console-dock {
        width: min(100%, 320px);
        padding-inline: 0;
    }

    .telemetry-status {
        font-size: 0.62rem;
        letter-spacing: 0.12em;
    }
}

@media (max-width: 600px) {
    .skills-section,
    .tech-section,
    .focus-section,
    .resume-section,
    .hackathon-section,
    .questions-section,
    .Projects,
    .internship-section,
    .offer-letters-section,
    #Testimonials,
    #contact {
        text-align: center;
    }

    .section-title,
    .tech-header,
    .focus-label,
    .resume-left,
    .hackathon-heading,
    .hackathon-story,
    .questions-content,
    .internship-card-inner,
    .offer-letters-heading,
    #below,
    #contact .side {
        text-align: center;
    }

    .education-container,
    .education-animation,
    .about-card,
    .skill-category,
    .resume-right,
    .hackathon-meta,
    .questions-content,
    .questions-form,
    .internship-card,
    .offer-letters-grid,
    .testimonials-container,
    #contact form {
        align-items: center;
        margin-inline: auto;
    }

    .education-container,
    .skill-category,
    .questions-form,
    #contact form {
        width: 100%;
    }

    .edu-highlights,
    .resume-stats-row,
    .resume-buttons,
    .internship-stack,
    .stack-chips,
    .questions-footer,
    .offer-letters-grid,
    .socialmedia {
        justify-content: center;
    }

    .edu-highlights,
    .internship-points,
    .resume-text,
    .hackathon-meta,
    .questions-footer,
    .offer-letter-content,
    .internship-points {
        text-align: center;
    }

    .internship-points {
        padding-left: 0;
        list-style-position: inside;
    }

    .hackathon-meta {
        padding: 22px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(255,59,48,0.45);
    }

    .hackathon-github,
    .resume-btn,
    .submit-btn,
    #contact button {
        margin-inline: auto;
    }

    .questions-footer {
        flex-wrap: wrap;
        gap: 14px;
    }

    .field-group,
    .field-label,
    #contact input,
    #contact textarea {
        text-align: center;
    }

    .right-side,
    .left-side,
    .changing-text-wrapper {
        width: 100%;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .left-side ul {
        padding-left: 0;
        list-style-position: inside;
    }

    .resume-right {
        justify-content: center;
        width: 100%;
    }

    .bot-header,
    .bot-model-row,
    .bot-input-row,
    .msg,
    .suggestions-label {
        text-align: center;
    }

    .bot-header,
    .bot-model-row,
    .bot-input-row {
        justify-content: center;
    }

    .msg {
        justify-content: center;
    }

    .msg.user {
        margin-inline: auto;
    }

    .bot-suggestions {
        justify-content: center;
        margin-inline: auto;
    }

    #user-input {
        text-align: center;
    }
}




#portfolio-cube-section {
    --cube-size: clamp(270px, 38vw, 560px);
    --cube-depth: calc(var(--cube-size) / 2);
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, .76fr) minmax(300px, 1.24fr);
    align-items: center;
    gap: clamp(32px, 7vw, 112px);
    min-height: 100svh;
    padding: clamp(96px, 12vh, 144px) clamp(24px, 8vw, 140px);
    overflow: hidden;
    isolation: isolate;
   
    color: #f2f7f5;
}




.cube-intro { max-width: 500px; }

.cube-eyebrow,
.cube-face-kicker,
.cube-face-index,
.cube-face-action,
.cube-drag-hint {
    font-family: 'Rajdhani', sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.cube-eyebrow {
    display: block;
    margin-bottom: 22px;
    color: #9fe8dc;
    font-size: clamp(.7rem, 1vw, .82rem);
}

.cube-intro h2 {
    font:700 clamp(2.7rem,5vw,5rem)/.98 'Orbitron',sans-serif;
    letter-spacing: -.08em;
}

.cube-intro h2 em {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: normal;
    letter-spacing: -.06em;
    color: #9fe8dc;
}

.cube-intro p {
    max-width: 400px;
    margin-top: 24px;
    color: rgba(236, 247, 245, .62);
    font: 400 clamp(.94rem, 1.3vw, 1.05rem) / 1.8 'Poppins', sans-serif;
}


.cube-stage.cube-docked {
    position: fixed;
    left: 25px;
    bottom: 25px;
    right: auto;
    width: 60px;
    height: 60px;
    --cube-size: 40px;
    --cube-depth: 20px;
    perspective: 300px;
    margin: 0;
    z-index: 9997;
    animation: none;
    cursor: pointer;
}
.cube-docked .cube-shadow { display: none; }
.cube-docked .cube-face-index,
.cube-docked .cube-face-kicker,
.cube-docked .cube-face-copy,
.cube-docked .cube-face-action,
.cube-docked .cube-face strong { display: none; }
.cube-docked .cube-face {
    padding: 0;
    border-radius: 6px;
    border-width: 2px;
    pointer-events: none; 
}

@media (max-width: 600px) {
    .cube-stage.cube-docked {
        left: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
        --cube-size: 32px;
        --cube-depth: 16px;
    }
}
.cube-stage {
    position: relative;
    width: calc(var(--cube-size) * 1.42);
    height: calc(var(--cube-size) * 1.42);
    margin: auto;
    perspective: 1500px;
    perspective-origin: 50% 47%;
    overflow: visible;
    transition:
    opacity 0.9s cubic-bezier(.16,1,.3,1),
    transform 0.9s cubic-bezier(.16,1,.3,1),
    left .5s ease, bottom .5s ease, width .5s ease, height .5s ease;
    touch-action: none;
    cursor: grab;
    user-select: none;
}
.cube-stage.is-dragging { cursor: grabbing; }

.cube-shadow {
    position: absolute;
    left: 50%;
    bottom: 6%;
    width: 68%;
    height: 12%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, .6), transparent 72%);
    filter: blur(18px);
    transform: translateX(-50%);
    animation: cube-shadow 4s ease-in-out infinite;
}
@keyframes cube-shadow {
    50% { opacity: .5; transform: translateX(-50%) scale(.82); }
}

.portfolio-cube {
    position: absolute;
    left: 50%;
    top: 49%;
    width: var(--cube-size);
    height: var(--cube-size);
    transform-style: preserve-3d;
    transform: translate(-50%, -50%)
        rotateX(var(--cube-rotate-x, -16deg))
        rotateY(var(--cube-rotate-y, 24deg));
    transition: transform 760ms cubic-bezier(.16, 1, .3, 1);
    will-change: transform;
}
.portfolio-cube.is-dragging { transition: none; }

.cube-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: clamp(24px, 3.8vw, 48px);
    overflow: hidden;
    border-radius: clamp(16px, 2.2vw, 26px);
    border: clamp(6px, .9vw, 11px) solid #0a0a0b;
    background-clip: padding-box;
    box-shadow:
        0 30px 64px rgba(0, 0, 0, .5),
        inset 0 1px 0 rgba(255, 255, 255, .22);
    color: #fff;
    text-decoration: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: filter .3s ease, box-shadow .3s ease;
    -webkit-user-drag: none;
    user-drag: none;
    touch-action: none;
}

.cube-face::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
       
        linear-gradient(155deg, rgba(255, 255, 255, .38), transparent 42%),
        radial-gradient(circle at 82% 6%, rgba(255, 255, 255, .5), transparent 30%),
        
        repeating-linear-gradient(
            90deg,
            transparent 0 calc(33.333% - 2px),
            rgba(0, 0, 0, .55) calc(33.333% - 2px) calc(33.333% + 2px)
        ),

        repeating-linear-gradient(
            0deg,
            transparent 0 calc(33.333% - 2px),
            rgba(0, 0, 0, .55) calc(33.333% - 2px) calc(33.333% + 2px)
        );
}

.cube-face::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(0, 0, 0, .3), transparent 46%);
    box-shadow:
        inset 0 0 0 1px rgba(0, 0, 0, .15),
        inset 0 2px 3px rgba(255, 255, 255, .1);
}

.cube-face:hover,
.cube-face:focus-visible {
    filter: brightness(1.1);
    box-shadow:
        0 36px 76px rgba(0, 0, 0, .58),
        inset 0 1px 0 rgba(255, 255, 255, .32),
        0 0 0 3px rgba(255, 255, 255, .16);
    outline: none;
}

.cube-face > * { position: relative; z-index: 1; }


.cube-front  { background: linear-gradient(155deg, #4d8dfd 0%, #1d4ed8 55%, #0a2a78 100%); color: #f6faff; transform: rotateY(0deg)   translateZ(var(--cube-depth)); }
.cube-right  { background: linear-gradient(155deg, #3fdd93 0%, #059c53 55%, #063a26 100%); color: #f2fff8; transform: rotateY(90deg)  translateZ(var(--cube-depth)); }
.cube-back   { background: linear-gradient(155deg, #ff6b5f 0%, #dc2626 55%, #6e0f0f 100%); color: #fff5f4; transform: rotateY(180deg) translateZ(var(--cube-depth)); }
.cube-left   { background: linear-gradient(155deg, #ffab5c 0%, #ea580c 55%, #7a3402 100%); color: #fff8f0; transform: rotateY(-90deg) translateZ(var(--cube-depth)); }
.cube-top    { background: linear-gradient(155deg, #fee373 0%, #eab308 55%, #8a6304 100%); color: #251c02; transform: rotateX(90deg)  translateZ(var(--cube-depth)); }
.cube-bottom { background: linear-gradient(155deg, #ffffff 0%, #eceef0 55%, #c7cbd0 100%); color: #12161a; transform: rotateX(-90deg) translateZ(var(--cube-depth)); }


.cube-face-index {
    position: absolute;
    top: clamp(20px, 3vw, 34px);
    left: clamp(24px, 3.8vw, 48px);
    color: currentColor;
    opacity: .6;
    font-size: .72rem;
}

.cube-face-kicker {
    margin-bottom: 10px;
    color: currentColor;
    opacity: .85;
    font-size: clamp(.62rem, .9vw, .74rem);
}

.cube-face strong {
    font: 700 clamp(2rem, 4.4vw, 4rem) / .94 'Orbitron', sans-serif;
    letter-spacing: -.03em;
    color: currentColor;
    text-shadow: 0 6px 18px rgba(0, 0, 0, .22);
}

.cube-face-copy {
    max-width: 300px;
    margin-top: 18px;
    color: currentColor;
    opacity: .9;
    font: 400 clamp(.78rem, 1.1vw, .94rem) / 1.55 'Poppins', sans-serif;
}

.cube-face-action {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: clamp(22px, 4vw, 42px);
    font-size: .68rem;
    color: currentColor;
}
.cube-face-action b {
    font: 400 1.25rem / 1 'Poppins', sans-serif;
    color: currentColor;
    transition: transform .25s ease;
}
.cube-face:hover .cube-face-action b,
.cube-face:focus-visible .cube-face-action b {
    transform: translate(3px, -3px);
}

.cube-drag-hint {
    grid-column: 2;
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: -32px;
    color: rgba(218, 247, 244, .58);
    font-size: .68rem;
}
.cube-drag-hint span {
    display: block;
    width: 32px;
    height: 1px;
    background: #9fe8dc;
}

.cube-ready .cube-stage {
    animation: cube-stage-in .9s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes cube-stage-in {
    from { opacity: 0; transform: translateY(32px) scale(.94); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 800px) {
    #portfolio-cube-section {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: auto;
        padding: 90px 20px 62px;
    }
    .cube-intro { text-align: center; margin: auto; }
    .cube-intro p { margin-inline: auto; }
    .cube-stage {
        width: calc(var(--cube-size) * 1.48);
        height: calc(var(--cube-size) * 1.38);
    }
    .cube-drag-hint { grid-column: 1; margin-top: 2px; }
}

@media (prefers-reduced-motion: reduce) {
    .portfolio-cube { transition: none; }
    .cube-shadow { animation: none; }
    .cube-ready .cube-stage { animation: none; }
}
.cube-stage,
#portfolio-cube-section {
    overflow-anchor: none;
}
/* ===== Laptop inside the cover (left side) ===== */
.cover-section .laptop-showcase.cover-laptop {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 50%;
    min-height: 0 !important;
    padding: 0;
    background: none;
    overflow: visible;
    display: block;
    z-index: 6;               /* above the dark overlay (2) and code canvas (3) */
}

/* remove the floor and glow from the old standalone section */
.cover-section .laptop-showcase.cover-laptop::before,
.cover-section .laptop-showcase.cover-laptop::after {
    display: none;
}

/* centre the scaled laptop inside the left half */
.cover-section .laptop-stage-wrap {
    position: absolute;
    left: 50%;
    top: calc(50% + 28px);    /* +28px clears the fixed nav */
    width: 760px;
    transform-origin: top left;
    transform: scale(var(--laptop-scale, 1)) translate(-50%, -50%);
}

.site-nav {
    width: min(980px, calc(100% - 40px));
    left: 50%;
    top: 16px;
    transform: translateX(-50%);
    background: rgba(13, 16, 20, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 19px;
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-nav ul {
    height: 62px;
    padding: 7px 9px 7px 16px;
}

.site-nav ul li.brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.site-nav ul li.brand .brand-logo {
    width: 34px;
    height: 34px;
}

.site-nav ul li.nav-links {
    gap: 4px;
}

.site-nav ul li.brand,
.site-nav ul li.nav-links a {
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.01em;
}

.site-nav ul li.nav-links a {
    color: rgba(245, 247, 250, 0.76);
    position: relative;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.98rem;
    font-weight: 500;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-nav ul li.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #a9d9ff;
    opacity: 0;
    transform: translate(-50%, 3px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav ul li.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.085);
    transform: translateY(-1px);
}

.site-nav ul li.nav-links a:hover::after,
.site-nav ul li.nav-links a[aria-current="location"]::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.site-nav ul li.nav-links a[aria-current="location"] {
    color: #fff;
    background: rgba(255, 255, 255, 0.075);
}

.cover-section .hero {
    justify-content: flex-end;
    padding: 80px clamp(24px, 6vw, 80px) 0 50%;
}

.cover-section .hero-left {
    width: min(680px, 100%);
    max-width: 680px;
    padding: clamp(28px, 4vw, 48px);
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.075);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(26px) saturate(150%);
    -webkit-backdrop-filter: blur(26px) saturate(150%);
    transition: transform 280ms ease, background-color 280ms ease, box-shadow 280ms ease;
}

.cover-section .hero-left:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.09);
    box-shadow:
        0 32px 88px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.cover-section .hero-copy-frame {
    animation: none;
}

.cover-section .hero-copy-frame::before,
.cover-section .hero-copy-frame::after {
    display: none;
}

.cover-section .bracket-third,
.cover-section .bracket-second,
.cover-section .bracket-first {
    padding: 0;
}

.cover-section .hero-left h1 {
    margin-bottom: 12px;
    color: #f5f5f7;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(2.1rem, 4.2vw, 3.5rem);
    font-weight: 650;
    line-height: 1.08;
    letter-spacing: -0.045em;
    text-shadow: none;
}

.cover-section .hero-left .hero-role {
    display: inline-block;
    margin: 0 0 12px;
    color: #b7d8ff;
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1.1rem, 1.7vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1.2;
    text-transform: uppercase;
}

.cover-section .hero-left h1 .hero-name-line {
    display: block;
    white-space: normal;
    color: #f5f5f7;
    font-family: inherit;
    font-size: 1em;
    text-shadow: none;
}

.cover-section .hero-left h1 .hero-name-line span {
    color: #d6e8ff;
    font-family: inherit;
    font-size: 1em;
    text-shadow: none;
}

.cover-section .hero-left p {
    margin-bottom: 24px;
    color: rgba(245, 247, 250, 0.72);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 400;
    line-height: 1.55;
}

.cover-section .hero-left .highlight {
    color: #b7d8ff;
    text-shadow: none;
}

.cover-section .socialmedia {
    justify-content: flex-start;
    gap: 10px;
}

.cover-section .socialmedia a {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.cover-section .socialmedia a:hover {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.14);
}

.cover-section .socialmedia a img {
    width: 22px;
    height: 22px;
    opacity: 0.86;
}

.cover-section .left.corner p {
    color: rgba(245, 247, 250, 0.72);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-shadow: none;
}

.cover-section .left.corner {
    overflow: visible;
}

.cover-section .left.corner p {
    width: auto;
    border: 0;
    animation: none;
    text-transform: none;
}

/* tablets and phones: laptop on top, text below */
@media (max-width: 900px) {
    .site-nav {
        width: calc(100% - 32px);
        top: 12px;
    }
    .cover-section .laptop-showcase.cover-laptop {
        width: 100%;
        height: 48%;
        bottom: auto;
        top: 56px;
    }
    .cover-section .laptop-stage-wrap {
        top: 50%;
        width: 760px;         /* beats the old max-width:760px rule */
    }
    .cover-section .hero {
        padding: 0 16px 80px;
        align-items: flex-end;
        justify-content: center;
    }
    .cover-section .hero-left {
        width: min(680px, 100%);
        text-align: center;
    }
    .cover-section .hero-left h1 {
        font-size: clamp(1.6rem, 5.5vw, 2.4rem);
    }
}

@media (max-width: 600px) {
    .site-nav {
        width: calc(100% - 20px);
        top: 10px;
        border-radius: 16px;
    }
    .site-nav ul {
        min-height: 56px;
        height: auto;
        padding: 6px 7px 6px 10px;
        gap: 4px;
    }
    .site-nav ul li.brand {
        flex: 0 0 auto;
    }
    .site-nav ul li.brand .brand-link {
        gap: 0;
    }
    .site-nav ul li.brand .brand-logo {
        width: 32px;
        height: 32px;
    }
    .site-nav ul li.brand span {
        display: none;
    }
    .site-nav ul li.nav-links {
        flex: 1 1 auto;
        justify-content: flex-end;
        gap: 1px;
        overflow: visible;
    }
    .site-nav ul li.nav-links a {
        padding: 9px clamp(5px, 1.6vw, 9px);
        font-size: clamp(0.68rem, 2.5vw, 0.82rem);
        font-weight: 550;
        white-space: nowrap;
    }
    .cover-section .hero-left {
        padding: 24px 20px;
        border-radius: 22px;
    }
    .cover-section .hero-left h1 {
        font-size: clamp(1.55rem, 7vw, 2rem);
    }
    .cover-section .socialmedia {
        justify-content: center;
    }
    .cover-section .bottom-info {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cover-section .hero-left {
        transition: none;
    }
    .site-nav ul li.nav-links a,
    .site-nav ul li.nav-links a::after {
        transition: none;
    }
}
