@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #FF5F1F; 
    --secondary: #0F0F0F;  
    --accent: #FF00FF;  
    --light: #FFFFFF;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 700; /* Bold weight for headings */
    letter-spacing: -0.03em;
}
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    color: var(--secondary);
    line-height: 1.6;
    font-weight: 500; /* Increased from normal 400 */
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--primary);
    z-index: 999;
    transition: width 0.3s ease;
}

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    padding: 0.5rem 8%;
    background: linear-gradient(145deg, rgba(15,15,15,0.98) 0%, rgba(15,15,15,0.92) 100%);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,95,31,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0.05) 0%, 
        rgba(255,95,31,0.03) 50%,
        rgba(0,0,0,0.1) 100%);
    z-index: -1;
}

.nav-item:hover .nav-text {
    transform: translateY(-2px);
    color: var(--primary) !important;
}

.nav-item::after {
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, rgba(255,95,31,0.3) 100%);
}

/* Add logo shine effect */
.logo-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 25%,
        rgba(255,255,255,0.1) 50%,
        transparent 75%);
    animation: shine 6s infinite;
    pointer-events: none;
}

@keyframes shine {
    100% { transform: translate(50%, 50%); }
}




.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
}

.logo-img {
    max-height: 70px; /* Control logo size */
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #0f0f0f, #1a1a1a);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    padding: 0 8%;
}

.gradient-text {
    background: linear-gradient(45deg, #FF8E3C, #FF1C7C);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
}

.text-stroke {
    -webkit-text-stroke: 2px rgba(255,142,60,0.5);
    color: transparent;
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.tagline {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.tagline::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.4s ease;
}

.tagline:hover::after {
    width: 100%;
}

/* Add this animation */
@keyframes textGlow {
    0% { text-shadow: 0 0 10px rgba(255,107,0,0.3); }
    50% { text-shadow: 0 0 20px rgba(255,107,0,0.5); }
    100% { text-shadow: 0 0 10px rgba(255,107,0,0.3); }
}

.tagline:hover {
    animation: textGlow 2s infinite;
    transform: translateY(-2px);
}

/* Animated Background Elements */
.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,107,0,0.1) 0%, transparent 70%);
    animation: gradientMove 8s infinite alternate;
}

.floating-shapes .shape {
    position: absolute;
    background: rgba(255,107,0,0.08);
    animation: float 6s infinite ease-in-out;
}

.shape.circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    top: 20%;
    left: 10%;
}

.shape.triangle {
    width: 200px;
    height: 200px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    top: 50%;
    right: 15%;
}

.shape.wave {
    width: 400px;
    height: 40px;
    background: rgba(255,107,0,0.05);
    bottom: 20%;
    left: 50%;
    border-radius: 50%;
}

/* Animations */
@keyframes gradientMove {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gradient-text {
        font-size: 3rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .shape.circle {
        width: 200px;
        height: 200px;
    }
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta {
    background: var(--primary);
    color: var(--light);
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,107,0,0.3);
    background: var(--accent);
}

.hero-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%232D2D2D"/><path d="M50 0L100 50L50 100L0 50L50 0Z" fill="%23FF6B00" opacity="0.1"/></svg>');
    opacity: 0.1;
}

/* Services Section */
.services {
    padding: 8rem 8%;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%23FF6B00" opacity="0.05"/></svg>');
    transform: rotate(45deg);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,107,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

/* Portfolio Section */
.portfolio {
    padding: 6rem 8%;
    background: rgba(45,45,45,0.03);
}

.portfolio h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    grid-auto-rows: masonry;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(45,45,45,0.9));
    color: var(--light);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

/* Contact Section */
#contact {
    padding: 6rem 8%;
    background: var(--secondary);
    color: var(--light);
}

#contact .container {
    max-width: 800px;
    margin: 0 auto;
}

#contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#contact p {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: var(--light);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(255,107,0,0.05);
    outline: none;
}

button[type="submit"] {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

button[type="submit"]:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(90deg, var(--secondary) 0%, rgba(45,45,45,0.9) 100%);
    color: var(--light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding-top: 20vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .cta {
        width: 100%;
        justify-content: center;
    }
}

/* Video Showcase */
.video-showcase {
    height: 70vh;
    position: relative;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45,45,45,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
}

/* Creative Process */
.process {
    padding: 8rem 8%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, 
        rgba(15,15,15,0.02) 25%, 
        transparent 25%,
        transparent 75%,
        rgba(15,15,15,0.02) 75%),
        linear-gradient(-45deg,
        rgba(15,15,15,0.02) 25%,
        transparent 25%,
        transparent 75%,
        rgba(15,15,15,0.02) 75%);
    background-size: 60px 60px;
}

.process::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%23FF6B00" opacity="0.03"/></svg>');
    transform: rotate(45deg);
    animation: gridMove 40s linear infinite;
}

@keyframes gridMove {
    0% { transform: rotate(45deg) translateY(0); }
    100% { transform: rotate(45deg) translateY(100px); }
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.process-card {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,107,0,0.15);
    /* Rest of existing card styles remain */
  
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid rgba(45,45,45,0.1);
    z-index: 1;
    box-shadow: 0 8px 32px rgba(0,0,0,0.05);
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(45,45,45,0.1);
    position: absolute;
    top: -10px;
    right: 10px;
}

/* Testimonials */
.testimonials {
    padding: 6rem 8%;
    background: var(--secondary);
    color: var(--light);
}

.testimonial-carousel {
    display: grid;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2rem 0;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 16px;
    min-width: 300px;
    scroll-snap-align: start;
}

.client-photo {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

/* Advanced Hover Effects */
.service-card:hover .service-icon {
    transform: rotateY(360deg);
    background: var(--primary);
    color: var(--light);
}

.portfolio-item:hover .portfolio-overlay button {
    background: transparent;
    border: 2px solid var(--light);
}

/* Add these animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.hero-content {
    animation: float 6s ease-in-out infinite;
}
/* Enhanced Navbar */
.navbar {
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 8%;
    background: rgba(45,45,45,0.98);
}



.nav-item {
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

.nav-item.active .nav-text {
    color: #FFA500 !important; /* Orange color for active state */
    transition: color 0.3s ease; /* Smooth color transition */
}

.nav-social {
    display: flex;
    gap: 1rem;
    margin-left: auto;
    padding-right: 2rem;
}

.social-icon {
    color: var(--light);
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

/* Modern Footer */
footer {
    background: linear-gradient(45deg, #1a1a1a, var(--secondary));
    padding: 4rem 8% 2rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--light);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--light);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
}

.footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,107,0,0.2);
}

.back-to-top {
    background: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
}
       /* Modern Header Styles */
       .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        backdrop-filter: blur(16px);
        background: linear-gradient(90deg, 
            rgba(15,15,15,0.98) 0%, 
            rgba(15,15,15,0.9) 100%) !important;
            border-bottom: 1px solid var(--primary);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        
    }
    .navbar::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--primary);
        
    }

    .navbar.scrolled {
        padding: 1rem 8%;
        background: linear-gradient(90deg,
            rgba(15,15,15,0.98) 0%,
            rgba(15,15,15,0.9) 100%)!important;
            border-bottom: 1px solid var(--primary);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .logo-container {
        position: relative;
        overflow: hidden;
        padding: 0.5rem;
        z-index: 1001;
    }
    
   
    .nav-item {
        position: relative;
        padding: 0;
        overflow: hidden;
    }
    
 
    
    .nav-text {
        position: relative;
        z-index: 1;
        display: inline-block;
        transition: transform 0.3s ease;
    }
    
    .nav-item:hover .nav-text {
        transform: translateX(10px);
    }
    
    .social-icon {
        position: relative;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255,107,0,0.05);
        transition: all 0.3s ease;
        box-shadow: 0 0 10px rgba(255,0,255,0.2);
    }
    
    .social-icon:hover {
        background: rgba(255,107,0,0.2);
        transform: scale(1.1);
    }
    
    .social-pulse {
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 2px solid var(--primary);
        animation: pulse 2s infinite;
    }
    
    @keyframes pulse {
        0% { opacity: 0.4; transform: scale(1); }
        100% { opacity: 0; transform: scale(1.5); }
    }
    
    .cta-small {
        background: var(--primary);
        padding: 0.8rem 1.5rem;
        border-radius: 30px;
        font-weight: 600;
        position: relative;
        overflow: hidden;
        box-shadow: 0 0 15px rgba(255,95,31,0.4);
    }
    .cta-small:hover {
        cursor: pointer;
        /* Rest of your existing hover effects */
    }
    .cta-glow {
        position: absolute;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, 
            rgba(255,255,255,0.4) 0%, 
            transparent 70%);
        opacity: 0;
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none; /* Add this */
        z-index: -1; /* Add this */
    }
    
    .cta-small:hover .cta-glow {
        opacity: 0.3;
    }
            /* 3D Portfolio Specific Styles */
            .portfolio-3d {
                padding: 8rem 8%;
                perspective: 1500px;
            }
    
            .portfolio-container-3d {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                gap: 4rem;
                transform-style: preserve-3d;
            }
    
            .portfolio-card-3d {
                background: linear-gradient(45deg, rgba(45,45,45,0.1), rgba(255,107,0,0.05));
                border-radius: 20px;
                padding: 2rem;
                transform-style: preserve-3d;
                transition: var(--transition);
                cursor: pointer;
                position: relative;
                overflow: hidden;
                backdrop-filter: blur(10px);
                border: 1px solid rgba(255,107,0,0.1);
            }
    
            .portfolio-card-3d::before {
                content: '';
                position: absolute;
                inset: 0;
                background: linear-gradient(45deg, transparent 0%, var(--primary) 150%);
                opacity: 0;
                transition: var(--transition);
            }
    
            .portfolio-card-3d:hover {
                transform: translateZ(20px) rotateX(3deg) rotateY(3deg);
                box-shadow: 0 25px 40px rgba(0,0,0,0.1);
            }
    
            .portfolio-card-3d:hover::before {
                opacity: 0.1;
            }
    
            .card-content {
                transform: translateZ(30px);
                position: relative;
            }
    
            .card-image {
                width: 100%;
                height: 250px;
                border-radius: 12px;
                object-fit: cover;
                transform: translateZ(40px);
                margin-bottom: 1.5rem;
            }
    
            .card-tags {
                display: flex;
                gap: 0.5rem;
                flex-wrap: wrap;
                margin-bottom: 1rem;
            }
    
            .card-tag {
                background: rgba(255,107,0,0.1);
                color: var(--primary);
                padding: 0.3rem 0.8rem;
                border-radius: 20px;
                font-size: 0.9rem;
            }
    
            .filter-controls {
                display: flex;
                justify-content: center;
                gap: 1rem;
                margin-bottom: 4rem;
            }
    
            .filter-btn {
                background: transparent;
                border: 2px solid var(--primary);
                color: var(--primary);
                padding: 0.8rem 2rem;
                border-radius: 30px;
                cursor: pointer;
                transition: var(--transition);
            }
    
            .filter-btn.active {
                background: var(--primary);
                color: var(--light);
            }

            /* Logo styling */
.logo-img {
    max-width: 120px; /* Adjust based on your logo size */
    height: 80px;
}

/* Spacing between logo and navigation */
.logo-container {
    margin-right: 0rem; /* Adjust this value to control gap size */
}

/* If using flexbox for navbar layout */
.navbar {
    display: flex;
    align-items: center;
    gap: 4rem; /* Overall spacing between navbar elements */
}

/* Scroll Animations */
.animate-on-scroll {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Direction Variations */
[data-scroll-direction="left"] { transform: translateX(-40px); }
[data-scroll-direction="right"] { transform: translateX(40px); }
[data-scroll-direction="bottom"] { transform: translateY(40px); }

/* Animation Delays */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }


/* Particle Effects */
.particle-container {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(255,107,0,0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s infinite linear;
}

@keyframes particle-move {
    0% { transform: translate(0, 0); }
    50% { transform: translate(100px, 100px); }
    100% { transform: translate(0, 0); }
}

/* Glitch Effect */
.glitch-wrapper {
    position: relative;
}
.glitch-wrapper::before,
.glitch-wrapper::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    clip: rect(0, 900px, 0, 0);
    animation: glitch 2s infinite linear alternate-reverse;
}
.glitch-wrapper::before {
    left: 2px;
    text-shadow: -2px 0 #ff00ff;
}
.glitch-wrapper::after {
    left: -2px;
    text-shadow: 2px 0 #00ffff;
}

@keyframes glitch {
    0% { clip: rect(42px, 9999px, 44px, 0) }
    30% { clip: rect(42px, 9999px, 44px, 0) }
    33% { clip: rect(22px, 9999px, 44px, 0) }
    34% { clip: rect(70px, 9999px, 82px, 0) }
    35% { clip: rect(42px, 9999px, 44px, 0) }
}

/* Gradient Mesh Background */
.gradient-mesh {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(at 71% 29%, rgba(255,107,0,0.15) 0px, transparent 50%),
        radial-gradient(at 29% 71%, rgba(255,0,255,0.15) 0px, transparent 50%);
    animation: mesh-animation 20s infinite linear;
}

@keyframes mesh-animation {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

/* New Shape Variations */
.shape.hexagon {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(45deg, rgba(255,107,0,0.1), transparent);
}

.shape.abstract {
    clip-path: path("M 30 20 Q 40 0 50 20 T 70 40 T 50 60 T 30 80 T 10 60 T 30 20");
    animation: rotate 15s linear infinite;
}

.process .container h2 {
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
}

/* If you have existing styles for process section */
.process {
    text-align: center;
    padding: 8rem 8%;
}




/* ===== Portfolio Improvements ===== */
.portfolio {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.portfolio-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #0a0a0a;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-inner {
    position: relative;
    width: 100%;
    height: 400px;
    transform-style: preserve-3d;
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-back {
    transform: rotateY(180deg);
    padding: 2rem;
    background: linear-gradient(45deg, #1a1a1a 0%, #0a0a0a 100%);
}

.portfolio-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.9) 90%);
}

.media-wrapper {
    position: absolute;
    inset: 0;
}

.portfolio-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-back h3{

    color: white;
}
.card-tages {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.card-tages span {
    background: rgba(255, 95, 31, 0.2);  /* Use primary color with opacity */
    color: var(--primary);  /* Use primary orange for text */
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 95, 31, 0.3);  /* Add subtle border */
    transition: var(--transition);
}

.card-tages span:hover {
    background: rgba(255, 95, 31, 0.3);
    border-color: rgba(255, 95, 31, 0.5);
}


.view-more {
    position: relative;
    margin: 4rem auto 0;
    padding: 1.2rem 2.5rem;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    transition: 0.3s all ease;
}

.arrow-container {
    position: relative;
    display: inline-block;
    margin-left: 1rem;
}

.view-more i {
    position: absolute;
    transition: 0.3s all ease;
}

.view-more i:last-child {
    opacity: 0;
    transform: translateX(-50%);
}

.view-more:hover i:first-child {
    transform: translateX(4px);
}

.view-more:hover i:last-child {
    opacity: 1;
    transform: translateX(0);
}


/* Portfolio Category Styles */
.portfolio-category {
    margin: 6rem 0;
    position: relative;
}

.category-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary);
}

/* Video Grid Specific */
.video-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.video-thumbnail {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.9);
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn i {
    color: white;
    font-size: 1.5rem;
    margin-left: 5px;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 20px rgba(255,107,0,0.5);
}

/* Video Modal Improvements */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 1000;
    padding: 2rem;
    box-sizing: border-box;
}

.modal-content {
    position: relative;
    max-width: 1000px;
    margin: 2rem auto;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255,107,0,0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.05);
}

.video-title {
    color: white;
    font-weight: 600;
    margin: 0;
}

.close-btn {
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

#portfolioVideo {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 0 0 12px 12px;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 1rem;
    }
    
    #portfolioVideo {
        height: 50vh;
    }
    
    .close-btn {
        width: 35px;
        height: 35px;
    }
}



/* Portfolio CTA Button */
.portfolio-cta {
    text-align: center;
    margin: 4rem 0;
}

.portfolio-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    background: linear-gradient(45deg, var(--primary), #ff8f00);
    color: white;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15));
    opacity: 0.5;
}

.portfolio-cta-btn i {
    transition: transform 0.3s ease;
}

.portfolio-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,107,0,0.3);
}

.portfolio-cta-btn:hover i {
    transform: translateX(5px);
}


/* Clients Section */
.clients {
    padding: 6rem 0;
    overflow: hidden;
}

.clients h2 {
    background: none;
    -webkit-text-stroke: 0;
    color: var(--secondary); /* Use your existing dark color */
    text-shadow: none;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.client-logos {
    position: relative;
    padding: 2rem 0;
}

.client-logos-inner {
    display: flex;
    animation: scroll 40s linear infinite;
    justify-content: center;
    gap: 3rem; /* Increased from default */
    padding: 2rem 0;
}

.client-logo {
    max-width: 150px;
    flex: 0 0 200px;
    margin: 0 2rem;
    filter: grayscale(100%) brightness(150%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo img {
    max-width: 150px; /* Increased from previous size */
    height: auto;
    transition: transform 0.3s ease;
    filter: grayscale(1);
}

.client-logo:hover {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
.client-logo:hover img {
    filter: grayscale(0);
    transform: scale(1.1);
}

/* Add media query for mobile */
@media (max-width: 768px) {
    .client-logos-inner {
        gap: 2rem;
        flex-wrap: wrap;
    }
    
    .client-logo img {
        max-width: 120px;
    }
}
.process h2{
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.testimonials h2{
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

/* Existing client section styles... */

.client-logos {
    overflow: hidden;
    position: relative;
}

.client-logos-inner {
    display: flex;
    animation: logoScroll 40s linear infinite;
    width: max-content;
}

.client-logos:hover .client-logos-inner {
    animation-play-state: paused;
}

@keyframes logoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.portfolio-3d h2{
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}


.footer-bar a {
    color: var(--light);
 
    transition: transform 0.3s ease;
}

.footer-bar a:hover {
    transform: translateY(-5px);
}





.portfolio-card .card-back {
    background: rgba(15, 15, 15, 0.4) !important;  
    backdrop-filter: blur(8px);
}

.portfolio-card:hover .card-front .card-gradient {
    background: linear-gradient(180deg, 
        rgba(0,0,0,0) 30%, 
        rgba(15,15,15,0.3) 90%); 
}

.card-inner {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;  
}



.portfolio-card:hover .card-inner {
    transform: rotateY(180deg) scale(1.02); 
}

.portfolio-media {
    filter: brightness(0.9);  
    transition: filter 0.3s ease;
}

.portfolio-card:hover .portfolio-media {
    filter: brightness(1);  
}



/* Add this to your CSS */
.portfolio-container-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    transform-style: preserve-3d;
}

.portfolio-card-3d {
    display: flex;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

.portfolio-card-3d {
    cursor: pointer;
    position: relative;
    /* existing styles */
}

/* Add hover effect */
.portfolio-card-3d:hover {
    transform: translateZ(10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255,107,0,0.2);
}

.view-website-text {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--primary);
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s ease;
}

.portfolio-card-3d:hover .view-website-text {
    opacity: 1;
    text-shadow: 0 0 8px rgba(255,95,31,0.3);
}

.card-details h3{
    color: white;
}




/* Quote Modal Styles */
.quote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0 0 0 / 60%);
    backdrop-filter: blur(8px);
    display: none;
    z-index: 9999;
}

.modal-content {
    position: relative;
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255 255 255 / 0.1);
}

.quote-modal select {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255 255 255 / 0.1);
    background: rgba(255 255 255 / 0.05);
    color: white;
    border-radius: 8px;
}

.thank-you-message {
    display: none;
    text-align: center;
}


/* Updated Modal Styles */
.quote-modal {
    --modal-accent: #FF5F1F;
    --modal-bg: rgba(15, 15, 15, 0.95);
}

.modal-content {
    background: var(--modal-bg);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    transform: translateY(-50px);
    opacity: 0;
    animation: modalEnter 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    position: relative;
    overflow: hidden;
}

@keyframes modalEnter {
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #FF8E3C, #FF1C7C);
    -webkit-background-clip: text;
    background-clip: text;
    color: #fff; /* Changed from gradient text */
    text-shadow: 0 4px 20px rgba(255, 95, 31, 0.4);
}

.modal-header p {
    color: rgba(255,255,255,0.95);
    font-weight: 300;
}

/* Enhanced Form Elements */
.quote-modal select, 
.quote-modal input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 1rem;
    color: white;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
}

.quote-modal select:focus,
.quote-modal input:focus {
    border-color: var(--modal-accent);
    box-shadow: 0 0 0 3px rgba(255,95,31,0.2);
}

.quote-modal button[type="submit"] {
    background: linear-gradient(45deg, #FF5F1F, #FF8E3C);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.quote-modal button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255,95,31,0.3);
}

/* Modern Close Button */
.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255,95,31,0.2);
    transform: rotate(90deg);
}

.close-modal svg {
    color: white;
    width: 20px;
    height: 20px;
}

/* Animated Thank You Message */
.thank-you-message {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--modal-bg);
    opacity: 0;
    animation: thankYouEnter 0.6s forwards;
    z-index: 1;
}

@keyframes thankYouEnter {
    to { opacity: 1; }
}

/* Add active state */
.thank-you-message.active {
    display: flex;
    animation: thankYouEnter 0.6s forwards;
}

/* Fix form display */
#quoteForm {
    display: block; /* Ensure form is visible initially */
    position: relative;
    z-index: 2;
}




.thank-you-message h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--modal-accent);
    color: #fff !important;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.thank-you-message p {
    color: rgba(255,255,255,0.95) !important;
    max-width: 300px;
    text-align: center;
}



/* Add label styling */
.form-group label {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

/* Fix initial visibility state */
.thank-you-message {
    display: none !important;
    opacity: 0;
}

.thank-you-message.active {
    display: flex !important;
    opacity: 1;
}



/* Hover Effects */
.quote-modal select:hover,
.quote-modal input:hover {
    background: rgba(255,255,255,0.08);
}


/* Update select dropdown text color */
.quote-modal select {
    color: rgba(255,255,255,0.95) !important;
    background: rgba(0, 0, 0, 0.3) !important;
}

/* Style dropdown options */
.quote-modal select option {
    background: #1a1a1a;
    color: white;
    padding: 1rem;
    border-bottom: 1px solid rgba(255,95,31,0.1);
}

/* Modern close button redesign */
.close-modal {
    background: linear-gradient(45deg, #FF5F1F, #FF8E3C);
    width: 45px;
    height: 45px;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 15px rgba(255,95,31,0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.close-modal svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.close-modal:hover {
    transform: rotate(135deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(255,95,31,0.4);
}

.close-modal:hover svg {
    transform: scale(1.2);
}

/* Add pulse animation */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(255,95,31,0.4); }
    100% { box-shadow: 0 0 0 12px transparent; }
}

.close-modal::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse-glow 2s infinite;
}


/* Mobile */
/* Add these media queries at the end of your CSS */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 1rem;
        flex-direction: column;
        background: rgba(45,45,45,0.98);
        border-radius: 8px;
        padding: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .logo-img {
        max-height: 50px;
    }

    .menu-toggle {
        display: block;
        order: 2;
    }

    .nav-social,
    .nav-cta {
        display: none;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;
    }
}



/* Add hamburger styles */
.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    width: 30px;
    height: 2px;
    background: var(--primary);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    transition: inherit;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

/* Active state styles */
.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
}

/* Show hamburger on mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
}


@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
        flex-wrap: nowrap; /* Prevent wrapping */
    }

    /* Keep social and CTA visible */
    .nav-social, 
    .nav-cta {
        display: flex !important;
        order: 2;
        gap: 0.5rem;
    }

    .nav-social {
        margin-left: auto;
        padding-right: 1rem;
    }

    .nav-cta button {
        padding: 8px 12px;
        font-size: 14px;
    }

    /* Adjust menu toggle positioning */
    .menu-toggle {
        order: 3;
        margin-left: 1rem;
    }
    
    /* Existing mobile menu styles remain */
}


/* Update navbar mobile layout */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: nowrap;
        padding: 0.8rem 5%;
        gap: 1rem;
    }

    .logo-container {
        order: 1;
        flex: 0 1 auto;
    }

    .logo-img {
        max-height: 50px !important;
    }

    .nav-social {
        order: 2;
        display: flex !important;
        gap: 0.8rem;
        margin-left: auto;
    }

    .nav-cta {
        order: 3;
        display: block !important;
    }

    .menu-toggle {
        order: 4;
        display: block !important;
        margin-left: 0.5rem;
    }

    .nav-links {
        order: 5;
        width: 100%;
        margin-top: 1rem;
    }
}

/* Fix hamburger visibility */
.hamburger {
    width: 30px;
    height: 2px;
    background: var(--primary);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    transition: inherit;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, -5px);
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, 5px);
}

.menu-toggle.active .hamburger::before,
.menu-toggle.active .hamburger::after {
    background: var(--primary);
}


/* Update mobile menu styles */
@media (max-width: 768px) {
    .nav-social {
        display: none !important;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        z-index: 1000;
    }

    .nav-links.active {
        max-height: 500px;
        padding: 1rem;
    }

    /* Add social icons to mobile menu */
    .nav-links::after {
        content: '';
        display: block;
        text-align: center;
        padding: 1rem 0;
    }

    .nav-links::after {
        content: 'Connect with us';
        color: rgba(255,255,255,0.7);
        font-size: 0.9rem;
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 1rem;
    }

    .mobile-social {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        padding-top: 1rem;
    }
}

/* Hide mobile social text */
.mobile-social span {
    display: none;
}


@media (max-width: 768px) {
    .filter-controls {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0 5%;
        margin: 1rem 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        padding: 8px 12px;
        font-size: 14px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* Keep original desktop styles for other elements */
}



/* Thank You Section */
.thank-you-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.95);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.thank-you-modal:target {
    display: flex;
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.thank-you-container {
    position: relative;
    margin: auto;
    padding: 2rem;
    background: rgba(45, 45, 45, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(255,107,0,0.2);
    box-shadow: 0 0 50px rgba(255,107,0,0.1);
    text-align: center;
    max-width: 600px;
}

.checkmark-animation {
    margin: 2rem auto;
    width: 100px;
    height: 100px;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke: var(--primary);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    animation: confetti 2s ease-out infinite;
}

@keyframes confetti {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}