* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #03366d;
    --primary-light: #1e4a7a;
    --accent-gold: #d4af37;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --text-muted: #888;
    --bg-light: #f8f9fa;
    --bg-ultra-light: #fbfcfd;
    --white: #ffffff;
    --border-light: #e8ecef;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-card: 0 2px 8px rgba(0,0,0,0.06);
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
    --gradient-light: linear-gradient(135deg, rgba(3, 54, 109, 0.95) 0%, rgba(30, 74, 122, 0.95) 100%);
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    font-weight: 400;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

/* Modal de idioma/país */
.language-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.language-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    max-width: 520px;
    width: 90%;
    text-align: center;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 1px solid var(--border-light);
}

.language-modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-logo {
    height: 30px;
    margin-bottom: 2rem;
}

.modal-content h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 600;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-ultra-light);
    font-family: inherit;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: white;
    box-shadow: 0 0 0 3px rgba(3, 54, 109, 0.08);
}

.modal-submit {
    background: var(--primary-blue);
    color: white;
    padding: 1.125rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: inherit;
    letter-spacing: 0.01em;
}

.modal-submit:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(30px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    box-shadow: var(--shadow);
    border-bottom-color: var(--border-light);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 20px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Language Dropdown */
.language-dropdown {
    position: relative;
    display: inline-block;
    z-index: 1001;
}

.language-dropdown .dropdown-toggle {
    padding: 0.5rem 0.875rem;
    border: 1.5px solid var(--border-light);
    background: transparent;
    color: var(--text-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 70px;
}

.language-dropdown .dropdown-toggle::after {
    content: '▼';
    font-size: 0.7em;
    margin-left: 0.5em;
    transition: transform 0.3s ease;
}

.language-dropdown.active .dropdown-toggle::after {
    transform: rotate(180deg);
}

.language-dropdown .dropdown-toggle:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
    min-width: 100px;
    padding: 0.5rem 0;
}

.language-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.75rem 1.25rem;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: background 0.2s ease, color 0.2s ease;
    font-family: inherit;
    font-weight: 500;
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
}

.dropdown-item.active {
    background: var(--primary-blue);
    color: white;
}

/* Hide original language selector (old buttons) */
.language-selector {
    display: none;
}

/* Mobile menu */
.mobile-menu-btn {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    z-index: 1001;
    position: relative;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-logo {
    margin-bottom: 2rem;
}

.mobile-menu-logo img {
    height: 30px;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-menu ul li {
    margin-bottom: 2rem;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.5rem;
    padding: 1rem 2rem;
    display: block;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.mobile-menu ul li a:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--gradient-light), 
                url('https://syntalys.ch/assets/hero_visual_syntalys_building.png') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    padding: 0 2rem;
    z-index: 2;
    position: relative;
    animation: heroFadeIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero .subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero .tagline {
    font-size: 1.35rem;
    margin-bottom: 3rem;
    opacity: 1;
    font-weight: 500;
    color: var(--accent-gold);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1.125rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    font-family: inherit;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-blue);
}

.btn-secondary {
    background: #103f73;
    color: white;
    border: 2px solid rgba(255,255,255,0.8);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-primary:hover {
    background: #e6c757;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-blue);
    border-color: white;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.75rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.solution-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--border-light);
    position: relative;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.solution-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.solution-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.services-list {
    list-style: none;
}

.services-list li {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
}

.services-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 1.1rem;
}

.services-list strong {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Services Slider */
.services-showcase {
    background: linear-gradient(135deg, var(--bg-ultra-light) 0%, var(--bg-light) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.services-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="grain" width="100" height="20" patternUnits="userSpaceOnUse"><circle cx="50" cy="10" r="0.5" fill="%23e8ecef" opacity="0.3"/></pattern></defs><rect width="100" height="20" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.services-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
    padding: 0 100px;
}

.services-slider-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-slider-header h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.services-slider-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    background: white;
    border: 2px solid var(--border-light);
    max-width: 600px;
    margin: 0 auto;
}

.slider-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.slider-slide {
    flex: 0 0 100%;
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--bg-ultra-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.slider-slide:hover img {
    transform: scale(1.05);
}

.slider-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slider-slide:hover .slider-overlay {
    transform: translateY(0);
}

.slider-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

.slider-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.95);
    border: 2px solid var(--border-light);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: var(--primary-blue);
    font-size: 1.25rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 10;
    box-shadow: var(--shadow-card);
}

.slider-nav:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-hover);
}

.slider-nav.prev {
    left: -70px;
}

.slider-nav.next {
    right: -70px;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-indicator.active {
    background: var(--primary-blue);
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(3, 54, 109, 0.2);
}

.slider-indicator:hover:not(.active) {
    background: var(--accent-gold);
    transform: scale(1.2);
}

.slider-counter {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(20px);
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-image-container {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-modal.active .modal-image-container {
    transform: scale(1);
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-hover);
}

.modal-close:hover {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-blue);
    font-size: 1.25rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
}

.modal-nav:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.modal-nav.prev {
    left: -100px;
}

.modal-nav.next {
    right: -100px;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    text-align: center;
    position: relative;
    border: 2px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pricing-card.popular {
    border-color: var(--accent-gold);
    transform: scale(1.03);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.02) 0%, rgba(3, 54, 109, 0.02) 100%);
}

.pricing-card.popular::before {
    content: attr(data-popular);
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--primary-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-6px);
}

.pricing-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
}

.pricing-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.pricing-card .description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.05rem;
}

.pricing-card .price {
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin: 1.5rem 0;
    line-height: 1.5;
}

.pricing-card .cta-buttons {
    gap: 1rem;
    margin-top: 1.5rem;
}

.pricing-card .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 4rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

.feature-number {
    display: inline-block;
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    line-height: 70px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.feature-item h4 {
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Metrics */
.metrics {
    background: var(--bg-light);
    text-align: center;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.metric-item {
    padding: 2rem 1rem;
}

.metric-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.metric-label {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Logo Slider */
.logo-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 3rem 0;
    height: 80px; /* Consistent height */
    display: flex; /* Added flex to container for centering */
    align-items: center; /* Center vertically */
}

.logo-slider {
    display: flex;
    width: max-content; /* This will make the slider as wide as its content (two logo-track-content divs) */
    animation: slide 60s linear infinite; /* Adjusted speed, will be fine-tuned */
    animation-play-state: running; /* Ensure animation is running by default */
}

.logo-slider:hover {
    animation-play-state: paused; /* Pause on hover */
}

/* New class to group one complete set of logos */
.logo-track-content {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Ensures the group doesn't shrink */
    /* Add some padding to the group to ensure spacing at ends */
    padding: 0 2rem; /* Adjust as needed for overall spacing */
}

.client-logo {
    height: 50px; /* Fixed height for the logo container */
    width: 120px; /* Fixed width for the logo container */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1.5rem; /* Spacing between logos */
    opacity: 0.4;
    color: var(--text-muted);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
}

.client-logo img {
    max-width: 100%; /* Ensure image scales within its container */
    max-height: 100%; /* Ensure image scales within its container */
    object-fit: contain; /* Maintain aspect ratio */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Translate by the full width of one .logo-track-content group */
        /* Since .logo-slider has two .logo-track-content, this is -50% of .logo-slider's total width */
        transform: translateX(-50%);
    }
}

/* Final CTA */
.final-cta {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.final-cta .section-header h2 {
    color: white;
}

.final-cta .section-header p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 3rem;
}

.final-cta .cta-buttons {
    margin-top: 1rem;
}

/* Demo Form Modal */
.demo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(20px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.demo-modal.active {
    opacity: 1;
    visibility: visible;
}

.demo-form {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    max-width: 600px;
    width: 90%;
    position: relative;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 1px solid var(--border-light);
    max-height: 90vh;
    overflow-y: auto;
}

.demo-modal.active .demo-form {
    transform: translateY(0) scale(1);
}

.demo-form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.demo-form-logo {
    height: 30px;
    margin-bottom: 1.5rem;
}

.demo-form h3 {
    color: var(--primary-blue);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.demo-form .form-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-field label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-ultra-light);
    font-family: inherit;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: white;
    box-shadow: 0 0 0 3px rgba(3, 54, 109, 0.08);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

/* Calendar Modal */
.calendar-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(20px);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.calendar-modal.active {
    opacity: 1;
    visibility: visible;
}

.calendar-content {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 1px solid var(--border-light);
}

.calendar-modal.active .calendar-content {
    transform: translateY(0) scale(1);
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.time-slot {
    padding: 0.75rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.time-slot:hover {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    color: white;
}

.time-slot.selected {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.confirmation-message {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(3, 54, 109, 0.1) 100%);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    margin: 2rem 0;
    border: 1px solid var(--accent-gold);
}

.confirmation-message h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.confirmation-message p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.875rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: var(--accent-gold);
}

.footer-logo {
    height: 45px;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: #bbb;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-tagline {
    color: var(--accent-gold);
    font-style: italic;
    font-weight: 500;
}

.payment-methods {
    margin-top: 2rem;
}

.payment-methods h4 {
    margin-bottom: 1rem;
}

.payment-methods p {
    margin-bottom: 0.75rem;
    color: #ccc;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #888;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 900px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    z-index: 9999;
    border: 1px solid var(--border-light);
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.cookie-banner.hidden {
    transform: translateX(-50%) translateY(200%);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex-grow: 1;
}

.cookie-banner-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    line-height: 1;
}

.cookie-banner-text p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.cookie-banner-text a {
    color: var(--primary-blue);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    white-space: nowrap;
}

.btn-cookie {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-accept {
    background: var(--primary-blue);
    color: white;
    border: 1px solid var(--primary-blue);
}

.btn-accept:hover {
    background: var(--primary-light);
}

.btn-reject {
    background: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}

.btn-reject:hover {
    background: var(--primary-blue);
    color: white;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    /* Logo Slider adjustments for tablet */
    .client-logo {
        width: 100px; /* Slightly smaller on tablets */
        height: 45px;
        margin: 0 1rem; /* Reduced margin */
    }
    .logo-track-content {
        padding: 0 1rem; /* Reduced padding */
    }
    .logo-slider {
        animation-duration: 90s; /* Adjust speed for tablet */
    }
    .fade-left, .fade-right {
        width: 80px; /* Adjust fade width */
    }

    /* Services slider adjustments */
    .services-slider-container {
        padding: 0 80px;
    }

    .slider-nav {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .slider-nav.prev {
        left: -60px;
    }

    .slider-nav.next {
        right: -60px;
    }

    .modal-nav {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .modal-nav.prev {
        left: -80px;
    }

    .modal-nav.next {
        right: -80px;
    }
    
    /* Cookie banner */
    .cookie-banner {
        flex-direction: column;
        bottom: 0.5rem;
        width: calc(100% - 1rem);
        padding: 1.5rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .btn-cookie {
        flex-grow: 1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header .language-dropdown {
        display: inline-block;
    }

    .mobile-menu .language-dropdown {
        display: none;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2.25rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .section {
        padding: 4rem 0;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-6px);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .demo-form, .modal-content {
        padding: 2rem;
        margin: 1rem;
    }

    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Logo Slider adjustments for mobile */
    .client-logo {
        width: 80px; /* Smaller on mobile */
        height: 40px;
        margin: 0 0.75rem; /* Further reduced margin */
    }
    .logo-track-content {
        padding: 0 0.5rem; /* Further reduced padding */
    }
    .logo-slider {
        animation-duration: 60s; /* Faster speed for very small screens to ensure movement */
    }
    .fade-left, .fade-right {
        width: 60px; /* Adjust fade width */
    }
    .logo-slider-container {
        height: 70px; /* Slightly smaller container height */
    }

    /* Services slider mobile adjustments */
    .services-showcase {
        padding: 3rem 0;
    }

    .services-slider-container {
        padding: 0 1rem;
    }

    .services-slider-header h2 {
        font-size: 2rem;
    }

    .slider-nav {
        display: none; /* Hide navigation arrows on mobile */
    }

    .slider-wrapper {
        margin: 0;
        max-width: 100%;
    }

    .slider-slide img {
        cursor: pointer; /* Change cursor since it's clickable for modal */
    }

    .slider-overlay {
        padding: 1.5rem;
        transform: translateY(0); /* Always show overlay on mobile */
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 70%, transparent 100%);
    }

    .slider-overlay h3 {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }

    .slider-overlay p {
        font-size: 0.9rem;
    }

    .slider-indicators {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .slider-indicator {
        width: 10px;
        height: 10px;
    }

    .modal-nav {
        display: none; /* Hide modal navigation on mobile */
    }

    .modal-close {
        top: -10px;
        right: -10px;
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.25rem;
    }

    .section-header h2 {
        font-size: 1.875rem;
    }

    .solution-card, .pricing-card {
        padding: 2rem 1.5rem;
    }

    /* Logo Slider adjustments for small mobile */
    .client-logo {
        width: 70px; /* Even smaller on small mobile */
        height: 35px;
        margin: 0 0.5rem; /* Minimal margin */
    }
    .logo-track-content {
        padding: 0 0.25rem; /* Minimal padding */
    }
    .logo-slider {
        animation-duration: 40s; /* Faster speed for very small screens to ensure movement */
    }
    .fade-left, .fade-right {
        width: 40px; /* Minimal fade width */
    }
    .logo-slider-container {
        height: 60px; /* Smallest container height */
    }

    /* Services slider small mobile adjustments */
    .services-slider-container {
        padding: 0 0.5rem;
    }

    .services-slider-header h2 {
        font-size: 1.75rem;
    }

    .slider-overlay {
        padding: 1rem;
    }

    .slider-overlay h3 {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }

    .slider-overlay p {
        font-size: 0.85rem;
    }

    .slider-indicators {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .slider-indicator {
        width: 10px;
        height: 10px;
    }
    
    /* Cookie banner */
    .cookie-banner-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Loading animation */
@keyframes pageLoad {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    animation: pageLoad 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Touch gestures for mobile slider */
@media (max-width: 768px) {
    .slider-wrapper {
        touch-action: pan-x;
    }
}