/* ================================================================
   WOW LAYER — modern enhancements on top of the existing template.
   Loaded AFTER css/style.css so selectors here win.
   ================================================================ */

:root {
    --wow-primary: #2196F3;
    --wow-primary-2: #6dd5ed;
    --wow-accent: #f72585;
    --wow-accent-2: #7209b7;
    --wow-glow: 0 0 40px rgba(33, 150, 243, 0.45);
    --wow-glow-strong: 0 0 60px rgba(33, 150, 243, 0.75);
}

/* ---------- Smooth scroll + nice scrollbar ---------- */
html { scroll-behavior: smooth; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--wow-primary), var(--wow-accent-2));
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--wow-accent), var(--wow-primary)); }

/* ---------- Custom cursor halo (desktop only) ---------- */
@media (hover: hover) and (pointer: fine) {
    .wow-cursor {
        position: fixed;
        top: 0; left: 0;
        width: 28px; height: 28px;
        border-radius: 50%;
        border: 1.5px solid rgba(255, 255, 255, 0.7);
        background: rgba(255, 255, 255, 0.06);
        box-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: width .25s ease, height .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
    }
    .wow-cursor.is-hover {
        width: 52px; height: 52px;
        border-color: rgba(255, 255, 255, 0.9);
        background: rgba(33, 150, 243, 0.18);
        box-shadow: 0 0 22px rgba(33, 150, 243, 0.55);
    }

    /* Per-section tints (white on hero stays default) */
    .wow-cursor[data-section="about"]        { border-color: rgba(33, 150, 243, 0.85);  background: rgba(33, 150, 243, 0.10);  box-shadow: 0 0 16px rgba(33, 150, 243, 0.5); }
    .wow-cursor[data-section="qualification"]{ border-color: rgba(114, 9, 183, 0.85);   background: rgba(114, 9, 183, 0.10);   box-shadow: 0 0 16px rgba(114, 9, 183, 0.5); }
    .wow-cursor[data-section="skill"]        { border-color: rgba(247, 37, 133, 0.85);  background: rgba(247, 37, 133, 0.10);  box-shadow: 0 0 16px rgba(247, 37, 133, 0.5); }
    .wow-cursor[data-section="service"]      { border-color: rgba(13, 148, 136, 0.85);  background: rgba(13, 148, 136, 0.10);  box-shadow: 0 0 16px rgba(13, 148, 136, 0.5); }
    .wow-cursor[data-section="testimonial"]  { border-color: rgba(245, 158, 11, 0.85);  background: rgba(245, 158, 11, 0.10);  box-shadow: 0 0 16px rgba(245, 158, 11, 0.5); }
    .wow-cursor[data-section="portfolio"]    { border-color: rgba(109, 213, 237, 0.95); background: rgba(109, 213, 237, 0.12); box-shadow: 0 0 16px rgba(109, 213, 237, 0.6); }
    .wow-cursor[data-section="blog"]         { border-color: rgba(34, 197, 94, 0.85);   background: rgba(34, 197, 94, 0.10);   box-shadow: 0 0 16px rgba(34, 197, 94, 0.5); }
}

/* ---------- HERO: aurora background + floating blobs + sparkle ---------- */
#home {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 30%, #2196F3 60%, #6dd5ed 100%);
    background-size: 300% 300%;
    animation: wow-aurora 18s ease infinite;
}

/* Clear the fixed navbar on tablet/mobile (collapsed state) */
@media (max-width: 1199.98px) {
    #home {
        padding-top: 110px !important;
    }
}

@keyframes wow-aurora {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating blob decorations */
.wow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    pointer-events: none;
    animation: wow-float 12s ease-in-out infinite;
    z-index: 0;
}
.wow-blob-1 { width: 380px; height: 380px; top: -80px; left: -100px;  background: radial-gradient(circle, #f72585, transparent 70%); animation-delay: 0s; }
.wow-blob-2 { width: 320px; height: 320px; bottom: -60px; right: -80px; background: radial-gradient(circle, #7209b7, transparent 70%); animation-delay: -4s; }
.wow-blob-3 { width: 260px; height: 260px; top: 30%; right: 15%;        background: radial-gradient(circle, #6dd5ed, transparent 70%); animation-delay: -8s; }

@keyframes wow-float {
    0%, 100% { transform: translate(0,0) scale(1); }
    33%      { transform: translate(40px,-30px) scale(1.1); }
    66%      { transform: translate(-30px,30px) scale(0.95); }
}

/* Hero content above blobs */
#home > .container { position: relative; z-index: 2; }

/* Node-network canvas */
.wow-network {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ---------- Profile image with rotating glow ring ---------- */
.wow-profile-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    border-radius: 50%;
    isolation: isolate;
}
.wow-profile-wrap::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--wow-primary), var(--wow-accent), var(--wow-primary-2), var(--wow-accent-2), var(--wow-primary));
    z-index: -1;
    animation: wow-spin 8s linear infinite;
    filter: blur(2px);
    opacity: 0.95;
}
.wow-profile-wrap::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: white;
    z-index: -1;
}
.wow-profile-wrap img {
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.wow-profile-wrap:hover img { transform: scale(1.04); }

@keyframes wow-spin {
    to { transform: rotate(360deg); }
}

/* ---------- Hero text glow ---------- */
#home h1.display-3 {
    text-shadow: 0 0 30px rgba(255,255,255,0.4);
    letter-spacing: 1px;
}
.typed-text-output {
    background: linear-gradient(90deg, #ffffff, #6dd5ed, #ffffff);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: wow-shimmer 4s linear infinite;
}
@keyframes wow-shimmer {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
/* Add a blinking caret */
.typed-text-output::after {
    content: "|";
    -webkit-text-fill-color: white;
    margin-left: 4px;
    animation: wow-blink 1s steps(2) infinite;
}
@keyframes wow-blink { 50% { opacity: 0; } }

/* ---------- Magnetic CTA buttons (hero + navbar) ---------- */
#home .btn-outline-light,
.navbar .btn-outline-primary {
    position: relative;
    overflow: hidden;
    border-width: 2px;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
    z-index: 1;
}
#home .btn-outline-light {
    background-color: #fff;
    color: var(--wow-primary);
    border-color: #fff;
}
#home .btn-outline-light::before,
.navbar .btn-outline-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--wow-accent), var(--wow-accent-2));
    transform: translateX(-101%);
    transition: transform .35s ease;
    z-index: -1;
}
#home .btn-outline-light:hover,
.navbar .btn-outline-primary:hover {
    color: white;
    border-color: transparent;
    background-color: transparent;
    box-shadow: 0 10px 30px rgba(247, 37, 133, 0.4);
    transform: translateY(-3px);
}
#home .btn-outline-light:hover::before,
.navbar .btn-outline-primary:hover::before { transform: translateX(0); }

/* ---------- Section headings shimmer ---------- */
.position-relative h1.position-absolute.text-primary {
    background: linear-gradient(90deg, var(--wow-primary), var(--wow-accent-2), var(--wow-accent), var(--wow-primary));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: wow-shimmer 6s linear infinite;
}

/* ---------- Scroll reveal ---------- */
.wow-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
    will-change: opacity, transform;
}
.wow-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.wow-reveal[data-delay="1"].is-visible { transition-delay: .1s; }
.wow-reveal[data-delay="2"].is-visible { transition-delay: .2s; }
.wow-reveal[data-delay="3"].is-visible { transition-delay: .3s; }
.wow-reveal[data-delay="4"].is-visible { transition-delay: .4s; }

/* ---------- Skill tags upgrade ---------- */
#skill .row,
#skill .skill-cloud { gap: 12px; }

/* Marquee tag cloud */
.skill-cloud {
    position: relative;
    padding: 20px 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.skill-cloud:not(.is-marquee) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    -webkit-mask-image: none;
            mask-image: none;
}
.skill-track {
    display: flex;
    gap: 14px;
    width: max-content;
    margin-bottom: 14px;
    animation: skill-marquee 45s linear infinite;
    will-change: transform;
}
.skill-track:last-child { margin-bottom: 0; }
.skill-track.is-reverse { animation-direction: reverse; animation-duration: 55s; }
.skill-track.is-fast { animation-duration: 35s; }
.skill-cloud:hover .skill-track { animation-play-state: paused; }
.skill-track .tag-cloud { flex-shrink: 0; white-space: nowrap; }
@keyframes skill-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .skill-cloud.is-marquee {
        overflow: visible;
        -webkit-mask-image: none;
                mask-image: none;
    }
    .skill-track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
}

.tag-cloud {
    position: relative;
    overflow: hidden;
    cursor: default;
    background: linear-gradient(135deg, var(--wow-primary), var(--wow-primary-2)) !important;
    border-radius: 999px !important;
    padding: 10px 22px !important;
    font-weight: 500;
    letter-spacing: .3px;
    box-shadow: 0 4px 14px rgba(33, 150, 243, 0.25);
    transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, background .3s ease;
    will-change: transform;
}
.tag-cloud::before {
    content: "";
    position: absolute;
    top: 0; left: -120%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: left .6s ease;
}
.tag-cloud:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 12px 30px rgba(247, 37, 133, 0.35);
    background: linear-gradient(135deg, var(--wow-accent), var(--wow-accent-2)) !important;
}
.tag-cloud:hover::before { left: 120%; }

/* ---------- Timeline upgrade ---------- */
.border-left.border-primary {
    border-left-width: 3px !important;
    border-image: linear-gradient(180deg, var(--wow-primary), var(--wow-accent-2), var(--wow-accent)) 1 !important;
}
.fa-dot-circle {
    background: white;
    border-radius: 50%;
    padding: 2px;
    transition: transform .3s ease, color .3s ease, box-shadow .3s ease;
    box-shadow: 0 0 0 0 rgba(33,150,243,0.5);
    animation: wow-pulse 2.5s ease-in-out infinite;
}
@keyframes wow-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(33,150,243,0.55); }
    50%      { box-shadow: 0 0 0 8px rgba(33,150,243,0); }
}
.position-relative.mb-4:hover .fa-dot-circle {
    color: var(--wow-accent) !important;
    transform: scale(1.4);
}

/* ---------- Certificate cards: 3D tilt + glow ---------- */
#certificates .col-lg-4 {
    perspective: 1000px;
}
#certificates .col-lg-4 > div {
    transform-style: preserve-3d;
    transition: transform .25s ease;
    padding: 18px;
    background: transparent;
    border: none;
    box-shadow: none;
    will-change: transform;
}
#certificates img {
    border-radius: 12px;
    transition: transform .4s ease, filter .4s ease;
}
#certificates .col-lg-4 > div:hover img {
    transform: translateZ(40px) scale(1.04);
    filter: drop-shadow(0 14px 24px rgba(33,150,243,0.3));
}
#certificates h4 {
    margin-top: 18px !important;
    transition: color .3s ease, transform .3s ease;
}
#certificates .col-lg-4 > div:hover h4 {
    color: var(--wow-accent);
    transform: translateZ(20px);
}

/* ---------- About / Awards / Languages: glassmorphism panels ---------- */
#about .row, #awards .row, #languages .col-lg-12 > .border-left, #education .col-lg-12 > .border-left {
    position: relative;
}
#about .col-lg-7 {
    background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(245,250,255,0.5));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px !important;
    border: 1px solid rgba(33,150,243,0.1);
    box-shadow: 0 10px 40px -10px rgba(33,150,243,0.15);
}
#about .col-lg-5 img {
    border-radius: 20px;
    transition: transform .5s ease, box-shadow .5s ease;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.2);
}
#about .col-lg-5 img:hover {
    transform: translateY(-6px) rotate(-1deg);
    box-shadow: 0 30px 60px -10px rgba(33,150,243,0.4);
}

#awards .col-lg-12, #languages .col-lg-12, #education .col-lg-12 {
    background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(245,250,255,0.5));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px !important;
    border: 1px solid rgba(33,150,243,0.1);
    box-shadow: 0 10px 40px -10px rgba(33,150,243,0.15);
}

/* ---------- Award items hover ---------- */
#awards h5 {
    transition: color .3s ease, transform .3s ease;
    cursor: default;
}
#awards .position-relative:hover h5 {
    color: var(--wow-accent);
    transform: translateX(6px);
}

/* ---------- Navbar glass on scroll ---------- */
.navbar.fixed-top {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.85) !important;
    border-bottom: 1px solid rgba(33,150,243,0.08);
}
.navbar-nav .nav-link {
    position: relative;
    transition: color .3s ease;
}
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 8px;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--wow-primary), var(--wow-accent));
    transition: width .3s ease, left .3s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
    left: 20%;
}

/* ---------- Back-to-top + scroll-down arrows polish ---------- */
.back-to-top {
    background: linear-gradient(135deg, var(--wow-primary), var(--wow-accent-2)) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 8px 24px rgba(33,150,243,0.4);
    transition: transform .3s ease, box-shadow .3s ease;
}
.back-to-top:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 14px 30px rgba(247,37,133,0.45);
}
.scroll-to-bottom {
    animation: wow-bounce 2s ease-in-out infinite;
    cursor: pointer;
}
@keyframes wow-bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(10px); }
}

/* ---------- Footer glow ---------- */
.container-fluid.bg-primary.text-white {
    background: linear-gradient(135deg, #1e3c72, #2196F3, #7209b7) !important;
    background-size: 200% 200%;
    animation: wow-aurora 12s ease infinite;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ================================================================
   THEME TOGGLE + DARK MODE
   ================================================================ */
.theme-toggle {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wow-primary), var(--wow-accent-2));
    color: white;
    border: none;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(33,150,243,0.4);
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}
.theme-toggle:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 14px 30px rgba(247,37,133,0.45);
}
.theme-toggle .fa-sun { display: none; }
html.dark-mode .theme-toggle .fa-moon { display: none; }
html.dark-mode .theme-toggle .fa-sun { display: inline; }

/* ---------- Dark mode overrides ---------- */
html.dark-mode { color-scheme: dark; }

html.dark-mode body {
    background-color: #0f172a;
    color: #cbd5e1;
}

/* Navbar */
html.dark-mode .navbar.fixed-top {
    background: rgba(15, 23, 42, 0.85) !important;
    border-bottom: 1px solid rgba(33,150,243,0.2);
}
html.dark-mode .navbar-light .navbar-nav .nav-link { color: #e2e8f0 !important; }
html.dark-mode .navbar-light .navbar-nav .nav-link:hover,
html.dark-mode .navbar-light .navbar-nav .nav-link.active { color: #6dd5ed !important; }
html.dark-mode .navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
html.dark-mode .navbar .btn-outline-primary { color: #6dd5ed; border-color: #6dd5ed; }

/* Headings + body text */
html.dark-mode h1, html.dark-mode h2, html.dark-mode h3,
html.dark-mode h4, html.dark-mode h5, html.dark-mode h6 { color: #e2e8f0; }
html.dark-mode .text-secondary { color: #94a3b8 !important; }
html.dark-mode p { color: #cbd5e1; }
html.dark-mode small { color: #94a3b8; }

/* Big outlined section headings (inline -webkit-text-stroke) */
html.dark-mode .display-1.text-uppercase.text-white {
    color: transparent !important;
    -webkit-text-stroke: 1px #334155 !important;
}

/* Glassmorphism panels */
html.dark-mode #about .col-lg-7,
html.dark-mode #awards .col-lg-12,
html.dark-mode #languages .col-lg-12,
html.dark-mode #education .col-lg-12 {
    background: linear-gradient(135deg, rgba(30,41,59,0.7), rgba(15,23,42,0.5));
    border: 1px solid rgba(109,213,237,0.15);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5);
}

/* Timeline dots: white background needs to match dark bg */
html.dark-mode .fa-dot-circle { background: #0f172a; }

/* Scrollbar track */
html.dark-mode ::-webkit-scrollbar-track { background: #1e293b; }

/* Certificate card text */
html.dark-mode #certificates h4 { color: #e2e8f0; }


/* ================================================================
   EXPERIENCE — Stats hero + filterable single timeline
   ================================================================ */
#experience .exp-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin: 32px auto 36px;
}
.exp-stat {
    background: linear-gradient(135deg, rgba(33,150,243,0.08), rgba(247,37,133,0.08));
    border: 1px solid rgba(33,150,243,0.18);
    border-radius: 18px;
    padding: 22px 32px;
    text-align: center;
    min-width: 170px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.exp-stat:hover {
    transform: translateY(-4px);
    border-color: rgba(247,37,133,0.35);
    box-shadow: 0 14px 30px rgba(33,150,243,0.18);
}
.exp-stat-num,
.exp-stat-suffix {
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(90deg, var(--wow-primary), var(--wow-accent));
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.exp-stat-num { font-size: 52px; }
.exp-stat-suffix { font-size: 36px; }
.exp-stat-label {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: #6c757d;
}

.exp-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto 40px;
}
.exp-filter {
    background: transparent;
    border: 2px solid rgba(33,150,243,0.3);
    border-radius: 999px;
    padding: 7px 22px;
    font-weight: 500;
    font-size: 14px;
    color: inherit;
    cursor: pointer;
    transition: background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .2s ease;
}
.exp-filter:hover {
    border-color: var(--wow-primary);
    color: var(--wow-primary);
    transform: translateY(-1px);
}
.exp-filter.active {
    background: linear-gradient(135deg, var(--wow-primary), var(--wow-accent));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 22px rgba(33,150,243,0.35);
}

.exp-timeline {
    position: relative;
    margin: 0 auto;
    max-width: 760px;
    padding-left: 30px;
    border-left: 3px solid transparent;
    border-image: linear-gradient(180deg, var(--wow-primary), var(--wow-accent-2), var(--wow-accent)) 1;
}
.exp-item {
    position: relative;
    margin-bottom: 26px;
    transition: opacity .35s ease, transform .35s ease;
}
.exp-item::before {
    content: "";
    position: absolute;
    top: 14px;
    left: -39px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wow-primary), var(--wow-accent));
    box-shadow: 0 0 0 4px rgba(33,150,243,0.15);
}
.exp-item.is-hidden {
    display: none;
}
.exp-date {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--wow-primary);
    background: rgba(33,150,243,0.1);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.exp-card {
    background: rgba(255,255,255,0.65);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    border: 1px solid rgba(33,150,243,0.12);
    border-radius: 14px;
    padding: 18px 22px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.exp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(33,150,243,0.18);
    border-color: rgba(247,37,133,0.28);
}
.exp-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}
.exp-role {
    font-weight: 700;
    margin: 0 0 4px;
    font-size: 18px;
}
.exp-type {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(247,37,133,0.12);
    color: var(--wow-accent);
    white-space: nowrap;
    flex-shrink: 0;
}
.exp-type[data-kind="full-time"] {
    background: rgba(33,150,243,0.12);
    color: var(--wow-primary);
}
.exp-type[data-kind="freelance"] {
    background: rgba(114,9,183,0.12);
    color: var(--wow-accent-2);
}
.exp-company {
    margin: 0 0 10px;
    font-weight: 600;
    font-size: 14px;
}
.exp-company a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed rgba(33,150,243,0.4);
    transition: color .2s ease, border-color .2s ease;
}
.exp-company a:hover {
    color: var(--wow-primary);
    border-bottom-color: var(--wow-primary);
}
.exp-desc {
    color: #495057;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
}
.exp-desc ul { padding-left: 18px; margin: 6px 0 0; }
.exp-desc li { margin-bottom: 4px; }

/* Dark mode for experience */
html.dark-mode .exp-stat {
    background: linear-gradient(135deg, rgba(33,150,243,0.12), rgba(247,37,133,0.1));
    border-color: rgba(109,213,237,0.18);
}
html.dark-mode .exp-stat-label { color: #94a3b8; }
html.dark-mode .exp-filter {
    border-color: rgba(109,213,237,0.3);
    color: #e2e8f0;
}
html.dark-mode .exp-filter:hover { color: #6dd5ed; border-color: #6dd5ed; }
html.dark-mode .exp-card {
    background: linear-gradient(135deg, rgba(30,41,59,0.7), rgba(15,23,42,0.5));
    border-color: rgba(109,213,237,0.15);
}
html.dark-mode .exp-desc { color: #cbd5e1; }
html.dark-mode .exp-company { color: #e2e8f0; }
html.dark-mode .exp-date {
    background: rgba(33,150,243,0.15);
    color: #6dd5ed;
}

@media (max-width: 575.98px) {
    .exp-stat { min-width: 130px; padding: 16px 22px; }
    .exp-stat-num { font-size: 40px; }
    .exp-stat-suffix { font-size: 28px; }
    .exp-timeline { padding-left: 22px; }
    .exp-item::before { left: -31px; width: 12px; height: 12px; }
}
