* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    cursor: default !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #ffffff;
    cursor: default;
}
/* autaaa */
.project-card {
    text-align: center;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    z-index: 10000;
    transition: width 0.1s ease;
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.8);
    animation: rainbowPulse 2s ease infinite;
}

@keyframes rainbowPulse {
    0%, 100% {
        filter: hue-rotate(0deg) saturate(100%);
    }
    25% {
        filter: hue-rotate(90deg) saturate(200%);
    }
    50% {
        filter: hue-rotate(180deg) saturate(300%);
    }
    75% {
        filter: hue-rotate(270deg) saturate(200%);
    }
}

header {
    background: rgba(102, 126, 234, 0.9);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    animation: slideDown 0.5s ease-out, headerPulse 3s ease infinite;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes headerPulse {
    0%, 100% {
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.4);
    }
    50% {
        box-shadow: 0 8px 50px 0 rgba(31, 38, 135, 0.8);
    }
}

.logo-animate {
    animation: glow 2s ease-in-out infinite alternate, float 3s ease-in-out infinite;
    transition: transform 0.3s;
}

.logo-animate:hover {
    transform: scale(1.05);
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px rgba(255,255,255,0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(255,255,255,0.8), 0 0 30px rgba(255,255,255,0.6);
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer !important;
}

nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 25px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

nav a:hover::before {
    opacity: 1;
}

nav a::after {
    display: none;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(240, 147, 251, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 30%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite, backgroundRotate 20s linear infinite;
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes backgroundRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.gradient-transition {
    height: 200px;
    background: linear-gradient(to bottom, 
        #764ba2 0%,
        #8258ad 8%,
        #8e65b8 16%,
        #9a72c3 24%,
        #a680ce 32%,
        #b28dd9 40%,
        #be9ae4 48%,
        #caa7ef 56%,
        #d6b5f5 64%,
        #e2c2fa 72%,
        #edd0fc 80%,
        #f4e0fd 88%,
        #ffffff 100%
    );
    animation: gradientFlow 5s ease-in-out infinite alternate;
}

@keyframes gradientFlow {
    0% {
        filter: hue-rotate(0deg) brightness(1);
    }
    50% {
        filter: hue-rotate(10deg) brightness(1.05);
    }
    100% {
        filter: hue-rotate(0deg) brightness(1);
    }
}

@keyframes shapeRotate {
    0% {
        filter: hue-rotate(0deg) brightness(1);
    }
    50% {
        filter: hue-rotate(180deg) brightness(1.5);
    }
    100% {
        filter: hue-rotate(360deg) brightness(1);
    }
}

@keyframes shapePulse {
    0%, 100% {
        box-shadow: 
            0 8px 32px 0 rgba(255, 255, 255, 0.2),
            inset 0 0 30px rgba(255, 255, 255, 0.15),
            0 0 50px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 
            0 8px 60px 0 rgba(255, 255, 255, 0.4),
            inset 0 0 60px rgba(255, 255, 255, 0.3),
            0 0 100px rgba(102, 126, 234, 0.6);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, -50px) rotate(90deg);
    }
    50% {
        transform: translate(0, -100px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, -50px) rotate(270deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #e0e7ff, #fff, #ffd6f0, #fff, #ffeaa7, #fff);
    background-size: 600% 600%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 3s ease infinite, textFloat 5s ease-in-out infinite, textGlow 2s ease-in-out infinite;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
    transform-style: preserve-3d;
}

@keyframes textFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0deg);
    }
    50% {
        transform: translateY(-20px) rotateX(10deg);
    }
}

@keyframes textGlow {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 60px rgba(255, 255, 255, 1)) drop-shadow(0 0 80px rgba(102, 126, 234, 0.8));
    }
}

.hero-content p {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    font-weight: 300;
    letter-spacing: 1px;
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0ff 50%, #ffffff 100%);
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    letter-spacing: 1px;
    animation: btnFloat 3s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes btnFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
    transform: translate(-50%, -50%);
    transition: width 0.8s, height 0.8s;
    animation: btnPulseInner 2s ease infinite;
}

@keyframes btnPulseInner {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.btn::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50px;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #667eea);
    background-size: 300% 300%;
    z-index: -1;
    animation: borderRotate 4s linear infinite;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s;
}

@keyframes borderRotate {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 300% 50%;
    }
}

.btn:hover::after {
    opacity: 1;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    50% {
        box-shadow: 0 5px 30px rgba(255,255,255,0.4);
    }
}

.section {
    padding: 6rem 2rem;
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1s ease, transform 1s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section.alt {
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 3.5rem;
    margin-bottom: 4rem;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: 800;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    perspective: 1500px;
}

.project-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(150%);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 0.8s ease-out backwards, cardFloat 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(102, 126, 234, 0.2);
    transform-style: preserve-3d;
    cursor: pointer !important;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0deg);
    }
    50% {
        transform: translateY(-15px) rotateX(2deg);
    }
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -200%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
    transition: left 0.8s;
    transform: skewX(-20deg);
    animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
    0% {
        left: -200%;
    }
    100% {
        left: 200%;
    }
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    opacity: 0;
    transition: opacity 0.4s;
}

.project-card:hover::after {
    opacity: 1;
}

.project-card:nth-child(1) {
    animation-delay: 0.1s;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card:hover {
    transform: translateY(-25px) scale(1.05) rotateX(5deg) rotateY(5deg);
    box-shadow: 
        0 30px 60px rgba(102, 126, 234, 0.4),
        0 0 50px rgba(118, 75, 162, 0.2);
}

.project-card h3 {
    color: #667eea;
    margin-bottom: 1.5rem;
    transition: all 0.4s;
    font-size: 1.8rem;
    font-weight: 700;
}

.project-card:hover h3 {
    transform: scale(1.1) translateZ(20px);
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-card p {
    color: #555;
    line-height: 1.9;
    font-size: 1.05rem;
}

footer {
    background: linear-gradient(135deg, #2d3436 0%, #000000 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    animation: fadeIn 1s ease-out;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #667eea);
    background-size: 200% 100%;
    animation: gradientMove 4s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}

footer p {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}

/* Skills/Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-box {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,255,0.95) 100%);
    backdrop-filter: blur(20px) saturate(150%);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
    animation: featureFloat 5s ease-in-out infinite;
    cursor: pointer !important;
}

@keyframes featureFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.feature-box::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s, transform 0.4s;
    animation: featureRotate 10s linear infinite;
}

@keyframes featureRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-box:hover {
    transform: translateY(-20px) scale(1.08) rotateY(5deg);
    box-shadow: 0 30px 70px rgba(102, 126, 234, 0.4);
    border-color: rgba(102, 126, 234, 0.5);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.4s;
    filter: drop-shadow(0 5px 20px rgba(102, 126, 234, 0.5));
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 5px 20px rgba(102, 126, 234, 0.5));
    }
    50% {
        transform: scale(1.1) rotate(5deg);
        filter: drop-shadow(0 10px 40px rgba(102, 126, 234, 0.8));
    }
}

.feature-box:hover .feature-icon {
    transform: scale(1.3) rotateY(720deg) rotateX(360deg);
    animation: none;
}

/* Particle System */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.8), transparent);
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
    animation: particleFloat 10s infinite ease-in-out;
    filter: blur(2px);
    pointer-events: none;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0) rotate(720deg);
        opacity: 0;
    }
}

/* About Section Description */
.about-description {
    font-size: 1.3rem;
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
    line-height: 1.9;
    color: #000000;
}

/* Car Images */
.car-image {
    display: block;
    margin: 0 auto;
    max-width: 320px;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Contact Info */
.contact-info {
    font-size: 1.4rem;
    margin-top: 2rem;
    color: #667eea;
    font-weight: 600;
}

@media (max-width: 768px) {
s  
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .section h2 {
        font-size: 2.2rem;
    }
    
    .shape {
        display: none;
    }
    
    .projects-grid,
    .features {
        grid-template-columns: 1fr;
    }
}
