/* Performance Optimization - Lazy Loading Animations */
.fade-in {
    animation: fadeIn 0.6s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optimize video loading */
video {
    will-change: transform, opacity;
    transition: opacity 0.3s ease;
}

video.lazy-loading {
    opacity: 0;
}

video.loaded {
    opacity: 1;
}

/* Image loading states */
img[loading="lazy"] {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Standard Spacing Variables */
:root {
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    --bg: #05070a;
    --primary: #1fbce2;
    --primary-dark: #0ea5c7;
    --secondary: #8479f2;
    --secondary-dark: #6c5ff1;
    --accent: #ff4d8d;
    --text-main: #ffffff;
    --text-dim: #a0aec0;
    --dark: #0f172a;
    --darker: #05070a;
    --light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --gradient: linear-gradient(90deg, var(--primary), var(--secondary));
    --gradient-1: linear-gradient(90deg, var(--primary), var(--secondary));
    --gradient-2: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    transition: all 0.3s ease;
    scroll-behavior: smooth;
}

/* Base Container Styles */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responsive Container */
@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Full Width Container */
.container-fluid {
    width: 100%;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container-fluid {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-fluid {
        padding: 0 2rem;
    }
}

/* Center Utility */
.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Flex Center */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Grid Center */
.grid-center {
    display: grid;
    place-items: center;
}

/* Space Background with 3D Stars */
.space-background {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: radial-gradient(ellipse at center, #0d1117 0%, var(--darker) 100%);
    overflow: hidden;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.3;
    animation: twinkle var(--d) infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes moveStars {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-50%) translateX(-50%); }
}

/* Navigation with Scroll Effect */
nav {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(5, 7, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    overflow: visible;
    max-width: 100vw;
}

nav.scrolled {
    position: sticky;
    padding: 1rem 2rem;
    background: rgba(2, 6, 23, 0.9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: nowrap;
    align-items: center;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--light);
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: rgba(5, 7, 10, 0.98);
    backdrop-filter: blur(25px);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
}

.mobile-nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.mobile-nav-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.mobile-nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Hero Section with Animated Gradient */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 2rem 1rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, 
        rgba(34, 211, 238, 0.15) 0%, 
        rgba(34, 211, 238, 0) 50%);
    animation: pulse 8s ease-in-out infinite alternate;
    z-index: -1;
    overflow: hidden;
    max-width: 100vw;
    max-height: 100vh;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 1; }
}

/* Contain the pulse animation */
.hero {
    overflow: hidden;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.hero h1:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 700px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.btn-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Enhanced Transparent Buttons */
.btn-primary {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.5s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.2);
}

.btn-outline:hover::before {
    left: 100%;
}

/* Button Group Spacing */
.btn-group-secondary {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

/* Enhanced Glass Button */
.glass-button {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.glass-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.3);
}

.glass-button:hover::before {
    left: 100%;
}

/* Services Section */
.services {
    padding: 6rem 1rem;
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    position: relative;
    z-index: 1;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding: 0 1rem;
    max-width: 100%;
    box-sizing: border-box;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.service-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    text-decoration: none;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glass-shadow);
    border-color: var(--primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(31, 188, 226, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-dim);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.service-btn::after {
    content: '→';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E, #25D366);
}

.service-btn:hover::after {
    right: 1.5rem;
    color: white;
    transform: translateY(-50%) translateX(5px);
}

.service-btn i {
    font-size: 1rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Mobile Responsive - Comprehensive Fixes */
@media (max-width: 768px) {
    
    /* Global Container Fixes */
    .container {
        padding: 0 1rem !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: 2rem 1rem !important;
        min-height: 100vh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    
    .hero .container {
        padding: 0 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .hero h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1.5rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .hero p {
        font-size: 1.1rem !important;
        margin-bottom: 2rem !important;
        padding: 0 0.5rem !important;
    }
    
    .btn-group {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
        padding: 0 1rem !important;
    }
    
    .btn-primary, .btn-outline {
        width: 100% !important;
        max-width: 280px !important;
        text-align: center !important;
        padding: 1rem 2rem !important;
    }
    
    /* Services Section Mobile */
    .services {
        padding: 4rem 1rem !important;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 1.5rem !important;
        padding: 0 1rem !important;
    }
    
    .service-card {
        padding: 2rem 1.5rem !important;
        margin: 0 !important;
    }
    
    .service-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }
    
    .service-card h3 {
        font-size: 1.3rem !important;
        margin-bottom: 1rem !important;
    }
    
    .service-card p {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .service-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.875rem 1.5rem !important;
        font-size: 0.95rem !important;
    }
    
    /* Section Titles Mobile */
    .section-title {
        font-size: 2rem !important;
        margin-bottom: 2.5rem !important;
        padding: 0 1rem !important;
    }
    
    /* Navigation Mobile */
    nav {
        position: fixed !important;
        top: 0 !important;
        padding: 1rem 1rem !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100vw !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    .logo {
        font-size: 1.2rem !important;
    }
    
    .nav-links {
        display: none !important;
    }
    
    .hamburger {
        display: flex !important;
        z-index: 1001 !important;
    }
    
    .hamburger span {
        display: block !important;
        position: absolute !important;
        left: 0 !important;
    }
    
    .hamburger span:nth-child(1) {
        top: 0 !important;
    }
    
    .hamburger span:nth-child(2) {
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    
    .hamburger span:nth-child(3) {
        bottom: 0 !important;
    }
    
    /* Mobile Navigation */
    .mobile-nav {
        width: 85% !important;
        max-width: 320px !important;
        overflow-x: hidden !important;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2) !important;
    }
    
    .mobile-nav-links {
        padding: 6rem 1.5rem 2rem !important;
        gap: 0.75rem !important;
    }
    
    .mobile-nav-links a {
        font-size: 1.1rem !important;
        padding: 0.75rem 1rem !important;
    }
    
    /* Buttons Mobile */
    .btn-primary, .btn-outline {
        width: 100% !important;
        max-width: 280px !important;
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    
    .btn-group {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
        padding: 0 1rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .whatsapp-tooltip {
        display: none !important;
    }
    
    /* Footer Mobile */
    footer {
        padding: 2rem 1rem !important;
    }
    
    .footer-content {
        gap: 1.5rem !important;
    }
    
    /* Videos Grid Mobile */
    .videos-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 1rem !important;
    }
    
    /* Contact Section Mobile */
    .contact-enhanced {
        padding: 2rem 1rem !important;
        margin: 1rem !important;
        max-width: 100% !important;
    }
    
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 0 1rem !important;
    }
    
    .info-card {
        padding: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .whatsapp-call-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 1rem !important;
        font-size: 0.95rem !important;
    }
    
    /* Client Grid Mobile */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        padding: 0 1rem !important;
    }
    
    .client-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        padding: 0 1rem !important;
        max-width: 100% !important;
    }
    
    .client-logo-item {
        min-width: auto !important;
        max-width: none !important;
        height: 80px !important;
        padding: 12px !important;
        border-radius: 16px !important;
    }
    
    .client-overlay {
        display: none !important;
    }
    
    .client-stats {
        margin-top: 2rem !important;
        padding: 1.5rem !important;
        max-width: 100% !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
    }
    
    .stat-number {
        font-size: 2rem !important;
    }
    
    .stat-label {
        font-size: 0.8rem !important;
    }
    
    
    /* Remove unwanted margins and fix overflow */
    section {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }
    
    * {
        -webkit-box-sizing: border-box !important;
        -moz-box-sizing: border-box !important;
        box-sizing: border-box !important;
    }
    
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    
    .hero h1 {
        font-size: 2rem !important;
        line-height: 1.1 !important;
    }
    
    .hero p {
        font-size: 1rem !important;
    }
    
    .client-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        padding: 0 0.75rem !important;
    }
    
    .client-logo-item {
        height: 60px !important;
        padding: 6px !important;
        border-radius: 10px !important;
    }
    
    .client-stats {
        padding: 1rem !important;
        margin-top: 1.5rem !important;
    }
    
    .stats-grid {
        gap: 0.75rem !important;
    }
    
    .stat-number {
        font-size: 1.5rem !important;
    }
    
    .stat-label {
        font-size: 0.7rem !important;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem !important;
        line-height: 1.1 !important;
    }
    
    .hero p {
        font-size: 1rem !important;
    }
    
    .client-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        padding: 0 0.75rem !important;
    }
    
    .client-logo-item {
        height: 70px !important;
        padding: 10px !important;
        border-radius: 14px !important;
    }
    
    .client-stats {
        padding: 1rem !important;
        margin-top: 1.5rem !important;
        max-width: 100% !important;
    }
    
    .stats-grid {
        gap: 0.75rem !important;
    }
    
    .stat-number {
        font-size: 1.8rem !important;
    }
    
    .stat-label {
        font-size: 0.75rem !important;
    }
    
    .service-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.25rem !important;
    }
    
    .btn-primary, .btn-outline {
        font-size: 0.9rem !important;
        padding: 0.875rem 1.5rem !important;
    }
    
    .container {
        padding: 0 0.75rem !important;
    }
    
    .services-grid {
        padding: 0 0.75rem !important;
        gap: 1rem !important;
    }
}

/* Enhanced Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(5, 5, 8, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary), 
        var(--secondary), 
        transparent);
    animation: footerGlow 3s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-100%);
    }
    50% {
        opacity: 1;
        transform: translateX(0);
    }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    text-align: center;
    margin-bottom: 1rem;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: logoPulse 2s ease-in-out infinite alternate;
}

@keyframes logoPulse {
    0% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
    }
}

.footer-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer-links a:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(31, 188, 226, 0.2);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        gap: 1.5rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .footer-links {
        gap: 1rem;
    }
    
    .footer-links a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    /* Fix navigation padding */
    nav {
        padding: 1rem 2rem !important;
    }
    
    .budget-input-wrapper {
        position: relative;
    }
    
    .budget-input-wrapper .dollar-sign {
        position: absolute;
        top: 50%;
        left: 10px;
        transform: translateY(-50%);
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.5);
    }
    
    .budget-input-wrapper .budget-input {
        padding-left: 30px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 1rem !important;
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .contact-container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}

/* Dark/Light Mode Toggle */
.dark-mode {
    --dark: #f0f0f0;
    --darker: #e0e0e0;
    --light: #0a0a14;
    --glass: rgba(0, 0, 0, 0.05);
}

.dark-mode .service-card,
.dark-mode .contact-container {
    border-color: rgba(0, 0, 0, 0.1);
}

.dark-mode .form-control {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--light);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Custom Scrollbar with Gradient */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--darker);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-2);
    border-radius: 6px;
    border: 2px solid var(--darker);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-1);
}

/* Glassmorphism Enhanced Effects */
.glass-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.glass-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    z-index: 1;
}

.glass-input {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    color: var(--text-main);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
    box-shadow: 
        0 0 0 4px rgba(31, 188, 226, 0.1),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
    outline: none;
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.glass-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.glass-button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    padding: 1rem 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px 0 rgba(31, 188, 226, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
}

.glass-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.glass-button:hover::before {
    left: 100%;
}

.glass-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px 0 rgba(31, 188, 226, 0.4),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
}

/* Enhanced Contact Section */
.contact-enhanced {
    padding: 4rem 2rem;
    margin: 2rem auto;
    max-width: 1000px;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-enhanced::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--primary), 
        var(--secondary), 
        var(--accent));
    border-radius: 24px;
    z-index: -1;
    opacity: 0.9;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(31, 188, 226, 0.2);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.info-title {
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Enhanced WhatsApp Button */
.whatsapp-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.whatsapp-call-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.whatsapp-call-btn:hover::before {
    left: 100%;
}

.whatsapp-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    background: linear-gradient(45deg, #128C7E, #25D366);
}

/* Client Grid */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.client-logo-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 16px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.client-logo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.8s ease;
}

.client-logo-item:hover::before {
    left: 100%;
}

.client-logo-item:hover {
    transform: translateY(-12px) scale(1.03);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.10));
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.15);
}

.client-logo-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.client-logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95) contrast(1.15) saturate(1.1);
}

.client-logo-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.15) contrast(1.25) saturate(1.2);
}

.client-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.7));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    backdrop-filter: blur(5px);
}

.client-overlay i {
    font-size: 1.8rem;
    color: #ffd700;
    margin-bottom: 10px;
    transform: scale(0.7);
    transition: all 0.4s ease;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.client-overlay span {
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.client-logo-item:hover .client-overlay {
    opacity: 1;
    transform: translateY(0);
}

.client-logo-item:hover .client-overlay i {
    transform: scale(1);
}

/* Client Stats Section */
.client-stats {
    margin-top: 4rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
    animation: pulse 2s infinite;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

@keyframes carouselScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.client-carousel-container:hover .client-carousel {
    animation-play-state: paused;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .client-carousel-container {
        padding: 0 20px;
    }
    
    .client-logo-item {
        margin: 0 10px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .client-logo-item div {
        width: 120px;
        height: 80px;
    }
}

/* WhatsApp Call Button */
.whatsapp-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E, #25D366);
}

.whatsapp-call-btn i {
    font-size: 1rem;
}

/* Form spacing improvements */
.form-group-enhanced {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-enhanced {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
}

/* Video Background with Parallax */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100vw;
    height: 100vh;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #16213e 100%);
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(31, 188, 226, 0.3) 0%, transparent 60%),
        radial-gradient(circle at 70% 30%, rgba(132, 94, 247, 0.3) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(255, 77, 141, 0.2) 0%, transparent 70%);
    z-index: -2;
    animation: gradientShift 10s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #16213e 100%);
    }
    50% {
        background: linear-gradient(135deg, #1a1a3e 0%, #16213e 50%, #0f0f23 100%);
    }
}

/* Clean Navigation with Hamburger Menu */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

nav.scrolled {
    background: rgba(5, 7, 10, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    position: relative;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links .dropdown-toggle {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.nav-links .dropdown-toggle:focus {
    outline: none;
}

.nav-links .dropdown-toggle:focus-visible {
    outline: 2px solid rgba(31, 188, 226, 0.6);
    outline-offset: 4px;
    border-radius: 8px;
}

.nav-links a::after,
.nav-links .dropdown-toggle::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links .dropdown-toggle:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i,
.dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 200px;
    max-width: 280px;
    max-height: min(70vh, 420px);
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 2005;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    pointer-events: none;
    scrollbar-width: none;
}

.dropdown-menu::-webkit-scrollbar {
    width: 0;
    height: 0;
}

html,
body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-item:first-child {
    border-radius: 12px 12px 0 0;
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.dropdown-item:hover {
    background: rgba(34, 211, 238, 0.1);
    color: var(--primary);
    padding-left: 2rem;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

/* Page Transition Animation */
.page-transition {
    animation: pageTransition 0.6s ease-in-out;
}

@keyframes pageTransition {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: blur(10px);
    }
    50% {
        opacity: 0.5;
        transform: translateY(15px) scale(0.98);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Smooth Page Load */
body {
    animation: smoothPageLoad 0.8s ease-out;
}

@keyframes smoothPageLoad {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Cards Hover Enhancement */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Link Transition Effect */
.nav-link, .dropdown-item {
    position: relative;
    overflow: hidden;
}

.nav-link::before, .dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before, .dropdown-item:hover::before {
    left: 100%;
}

/* Mobile Dropdown Styles */
.mobile-dropdown {
    width: 100%;
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 0;
}

.mobile-dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-toggle i {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: 500px;
}

.mobile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-dropdown-item:hover {
    background: rgba(34, 211, 238, 0.1);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 1.5rem;
}

.mobile-dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--primary);
    font-size: 0.9rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: transparent;
    border: none;
    z-index: 1001;
    position: relative;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--light);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
    position: absolute;
    left: 0;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    top: 0;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
    bottom: 0;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: rgba(5, 7, 10, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
}

.mobile-nav.active {
    right: 0;
    box-shadow: -10px 0 60px rgba(0, 0, 0, 0.4);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 7rem 1.5rem 2rem;
    gap: 0.5rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-nav-links a {
    color: var(--light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-bottom: 0.25rem;
    border: 1px solid transparent;
}

.mobile-nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.1;
    transition: left 0.3s ease;
}

.mobile-nav-links a:hover::before {
    left: 0;
}

.mobile-nav-links a:hover {
    background: rgba(31, 188, 226, 0.15);
    border-color: rgba(31, 188, 226, 0.3);
    transform: translateX(5px);
    color: var(--primary);
}

.mobile-nav-links a.active {
    background: rgba(31, 188, 226, 0.2);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(5px);
}


/* Section Active States */
section.active {
    animation: sectionHighlight 0.6s ease;
}

@keyframes sectionHighlight {
    0% {
        box-shadow: inset 0 0 0 0 rgba(31, 188, 226, 0.3);
    }
    100% {
        box-shadow: inset 0 0 0 0 rgba(31, 188, 226, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    nav {
        padding: 1rem 1rem !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100vw !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    .logo {
        font-size: 1.4rem;
    }
}

/* Enhanced Sections with Parallax */
section {
    position: relative;
    z-index: 1;
    background: transparent;
}

/* Hero Section */
.hero {
    background: transparent;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    max-width: 100vw;
    width: 100%;
    box-sizing: border-box;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, 
        rgba(34, 211, 238, 0.1) 0%, 
        rgba(34, 211, 238, 0) 50%);
    animation: pulse 8s ease-in-out infinite alternate;
    z-index: -1;
    overflow: hidden;
    max-width: 100vw;
    max-height: 100vh;
    clip-path: inset(0);
}

/* Services Section */
.services {
    background: rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    padding: 6rem 1rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    max-width: 100vw;
    width: 100%;
    box-sizing: border-box;
}

/* Enhanced Service Cards with Video Background */
.service-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.35),
        0 2px 8px 0 rgba(31, 38, 135, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    max-width: 100%;
    box-sizing: border-box;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 12px 40px 0 rgba(31, 38, 135, 0.5),
        0 4px 12px 0 rgba(31, 38, 135, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.12);
}

/* Enhanced Navigation with Video Background */
nav {
    background: rgba(5, 7, 10, 0.7);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav.scrolled {
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Enhanced Footer */
footer {
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Parallax Effect Classes */
.parallax-slow {
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.parallax-medium {
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.parallax-fast {
    will-change: transform;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* Corporate Videos Section */
#videos {
    position: relative;
    z-index: 1;
}

.video-upload-area {
    margin-bottom: 3rem;
}

/* Upload Form Section */
.upload-container {
    padding: 2rem 1rem;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.upload-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.upload-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    flex-direction: column;
}

.video-input {
    display: none;
}

.upload-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 280px;
    white-space: nowrap;
    width: 100%;
    justify-content: center;
    margin: 0 auto;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(31, 188, 226, 0.3);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(31, 188, 226, 0.3);
    border-color: rgba(31, 188, 226, 0.5);
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16/9;
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover .thumbnail-img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.play-overlay i {
    font-size: 2rem;
    color: white;
    opacity: 0.9;
}

.video-thumbnail:hover .play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.video-thumbnail:hover .play-overlay i {
    opacity: 1;
    transform: scale(1.1);
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.video-description {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.video-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.duration, .date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.duration i, .date i {
    font-size: 0.8rem;
}

/* Video GIF Container */
.video-gif-container {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9) contrast(1.1);
}

.video-gif-container:hover .video-gif {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.2);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    opacity: 0;
}

.video-gif-container:hover .video-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.5);
}

.video-overlay i {
    font-size: 3rem;
    color: white;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.video-gif-container:hover .video-overlay i {
    opacity: 1;
    transform: scale(1.1);
}

.video-gif-container:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(31, 188, 226, 0.4);
    transform: translateY(-2px);
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player {
    width: 100%;
    max-height: 60vh;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Videos */
@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .upload-container {
        padding: 1.5rem;
    }
    
    .video-card {
        border-radius: 16px;
    }
    
    .video-info {
        padding: 1rem;
    }
    
    .video-title {
        font-size: 1.1rem;
    }
    
    .video-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .videos-grid {
        gap: 1rem;
    }
    
    .modal-content {
        width: 98%;
        margin: 0.5rem;
    }
    
    .upload-container {
        padding: 1.5rem !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    
    .upload-form {
        flex-direction: column !important;
        gap: 1rem !important;
        padding: 0 1rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .upload-btn {
        width: 100% !important;
        max-width: 280px !important;
        padding: 0.75rem 1.5rem !important;
        font-size: 0.9rem !important;
        text-align: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
}

/* Enhanced Service Image Section */
.service-image-enhanced {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.service-image-enhanced .group {
    position: relative;
    transition: all 0.3s ease;
}

.service-image-enhanced .group:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-image-enhanced .glass-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
}

.service-image-enhanced .glass-container:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.3);
}

/* Ensure floating cards are hidden by default and only show on hover */
.service-image-enhanced .absolute.top-4.left-4,
.service-image-enhanced .absolute.top-4.right-4,
.service-image-enhanced .absolute.bottom-4.left-4,
.service-image-enhanced .absolute.bottom-4.right-4 {
    opacity: 0;
    pointer-events: none;
}

.service-image-enhanced .group:hover .absolute.top-4.left-4,
.service-image-enhanced .group:hover .absolute.top-4.right-4,
.service-image-enhanced .group:hover .absolute.bottom-4.left-4,
.service-image-enhanced .group:hover .absolute.bottom-4.right-4 {
    opacity: 1;
    pointer-events: auto;
}

/* Center badge hidden by default */
.service-image-enhanced .absolute.inset-0 {
    opacity: 0;
    pointer-events: none;
}

.service-image-enhanced .group:hover .absolute.inset-0 {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile Responsive for Enhanced Image */
@media (max-width: 768px) {
    .service-image-enhanced .glass-container {
        padding: 0.5rem !important;
        font-size: 0.75rem;
    }
    
    .service-image-enhanced .glass-container i {
        font-size: 0.9rem !important;
    }
    
    .service-image-enhanced .glass-container p {
        font-size: 0.7rem !important;
    }
    
    /* Disable complex animations on mobile */
    .service-image-enhanced .group:hover .glass-container {
        transform: none !important;
    }
    
    /* Hide floating cards on mobile for cleaner look */
    .service-image-enhanced .absolute.top-4.left-4,
    .service-image-enhanced .absolute.top-4.right-4,
    .service-image-enhanced .absolute.bottom-4.left-4,
    .service-image-enhanced .absolute.bottom-4.right-4 {
        display: none !important;
    }
    
    /* Hide center badge on mobile */
    .service-image-enhanced .absolute.inset-0 {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .service-image-enhanced .glass-container {
        padding: 0.4rem !important;
        font-size: 0.7rem !important;
    }
    
    .service-image-enhanced .glass-container i {
        font-size: 0.8rem !important;
    }
    
    .service-image-enhanced .glass-container .text-white {
        font-size: 0.7rem !important;
    }
    
    .service-image-enhanced .glass-container .text-gray-300 {
        font-size: 0.6rem !important;
    }
    
    /* Ensure all floating elements are hidden on small mobile */
    .service-image-enhanced .absolute {
        display: none !important;
    }
}

/* Enhanced Form Styles */
.form-enhanced {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
    padding: 2.5rem;
}

.form-enhanced .glass-input,
.form-enhanced .glass-select,
.form-enhanced textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Budget input with dollar sign */
.form-enhanced .budget-input-wrapper {
    position: relative;
}

.form-enhanced .budget-input-wrapper .dollar-sign {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    pointer-events: none;
    z-index: 1;
}

.form-enhanced .budget-input {
    padding-left: 2.5rem !important;
}

.form-enhanced .budget-input::-webkit-inner-spin-button,
.form-enhanced .budget-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.form-enhanced .budget-input[type=number] {
    -moz-appearance: textfield;
    appearance: none;
}

.form-enhanced .glass-input::placeholder,
.form-enhanced textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.form-enhanced .glass-input:focus,
.form-enhanced .glass-select:focus,
.form-enhanced textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.12);
    outline: none;
    box-shadow: 0 0 0 4px rgba(31, 188, 226, 0.2);
    transform: translateY(-2px);
}

.form-enhanced .glass-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M10.293%203.293L6%207.586%201.707%203.293A1%201%200%2000.293%204.707l5%205a1%201%200%20001.414%200l5-5a1%201%200%2000-1.414-1.414z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 12px;
    padding-right: 3rem;
}

.form-enhanced .glass-select option {
    background: var(--dark);
    color: #ffffff;
    padding: 1rem;
}

/* Enhanced Labels */
.form-enhanced .glass-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* Custom Checkbox */
.form-enhanced .custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    margin-bottom: 1.5rem;
}

.form-enhanced .custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.form-enhanced .checkbox-mark {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.form-enhanced .custom-checkbox input[type="checkbox"]:checked ~ .checkbox-mark {
    background: var(--primary);
    border-color: var(--primary);
}

.form-enhanced .custom-checkbox input[type="checkbox"]:checked ~ .checkbox-mark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Enhanced Buttons */
.form-enhanced .glass-button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(31, 188, 226, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.form-enhanced .glass-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.form-enhanced .glass-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(31, 188, 226, 0.4);
}

.form-enhanced .glass-button:hover::before {
    left: 100%;
}

.form-enhanced .glass-button:active {
    transform: translateY(-1px);
}

/* Form Groups */
.form-enhanced .form-group-enhanced {
    margin-bottom: 1.5rem;
}

/* Responsive Form */
@media (max-width: 768px) {
    .form-enhanced {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .form-enhanced .glass-input,
    .form-enhanced .glass-select,
    .form-enhanced textarea {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .form-enhanced .glass-button {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .form-enhanced {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .form-enhanced .glass-input,
    .form-enhanced .glass-select,
    .form-enhanced textarea {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .form-enhanced .glass-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
}
