/* ==========================================================================
   MyEnterprise.ma - Premium Coworking Space Website
   Modern, Animated & Responsive Design
   ========================================================================== */

/* CSS Custom Properties (Variables) */
:root {
    /* Primary Colors - Based on logo */
    --primary-color: #2E5BBA;
    --primary-light: #4A73C7;
    --primary-dark: #1E3A8A;
    --accent-color: #FF6B35;
    --accent-light: #FF8A65;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --black: #0F0F0F;
    --gray-100: #F8FAFC;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Space Grotesk', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 120px;
    --section-padding-mobile: 80px;
    
    /* Animations */
    --transition-fast: 0.3s ease;
    --transition-normal: 0.5s ease;
    --transition-slow: 0.8s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 35px 60px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #E55A2B, var(--accent-color));
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.125rem;
}

.btn-service {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
}

.btn-service:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* Loading Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #2E5BBA 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 1.5s ease, visibility 1.5s ease;
    overflow: hidden;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Background Effects */
.loader-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Particles Background */
.loader-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(46, 91, 186, 0.4), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 107, 53, 0.6), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(46, 91, 186, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particlesMove 20s linear infinite;
}

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

/* Gradient Orbs */
.loader-gradient-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.7;
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(46, 91, 186, 0.4), transparent);
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.3), transparent);
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.3), transparent);
    bottom: 20%;
    left: 10%;
    animation-delay: 4s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Main Content */
.loader-content {
    text-align: center;
    color: var(--white);
    z-index: 10;
    max-width: 600px;
    width: 90%;
}

/* Logo Section */
.loader-logo-section {
    margin-bottom: 60px;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.loader-logo {
    height: 120px;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
    animation: logoEnhanced 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(46, 91, 186, 0.6), transparent);
    border-radius: 50%;
    filter: blur(20px);
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoEnhanced {
    0%, 100% { 
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
    }
    50% { 
        transform: translateY(-10px) scale(1.05);
        filter: drop-shadow(0 0 50px rgba(46, 91, 186, 0.6));
    }
}

@keyframes logoGlow {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

/* Company Name */
.company-name {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.name-letter {
    display: inline-block;
    animation: letterDance 2s ease-in-out infinite;
    background: linear-gradient(45deg, #ffffff, #2E5BBA, #FF6B35);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: letterDance 2s ease-in-out infinite, gradientShift 3s ease-in-out infinite;
}

.name-letter:nth-child(1) { animation-delay: 0.1s; }
.name-letter:nth-child(2) { animation-delay: 0.2s; }
.name-letter:nth-child(3) { animation-delay: 0.3s; }
.name-letter:nth-child(4) { animation-delay: 0.4s; }
.name-letter:nth-child(5) { animation-delay: 0.5s; }
.name-letter:nth-child(6) { animation-delay: 0.6s; }
.name-letter:nth-child(7) { animation-delay: 0.7s; }
.name-letter:nth-child(8) { animation-delay: 0.8s; }
.name-letter:nth-child(9) { animation-delay: 0.9s; }
.name-letter:nth-child(10) { animation-delay: 1.0s; }
.name-letter:nth-child(11) { animation-delay: 1.1s; }
.name-letter:nth-child(12) { animation-delay: 1.2s; }

.company-tld {
    color: var(--accent-color);
    font-weight: 700;
}

@keyframes letterDance {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(2deg); }
    75% { transform: translateY(-4px) rotate(-1deg); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.company-tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 2s forwards;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Progress Section */
.loader-progress-section {
    margin-bottom: 40px;
}

.progress-container {
    margin-bottom: 30px;
}

.progress-track {
    position: relative;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2E5BBA, #FF6B35, #2E5BBA);
    background-size: 200% 100%;
    border-radius: 20px;
    width: 0%;
    transition: width 0.3s ease;
    animation: progressShimmer 2s ease-in-out infinite;
    position: relative;
}

.progress-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, transparent, rgba(46, 91, 186, 0.5), transparent);
    border-radius: 20px;
    opacity: 0;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes progressShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.progress-percentage {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: var(--font-secondary);
}

/* Loading Stats */
.loading-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 120px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.stat-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.stat-value {
    font-size: 1rem;
    color: white;
    font-weight: 700;
    font-family: var(--font-secondary);
}

/* Loading Messages */
.loading-messages {
    height: 30px;
    overflow: hidden;
}

.loading-message {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.loading-message.active {
    opacity: 1;
    transform: translateY(0);
}

/* Orbit Animation */
.loader-animation {
    margin-bottom: 40px;
}

.orbit-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.orbit {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    border-right-color: var(--accent-color);
}

.orbit-1 {
    width: 120px;
    height: 120px;
    animation: orbitSpin 3s linear infinite;
}

.orbit-2 {
    width: 80px;
    height: 80px;
    top: 20px;
    left: 20px;
    animation: orbitSpin 2s linear infinite reverse;
}

.orbit-3 {
    width: 40px;
    height: 40px;
    top: 40px;
    left: 40px;
    animation: orbitSpin 1.5s linear infinite;
}

.orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--accent-color);
}

@keyframes orbitSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer */
.loader-footer {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    z-index: 10;
}

.loader-version, .loader-copyright {
    opacity: 0;
    animation: fadeInUp 1s ease-out 3s forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .company-name {
        font-size: 2.2rem;
    }
    
    .loader-logo {
        height: 80px;
    }
    
    .loading-stats {
        gap: 20px;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 12px;
    }
    
    .loader-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all var(--transition-fast);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.logo-link:hover {
    transform: scale(1.05);
    color: var(--primary-dark);
}

.nav-logo img {
    height: 40px;
    transition: transform var(--transition-fast);
}

.logo-link:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-phone:hover {
    color: var(--primary-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-dark) 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#hero-canvas {
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: var(--section-padding) 0;
}

.hero-text {
    max-width: 800px;
    margin-bottom: 80px;
}

.hero-title {
    color: var(--white);
    margin-bottom: 32px;
    line-height: 1.1;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line.highlight {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 48px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-top: 80px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-300);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--white);
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouseWheel 2s infinite;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 8px 24px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.section-title {
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(46, 91, 186, 0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-text {
    flex: 1;
    padding-right: 60px;
}

.about-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 24px;
    position: relative;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2E5BBA, #FF6B35);
    border-radius: 2px;
}

.about-description {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.about-card {
    background: white;
    padding: 32px 28px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2E5BBA, #FF6B35);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.about-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #2E5BBA, #4F46E5);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.about-card-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
}

.about-card:hover .about-card-icon::before {
    top: -100%;
    left: -100%;
}

.about-card-icon i {
    font-size: 28px;
    color: white;
    z-index: 1;
    position: relative;
}

.about-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.about-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* About Visual - Gallery with Floating Objects */
.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding-left: 40px;
    perspective: 1000px;
    position: relative;
}

/* ============================================================================
   FLOATING OBJECTS AROUND GALLERY
   ============================================================================ */

.floating-objects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-object {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: gentleFloat 6s ease-in-out infinite;
    transition: all 0.3s ease;
    will-change: transform;
}

.floating-object:hover {
    transform: scale(1.2);
    box-shadow: 0 15px 40px rgba(46, 91, 186, 0.2);
    background: var(--primary-color);
    color: white;
}

/* Individual positioning and styling */
.coffee-cup {
    top: 15%;
    left: 5%;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    color: white;
    animation-delay: 0s;
    animation-duration: 8s;
}

.innovation-bulb {
    top: 45%;
    left: 8%;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #8B4513;
    animation-delay: 1s;
    animation-duration: 7s;
}

.wifi-signal {
    top: 75%;
    left: 12%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    animation-delay: 2s;
    animation-duration: 9s;
}

.laptop-icon {
    top: 25%;
    left: 15%;
    background: linear-gradient(135deg, #4A5568, #718096);
    color: white;
    animation-delay: 3s;
    animation-duration: 6s;
}

.plant-icon {
    top: 20%;
    right: 8%;
    background: linear-gradient(135deg, #48BB78, #68D391);
    color: white;
    animation-delay: 0.5s;
    animation-duration: 8.5s;
}

.clock-icon {
    top: 50%;
    right: 5%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: white;
    animation-delay: 1.5s;
    animation-duration: 7.5s;
}

.network-icon {
    top: 80%;
    right: 12%;
    background: linear-gradient(135deg, #9F7AEA, #B794F6);
    color: white;
    animation-delay: 2.5s;
    animation-duration: 6.5s;
}

.growth-chart {
    top: 35%;
    right: 15%;
    background: linear-gradient(135deg, #38B2AC, #4FD1C7);
    color: white;
    animation-delay: 3.5s;
    animation-duration: 8s;
}

.star-icon {
    top: 5%;
    left: 45%;
    background: linear-gradient(135deg, #ECC94B, #F6E05E);
    color: #8B4513;
    animation-delay: 0.8s;
    animation-duration: 9.5s;
}

.rocket-icon {
    top: 8%;
    right: 40%;
    background: linear-gradient(135deg, #E53E3E, #FC8181);
    color: white;
    animation-delay: 1.8s;
    animation-duration: 7.2s;
}

.gear-icon {
    bottom: 5%;
    left: 40%;
    background: linear-gradient(135deg, #A0AEC0, #CBD5E0);
    color: var(--primary-color);
    animation-delay: 2.8s;
    animation-duration: 6.8s;
}

.idea-icon {
    bottom: 8%;
    right: 35%;
    background: linear-gradient(135deg, #ED64A6, #F687B3);
    color: white;
    animation-delay: 3.8s;
    animation-duration: 8.3s;
}

/* Floating animation */
@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.8;
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-25px) rotate(-1deg);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-10px) rotate(1deg);
        opacity: 1;
    }
}

/* Pulse effect for some objects */
.innovation-bulb, .star-icon, .rocket-icon {
    animation: gentleFloat 6s ease-in-out infinite, softPulse 3s ease-in-out infinite;
}

@keyframes softPulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
    }
}

/* Rotation effect for gear */
.gear-icon {
    animation: gentleFloat 6s ease-in-out infinite, slowRotate 15s linear infinite;
}

@keyframes slowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Special effects for wifi signal */
.wifi-signal::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    animation: wifiPulse 2s ease-out infinite;
}

@keyframes wifiPulse {
    0% {
        opacity: 1;
        transform: scale(0.8);
    }
    100% {
        opacity: 0;
        transform: scale(1.4);
    }
}

/* Growth chart special effect */
.growth-chart::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3px;
    height: 15px;
    background: white;
    border-radius: 2px;
    animation: chartGrow 2s ease-in-out infinite;
}

@keyframes chartGrow {
    0%, 100% { height: 10px; }
    50% { height: 20px; }
}

/* Coffee steam effect */
.coffee-cup::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 12px;
    background: linear-gradient(to top, transparent, rgba(255, 255, 255, 0.6));
    border-radius: 2px;
    animation: steam 3s ease-in-out infinite;
}

@keyframes steam {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive adjustments for floating objects */
@media (max-width: 1024px) {
    .floating-object {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    /* Hide some objects on medium screens */
    .laptop-icon, .network-icon, .gear-icon, .idea-icon {
        display: none;
    }
}

@media (max-width: 768px) {
    .floating-objects {
        display: none; /* Hide floating objects on mobile for cleaner look */
    }
    
    .about-visual {
        padding-left: 0;
        min-height: 400px;
    }
}

/* ============================================================================
   GALLERY SLIDER STYLES
   ============================================================================ */

.gallery-container {
    position: relative;
    width: 100%;
    max-width: 550px;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
}

.gallery-track {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%) scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backface-visibility: hidden;
}

.gallery-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 2;
}

.gallery-slide.prev {
    transform: translateX(-100%) scale(0.8);
    opacity: 0.3;
    z-index: 1;
}

.gallery-slide.next {
    transform: translateX(100%) scale(0.8);
    opacity: 0.3;
    z-index: 1;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.8s ease;
}

.gallery-slide:hover .slide-background {
    transform: scale(1.05);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        transparent 0%,
        rgba(0, 0, 0, 0.3) 30%,
        rgba(0, 0, 0, 0.8) 100%
    );
    color: white;
    padding: 60px 30px 30px;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-slide.active .slide-content {
    transform: translateY(0);
}

.slide-content h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease forwards;
    animation-delay: 0.3s;
}

.slide-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease forwards;
    animation-delay: 0.5s;
}

/* Gallery Navigation */
.gallery-navigation {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.gallery-nav {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav:hover {
    background: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(46, 91, 186, 0.3);
}

/* Gallery Dots */
.gallery-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.gallery-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(46, 91, 186, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.gallery-dot.active::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-dot:hover {
    transform: scale(1.1);
    background: var(--accent-color);
}

/* Gallery Progress Bar */
.gallery-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.gallery-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    width: 20%;
    transition: width 0.3s ease;
    position: relative;
}

.gallery-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0 2px 2px 0;
}

/* Gallery Counter */
.gallery-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.gallery-counter .current-slide {
    color: var(--accent-color);
}

.gallery-counter .separator {
    margin: 0 4px;
    opacity: 0.5;
}

/* Gallery Effects */
.gallery-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: 24px;
    z-index: 5;
}

.gallery-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: galleryFloat 8s ease-in-out infinite;
}

.gallery-particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.gallery-particle:nth-child(2) {
    left: 80%;
    top: 60%;
    animation-delay: 2s;
    animation-duration: 8s;
    background: var(--primary-color);
}

.gallery-particle:nth-child(3) {
    left: 30%;
    top: 80%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.gallery-particle:nth-child(4) {
    left: 70%;
    top: 10%;
    animation-delay: 1s;
    animation-duration: 9s;
    background: var(--primary-color);
}

.gallery-particle:nth-child(5) {
    left: 50%;
    top: 40%;
    animation-delay: 3s;
    animation-duration: 5s;
}

/* Animations */
@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes galleryFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-40px) rotate(180deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-20px) rotate(270deg);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .about-text {
        margin-bottom: 60px;
    }
    
    .about-visual {
        padding-left: 0;
        min-height: 400px;
    }
    
    .gallery-container {
        max-width: 100%;
        height: 400px;
        border-radius: 16px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .gallery-navigation {
        left: 15px;
        right: 15px;
    }
    
    .slide-content {
        padding: 40px 20px 20px;
    }
    
    .slide-content h3 {
        font-size: 1.2rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .gallery-counter {
        top: 15px;
        right: 15px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Services Section */
.services {
    padding: 120px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    /* Performance optimization */
    will-change: auto;
    transform: translateZ(0);
}

.services::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    animation: rotate 40s linear infinite reverse;
    /* Reduce animation complexity for performance */
    will-change: transform;
}

.section-title.text-white {
    color: white !important;
}

.section-subtitle.text-white-50 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
    /* Performance optimization */
    contain: layout style paint;
}

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Optimized transitions for better performance */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease;
    transform-style: preserve-3d;
    /* Performance optimizations */
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

.service-card::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.6s ease;
    /* Performance optimization */
    will-change: left;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    /* Reduced transform complexity for better performance */
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 107, 53, 0.3);
    border-color: rgba(255, 107, 53, 0.5);
}

.service-icon-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #2E5BBA, #4F46E5);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Optimized transition */
    transition: transform 0.3s ease, filter 0.3s ease;
    /* Performance optimization */
    will-change: transform;
}

.service-icon-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, #FF6B35, #2E5BBA, #FF6B35);
    animation: rotate 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    /* Performance optimization */
    will-change: opacity;
}

.service-icon-container::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: linear-gradient(135deg, #2E5BBA, #4F46E5);
    border-radius: 27px;
    z-index: 1;
}

.service-card:hover .service-icon-container {
    /* Simplified hover effect */
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.service-card:hover .service-icon-container::before {
    opacity: 1;
}

.service-icon {
    font-size: 48px;
    color: white;
    z-index: 2;
    position: relative;
    /* Optimized transition */
    transition: transform 0.3s ease;
    /* Performance optimization */
    will-change: transform;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white !important;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.service-price {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(90deg, #FF6B35, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.service-period {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.service-description {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    font-size: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    position: relative;
    z-index: 2;
}

.service-features li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.service-features li i {
    color: #FF6B35 !important;
    font-size: 14px;
}

.service-btn {
    background: linear-gradient(135deg, #FF6B35, #F59E0B);
    color: white !important;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 2;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F59E0B, #FF6B35);
    transition: left 0.4s ease;
    z-index: -1;
}

.service-btn:hover::before {
    left: 0;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    color: white !important;
    text-decoration: none;
}

/* Special styling for different service types */
.service-card.coworking .service-icon-container,
.service-card.coworking .service-icon-container::after {
    background: linear-gradient(135deg, #2E5BBA, #3B82F6);
}

.service-card.bureau .service-icon-container,
.service-card.bureau .service-icon-container::after {
    background: linear-gradient(135deg, #7C3AED, #A855F7);
}

.service-card.salle .service-icon-container,
.service-card.salle .service-icon-container::after {
    background: linear-gradient(135deg, #059669, #10B981);
}

.service-card.formation .service-icon-container,
.service-card.formation .service-icon-container::after {
    background: linear-gradient(135deg, #DC2626, #EF4444);
}

.service-card.coaching .service-icon-container,
.service-card.coaching .service-icon-container::after {
    background: linear-gradient(135deg, #EA580C, #F97316);
}

.service-card.evenements .service-icon-container,
.service-card.evenements .service-icon-container::after {
    background: linear-gradient(135deg, #9333EA, #C084FC);
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--gray-100);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 48px;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-content {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.testimonial-text p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 32px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 4px;
    color: var(--gray-900);
}

.author-info span {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.nav-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Contact Section */
.contact {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 48px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 8px;
    color: var(--gray-900);
}

.contact-text p {
    color: var(--gray-600);
    margin: 0;
}

.contact-form-wrapper {
    background: var(--gray-100);
    padding: 48px;
    border-radius: var(--radius-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo img {
    height: 32px;
}

.footer-logo span {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-section p {
    color: var(--gray-400);
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--gray-600);
    border-radius: var(--radius-md);
    background: var(--gray-800);
    color: var(--white);
}

.newsletter-form button {
    padding: 12px 16px;
    background: var(--primary-color);
    border: none;
    border-radius: var(--radius-md);
    color: var(--white);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.newsletter-form button:hover {
    background: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--gray-700);
    color: var(--gray-400);
}

/* Animations */
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes mouseWheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-15px) rotate(5deg);
    }
    66% {
        transform: translateY(-8px) rotate(-3deg);
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: var(--section-padding-mobile);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
        box-shadow: var(--shadow-xl);
        z-index: 9999;
        padding: 80px 20px 20px;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 32px;
        margin-bottom: 40px;
    }
    
    .nav-link {
        color: var(--white) !important;
        font-size: 1.5rem;
        font-weight: 600;
        padding: 16px 24px;
        border-radius: var(--radius-md);
        transition: all var(--transition-fast);
        text-decoration: none;
    }
    
    .nav-link::after {
        background: var(--accent-color);
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
        color: var(--accent-color) !important;
    }
    
    .nav-cta {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .nav-phone {
        color: var(--white) !important;
        font-size: 1.2rem;
        padding: 12px 24px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-md);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .nav-phone:hover {
        background: rgba(255, 255, 255, 0.2);
        color: var(--accent-color) !important;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 10000;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: var(--white);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
        background: var(--white);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: left;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 60px;
    }
    
    .about-visual {
        padding-left: 0;
    }
    
    .gallery-container {
        max-width: 100%;
        height: 400px;
        border-radius: 16px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .gallery-navigation {
        left: 15px;
        right: 15px;
    }
    
    .slide-content {
        padding: 40px 20px 20px;
    }
    
    .slide-content h3 {
        font-size: 1.2rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .gallery-counter {
        top: 15px;
        right: 15px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .testimonial-content {
        padding: 32px 24px;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .service-card {
        padding: 32px 24px;
    }
    
    .service-icon-container {
        width: 100px;
        height: 100px;
    }
    
    .service-icon {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
    
    .service-content {
        padding: 24px;
    }
    
    .testimonial-content {
        padding: 24px 16px;
    }
    
    .contact-form-wrapper {
        padding: 24px 16px;
    }
}

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

/* Print Styles */
@media print {
    .navbar,
    .hero,
    .loader,
    .scroll-indicator {
        display: none;
    }
}

/* ============================================================================
   FLOATING WHATSAPP BUTTON
   ============================================================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    animation: floatIn 0.8s ease-out;
}

.whatsapp-button {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 
        0 8px 25px rgba(37, 211, 102, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    animation: bounce 2s ease-in-out infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(37, 211, 102, 0.4),
        0 8px 25px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #128C7E, #25D366);
}

.whatsapp-button i {
    z-index: 2;
    position: relative;
    transition: transform 0.3s ease;
}

.whatsapp-button:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* WhatsApp Message Bubble */
.whatsapp-message {
    margin-bottom: 15px;
    opacity: 0;
    transform: translateX(20px);
    animation: messageSlideIn 1s ease-out 2s forwards;
}

.message-bubble {
    background: white;
    border-radius: 20px;
    padding: 16px 20px;
    position: relative;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.1),
        0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(37, 211, 102, 0.2);
    max-width: 280px;
    margin-right: 10px;
}

.message-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 25px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

.message-bubble p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.4;
    font-weight: 500;
}

.message-close {
    position: absolute;
    top: 8px;
    right: 12px;
    width: 20px;
    height: 20px;
    background: var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
}

.message-close:hover {
    background: var(--gray-300);
    transform: scale(1.1);
}

/* Animations */
@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes messageSlideIn {
    0% {
        opacity: 0;
        transform: translateX(20px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Hide message bubble after some time */
.whatsapp-message.hidden {
    opacity: 0;
    transform: translateX(20px) scale(0.8);
    transition: all 0.5s ease;
}

/* Pulse animation on hover */
.whatsapp-button:hover .ripple-effect {
    animation: ripple 1s ease-out infinite;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    
    .message-bubble {
        max-width: 220px;
        padding: 12px 16px;
        font-size: 0.85rem;
    }
}

/* Performance optimizations for smooth scrolling */
.services-active {
    will-change: transform;
}

.service-card.in-viewport {
    transform: translateZ(0); /* Force hardware acceleration */
}

/* Optimize hover effects for better performance */
.service-card.in-viewport:hover {
    transform: translateY(-8px) scale(1.02) translateZ(0);
}

/* Reduce motion for better performance on lower-end devices */
@media (max-width: 768px) {
    .service-card {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .service-card:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    .service-icon-container {
        transition: transform 0.2s ease;
    }
    
    .service-card:hover .service-icon-container {
        transform: scale(1.03);
    }
    
    /* Disable complex animations on mobile for better performance */
    .service-icon-container::before {
        animation: none;
    }
} 