/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease, visibility 1s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Animated Logo */
.loading-logo {
    position: relative;
    margin-bottom: 60px;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 30px rgba(255, 255, 255, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    animation: logoGlow 2s ease-in-out infinite alternate;
}

.logo-inner {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.logo-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: logoShine 3s linear infinite;
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    z-index: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.logo-image {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.logo-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 140px;
    height: 140px;
    animation: ringRotate 4s linear infinite;
}

.ring-2 {
    width: 160px;
    height: 160px;
    animation: ringRotate 6s linear infinite reverse;
    border-color: rgba(255, 255, 255, 0.15);
}

.ring-3 {
    width: 180px;
    height: 180px;
    animation: ringRotate 8s linear infinite;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Event Icons Animation */
.event-icons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}

.icon-item {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: iconFloat 3s ease-in-out infinite;
}

.icon-1 {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.icon-2 {
    top: 25%;
    right: 10%;
    animation-delay: 0.5s;
}

.icon-3 {
    top: 50%;
    right: 0%;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.icon-4 {
    bottom: 25%;
    right: 10%;
    animation-delay: 1.5s;
}

.icon-5 {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
}

.icon-6 {
    top: 50%;
    left: 0%;
    transform: translateY(-50%);
    animation-delay: 2.5s;
}

/* Loading Text */
.loading-text {
    margin-bottom: 50px;
}

.loading-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.loading-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.8s;
    letter-spacing: 2px;
}

.loading-tagline {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.word {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    transform: translateY(20px);
    animation: wordAppear 0.8s ease forwards;
}

.word-1 { animation-delay: 1.2s; }
.word-2 { animation-delay: 1.5s; }
.word-3 { animation-delay: 1.8s; }

/* Loading Progress */
.loading-progress {
    width: 300px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    width: 0%;
    border-radius: 2px;
    animation: progressFill 3s ease-in-out forwards;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.progress-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards 2s;
}

/* Particle Background */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particleFloat 8s linear infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 1s;
    animation-duration: 10s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 3s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    left: 60%;
    animation-delay: 1.5s;
    animation-duration: 11s;
}

.particle:nth-child(6) {
    left: 70%;
    animation-delay: 2.5s;
    animation-duration: 8s;
}

.particle:nth-child(7) {
    left: 80%;
    animation-delay: 0.5s;
    animation-duration: 10s;
}

.particle:nth-child(8) {
    left: 90%;
    animation-delay: 3.5s;
    animation-duration: 9s;
}

/* Loading Animations */
@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes logoGlow {
    0% { box-shadow: 0 0 30px rgba(255, 255, 255, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.1); }
    100% { box-shadow: 0 0 50px rgba(255, 255, 255, 0.5), inset 0 0 30px rgba(255, 255, 255, 0.2); }
}

@keyframes logoShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes ringRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes iconFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-15px) scale(1.1);
        opacity: 1;
    }
}

/* Chatbot Popup Styles */
.chatbot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-overlay.active {
    opacity: 1;
    visibility: visible;
}

.chatbot-popup {
    width: 90%;
    max-width: 450px;
    height: 600px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.8) translateY(50px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.chatbot-overlay.active .chatbot-popup {
    transform: scale(1) translateY(0);
}

.chatbot-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%) skewX(45deg);
    transition: transform 0.8s ease;
    pointer-events: none;
}

.chatbot-popup:hover::before {
    transform: translateX(100%) skewX(45deg);
}

/* Chatbot Header */
.chatbot-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-avatar {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.avatar-img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    border-radius: 50%;
}

.avatar-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #00ff88;
    border-radius: 50%;
    border: 2px solid #000000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.chatbot-info {
    flex: 1;
}

.chatbot-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #ffffff;
}

.chatbot-status {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 5px;
}

.chatbot-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.chatbot-close {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: scale(1.1);
}

/* Chatbot Messages */
.chatbot-messages {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.message {
    display: flex;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    animation: messageSlideIn 0.5s ease forwards;
}

.message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.message.user .message-avatar {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    color: #000000;
}

.message-avatar img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    border-radius: 50%;
}

.message-content {
    max-width: 70%;
    padding: 15px 18px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    font-size: 15px;
    line-height: 1.4;
    position: relative;
}

.message.user .message-content {
    background: rgba(255, 255, 255, 0.9);
    color: #000000;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 10px 0;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: typingDots 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDots {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.6; }
    30% { transform: translateY(-10px); opacity: 1; }
}

@keyframes messageSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chatbot Input Area */
.chatbot-input-area {
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.chatbot-options {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}

.option-button {
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.option-button::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;
}

.option-button:hover::before {
    left: 100%;
}

.option-button:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 1) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.option-button:active {
    transform: translateY(0) scale(0.98);
}

/* Responsive Chatbot */
@media (max-width: 768px) {
    .chatbot-popup {
        width: 95%;
        height: 90vh;
        border-radius: 20px;
    }
    
    .chatbot-header {
        padding: 15px 20px;
    }
    
    .chatbot-messages {
        padding: 20px;
    }
    
    .chatbot-input-area {
        padding: 15px 20px;
    }
    
    .chatbot-name {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .chatbot-popup {
        width: 98%;
        height: 95vh;
        border-radius: 16px;
    }
    
    .message-content {
        max-width: 85%;
        font-size: 14px;
    }
    
    .option-button {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* Clients Section */
.clients-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 50%, #1a1a1a 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.clients-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* Clients Header */
.clients-header {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards;
}

.clients-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.clients-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.clients-description {
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Clients Carousel */
.clients-carousel {
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
    mask: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.clients-track {
    display: flex;
    gap: 60px;
    animation: scrollClients 30s linear infinite;
    width: fit-content;
}

.clients-track:hover {
    animation-play-state: paused;
}

.client-logo {
    flex-shrink: 0;
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.client-logo::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;
}

.client-logo:hover::before {
    left: 100%;
}

.client-logo:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.logo-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.4s ease;
}

.client-logo:hover .logo-image {
    opacity: 1;
    filter: brightness(0) invert(1);
}

@keyframes scrollClients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Clients Stats */
.clients-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.stat-item:hover::before {
    transform: translateX(100%);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

.stat-label {
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Clients */
@media (max-width: 1024px) {
    .clients-container {
        padding: 0 30px;
    }
    
    .client-logo {
        width: 160px;
        height: 90px;
    }
    
    .clients-track {
        gap: 50px;
    }
    
    .clients-stats {
        gap: 30px;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .clients-section {
        padding: 80px 0;
    }
    
    .clients-container {
        padding: 0 20px;
    }
    
    .clients-header {
        margin-bottom: 60px;
    }
    
    .clients-title {
        font-size: 28px;
    }
    
    .clients-description {
        font-size: 14px;
    }
    
    .client-logo {
        width: 140px;
        height: 80px;
        padding: 15px;
    }
    
    .clients-track {
        gap: 40px;
    }
    
    .clients-stats {
        gap: 20px;
        grid-template-columns: 1fr;
        margin-bottom: 40px;
    }
    
    .stat-item {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 14px;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.footer-bg-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* Footer Main */
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

/* Footer Brand */
.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.footer-description {
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.social-link:hover::before {
    transform: translateX(100%) rotate(45deg);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Footer Sections */
.footer-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, transparent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    font-weight: 300;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-link:hover::before {
    width: 100%;
}

/* Contact Info */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 300;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(3px);
}

.contact-item svg {
    flex-shrink: 0;
    opacity: 0.8;
}

/* Newsletter */
.footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin: 60px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.footer-newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%) skewX(45deg);
    transition: transform 0.8s ease;
}

.footer-newsletter:hover::before {
    transform: translateX(100%) skewX(45deg);
}

.newsletter-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.newsletter-description {
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.newsletter-form {
    position: relative;
}

.newsletter-input-group {
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.newsletter-input-group:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 16px;
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-button {
    padding: 15px 25px;
    background: #ffffff;
    color: #000000;
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(3px);
}

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 300;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.legal-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    transition: all 0.3s ease;
    position: relative;
}

.legal-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.6);
    transition: width 0.3s ease;
}

.legal-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

.legal-link:hover::after {
    width: 100%;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-container {
        padding: 0 30px;
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-newsletter {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0 40px;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-newsletter {
        padding: 30px;
        margin: 40px 0;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .newsletter-button {
        border-radius: 0 0 15px 15px;
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-legal {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 50px 0 30px;
    }
    
    .footer-newsletter {
        padding: 25px;
    }
    
    .newsletter-title {
        font-size: 20px;
    }
    
    .newsletter-description {
        font-size: 14px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 15px;
    }
}

@keyframes wordAppear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progressFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.logo svg {
    color: #ffffff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ffffff;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-icon {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.nav-icon:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 25px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    min-width: 350px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    rotate: 45deg;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item::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;
}

.dropdown-item:hover::before {
    left: 100%;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.dropdown-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.dropdown-item:hover .dropdown-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: scale(1.1);
}

.dropdown-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-title {
    font-weight: 500;
    font-size: 14px;
    color: inherit;
}

.dropdown-subtitle {
    font-weight: 300;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.dropdown-item:hover .dropdown-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .logo {
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    
    .logo:hover {
        transform: scale(1.05);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(26, 26, 26, 0.98) 100%);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.3s ease;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Staggered animation for menu items */
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
    
    .nav-link {
        font-size: 24px;
        font-weight: 300;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        position: relative;
        padding: 15px 30px;
        border-radius: 50px;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(10px);
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    /* Close indicator - aparece cuando el menú está abierto */
    .nav-menu::before {
        content: '✕';
        position: absolute;
        top: 40px;
        right: 40px;
        font-size: 24px;
        color: rgba(255, 255, 255, 0.6);
        cursor: pointer;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        opacity: 0;
        transform: rotate(180deg) scale(0.5);
    }
    
    .nav-menu.active::before {
        opacity: 1;
        transform: rotate(0deg) scale(1);
        transition-delay: 0.3s;
    }
    
    .nav-menu::before:hover {
        background: rgba(255, 255, 255, 0.2);
        color: #ffffff;
    }
    
    /* Logo pulse effect when menu is active */
    .logo.menu-active {
        animation: logoPulse 2s ease-in-out infinite;
    }
    
    @keyframes logoPulse {
        0%, 100% { 
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
        }
        50% { 
            transform: scale(1.05);
            box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
        }
    }
    
    /* Overlay effect */
    .nav-menu::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
        pointer-events: none;
        z-index: -1;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video-desktop {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

/* .hero-fallback {
/*     position: absolute;
/*     top: 0;
/*     left: 0;
/*     width: 100%;
/*     height: 100%;
/*     background-image: url('assets/hero-fallback.jpg');
/*     background-size: cover;
/*     background-position: center;
/*     background-repeat: no-repeat;
/*     z-index: -2;
/* }
*/

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 40px;
}

.hero-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.7s;
}

.cta-button {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.9s;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Vertical Pagination */
.vertical-pagination {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.pagination-item {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-number {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.pagination-item.active .page-number {
    color: #ffffff;
    font-weight: 500;
}

.pagination-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.pagination-item.active::before {
    width: 12px;
    background: #ffffff;
}

.pagination-item:hover .page-number {
    color: rgba(255, 255, 255, 0.8);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.5s;
}

.scroll-circle {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-circle:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

.scroll-circle svg {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.scroll-circle:hover svg {
    color: rgba(255, 255, 255, 0.8);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Loading Screen */
@media (max-width: 768px) {
    .loading-title {
        font-size: 36px;
    }
    
    .loading-subtitle {
        font-size: 16px;
    }
    
    .word {
        font-size: 18px;
    }
    
    .logo-circle {
        width: 100px;
        height: 100px;
    }
    
    .logo-inner {
        width: 80px;
        height: 80px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .event-icons {
        width: 250px;
        height: 250px;
    }
    
    .loading-progress {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .loading-title {
        font-size: 28px;
    }
    
    .loading-subtitle {
        font-size: 14px;
    }
    
    .word {
        font-size: 16px;
    }
    
    .loading-tagline {
        flex-direction: column;
        gap: 5px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 30px;
    }
    
    .nav-left {
        gap: 40px;
    }
    
    .nav-menu {
        gap: 30px;
    }
    
    .vertical-pagination {
        right: 30px;
    }
    
    .hero-content {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }
    
    .nav-left {
        gap: 20px;
    }
    
    /* Comentamos esta línea que estaba ocultando el menú */
    /* .nav-menu {
        display: none;
    } */
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }
    
    .cta-button {
        padding: 14px 32px;
        font-size: 15px;
    }
    
    .scroll-indicator {
        bottom: 30px;
    }
    
    .scroll-circle {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .logo-img {
        width: 32px;
        height: 32px;
    }
    
    .nav-right {
        gap: 15px;
    }
}

/* Video fallback for mobile */
@media (max-width: 768px) {
    .hero-video-desktop {
        display: none;
    }
    
    /*     .hero-fallback {
    /*         z-index: -1;
    /*     }
    */
}

/* Services Section */
.services-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* Services Header */
.services-header {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards;
}

.services-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.services-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 30px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.services-description {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Carousel Styles */
.services-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 30px;
}

/* Service Cards */
.service-card {
    min-width: 450px;
    height: 600px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transform: scale(0.92);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.85;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
    transform: scale(1) translateY(-15px);
    opacity: 1;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.service-card.active {
    transform: scale(0.98);
    opacity: 1;
}

/* Card Background with Image */
.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .card-image {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.4) 50%, 
        rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        transparent 30%, 
        transparent 70%, 
        rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 2;
}

.service-card:hover .card-gradient {
    opacity: 1;
}

/* Card Content */
.card-content {
    position: relative;
    z-index: 3;
    padding: 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.1) 0%, 
        rgba(0, 0, 0, 0.3) 60%, 
        rgba(0, 0, 0, 0.8) 100%);
}

.card-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-card:hover .card-icon {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.card-title {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.service-card:hover .card-title {
    transform: translateY(-8px);
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.card-description {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 40px;
    transition: all 0.4s ease 0.1s;
}

.service-card:hover .card-description {
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-5px);
}

.card-button {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
    padding: 15px 25px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card:hover .card-button {
    color: #ffffff;
    transform: translateX(15px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.card-button svg {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .card-button svg {
    transform: translateX(8px);
}

/* Hover Effect Overlay */
.card-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
    transform: translateX(-100%) skewX(45deg);
    transition: transform 0.8s ease;
    pointer-events: none;
    z-index: 4;
}

.service-card:hover .card-hover-effect {
    transform: translateX(100%) skewX(45deg);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card:hover .card-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .card-title {
    transform: translateY(-5px);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.card-description {
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 30px;
    transition: all 0.3s ease 0.1s;
}

.service-card:hover .card-description {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}

.card-button {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
}

.service-card:hover .card-button {
    color: #ffffff;
    transform: translateX(10px);
}

.card-button svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .card-button svg {
    transform: translateX(5px);
}

/* Hover Effect Overlay */
.card-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%) skewX(45deg);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.service-card:hover .card-hover-effect {
    transform: translateX(100%) skewX(45deg);
}

/* Carousel Navigation */
.carousel-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.nav-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: all;
    transform: translateX(0);
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: scale(1.15);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.nav-prev {
    left: -35px;
}

.nav-next {
    right: -35px;
}

/* Carousel Dots - Dynamic */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.3);
}

.dot.active {
    background: #ffffff;
    transform: scale(1.4);
}

.dot.active::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    width: 26px;
    height: 26px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

/* Responsive Services */
@media (max-width: 1024px) {
    .services-container {
        padding: 0 30px;
    }
    
    .service-card {
        min-width: 380px;
        height: 550px;
    }
    
    .card-content {
        padding: 40px;
    }
    
    .nav-prev {
        left: -25px;
    }
    
    .nav-next {
        right: -25px;
    }
    
    .nav-button {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 80px 0;
    }
    
    .services-container {
        padding: 0 20px;
    }
    
    .services-header {
        margin-bottom: 60px;
    }
    
    .services-title {
        font-size: 36px;
    }
    
    .services-description {
        font-size: 16px;
    }
    
    .service-card {
        min-width: 320px;
        height: 500px;
    }
    
    .card-content {
        padding: 35px;
    }
    
    .card-title {
        font-size: 22px;
    }
    
    .card-description {
        font-size: 15px;
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 25px;
    }
    
    .nav-button {
        width: 50px;
        height: 50px;
    }
    
    .nav-prev {
        left: -15px;
    }
    
    .nav-next {
        right: -15px;
    }
    
    .carousel-dots {
        gap: 15px;
        margin-top: 40px;
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }
}
/* ===== Fullscreen mobile chatbot ===== */
@media (max-width: 768px) {
  /* El overlay ocupa toda la pantalla y coloca el popup estirado */
  .chatbot-overlay {
    align-items: stretch;       /* de arriba a abajo */
    justify-content: stretch;   /* de lado a lado */
    padding: 0;
  }

  /* Popup a pantalla completa */
  .chatbot-popup {
    width: 100vw;
    max-width: none;
    height: 100dvh;                 /* altura real con barras dinámicas */
    min-height: -webkit-fill-available; /* fallback iOS viejo */
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    transform: translateY(0) scale(1);  /* sin “bounce” en fullscreen */
    display: flex;
    flex-direction: column;        /* header / mensajes / input apilados */
    backdrop-filter: blur(10px);   /* mantiene el glassmorphism */
  }

  /* Header fijo arriba, con “notch-safe” */
  .chatbot-header {
    position: sticky;
    top: 0;
    z-index: 3;
    padding-top: calc(12px + env(safe-area-inset-top));
    /* tira la “píldora” de arrastre si la usabas */
  }

  /* Área de mensajes ocupa todo el espacio intermedio */
  .chatbot-messages {
    flex: 1;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px; /* pequeña separación del input */
  }

  /* Input pegado al fondo con safe-area */
  .chatbot-input-area {
    position: sticky;
    bottom: 0;
    z-index: 3;
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }

  /* Botones más “tap friendly” */
  .option-button {
    padding: 16px 18px;
    font-size: 16px;
    border-radius: 14px;
  }

  /* Ajustes del overlay visible (no animar desde abajo en fullscreen) */
  .chatbot-overlay.active .chatbot-popup {
    transform: translateY(0);
  }
}
/* ============================================================
   BUSCADOR GLOBAL - Estilos
   ============================================================ */

.global-search-container {
    position: relative;
    z-index: 9999;
}

/* Botón de búsqueda */
.search-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 15px;
}

.search-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.search-toggle svg {
    color: #ffffff;
}

/* Overlay del buscador */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 100px 20px 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Caja de búsqueda */
.search-box {
    width: 100%;
    max-width: 700px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(15, 15, 15, 0.95));
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(-20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-overlay.active .search-box {
    transform: translateY(0);
}

/* Input de búsqueda */
.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.search-input-wrapper svg {
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

#globalSearchInput {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
}

#globalSearchInput::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Botón cerrar */
.search-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.search-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.search-close svg {
    color: #ffffff;
}

/* Resultados de búsqueda */
.search-results {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Item de resultado */
.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.result-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.result-icon svg {
    color: #ffffff;
}

.result-content {
    flex: 1;
}

.result-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.result-title mark {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000000;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.result-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.result-arrow {
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.search-result-item:hover .result-arrow {
    transform: translateX(5px);
}

/* Mensaje vacío */
.search-empty {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

/* Sin resultados */
.search-no-results {
    text-align: center;
    padding: 60px 20px;
}

.search-no-results svg {
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.search-no-results p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .search-overlay {
        padding: 80px 15px 15px;
    }
    
    .search-box {
        padding: 20px;
        border-radius: 15px;
    }
    
    .search-input-wrapper {
        padding: 12px 15px;
    }
    
    #globalSearchInput {
        font-size: 16px;
    }
    
    .result-title {
        font-size: 15px;
    }
    
    .result-description {
        font-size: 13px;
    }
    
    .search-toggle {
        width: 36px;
        height: 36px;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-result-item {
    animation: fadeInUp 0.3s ease forwards;
}

.search-result-item:nth-child(1) { animation-delay: 0.05s; }
.search-result-item:nth-child(2) { animation-delay: 0.1s; }
.search-result-item:nth-child(3) { animation-delay: 0.15s; }
.search-result-item:nth-child(4) { animation-delay: 0.2s; }
.search-result-item:nth-child(5) { animation-delay: 0.25s; }
/* Estilos para videos hero responsive */
.hero-video-mobile {
    display: none;
}

.hero-video-desktop {
    display: block;
}

/* Media query para móviles */
@media (max-width: 768px) {
    .hero-video-mobile {
        display: block;
    }
    
    .hero-video-desktop {
        display: none;
    }
}