/* ==========================================================================
   Tech effects layer — loaded after style.css
   Dark premium theme, glass surfaces, particle hero, power modal
   ========================================================================== */

:root {
    --tech-bg: #04070d;
    --tech-bg-2: #070c16;
    --tech-text: #e9f2ff;
    --tech-muted: #9aabc2;
    --tech-cyan: #22d3ee;
    --tech-blue: #3b82f6;
    --tech-violet: #8b5cf6;
    --tech-line: rgba(120, 200, 255, .16);
    --tech-card: linear-gradient(160deg, rgba(17, 27, 45, .74), rgba(7, 12, 22, .82));
    --tech-radius: 18px;
    --tech-shadow: 0 22px 60px rgba(0, 0, 0, .5);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--tech-bg);
    color: var(--tech-text);
}

/* global faint blueprint grid behind everything */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(80, 160, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(80, 160, 255, .035) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 15%, transparent 78%);
    mask-image: radial-gradient(ellipse at 50% 0%, #000 15%, transparent 78%);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
nav.w3-navbar {
    position: sticky;
    top: 0;
    z-index: 900;
    padding: .9em 0;
    background: rgba(4, 8, 15, .72);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(90, 180, 255, .12);
}

.logo a {
    color: #eaf6ff;
    letter-spacing: .6px;
    text-shadow: 0 0 22px rgba(34, 211, 238, .25);
}

.logo a span {
    background: linear-gradient(90deg, #22d3ee, #60a5fa 55%, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Hero banner
   -------------------------------------------------------------------------- */
.w3l-banner {
    position: relative;
    overflow: hidden;
    min-height: 86vh;
    background:
        linear-gradient(112deg, rgba(3, 6, 12, .94) 0%, rgba(3, 6, 12, .7) 46%, rgba(3, 6, 12, .9) 100%),
        url(../images/bg.jpg) center center / cover no-repeat;
}

.w3l-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 3px);
    opacity: .5;
    mix-blend-mode: overlay;
}

.tech-canvas,
.code-canvas,
.tech-grid,
.tech-orb,
.tech-scanline {
    position: absolute;
    pointer-events: none;
}

.tech-canvas {
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.code-canvas {
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    opacity: .6;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .75) 0%, #000 28%, #000 72%, rgba(0, 0, 0, .15) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .75) 0%, #000 28%, #000 72%, rgba(0, 0, 0, .15) 100%);
}

.tech-grid {
    inset: 38% -25% -10% -25%;
    z-index: 0;
    background-image:
        linear-gradient(rgba(34, 211, 238, .14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, .14) 1px, transparent 1px);
    background-size: 64px 64px;
    transform: perspective(560px) rotateX(64deg);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent 92%);
    mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent 92%);
    animation: gridDrift 12s linear infinite;
}

.tech-orb {
    z-index: 0;
    width: 46vw;
    height: 46vw;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .32;
}

.tech-orb--1 {
    top: -18%;
    left: -10%;
    background: radial-gradient(circle, rgba(34, 211, 238, .9), transparent 68%);
    animation: orbFloat 14s ease-in-out infinite alternate;
}

.tech-orb--2 {
    right: -14%;
    bottom: -22%;
    background: radial-gradient(circle, rgba(139, 92, 246, .85), transparent 68%);
    animation: orbFloat 18s ease-in-out infinite alternate-reverse;
}

.tech-scanline {
    inset: 0;
    z-index: 2;
    background: linear-gradient(to bottom, transparent 0%, rgba(34, 211, 238, .07) 49%, rgba(34, 211, 238, .16) 50%, transparent 51%);
    background-size: 100% 240px;
    opacity: .55;
    animation: scanMove 7s linear infinite;
}

.wthree-dot {
    position: relative;
    z-index: 3;
    background: radial-gradient(rgba(120, 200, 255, .13) 1px, transparent 1.6px);
    background-size: 26px 26px;
}

.w3l-info h1,
.w3l-info h2,
.w3l-info h3 {
    font-weight: 200;
    letter-spacing: 2px;
    text-shadow: 0 0 34px rgba(34, 211, 238, .18);
}

.w3l-info h1 span,
.w3l-info h2 span,
.w3l-info h3 span {
    background: linear-gradient(92deg, #22d3ee, #60a5fa 48%, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 18px rgba(34, 211, 238, .35));
}

.w3l-info p {
    color: #c5d3e6;
}

.tech-eyebrow {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    gap: 10px;
    margin-bottom: 1.6em;
    padding: 7px 16px;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8fd8ff;
    border: 1px solid rgba(34, 211, 238, .28);
    border-radius: 999px;
    background: rgba(9, 20, 34, .55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.tech-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tech-cyan);
    box-shadow: 0 0 10px var(--tech-cyan);
    animation: pulseDot 1.8s ease-in-out infinite;
}

.w3l-info ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.w3l-info ul li {
    margin-bottom: 1em;
}

.w3l-info ul li a,
.about_right ul li a,
.w3ls_more,
.w3l_contact {
    display: inline-block;
    padding: 12px 34px;
    border: 1px solid rgba(120, 210, 255, .5) !important;
    border-radius: 999px;
    color: #eaf6ff !important;
    background: linear-gradient(135deg, rgba(34, 211, 238, .16), rgba(139, 92, 246, .16)) !important;
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0);
    transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}

.w3l-info ul li a:hover,
.about_right ul li a:hover,
.w3ls_more:hover,
.w3l_contact:hover {
    transform: translateY(-3px);
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(34, 211, 238, .38), rgba(139, 92, 246, .38)) !important;
    box-shadow: 0 10px 30px rgba(34, 211, 238, .28), 0 0 0 1px rgba(150, 220, 255, .35) inset;
}

.tech-power-link {
    position: relative;
}

.tech-power-link::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    border: 1px solid rgba(139, 92, 246, .5);
    animation: haloPulse 2.4s ease-out infinite;
    pointer-events: none;
}

.tech-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 4;
    width: 26px;
    height: 42px;
    margin-left: -13px;
    border: 1px solid rgba(160, 220, 255, .5);
    border-radius: 14px;
    display: block;
}

.tech-scroll-cue span {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 3px;
    height: 8px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: var(--tech-cyan);
    box-shadow: 0 0 8px var(--tech-cyan);
    animation: scrollCue 1.8s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   Shared section surfaces
   -------------------------------------------------------------------------- */
.about,
.skills-agileinfo,
.experience,
.gallery {
    background:
        linear-gradient(rgba(4, 8, 14, .94), rgba(4, 8, 14, .97)),
        url(../images/bg5.jpg) center center / cover fixed no-repeat;
}

.about,
.skills-agileinfo,
.experience {
    padding: 6em 0;
}

h3.text-center {
    position: relative;
    padding-bottom: .55em;
    color: #f2f8ff;
    font-weight: 300;
    letter-spacing: 2px;
}

h3.text-center::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 96px;
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--tech-cyan), var(--tech-violet), transparent);
    box-shadow: 0 0 18px rgba(34, 211, 238, .7);
}

/* glass card helper applied to major blocks */
.about_right,
.w3-services-left-grid,
.bar-grids,
.w3ls_about_guage,
.gallery-card {
    background: var(--tech-card);
    border: 1px solid rgba(120, 200, 255, .16);
    border-radius: var(--tech-radius);
    box-shadow: var(--tech-shadow);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about_left {
    border-radius: var(--tech-radius);
    border: 1px solid rgba(120, 200, 255, .18);
    overflow: hidden;
    box-shadow: var(--tech-shadow);
    background:
        linear-gradient(180deg, rgba(3, 6, 12, .42), rgba(3, 6, 12, .88)),
        url(../images/about.jpg) center center / cover no-repeat;
}

.about_left ul.address li ul.agileits-address-text li {
    color: #d7e4f4;
}

.about_left ul.address li ul.agileits-address-text li a {
    color: #7dd3fc;
}

.about_right {
    padding: 2.6em 2.8em;
}

.about_right h3 {
    color: #67e8f9;
    text-shadow: 0 0 24px rgba(34, 211, 238, .25);
}

.about_right h4 {
    color: #cbd7e8;
}

.about_right p {
    color: #a3b3c9;
    border-top: 1px dashed rgba(120, 200, 255, .22);
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.w3-services {
    background:
        linear-gradient(rgba(4, 8, 15, .86), rgba(4, 8, 15, .94)),
        url(../images/bg2.jpg) center center / cover fixed no-repeat;
}

.w3-services-left-grid {
    padding: 2.4em 2.2em;
}

.w3-services-left-grid h4 {
    color: #eaf4ff;
}

.w3-services-left-grid p,
.w3-icon-grid1 p {
    color: #a9b9d0;
}

.w3-services-left-grid a {
    border: 1px solid rgba(120, 210, 255, .45);
    border-radius: 999px;
    color: #eaf6ff;
    background: rgba(9, 20, 34, .5);
}

.w3-services-left-grid a:hover {
    background: linear-gradient(135deg, rgba(34, 211, 238, .35), rgba(139, 92, 246, .35));
    border-color: rgba(150, 225, 255, .65);
}

.w3-icon-grid1 {
    position: relative;
    padding: 26px 22px 24px;
    border-radius: 16px;
    border: 1px solid rgba(120, 200, 255, .12);
    background: linear-gradient(165deg, rgba(16, 26, 44, .66), rgba(7, 12, 22, .72));
    transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
    overflow: hidden;
}

.w3-icon-grid1::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(320px circle at 20% 0%, rgba(34, 211, 238, .12), transparent 60%);
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}

.w3-icon-grid1:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, .4);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 26px rgba(34, 211, 238, .12);
}

.w3-icon-grid1:hover::before {
    opacity: 1;
}

.w3-icon-grid1 i {
    color: #38e0f5;
    text-shadow: 0 0 18px rgba(34, 211, 238, .45);
}

.w3-services-right-grid h3 {
    color: #eef6ff;
}

/* --------------------------------------------------------------------------
   Skills
   -------------------------------------------------------------------------- */
.bar-grids {
    padding: 2.2em 2.3em;
    width: 48.24%;
}

.bargrids-left {
    margin-right: 2%;
}

.bar-grids h4 {
    color: #e8f2ff;
}

.bar-grids h4:after {
    background: linear-gradient(90deg, var(--tech-cyan), var(--tech-violet));
    box-shadow: 0 0 14px rgba(34, 211, 238, .6);
}

.bar-grids h5,
.bar-grids h6 {
    color: #cbd8e9;
}

.bar-grids h6 span {
    color: #7dd3fc;
    font-weight: 600;
}

.bar-grids p {
    color: #9cadc4;
}

.progress {
    height: 9px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(120, 200, 255, .08) inset;
}

.progress-bar {
    border-radius: 99px;
    background-image: linear-gradient(90deg, #22d3ee, #3b82f6 55%, #8b5cf6) !important;
    background-size: 200% 100%;
    box-shadow: 0 0 16px rgba(34, 211, 238, .55);
    animation: barFlow 4s linear infinite;
}

.hobbies-grid1 span.fa {
    background: rgba(9, 16, 28, .6);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .02), 0 8px 22px rgba(0, 0, 0, .35);
    transition: transform .35s ease, box-shadow .35s ease;
}

.hobbies-grid1:hover span.fa {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 24px currentColor, 0 12px 26px rgba(0, 0, 0, .4);
}

.hobbies-grid1 h5 {
    color: #cbd8e9;
}

.skills-note {
    margin-top: 14px;
    padding: 18px 20px;
    border: 1px solid rgba(120, 200, 255, .16);
    border-left: 2px solid rgba(34, 211, 238, .7);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(34, 211, 238, .07), rgba(139, 92, 246, .05));
}

.skills-note span {
    display: block;
    font-size: 10px;
    letter-spacing: 3px;
    color: #5eead4;
}

.skills-note p {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.85;
    color: #9db0c8;
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats {
    background:
        linear-gradient(rgba(4, 8, 15, .84), rgba(4, 8, 15, .93)),
        url(../images/bg3.jpg) center center / cover fixed no-repeat;
}

.w3ls_about_guage {
    padding: 22px 12px 18px;
    transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}

.w3ls_about_guage:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, .38);
    box-shadow: 0 20px 44px rgba(0, 0, 0, .5), 0 0 26px rgba(34, 211, 238, .12);
}

.w3ls_about_guage h4 {
    color: #dbe8f7;
}

.power-cta {
    margin-top: 2.6em;
    text-align: center;
}

.tech-btn {
    display: inline-block;
    padding: 13px 38px;
    border-radius: 999px;
    border: 1px solid rgba(120, 210, 255, .55);
    color: #eaf6ff !important;
    letter-spacing: 2px;
    font-size: 14px;
    background: linear-gradient(135deg, rgba(34, 211, 238, .18), rgba(139, 92, 246, .2));
    box-shadow: 0 0 26px rgba(34, 211, 238, .18);
    transition: transform .35s ease, box-shadow .35s ease;
}

.tech-btn:hover {
    transform: translateY(-3px);
    color: #fff !important;
    box-shadow: 0 12px 36px rgba(34, 211, 238, .3);
}

/* --------------------------------------------------------------------------
   Experience
   -------------------------------------------------------------------------- */
.experience {
    background:
        linear-gradient(rgba(4, 8, 14, .9), rgba(4, 8, 14, .96)),
        url(../images/bg4.jpg) center center / cover fixed no-repeat;
}

.exp_left img {
    border-radius: var(--tech-radius);
    border: 1px solid rgba(120, 200, 255, .18);
    box-shadow: var(--tech-shadow);
}

.exp_right h3 {
    color: #67e8f9;
    text-shadow: 0 0 24px rgba(34, 211, 238, .22);
}

.exp_right p {
    color: #a7b7cd;
}

.exp_grids {
    border-left: 1px solid rgba(34, 211, 238, .28);
}

.exp_grid1 span.fa {
    color: var(--tech-cyan);
    text-shadow: 0 0 14px rgba(34, 211, 238, .9);
}

.exp_grid1 h4 {
    color: #e6eef9;
}

.exp_grid1 h5 {
    color: #7dd3fc;
}

.exp_grid1 p {
    color: #9fb0c7;
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.tech-gallery {
    padding: 6em 0;
    background:
        linear-gradient(rgba(4, 8, 14, .93), rgba(4, 8, 14, .97)),
        url(../images/bg5.jpg) center center / cover fixed no-repeat;
}

.tech-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 22px;
    margin-top: 1em;
}

.gallery-card {
    display: flex;
    flex-direction: column;
    margin: 0;
    overflow: hidden;
    transition: transform .45s ease, border-color .45s ease, box-shadow .45s ease;
}

.gallery-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, .4);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .55), 0 0 30px rgba(34, 211, 238, .12);
}

.gallery-card__media {
    position: relative;
    overflow: hidden;
    background: #060b13;
}

.gallery-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.gallery-card:hover .gallery-card__media img {
    transform: scale(1.04);
}

.gallery-card__media {
    aspect-ratio: 16 / 10;
}

.gallery-card figcaption {
    flex: 1;
    padding: 20px 22px 24px;
}

.gallery-card figcaption span {
    font-size: 10px;
    letter-spacing: 3px;
    color: #5eead4;
    text-transform: uppercase;
}

.gallery-card figcaption h4 {
    margin: .5em 0 .6em;
    font-size: 19px;
    font-weight: 500;
    color: #eaf4ff;
}

.gallery-card figcaption p {
    color: #9db0c8;
    font-size: 13.5px;
    line-height: 1.9;
}

/* --------------------------------------------------------------------------
   Contact & footer
   -------------------------------------------------------------------------- */
section.comment-w3l {
    background:
        radial-gradient(680px circle at 12% 18%, rgba(34, 211, 238, .1), transparent 60%),
        radial-gradient(620px circle at 88% 80%, rgba(139, 92, 246, .12), transparent 60%),
        linear-gradient(rgba(4, 8, 14, .95), rgba(5, 9, 16, .98)),
        url(../images/bg5.jpg) center center / cover fixed no-repeat;
}

section.comment-w3l input.form-control,
section.comment-w3l textarea.form-control {
    border: 1px solid rgba(120, 200, 255, .22);
    border-radius: 12px;
    background: rgba(255, 255, 255, .035);
    color: #eaf6ff;
    box-shadow: none;
    transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

section.comment-w3l input.form-control:focus,
section.comment-w3l textarea.form-control:focus {
    border-color: rgba(34, 211, 238, .6);
    background: rgba(255, 255, 255, .05);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, .12), 0 0 24px rgba(34, 211, 238, .12);
    outline: none;
}

section.comment-w3l input::placeholder,
section.comment-w3l textarea::placeholder {
    color: #71829a;
}

section.comment-w3l button.btn.btn-primary {
    background: linear-gradient(135deg, #22d3ee, #3b82f6 55%, #8b5cf6);
    color: #041018;
    font-weight: 700;
    border-radius: 999px;
    letter-spacing: 1px;
    box-shadow: 0 14px 34px rgba(34, 211, 238, .22);
}

section.comment-w3l button.btn.btn-primary:hover {
    color: #041018;
    opacity: .92;
    box-shadow: 0 18px 40px rgba(34, 211, 238, .32);
}

.w3l_footer {
    background: #02050a;
    border-top: 1px solid rgba(90, 180, 255, .12);
}

.w3l_footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 60%;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .8), rgba(139, 92, 246, .8), transparent);
    box-shadow: 0 0 18px rgba(34, 211, 238, .5);
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.tech-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
    will-change: opacity, transform;
}

.tech-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* --------------------------------------------------------------------------
   Cursor glow
   -------------------------------------------------------------------------- */
#tech-cursor {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 4;
    width: 420px;
    height: 420px;
    margin: -210px 0 0 -210px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle, rgba(34, 211, 238, .1), rgba(59, 130, 246, .06) 42%, transparent 68%);
    mix-blend-mode: screen;
    transform: translate3d(-999px, -999px, 0);
    transition: opacity .4s ease;
}

body.tech-pointer-fine #tech-cursor {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Floating power button
   -------------------------------------------------------------------------- */
.tech-power-fab {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 12px;
    border: 1px solid rgba(34, 211, 238, .38);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(10, 27, 44, .94), rgba(26, 14, 52, .94));
    color: #e6f6ff;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 13px;
    letter-spacing: 1.5px;
    line-height: 1;
    cursor: pointer;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .5), 0 0 26px rgba(34, 211, 238, .16);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.tech-power-fab--left {
    left: 26px;
    right: auto;
    flex-direction: row-reverse;
    padding: 10px 12px 10px 20px;
}

.tech-power-fab:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, .7);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .55), 0 0 34px rgba(34, 211, 238, .3);
}

.tech-power-fab:focus-visible {
    outline: 2px solid #22d3ee;
    outline-offset: 3px;
}

.tech-power-fab__ring {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    border: 1px solid rgba(139, 92, 246, .6);
    pointer-events: none;
    animation: fabPulse 3s ease-out infinite;
}

.tech-power-fab__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #06b6d4, #8b5cf6);
    color: #04121f;
    font-size: 15px;
    box-shadow: 0 0 18px rgba(34, 211, 238, .45);
}

.tech-power-fab__label {
    position: relative;
    white-space: nowrap;
}

@keyframes fabPulse {
    0% { opacity: .7; transform: scale(1); }
    70% { opacity: 0; transform: scale(1.16); }
    100% { opacity: 0; transform: scale(1.16); }
}

@media (max-width: 767px) {
    .tech-power-fab {
        right: 14px;
        bottom: 16px;
        gap: 8px;
        padding: 9px 16px 9px 10px;
        font-size: 12px;
        letter-spacing: 1px;
    }

    .tech-power-fab__icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .tech-power-fab--left {
        left: 14px;
        right: auto;
        padding: 9px 10px 9px 16px;
    }
}

/* --------------------------------------------------------------------------
   Power modal
   -------------------------------------------------------------------------- */
.power-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s ease, visibility .35s ease;
}

.power-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.power-modal__backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(4, 9, 18, .72), rgba(2, 4, 8, .92));
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.power-modal__panel {
    position: relative;
    width: min(680px, 92vw);
    padding: 42px 44px 38px;
    background: linear-gradient(160deg, rgba(11, 18, 31, .96), rgba(5, 9, 16, .98));
    border-radius: 6px;
    box-shadow: 0 40px 120px rgba(0, 0, 0, .75), 0 0 60px rgba(34, 211, 238, .1);
    transform: scale(.92) translateY(14px);
    opacity: 0;
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .4s ease;
    overflow: hidden;
}

.power-modal.is-open .power-modal__panel {
    transform: none;
    opacity: 1;
}

.power-modal__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(420px circle at 18% 0%, rgba(34, 211, 238, .1), transparent 62%),
        radial-gradient(380px circle at 100% 100%, rgba(139, 92, 246, .12), transparent 60%);
}

.power-modal__frame {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.frame-line {
    position: absolute;
    display: block;
}

.frame-line--top,
.frame-line--bottom {
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .9), rgba(139, 92, 246, .9), transparent);
    transform: scaleX(0);
}

.frame-line--top {
    top: 0;
    transform-origin: left center;
}

.frame-line--bottom {
    bottom: 0;
    transform-origin: right center;
}

.frame-line--right,
.frame-line--left {
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(139, 92, 246, .9), rgba(34, 211, 238, .9), transparent);
    transform: scaleY(0);
}

.frame-line--right {
    right: 0;
    transform-origin: center top;
}

.frame-line--left {
    left: 0;
    transform-origin: center bottom;
}

.frame-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(94, 234, 212, .9);
    opacity: 0;
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, .9));
}

.frame-corner--tl {
    top: 6px;
    left: 6px;
    border-right: 0;
    border-bottom: 0;
}

.frame-corner--tr {
    top: 6px;
    right: 6px;
    border-left: 0;
    border-bottom: 0;
}

.frame-corner--bl {
    bottom: 6px;
    left: 6px;
    border-right: 0;
    border-top: 0;
}

.frame-corner--br {
    bottom: 6px;
    right: 6px;
    border-left: 0;
    border-top: 0;
}

.power-modal__frame.is-armed .frame-line--top {
    animation: drawLineX .42s cubic-bezier(.3, .8, .3, 1) .08s forwards;
}

.power-modal__frame.is-armed .frame-line--right {
    animation: drawLineY .42s cubic-bezier(.3, .8, .3, 1) .3s forwards;
}

.power-modal__frame.is-armed .frame-line--bottom {
    animation: drawLineX .42s cubic-bezier(.3, .8, .3, 1) .52s forwards;
}

.power-modal__frame.is-armed .frame-line--left {
    animation: drawLineY .42s cubic-bezier(.3, .8, .3, 1) .74s forwards;
}

.power-modal__frame.is-armed .frame-corner {
    animation: cornerPop .3s ease-out .96s forwards;
}

.power-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(120, 200, 255, .25);
    border-radius: 50%;
    background: rgba(10, 18, 30, .8);
    color: #9fb6d1;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.power-modal__close:hover {
    color: #fff;
    border-color: rgba(34, 211, 238, .65);
    box-shadow: 0 0 18px rgba(34, 211, 238, .35);
    transform: rotate(90deg);
}

.power-modal__body {
    position: relative;
    z-index: 2;
}

.power-modal__eyebrow {
    font-size: 10px;
    letter-spacing: 4px;
    color: #5eead4;
    text-transform: uppercase;
}

.power-modal h2 {
    margin: .45em 0 .3em;
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 300;
    letter-spacing: 1px;
    color: #f2f8ff;
}

.power-modal h2 em {
    font-style: normal;
    font-size: .6em;
    color: #8fb4d8;
    letter-spacing: 2px;
}

.power-score {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 6px 0 4px;
}

.power-score span {
    font-size: clamp(44px, 8vw, 64px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    background: linear-gradient(92deg, #22d3ee, #60a5fa 52%, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 22px rgba(34, 211, 238, .35));
    font-variant-numeric: tabular-nums;
}

.power-score small {
    font-size: 10px;
    letter-spacing: 4px;
    color: #6c829c;
}

.power-type {
    position: relative;
    min-height: 7.4em;
    margin: 18px 0 4px;
    padding: 18px 20px;
    border-left: 2px solid rgba(34, 211, 238, .5);
    background: linear-gradient(90deg, rgba(34, 211, 238, .07), transparent 70%);
    border-radius: 0 12px 12px 0;
}

.power-type p {
    margin: 0;
    color: #c7d6e8;
    font-size: 14.5px;
    line-height: 2;
    letter-spacing: .6px;
}

#powerText::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 1.05em;
    margin-left: 4px;
    vertical-align: -2px;
    background: linear-gradient(180deg, #22d3ee, #8b5cf6);
    box-shadow: 0 0 10px rgba(34, 211, 238, .9);
    animation: caretBlink 1s steps(2, start) infinite;
}

.power-type.is-done #powerText::after {
    display: none;
}

.power-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 24px;
}

.power-tags span {
    padding: 5px 12px;
    font-size: 11px;
    letter-spacing: 1px;
    color: #9fd8ff;
    border: 1px solid rgba(34, 211, 238, .22);
    border-radius: 999px;
    background: rgba(34, 211, 238, .06);
}

.power-replay {
    padding: 10px 26px;
    border-radius: 999px;
    border: 1px solid rgba(120, 200, 255, .35);
    background: rgba(34, 211, 238, .08);
    color: #cfe9ff;
    font-size: 12px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: box-shadow .3s ease, border-color .3s ease, transform .3s ease;
}

.power-replay:hover {
    transform: translateY(-2px);
    border-color: rgba(34, 211, 238, .65);
    box-shadow: 0 8px 24px rgba(34, 211, 238, .22);
}

/* --------------------------------------------------------------------------
   Film modal
   -------------------------------------------------------------------------- */
.film-modal__panel {
    width: min(1040px, 92vw);
    max-height: calc(100vh - 48px);
    padding: 26px 26px 20px;
    overflow-y: auto;
}

.film-modal__head {
    position: relative;
    z-index: 2;
    padding-right: 48px;
    margin-bottom: 16px;
}

.film-modal__head h2 {
    margin: .35em 0 .15em;
    font-size: clamp(22px, 3vw, 30px);
}

.film-modal__head p {
    margin: 0;
    color: #8fa6c0;
    font-size: 13px;
    letter-spacing: 1px;
}

.film-modal__stage {
    position: relative;
    z-index: 2;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(120, 200, 255, .22);
    border-radius: 10px;
    overflow: hidden;
    background: #02060c;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .6), 0 0 40px rgba(34, 211, 238, .1);
}

.film-modal__player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.film-modal__note {
    position: relative;
    z-index: 2;
    margin: 12px 2px 0;
    color: #6f86a1;
    font-size: 12px;
    letter-spacing: .6px;
}

/* --------------------------------------------------------------------------
   Symmetric layout
   -------------------------------------------------------------------------- */
.sym-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.sym-row > [class*="col-"] {
    float: none;
}

.about-body > .about_left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.6em 2.8em;
}

.exp-body > .exp_left {
    display: flex;
}

.exp-body > .exp_left img {
    width: 100%;
    height: 100%;
    min-height: 640px;
    object-fit: cover;
}

.contact-body > .comment-agile2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* services: centered lead + 3 x 2 equal cards */
.w3-services .w3-services-grids {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.w3-services .w3-services-grids > h3 {
    grid-column: 1 / -1;
    margin-bottom: .4em;
}

.w3-services .w3-services-left-grid {
    grid-column: 1 / -1;
    float: none;
    width: auto;
    padding: 0 0 1.6em;
    text-align: center;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.w3-services .w3-services-left-grid .more {
    margin: 1.6em 0 0;
}

.w3-services .w3-services-right-grid {
    grid-column: 1 / -1;
    float: none;
    width: auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 22px;
}

.w3-services .w3-icon-grid-gap1,
.w3-services .w3-icon-grid-gap2 {
    display: contents;
}

.w3-services .w3-icon-grid1 {
    float: none;
    width: auto;
    height: 100%;
}

.w3-services .w3-services-right-grid > .clearfix,
.w3-services .w3-icon-grid-gap1 > .clearfix,
.w3-services .w3-icon-grid-gap2 > .clearfix {
    display: none;
}

/* skills: equal height cards */
.skills {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 24px;
}

.skills > .bar-grids {
    float: none;
    width: calc(50% - 12px);
    margin-right: 0;
}

/* stats: equal height gauges */
.w3layouts_skills_grids {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.w3layouts_skills_grids > .w3ls_about_guage {
    float: none;
}

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */
@keyframes gridDrift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 0 64px, 64px 0; }
}

@keyframes orbFloat {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(40px, 30px, 0) scale(1.12); }
}

@keyframes scanMove {
    from { background-position: 0 -240px; }
    to { background-position: 0 120%; }
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .35; transform: scale(.7); }
}

@keyframes haloPulse {
    0% { opacity: .8; transform: scale(1); }
    70% { opacity: 0; transform: scale(1.12); }
    100% { opacity: 0; transform: scale(1.12); }
}

@keyframes scrollCue {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(16px); opacity: 0; }
    100% { transform: translateY(16px); opacity: 0; }
}

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

@keyframes caretBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes drawLineX {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes drawLineY {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

@keyframes cornerPop {
    0% { opacity: 0; transform: scale(.3); }
    60% { opacity: 1; transform: scale(1.15); }
    100% { opacity: 1; transform: scale(1); }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .w3l-banner {
        min-height: 78vh;
    }

    .about_right {
        margin-top: 24px;
        padding: 2.2em;
    }

    .w3-services-left-grid {
        margin-bottom: 26px;
    }

    .bar-grids {
        width: 100%;
        margin-right: 0;
    }

    .bargrids-left {
        margin-bottom: 24px;
    }

    .exp_left {
        margin-bottom: 26px;
    }

    .sym-row > [class*="col-"] {
        width: 100%;
    }

    .exp-body > .exp_left img {
        height: auto;
        min-height: 0;
    }

    .skills > .bar-grids {
        width: 100%;
    }

    .w3-services .w3-services-grids,
    .w3-services .w3-services-right-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .w3layouts_skills_grids > .w3ls_about_guage {
        width: 50%;
    }

    .power-modal__panel {
        padding: 38px 26px 30px;
    }

    .film-modal .film-modal__panel {
        padding: 22px 20px 18px;
    }
}

@media (max-width: 767px) {
    .tech-gallery__grid {
        grid-template-columns: 1fr;
    }

    .tech-orb {
        width: 80vw;
        height: 80vw;
        filter: blur(70px);
    }

    .w3l-info ul li a {
        padding: 11px 24px;
    }

    .w3ls_about_guage {
        margin-bottom: 18px;
    }

    .w3-services .w3-services-grids,
    .w3-services .w3-services-right-grid {
        grid-template-columns: 1fr;
    }

    .film-modal__head {
        padding-right: 40px;
    }

    .film-modal__note {
        font-size: 11px;
        line-height: 1.7;
    }

    .power-type {
        min-height: 9.5em;
    }
}

@media (max-width: 480px) {
    .tech-eyebrow {
        padding: 6px 12px;
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .power-modal {
        padding: 14px;
    }

    .power-modal__panel {
        padding: 34px 20px 26px;
    }

    .power-score span {
        font-size: 42px;
    }

    .power-tags {
        margin-bottom: 18px;
    }

    .film-modal .film-modal__panel {
        padding: 18px 12px 14px;
    }

    .film-modal__head h2 {
        font-size: 20px;
    }

    .w3layouts_skills_grids > .w3ls_about_guage {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .tech-grid,
    .tech-orb,
    .tech-scanline,
    .tech-eyebrow::before,
    .tech-power-link::after,
    .tech-scroll-cue span,
    .tech-power-fab__ring,
    .progress-bar,
    #powerText::after {
        animation: none !important;
    }

    .tech-power-fab {
        transition: none;
    }

    .tech-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .power-modal,
    .power-modal__panel {
        transition: none;
    }

    .power-modal__frame.is-armed .frame-line--top,
    .power-modal__frame.is-armed .frame-line--right,
    .power-modal__frame.is-armed .frame-line--bottom,
    .power-modal__frame.is-armed .frame-line--left,
    .power-modal__frame.is-armed .frame-corner {
        animation-duration: .01ms !important;
        animation-delay: 0s !important;
    }
}
