* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
line-height: 1.6;
color: #2d3748;
background: #0f0f23;
overflow-x: hidden;

.loader-container {

}


.container {
max-width: 1400px;
margin: 0 auto;
padding: 0 20px;
}

/* Cursor Trail */
.cursor-trail {
position: fixed;
width: 20px;
height: 20px;
border-radius: 50%;
background: radial-gradient(circle, #00d4ff, transparent);
pointer-events: none;
z-index: 9999;
opacity: 0;
transition: opacity 0.3s ease;
}



/* Hero Section */
.hero {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
background: radial-gradient(ellipse at center, #1a1a3e 0%, #0f0f23 100%);
position: relative;
overflow: hidden;
}

.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="80" r="1" fill="%2300d4ff" opacity="0.1"/><circle cx="40" cy="60" r="1" fill="%23ff006e" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
animation: particleFloat 20s ease-in-out infinite;
}

.hero-content {
z-index: 2;
opacity: 0;
transform: translateY(50px);
animation: heroEntrance 1.5s cubic-bezier(0.4, 0, 0.2, 1) 4s forwards;
}

.hero h1 {
font-size: 4rem;
font-weight: 900;
margin-bottom: 1rem;
background: linear-gradient(45deg, #00d4ff, #ff006e, #00d4ff);
background-size: 200% 200%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: gradientShift 3s ease-in-out infinite;
transform: scale(0.8);
animation: heroTitleScale 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) 4.5s forwards, gradientShift 3s ease-in-out infinite;
}

.hero p {
font-size: 1.5rem;
margin-bottom: 3rem;
color: #a0aec0;
max-width: 600px;
margin-left: auto;
margin-right: auto;
opacity: 0;
animation: fadeInUp 1s ease-out 5s forwards;
}

.hero-cta {
display: inline-flex;
align-items: center;
gap: 1rem;
background: linear-gradient(45deg, #00d4ff, #ff006e);
color: white;
padding: 1rem 2rem;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
opacity: 0;
transform: translateY(20px);
animation: ctaEntrance 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 5.5s forwards;
position: relative;
overflow: hidden;
}

.hero-cta::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
transition: left 0.6s ease;
}

.hero-cta:hover {
transform: translateY(-5px) scale(1.05);
box-shadow: 0 20px 40px rgba(0, 212, 255, 0.4);
animation: ctaPulse 2s ease-in-out infinite;
}

.hero-cta:hover::before {
left: 100%;
}

/* Floating Elements */
.floating-orb {
position: absolute;
width: 200px;
height: 200px;
border-radius: 50%;
background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.3), rgba(255, 0, 110, 0.1));
filter: blur(40px);
animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 { top: 20%; left: 10%; animation-delay: 0s; }
.orb-2 { top: 60%; right: 15%; animation-delay: 4s; }
.orb-3 { bottom: 20%; left: 20%; animation-delay: 2s; }

/* Stats Section */
.stats {
padding: 5rem 0;
background: #1a1a3e;
position: relative;
}

.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 3rem;
text-align: center;
}

.stat-item {
padding: 2rem;
background: rgba(255, 255, 255, 0.05);
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
opacity: 0;
transform: translateY(50px) scale(0.9);
backdrop-filter: blur(10px);
}

.stat-item.animate {
opacity: 1;
transform: translateY(0) scale(1);
}

.stat-item:hover {
transform: translateY(-10px) scale(1.05);
background: rgba(255, 255, 255, 0.1);
box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.stat-number {
font-size: 3rem;
font-weight: 800;
color: #00d4ff;
display: block;
margin-bottom: 0.5rem;
background: linear-gradient(45deg, #00d4ff, #ff006e);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.stat-label {
color: #e2e8f0;
font-weight: 500;
}

/* Portfolio Section */
.portfolio {
padding: 6rem 0;
background: #0f0f23;
position: relative;
}

.section-title {
text-align: center;
font-size: 3rem;
font-weight: 800;
margin-bottom: 1rem;
color: #e2e8f0;
opacity: 0;
transform: translateY(30px);
transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title.animate {
opacity: 1;
transform: translateY(0);
}

.section-subtitle {
text-align: center;
font-size: 1.2rem;
color: #a0aec0;
margin-bottom: 4rem;
max-width: 600px;
margin-left: auto;
margin-right: auto;
opacity: 0;
transform: translateY(20px);
transition: all 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.section-subtitle.animate {
opacity: 1;
transform: translateY(0);
}

.portfolio-filters {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 1rem;
margin-bottom: 4rem;
}

.filter-btn {
background: rgba(255, 255, 255, 0.1);
color: #e2e8f0;
border: none;
padding: 0.8rem 1.5rem;
border-radius: 30px;
cursor: pointer;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
font-weight: 500;
position: relative;
overflow: hidden;
opacity: 0;
transform: translateY(20px) scale(0.9);
}

.filter-btn.animate {
opacity: 1;
transform: translateY(0) scale(1);
}

.filter-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(45deg, #00d4ff, #ff006e);
transition: left 0.4s ease;
z-index: -1;
}

.filter-btn.active,
.filter-btn:hover {
color: white;
transform: translateY(-3px) scale(1.05);
box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.filter-btn.active::before,
.filter-btn:hover::before {
left: 0;
}

.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
gap: 2rem;
}

.project-card {
background: rgba(255, 255, 255, 0.05);
border-radius: 20px;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
opacity: 0;
transform: translateY(50px) rotateX(10deg);
backdrop-filter: blur(10px);
}

.project-card.animate {
opacity: 1;
transform: translateY(0) rotateX(0deg);
}

.project-card:hover {
transform: translateY(-15px) scale(1.02) rotateX(-2deg);
box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.project-image {
width: 100%;
height: 250px;
background-size: cover;
background-position: center;
position: relative;
overflow: hidden;
}

.project-image::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(45deg, rgba(0, 212, 255, 0.2), rgba(255, 0, 110, 0.2));
opacity: 0;
transition: opacity 0.4s ease;
}

.project-card:hover .project-image::before {
opacity: 1;
}

.project-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.8);
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
opacity: 0;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
transform: scale(0.8);
}

.project-card:hover .project-overlay {
opacity: 1;
transform: scale(1);
}

.project-link {
background: rgba(255, 255, 255, 0.2);
color: white;
padding: 0.8rem 1.5rem;
border-radius: 25px;
text-decoration: none;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
transform: translateY(20px);
opacity: 0;
animation: linkSlideUp 0.6s ease-out forwards;
}

.project-card:hover .project-link {
animation: linkSlideUp 0.6s ease-out forwards;
}

.project-link:nth-child(1) { animation-delay: 0.1s; }
.project-link:nth-child(2) { animation-delay: 0.2s; }

.project-link:hover {
background: linear-gradient(45deg, #00d4ff, #ff006e);
transform: translateY(-3px) scale(1.1);
}

.project-content {
padding: 2rem;
}

.project-title {
font-size: 1.5rem;
font-weight: 700;
color: #e2e8f0;
margin-bottom: 0.5rem;
transition: color 0.3s ease;
}

.project-card:hover .project-title {
color: #00d4ff;
}

.project-description {
color: #a0aec0;
margin-bottom: 1.5rem;
line-height: 1.6;
}

.project-technologies {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}

.tech-tag {
background: rgba(0, 212, 255, 0.1);
color: #00d4ff;
padding: 0.3rem 0.8rem;
border-radius: 15px;
font-size: 0.8rem;
font-weight: 500;
transition: all 0.3s ease;
opacity: 0;
transform: scale(0.8);
animation: tagPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.tech-tag:nth-child(1) { animation-delay: 0.1s; }
.tech-tag:nth-child(2) { animation-delay: 0.2s; }
.tech-tag:nth-child(3) { animation-delay: 0.3s; }
.tech-tag:nth-child(4) { animation-delay: 0.4s; }

.tech-tag:hover {
background: linear-gradient(45deg, #00d4ff, #ff006e);
color: white;
transform: scale(1.1);
}

.featured-badge {
position: absolute;
top: 1rem;
right: 1rem;
background: linear-gradient(45deg, #ff006e, #00d4ff);
color: white;
padding: 0.3rem 0.8rem;
border-radius: 15px;
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
animation: badgePulse 2s ease-in-out infinite;
}

/* Testimonials */
.testimonials {
padding: 6rem 0;
background: #1a1a3e;
}

.testimonials-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 2rem;
margin-top: 4rem;
}

.testimonial-card {
background: rgba(255, 255, 255, 0.05);
padding: 2rem;
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
opacity: 0;
transform: translateX(-50px) rotateY(10deg);
backdrop-filter: blur(10px);
}

.testimonial-card.animate {
opacity: 1;
transform: translateX(0) rotateY(0deg);
}

.testimonial-card:hover {
background: rgba(255, 255, 255, 0.1);
transform: translateY(-10px) scale(1.02);
box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.testimonial-content {
color: #e2e8f0;
font-style: italic;
margin-bottom: 1.5rem;
line-height: 1.8;
position: relative;
}

.testimonial-content::before {
content: '"';
font-size: 4rem;
color: #00d4ff;
position: absolute;
top: -20px;
left: -10px;
opacity: 0.3;
}

.testimonial-author {
display: flex;
align-items: center;
gap: 1rem;
}

.author-info h4 {
color: #00d4ff;
font-weight: 600;
transition: color 0.3s ease;
}

.testimonial-card:hover .author-info h4 {
color: #ff006e;
}

.author-info p {
color: #a0aec0;
font-size: 0.9rem;
}

.rating {
color: #ffd700;
margin-top: 0.5rem;
font-size: 1.2rem;
}

.rating .star {
display: inline-block;
transition: all 0.3s ease;
animation: starTwinkle 2s ease-in-out infinite;
}

.rating .star:nth-child(1) { animation-delay: 0.1s; }
.rating .star:nth-child(2) { animation-delay: 0.2s; }
.rating .star:nth-child(3) { animation-delay: 0.3s; }
.rating .star:nth-child(4) { animation-delay: 0.4s; }
.rating .star:nth-child(5) { animation-delay: 0.5s; }

/* Footer */
.footer {
background: linear-gradient(135deg, #1a1a3e 0%, #0f0f23 100%);
color: #e2e8f0;
padding: 4rem 0 2rem 0;
border-top: 1px solid rgba(255, 255, 255, 0.1);
position: relative;
}

.footer-content {
text-align: center;
margin-bottom: 3rem;
opacity: 0;
transform: translateY(30px);
transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-content.animate {
opacity: 1;
transform: translateY(0);
}

.footer-content h3 {
font-size: 2rem;
margin-bottom: 1rem;
background: linear-gradient(45deg, #00d4ff, #ff006e);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.footer-links {
display: flex;
justify-content: center;
gap: 3rem;
margin-bottom: 2rem;
}

.footer-links a {
color: #a0aec0;
text-decoration: none;
font-size: 1.1rem;
transition: all 0.3s ease;
position: relative;
}

.footer-links a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -5px;
left: 0;
background: linear-gradient(45deg, #00d4ff, #ff006e);
transition: width 0.3s ease;
}

.footer-links a:hover {
color: #00d4ff;
}

.footer-links a:hover::after {
width: 100%;
}

.footer-bottom {
text-align: center;
padding-top: 2rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: #666;
font-size: 0.9rem;
}



/* Animations */
@keyframes logoGlow {
0%, 100% { filter: drop-shadow(0 0 10px #00d4ff); }
50% { filter: drop-shadow(0 0 30px #ff006e); }
}

@keyframes textShimmer {
0%, 100% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
}

@keyframes fadeInOut {
0%, 100% { opacity: 0.6; }
50% { opacity: 1; }
}

@keyframes loadProgress {
0% { width: 0%; }
100% { width: 100%; }
}

@keyframes shine {
0% { transform: translateX(-100%); }
100% { transform: translateX(100%); }
}

@keyframes slideDown {
from { transform: translateY(-200%); }
to { transform: translateY(0); }
}

@keyframes logoScale {
from { transform: scale(0) rotate(-180deg); }
to { transform: scale(1) rotate(0deg); }
}

@keyframes navItemSlide {
from { 
    opacity: 0; 
    transform: translateY(-20px) rotateX(90deg); 
}
to { 
    opacity: 1; 
    transform: translateY(0) rotateX(0deg); 
}
}

@keyframes heroEntrance {
from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
}
to {
    opacity: 1;
    transform: translateY(0) scale(1);
}
}

@keyframes heroTitleScale {
from { transform: scale(0.8) rotateX(90deg); }
to { transform: scale(1) rotateX(0deg); }
}

@keyframes fadeInUp {
from {
    opacity: 0;
    transform: translateY(30px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

@keyframes ctaEntrance {
from {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
}
to {
    opacity: 1;
    transform: translateY(0) scale(1);
}
}

@keyframes ctaPulse {
0%, 100% { 
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.4);
    transform: translateY(-5px) scale(1.05);
}
50% { 
    box-shadow: 0 25px 50px rgba(255, 0, 110, 0.5);
    transform: translateY(-7px) scale(1.08);
}
}



@keyframes linkSlideUp {
from {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
}
to {
    opacity: 1;
    transform: translateY(0) scale(1);
}
}

@keyframes tagPop {
from {
    opacity: 0;
    transform: scale(0.5) rotateY(90deg);
}
to {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
}
}

@keyframes badgePulse {
0%, 100% { 
    transform: scale(1);
    box-shadow: 0 0 10px rgba(255, 0, 110, 0.5);
}
50% { 
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.8);
}
}

@keyframes starTwinkle {
0%, 100% { 
    transform: scale(1) rotateZ(0deg);
    opacity: 1;
}
50% { 
    transform: scale(1.2) rotateZ(180deg);
    opacity: 0.8;
}
}

/* Responsive */
@media (max-width: 768px) {
.nav-menu {
    display: none;
}

.hero h1 {
    font-size: 2.5rem;
}

.projects-grid {
    grid-template-columns: 1fr;
}

.testimonials-grid {
    grid-template-columns: 1fr;
}

.stats-grid {
    grid-template-columns: repeat(2, 1fr);
}

.loader-logo {
    font-size: 2rem;
}

.filter-btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
}

.footer-links {
    flex-direction: column;
    gap: 1rem;
}
}

.project-card[data-category] {
transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card.hidden {
opacity: 0;
transform: translateY(50px) scale(0.8);
pointer-events: none;
}