/* ========================================
   LOADING SCREEN STYLES
   ======================================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease-out;
    overflow: hidden;
    animation: screenPulse 3s ease-in-out infinite;
}

/* Top-level screen animations */
@keyframes screenPulse {
    0%, 100% {
        background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    }
    50% {
        background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    }
}

/* Floating particles background */
.loading-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--primary-color), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--primary-color), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--primary-color), transparent),
        radial-gradient(1px 1px at 130px 80px, var(--primary-color), transparent),
        radial-gradient(2px 2px at 160px 30px, var(--primary-color), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleFloat 20s linear infinite;
    opacity: 0.1;
}

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

/* Animated background waves */
.loading-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(76, 175, 80, 0.03) 25%, 
        transparent 50%, 
        rgba(76, 175, 80, 0.03) 75%, 
        transparent 100%);
    animation: waveMove 8s ease-in-out infinite;
    opacity: 0.5;
}

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

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    padding: 2rem;
    animation: containerEntrance 1s ease-out, containerFloat 4s ease-in-out infinite 1s;
    transform-origin: center;
}

@keyframes containerEntrance {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(50px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0px);
    }
}

@keyframes containerFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(0.5deg);
    }
    50% {
        transform: translateY(-10px) rotate(0deg);
    }
    75% {
        transform: translateY(-5px) rotate(-0.5deg);
    }
}

.loading-logo {
    position: relative;
    animation: logoFloat 2s ease-in-out infinite, logoGlow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(76, 175, 80, 0.3));
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(76, 175, 80, 0.3)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(76, 175, 80, 0.6)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
    }
}

.loading-logo-img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-tertiary);
    border-top: 4px solid var(--primary-color);
    border-right: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite, spinnerPulse 2s ease-in-out infinite, spinnerGlow 3s ease-in-out infinite;
    position: relative;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

@keyframes spinnerPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes spinnerGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(76, 175, 80, 0.6), 0 0 40px rgba(76, 175, 80, 0.3);
    }
}

.loading-spinner::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite reverse;
    opacity: 0.6;
}

.loading-spinner::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    opacity: 0.4;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) scale(1) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) scale(1.02) rotate(1deg);
    }
    50% {
        transform: translateY(-15px) scale(1.05) rotate(0deg);
    }
    75% {
        transform: translateY(-8px) scale(1.02) rotate(-1deg);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Additional loading animations */
.loading-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 2s ease-out infinite, rippleRotate 10s linear infinite;
    opacity: 0.1;
}

.loading-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 2s ease-out infinite 0.5s, rippleRotate 10s linear infinite reverse;
    opacity: 0.1;
}

@keyframes rippleRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Additional floating elements */
.loading-screen .floating-element {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: floatElement 6s ease-in-out infinite;
}

.loading-screen .floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.loading-screen .floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.loading-screen .floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes floatElement {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) scale(1.5);
        opacity: 0.8;
    }
}

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

/* Dark mode loading screen */
[data-theme="dark"] .loading-screen {
    background: var(--bg-primary);
}

[data-theme="dark"] .loading-logo-img {
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.1));
}

[data-theme="dark"] .loading-spinner {
    border-color: var(--bg-tertiary);
    border-top-color: var(--primary-color);
    border-right-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.4);
}

[data-theme="dark"] .loading-spinner::before {
    border-top-color: var(--primary-color);
}

[data-theme="dark"] .loading-spinner::after {
    border-color: var(--primary-color);
}

[data-theme="dark"] .loading-container::before,
[data-theme="dark"] .loading-container::after {
    border-color: var(--primary-color);
}

/* Enhanced loading screen effects */
.loading-screen {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.loading-logo-img {
    transition: all 0.3s ease;
}

.loading-logo-img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 16px rgba(76, 175, 80, 0.3));
}

/* Loading text animation */
.loading-text {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    margin-top: 1rem;
    animation: fadeInOut 2s ease-in-out infinite;
    opacity: 0.7;
}

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

/* Mobile responsiveness */
@media (max-width: 768px) {
    .loading-logo-img {
        width: 100px;
    }
    
    .loading-spinner {
        width: 40px;
        height: 40px;
    }
    
    .loading-container {
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .loading-container::before {
        width: 80px;
        height: 80px;
    }
    
    .loading-container::after {
        width: 60px;
        height: 60px;
    }
}

/* ========================================
   CSS RESET AND BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Vibrant Green Color Scheme */
    --primary-color: #4CAF50;
    --primary-dark: #45a049;
    --secondary-color: #2d3436;
    --accent-color: #4CAF50;
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --text-light: #74b9ff;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --bg-dark-green: #1e7e34;
    --border-color: #e9ecef;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    --gradient-secondary: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    --gradient-accent: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    --gradient-hero: linear-gradient(135deg, #ffffff 0%, #e8f5e8 50%, #c8e6c9 100%);
    --gradient-background: linear-gradient(135deg, #ffffff 0%, #e8f5e8 50%, #c8e6c9 100%);
}

[data-theme="dark"] {
    /* Dark Mode Colors - Vibrant Green Theme */
    --primary-color: #4CAF50;
    --primary-dark: #45a049;
    --secondary-color: #2d362d;
    --accent-color: #4CAF50;
    --text-primary: #ffffff;
    --text-secondary: #b2bec3;
    --text-light: #74b9ff;
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-tertiary: #21262d;
    --border-color: #30363d;
    --shadow-light: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.4);
    --shadow-dark: rgba(0, 0, 0, 0.6);
    --gradient-primary: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    --gradient-secondary: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    --gradient-accent: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    --gradient-hero: linear-gradient(135deg, #0d1117 0%, #1a2f1a 50%, #2d5a2d 100%);
    --gradient-background: linear-gradient(135deg, #0d1117 0%, #1a2f1a 50%, #2d5a2d 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--gradient-background);
    transition: all 0.3s ease;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   NAVIGATION - BASE STYLES
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: navbarFadeIn 0.8s ease-out;
}

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

[data-theme="dark"] .navbar {
    background: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .contact-dropdown-content {
    background: rgba(13, 17, 23, 0.98);
    border: 1px solid rgba(76, 175, 80, 0.2);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 10px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .contact-item {
    border-bottom: 1px solid rgba(76, 175, 80, 0.15);
}

[data-theme="dark"] .contact-item:hover {
    background: rgba(76, 175, 80, 0.1);
    box-shadow: 
        0 8px 25px rgba(76, 175, 80, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    position: relative;
    flex-wrap: nowrap;
    gap: 10px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    animation: logoSlideIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both;
}

/* Hide mobile menu logo on desktop */
.mobile-menu-logo {
    display: none;
}

@keyframes logoSlideIn {
    0% {
        opacity: 0;
        transform: translateX(100px) translateY(-50px);
    }
    50% {
        opacity: 0.7;
        transform: translateX(-10px) translateY(5px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

.logo-img {
    height: 55px;
    width: auto;
    transition: all 0.3s ease;
    animation: logoBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1.7s both;
}

@keyframes logoBounce {
    0% {
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: nowrap;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    flex-shrink: 0;
    width: auto;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(76, 175, 80, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--primary-color);
    transform: translateY(-2px) scale(1.05);
    position: relative;
    font-weight: 800;
    font-size: 0.98rem;
    text-shadow: 0 1px 2px rgba(76, 175, 80, 0.3);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #00d4aa);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
    animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes underlineGlow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
        transform: translateX(-50%) scaleX(1);
    }
    50% {
        box-shadow: 0 4px 12px rgba(76, 175, 80, 0.6);
        transform: translateX(-50%) scaleX(1.05);
    }
}


/* Action Buttons Section */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-right: 1.5rem;
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: actionsFloatIn 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.5s both;
}

@keyframes actionsFloatIn {
    0% {
        opacity: 0;
        transform: translateX(30px) rotateY(-45deg) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotateY(0deg) scale(1);
    }
}

/* Mobile Actions - Hidden on Desktop */
.mobile-actions {
    display: none;
}

/* ========================================
   MOBILE SOCIAL MEDIA LINKS - MOBILE ONLY
   ======================================== */

/* Hide social media links on desktop */
.mobile-social-links {
    display: none;
}

.mobile-social-links h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 35px 0 20px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    position: relative;
}

.mobile-social-links h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.social-links-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    max-width: 300px;
    margin: 0 auto;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.social-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    pointer-events: none;
}

.social-link:hover::after {
    width: 100px;
    height: 100px;
}

.social-link i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.social-link:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* Facebook - Original Brand Colors */
.social-link.facebook i {
    color: #1877f2;
}

.social-link.facebook::before {
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
}

.social-link.facebook:hover::before {
    opacity: 1;
}

.social-link.facebook:hover {
    box-shadow: 0 15px 35px rgba(24, 119, 242, 0.4);
    border-color: #1877f2;
}

.social-link.facebook:hover i {
    color: white;
}

.social-link.facebook:hover::after {
    background: rgba(24, 119, 242, 0.1);
}

/* Instagram - Original Brand Colors */
.social-link.instagram i {
    background: linear-gradient(135deg, #e1306c 0%, #fd1d1d 25%, #fcb045 75%, #833ab4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-link.instagram::before {
    background: linear-gradient(135deg, #e1306c 0%, #fd1d1d 25%, #fcb045 75%, #833ab4 100%);
}

.social-link.instagram:hover::before {
    opacity: 1;
}

.social-link.instagram:hover {
    box-shadow: 0 15px 35px rgba(225, 48, 108, 0.4);
    border-color: #e1306c;
}

.social-link.instagram:hover i {
    -webkit-text-fill-color: white;
    color: white;
}

.social-link.instagram:hover::after {
    background: rgba(225, 48, 108, 0.1);
}

/* WhatsApp - Original Brand Colors */
.social-link.whatsapp i {
    color: #25d366;
}

.social-link.whatsapp::before {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.social-link.whatsapp:hover::before {
    opacity: 1;
}

.social-link.whatsapp:hover {
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
    border-color: #25d366;
}

.social-link.whatsapp:hover i {
    color: white;
}

.social-link.whatsapp:hover::after {
    background: rgba(37, 211, 102, 0.1);
}

/* Dark mode support for social media links */
[data-theme="dark"] .mobile-social-links h4 {
    color: var(--text-primary);
    opacity: 0.95;
}

[data-theme="dark"] .mobile-social-links h4::after {
    background: var(--gradient-primary);
}

[data-theme="dark"] .social-link {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

[data-theme="dark"] .social-link:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

/* Modern Button Styles */
.btn-modern {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.12),
        0 3px 8px rgba(0, 0, 0, 0.08);
    min-width: 120px;
    height: 42px;
    animation: buttonSlideIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.btn-modern:nth-child(1) { animation-delay: 1.6s; }
.btn-modern:nth-child(2) { animation-delay: 1.7s; }

@keyframes buttonSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) rotateX(-30deg) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
    }
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2), transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
}

.btn-modern:hover::before {
    transform: translateX(100%);
}

.btn-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    transition: all 0.3s ease;
}

.btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

/* Mon espace Button (Blue/Purple Gradient) */
.btn-space {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-space .btn-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-space:hover {
    transform: 
        translateY(-3px) 
        translateZ(10px) 
        rotateX(10deg) 
        rotateY(5deg) 
        scale(1.05);
    box-shadow: 
        0 15px 35px rgba(102, 126, 234, 0.4),
        0 8px 20px rgba(118, 75, 162, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-space:hover .btn-bg {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: scale(1.05);
}

.btn-space:active {
    transform: translateY(-1px) rotateX(5deg) rotateY(2deg);
    transition: all 0.1s ease;
}

/* S'inscrire Button (Green/Teal Gradient) */
.btn-register {
    background: linear-gradient(135deg, #4CAF50 0%, #00d4aa 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-register .btn-bg {
    background: linear-gradient(135deg, #4CAF50 0%, #00d4aa 100%);
}

.btn-register:hover {
    transform: 
        translateY(-3px) 
        translateZ(10px) 
        rotateX(10deg) 
        rotateY(-5deg) 
        scale(1.05);
    box-shadow: 
        0 15px 35px rgba(76, 175, 80, 0.4),
        0 8px 20px rgba(0, 212, 170, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-register:hover .btn-bg {
    background: linear-gradient(135deg, #45a049 0%, #00c4a0 100%);
    transform: scale(1.05);
}

.btn-register:active {
    transform: translateY(-1px) rotateX(5deg) rotateY(-2deg);
    transition: all 0.1s ease;
}

/* Button Icons */
.btn-modern i {
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-right: 6px;
}

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

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

/* Button Text */
.btn-text {
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-modern:hover .btn-text {
    transform: translateX(2px);
}

/* Ripple Effect */
.btn-modern::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 1;
}

.btn-modern:active::after {
    width: 300px;
    height: 300px;
}

/* Focus States */
.btn-modern:focus {
    outline: none;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 4px 10px rgba(0, 0, 0, 0.1),
        0 0 0 3px rgba(76, 175, 80, 0.3);
}

.btn-space:focus {
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 4px 10px rgba(0, 0, 0, 0.1),
        0 0 0 3px rgba(102, 126, 234, 0.3);
}

/* Contact Dropdown */
.nav-contact {
    display: flex;
    align-items: center;
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: contactFloatIn 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.3s both;
    flex-shrink: 0;
}

@keyframes contactFloatIn {
    0% {
        opacity: 0;
        transform: translateX(50px) rotateY(90deg) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotateY(0deg) scale(1);
    }
}

.contact-dropdown {
    position: relative;
}

.contact-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 6px 20px rgba(76, 175, 80, 0.3),
        0 2px 8px rgba(0, 212, 170, 0.2);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.contact-trigger::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;
}

.contact-trigger:hover {
    transform: 
        translateY(-3px) 
        translateZ(10px) 
        rotateX(5deg) 
        scale(1.05);
    box-shadow: 
        0 12px 30px rgba(76, 175, 80, 0.4),
        0 6px 15px rgba(0, 212, 170, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-trigger:hover::before {
    left: 100%;
}

.contact-trigger i:first-child {
    font-size: 1rem;
}

.contact-trigger i:last-child {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.contact-dropdown.active .contact-trigger i:last-child {
    transform: rotate(180deg);
}

.contact-dropdown-content {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    min-width: 360px;
    background: var(--bg-primary);
    border-radius: 25px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 10px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) rotateX(-15deg) scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.contact-dropdown.active .contact-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) rotateX(0deg) scale(1);
    animation: dropdownSlideIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes dropdownSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) rotateX(-15deg) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 20px;
    border-bottom: 1px solid rgba(76, 175, 80, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: contactItemSlideIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }
.contact-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes contactItemSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px) rotateY(-20deg) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotateY(0deg) scale(1);
    }
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05), rgba(0, 212, 170, 0.05));
    opacity: 0;
    transform: scale(0.95) rotateX(-5deg);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.contact-item:hover::before {
    opacity: 1;
    transform: scale(1) rotateX(0deg);
}

.contact-item:hover {
    background: rgba(76, 175, 80, 0.08);
    transform: translateX(8px) translateZ(5px) rotateY(2deg);
    box-shadow: 
        0 8px 25px rgba(76, 175, 80, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contact-item i {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 
        0 8px 20px rgba(76, 175, 80, 0.3),
        0 4px 10px rgba(0, 212, 170, 0.2);
    position: relative;
    z-index: 2;
}

.contact-item:hover i {
    transform: 
        scale(1.1) 
        rotateY(10deg) 
        rotateX(5deg) 
        translateZ(5px);
    box-shadow: 
        0 12px 25px rgba(76, 175, 80, 0.4),
        0 6px 15px rgba(0, 212, 170, 0.3);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { 
        transform: scale(1.1) rotateY(10deg) rotateX(5deg) translateZ(5px);
    }
    50% { 
        transform: scale(1.15) rotateY(12deg) rotateX(7deg) translateZ(8px);
    }
}

.contact-icon-link {
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact-icon-link:hover {
    transform: scale(1.05);
}

.contact-icon-link i {
    cursor: pointer;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.contact-item:hover div {
    transform: translateX(5px);
}

.contact-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-label {
    color: var(--primary-color);
    text-shadow: 0 1px 2px rgba(76, 175, 80, 0.2);
}

.contact-value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    display: inline-block;
}

.contact-value:hover {
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
    transform: translateX(2px);
}

.contact-item:hover .contact-value {
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
    transform: translateX(2px);
}

.contact-item:active {
    transform: translateX(4px) translateZ(2px) rotateY(1deg) scale(0.98);
    box-shadow: 
        0 4px 15px rgba(76, 175, 80, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Clickable indicator */
.contact-item::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid var(--primary-color);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    opacity: 0;
    transition: all 0.3s ease;
}

.contact-item:hover::after {
    opacity: 0.7;
    transform: translateY(-50%) translateX(2px);
}

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}


/* ========================================
   HERO SECTION - BASE STYLES
   ======================================== */
.hero {
    padding: 125px 0 80px;
    background-image: url('images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    /* Ensure hero section stays visible and doesn't move on scroll */
    transform: translateY(0) !important;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 4;
}

.hero-slide {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Full screen background for first slide with bg2.png */
.hero-slide:first-child {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

.hero-slide:first-child.active {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
}

.hero-slide:first-child .hero-container {
    position: relative;
    z-index: 10;
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-slide:first-child .hero-content {
    text-align: left;
    max-width: 600px;
}

.hero-slide:first-child .hero-title {
    text-align: left;
    font-weight: 900;
    font-size: 4.5rem;
}

.hero-slide:first-child .hero-description {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.hero-slide:first-child .hero-buttons {
    justify-content: flex-start;
}

.hero-slide:first-child .hero-stats {
    justify-content: flex-start;
}

/* Dark mode styling for first slide */
[data-theme="dark"] .hero-slide:first-child .hero-title {
    color: #000000;
}

[data-theme="dark"] .hero-slide:first-child .hero-description {
    color: #666666;
}

/* Special handling for active digital slide */
.hero-slide-digital.active {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1 !important;
}

.hero-slide.prev {
    transform: translateX(-100%);
}

/* Slider Navigation Arrows */
.slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
    pointer-events: none;
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    font-size: 18px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    pointer-events: all;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.slider-arrow:active {
    transform: scale(0.95);
}

.slider-arrow-left {
    left: 30px;
}

.slider-arrow-right {
    right: 30px;
}

/* Dark Mode - Slider Arrows */
[data-theme="dark"] .slider-arrow {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #000000;
}

[data-theme="dark"] .slider-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Mobile adjustments for arrows */
@media (max-width: 768px) {
    .slider-arrows {
        padding: 0 20px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-arrow-left {
        left: 20px;
    }
    
    .slider-arrow-right {
        right: 20px;
    }
}


/* Delivery Motorcycle Progress - Enhanced 3D */
.delivery-motorcycle {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    height: 80px;
    z-index: 10;
    perspective: 1000px;
}

/* Mobile full-screen adjustments for motorcycle */
@media (max-width: 768px) {
    .delivery-motorcycle {
        bottom: 20px;
        width: 95%;
        max-width: 400px;
        height: 50px;
    }
    
    .motorcycle-track {
        height: 40px;
    }
    
    .motorcycle {
        width: 40px;
        height: 40px;
    }
    
    .motorcycle i {
        font-size: 16px;
    }
}

.motorcycle-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.track-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
    transform: translateY(-50%);
}

.motorcycle {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        #45a049 50%, 
        #2e7d32 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 15px rgba(76, 175, 80, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2);
    transition: left 0.1s linear, transform 0.2s ease;
    z-index: 2;
}

.motorcycle i {
    color: white;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: bounce3D 0.8s ease-in-out infinite alternate;
}

@keyframes motorcycle3D {
    0%, 100% { 
        transform: translateY(-50%) rotateY(0deg) rotateX(0deg);
    }
    25% { 
        transform: translateY(-50%) rotateY(5deg) rotateX(2deg);
    }
    50% { 
        transform: translateY(-50%) rotateY(0deg) rotateX(0deg);
    }
    75% { 
        transform: translateY(-50%) rotateY(-5deg) rotateX(-2deg);
    }
}

@keyframes bounce3D {
    0% { 
        transform: translateY(0px) rotateZ(0deg);
    }
    100% { 
        transform: translateY(-3px) rotateZ(2deg);
    }
}

/* Enhanced exhaust effect with 3D */
.motorcycle::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    border-radius: 50%;
    animation: exhaust3D 0.6s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

@keyframes exhaust3D {
    0%, 100% { 
        opacity: 0.8; 
        transform: translateY(-50%) scale(1) rotateZ(0deg);
    }
    50% { 
        opacity: 0.4; 
        transform: translateY(-50%) scale(1.3) rotateZ(180deg);
    }
}

/* Additional 3D effects */
.motorcycle::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 50%, 
        rgba(0, 0, 0, 0.1) 100%);
    border-radius: 50%;
    z-index: -1;
    animation: glow3D 3s ease-in-out infinite;
}

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

/* Track progress indicator */
.motorcycle-track::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        transparent 100%);
    border-radius: 1px;
    transform: translateY(-50%);
    opacity: 0.5;
    animation: trackGlow 2s ease-in-out infinite;
}

@keyframes trackGlow {
    0%, 100% { 
        opacity: 0.3; 
        box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
    }
    50% { 
        opacity: 0.7; 
        box-shadow: 0 0 15px rgba(76, 175, 80, 0.6);
    }
}

/* Delivery Package Styles - Simple */
.delivery-package {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 15;
}

.delivery-package i {
    font-size: 20px;
    color: var(--primary-color);
    animation: simpleBounce 1s ease-in-out infinite;
}

.delivery-text {
    font-size: 8px;
    font-weight: 500;
    color: var(--primary-color);
    margin-top: 2px;
    text-align: center;
}

@keyframes simpleBounce {
    0%, 100% { 
        transform: translateY(0px);
    }
    50% { 
        transform: translateY(-5px);
    }
}

/* Package collision animation when motorcycle touches it */
.delivery-package.collision {
    animation: packageCollision 0.8s ease-out;
}

@keyframes packageCollision {
    0% { 
        transform: translateY(-50%) scale(1) rotateZ(0deg);
    }
    25% { 
        transform: translateY(-50%) scale(1.3) rotateZ(10deg);
    }
    50% { 
        transform: translateY(-50%) scale(1.1) rotateZ(-5deg);
    }
    75% { 
        transform: translateY(-50%) scale(1.2) rotateZ(5deg);
    }
    100% { 
        transform: translateY(-50%) scale(1) rotateZ(0deg);
    }
}

/* Package celebration animation after collision */
.delivery-package.celebrate {
    animation: packageCelebrate 1.5s ease-out;
}

@keyframes packageCelebrate {
    0% { 
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
    20% { 
        transform: translateY(-50%) scale(1.4);
        opacity: 0.9;
    }
    40% { 
        transform: translateY(-50%) scale(1.2);
        opacity: 1;
    }
    60% { 
        transform: translateY(-50%) scale(1.3);
        opacity: 0.95;
    }
    80% { 
        transform: translateY(-50%) scale(1.1);
        opacity: 1;
    }
    100% { 
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .delivery-package {
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }
    
    .delivery-package i {
        font-size: 16px;
    }
    
    .delivery-text {
        font-size: 7px;
    }
}

/* Enhanced floating cards animation for slider */
.hero-slide .floating-card {
    animation: floatCard 6s ease-in-out infinite;
}

.hero-slide .floating-card:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide .floating-card:nth-child(2) {
    animation-delay: 2s;
}

.hero-slide .floating-card:nth-child(3) {
    animation-delay: 4s;
}

/* Slide transition animations */
.hero-slide .hero-content {
    animation: slideInLeft 0.8s ease-out;
}

.hero-slide .hero-visual {
    animation: slideInRight 0.8s ease-out;
}

.hero-slide.active .hero-content {
    animation: slideInLeft 0.8s ease-out;
}

.hero-slide.active .hero-visual {
    animation: slideInRight 0.8s ease-out;
}

/* Digital Solution Slide Background */
.hero-slide-digital {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

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

/* Dark overlay removed for original image colors */

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    filter: none;
    z-index: 1;
}

/* Mobile and tablet background image */
@media (max-width: 1023px) {
    .hero-bg-image {
        display: none;
    }
    
    .hero-slide-bg {
        background-image: url('images/bg_phone_tablette.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    /* First slide uses bg2.png on mobile/tablet */
    .hero-slide:first-child .hero-slide-bg {
        background-image: url('images/bg_phone_tablette2.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

/* Tablet/iPad specific styling for first slide */
@media (max-width: 1023px) and (min-width: 768px) {
    .hero-slide:first-child .hero-container {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-slide:first-child .hero-content {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .hero-slide:first-child .hero-title {
        text-align: center;
        font-weight: 900;
        font-size: 4.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-slide:first-child .hero-description {
        text-align: center;
        margin: 0 auto 2rem;
        font-size: 1.15rem;
        max-width: 600px;
    }
    
    .hero-slide:first-child .hero-buttons {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero-slide:first-child .hero-stats {
        justify-content: center;
        gap: 2.5rem;
        flex-wrap: wrap;
    }
}

/* Additional iPad specific media queries to ensure proper tablet behavior */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
    .hero-slide:first-child .hero-container {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-slide:first-child .hero-content {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .hero-slide:first-child .hero-title {
        text-align: center;
        font-weight: 900;
        font-size: 4.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-slide:first-child .hero-description {
        text-align: center;
        margin: 0 auto 2rem;
        font-size: 1.15rem;
        max-width: 600px;
    }
    
    .hero-slide:first-child .hero-buttons {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero-slide:first-child .hero-stats {
        justify-content: center;
        gap: 2.5rem;
        flex-wrap: wrap;
    }
}

/* iPad Pro and larger tablets */
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) {
    .hero-slide:first-child .hero-container {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-slide:first-child .hero-content {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .hero-slide:first-child .hero-title {
        text-align: center;
        font-weight: 900;
        font-size: 4.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-slide:first-child .hero-description {
        text-align: center;
        margin: 0 auto 2rem;
        font-size: 1.2rem;
        max-width: 600px;
    }
    
    .hero-slide:first-child .hero-buttons {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero-slide:first-child .hero-stats {
        justify-content: center;
        gap: 2.5rem;
        flex-wrap: wrap;
    }
}

/* Mobile phone specific styling for first slide */
@media (max-width: 767px) {
    .hero-slide:first-child .hero-container {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-slide:first-child .hero-content {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .hero-slide:first-child .hero-title {
        text-align: center;
        font-weight: 900;
        font-size: 2.8rem;
        margin-bottom: 1rem;
        line-height: 1.1;
    }
    
    .hero-slide:first-child .hero-description {
        text-align: center;
        margin: 0 auto 1.5rem;
        font-size: 1rem;
        max-width: 100%;
        line-height: 1.5;
    }
    
    .hero-slide:first-child .hero-buttons {
        justify-content: center;
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-slide:first-child .hero-stats {
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
}

.hero-slide-digital .hero-container {
    position: relative;
    z-index: 10;
    padding-top: 100px; /* Account for navbar height */
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Digital Devices Visual - Removed */

/* Override hero positioning for digital slide */
.hero-slide-digital {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
}

/* Ensure the hero container content is properly positioned */
.hero-slide-digital .hero-container {
    position: relative;
    z-index: 10;
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    padding-left: 5%;
}

    .hero-slide-digital .hero-content {
        text-align: left;
        max-width: 600px;
        margin: 0;
        padding-top: 2rem;
    }
    
    /* Position the "Découvrir la solution" button in normal flow for tablet and mobile */
    .hero-slide-digital .hero-buttons {
        position: static;
        transform: none;
        z-index: auto;
        width: auto;
        max-width: none;
    }
    
    .hero-slide-digital .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 16px 32px;
        font-size: 1rem;
        border-radius: 50px;
        background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
        border: none;
        box-shadow: 
            0 0 20px rgba(76, 175, 80, 0.6),
            0 0 40px rgba(76, 175, 80, 0.3),
            0 8px 25px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
    }
    
    .hero-slide-digital .hero-buttons .btn:hover {
        transform: translateY(-2px);
        box-shadow: 
            0 0 25px rgba(76, 175, 80, 0.8),
            0 0 50px rgba(76, 175, 80, 0.4),
            0 12px 35px rgba(0, 0, 0, 0.2);
    }
    
    /* Adjust button positioning for mobile portrait */
    @media (max-width: 480px) {
        .hero-slide-digital .hero-buttons {
            position: static;
            width: auto;
            max-width: none;
        }
        
        .hero-slide-digital .hero-buttons .btn {
            padding: 14px 28px;
            font-size: 0.95rem;
            border-radius: 50px;
            background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
            border: none;
            box-shadow: 
                0 0 18px rgba(76, 175, 80, 0.6),
                0 0 35px rgba(76, 175, 80, 0.3),
                0 6px 20px rgba(0, 0, 0, 0.15);
        }
    }

.hero-slide-digital .hero-visual {
    display: none; /* Hide the visual section since we only want text */
}

/* Digital slide title sizing */
.hero-slide-digital .title-main {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--text-primary);
    display: block;
    line-height: 1.1;
    text-align: left;
}

.hero-slide-digital .title-secondary {
    font-size: 4.5rem;
    font-weight: 600;
    display: block;
    line-height: 1.1;
    margin-top: 0.5rem;
    text-align: left;
}

/* Desktop styles - keep button in normal position */
@media (min-width: 1024px) {
    .hero-slide-digital .hero-buttons {
        position: static !important;
        transform: none !important;
        width: auto !important;
        max-width: none !important;
        z-index: auto !important;
    }
    
    .hero-slide-digital .hero-buttons .btn {
        width: auto !important;
        justify-content: flex-start !important;
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.9) 50%, rgba(233, 236, 239, 0.85) 100%);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(76, 175, 80, 0.02) 50%, rgba(76, 175, 80, 0.08) 100%);
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

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

.hero-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #2E7D32 0%, #388E3C 50%, #4CAF50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

/* Dark mode - Green gradient for better visibility */
[data-theme="dark"] .gradient-text {
    background: linear-gradient(135deg, #317633 0%, #12a219 50%, #54fd5c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 1000;
    animation: gradientShift 3s ease-in-out infinite;
}

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

.hero-description {
    font-size: 1rem;
    color: #333333;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

.brand-name {
    font-weight: 900;
    font-size: 1.5em;
    background: linear-gradient(135deg, #07b538 0%, #082b12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text {
    font-weight: 900;
    font-size: 1.2em;
    color: #000000;
    text-shadow: 0 1px 2px rgba(49, 254, 131, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::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:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 212, 170, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-visual {
    position: relative;
    height: 500px;
    animation: slideInRight 1s ease-out;
}

/* Solution Image Container */
.solution-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.solution-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    image-rendering: optimize-quality;
    filter: contrast(1.1) brightness(1.05) saturate(1.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, filter;
    backface-visibility: hidden;
    transform: translateZ(0);
    border-radius: 12px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.08),
        0 12px 25px rgba(0, 0, 0, 0.04),
        0 6px 12px rgba(0, 0, 0, 0.02);
}

.solution-image:hover {
    transform: translateY(-8px) scale(1.03) translateZ(0);
    filter: contrast(1.15) brightness(1.08) saturate(1.15);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.12),
        0 18px 35px rgba(0, 0, 0, 0.06),
        0 9px 18px rgba(0, 0, 0, 0.03);
}

.solution-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    overflow: hidden;
}

.solution-image-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(76, 175, 80, 0.1) 0%, 
        rgba(0, 212, 170, 0.08) 25%, 
        rgba(76, 175, 80, 0.06) 50%, 
        rgba(0, 212, 170, 0.08) 75%, 
        rgba(76, 175, 80, 0.1) 100%);
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.solution-image-container:hover::before {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floating-card {
    position: absolute;
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px var(--shadow-medium);
    border: 1px solid var(--border-color);
    animation: floatCard 6s ease-in-out infinite;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.card-1 {
    top: 50px;
    right: 50px;
    animation-delay: 0s;
}

.card-2 {
    top: 200px;
    right: 150px;
    animation-delay: 2s;
}

.card-3 {
    top: 350px;
    right: 80px;
    animation-delay: 4s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.5rem;
}

.card-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Scroll Down Arrow */
.scroll-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    animation: scrollArrowFloat 3s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
}

.scroll-arrow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.scroll-arrow-container:hover {
    transform: translateY(-5px) scale(1.1);
}

.scroll-arrow-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 
        0 8px 25px rgba(76, 175, 80, 0.3),
        0 4px 15px rgba(0, 212, 170, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.scroll-arrow-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3), transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.scroll-arrow-container:hover .scroll-arrow-icon::before {
    transform: translateX(100%);
}

.scroll-arrow-container:hover .scroll-arrow-icon {
    transform: 
        scale(1.1) 
        rotateX(10deg) 
        rotateY(5deg) 
        translateZ(10px);
    box-shadow: 
        0 15px 35px rgba(76, 175, 80, 0.4),
        0 8px 20px rgba(0, 212, 170, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.scroll-arrow-text {
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.scroll-arrow-container:hover .scroll-arrow-text {
    opacity: 1;
    transform: translateY(-2px);
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(76, 175, 80, 0.2);
}

@keyframes scrollArrowFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0px);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Dark mode scroll arrow */
[data-theme="dark"] .scroll-arrow-icon {
    background: var(--gradient-primary);
    box-shadow: 
        0 8px 25px rgba(76, 175, 80, 0.4),
        0 4px 15px rgba(0, 212, 170, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .scroll-arrow-container:hover .scroll-arrow-icon {
    box-shadow: 
        0 15px 35px rgba(76, 175, 80, 0.5),
        0 8px 20px rgba(0, 212, 170, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .scroll-arrow-text {
    color: var(--text-primary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .scroll-arrow-container:hover .scroll-arrow-text {
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

/* Scroll Up Arrow */
.scroll-up-arrow {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-up-arrow.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-up-arrow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.scroll-up-arrow-container:hover {
    transform: translateY(-3px) scale(1.05);
}

.scroll-up-arrow-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 
        0 6px 20px rgba(76, 175, 80, 0.3),
        0 3px 12px rgba(0, 212, 170, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.scroll-up-arrow-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3), transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.scroll-up-arrow-container:hover .scroll-up-arrow-icon::before {
    transform: translateX(100%);
}

.scroll-up-arrow-container:hover .scroll-up-arrow-icon {
    transform: 
        scale(1.1) 
        rotateX(-10deg) 
        rotateY(5deg) 
        translateZ(8px);
    box-shadow: 
        0 12px 30px rgba(76, 175, 80, 0.4),
        0 6px 18px rgba(0, 212, 170, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.scroll-up-arrow-text {
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.scroll-up-arrow-container:hover .scroll-up-arrow-text {
    opacity: 1;
    transform: translateY(-1px);
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(76, 175, 80, 0.2);
}

/* Dark mode scroll up arrow */
[data-theme="dark"] .scroll-up-arrow-icon {
    background: var(--gradient-primary);
    box-shadow: 
        0 6px 20px rgba(76, 175, 80, 0.4),
        0 3px 12px rgba(0, 212, 170, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .scroll-up-arrow-container:hover .scroll-up-arrow-icon {
    box-shadow: 
        0 12px 30px rgba(76, 175, 80, 0.5),
        0 6px 18px rgba(0, 212, 170, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .scroll-up-arrow-text {
    color: var(--text-primary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .scroll-up-arrow-container:hover .scroll-up-arrow-text {
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Delivery Animation Title */
.delivery-animated-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    animation: titleSlideIn 1s ease-out;
    position: relative;
    overflow: hidden;
}

.delivery-animated-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

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

.delivery-icon {
    font-size: 2rem;
    display: inline-block;
    animation: deliveryBounce 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.delivery-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 2s ease-out infinite;
}


@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 40px;
        height: 40px;
        opacity: 0;
    }
}

.delivery-icon {
    animation: packageDrop 2.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Keyframes for delivery animations */
@keyframes titleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes deliveryBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(-5deg);
    }
    50% {
        transform: translateY(-5px) rotate(0deg);
    }
    75% {
        transform: translateY(-8px) rotate(5deg);
    }
}

/* Package drop animation */
@keyframes packageDrop {
    0% {
        transform: translateY(-15px) rotate(0deg);
    }
    50% {
        transform: translateY(5px) rotate(10deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Hover effects for delivery icons */
.delivery-icon:hover {
    animation-play-state: paused;
    transform: scale(1.3) rotate(10deg);
    transition: all 0.3s ease;
    filter: drop-shadow(0 5px 15px rgba(37, 211, 102, 0.4));
}

.delivery-icon:hover::after {
    animation: ripple 0.6s ease-out infinite;
}

/* Additional particle effects */
.delivery-animated-title::after {
    content: '✨';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1rem;
    animation: sparkle 2s ease-in-out infinite;
    z-index: 3;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}

/* Responsive adjustments for delivery title */
@media (max-width: 768px) {
    .delivery-animated-title {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .delivery-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .delivery-icon {
        font-size: 1.2rem;
    }
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Services Title Container - Image Style */
.services-title-container {
    text-align: center;
    margin-bottom: 4rem;
}

.services-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: capitalize;
}

.services-main-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    font-family: 'Oswald', sans-serif;
}

.services-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: -0.5rem;
    position: relative;
    padding: 2rem;
    background: transparent;
    border-radius: 20px;
    border: none;
    box-shadow: none;
    overflow: hidden;
}

.services-logo-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.services-logo-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

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

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

.services-logo {
    max-height: 80px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    position: relative;
    z-index: 2;
}

.services-logo-container:hover .services-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 16px rgba(76, 175, 80, 0.3));
}

.services-logo-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.2);
}

.services-main-title .services-description {
    font-size: 1.7rem;
    font-weight: 500;
    color: #004d00;
    text-transform: lowercase;
    line-height: 1.4;
    font-family: 'Zalando Sans Expanded', sans-serif;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

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

.services-logo-container:hover + .services-main-title .services-description {
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.brand-name-white {
    color: #000000;
    text-transform: capitalize;
}

.brand-name-orange {
    color: var(--primary-color);
    text-transform: capitalize;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-primary);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   SERVICES SECTION - BASE STYLES
   ======================================== */
.services {
    padding: 100px 0 80px 0;
    background: var(--bg-primary);
    background-image: url('images/bg_service.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 40px;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(76, 175, 80, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(76, 175, 80, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background: var(--bg-primary);
    padding: 0;
    border-radius: 24px;
    border: 1px solid rgba(76, 175, 80, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    height: 350px;
    display: flex;
    flex-direction: column;
}

.service-card-large {
    height: 420px;
}


.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(76, 175, 80, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

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

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    margin: 24px 0 0 24px;
    position: relative;
    z-index: 3;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(76, 175, 80, 0.4);
    position: relative;
    z-index: 2;
}

/* Service Content - Top Left Layout */
.service-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.3;
    position: relative;
    z-index: 3;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 3;
    flex: 1;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    font-size: 0.9rem;
    align-self: flex-start;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.service-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
    background: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.3);
    gap: 12px;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(3px);
}

/* ========================================
   ABOUT SECTION - BASE STYLES
   ======================================== */
.about {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(76, 175, 80, 0.03) 0%, 
        transparent 50%, 
        rgba(76, 175, 80, 0.03) 100%);
    animation: aboutBackgroundFlow 20s ease-in-out infinite;
}

@keyframes aboutBackgroundFlow {
    0%, 100% {
        transform: translateX(0) translateY(0);
        opacity: 0.3;
    }
    25% {
        transform: translateX(20px) translateY(-10px);
        opacity: 0.6;
    }
    50% {
        transform: translateX(-10px) translateY(20px);
        opacity: 0.4;
    }
    75% {
        transform: translateX(15px) translateY(-15px);
        opacity: 0.5;
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text {
    animation: aboutTextSlideIn 1.2s ease-out;
}

@keyframes aboutTextSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-badge {
    display: inline-block;
    background: var(--gradient-accent);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    animation: badgePulse 3s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(76, 175, 80, 0.4);
    }
}

.about-text h2 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 4s ease-in-out infinite;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: none;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.logo-r {
    height: 4rem;
    width: auto;
    vertical-align: middle;
    display: inline-block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-r:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

@keyframes titleGlow {
    0%, 100% {
        filter: none;
    }
    50% {
        filter: none;
    }
}

.about-text h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-color);
    animation: subtitleFloat 3s ease-in-out infinite;
    line-height: 1.2;
}

@keyframes subtitleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.about-text p {
    font-size: 1.2rem;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 500;
    animation: paragraphFadeIn 1.5s ease-out 0.5s both;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: justify;
    font-family: 'Quicksand', sans-serif;
}

/* About Actions */
.about-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-start;
    animation: aboutTextSlideIn 1.2s ease-out 0.8s both;
}

/* About Social Links - Horizontal Layout */
.about-social-links {
    margin-top: 0;
    display: flex;
    align-items: center;
}

.about-social-grid {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.about-social-grid .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
}

.about-social-grid .social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.about-social-grid .social-link.facebook {
    background: #1877f2;
}

.about-social-grid .social-link.facebook:hover {
    background: #0d65d9;
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.5);
}

.about-social-grid .social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.about-social-grid .social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 10px 25px rgba(220, 39, 67, 0.5);
    filter: brightness(1.1);
}

.about-social-grid .social-link.whatsapp {
    background: #25d366;
}

.about-social-grid .social-link.whatsapp:hover {
    background: #1fb855;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

.about-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    font-family: 'Quicksand', sans-serif;
}

.about-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, #45a049 0%, var(--primary-color) 100%);
}

.about-btn:active {
    transform: translateY(-1px);
}

.about-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.about-btn:hover i {
    transform: scale(1.1);
}

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

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: aboutVisualSlideIn 1.2s ease-out 0.3s both;
}

@keyframes aboutVisualSlideIn {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 24px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: cardFloat 6s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.about-card:nth-child(1) {
    animation-delay: 0s;
}

.about-card:nth-child(2) {
    animation-delay: 1s;
}

.about-card:nth-child(3) {
    animation-delay: 2s;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-8px) scale(1.02);
    }
    50% {
        transform: translateY(-4px) scale(1.01);
    }
    75% {
        transform: translateY(-12px) scale(1.03);
    }
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    border-radius: 24px 24px 0 0;
}

.about-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(76, 175, 80, 0.05) 0%, 
        transparent 50%, 
        rgba(76, 175, 80, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 24px;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover::after {
    opacity: 1;
}

.about-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(76, 175, 80, 0.2);
    border-color: var(--primary-color);
}

.card-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    text-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
    animation: numberPulse 3s ease-in-out infinite;
    line-height: 1;
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
    }
    50% {
        transform: scale(1.1);
        text-shadow: 0 6px 12px rgba(76, 175, 80, 0.5);
    }
}

.card-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.2;
    animation: titleShine 4s ease-in-out infinite;
}

@keyframes titleShine {
    0%, 100% {
        background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-primary) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    50% {
        background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 50%, var(--text-primary) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

.card-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.4;
    animation: subtitleFade 5s ease-in-out infinite;
}

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


/* ========================================
   PRICING SECTION - BASE STYLES
   ======================================== */
.pricing {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.pricing-search {
    margin-bottom: 3rem;
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.search-box input {
    width: 100%;
    padding: 16px 20px 16px 60px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    background: var(--bg-primary);
}

.city-item {
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.city-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 170, 0.3);
}

.city-item.selected {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 170, 0.3);
}

.city-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.city-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.city-item:hover .city-price,
.city-item.selected .city-price {
    color: white;
}

.city-delivery {
    font-size: 0.8rem;
    opacity: 0.8;
}

.city-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.city-badge.popular {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
}

/* Pricing Modal Styles */
.pricing-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.modal-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;
    padding: 20px;
}

.modal-content {
    background: var(--bg-primary);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 100%;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.modal-body {
    padding: 25px;
    text-align: center;
}

.price-display {
    margin-bottom: 20px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.price-currency {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.price-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.modal-actions .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
    border-radius: 25px;
    min-width: 120px;
}

/* ========================================
   CONTACT SECTION - ENHANCED PROFESSIONAL STYLES
   ======================================== */
.contact {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(76, 175, 80, 0.02) 0%, 
        rgba(0, 212, 170, 0.02) 50%, 
        rgba(76, 175, 80, 0.02) 100%);
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    position: relative;
    z-index: 2;
}

.contact-info {
    padding: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.05), transparent);
    transition: left 0.6s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateY(-5px) translateX(8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 10px 25px rgba(76, 175, 80, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
}

.contact-item i {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 2;
}

.contact-item:hover i {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 
        0 15px 30px rgba(76, 175, 80, 0.3),
        0 8px 20px rgba(0, 212, 170, 0.2);
}

.contact-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.contact-item:hover h4 {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.contact-item p a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.contact-item p a:hover {
    color: var(--primary-color);
    text-shadow: 0 1px 2px rgba(76, 175, 80, 0.2);
    transform: translateX(2px);
}

.contact-icon-link {
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact-icon-link:hover {
    transform: scale(1.05);
}

.contact-icon-link i {
    cursor: pointer;
}

/* Contact Social Links - Horizontal Layout without card background */
.contact-social-links {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 1.5rem !important;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.contact-social-links::before {
    display: none !important;
}

.contact-social-links:hover {
    background: transparent !important;
    transform: none !important;
}

.contact-social-links .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
}

.contact-social-links .social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-social-links .social-link.facebook {
    background: #1877f2;
}

.contact-social-links .social-link.facebook:hover {
    background: #0d65d9;
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.5);
}

.contact-social-links .social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.contact-social-links .social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 10px 25px rgba(220, 39, 67, 0.5);
    filter: brightness(1.1);
}

.contact-social-links .social-link.whatsapp {
    background: #25d366;
}

.contact-social-links .social-link.whatsapp:hover {
    background: #1fb855;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

.contact-form {
    background: var(--bg-secondary);
    background-image: url('images/TITLE LOGO LIGHT.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: soft-light;
    padding: 3.5rem;
    border-radius: 25px;
    border: 1px solid var(--border-color);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 10px 25px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -25%;
    right: -40%;
    width: 200%;
    height: 120%;
    background: url('images/TITLE LOGO DARK.png') no-repeat center center;
    background-size: 40% auto;
    opacity: 0.1;
    z-index: 0;
    /* transform: rotate(-15deg); */
    filter: 
        drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1))
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05))
        brightness(1.1)
        contrast(1.05);
    background-blend-mode: overlay;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-form:hover::before {
    opacity: 0.15;
    transform: rotate(-12deg) scale(1.02);
    filter: 
        drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15))
        drop-shadow(0 3px 6px rgba(0, 0, 0, 0.08))
        brightness(1.2)
        contrast(1.1);
}



.form-group {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: 'Inter', sans-serif;
    position: relative;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 
        0 0 0 4px rgba(76, 175, 80, 0.15),
        0 8px 25px rgba(76, 175, 80, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    background: var(--bg-secondary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    font-weight: 400;
    transition: all 0.3s ease;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: transparent;
}

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

.contact-form .btn {
    width: 100%;
    justify-content: center;
    padding: 18px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    z-index: 2;
}

/* ========================================
   CONTACT SECTION - RESPONSIVE STYLES
   ======================================== */

/* Tablet Styles */
@media (max-width: 1023px) and (min-width: 769px) {
    .contact {
        padding: 80px 0;
    }
    
    .contact-content {
        gap: 3rem;
    }
    
    .contact-form {
        padding: 2.5rem;
        background-size: cover;
    }
    
    .contact-item {
        padding: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .contact-item i {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .contact {
        padding: 70px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        padding: 1rem 0;
    }
    
    .contact-item {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
        gap: 1rem;
    }
    
    .contact-item i {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        border-radius: 15px;
    }
    
    .contact-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-form {
        padding: 2rem;
        border-radius: 20px;
        background-size: cover;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 16px 20px;
        border-radius: 12px;
    }
    
    .contact-form .btn {
        padding: 16px 28px;
        font-size: 1rem;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact-content {
        gap: 2.5rem;
    }
    
    .contact-info {
        padding: 0.5rem 0;
    }
    
    .contact-item {
        padding: 1rem;
        margin-bottom: 1.2rem;
        gap: 0.8rem;
        border-radius: 15px;
    }
    
    .contact-item i {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        border-radius: 12px;
    }
    
    .contact-item h4 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .contact-item p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .contact-form {
        padding: 1.5rem;
        border-radius: 15px;
        background-size: cover;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 14px 18px;
        border-radius: 10px;
        font-size: 0.95rem;
    }
    
    .contact-form .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
        border-radius: 12px;
    }
}

/* Contact Map Section */
.contact-map {
    margin-top: 4rem;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.contact-map iframe {
    width: 100%;
    height: 450px;
    display: block;
}

/* Responsive Map */
@media (max-width: 768px) {
    .contact-map {
        margin-top: 3rem;
        border-radius: 20px;
    }
    
    .contact-map iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .contact-map {
        margin-top: 2rem;
        border-radius: 15px;
    }
    
    .contact-map iframe {
        height: 300px;
    }
}

/* ========================================
   NEWSLETTER SECTION - BASE STYLES
   ======================================== */
.newsletter {
    padding: 80px 0;
    background: #000000;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Desktop background images */
@media (min-width: 1024px) {
    .newsletter {
        background-image: url('images/newlest.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    animation: shimmer 3s infinite;
    z-index: 1;
}

.newsletter::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 170, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

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

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

/* Floating Particles */
.newsletter-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(76, 175, 80, 0.6);
    border-radius: 50%;
    animation: floatParticle 8s infinite ease-in-out;
}

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

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

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

.particle:nth-child(4) {
    top: 80%;
    left: 70%;
    animation-delay: 1s;
    animation-duration: 9s;
}

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

.particle:nth-child(6) {
    top: 70%;
    left: 30%;
    animation-delay: 5s;
    animation-duration: 6s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) translateX(10px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-60px) translateX(-15px) rotate(180deg);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-30px) translateX(20px) rotate(270deg);
        opacity: 0.9;
    }
}

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

.newsletter-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #4caf50, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite, slideInDown 1s ease-out;
    text-shadow: 0 0 30px rgba(76, 175, 80, 0.3);
}

.newsletter-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: slideInUp 1s ease-out 0.3s both;
    color: rgba(255, 255, 255, 0.8);
}

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

@keyframes slideInDown {
    0% { 
        transform: translateY(-50px); 
        opacity: 0; 
    }
    100% { 
        transform: translateY(0); 
        opacity: 1; 
    }
}

@keyframes slideInUp {
    0% { 
        transform: translateY(50px); 
        opacity: 0; 
    }
    100% { 
        transform: translateY(0); 
        opacity: 0.9; 
    }
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
    position: relative;
    z-index: 2;
    animation: slideInUp 1s ease-out 0.6s both;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:hover {
    border-color: rgba(76, 175, 80, 0.5);
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.2);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(76, 175, 80, 0.8);
    transform: translateY(-2px);
    box-shadow: 
        0 15px 35px rgba(76, 175, 80, 0.3),
        0 0 0 4px rgba(76, 175, 80, 0.1);
}

.newsletter-form .btn {
    background: white;
    color: var(--primary-color);
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.newsletter-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(76, 175, 80, 0.2), 
        transparent);
    transition: left 0.5s;
}

.newsletter-form .btn:hover::before {
    left: 100%;
}

.newsletter-form .btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 
        0 15px 35px rgba(76, 175, 80, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-form .btn:active {
    transform: translateY(-1px);
    box-shadow: 
        0 8px 20px rgba(76, 175, 80, 0.3),
        0 3px 8px rgba(0, 0, 0, 0.1);
}

/* Dark mode button styling */
[data-theme="dark"] .newsletter-form .btn {
    background: #000000;
    color: #ffffff;
}

[data-theme="dark"] .newsletter-form .btn:hover {
    background: #333333;
    color: #ffffff;
}

/* ========================================
   FOOTER SECTION - BASE STYLES
   ======================================== */
.footer {
    background: var(--bg-secondary);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.footer-contact p a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact p a:hover {
    color: var(--primary-color);
    text-shadow: 0 1px 2px rgba(76, 175, 80, 0.2);
}

.footer-icon-link {
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.footer-icon-link:hover {
    transform: scale(1.1);
}

.footer-icon-link i {
    cursor: pointer;
    color: var(--primary-color);
    width: 20px;
}

.footer-contact i {
    color: var(--primary-color);
    width: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.app-download {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.app-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.app-btn i {
    font-size: 1.5rem;
}

.app-btn div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.app-btn span {
    font-size: 0.8rem;
    opacity: 0.7;
}

.app-btn strong {
    font-weight: 700;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    text-align: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-credits {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.wiyzdev-logo {
    height: 20px;
    width: auto;
    filter: brightness(0.8);
    transition: all 0.3s ease;
}

.wiyzdev-logo:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
}

.wiyzdev-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.wiyzdev-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Viewport optimization for better mobile experience */
@viewport {
    width: device-width;
    initial-scale: 1.0;
    maximum-scale: 5.0;
    user-scalable: yes;
}

/* Prevent horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Ensure mobile menu is always full-screen */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        right: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        max-width: none !important;
        max-height: none !important;
        z-index: 99999 !important;
    }
    
    .nav-menu.active {
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
    }
    
    /* Ensure hamburger menu is always visible and above mobile menu */
    .nav-toggle {
        z-index: 100000 !important;
        visibility: visible !important;
        position: relative !important;
        display: flex !important;
    }
    
    .nav-toggle .bar {
        visibility: visible !important;
    }
}

/* Better touch targets for mobile */
@media (max-width: 768px) {
    .btn, .nav-link, .service-link, .contact-trigger {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Improve tap targets */
    .floating-card, .service-card, .about-card {
        cursor: pointer;
    }
    
    /* Ensure full-screen mobile menu */
    body.menu-open {
        overflow: hidden !important;
        height: 100vh !important;
        position: fixed !important;
        width: 100% !important;
    }
    
    /* Hide all content when menu is open except navigation */
    body.menu-open * {
        visibility: hidden !important;
    }
    
    .nav-menu.active {
        visibility: visible !important;
    }
    
    .nav-menu.active * {
        visibility: visible !important;
    }
    
    /* Keep hamburger menu visible when mobile menu is open */
    .nav-toggle {
        visibility: visible !important;
    }
    
    .nav-toggle * {
        visibility: visible !important;
    }
    
    /* Keep navbar visible when mobile menu is open */
    .navbar {
        visibility: visible !important;
    }
    
    .navbar * {
        visibility: visible !important;
    }
    
    /* Ensure hamburger menu is always visible and clickable */
    .nav-toggle {
        visibility: visible !important;
        z-index: 10000 !important;
        position: relative !important;
        display: flex !important;
    }
    
    .nav-toggle .bar {
        visibility: visible !important;
    }
    
    /* Ensure menu covers entire screen */
    .nav-menu.active {
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
    }
}

/* ========================================
   PC STYLES (1025px and above)
   ======================================== */

/* Large PC screens (1400px and up) */
@media (min-width: 1400px) {
    .nav-container {
        max-width: 1600px;
        padding: 0 40px;
    }
    
    .hero-container {
        max-width: 1400px;
        padding: 0 40px;
    }
    
    .container {
        max-width: 1400px;
        padding: 0 40px;
    }
}

/* ========================================
   TABLET STYLES (768px to 1024px)
   ======================================== */

/* Large PC screens (1200px to 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    .nav-container {
        padding: 0 20px;
        gap: 8px;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
    
    .contact-trigger {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* Standard PC screens (1024px to 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .nav-container {
        padding: 0 15px;
        gap: 6px;
    }
    
    .nav-menu {
        gap: 0.8rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 5px 8px;
    }
    
    .contact-trigger {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .contact-trigger span {
        display: none;
    }
}

/* Tablet Landscape (1024px to 1199px) - Better full-screen experience */
@media (max-width: 1199px) and (min-width: 1024px) {
    .nav-container {
        padding: 0 40px;
        gap: 15px;
        height: 85px;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 10px 15px;
        font-weight: 500;
    }
    
    .contact-trigger {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .logo-img {
        height: 55px;
    }
    
    .hero {
        padding: 100px 0 80px;
        min-height: 100vh;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
        max-width: 1200px;
    }
    
    .hero-title {
        font-size: 4rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .btn {
        padding: 18px 36px;
        font-size: 1.05rem;
        min-width: 220px;
    }
    
    .hero-stats {
        gap: 3rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
    
    .hero-visual {
        height: 500px;
    }
    
    .solution-image {
        max-width: 95%;
        max-height: 95%;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .floating-card {
        position: absolute;
        width: 300px;
    }
    
    .card-1 {
        top: 50px;
        right: 50px;
    }
    
    .card-2 {
        top: 200px;
        right: 140px;
    }
    
    .card-3 {
        top: 350px;
        right: 80px;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .services {
        padding: 120px 0 100px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .services-main-title {
        font-size: 3rem;
    }
    
    .services-logo-container {
        padding: 1.5rem;
    }
    
    .services-logo {
        max-height: 70px;
    }
    
    .services-main-title .services-description {
        font-size: 1.1rem;
    }
    
    .service-card {
        height: 300px;
        min-height: 300px;
    }
    
    .service-card-large {
        height: 380px;
        min-height: 380px;
    }
    
    .service-icon {
        width: 65px;
        height: 65px;
        font-size: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    /* Digital slide title sizing for tablet landscape */
    .hero-slide-digital .title-main {
        font-size: 4.2rem;
        font-weight: 900;
    }
    
    .hero-slide-digital .title-secondary {
        font-size: 4.2rem;
    }
}

/* Tablet Portrait (768px to 1023px) - Optimized for full-screen */
@media (max-width: 1023px) and (min-width: 768px) {
    .nav-container {
        padding: 0 30px;
        gap: 12px;
        height: 80px;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.95rem;
        padding: 8px 12px;
        font-weight: 500;
    }
    
    .contact-trigger {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .contact-trigger span {
        display: inline;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .hero {
        padding: 120px 0 80px;
        min-height: 100vh;
        height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 3rem;
        max-width: 1000px;
        margin: 0 auto;
        width: 100%;
        height: 100%;
        display: grid;
        align-items: center;
    }
    
    .hero-title {
        font-size: 3.5rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.15rem;
        max-width: 100%;
        margin: 0 0 2rem 0;
        line-height: 1.6;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .btn {
        padding: 16px 32px;
        font-size: 1rem;
        min-width: 200px;
    }
    
    .hero-stats {
        justify-content: flex-start;
        gap: 2.5rem;
        flex-wrap: wrap;
    }
    
    .stat-item {
        min-width: 150px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .hero-visual {
        height: 400px;
        margin-top: 0;
        position: relative;
    }
    
    .solution-image {
        max-width: 90%;
        max-height: 90%;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .floating-card {
        position: absolute;
        width: 280px;
        max-width: 280px;
    }
    
    .card-1 {
        top: 20px;
        right: 20px;
    }
    
    .card-2 {
        top: 160px;
        right: 100px;
    }
    
    .card-3 {
        top: 300px;
        right: 40px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .services {
        padding: 100px 0 80px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .services-main-title {
        font-size: 2.5rem;
    }
    
    .services-logo-container {
        padding: 1.2rem;
    }
    
    .services-logo {
        max-height: 60px;
    }
    
    .services-main-title .services-description {
        font-size: 1rem;
    }
    
    .service-card {
        height: auto;
        min-height: 350px;
        padding: 0;
    }
    
    .service-card-large {
        min-height: 420px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin: 25px 0 0 25px;
        font-size: 1.4rem;
    }
    
    .service-content {
        padding: 25px;
    }
    
    /* Digital slide title sizing for tablet portrait */
    .hero-slide-digital .title-main {
        font-size: 4.2rem;
        font-weight: 900;
    }
    
    .hero-slide-digital .title-secondary {
        font-size: 4.2rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .service-card p {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }
    
    .service-link {
        font-size: 0.9rem;
        padding: 7px 14px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-visual {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .newsletter-form {
        flex-direction: row;
        max-width: 600px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    /* Digital Devices - Removed */
    
    /* Digital slide text positioning for tablet */
    .hero-slide-digital .hero-container {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-slide-digital .hero-content {
        text-align: center;
        max-width: 80%;
        margin: 0 auto;
        padding-top: 1rem;
    }
    
    .hero-slide-digital .hero-bg-image {
        object-position: center center;
    }
    
    /* Digital slide title responsive sizing for tablet */
    .hero-slide-digital .title-main {
        font-size: 2.8rem;
        font-weight: 900;
    }
    
    .hero-slide-digital .title-secondary {
        font-size: 3rem;
    }
    
    .hero-slide-digital .hero-container {
        justify-content: flex-start;
        padding-top: 120px;
    }
    
    /* Position button below description on tablet */
    .hero-slide-digital .hero-buttons {
        margin-top: 2rem;
        margin-bottom: 0;
    }
}

/* ========================================
   MOBILE STYLES (768px and below)
   ======================================== */

/* Mobile Landscape (481px to 768px) - Better full-screen experience */
@media (max-width: 768px) and (min-width: 481px) {
    .nav-container {
        padding: 0 20px;
        gap: 10px;
        height: 70px;
    }
    
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        background: var(--bg-primary) !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 9999 !important;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        gap: 0;
        overflow: hidden;
        border: none;
        outline: none;
        margin: 0 !important;
        transform: none !important;
        will-change: transform, opacity;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    /* Mobile Menu Logo */
    .mobile-menu-logo {
        display: block;
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 10;
    }
    
    .mobile-logo-img {
        height: 40px;
        width: auto;
        transition: all 0.3s ease;
        filter: drop-shadow(0 4px 8px rgba(76, 175, 80, 0.3));
    }
    
    .mobile-logo-img:hover {
        filter: drop-shadow(0 8px 16px rgba(76, 175, 80, 0.5));
        transform: scale(1.05);
    }
    
    /* Show social media links on mobile */
    .mobile-social-links {
        display: block;
    }
    
    .nav-menu.active {
        left: 0;
        animation: slideInFromLeft 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    @keyframes slideInFromLeft {
        0% {
            left: -100%;
            opacity: 0;
        }
        100% {
            left: 0;
            opacity: 1;
        }
    }
    
    /* Modern animation keyframes */
    @keyframes gradientShift {
        0% {
            background-position: 0% 50%;
        }
        50% {
            background-position: 100% 50%;
        }
        100% {
            background-position: 0% 50%;
        }
    }
    
    @keyframes float {
        0%, 100% {
            transform: translateY(0px) rotate(0deg);
        }
        25% {
            transform: translateY(-20px) rotate(90deg);
        }
        50% {
            transform: translateY(-40px) rotate(180deg);
        }
        75% {
            transform: translateY(-20px) rotate(270deg);
        }
    }
    
    @keyframes particleFloat {
        0% {
            transform: translateY(0px) scale(1);
            opacity: 0.6;
        }
        25% {
            transform: translateY(-30px) scale(1.2);
            opacity: 0.8;
        }
        50% {
            transform: translateY(-60px) scale(0.8);
            opacity: 0.4;
        }
        75% {
            transform: translateY(-30px) scale(1.1);
            opacity: 0.7;
        }
        100% {
            transform: translateY(0px) scale(1);
            opacity: 0.6;
        }
    }
    
    @keyframes shimmer {
        0% {
            background-position: -200% 0;
        }
        100% {
            background-position: 200% 0;
        }
    }
    
    @keyframes pulse {
        0%, 100% {
            opacity: 0.1;
            transform: scale(1);
        }
        50% {
            opacity: 0.2;
            transform: scale(1.1);
        }
    }
    
    @keyframes slideInUp {
        0% {
            opacity: 0;
            transform: translateY(30px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes glow {
        0%, 100% {
            box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
        }
        50% {
            box-shadow: 0 0 40px rgba(76, 175, 80, 0.6), 0 0 60px rgba(0, 212, 170, 0.4);
        }
    }
    
    /* Mobile menu animated background layers */
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        z-index: -3;
    }
    
    /* Animated gradient overlay */
    .nav-menu::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(
            45deg,
            rgba(76, 175, 80, 0.1) 0%,
            rgba(0, 212, 170, 0.08) 25%,
            rgba(76, 175, 80, 0.05) 50%,
            rgba(0, 212, 170, 0.1) 75%,
            rgba(76, 175, 80, 0.08) 100%
        );
        background-size: 400% 400%;
        animation: gradientShift 8s ease-in-out infinite;
        z-index: -2;
    }
    
    /* Floating geometric shapes */
    .nav-menu {
        position: relative;
    }
    
    .nav-menu .floating-shape {
        position: absolute;
        border-radius: 50%;
        opacity: 0.1;
        animation: float 12s ease-in-out infinite;
        pointer-events: none;
        will-change: transform;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        z-index: -1;
    }
    
    .nav-menu .floating-shape:nth-child(1) {
        width: 80px;
        height: 80px;
        background: linear-gradient(45deg, #4CAF50, #00D4AA);
        top: 10%;
        left: 10%;
        animation-delay: 0s;
        animation-duration: 15s;
    }
    
    .nav-menu .floating-shape:nth-child(2) {
        width: 120px;
        height: 120px;
        background: linear-gradient(135deg, #00D4AA, #4CAF50);
        top: 60%;
        right: 15%;
        animation-delay: 3s;
        animation-duration: 18s;
    }
    
    .nav-menu .floating-shape:nth-child(3) {
        width: 60px;
        height: 60px;
        background: linear-gradient(225deg, #4CAF50, #00D4AA);
        bottom: 20%;
        left: 20%;
        animation-delay: 6s;
        animation-duration: 12s;
    }
    
    /* Particle effect dots */
    .nav-menu .particle {
        position: absolute;
        width: 4px;
        height: 4px;
        background: rgba(76, 175, 80, 0.6);
        border-radius: 50%;
        animation: particleFloat 20s linear infinite;
        pointer-events: none;
        will-change: transform, opacity;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        z-index: -1;
    }
    
    .nav-menu .particle:nth-child(4) {
        top: 20%;
        left: 80%;
        animation-delay: 0s;
    }
    
    .nav-menu .particle:nth-child(5) {
        top: 40%;
        left: 70%;
        animation-delay: 4s;
    }
    
    .nav-menu .particle:nth-child(6) {
        top: 70%;
        left: 90%;
        animation-delay: 8s;
    }
    
    .nav-menu .particle:nth-child(7) {
        top: 30%;
        left: 60%;
        animation-delay: 12s;
    }
    
    .nav-menu .particle:nth-child(8) {
        top: 80%;
        left: 40%;
        animation-delay: 16s;
    }
    
    
    .nav-link {
        font-size: 1.5rem;
        font-weight: 700;
        padding: 20px 40px;
        width: 100%;
        max-width: 300px;
        text-align: center;
        border-radius: 15px;
        margin: 10px 0;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        position: relative;
        overflow: hidden;
        background: transparent;
        border: none;
        opacity: 0;
        transform: translateY(30px);
        animation: slideInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
        will-change: transform, opacity;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .nav-link:nth-child(9) { animation-delay: 0.1s; }
    .nav-link:nth-child(10) { animation-delay: 0.2s; }
    .nav-link:nth-child(11) { animation-delay: 0.3s; }
    .nav-link:nth-child(12) { animation-delay: 0.4s; }
    .nav-link:nth-child(13) { animation-delay: 0.5s; }
    
    .mobile-social-links {
        opacity: 0;
        transform: translateY(30px);
        animation: slideInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
    }
    
    .nav-link::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;
    }
    
    .nav-link:hover::before {
        left: 100%;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--text-primary);
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
        border: 1px solid rgba(76, 175, 80, 0.2);
    }
    
    .nav-link.active {
        background: transparent;
        color: var(--primary-color);
        position: relative;
    }
    
    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
        height: 3px;
        background: var(--gradient-primary);
        border-radius: 2px;
    }
    
    .nav-contact {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: var(--primary-color);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
        background: var(--primary-color);
    }
    
    /* Hamburger animation when menu is open */
    .nav-toggle.active {
        transform: scale(1.1);
        transition: all 0.3s ease;
        background: rgba(76, 175, 80, 0.1);
        border-radius: 8px;
        padding: 8px;
    }
    
    .nav-toggle.active:hover {
        transform: scale(1.2);
        background: rgba(76, 175, 80, 0.2);
    }
    
    /* Make hamburger more prominent when menu is open */
    .nav-toggle.active .bar {
        box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
    }
    
    .logo-img {
        height: 45px;
    }
    
    .hero {
        padding: 130px 0 50px;
        min-height: 100vh;
        height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
        margin-bottom: 1.5rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .btn {
        width: auto;
        min-width: 160px;
        max-width: 200px;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.8rem;
    }
    
    .stat-item {
        min-width: 130px;
    }
    
    .stat-number {
        font-size: 2.1rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .hero-visual {
        height: 300px;
        margin-top: 1.5rem;
    }
    
    .solution-image {
        max-width: 80%;
        max-height: 80%;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .floating-card {
        position: relative;
        margin-bottom: 1.2rem;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .card-1, .card-2, .card-3 {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        margin-bottom: 0.8rem;
    }
    
    .section-title {
        font-size: 2.1rem;
    }
    
    .services {
        padding: 70px 0 50px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .services-main-title {
        font-size: 2rem;
    }
    
    .services-logo-container {
        padding: 1rem;
    }
    
    .services-logo {
        max-height: 50px;
    }
    
    .services-main-title .services-description {
        font-size: 0.9rem;
    }
    
    .services-subtitle {
        font-size: 1.2rem;
    }
    
    .service-card {
        height: auto;
        min-height: 280px;
        padding: 0;
    }
    
    .service-card-large {
        min-height: 350px;
    }
    
    .service-icon {
        width: 52px;
        height: 52px;
        margin: 18px 0 0 18px;
        font-size: 1.25rem;
    }
    
    .service-content {
        padding: 18px;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }
    
    .service-card p {
        font-size: 0.92rem;
        margin-bottom: 16px;
    }
    
    .service-link {
        font-size: 0.88rem;
        padding: 6px 12px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .about-visual {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .newsletter-form {
        flex-direction: row;
        max-width: 500px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
}

/* Mobile Portrait (480px and below) */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
        gap: 8px;
        height: 65px;
    }
    
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        background: var(--bg-primary) !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1.5rem;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 9999 !important;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        gap: 0;
        overflow: hidden;
        border: none;
        outline: none;
        margin: 0 !important;
        transform: none !important;
    }
    
    /* Mobile Menu Logo */
    .mobile-menu-logo {
        display: block;
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 10;
    }
    
    .mobile-logo-img {
        height: 40px;
        width: auto;
        transition: all 0.3s ease;
        filter: drop-shadow(0 4px 8px rgba(76, 175, 80, 0.3));
    }
    
    .mobile-logo-img:hover {
        filter: drop-shadow(0 8px 16px rgba(76, 175, 80, 0.5));
        transform: scale(1.05);
    }
    
    /* Show social media links on mobile */
    .mobile-social-links {
        display: block;
    }
    
    .nav-menu.active {
        left: 0;
        animation: slideInFromLeft 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    /* Mobile menu overlay for portrait */
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        z-index: -1;
    }
    
    /* Additional overlay to ensure full coverage for portrait */
    .nav-menu::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(0, 212, 170, 0.02) 100%);
        z-index: -1;
    }
    
    
    .nav-link {
        font-size: 1.3rem;
        font-weight: 700;
        padding: 18px 35px;
        width: 100%;
        max-width: 280px;
        text-align: center;
        border-radius: 12px;
        margin: 8px 0;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        position: relative;
        overflow: hidden;
        background: transparent;
        border: none;
    }
    
    .nav-link::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;
    }
    
    .nav-link:hover::before {
        left: 100%;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--text-primary);
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
        border: 1px solid rgba(76, 175, 80, 0.2);
    }
    
    .nav-link.active {
        background: transparent;
        color: var(--primary-color);
        position: relative;
    }
    
    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: 6px;
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
        height: 3px;
        background: var(--gradient-primary);
        border-radius: 2px;
    }
    
    .nav-contact {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: var(--primary-color);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
        background: var(--primary-color);
    }
    
    /* Hamburger animation when menu is open for portrait */
    .nav-toggle.active {
        transform: scale(1.1);
        transition: all 0.3s ease;
        background: rgba(76, 175, 80, 0.1);
        border-radius: 8px;
        padding: 8px;
    }
    
    .nav-toggle.active:hover {
        transform: scale(1.2);
        background: rgba(76, 175, 80, 0.2);
    }
    
    /* Make hamburger more prominent when menu is open for portrait */
    .nav-toggle.active .bar {
        box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
    }
    
    .logo-img {
        height: 40px;
    }
    
    .hero {
        padding: 120px 0 40px;
        min-height: 100vh;
        height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        padding: 0 15px;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.05;
        margin-bottom: 1.2rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .stat-item {
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .hero-visual {
        height: 250px;
        margin-top: 1rem;
    }
    
    .solution-image {
        max-width: 75%;
        max-height: 75%;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .floating-card {
        position: relative;
        margin-bottom: 1rem;
        width: 100%;
        max-width: 260px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .card-1, .card-2, .card-3 {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        margin-bottom: 0.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services {
        padding: 60px 0 40px;
        margin-top: 20px;
    }
    
    .services-main-title {
        font-size: 1.8rem;
    }
    
    .services-logo-container {
        padding: 0.8rem;
    }
    
    .services-logo {
        max-height: 45px;
    }
    
    .services-main-title .services-description {
        font-size: 0.8rem;
    }
    
    .services-subtitle {
        font-size: 1.1rem;
    }
    
    .service-card {
        height: auto;
        min-height: 250px;
        padding: 0;
    }
    
    .service-card-large {
        min-height: 320px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        margin: 20px 0 0 20px;
        font-size: 1.2rem;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .service-link {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-visual {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        justify-content: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* Very Small Mobile Devices (320px and below) */
@media (max-width: 320px) {
    .container {
        padding: 0 0.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        max-width: 220px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .service-card {
        min-height: 160px;
    }
    
    .service-card-large {
        min-height: 240px;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
        margin: 12px 0 0 12px;
        font-size: 1rem;
    }
    
    .service-content {
        padding: 12px;
    }
    
    .service-card h3 {
        font-size: 1rem;
    }
    
    .service-card p {
        font-size: 0.8rem;
    }
    
    .service-link {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    .feature-card {
        padding: 1.2rem 0.8rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    /* Adjust social media links for very small screens */
    .mobile-social-links h4 {
        font-size: 1rem;
        margin: 25px 0 15px 0;
        letter-spacing: 1.5px;
    }
    
    .social-links-grid {
        gap: 15px;
        max-width: 220px;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
    }
    
    .social-link i {
        font-size: 1.3rem;
    }
    
    /* Digital Devices - Removed */
    
    /* Digital slide text positioning for mobile */
    .hero-slide-digital .hero-container {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
        padding-top: 80px;
    }
    
    .hero-slide-digital .hero-content {
        text-align: center;
        max-width: 90%;
        margin: 0 auto;
        padding-top: 1rem;
    }
    
    .hero-slide-digital .hero-bg-image {
        object-position: center center;
    }
    
    /* Digital slide title responsive sizing for mobile */
    .hero-slide-digital .title-main {
        font-size: 10rem;
        font-weight: 1300;
    }
    
    .hero-slide-digital .title-secondary {
        font-size: 10rem;
    }
    
    .hero-slide-digital .hero-container {
        justify-content: flex-start;
        padding-top: 100px;
    }
    
    /* Position button below description on mobile */
    .hero-slide-digital .hero-buttons {
        margin-top: 1.5rem;
        margin-bottom: 0;
    }
}

/* ========================================
   EXTRA LARGE PC STYLES (1600px and up)
   ======================================== */

/* Extra large screens (1600px and up) */
@media (min-width: 1600px) {
    .nav-container {
        max-width: 1800px;
        padding: 0 60px;
    }
    
    .hero-container {
        max-width: 1600px;
        padding: 0 60px;
    }
    
    .container {
        max-width: 1600px;
        padding: 0 60px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* ========================================
   4K AND HIGH RESOLUTION OPTIMIZATIONS
======================================== */

/* 4K Displays (3840x2160 and above) */
@media screen and (min-width: 3840px) {
    .solution-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: high-quality;
        image-rendering: optimize-quality;
        filter: contrast(1.05) brightness(1.02) saturate(1.05);
        max-width: 95%;
        max-height: 95%;
    }
    
    .solution-image-container {
        perspective: 1500px;
    }
}

/* High DPI Displays (Retina, etc.) */
@media screen and (-webkit-min-device-pixel-ratio: 2), 
       screen and (min-resolution: 192dpi) {
    .solution-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: high-quality;
        image-rendering: optimize-quality;
        filter: contrast(1.08) brightness(1.03) saturate(1.08);
    }
}

/* Ultra-wide displays */
@media screen and (min-width: 2560px) and (max-width: 3839px) {
    .solution-image {
        max-width: 92%;
        max-height: 92%;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ========================================
   ANIMATIONS AND UTILITIES
   ======================================== */

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

/* ========================================
   SCROLLBAR AND SELECTION STYLING
   ======================================== */

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

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection Styling */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* ========================================
   DARK MODE STYLES FOR ALL SECTIONS
   ======================================== */

/* Dark Mode - Body and General */
[data-theme="dark"] body {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Dark Mode - Hero Section */
[data-theme="dark"] .hero {
    background: var(--gradient-hero);
}

[data-theme="dark"] .hero::after {
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.95) 0%, rgba(22, 27, 34, 0.9) 50%, rgba(33, 38, 45, 0.85) 100%);
}

[data-theme="dark"] .hero::before {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(76, 175, 80, 0.02) 50%, rgba(76, 175, 80, 0.08) 100%);
}

[data-theme="dark"] .hero-title {
    color: var(--text-primary);
}

[data-theme="dark"] .title-main {
    color: #000000;
}

[data-theme="dark"] .hero-description {
    color: #666666;
}

[data-theme="dark"] .brand-name {
    background: linear-gradient(135deg, #07b538 0%, #082b12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .highlight-text {
    color: #000000;
    text-shadow: 0 1px 2px rgba(49, 254, 131, 0.1);
}

[data-theme="dark"] .stat-item {
    color: var(--text-primary);
}

[data-theme="dark"] .stat-number {
    color: var(--primary-color);
}

[data-theme="dark"] .stat-label {
    color: var(--text-secondary);
}

/* Dark Mode - Services Section */
[data-theme="dark"] .services {
    background: var(--bg-secondary);
    background-image: url('images/bg_service_dark.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

[data-theme="dark"] .section-title {
    color: var(--text-primary);
}

[data-theme="dark"] .section-description {
    color: var(--text-secondary);
}

/* Dark Mode - Services Title Container */
[data-theme="dark"] .services-subtitle {
    color: var(--primary-color);
}

[data-theme="dark"] .brand-name-white {
    color: #ffffff;
}

[data-theme="dark"] .brand-name-orange {
    color: var(--primary-color);
}

[data-theme="dark"] .services-description {
    color: #90EE90;
}

[data-theme="dark"] .services-logo {
    content: url('images/logo-dark.png');
}

[data-theme="dark"] .service-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .service-card:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.2);
}

[data-theme="dark"] .service-card h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .service-card p {
    color: var(--text-secondary);
}

[data-theme="dark"] .service-icon {
    background: var(--gradient-primary);
    color: white;
}

/* Dark Mode - About Section */
[data-theme="dark"] .about {
    background: var(--bg-primary);
}

[data-theme="dark"] .about h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .logo-r {
    content: url('images/TITLE LOGO DARK.png');
}

[data-theme="dark"] .about h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .about p {
    color: #ffffff;
}

[data-theme="dark"] .about-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .about-card .card-number {
    color: var(--primary-color);
}

[data-theme="dark"] .about-card .card-title {
    color: var(--text-primary);
}

[data-theme="dark"] .about-card .card-subtitle {
    color: var(--text-secondary);
}

[data-theme="dark"] .about-social-grid .social-link {
    background: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.4);
}

[data-theme="dark"] .about-social-grid .social-link:hover {
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

/* Dark Mode - Pricing Section */
[data-theme="dark"] .pricing {
    background: var(--bg-secondary);
}

[data-theme="dark"] .search-box {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .search-box input {
    color: var(--text-primary);
    background: transparent;
}

[data-theme="dark"] .search-box input::placeholder {
    color: var(--text-secondary);
}

[data-theme="dark"] .city-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .city-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.2);
}

[data-theme="dark"] .city-name {
    color: var(--text-primary);
}

[data-theme="dark"] .city-zone {
    color: var(--text-secondary);
}

[data-theme="dark"] .city-price {
    color: var(--primary-color);
}

/* Dark Mode - Pricing Modal */
[data-theme="dark"] .modal-content {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .modal-header {
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .modal-header h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .modal-close {
    color: var(--text-secondary);
}

[data-theme="dark"] .modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

[data-theme="dark"] .price-amount {
    color: var(--primary-color);
}

[data-theme="dark"] .price-currency {
    color: var(--text-secondary);
}

[data-theme="dark"] .price-description {
    color: var(--text-secondary);
}

/* Dark Mode - Contact Section */
[data-theme="dark"] .contact {
    background: var(--bg-primary);
}

[data-theme="dark"] .contact h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .contact h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .contact p {
    color: var(--text-secondary);
}

[data-theme="dark"] .contact a {
    color: var(--primary-color);
}

[data-theme="dark"] .contact-social-links {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

[data-theme="dark"] .contact-social-links:hover {
    background: transparent !important;
}

[data-theme="dark"] .contact-social-links .social-link {
    background: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.4);
}

[data-theme="dark"] .contact-social-links .social-link:hover {
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

[data-theme="dark"] .contact-form {
    background: var(--bg-secondary);
    /* Background image removed for dark mode */
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: var(--text-secondary);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

[data-theme="dark"] .contact-map {
    border-color: rgba(76, 175, 80, 0.2);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Dark Mode - Newsletter Section */
[data-theme="dark"] .newsletter {
    background: #ffffff;
    color: #000000;
}

/* Desktop dark mode background images */
@media (min-width: 1024px) {
    [data-theme="dark"] .newsletter {
        background-image: url('images/newlest_dark.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

[data-theme="dark"] .newsletter::after {
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
}

[data-theme="dark"] .particle {
    background: rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .newsletter h2 {
    background: linear-gradient(45deg, #000000, #4caf50, #000000);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .newsletter p {
    color: #333333;
}

/* ========================================
   FLOATING WHATSAPP BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    animation: whatsappFloat 2s ease-in-out infinite;
}

.whatsapp-options {
    position: absolute;
    bottom: 80px;
    left: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.whatsapp-float.active .whatsapp-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.whatsapp-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 5px;
    color: var(--text-primary);
    font-weight: 500;
}

.whatsapp-option:last-child {
    margin-bottom: 0;
}

.whatsapp-option:hover {
    background: rgba(37, 211, 102, 0.1);
    transform: translateX(5px);
}

.whatsapp-option i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #25D366;
    font-size: 1rem;
}

.whatsapp-option span {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 16px;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 
        0 8px 25px rgba(37, 211, 102, 0.4),
        0 4px 15px rgba(37, 211, 102, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    width: 60px;
    height: 60px;
}

.whatsapp-btn::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.6s ease;
}

.whatsapp-btn:hover::before {
    left: 100%;
}

.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(37, 211, 102, 0.5),
        0 8px 20px rgba(37, 211, 102, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.whatsapp-btn i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

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

.whatsapp-text {
    transition: all 0.3s ease;
}

.whatsapp-btn:hover .whatsapp-text {
    transform: translateX(2px);
}

@keyframes whatsappFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse Animation */
.whatsapp-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    transform: translate(-50%, -50%);
    animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 60px;
        height: 60px;
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
    }
    
    .whatsapp-btn {
        padding: 14px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-btn i {
        font-size: 1.3rem;
    }
    
    .whatsapp-options {
        bottom: 75px;
        min-width: 220px;
        padding: 8px;
    }
    
    .whatsapp-option {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .whatsapp-option span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        left: 15px;
    }
    
    .whatsapp-btn {
        padding: 12px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-btn i {
        font-size: 1.2rem;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-options {
        bottom: 70px;
        min-width: 200px;
        padding: 6px;
    }
    
    .whatsapp-option {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .whatsapp-option span {
        font-size: 0.8rem;
    }
    
    .whatsapp-option i {
        font-size: 0.9rem;
    }
}

/* Dark Mode Support */
[data-theme="dark"] .whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 
        0 8px 25px rgba(37, 211, 102, 0.5),
        0 4px 15px rgba(37, 211, 102, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .whatsapp-btn:hover {
    box-shadow: 
        0 15px 35px rgba(37, 211, 102, 0.6),
        0 8px 20px rgba(37, 211, 102, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .whatsapp-options {
    background: var(--bg-secondary);
    border: 1px solid rgba(37, 211, 102, 0.3);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .whatsapp-option {
    color: var(--text-primary);
}

[data-theme="dark"] .whatsapp-option:hover {
    background: rgba(37, 211, 102, 0.15);
}

[data-theme="dark"] .whatsapp-option span {
    color: var(--text-primary);
}

[data-theme="dark"] .newsletter-form input {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #000000;
}

[data-theme="dark"] .newsletter-form input::placeholder {
    color: #666666;
}

[data-theme="dark"] .newsletter-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Dark Mode - Footer */
[data-theme="dark"] .footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

/* ========================================
   NOTIFICATION SYSTEM
   ======================================== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 16px 20px;
    max-width: 400px;
    z-index: 10000;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

.notification-content i {
    font-size: 1.2rem;
}

.notification-success .notification-content i {
    color: #4caf50;
}

.notification-error .notification-content i {
    color: #f44336;
}

.notification-info .notification-content i {
    color: #2196f3;
}

.notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

/* Dark mode notifications */
[data-theme="dark"] .notification {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .footer h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .footer p {
    color: var(--text-secondary);
}

[data-theme="dark"] .footer a {
    color: var(--text-secondary);
}

[data-theme="dark"] .footer a:hover {
    color: var(--primary-color);
}

[data-theme="dark"] .footer-links li a {
    color: var(--text-secondary);
}

[data-theme="dark"] .footer-links li a:hover {
    color: var(--primary-color);
}

[data-theme="dark"] .app-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .app-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.2);
}

[data-theme="dark"] .footer-bottom {
    border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .footer-legal a {
    color: var(--text-secondary);
}

[data-theme="dark"] .footer-legal a:hover {
    color: var(--primary-color);
}

[data-theme="dark"] .footer-credits {
    color: var(--text-secondary);
}

[data-theme="dark"] .wiyzdev-logo {
    filter: brightness(0.9);
}

[data-theme="dark"] .wiyzdev-logo:hover {
    filter: brightness(1.3);
}

[data-theme="dark"] .wiyzdev-link {
    color: var(--text-secondary);
}

[data-theme="dark"] .wiyzdev-link:hover {
    color: var(--primary-color);
}

/* Dark Mode - Buttons */
[data-theme="dark"] .btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

[data-theme="dark"] .btn-primary:hover {
    box-shadow: 0 15px 35px rgba(76, 175, 80, 0.4);
}

[data-theme="dark"] .btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Dark Mode - Floating Cards */
[data-theme="dark"] .floating-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .floating-card h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .floating-card p {
    color: var(--text-secondary);
}

[data-theme="dark"] .floating-card .card-icon {
    background: var(--gradient-primary);
    color: white;
}


/* Dark Mode - Motorcycle Progress */

[data-theme="dark"] .track-line {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .motorcycle {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .motorcycle i {
    color: #ecf0f1;
}

/* ========================================
   ACHIEVEMENTS SECTION STYLES
   ======================================== */
.achievements {
    padding: 4rem 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

/* Use background image only on desktop/PC screens */
@media (min-width: 1024px) {
    .achievements {
        background: url('images/bande.png') center/cover no-repeat;
    }
}

.achievements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(76, 175, 80, 0.02) 25%, 
        transparent 50%, 
        rgba(76, 175, 80, 0.02) 75%, 
        transparent 100%);
    animation: waveMove 15s ease-in-out infinite;
}

.achievements-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.1), transparent);
    transition: left 0.6s ease;
}

.achievement-item:hover::before {
    left: 100%;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(76, 175, 80, 0.2);
    border-color: var(--primary-color);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.achievement-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.achievement-text p {
    font-size: 0.9rem;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
}

/* Dark Mode - Achievements */
[data-theme="dark"] .achievements {
    background: #ffffff;
}

/* Use background image only on desktop/PC screens for dark mode */
@media (min-width: 1024px) {
    [data-theme="dark"] .achievements {
        background: url('images/bande_dark.png') center/cover no-repeat;
    }
}

[data-theme="dark"] .achievement-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .achievement-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

[data-theme="dark"] .achievement-text h4 {
    color: #000000;
}

[data-theme="dark"] .achievement-text p {
    color: #000000;
}

/* Responsive Design - Achievements */
@media (max-width: 768px) {
    .achievements {
        padding: 3rem 0;
    }
    
    .achievements-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .achievement-item {
        padding: 1.25rem;
        gap: 0.875rem;
    }
    
    .achievement-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .achievement-text h4 {
        font-size: 1rem;
    }
    
    .achievement-text p {
        font-size: 0.85rem;
    }
}

/* Responsive Design - About Section */
@media (max-width: 1024px) {
    .about {
        padding: 100px 0;
    }
    
    .about-content {
        gap: 4rem;
    }
    
    .about-text h2 {
        font-size: 3.5rem;
    }
    
    .logo-r {
        height: 3.5rem;
    }
    
    .about-text h3 {
        font-size: 2rem;
    }
    
    .about-text p {
        font-size: 1.3rem;
    }
    
    .about-actions {
        justify-content: center;
    }
    
    .about-btn {
        font-size: 1.2rem;
        padding: 1.2rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 80px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-text h2 {
        font-size: 3rem;
        margin-bottom: 1.5rem;
        justify-content: center;
    }
    
    .logo-r {
        height: 3rem;
    }
    
    .about-text h3 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .about-text p {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
    }
    
    .about-actions {
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .about-btn {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        width: 100%;
        max-width: 300px;
    }
    
    .about-card {
        padding: 2rem;
        min-height: 160px;
    }
    
    .card-number {
        font-size: 3rem;
    }
    
    .card-title {
        font-size: 1.4rem;
    }
    
    .card-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-text h2 {
        font-size: 2.5rem;
        justify-content: center;
    }
    
    .logo-r {
        height: 2.5rem;
    }
    
    .about-text h3 {
        font-size: 1.6rem;
    }
    
    .about-text p {
        font-size: 1.1rem;
    }
    
    .about-actions {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .about-btn {
        font-size: 1rem;
        padding: 0.9rem 1.8rem;
        width: 100%;
        max-width: 280px;
    }
    
    .about-card {
        padding: 1.5rem;
        min-height: 140px;
    }
    
    .card-number {
        font-size: 2.5rem;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .card-subtitle {
        font-size: 0.9rem;
    }
}

/* ========================================
   PRICING SECTION STYLES
   ======================================== */

/* Table Controls */
.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.results-count {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.results-count span {
    color: var(--primary-color);
    font-weight: 600;
}

.sort-options select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-options select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
}

/* Pricing Table Container */
.pricing-table-container {
    margin-top: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.table-wrapper {
    overflow-x: auto;
    max-height: 600px;
    overflow-y: auto;
}

/* Professional Table Styles */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: var(--card-bg);
}

.pricing-table thead {
    background: #000000 !important;
    color: white !important;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Dark mode header */
[data-theme="dark"] .pricing-table thead {
    background: #ffffff !important;
    color: #000000 !important;
}

.pricing-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    background: #000000 !important;
    color: white !important;
}

/* Dark mode header cells */
[data-theme="dark"] .pricing-table th {
    background: #ffffff !important;
    color: #000000 !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}

.pricing-table th.sortable {
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-table th.sortable:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Dark mode header hover */
[data-theme="dark"] .pricing-table th.sortable:hover {
    background: rgba(0, 0, 0, 0.1);
}

.pricing-table th.sortable span {
    margin-right: 0.5rem;
}

.pricing-table th.sortable i {
    font-size: 0.8rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.pricing-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    animation: slideInUp 0.5s ease-out;
}

.pricing-table tbody tr:hover {
    background: var(--bg-secondary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pricing-table tbody tr.selected {
    background: var(--primary-color);
    color: white;
}

.pricing-table tbody tr.selected td {
    color: white;
}

.pricing-table td {
    padding: 1rem 1.5rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
}

/* Table Cell Styles */
.city-cell {
    min-width: 200px;
}

.city-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.city-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}


.price-cell {
    text-align: center;
    min-width: 100px;
}

.price-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.delivery-cell {
    text-align: center;
    min-width: 120px;
}

.delivery-value {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.refused-cell,
.retour-cell {
    text-align: center;
    min-width: 100px;
}

.refused-value,
.retour-value {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.actions-cell {
    text-align: center;
    min-width: 120px;
}

.action-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    margin: 0 0.2rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.view-btn {
    color: var(--primary-color);
}

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

.order-btn {
    color: #ff6b6b;
}

.order-btn:hover {
    background: #ff6b6b;
    color: white;
    transform: scale(1.1);
}

/* Table Pagination */
.table-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.pagination-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.25rem;
}

.pagination-number {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    min-width: 40px;
}

.pagination-number:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-number.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: 600;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.pricing-table-container {
    animation: fadeIn 0.6s ease-out;
}

/* Pricing Modal Styles */
.pricing-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Dark mode modal */
[data-theme="dark"] .modal-content {
    background: #2d2d2d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e0e0e0;
}

/* Dark mode header border */
[data-theme="dark"] .modal-header {
    border-bottom: 1px solid #444444;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #333333;
    font-weight: 700;
}

/* Dark mode header */
[data-theme="dark"] .modal-header h3 {
    color: #ffffff;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666666;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Dark mode close button */
[data-theme="dark"] .modal-close {
    color: #cccccc;
}

.modal-close:hover {
    background: #f5f5f5;
    color: #333333;
}

/* Dark mode close button hover */
[data-theme="dark"] .modal-close:hover {
    background: #444444;
    color: #ffffff;
}

.modal-body {
    padding: 2rem;
}

.pricing-details {
    margin-bottom: 2rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Dark mode price items */
[data-theme="dark"] .price-item {
    border-bottom: 1px solid #444444;
}

.price-item:last-child {
    border-bottom: none;
}

.price-item.main-price {
    background: var(--primary-color);
    color: white;
    margin: -1rem -2rem 1rem;
    padding: 1.5rem 2rem;
    border-radius: 0;
    border-bottom: none;
}

.price-item.main-price .price-label,
.price-item.main-price .price-value {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.price-label {
    font-size: 1rem;
    color: #666666;
    font-weight: 500;
}

/* Dark mode price labels */
[data-theme="dark"] .price-label {
    color: #cccccc;
}

.price-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2e7d32;
}

/* Dark mode price values */
[data-theme="dark"] .price-value {
    color: #4caf50;
}

.price-description {
    text-align: center;
    color: #888888;
    margin-bottom: 2rem;
    font-style: italic;
    font-size: 0.9rem;
}

/* Dark mode price description */
[data-theme="dark"] .price-description {
    color: #aaaaaa;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-actions .btn {
    flex: 1;
    max-width: 200px;
}

/* Search Box Styles */
.pricing-search {
    margin-bottom: 2rem;
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.search-box input::placeholder {
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .table-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
    
    .pricing-table th {
        font-size: 0.75rem;
        background: #000000 !important;
        color: white !important;
    }
    
    /* Dark mode mobile header */
    [data-theme="dark"] .pricing-table th {
        background: #ffffff !important;
        color: #000000 !important;
    }
    
    .city-cell {
        min-width: 150px;
    }
    
    .price-cell,
    .delivery-cell,
    .refused-cell,
    .retour-cell {
        min-width: 80px;
    }
    
    .actions-cell {
        min-width: 100px;
    }
    
    .table-pagination {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .pagination-controls {
        justify-content: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .pricing-table th,
    .pricing-table td {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .pricing-table th {
        font-size: 0.7rem;
        background: #000000 !important;
        color: white !important;
    }
    
    /* Dark mode small mobile header */
    [data-theme="dark"] .pricing-table th {
        background: #ffffff !important;
        color: #000000 !important;
    }
    
    .city-cell {
        min-width: 120px;
    }
    
    .price-cell,
    .delivery-cell,
    .refused-cell,
    .retour-cell {
        min-width: 60px;
    }
    
    .actions-cell {
        min-width: 80px;
    }
    
    .action-btn {
        padding: 0.3rem;
        margin: 0 0.1rem;
        font-size: 0.8rem;
    }
    
    .pagination-number {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
        min-width: 30px;
    }
    
    .pagination-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }
}
