:root{
--bg:#050505;
--card:rgba(255,255,255,0.06);
--border:rgba(255,255,255,0.12);
--blue:#00c6ff;
--purple:#8b5cf6;
--text:#ffffff;
--gray:#b5b5b5;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
scroll-behavior:smooth;
font-family:'Poppins',sans-serif;
}

body{
background:var(--bg);
color:var(--text);
overflow-x:hidden;
}

body::before{
content:'';
position:fixed;
width:100%;
height:100%;
background:
radial-gradient(circle at 20% 20%,rgba(0,198,255,.15),transparent 25%),
radial-gradient(circle at 80% 70%,rgba(139,92,246,.15),transparent 25%);
z-index:-1;
}

section{
padding:90px 10%;
}

h2{
font-size:2.5rem;
margin-bottom:30px;
text-align:center;
background:linear-gradient(90deg,var(--blue),var(--purple));
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}

.glass{
background:var(--card);
backdrop-filter:blur(12px);
border:1px solid var(--border);
border-radius:20px;
}

nav{
position:fixed;
top:0;
width:100%;
padding:20px 10%;
display:flex;
justify-content:space-between;
align-items:center;
background:rgba(0,0,0,.7);
backdrop-filter:blur(15px);
z-index:999;
}

.logo{
font-size:1.3rem;
font-weight:700;
color:white;
}

nav ul{
display:flex;
list-style:none;
gap:20px;
}

nav a{
color:white;
text-decoration:none;
transition:.3s;
}

nav a:hover{
color:var(--blue);
}

.hero{
min-height:100vh;
display:flex;
align-items:center;
justify-content:space-between;
gap:50px;
}

.hero-content{
flex:1;
}

.hero-content h1{
font-size:3.5rem;
margin-bottom:15px;
}

.hero-content h3{
font-size:1.4rem;
color:var(--blue);
margin-bottom:20px;
}

.hero-content p{
color:var(--gray);
line-height:1.8;
margin-bottom:30px;
}

.btn-group{
display:flex;
gap:15px;
flex-wrap:wrap;
}

.btn{
padding:12px 24px;
border-radius:50px;
text-decoration:none;
font-weight:600;
transition:.3s;
}

.primary{
background:linear-gradient(90deg,var(--blue),var(--purple));
color:white;
}

.secondary{
border:1px solid var(--blue);
color:white;
}

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

.profile{
width:350px;
height:350px;
border-radius:50%;
overflow:hidden;
border:3px solid var(--blue);
box-shadow:0 0 30px rgba(0,198,255,.4);
}

.profile img{
width:100%;
height:100%;
object-fit:cover;
}

.stats{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:20px;
margin-top:50px;
}

.stat{
padding:25px;
text-align:center;
}

.stat h3{
font-size:2rem;
color:var(--blue);
}

.timeline{
position:relative;
margin-top:40px;
}

.timeline::before{
content:'';
position:absolute;
left:20px;
top:0;
width:3px;
height:100%;
background:var(--blue);
}

.timeline-item{
padding-left:60px;
margin-bottom:40px;
position:relative;
}

.timeline-item::before{
content:'';
position:absolute;
left:11px;
top:10px;
width:20px;
height:20px;
background:var(--purple);
border-radius:50%;
}

.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
}

.card{
padding:25px;
transition:.4s;
}

.card:hover{
transform:translateY(-10px);
}

.skill{
margin-bottom:25px;
}

.skill-name{
margin-bottom:8px;
}

.bar{
height:10px;
background:#222;
border-radius:20px;
overflow:hidden;
}

.progress{
height:100%;
background:linear-gradient(90deg,var(--blue),var(--purple));
border-radius:20px;
animation:grow 2s ease;
}

@keyframes grow{
from{width:0}
}

.project-img {
  width: 100%;
  height: 180px; /* adjust as needed */
  overflow: hidden;
  border-radius: 10px;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* keeps image inside without stretching */
  display: block;
}


.project-buttons{
display:flex;
gap:10px;
margin-top:15px;
}

.project-buttons a{
flex:1;
text-align:center;
padding:10px;
border-radius:10px;
text-decoration:none;
background:rgba(255,255,255,.08);
color:white;
}

footer{
text-align:center;
padding:40px;
border-top:1px solid rgba(255,255,255,.1);
color:#999;
}

.disclaimer{
margin-top:20px;
color:#aaa;
font-style:italic;
}

@media(max-width:900px){

.hero{
flex-direction:column-reverse;
text-align:center;
padding-top:120px;
}

.profile{
width:250px;
height:250px;
}

.hero-content h1{
font-size:2.5rem;
}

nav ul{
display:none;
}
}

.fade{
opacity:0;
transform:translateY(30px);
transition:1s;
}

.fade.show{
opacity:1;
transform:translateY(0);
}


/* ===== PREMIUM HERO ===== */

.hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:80px;
    padding-top:140px;
    overflow:hidden;
}

.hero::before{
    content:'';
    position:absolute;
    width:520px;
    height:520px;
    left:-220px;
    top:15%;
    background:radial-gradient(circle,rgba(0,198,255,.18),transparent 68%);
    filter:blur(20px);
    pointer-events:none;
}

.hero::after{
    content:'';
    position:absolute;
    width:500px;
    height:500px;
    right:-180px;
    bottom:-100px;
    background:radial-gradient(circle,rgba(139,92,246,.20),transparent 68%);
    filter:blur(20px);
    pointer-events:none;
}

.hero-content{
    position:relative;
    z-index:2;
    flex:1;
    max-width:760px;
}

.hero-status{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:9px 15px;
    margin-bottom:25px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:50px;
    background:rgba(255,255,255,.045);
    backdrop-filter:blur(15px);
    color:#cfcfcf;
    font-size:.82rem;
    letter-spacing:.3px;
}

.status-dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#00c6ff;
    box-shadow:0 0 12px rgba(0,198,255,.9);
    animation:pulse-status 2s infinite;
}

@keyframes pulse-status{
    0%,100%{opacity:1;transform:scale(1)}
    50%{opacity:.45;transform:scale(.8)}
}

.hero-eyebrow{
    margin-bottom:12px;
    color:var(--blue);
    font-size:.85rem;
    font-weight:700;
    letter-spacing:4px;
}

.hero-content h1{
    font-size:clamp(3rem,6vw,5.5rem);
    line-height:1.02;
    letter-spacing:-3px;
    margin-bottom:22px;
    background:linear-gradient(110deg,#ffffff 15%,#d8f7ff 45%,#9c7cff 90%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero-content h3{
    max-width:680px;
    margin-bottom:22px;
    color:#d8d8d8;
    font-size:1.35rem;
    line-height:1.6;
    font-weight:500;
}

.hero-description{
    max-width:690px;
    color:var(--gray);
    line-height:1.9;
    font-size:1rem;
    margin-bottom:32px;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    padding:13px 23px;
    border-radius:14px;
    text-decoration:none;
    font-weight:600;
    transition:all .3s ease;
}

.primary{
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 10px 30px rgba(0,198,255,.12);
}

.secondary{
    border:1px solid rgba(255,255,255,.16);
    background:rgba(255,255,255,.035);
    color:white;
    backdrop-filter:blur(12px);
}

.btn:hover{
    transform:translateY(-4px);
    box-shadow:0 14px 35px rgba(0,198,255,.18);
}

.hero-links{
    display:flex;
    gap:22px;
    margin-top:23px;
}

.hero-links a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#aaa;
    text-decoration:none;
    font-size:.9rem;
    transition:.3s;
}

.hero-links a:hover{
    color:white;
    transform:translateY(-2px);
}

.hero-links i{
    color:var(--blue);
}

.stats{
    margin-top:55px;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
}

.stat{
    padding:20px 14px;
    border-radius:16px;
    transition:.3s;
}

.stat:hover{
    transform:translateY(-5px);
    border-color:rgba(0,198,255,.25);
}

.stat h3{
    margin-bottom:5px;
    color:white;
    font-size:1.65rem;
}

.stat p{
    color:#888;
    font-size:.72rem;
    line-height:1.45;
}

.hero-visual{
    position:relative;
    width:390px;
    height:500px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:2;
}

.profile-glow{
    position:absolute;
    width:360px;
    height:360px;
    border-radius:50%;
    background:linear-gradient(135deg,rgba(0,198,255,.3),rgba(139,92,246,.3));
    filter:blur(45px);
    opacity:.7;
}

.profile{
    position:relative;
    width:330px;
    height:430px;
    border-radius:32px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.18);
    box-shadow:
        0 30px 80px rgba(0,0,0,.55),
        0 0 50px rgba(0,198,255,.15);
    transform:rotate(2deg);
    transition:transform .5s ease;
}

.profile:hover{
    transform:rotate(0deg) translateY(-8px);
}

.profile img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.floating-card{
    position:absolute;
    display:flex;
    align-items:center;
    gap:10px;
    padding:13px 16px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:14px;
    background:rgba(10,10,10,.72);
    backdrop-filter:blur(18px);
    box-shadow:0 15px 40px rgba(0,0,0,.35);
    color:#ddd;
    font-size:.76rem;
    white-space:nowrap;
    animation:float-card 4s ease-in-out infinite;
    transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}

.floating-card i{
    color:var(--blue);
}

.floating-card:hover{
    border-color:rgba(255,255,255,.28);
    box-shadow:0 18px 42px rgba(0,0,0,.4);
    animation-play-state:paused;
    transform:translateY(-3px);
}

/* The upper card stays above the portrait frame; the lower cards sit below the facial area. */
.floating-card-top{
    top:-8px;
    right:10px;
}

.floating-card-bottom{
    bottom:-2px;
    left:0;
    animation-delay:1.5s;
}

.floating-card-lower-right{
    right:4px;
    bottom:-2px;
    padding:11px 14px;
    font-size:.68rem;
    animation-delay:2.6s;
    animation-duration:4.8s;
}

@keyframes float-card{
    0%,100%{transform:translateY(0)}
    50%{transform:translateY(-9px)}
}

@media(max-width:1100px){
    .hero{
        gap:40px;
    }

    .hero-visual{
        width:330px;
    }

    .profile{
        width:290px;
        height:390px;
    }

    .floating-card-top{
        top:-4px;
        right:0;
    }

    .floating-card-bottom{
        left:0;
        bottom:0;
    }

    .floating-card-lower-right{
        right:0;
        bottom:0;
    }
}

@media(max-width:900px){
    .hero{
        flex-direction:column-reverse;
        text-align:center;
        padding-top:130px;
    }

    .hero-content{
        max-width:800px;
    }

    .hero-description,
    .hero-content h3{
        margin-left:auto;
        margin-right:auto;
    }

    .hero-status{
        margin-left:auto;
        margin-right:auto;
    }

    .btn-group,
    .hero-links{
        justify-content:center;
    }

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

    .hero-visual{
        width:100%;
        height:420px;
    }

    .profile{
        width:270px;
        height:350px;
    }
}

@media(max-width:500px){
    .hero-content h1{
        letter-spacing:-1.5px;
    }

    .hero-content h3{
        font-size:1.05rem;
    }

    .hero-description{
        font-size:.9rem;
    }

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

    .hero-visual{
        height:360px;
    }

    .profile{
        width:230px;
        height:300px;
    }

    .floating-card{
        max-width:calc(50% - 8px);
        padding:10px 12px;
        font-size:.65rem;
        white-space:normal;
    }

    .floating-card-top{
        top:-2px;
        right:0;
    }

    .floating-card-bottom{
        left:0;
        bottom:-2px;
    }

    .floating-card-lower-right{
        right:0;
        bottom:-2px;
        padding:9px 11px;
        font-size:.61rem;
    }
}


/* ================================
   PREMIUM NAVIGATION
================================ */

.premium-nav {
    position: fixed;
    top: 18px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 28px;
}

.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    min-height: 68px;
    padding: 0 18px 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    background: rgba(10, 10, 18, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    transition: all 0.3s ease;
}

.nav-inner:hover {
    border-color: rgba(120, 100, 255, 0.2);
}

/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.logo-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;

    border-radius: 11px;

    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;

    font-size: 18px;
    font-weight: 800;

    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.28);
}

.logo-text {
    font-size: 19px;
    font-weight: 750;
    letter-spacing: -0.4px;
}

.logo-text span {
    color: #8b7cff;
}

/* Navigation links */

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;

    padding: 10px 11px;

    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;

    font-size: 13px;
    font-weight: 550;

    border-radius: 10px;

    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 0;
    height: 2px;

    transform: translateX(-50%);

    background: linear-gradient(90deg, #667eea, #9b7cff);
    border-radius: 999px;

    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.055);
}

.nav-links a:hover::after {
    width: 18px;
}

/* CTA */

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 10px 15px;

    color: #fff;
    text-decoration: none;

    font-size: 13px;
    font-weight: 650;

    border: 1px solid rgba(139, 124, 255, 0.28);
    border-radius: 11px;

    background: rgba(118, 75, 162, 0.15);

    transition: all 0.25s ease;
}

.nav-cta span {
    font-size: 16px;
    transition: transform 0.25s ease;
}

.nav-cta:hover {
    background: rgba(118, 75, 162, 0.28);
    border-color: rgba(139, 124, 255, 0.5);
    transform: translateY(-1px);
}

.nav-cta:hover span {
    transform: translate(2px, -2px);
}

/* Mobile menu button */

.nav-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;

    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;

    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.nav-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;

    background: #fff;
    border-radius: 999px;

    transition: all 0.25s ease;
}

/* Tablet */

@media (max-width: 1050px) {
    .nav-links {
        gap: 0;
    }

    .nav-links a {
        padding: 9px 7px;
        font-size: 12px;
    }

    .nav-cta {
        padding: 9px 12px;
    }
}

/* Mobile */

@media (max-width: 850px) {
    .premium-nav {
        top: 12px;
        padding: 0 16px;
    }

    .nav-inner {
        min-height: 62px;
        padding: 0 14px 0 16px;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        width: 100%;

        flex-direction: column;
        align-items: stretch;
        gap: 4px;

        padding: 10px;

        background: rgba(10, 10, 18, 0.94);
        border: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 16px;

        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);

        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);

        transition: all 0.25s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        width: 100%;
        padding: 12px 14px;
        font-size: 14px;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .nav-menu-toggle {
        display: block;
    }

    .nav-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (max-width: 500px) {
    .premium-nav {
        top: 8px;
        padding: 0 10px;
    }

    .nav-inner {
        border-radius: 16px;
    }

    .logo-text {
        font-size: 17px;
    }

    .logo-mark {
        width: 35px;
        height: 35px;
    }
}

/* =========================================
   PREMIUM ABOUT SECTION
========================================= */

.about-section {
    position: relative;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 12px;

    color: #8b7cff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.section-heading h2 {
    margin: 0 0 16px;

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.section-heading h2 span {
    background: linear-gradient(135deg, #667eea, #9b7cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-heading > p {
    max-width: 650px;
    margin: 0;

    color: rgba(255, 255, 255, 0.62);
    font-size: 16px;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 24px;
    margin-bottom: 72px;
}

.about-intro,
.about-focus {
    position: relative;
    overflow: hidden;
    padding: 34px;
}

.about-intro::before,
.about-focus::before {
    content: "";

    position: absolute;
    top: -100px;
    right: -100px;

    width: 220px;
    height: 220px;

    background: radial-gradient(
        circle,
        rgba(118, 75, 162, 0.18),
        transparent 70%
    );

    pointer-events: none;
}

.about-intro {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 24px;
}

.about-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    border-radius: 15px;

    background: rgba(102, 126, 234, 0.12);
    border: 1px solid rgba(102, 126, 234, 0.2);

    color: #8b7cff;
    font-size: 19px;
}

.about-label {
    display: block;
    margin-bottom: 10px;

    color: rgba(255, 255, 255, 0.42);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.about-intro h3 {
    margin: 0 0 18px;

    color: #fff;
    font-size: 24px;
    line-height: 1.3;
}

.about-intro p {
    margin: 0 0 16px;

    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.8;
}

.about-intro p:last-child {
    margin-bottom: 0;
}

.about-focus {
    padding: 30px;
}

.focus-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.focus-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
}

.focus-icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.07);

    color: #8b7cff;
    font-size: 14px;
}

.focus-item h4 {
    margin: 2px 0 5px;

    color: #fff;
    font-size: 14px;
}

.focus-item p {
    margin: 0;

    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
    line-height: 1.6;
}

.journey-header {
    margin-bottom: 30px;
}

.journey-header h3 {
    margin: 0;

    color: #fff;
    font-size: clamp(22px, 3vw, 30px);
    letter-spacing: -0.6px;
}

.premium-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.premium-timeline::before {
    content: "";

    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 10px;

    width: 1px;

    background: linear-gradient(
        to bottom,
        rgba(102, 126, 234, 0.55),
        rgba(155, 124, 255, 0.08)
    );
}

.premium-timeline .timeline-item {
    position: relative;

    display: grid;
    grid-template-columns: 21px 1fr;
    gap: 22px;

    align-items: start;
}

.timeline-dot {
    position: relative;
    z-index: 2;

    width: 21px;
    height: 21px;

    margin-top: 22px;

    border-radius: 50%;

    background: #0a0a12;
    border: 1px solid rgba(139, 124, 255, 0.65);

    box-shadow:
        0 0 0 5px rgba(139, 124, 255, 0.06),
        0 0 22px rgba(139, 124, 255, 0.2);
}

.timeline-content {
    padding: 24px 28px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(5px);
    border-color: rgba(139, 124, 255, 0.2);
}

.timeline-year {
    display: inline-block;
    margin-bottom: 8px;

    color: #8b7cff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.timeline-content h3 {
    margin: 0 0 8px;

    color: #fff;
    font-size: 18px;
}

.timeline-content p {
    margin: 0;

    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    line-height: 1.7;
}

/* About responsive */

@media (max-width: 850px) {
    .about-grid {
        grid-template-columns: 1fr;
        margin-bottom: 58px;
    }

    .about-intro {
        grid-template-columns: 48px 1fr;
        padding: 28px;
    }

    .about-focus {
        padding: 28px;
    }
}

@media (max-width: 600px) {
    .section-heading {
        margin-bottom: 34px;
    }

    .about-intro {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px;
    }

    .about-intro h3 {
        font-size: 21px;
    }

    .about-focus {
        padding: 24px;
    }

    .premium-timeline .timeline-item {
        grid-template-columns: 17px 1fr;
        gap: 15px;
    }

    .premium-timeline::before {
        left: 8px;
    }

    .timeline-dot {
        width: 17px;
        height: 17px;
        margin-top: 24px;
    }

    .timeline-content {
        padding: 21px;
    }
}


/* =========================================================
   PREMIUM SKILLS SECTION
   ========================================================= */

.skills-section {
    padding-top: 20px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 42px;
}

.skill-category {
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.skill-category::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    top: -100px;
    right: -80px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.16), transparent 70%);
    pointer-events: none;
}

.skill-category:hover {
    transform: translateY(-6px);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.skill-category-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.2);
    font-size: 20px;
}

.skill-category-header h3 {
    margin: 4px 0 0;
    font-size: 21px;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.premium-skill {
    position: relative;
}

.premium-skill-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 9px;
    font-size: 14px;
}

.premium-skill-top span:first-child {
    color: #e5e7eb;
}

.premium-skill-top span:last-child {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 600;
}

.skill-track {
    width: 100%;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
}

.skill-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    box-shadow: 0 0 14px rgba(99, 102, 241, 0.35);
    transform-origin: left;
    animation: skillLoad 1.2s ease-out;
}

@keyframes skillLoad {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@media (max-width: 1000px) {
    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }

    .skill-category:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-category:last-child {
        grid-column: auto;
    }

    .skill-category {
        padding: 24px;
    }
}


/* =========================================================
   PREMIUM PROJECTS SECTION
   ========================================================= */

.projects-section {
    padding-top: 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 42px;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.project-filters[hidden] {
    display: none !important;
}

.project-filters:not([hidden]) + .projects-grid {
    margin-top: 24px;
}

.project-filter {
    padding: 9px 16px;
    border: 1px solid rgba(200, 154, 61, 0.55);
    border-radius: 999px;
    background: var(--warm-ivory, #f7f3ea);
    color: var(--deep-slate, #1e2933);
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.project-filter:hover {
    border-color: var(--tevarix-gold, #c89a3d);
    background: #f1eadd;
    transform: translateY(-2px);
}

.project-filter.is-active {
    border-color: var(--tevarix-gold, #c89a3d);
    background: var(--tevarix-gold, #c89a3d);
    color: var(--deep-slate, #1e2933);
}

.project-filter:focus-visible {
    outline: 2px solid var(--tevarix-gold, #c89a3d);
    outline-offset: 3px;
}

.project-filter-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.projects-grid .project-card[hidden] {
    display: none !important;
}

.project-card {
    padding: 0;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    background: linear-gradient(
        to top,
        rgba(5, 7, 15, 0.85),
        transparent 60%
    );
}

.project-type {
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 12, 22, 0.7);
    backdrop-filter: blur(10px);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.project-content {
    padding: 26px 28px 28px;
}

.project-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.project-number {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #8b5cf6;
}

.project-status {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: #9ca3af;
}

.project-status span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.project-content h3 {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.35;
}

.project-content > p {
    margin: 0;
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.8;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.project-tech span {
    padding: 6px 10px;
    border-radius: 7px;
    background: rgba(99, 102, 241, 0.09);
    border: 1px solid rgba(99, 102, 241, 0.16);
    color: #c4b5fd;
    font-size: 11px;
    font-weight: 600;
}

.project-buttons {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.035);
    color: #e5e7eb;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.project-link:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.45);
    background: rgba(99, 102, 241, 0.1);
}

.project-link.disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

.projects-note {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding: 18px 22px;
}

.projects-note > i {
    font-size: 18px;
    color: #8b5cf6;
}

.projects-note div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.projects-note strong {
    font-size: 13px;
}

.projects-note span {
    color: #8b93a7;
    font-size: 12px;
    line-height: 1.6;
}

@media (max-width: 850px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .project-filters {
        gap: 8px;
        margin-top: 24px;
    }

    .project-filter {
        padding: 8px 13px;
    }

    .project-image {
        height: 190px;
    }

    .project-content {
        padding: 22px;
    }

    .project-buttons {
        flex-direction: column;
    }

    .project-link {
        width: 100%;
    }

    .projects-note {
        align-items: flex-start;
    }
}


/* =========================================================
   PREMIUM EXPERIENCE SECTION
   ========================================================= */

.experience-section {
    padding-top: 20px;
}

.experience-timeline {
    position: relative;
    margin-top: 48px;
    padding-left: 34px;
}

.experience-timeline::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 7px;
    width: 1px;
    background: linear-gradient(
        to bottom,
        rgba(99, 102, 241, 0.7),
        rgba(139, 92, 246, 0.2),
        transparent
    );
}

.experience-item {
    position: relative;
    margin-bottom: 28px;
}

.experience-item:last-child {
    margin-bottom: 0;
}

.experience-marker {
    position: absolute;
    left: -34px;
    top: 31px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0a0c14;
    border: 1px solid rgba(139, 92, 246, 0.55);
    box-shadow: 0 0 18px rgba(99, 102, 241, 0.25);
}

.experience-marker span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8b5cf6;
}

.experience-card {
    padding: 28px 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.experience-card:hover {
    transform: translateX(6px);
}

.experience-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.experience-period {
    display: inline-block;
    margin-bottom: 7px;
    color: #8b5cf6;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.experience-header h3 {
    margin: 0 0 5px;
    font-size: 21px;
}

.experience-company {
    color: #9ca3af;
    font-size: 13px;
}

.experience-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.18);
    font-size: 17px;
}

.experience-card > p {
    max-width: 850px;
    margin: 20px 0 0;
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.8;
}

.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.experience-tags span {
    padding: 6px 10px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #b8becb;
    font-size: 11px;
    font-weight: 600;
}

.experience-highlight {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
    padding: 18px 22px;
}

.experience-highlight > i {
    font-size: 19px;
    color: #8b5cf6;
}

.experience-highlight div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.experience-highlight strong {
    font-size: 13px;
}

.experience-highlight span {
    color: #8b93a7;
    font-size: 12px;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .experience-timeline {
        padding-left: 27px;
    }

    .experience-timeline::before {
        left: 5px;
    }

    .experience-marker {
        left: -27px;
    }

    .experience-card {
        padding: 23px 21px;
    }

    .experience-header {
        gap: 12px;
    }

    .experience-header h3 {
        font-size: 18px;
    }

    .experience-icon {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }

    .experience-highlight {
        align-items: flex-start;
    }
}


/* =========================================================
   PREMIUM ENGINEERING CAPABILITIES
   ========================================================= */

.engineering-section {
    padding-top: 20px;
}

.engineering-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 42px;
}

.engineering-card {
    position: relative;
    padding: 28px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.engineering-card:hover {
    transform: translateY(-7px);
}

.engineering-card::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    right: -75px;
    bottom: -75px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(99, 102, 241, 0.13),
        transparent 70%
    );
    pointer-events: none;
}

.engineering-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.18);
    color: #a78bfa;
    font-size: 18px;
}

.engineering-number {
    position: absolute;
    top: 30px;
    right: 28px;
    color: rgba(255, 255, 255, 0.18);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.engineering-card h3 {
    margin: 22px 0 10px;
    font-size: 19px;
}

.engineering-card > p {
    margin: 0;
    color: #9ca3af;
    font-size: 13px;
    line-height: 1.8;
}

.engineering-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 20px;
}

.engineering-tags span {
    padding: 5px 9px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #b8becb;
    font-size: 10px;
    font-weight: 600;
}

.engineering-identity {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-top: 28px;
    padding: 28px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.engineering-identity:hover {
    transform: translateY(-7px);
    border-color: rgba(139, 92, 246, 0.32);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.engineering-identity::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    top: -180px;
    right: -80px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(139, 92, 246, 0.14),
        transparent 70%
    );
    pointer-events: none;
}

.engineering-identity-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    font-size: 19px;
}

.engineering-identity-content {
    position: relative;
    z-index: 1;
}

.engineering-identity-content h3 {
    margin: 7px 0 10px;
    font-size: 21px;
}

.engineering-identity-content > p {
    max-width: 900px;
    margin: 0;
    color: #9ca3af;
    font-size: 13px;
    line-height: 1.8;
}

.engineering-identity-content strong {
    color: #e5e7eb;
}

.identity-flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    gap: 16px;
    margin-top: 22px;
}

.identity-account {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
    padding: 16px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.07);
    border: 1px solid rgba(99, 102, 241, 0.16);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.identity-account:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.35);
    background: rgba(99, 102, 241, 0.11);
}

.identity-account a {
    width: fit-content;
    color: #c4b5fd;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.identity-account a:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.identity-account a strong {
    font-size: 16px;
}

.identity-account small {
    color: #9ca3af;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.identity-account > p {
    margin: 5px 0 4px;
    color: #b8becb;
    font-size: 11px;
    line-height: 1.65;
}

.identity-arrow {
    align-self: center;
    flex-shrink: 0;
}

.identity-flow i {
    color: #6366f1;
    font-size: 10px;
}

@media (max-width: 1000px) {
    .engineering-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .engineering-grid {
        grid-template-columns: 1fr;
    }

    .engineering-card {
        padding: 24px;
    }

    .engineering-identity {
        flex-direction: column;
        padding: 24px;
    }

    .identity-flow {
        align-items: flex-start;
        flex-direction: column;
    }

    .identity-flow i {
        transform: rotate(90deg);
        margin-left: 13px;
    }
}


/* =========================================================
   PREMIUM CONTACT + FOOTER
   ========================================================= */

.contact-section {
    padding-top: 20px;
}

.contact-shell {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    padding: 48px;
    overflow: hidden;
    position: relative;
}

.contact-shell::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    top: -220px;
    left: -120px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(99, 102, 241, 0.16),
        transparent 70%
    );
    pointer-events: none;
}

.contact-shell::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -130px;
    bottom: -190px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(139, 92, 246, 0.13),
        transparent 70%
    );
    pointer-events: none;
}

.contact-content {
    position: relative;
    z-index: 1;
    align-self: center;
}

.contact-content h2 {
    max-width: 650px;
    margin: 10px 0 18px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
}

.contact-content h2 span {
    background: linear-gradient(90deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-content > p {
    max-width: 620px;
    margin: 0;
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.9;
}

.contact-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.07);
    border: 1px solid rgba(34, 197, 94, 0.16);
    color: #a7f3d0;
    font-size: 11px;
    font-weight: 600;
}

.contact-status span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.55);
}

.contact-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.contact-action {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 68px;
    padding: 11px 14px;
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
    color: #e5e7eb;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease,
        background 0.3s ease, box-shadow 0.3s ease;
}

.contact-action:hover {
    transform: translateY(-4px) translateX(4px);
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(99, 102, 241, 0.09);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.14);
}

.contact-action-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.16);
    color: #a78bfa;
    transition: transform 0.3s ease, background 0.3s ease,
        border-color 0.3s ease;
}

.contact-action:hover .contact-action-icon {
    transform: scale(1.08);
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(139, 92, 246, 0.35);
}

.contact-arrow {
    color: #6366f1;
    font-size: 11px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-action:hover .contact-arrow {
    transform: translate(3px, -3px);
    color: #a78bfa;
}

.contact-action-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.16);
    color: #a78bfa;
}

.contact-action > span:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.contact-action small {
    color: #8b93a7;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.contact-action strong {
    font-size: 13px;
}

.contact-arrow {
    color: #6366f1;
    font-size: 11px;
}

.premium-footer {
    margin-top: 80px;
    padding: 35px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.footer-logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.9),
        rgba(139, 92, 246, 0.9)
    );
    font-weight: 700;
}

.footer-brand strong {
    display: block;
    font-size: 16px;
}

.footer-brand small {
    display: block;
    margin-top: 2px;
    color: #737b8f;
    font-size: 10px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
}

.footer-links a {
    color: #8b93a7;
    text-decoration: none;
    font-size: 11px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #c4b5fd;
}

@media (max-width: 850px) {
    .contact-shell {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 35px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        justify-items: center;
    }

}

@media (max-width: 600px) {
    .contact-shell {
        padding: 27px 22px;
    }

    .contact-content h2 {
        font-size: 31px;
    }

    .contact-action {
        min-height: 62px;
    }

    .premium-footer {
        margin-top: 60px;
    }

    .footer-links {
        gap: 14px;
    }
}

/* =========================================================
   GLOBAL PREMIUM HOVER SYSTEM
   Unified interaction language:
   lift + movement + glow + border + soft shadow
   ========================================================= */

/* Cards */
.card,
.stat,
.skill-category,
.project-card,
.experience-card,
.engineering-card,
.engineering-identity,
.timeline-content {
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.card:hover,
.stat:hover,
.skill-category:hover,
.project-card:hover,
.experience-card:hover,
.engineering-card:hover,
.engineering-identity:hover,
.timeline-content:hover {
    transform: translateY(-4px) translateX(4px);
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(99, 102, 241, 0.07);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.14);
}

/* Hero / CTA buttons */
.btn {
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-4px) translateX(2px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 14px 35px rgba(99, 102, 241, 0.18);
}

/* Hero social links */
.hero-links a {
    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.hero-links a:hover {
    transform: translateY(-3px) translateX(2px);
    color: #ffffff;
}

/* Project links */
.project-link {
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.project-link:hover:not(.disabled) {
    transform: translateY(-3px) translateX(2px);
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.12);
}

/* Project image */
.project-card .project-image img {
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

/* Engineering identity accounts */
.identity-account {
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.identity-account:hover {
    transform: translateY(-4px) translateX(3px);
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 10px 26px rgba(99, 102, 241, 0.12);
}

/* Engineering identity GitHub links */
.identity-account a {
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.identity-account a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

/* Contact actions */
.contact-action {
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-action:hover {
    transform: translateY(-4px) translateX(4px);
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(99, 102, 241, 0.09);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.14);
}

.contact-action-icon {
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}

.contact-action:hover .contact-action-icon {
    transform: scale(1.08);
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(139, 92, 246, 0.35);
}

.contact-arrow {
    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.contact-action:hover .contact-arrow {
    transform: translate(3px, -3px);
    color: #a78bfa;
}

/* Footer text links */
.footer-links a {
    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.footer-links a:hover {
    transform: translateY(-2px);
    color: #c4b5fd;
}

/* Navigation CTA */
.nav-cta {
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-3px) translateX(2px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.14);
}

.nav-cta span {
    transition: transform 0.3s ease;
}

.nav-cta:hover span {
    transform: translate(3px, -3px);
}

/* Respect reduced-motion accessibility preferences */
@media (prefers-reduced-motion: reduce) {
    .project-filter {
        transition: none;
    }

    .project-filter:hover {
        transform: none;
    }

    .card,
    .stat,
    .skill-category,
    .project-card,
    .experience-card,
    .engineering-card,
    .engineering-identity,
    .timeline-content,
    .btn,
    .hero-links a,
    .project-link,
    .identity-account,
    .identity-account a,
    .contact-action,
    .contact-action-icon,
    .contact-arrow,
    .footer-links a,
    .nav-cta,
    .nav-cta span {
        transition: none;
    }

    .card:hover,
    .stat:hover,
    .skill-category:hover,
    .project-card:hover,
    .experience-card:hover,
    .engineering-card:hover,
    .engineering-identity:hover,
    .timeline-content:hover,
    .btn:hover,
    .hero-links a:hover,
    .project-link:hover:not(.disabled),
    .identity-account:hover,
    .identity-account a:hover,
    .contact-action:hover,
    .contact-action:hover .contact-action-icon,
    .contact-action:hover .contact-arrow,
    .footer-links a:hover,
    .nav-cta:hover,
    .nav-cta:hover span {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce){
    .floating-card{
        animation:none;
        transition:none;
    }

    .floating-card:hover{
        transform:none;
    }
}
