/* ===== CSS Variables ===== */
:root {
    /* Cyberpunk Blue Theme */
    --primary-pink: #00d9ff;
    /* Neon Cyan - main accent */
    --dark-pink: #006494;
    /* Deep Blue - dark accent */
    --light-pink: #00ffff;
    /* Bright Cyan - light accent */
    --neon-pink: #0cf;
    /* Electric Cyan - neon glow */
    --ultra-pink: #0080ff;
    /* Vivid Blue - vibrant accent */
    --black: #000000;
    --dark-gray: #0a0a0a;
    --mid-gray: #141414;
    --light-gray: #666;
    --white: #ffffff;
    --font-primary: 'Prompt', sans-serif;
    --font-secondary: 'Prompt', sans-serif;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== Animated Background ===== */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(214, 0, 111, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(214, 0, 111, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: -2;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* ===== Navigation ===== */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(214, 0, 111, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-bar.scrolled {
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 10px 40px rgba(214, 0, 111, 0.4);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    position: relative;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-pink), var(--light-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.3), transparent);
    filter: blur(20px);
    z-index: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

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

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-pink), transparent);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-pink);
    text-shadow: 0 0 10px rgba(255, 0, 110, 0.5);
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

/* Glitch Effect */
.glitch-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--white), var(--primary-pink), var(--light-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

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

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

.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--white), var(--primary-pink), var(--light-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.glitch::after {
    animation: glitch-2 2.5s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitch-1 {

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

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

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

@keyframes glitch-2 {

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

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

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

/* Typing Effect */
.subtitle-container {
    margin-bottom: 3rem;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--light-gray);
    font-weight: 300;
}

.typing-text {
    display: inline-block;
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 1.5rem;
    background: var(--primary-pink);
    margin-left: 5px;
    animation: blink 0.7s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-family: var(--font-secondary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-pink), var(--ultra-pink));
    color: var(--white);
    box-shadow: 0 10px 40px rgba(214, 0, 111, 0.5);
}

.btn-primary span,
.btn-secondary span {
    position: relative;
    z-index: 1;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

.btn-primary:hover .btn-glow {
    transform: translate(-50%, -50%) scale(2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(214, 0, 111, 0.7);
}

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

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-pink), var(--ultra-pink));
    transition: left 0.3s ease;
    z-index: 0;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    color: var(--white);
    border-color: var(--light-pink);
    transform: translateY(-3px);
}

/* Stats Container */
.stats-container {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-card {
    padding: 2rem;
    background: rgba(214, 0, 111, 0.08);
    border: 1px solid rgba(214, 0, 111, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    min-width: 150px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(214, 0, 111, 0.15);
    box-shadow: 0 20px 50px rgba(214, 0, 111, 0.4);
}

.stat-value {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--light-gray);
}

/* 3D Cube */
.cube-container {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    perspective: 1000px;
}

.cube {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

@keyframes rotateCube {
    from {
        transform: rotateX(0deg) rotateY(0deg);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 0, 110, 0.1);
    border: 2px solid var(--primary-pink);
    box-shadow: inset 0 0 60px rgba(255, 0, 110, 0.3);
}

.cube-face.front {
    transform: rotateY(0deg) translateZ(100px);
}

.cube-face.back {
    transform: rotateY(180deg) translateZ(100px);
}

.cube-face.right {
    transform: rotateY(90deg) translateZ(100px);
}

.cube-face.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.cube-face.top {
    transform: rotateX(90deg) translateZ(100px);
}

.cube-face.bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

/* ===== Glass Card Effect ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(214, 0, 111, 0.3);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(214, 0, 111, 0.6);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(214, 0, 111, 0.4);
}

/* ===== Section Styles ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.title-text {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--white), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-pink), transparent);
    margin: 1rem auto;
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    text-align: center;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--primary-pink);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {

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

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

.about-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-pink);
}

.about-card p {
    color: var(--light-gray);
    line-height: 1.8;
}

/* ===== Skills Section ===== */
.skills-section {
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-gray) 50%, var(--black) 100%);
}

.skills-grid {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.skill-item {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.5s ease;
}

.skill-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.skill-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.skill-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(214, 0, 111, 0.3);
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--ultra-pink), var(--primary-pink));
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease;
    position: relative;
    box-shadow: 0 0 25px rgba(214, 0, 111, 0.7);
}

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

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

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

/* ===== Contact Section ===== */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    text-align: center;
    padding: 1.5rem;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-pink);
}

.contact-card p {
    color: var(--light-gray);
}

.contact-form {
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(214, 0, 111, 0.4);
    border-radius: 10px;
    color: var(--white);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-pink);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 25px rgba(214, 0, 111, 0.4);
}

.form-group textarea {
    resize: vertical;
}

/* ===== Footer ===== */
.footer {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(214, 0, 111, 0.3);
    background: var(--black);
}

.footer p {
    margin-bottom: 1rem;
    color: var(--light-gray);
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.social-link {
    color: var(--light-gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary-pink);
    text-shadow: 0 0 15px rgba(214, 0, 111, 0.6);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.3rem 0.5rem;
    }

    .cube-container {
        display: none;
    }

    /* Center all hero content on mobile */
    .hero-section {
        padding: 8rem 1rem 4rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* Center stats container */
    .stats-container {
        gap: 1rem;
        justify-content: center;
        align-items: center;
        width: 100%;
        flex-wrap: wrap;
    }

    .stat-card {
        min-width: 120px;
        padding: 1.5rem;
    }

    /* Center hero buttons */
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
    }

    /* Section padding adjustments */
    section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    /* Grid adjustments */
    .about-grid,
    .skills-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 0.8rem;
    }

    /* Further mobile optimizations */
    .hero-title {
        font-size: 2.5rem;
    }

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

    .stat-card {
        min-width: 100px;
        padding: 1rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 2rem;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--ultra-pink), var(--primary-pink));
    border-radius: 10px;
    width: 0;
    animation: loadProgress 2s ease-in-out forwards;
    box-shadow: 0 0 20px rgba(214, 0, 111, 0.8);
}

@keyframes loadProgress {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

/* ===== Scroll Progress Indicator ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ultra-pink), var(--primary-pink), var(--light-pink));
    z-index: 9999;
    transform-origin: left;
    transform: scaleX(0);
    box-shadow: 0 0 10px rgba(214, 0, 111, 0.8);
}

/* ===== Scroll to Top Button ===== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-pink), var(--ultra-pink));
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(214, 0, 111, 0.5);
}

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

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(214, 0, 111, 0.7);
}

/* ===== Portfolio Section ===== */
.portfolio-section {
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-gray) 50%, var(--black) 100%);
}

.portfolio-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background: transparent;
    border: 2px solid rgba(214, 0, 111, 0.3);
    color: var(--light-gray);
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-pink), var(--ultra-pink));
    color: var(--white);
    border-color: var(--primary-pink);
    box-shadow: 0 5px 20px rgba(214, 0, 111, 0.5);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.portfolio-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    position: absolute;
    pointer-events: none;
}

.portfolio-image {
    height: 300px;
    background: linear-gradient(135deg, rgba(214, 0, 111, 0.2), rgba(168, 0, 85, 0.3));
    position: relative;
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.95));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    color: var(--primary-pink);
    font-size: 0.9rem;
}

/* ===== Timeline Section ===== */
.timeline-section {
    position: relative;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--primary-pink), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 3rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 3rem;
    margin-right: 0;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-pink);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(214, 0, 111, 0.8);
    z-index: 1;
}

.timeline-content {
    flex: 1;
    max-width: 45%;
}

.timeline-date {
    color: var(--primary-pink);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.timeline-company {
    color: var(--light-pink);
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--light-gray);
    line-height: 1.6;
}

/* ===== Enhanced Mobile Responsiveness ===== */
@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 50px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
        max-width: 100%;
        text-align: left;
    }

    .timeline-dot {
        left: 20px;
    }

    .stat-card {
        min-width: 120px;
        padding: 1.5rem;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 6rem 1rem 3rem;
    }

    .container {
        padding: 0 1rem;
    }

    .portfolio-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .portfolio-image {
        height: 250px;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-dot {
        left: 15px;
        width: 15px;
        height: 15px;
    }

    .stat-card {
        padding: 1rem;
        min-width: 100px;
    }

    .stat-value {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-content {
        gap: 2rem;
    }
}