/* Netclick Website Custom CSS */

/* Mega Menu Styles */
.mega-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.mega-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hover Lift Effect */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Floating Animation */
.floating-element {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom Colors */
:root {
    --netclick-turquoise: #14B8A6;
    --netclick-accent: #0D9488;
    --netclick-dark: #1F2937;
    --netclick-light: #F0FDFA;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--netclick-turquoise), var(--netclick-accent));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--netclick-accent), var(--netclick-turquoise));
}

/* FAQ Animation */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content:not(.hidden) {
    max-height: 200px;
}

/* Form Focus States */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    ring: 2px;
    ring-color: var(--netclick-turquoise);
    border-color: var(--netclick-turquoise);
}

/* Button Hover Effects */
.btn-primary {
    background: linear-gradient(135deg, var(--netclick-turquoise), var(--netclick-accent));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--netclick-accent), var(--netclick-turquoise));
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(20, 184, 166, 0.4);
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .floating-element {
        display: none;
    }
    
    .hover-lift:hover {
        transform: none;
    }
}

/* Performance Optimizations */
* {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

img {
    image-rendering: -webkit-optimize-contrast;
}

/* Typography Enhancements */
body {
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Chat Widget Styles */
#chat-window {
    animation: slideInUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Service Cards */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: var(--netclick-turquoise);
    background: linear-gradient(135deg, #F0FDFA, #FFFFFF);
}

/* Newsletter Form */
#newsletter-form input {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#newsletter-form input:focus {
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

/* Hero Section */
.hero-background {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #334155 100%);
    position: relative;
}

.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(20, 184, 166, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.3) 0%, transparent 50%);
    mix-blend-mode: multiply;
}

/* Stats Counter Animation */
.stat-number {
    animation: countUp 2s ease-out forwards;
}

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

/* Testimonial Cards */
.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--netclick-turquoise), var(--netclick-accent));
}

/* Blog Cards */
.blog-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

/* Case Study Cards */
.case-study-card {
    position: relative;
    overflow: hidden;
}

.case-study-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(20, 184, 166, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-study-card:hover::after {
    opacity: 1;
}