/* ===== MIND-BLOWING DIGITAL AGENCY DESIGN ===== */
/* Preserves all dynamic content while adding stunning visuals */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --neon-gradient: linear-gradient(135deg, #00f5ff 0%, #ff00ff 50%, #00ff88 100%);
    --dark-gradient: linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glow-color: #00f5ff;
    --text-glow: 0 0 20px rgba(0, 245, 255, 0.3);
    --card-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
    --neon-shadow: 0 0 30px rgba(0, 245, 255, 0.4);
}

/* ===== GLOBAL DIGITAL AGENCY FOUNDATION ===== */
body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: var(--dark-gradient);
    overflow-x: hidden;
}

/* Animated Background Particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(0, 245, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 0, 255, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(0, 255, 136, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleMove 20s linear infinite;
    z-index: -1;
    opacity: 0.4;
}

@keyframes particleMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-200px, -100px); }
}

/* ===== HERO/WELCOME SECTION ===== */
.home-welcome {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--dark-gradient);
    overflow: hidden;
}

.home-welcome::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 245, 255, 0.1) 0%, transparent 50%);
    animation: gradientShift 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.home-welcome .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.home-welcome h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: var(--neon-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--text-glow);
    margin-bottom: 2rem;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { filter: brightness(1); }
    to { filter: brightness(1.2) drop-shadow(0 0 30px rgba(0, 245, 255, 0.3)); }
}

.home-welcome p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Futuristic Button */
.home-welcome .btn {
    position: relative;
    background: transparent;
    border: 2px solid var(--glow-color);
    color: var(--glow-color);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.home-welcome .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--neon-gradient);
    transition: left 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: -1;
}

.home-welcome .btn:hover::before {
    left: 0;
}

.home-welcome .btn:hover {
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--neon-shadow);
    border-color: transparent;
}

/* ===== SERVICES SECTION ===== */
.services {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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="%23667eea" opacity="0.1"/><circle cx="80" cy="80" r="1" fill="%23764ba2" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: -1;
}

/* Service Cards */
.services .icon-box {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    overflow: hidden;
    cursor: pointer;
}

.services .icon-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.services .icon-box:hover::before {
    opacity: 0.1;
}

.services .icon-box::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background: var(--neon-gradient);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -2;
}

.services .icon-box:hover::after {
    opacity: 0.3;
}

.services .icon-box:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(0, 245, 255, 0.2);
}

/* Service Icons */
.services .icon-box .icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.services .icon-box:hover .icon {
    transform: scale(1.1) rotateY(180deg);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.services .icon-box .icon i {
    color: white;
    font-size: 2rem;
    transition: all 0.4s ease;
}

.services .icon-box:hover .icon i {
    color: var(--glow-color);
    text-shadow: var(--text-glow);
}

/* Service Images */
.services .icon-box img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 25px;
    display: block;
    border: 3px solid var(--glow-color);
    transition: all 0.4s ease;
    filter: brightness(0.9);
}

.services .icon-box:hover img {
    transform: scale(1.1);
    filter: brightness(1.1) drop-shadow(0 0 20px rgba(0, 245, 255, 0.5));
}

/* Service Titles */
.services .icon-box h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.services .icon-box:hover h2 {
    background: var(--neon-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.05);
}

/* Service Descriptions */
.services .icon-box p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 1rem;
    transition: all 0.4s ease;
}

.services .icon-box:hover p {
    color: rgba(255, 255, 255, 0.95);
}

/* Service Links */
.services .icon-box a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    width: 100%;
}

/* ===== SECTION BACKGROUNDS ===== */
.section-bg {
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(26, 26, 46, 0.9) 100%),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 245, 255, 0.03) 2px,
            rgba(0, 245, 255, 0.03) 4px
        );
    position: relative;
}

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--neon-gradient);
    border-radius: 2px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: translateX(-50%) scaleX(1); }
    50% { opacity: 0.7; transform: translateX(-50%) scaleX(1.2); }
}

.section-title p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== STAFF SECTION ===== */
.staff {
    padding: 100px 0;
    background: var(--dark-gradient);
}

.staff .member {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
}

.staff .member::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--neon-gradient);
    opacity: 0.1;
    transition: left 0.6s ease;
    z-index: -1;
}

.staff .member:hover::before {
    left: 0;
}

.staff .member:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--card-shadow);
    border-color: var(--glow-color);
}

.staff .member .pic {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin-right: 20px;
    flex-shrink: 0;
}

.staff .member .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: grayscale(20%);
}

.staff .member:hover .pic img {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.1);
}

.staff .member h4 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    transition: all 0.4s ease;
}

.staff .member:hover h4 {
    background: var(--neon-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.staff .member p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* ===== GALLERY SECTION ===== */
.gallery {
    padding: 100px 0;
    background: var(--dark-gradient);
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    margin-bottom: 30px;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 0.3;
}

.gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 2rem;
    color: white;
    background: rgba(0, 0, 0, 0.8);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2;
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--neon-shadow);
}

.gallery-item img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.gallery-item:hover img {
    filter: brightness(1.2) contrast(1.1);
}

/* ===== FAQ SECTION ===== */
.faq {
    padding: 100px 0;
    background: var(--dark-gradient);
}

.faq .accordion-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.faq .accordion-item:hover {
    border-color: var(--glow-color);
    box-shadow: 0 5px 25px rgba(0, 245, 255, 0.1);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 100px 0;
    background: var(--dark-gradient);
}

.testimonials .swiper-slide {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s ease;
    text-align: center;
}

.testimonials .swiper-slide-active {
    border-color: var(--glow-color);
    box-shadow: var(--neon-shadow);
    transform: scale(1.05);
}

.testimonials .testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--glow-color);
    transition: all 0.4s ease;
}

.testimonials .swiper-slide-active .testimonial-img {
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
    transform: scale(1.1);
}

/* ===== PARTNERS SECTION ===== */
.partners {
    padding: 100px 0;
    background: var(--dark-gradient);
}

.partners .swiper-slide {
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.4s ease;
}

.partners .swiper-slide:hover,
.partners .swiper-slide-active {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.partners .thumbnail {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.4s ease;
}

.partners .thumbnail:hover {
    border-color: var(--glow-color);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.2);
}

/* ===== BUTTONS ===== */
.more-btn .btn,
.btn-theme {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
}

.more-btn .btn::before,
.btn-theme::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--neon-gradient);
    transition: left 0.5s ease;
    z-index: -1;
}

.more-btn .btn:hover::before,
.btn-theme:hover::before {
    left: 0;
}

.more-btn .btn:hover,
.btn-theme:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--neon-shadow);
    text-decoration: none;
    color: white;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .home-welcome {
        min-height: 60vh;
        padding: 50px 0;
    }
    
    .home-welcome h1 {
        font-size: 2.5rem;
    }
    
    .services,
    .staff,
    .gallery,
    .faq,
    .testimonials,
    .partners {
        padding: 60px 0;
    }
    
    .services .icon-box {
        margin-bottom: 30px;
    }
    
    .staff .member {
        flex-direction: column;
        text-align: center;
    }
    
    .staff .member .pic {
        margin: 0 auto 20px;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Add animation classes to elements */
.animate-fade-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease forwards;
}

.animate-zoom-in {
    animation: zoomIn 0.8s ease forwards;
}

/* Stagger animation delays */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* ===== ACCESSIBILITY & PERFORMANCE ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .services .icon-box,
    .staff .member,
    .gallery-item {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
}