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

:root {
    --primary: #00ffff;
    --secondary: #9d00ff;
    --accent: #ff00ff;
    --dark: #0a0a0f;
    --darker: #050508;
    --light: #ffffff;
    --gray: #888888;
    --success: #00ff9d;
    --warning: #ff9d00;

    --glow-primary: 0 0 20px rgba(0, 255, 255, 0.7);
    --glow-secondary: 0 0 20px rgba(157, 0, 255, 0.7);
    --glow-accent: 0 0 20px rgba(255, 0, 255, 0.7);

    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
    font-family: 'Exo 2', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* ===== 3D BACKGROUND ===== */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
    }

    100% {
        transform: translateY(-1000px) translateX(500px);
    }
}

.grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translateY(0) translateX(0);
    }

    100% {
        transform: translateY(50px) translateX(50px);
    }
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: 10%;
    left: 5%;
    animation: shapeFloat1 25s infinite ease-in-out;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: 10%;
    right: 5%;
    animation: shapeFloat2 30s infinite ease-in-out;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    top: 50%;
    left: 80%;
    animation: shapeFloat3 20s infinite ease-in-out;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: var(--success);
    bottom: 30%;
    left: 10%;
    animation: shapeFloat4 35s infinite ease-in-out;
}

@keyframes shapeFloat1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(100px, 150px) rotate(180deg);
    }
}

@keyframes shapeFloat2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-150px, -100px) rotate(-180deg);
    }
}

@keyframes shapeFloat3 {

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

    50% {
        transform: translate(-200px, 100px) scale(1.2);
    }
}

@keyframes shapeFloat4 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(150px, -150px) rotate(90deg);
    }
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: var(--glow-primary);
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.5;
    animation: logoPulse 2s infinite alternate;
}

@keyframes logoPulse {
    0% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    100% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    overflow: hidden;
}

.nav-menu a span {
    position: relative;
    display: inline-block;
    transition: var(--transition);
}

.nav-menu a span::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: var(--primary);
    height: 100%;
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease;
    white-space: nowrap;
}

.nav-menu a:hover span::before {
    width: 100%;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 30px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-glitch {
    margin-bottom: 30px;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.glitch {
    position: relative;
    animation: glitch 5s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-top 1s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.glitch::after {
    animation: glitch-bottom 1.5s infinite;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}

@keyframes glitch {

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

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }
}

@keyframes glitch-top {

    0%,
    100% {
        transform: translate(0);
        color: var(--primary);
    }

    50% {
        transform: translate(-2px);
        color: var(--accent);
    }
}

@keyframes glitch-bottom {

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

    50% {
        transform: translate(2px);
        color: var(--primary);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray);
    margin-bottom: 30px;
    border-right: 3px solid var(--primary);
    white-space: nowrap;
    overflow: hidden;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--primary);
    }
}

.hero-info {
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.info-item i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 1.2rem;
    width: 20px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    position: relative;
    padding: 15px 30px;
    border: none;
    background: transparent;
    color: var(--light);
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    overflow: hidden;
    border-radius: 5px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

.btn-holographic {
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.2), rgba(157, 0, 255, 0.2));
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.btn-holographic:hover {
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.4), rgba(157, 0, 255, 0.4));
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
}

.btn-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    filter: blur(20px);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.btn-holographic:hover .btn-glow {
    opacity: 0.5;
}

.btn-cyber {
    border: 2px solid var(--primary);
    background: transparent;
}

.btn-cyber:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: var(--glow-primary);
}

.btn-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-cyber:hover .btn-border {
    border-color: var(--primary);
    animation: borderRotate 2s linear infinite;
}

@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btn-neon {
    background: var(--primary);
    color: var(--dark);
    font-weight: 700;
}

.btn-neon:hover {
    background: var(--secondary);
    color: var(--light);
    box-shadow: var(--glow-secondary);
    transform: translateY(-5px);
}

.hero-3d {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cube-container {
    position: relative;
    width: 300px;
    height: 300px;
    perspective: 1000px;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: cubeRotate 20s infinite linear;
}

@keyframes cubeRotate {
    0% {
        transform: rotateX(0) rotateY(0);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
    backface-visibility: visible;
}

.front {
    transform: translateZ(150px);
}

.back {
    transform: rotateY(180deg) translateZ(150px);
}

.right {
    transform: rotateY(90deg) translateZ(150px);
}

.left {
    transform: rotateY(-90deg) translateZ(150px);
}

.top {
    transform: rotateX(90deg) translateZ(150px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(150px);
}

.cube-shadow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 255, 255, 0.3) 0%, transparent 70%);
    filter: blur(20px);
    top: 0;
    left: 0;
    z-index: -1;
}

.floating-tech {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tech-item {
    position: absolute;
    padding: 10px 20px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 5px;
    color: var(--primary);
    font-weight: 600;
    animation: floatTech 15s infinite linear;
}

.tech-item:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.tech-item:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: -3s;
}

.tech-item:nth-child(3) {
    bottom: 30%;
    left: 5%;
    animation-delay: -6s;
}

.tech-item:nth-child(4) {
    bottom: 15%;
    right: 20%;
    animation-delay: -9s;
}

.tech-item:nth-child(5) {
    top: 50%;
    right: 5%;
    animation-delay: -12s;
}

@keyframes floatTech {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.7;
    }

    25% {
        transform: translate(20px, -20px) rotate(5deg);
        opacity: 1;
    }

    50% {
        transform: translate(-15px, 15px) rotate(-5deg);
        opacity: 0.7;
    }

    75% {
        transform: translate(10px, -10px) rotate(3deg);
        opacity: 1;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}

.scroll-indicator p {
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== ABOUT SECTION ===== */
.section-header {
    margin-bottom: 70px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light);
}

.title-number {
    color: var(--primary);
    font-size: 1.5rem;
    opacity: 0.7;
}

.title-text {
    position: relative;
    padding-right: 20px;
}

.title-line {
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hologram-card {
    position: relative;
    background: rgba(10, 10, 25, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 10px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(10deg);
    transition: var(--transition);
}

.hologram-card:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: var(--glow-primary);
}

.hologram-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.hologram-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--success);
    font-size: 0.9rem;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hologram-data {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.data-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0, 255, 255, 0.1);
}

.data-label {
    color: var(--gray);
}

.data-value {
    color: var(--primary);
    font-weight: 600;
}

.hologram-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    pointer-events: none;
    border-radius: 10px;
}

.hologram-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    filter: blur(30px);
    opacity: 0.1;
    z-index: -1;
    border-radius: 15px;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-paragraph {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.highlight {
    color: var(--primary);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.highlight:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.glowing-text {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
    font-weight: 600;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SKILLS SECTION ===== */
.skills-3d {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 70px;
}

.skill-sphere {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    transform-style: preserve-3d;
    animation: sphereRotate 30s infinite linear;
}

@keyframes sphereRotate {
    0% {
        transform: rotateX(0) rotateY(0);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.sphere-point {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    transform-style: preserve-3d;
    cursor: pointer;
    transition: var(--transition);
}

.sphere-point:hover {
    background: var(--accent);
    transform: scale(1.5);
    box-shadow: 0 0 15px var(--accent);
}

.sphere-label {
    position: absolute;
    color: var(--light);
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.sphere-point:hover .sphere-label {
    opacity: 1;
    transform: translateY(-20px);
}

.skills-details {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-category h3 i {
    color: var(--primary);
}

.skill-bar {
    margin-bottom: 25px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-name {
    font-weight: 600;
    color: var(--light);
}

.skill-percent {
    color: var(--primary);
    font-weight: 700;
}

.skill-track {
    position: relative;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.skill-level {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0;
    transition: width 1.5s ease-out;
    border-radius: 5px;
}

.skill-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    animation: skillGlow 2s infinite;
}

@keyframes skillGlow {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.soft-skills {
    margin-top: 50px;
}

.soft-skills h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.soft-skills h3 i {
    color: var(--primary);
}

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

.soft-skill-card {
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: var(--transition);
    text-align: center;
}

.soft-skill-card:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: var(--primary);
}

.soft-skill-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.soft-skill-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--light);
}

.soft-skill-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ===== EDUCATION SECTION ===== */
.timeline-3d {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 50px;
}

.timeline-path {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 2px;
}

.timeline-path::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    filter: blur(10px);
    opacity: 0.5;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-node {
    position: absolute;
    left: -58px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--dark);
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 2;
}

.node-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.5;
}

.node-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: nodePulse 2s infinite;
}

@keyframes nodePulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.timeline-content {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.timeline-content:hover::before {
    transform: translateX(100%);
}

.timeline-content:hover {
    transform: translateX(10px);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 255, 255, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--light);
}

.timeline-location {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.timeline-degree {
    font-weight: 600;
    color: var(--light);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.timeline-tech {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.timeline-tech span {
    padding: 5px 12px;
    background: rgba(0, 255, 255, 0.1);
    color: var(--primary);
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== ACHIEVEMENTS SECTION ===== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.achievement-card {
    position: relative;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: var(--transition);
    transform-style: preserve-3d;
    transform: perspective(1000px);
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
}

.achievement-card:hover::before {
    transform: translateX(100%);
    transition: transform 0.6s ease;
}

.achievement-card:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.achievement-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.achievement-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--light);
}

.achievement-card ul {
    list-style: none;
}

.achievement-card li {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-left: 20px;
}

.achievement-card li:before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.achievement-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    filter: blur(20px);
    opacity: 0;
    z-index: -1;
    border-radius: 20px;
    transition: var(--transition);
}

.achievement-card:hover .achievement-glow {
    opacity: 0.3;
}

/* ===== PROJECTS SECTION ===== */
.projects-showcase {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.project-card-3d {
    position: relative;
    width: 100%;
    height: 500px;
    perspective: 1500px;
    margin: 0 auto;
}

.project-front {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 30, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 1s ease;
    backface-visibility: hidden;
}

.project-image {
    height: 60%;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.project-screen {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: #1a1a2e;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.window-header {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.window-dots {
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-dots span:nth-child(1) {
    background: #ff5f56;
}

.window-dots span:nth-child(2) {
    background: #ffbd2e;
}

.window-dots span:nth-child(3) {
    background: #27ca3f;
}

.code-content {
    padding: 20px;
    height: calc(100% - 50px);
    overflow-y: auto;
}

.code-content pre {
    margin: 0;
}

.code-content code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--primary);
    line-height: 1.5;
}

.project-info {
    padding: 30px;
    height: 40%;
}

.project-info h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--light);
}

.project-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-tech span {
    padding: 8px 15px;
    background: rgba(0, 255, 255, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.project-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.project-prev,
.project-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-prev:hover,
.project-next:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: var(--glow-primary);
}

.project-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px;
    max-width: 800px;
}

.project-mini {
    min-width: 150px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.project-mini.active {
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--primary);
}

.project-mini:hover:not(.active) {
    background: rgba(0, 255, 255, 0.05);
    transform: translateY(-5px);
}

.project-mini h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--light);
}

.project-mini p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== CONTACT SECTION ===== */
.contact-3d {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.form-container {
    padding: 30px;
    background: rgba(20, 20, 30, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.form-header h3 {
    font-size: 1.5rem;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-header h3 i {
    color: var(--primary);
}

.form-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--success);
    font-size: 0.9rem;
}

.status-led {
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    animation: statusPulse 2s infinite;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--light);
    font-weight: 500;
}

.form-group label i {
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--light);
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.input-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.form-group input:focus~.input-glow,
.form-group textarea:focus~.input-glow {
    transform: scaleX(1);
}

.btn-form {
    position: relative;
    width: 100%;
    padding: 18px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 5px;
    color: var(--dark);
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-form:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
}

.btn-form-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
}

.info-card {
    padding: 30px;
    background: rgba(20, 20, 30, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.info-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    position: relative;
}

.info-header h3 {
    font-size: 1.5rem;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-header h3 i {
    color: var(--primary);
}

.scan-line {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: scan 3s infinite linear;
}

@keyframes scan {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--light);
}

.info-text p {
    color: rgba(255, 255, 255, 0.8);
}

.social-links-3d {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.social-btn {
    padding: 15px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    transition: var(--transition);
}

.social-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.social-btn i {
    font-size: 1.2rem;
    color: var(--primary);
}

/* ===== FOOTER ===== */
.footer {
    padding: 50px 0;
    background: rgba(5, 5, 8, 0.8);
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: var(--glow-primary);
    letter-spacing: 3px;
}

.footer-logo-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
}

.footer-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--primary);
}

.footer-nav a:hover::after {
    width: 100%;
}

.footer-copy p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.footer-quote {
    font-style: italic;
    color: rgba(0, 255, 255, 0.7) !important;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
}

.back-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0.3;
    z-index: -1;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 70px;
    }

    .hero-3d {
        order: -1;
    }

    .cube-container {
        width: 250px;
        height: 250px;
    }

    .face {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .about-content,
    .skills-3d,
    .contact-3d {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .skill-sphere {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .project-card-3d {
        height: 450px;
    }

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

@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    }

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

    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        white-space: normal;
        border-right: none;
        animation: none;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn {
        min-width: 140px;
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .title-line {
        width: 100px;
        height: 3px;
    }

    .project-card-3d {
        height: 400px;
    }

    .project-nav {
        flex-direction: column;
        gap: 20px;
    }

    .project-list {
        order: -1;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cube-container {
        width: 200px;
        height: 200px;
    }

    .face {
        font-size: 2.5rem;
    }

    .info-item {
        font-size: 0.9rem;
    }

    .section {
        padding: 60px 0;
    }

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

    .soft-skills-grid {
        grid-template-columns: 1fr;
    }

    .social-links-3d {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px;
    }
}

/* ===== ANIMATION CLASSES ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.float-animation {
    animation: floatElement 6s ease-in-out infinite;
}

@keyframes floatElement {

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

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

/* ===== PROJECT TRACKER SECTION ===== */
.tracker {
    position: relative;
    overflow: hidden;
}

.tracker::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-top: -20px;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.tracker-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Live Time Display */
.time-display {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.live-clock {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.live-clock:hover {
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.clock-face {
    position: relative;
    width: 150px;
    height: 150px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    box-shadow: inset 0 0 20px rgba(0, 255, 255, 0.1);
}

.clock-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    z-index: 10;
}

.hour-hand,
.minute-hand,
.second-hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom center;
    background: var(--light);
    border-radius: 4px;
    transform: translateX(-50%);
}

.hour-hand {
    width: 6px;
    height: 40px;
    background: var(--primary);
    z-index: 3;
}

.minute-hand {
    width: 4px;
    height: 55px;
    background: var(--light);
    z-index: 2;
}

.second-hand {
    width: 2px;
    height: 65px;
    background: var(--accent);
    z-index: 1;
}

.clock-marks {
    position: absolute;
    width: 100%;
    height: 100%;
}

.mark {
    position: absolute;
    background: rgba(0, 255, 255, 0.5);
    border-radius: 2px;
}

.mark-12 {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 12px;
}

.mark-3 {
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 12px;
    height: 4px;
}

.mark-6 {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 12px;
}

.mark-9 {
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 12px;
    height: 4px;
}

.digital-clock {
    flex: 1;
}

.time {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.date {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
}

.timezone {
    font-size: 0.9rem;
    color: rgba(0, 255, 255, 0.7);
    padding: 5px 10px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    display: inline-block;
}

.current-activity h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-activity h3 i {
    color: var(--primary);
}

.activity-card {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
}

.activity-card:hover::before {
    transform: translateX(100%);
    transition: transform 0.6s ease;
}

.activity-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.activity-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    flex-shrink: 0;
}

.activity-info {
    flex: 1;
}

.activity-info h4 {
    font-size: 1.2rem;
    color: var(--light);
    margin-bottom: 5px;
}

.activity-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.activity-time {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.activity-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--success);
    font-size: 0.9rem;
}

.activity-status.active .status-dot {
    background: var(--success);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
}

/* Photo Timeline */
.photo-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.photo-timeline h3 {
    font-size: 1.3rem;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.photo-timeline h3 i {
    color: var(--primary);
}

.timeline-slider {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.timeline-track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 5px;
}

.timeline-track::-webkit-scrollbar {
    height: 6px;
}

.timeline-track::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.timeline-track::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.timeline-item {
    min-width: 100px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    flex-shrink: 0;
}

.timeline-item.active {
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.timeline-item:hover:not(.active) {
    background: rgba(0, 255, 255, 0.05);
    border-color: rgba(0, 255, 255, 0.3);
}

.timeline-time {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 0.85rem;
    color: var(--light);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.timeline-icon {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.current-photo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.photo-container {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.photo-frame {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-frame:hover img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.photo-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.photo-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.photo-time {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.photo-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.photo-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: scale(1.1);
}

.photo-counter {
    color: var(--light);
    font-size: 1.1rem;
    font-weight: 600;
}

.project-details {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.project-details h4 {
    font-size: 1.2rem;
    color: var(--light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-details h4 i {
    color: var(--primary);
}

.details-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.progress-tracker {
    margin-bottom: 20px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--light);
    font-size: 0.95rem;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    width: 65%;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.tech-used {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    padding: 5px 12px;
    background: rgba(0, 255, 255, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Weekly Overview */
.weekly-overview {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 60px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.weekly-overview:hover {
    border-color: var(--primary);
}

.weekly-overview h3 {
    font-size: 1.5rem;
    color: var(--light);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.weekly-overview h3 i {
    color: var(--primary);
}

.week-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
}

.day-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: var(--transition);
}

.day-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    background: rgba(0, 255, 255, 0.05);
}

.day-header {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.day-project {
    font-size: 0.9rem;
    color: var(--light);
    margin-bottom: 15px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.day-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.day-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

/* Upload Section */
.upload-section {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.upload-section:hover {
    border-color: var(--primary);
}

.upload-section h3 {
    font-size: 1.5rem;
    color: var(--light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.upload-section h3 i {
    color: var(--primary);
}

.upload-section>p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-size: 1rem;
}

.upload-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.upload-option {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.upload-option:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    background: rgba(0, 255, 255, 0.05);
}

.upload-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin: 0 auto 20px;
}

.upload-option h4 {
    font-size: 1.2rem;
    color: var(--light);
    margin-bottom: 10px;
}

.upload-option p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.upload-btn {
    padding: 10px 25px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 25px;
    color: var(--primary);
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.upload-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(20, 20, 30, 0.95);
    border: 1px solid var(--primary);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    transform: translateY(-30px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h3 i {
    color: var(--primary);
}

.modal-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
}

.modal-body {
    margin-bottom: 25px;
}

.modal-form-group {
    margin-bottom: 20px;
}

.modal-form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--light);
    font-weight: 500;
}

.modal-form-group input,
.modal-form-group select,
.modal-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--light);
    font-family: 'Exo 2', sans-serif;
    transition: var(--transition);
}

.modal-form-group input:focus,
.modal-form-group select:focus,
.modal-form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.modal-btn {
    padding: 10px 25px;
    border-radius: 8px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.modal-btn.cancel {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--light);
}

.modal-btn.cancel:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-btn.submit {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: var(--dark);
}

.modal-btn.submit:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--light);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .tracker-container {
        grid-template-columns: 1fr;
    }

    .current-photo {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 768px) {
    .live-clock {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .week-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .upload-options {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        padding: 20px;
    }
}

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

    .photo-frame {
        height: 200px;
    }

    .clock-face {
        width: 120px;
        height: 120px;
    }

    .hour-hand {
        height: 32px;
    }

    .minute-hand {
        height: 44px;
    }

    .second-hand {
        height: 52px;
    }

    .time {
        font-size: 2rem;
    }
}