﻿/* ===========================================
   NAVBAR COMPONENT - STANDALONE CSS
   Extracted from styles.css exactly as is
   =========================================== */

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

body {
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* ===========================================
   CSS VARIABLES
   =========================================== */
:root {
    --primary-color: #6a0dad; /* Purple - main SINSAJO color */
    --secondary-color: #9370DB; /* Medium Purple - secondary color */
    --text-color: #1f2937;
    --light-text: #6b7280;
    --dark-bg: #111827;
    --light-bg: #f8fafc;
    --radius: 8px;
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

/* ===========================================
   DESKTOP/MOBILE VISIBILITY HELPERS
   =========================================== */
.desktop-only { display: block; }
.phone-only { display: none; }

:not(.is-phone) .phone-only { display: none !important; }
.is-phone .phone-only { display: block !important; }
.is-phone .desktop-only { display: none !important; }

/* Global: in phones hide any default header unless explicitly marked phone-only */
.is-phone header:not(.phone-only):not(.mobile-navbar) { display: none !important; }
.is-phone header.phone-only { display: block !important; }

/* ===========================================
   CONTAINER
   =========================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar container override - matches original */
.navbar .container {
    padding: 0 2rem !important;
}

/* ===========================================
   NAVBAR BASE STYLES
   =========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 83.68px !important;
    min-height: 83.68px !important;
    padding: 0 !important;
    background-color: #111827;
    overflow-wrap: normal;
    word-wrap: normal;
}

/* Navbar container with flex layout */
.navbar .container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 1008px !important;
    max-width: 1008px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    height: 83.68px !important;
    gap: 2rem !important;
    overflow-wrap: normal;
    word-wrap: normal;
}

/* ===========================================
   LOGO SECTION
   =========================================== */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 42px;
    filter: none;
    transform-origin: center center;
}

/* ===========================================
   NAVIGATION LINKS
   =========================================== */
.nav-links {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    max-width: none !important;
    margin: 0 !important;
}

.nav-links ul,
.navbar .nav-links ul {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-wrap: normal;
    word-wrap: normal;
}

.nav-links a,
.navbar .nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.7rem 1.2rem;
    position: relative;
    transition: all 0.2s ease;
    border-radius: 6px;
    background: transparent;
    border: 1px solid transparent;
    letter-spacing: -0.01em;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    white-space: nowrap;
    word-break: keep-all;
}

.nav-links a:hover,
.navbar .nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.nav-links a.active,
.navbar .nav-links a.active {
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.3);
    color: white;
}

/* ===========================================
   HEADER RIGHT SECTION - CONTROLS
   =========================================== */
.header-right {
    display: flex !important;
    align-items: center !important;
    gap: 1.25rem !important;
    flex-shrink: 0 !important;
    justify-content: center !important;
    min-width: auto !important;
}

/* ===========================================
   HAMBURGER MENU - MOBILE NAVIGATION
   =========================================== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 101;
    width: 30px;
    height: 25px;
    justify-content: space-between;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ===========================================
   COMPANY DROPDOWN
   =========================================== */
.company-dropdown {
    position: relative;
}

.company-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.7rem 1.2rem;
    position: relative;
    transition: all 0.2s ease;
    border-radius: 6px;
    background: transparent;
    border: 1px solid transparent;
    letter-spacing: -0.01em;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
}

.company-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
    color: #FFFFFF;
}

.dropdown-arrow::after {
    content: "▼";
    font-size: 0.6rem;
}

.company-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.company-dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: -120px;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    width: 420px;
    min-height: 200px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000;
}

.company-dropdown:hover .company-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.company-dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.company-dropdown-menu a {
    display: flex;
    align-items: flex-start;
    padding: 1.25rem 0;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    gap: 0.5rem;
}

.company-dropdown-menu a:last-child {
    border-bottom: none;
}

.company-dropdown-menu a .menu-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.company-dropdown-menu a .menu-subtitle {
    font-size: 0.8rem;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.4;
    max-width: 320px;
}

.company-dropdown-menu a:hover {
    color: white;
    padding-left: 1rem;
    background: rgba(74, 222, 128, 0.05);
    border-radius: 12px;
    margin: 0 -1rem;
    padding-right: 1rem;
}

.company-dropdown-menu a:hover .menu-title {
    color: var(--secondary-color);
}

.company-dropdown-menu a:hover .menu-subtitle {
    color: #FFFFFF;
}

.company-dropdown-menu a::before {
    display: none;
}

.company-toggle::after {
    display: none;
}

.company-dropdown.hover .company-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

.company-dropdown.hover .dropdown-arrow {
    transform: rotate(180deg) !important;
}

/* ===========================================
   PLATFORM DROPDOWN
   =========================================== */
.platform-dropdown {
    position: relative;
}

.platform-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #FFFFFF;
    text-decoration: none;
    padding: 0.7rem 1.2rem !important;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    background: transparent;
    font-weight: 500 !important;
    font-size: 1.05rem !important;
    letter-spacing: -0.01em;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
}

.platform-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.platform-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.platform-dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: -300px;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 1.5rem;
    width: 600px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 1fr);
    gap: 1rem;
}

.platform-dropdown:hover .platform-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.platform-dropdown-menu .menu-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 8px;
    gap: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.platform-dropdown-menu .menu-item:hover {
    color: white;
    background: rgba(74, 222, 128, 0.05);
    border-color: rgba(74, 222, 128, 0.2);
    transform: translateY(-2px);
}

.menu-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #ffffff;
    border-radius: 4px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.platform-dropdown-menu .menu-item .menu-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    letter-spacing: -0.01em;
}

.platform-dropdown-menu .menu-item .menu-subtitle {
    font-size: 0.8rem;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.4;
}

.platform-dropdown-menu .menu-item:hover .menu-title {
    color: var(--secondary-color);
}

.platform-dropdown-menu .menu-item:hover .menu-subtitle {
    color: #FFFFFF;
}

.platform-dropdown-menu .menu-item:hover .menu-icon {
    transform: scale(1.1);
}

.platform-dropdown.hover .platform-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

/* Menu Icon Styles */
.ai-agent-icon::before,
.ai-voice-icon::before,
.ai-analytics-icon::before,
.ai-guru-icon::before,
.ai-quality-icon::before,
.ai-knowledge-icon::before,
.ai-asr-icon::before,
.omni-icon::before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(19%) sepia(51%) saturate(4532%) hue-rotate(266deg) brightness(84%) contrast(118%);
}

.ai-agent-icon::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E"); }
.ai-voice-icon::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z'/%3E%3C/svg%3E"); }
.ai-analytics-icon::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z'/%3E%3C/svg%3E"); }
.ai-guru-icon::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E"); }
.ai-quality-icon::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E"); }
.ai-knowledge-icon::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z'/%3E%3C/svg%3E"); }
.ai-asr-icon::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 15c1.66 0 3-1.34 3-3V6c0-1.66-1.34-3-3-3S9 4.34 9 6v6c0 1.66 1.34 3 3 3zm-1-9c0-.55.45-1 1-1s1 .45 1 1v6c0 .55-.45 1-1 1s-1-.45-1-1V6zm6 6c0 2.76-2.24 5-5 5s-5-2.24-5-5H5c0 3.53 2.61 6.43 6 6.92V21h2v-2.08c3.39-.49 6-3.39 6-6.92h-2z'/%3E%3C/svg%3E"); }
.omni-icon::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.94-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E"); }

/* ===========================================
   LANGUAGE TOGGLE SWITCH
   =========================================== */
.language-selector {
    position: relative;
}

.language-toggle-switch {
    position: relative;
    cursor: pointer;
}

.toggle-track {
    position: relative;
    width: 120px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    box-shadow: 
        inset 4px 4px 8px rgba(0, 0, 0, 0.1),
        inset -4px -4px 8px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.toggle-slider {
    position: absolute;
    width: 32px;
    height: 32px;
    background: #f0f0f0;
    border-radius: 50%;
    left: 4px;
    top: 4px;
    transition: all 0.3s ease;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.2),
        -2px -2px 4px rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-sizing: border-box;
}

.flag-icon {
    width: 28px;
    height: 28px;
    border-radius: 2px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.us-flag {
    background-image: url("../../Assets/Image/Flags/Bandera_de_Estados Unidos.png");
}

.es-flag {
    background-image: url("../../Assets/Image/Flags/Bandera_de_España.png");
}

.lang-text {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.en-text {
    color: #333;
}

.es-text {
    color: #999;
}

/* Active state - English selected */
.language-toggle-switch.active-en .toggle-slider {
    left: 4px;
}

.language-toggle-switch.active-en .en-text {
    color: #333;
}

.language-toggle-switch.active-en .es-text {
    color: #999;
}

.language-toggle-switch.active-en .flag-icon {
    background-image: url("../../Assets/Image/Flags/Bandera_de_Estados Unidos.png");
}

/* Active state - Spanish selected */
.language-toggle-switch.active-es .toggle-slider {
    left: 84px;
}

.language-toggle-switch.active-es .en-text {
    color: #999;
}

.language-toggle-switch.active-es .es-text {
    color: #333;
}

.language-toggle-switch.active-es .flag-icon {
    background-image: url("../../Assets/Image/Flags/Bandera_de_España.png");
}

.language-toggle-switch:hover .toggle-track {
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8);
}

.language-toggle-switch:hover .toggle-slider {
    box-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.2),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}

.language-selector.hover .language-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

.language-selector.hover .language-toggle {
    min-width: 140px !important;
    padding: 0.5rem 1rem !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.language-selector.hover .language-toggle .current-lang {
    opacity: 1 !important;
    width: auto !important;
}

/* ===========================================
   THEME TOGGLE SWITCH
   =========================================== */
.theme-selector {
    position: relative;
}

.theme-toggle-switch {
    position: relative;
    cursor: pointer;
    pointer-events: auto;
    z-index: 10;
}

.theme-toggle-switch .toggle-track {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #f0f0f0;
    box-shadow: 
        inset 4px 4px 8px rgba(0, 0, 0, 0.1),
        inset -4px -4px 8px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    overflow: hidden;
    pointer-events: auto;
    cursor: pointer;
}

.theme-toggle-switch.expanded .toggle-track {
    width: 120px;
    justify-content: space-between;
    padding: 0 8px;
}

.theme-toggle-switch .toggle-slider {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    left: 4px;
    top: 4px;
    background: #f0f0f0;
    transition: all 0.3s ease;
    box-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.2),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-sizing: border-box;
}

.theme-toggle-switch:not(.expanded) .toggle-slider {
    left: 4px;
    top: 4px;
    right: auto;
    margin: 0;
}

.theme-toggle-switch:not(.expanded).active-night .toggle-slider {
    left: 4px;
    top: 4px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 
        0 2px 8px rgba(30, 64, 175, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.1),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}

.theme-toggle-switch:not(.expanded).active-day .toggle-slider {
    left: 4px;
    top: 4px;
    background: linear-gradient(135deg, #fde047, #facc15);
    box-shadow: 
        0 2px 8px rgba(251, 191, 36, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.1),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}

.theme-toggle-switch:not(.expanded).active-day .toggle-track {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 
        0 4px 15px rgba(251, 191, 36, 0.3),
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.2);
}

.theme-toggle-switch:not(.expanded).active-night .toggle-track {
    background: #1e40af;
    box-shadow: 
        0 4px 15px rgba(30, 64, 175, 0.3),
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.1);
}

.theme-toggle-switch .theme-icon {
    font-size: 16px;
    line-height: 1;
}

/* Animation for rotating sun and moon icons */
@keyframes rotate-center {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.theme-toggle-switch .theme-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: filter 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.7));
    animation: rotate-center 3s linear infinite;
    transform-origin: center center;
}

.theme-toggle-switch:hover .theme-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.theme-toggle-switch:hover .theme-icon-img {
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.9));
    animation: rotate-center 2s linear infinite;
}

.theme-toggle-switch .theme-text {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

.theme-toggle-switch.expanded .theme-text {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Active state - Day mode selected */
.theme-toggle-switch.active-day .toggle-track {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 
        0 4px 15px rgba(251, 191, 36, 0.3),
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.2);
}

/* Day mode slider always at left (4px) */
.theme-toggle-switch.active-day .toggle-slider {
    left: 4px;
    background: linear-gradient(135deg, #fde047, #facc15);
    box-shadow: 
        0 2px 8px rgba(251, 191, 36, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.1),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}

.theme-toggle-switch.active-day .day-text {
    opacity: 0;
    visibility: hidden;
}

.theme-toggle-switch.active-day .night-text {
    color: #FFFFFF;
}

/* Active state - Night mode selected */
.theme-toggle-switch.active-night .toggle-track {
    background: #1e40af;
    box-shadow: 
        0 4px 15px rgba(30, 64, 175, 0.3),
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.1);
}

/* When expanded, slider moves to right for night mode */
.theme-toggle-switch.expanded.active-night .toggle-slider {
    left: 84px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 
        0 2px 8px rgba(30, 64, 175, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.1),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}

/* When not expanded, slider stays at left but track shows night color */
.theme-toggle-switch:not(.expanded).active-night .toggle-slider {
    left: 4px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 
        0 2px 8px rgba(30, 64, 175, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.1),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}

.theme-toggle-switch.active-night .day-text {
    color: #FFFFFF;
}

.theme-toggle-switch.active-night .night-text {
    opacity: 0;
    visibility: hidden;
}

.theme-toggle-switch:hover .toggle-track {
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8);
}

.theme-toggle-switch:hover .toggle-slider {
    box-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.2),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}

.theme-toggle-switch.active-day:hover .toggle-track {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 
        0 6px 20px rgba(251, 191, 36, 0.5),
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.2);
}

.theme-toggle-switch.active-day:hover .toggle-slider {
    background: linear-gradient(135deg, #facc15, #eab308);
    box-shadow: 
        0 4px 12px rgba(251, 191, 36, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.1),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}

.theme-toggle-switch.active-night:hover .toggle-track {
    background: #1d4ed8;
    box-shadow: 
        0 6px 20px rgba(30, 64, 175, 0.5),
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.1);
}

.theme-toggle-switch.active-night:hover .toggle-slider {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 
        0 4px 12px rgba(30, 64, 175, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.1),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}

/* ===========================================
   SEARCH ICON LINK
   =========================================== */
.search-icon-link {
    color: #FFFFFF;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.search-icon-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--secondary-color);
}

/* ===========================================
   CTA BUTTON
   =========================================== */
.cta-button {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    width: 121.24px !important;
    height: 46.71px !important;
    padding: 0 !important;
    text-decoration: none;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    transition: all 0.2s ease;
    white-space: nowrap;
    word-break: keep-all;
    line-height: 1.5;
    box-sizing: border-box;
}

.cta-button:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    width: 121.24px !important;
    height: 46.71px !important;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

/* ===========================================
   MOBILE STYLES
   =========================================== */
.is-phone header.phone-only .nav-links {
    position: fixed;
    top: 0;
    left: -100% !important;
    right: auto !important;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    background: rgba(17, 24, 39, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: left 0.3s ease;
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
}

.is-phone header.phone-only .nav-links ul { 
    display: flex !important; 
    flex-direction: column; 
    gap: 4px; 
}

.is-phone header.phone-only .nav-links a { 
    color: #fff; 
    font-weight: 600; 
    font-size: 16px; 
}

.is-phone header.phone-only .nav-links.active { 
    left: 0 !important; 
    pointer-events: auto; 
}

.is-phone body.menu-open { 
    overflow: hidden !important; 
}

.is-phone header.phone-only .nav-links ul { 
    margin: 0 !important; 
    padding: 0 !important; 
    display: flex !important; 
    flex-direction: column; 
    align-items: stretch !important; 
    justify-content: flex-start !important; 
    gap: 4px !important; 
    width: 100% !important; 
}

.is-phone header.phone-only .nav-links ul li { 
    list-style: none; 
}

.is-phone header.phone-only .nav-links ul > li > a,
.is-phone header.phone-only .nav-links ul > li > .platform-toggle,
.is-phone header.phone-only .nav-links ul > li > .company-toggle {
    display: block;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.is-phone header.phone-only .platform-dropdown-menu,
.is-phone header.phone-only .company-dropdown-menu { 
    position: relative; 
    inset: 0; 
    transform: none; 
    opacity: 0; 
    visibility: hidden; 
}

.is-phone header.phone-only .platform-dropdown.hover .platform-dropdown-menu,
.is-phone header.phone-only .company-dropdown.hover .company-dropdown-menu { 
    display: flex !important; 
    opacity: 1 !important;
    visibility: visible !important;
}

.is-phone .hamburger { 
    display: flex !important; 
    cursor: pointer; 
    z-index: 1100; 
}

.is-phone .hamburger span { 
    display: block; 
    width: 24px; 
    height: 3px; 
    background: #fff; 
    margin: 5px 0; 
    transition: all .3s ease; 
}

.is-phone .hamburger.active span:nth-child(1) { 
    transform: translateY(7px) rotate(45deg); 
}

.is-phone .hamburger.active span:nth-child(2) { 
    opacity: 0; 
}

.is-phone .hamburger.active span:nth-child(3) { 
    transform: translateY(-7px) rotate(-45deg); 
}

.hamburger.active span:nth-child(1) { 
    transform: translateY(7px) rotate(45deg) !important; 
}

.hamburger.active span:nth-child(2) { 
    opacity: 0 !important; 
}

.hamburger.active span:nth-child(3) { 
    transform: translateY(-7px) rotate(-45deg) !important; 
}

.is-phone .language-toggle-switch .toggle-track {
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    justify-content: center !important;
}

.is-phone .language-toggle-switch .lang-text {
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
}

.is-phone .language-toggle-switch .toggle-slider {
    left: 4px !important;
    top: 4px !important;
}

.is-phone .language-toggle-switch.active-en .toggle-slider,
.is-phone .language-toggle-switch.active-es .toggle-slider {
    left: 4px !important;
}

.is-phone .language-selector.hover .language-toggle-switch .toggle-track {
    width: 120px !important;
    padding: 0 8px !important;
    justify-content: space-between !important;
}

.is-phone .language-selector.hover .language-toggle-switch .lang-text {
    opacity: 1 !important;
    visibility: visible !important;
    width: auto !important;
}

.is-phone .theme-toggle-switch .toggle-track {
    width: 40px !important;
    padding: 0 !important;
    justify-content: center !important;
}

.is-phone .theme-toggle-switch.expanded .toggle-track {
    width: 40px !important;
    padding: 0 !important;
    justify-content: center !important;
}

.is-phone .theme-toggle-switch .theme-text,
.is-phone .theme-toggle-switch.expanded .theme-text {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: scale(0.8) !important;
}

/* ===========================================
   RESPONSIVE STYLES
   =========================================== */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .navbar .container {
        padding: 0 1rem !important;
    }
    
    .navbar {
        padding: 1.2rem 0;
        min-height: 75px;
    }
    
    .logo-img {
        height: 38px;
        flex-shrink: 0;
    }
    
    .header-right {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex-shrink: 0;
    }
    
    .cta-button {
        padding: 0.7rem 1.1rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
}

/* ===========================================
   HERO CLIENTS COMPONENT - STANDALONE CSS
   Extracted from clients-styles.css and styles.css exactly as is
   =========================================== */

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

body {
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    color: var(--text-color);
}

/* ===========================================
   CSS VARIABLES
   =========================================== */
:root {
    --primary-color: #6a0dad;
    --secondary-color: #9370DB;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background-color: #ffffff;
    --light-bg: #f9fafb;
    --dark-bg: #111827;
    --accent-color: #8a2be2;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 8px;
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

/* ===========================================
   CONTAINER
   =========================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================================
   CLIENTS HERO SECTION - HERO BACKGROUND
   =========================================== */

/* Hero Section */
.clients-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(26, 26, 46, 0.7) 50%, rgba(0, 0, 0, 0.7) 100%), 
                url(../../Assets/Image/Background/Clients_Background.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 8rem 0 12rem 0;
    position: relative;
    overflow: hidden;
}

/* Remove top padding when hero class is present */
.clients-hero.hero {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
}

/* Ensure container within hero is also centered when hero class is present */
.clients-hero.hero .container {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    padding: 0 20px !important;
}

/* Center the hero content within the container when hero class is present */
.clients-hero.hero .hero-content {
    text-align: center !important;
    width: 100% !important;
    max-width: 800px;
    margin: 0 auto;
}

/* ===========================================
   CLIENTS HERO OVERLAY - HERO OVERLAY EFFECTS
   =========================================== */

.clients-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(147, 112, 219, 0.1) 0%, transparent 70%);
    z-index: 1;
}

/* ===========================================
   CLIENTS HERO THEME VARIATIONS - THEME BACKGROUNDS
   =========================================== */

/* Dark theme background adjustment */
body.dark-theme .clients-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 46, 0.8) 50%, rgba(0, 0, 0, 0.8) 100%), 
                url(../../Assets/Image/Background/Clients_Background.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Light theme background adjustment */
body:not(.dark-theme) .clients-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(26, 26, 46, 0.7) 50%, rgba(0, 0, 0, 0.7) 100%), 
                url(../../Assets/Image/Background/Clients_Background.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ===========================================
   CLIENTS HERO CONTAINER - HERO CONTAINER
   =========================================== */

.clients-hero .container {
    position: relative;
    z-index: 2;
}

/* ===========================================
   HERO CONTENT - HERO CONTENT CONTAINER
   =========================================== */

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* ===========================================
   CLIENTS TITLE - HERO TITLE
   =========================================== */

.clients-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
}

/* ===========================================
   CLIENTS SUBTITLE - HERO SUBTITLE
   =========================================== */

.clients-subtitle {
    font-size: 19.2px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* ===========================================
   GRADIENT TEXT - ANIMATED GRADIENT TEXT
   =========================================== */

.gradient-text {
    background: linear-gradient(45deg, #8B5CF6, #7C3AED, #A855F7, #8B5CF6);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

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

/* ===========================================
   PARTICLES CONTAINER
   =========================================== */

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

/* ===========================================
   RESPONSIVE STYLES
   =========================================== */

@media screen and (max-width: 992px) {
    .clients-title {
        font-size: 42px;
    }
}

@media screen and (max-width: 768px) {
    .clients-hero {
        padding: 6rem 0 4rem 0;
    }
    
    .clients-title {
        font-size: 36px;
    }
    
    .clients-subtitle {
        font-size: 18px;
    }
}

@media screen and (max-width: 576px) {
    .clients-title {
        font-size: 28px;
    }
    
    .clients-subtitle {
        font-size: 16px;
    }
}

/* ===========================================
   CLIENTS FEATURED COMPONENT - STANDALONE CSS
   Extracted from clients-styles.css and styles.css exactly as is
   =========================================== */

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

body {
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    color: var(--text-color);
}

/* ===========================================
   CSS VARIABLES
   =========================================== */
:root {
    --primary-color: #6a0dad;
    --secondary-color: #9370DB;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background-color: #ffffff;
    --light-bg: #f9fafb;
    --dark-bg: #111827;
    --accent-color: #8a2be2;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 8px;
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

/* ===========================================
   CONTAINER
   =========================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================================
   FEATURED CLIENTS SECTION - CLIENT SHOWCASE
   =========================================== */

/* Featured Clients Section - Light theme default */
.featured-clients {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    background: #f9fafb;
    overflow: hidden;
}

/* ===========================================
   PARTICLES CONTAINER - PARTICLE EFFECTS
   =========================================== */

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

/* ===========================================
   FEATURED CLIENTS THEME VARIATIONS - THEME BACKGROUNDS
   =========================================== */

/* Dark theme background override */
body.dark-theme .featured-clients {
    background: #111827;
}

/* ===========================================
   FEATURED CLIENTS CONTAINER - CONTENT CONTAINER
   =========================================== */

/* Ensure content is above particles */
.featured-clients .container {
    position: relative;
    z-index: 2;
}

/* ===========================================
   FEATURED CLIENTS TEXT COLORS - THEME TEXT COLORS
   =========================================== */

/* Dark theme text colors */
body.dark-theme .featured-clients h2,
body.dark-theme .featured-clients .section-title {
    color: #ffffff;
}

/* Ensure "Powering innovative" text is white in dark mode */
body.dark-theme .featured-clients .section-title {
    color: #ffffff !important;
}

/* ===========================================
   FEATURED CLIENTS CARD STYLES - THEME CARD STYLES
   =========================================== */

/* Dark theme card styles */
body.dark-theme .featured-clients .service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

body.dark-theme .featured-clients .service-card p {
    color: #6b7280;
}

/* Dark theme: ensure card titles remain purple */
body.dark-theme .service-card h3 {
    color: #8b5cf6 !important;
}

/* Light theme: ensure card titles remain purple */
body.light-theme .service-card h3 {
    color: #8b5cf6 !important;
}

/* ===========================================
   FEATURED CLIENTS TEXT STYLES - UNIFIED TEXT STYLES
   =========================================== */

/* Unified text styles for Featured Clients section */
.featured-clients h2,
.featured-clients .section-title {
    color: #1f2937;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.featured-clients .section-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 1rem;
}

/* ===========================================
   SECTION BADGE - BADGE STYLES
   =========================================== */

/* Section Badge */
.section-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* ===========================================
   GRADIENT TEXT - GRADIENT TEXT EFFECTS
   =========================================== */

.gradient-text {
    background: linear-gradient(45deg, #8B5CF6, #7C3AED, #A855F7, #8B5CF6);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

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

/* ===========================================
   AI SERVICES GRID - CLIENT CARDS GRID
   =========================================== */

/* AI Services Grid */
.ai-services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 15;
}

/* Service Cards - Unified Design for both themes */
.service-card {
    text-align: left;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: var(--radius);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.1);
}

.service-card h3 {
    color: #8b5cf6 !important;
    margin-top: 0;
    position: relative;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    margin-bottom: 1rem;
    text-align: left;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: left;
    font-size: 16px;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
}

/* Service Hover Info */
.service-hover-info {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.service-card:hover .service-hover-info {
    opacity: 1;
    transform: translateY(0);
}

.service-detail {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-block;
}

/* ===========================================
   PROGRESS RING STYLES
   =========================================== */

/* Progress ring border effect */
.progress-ring {
    --ring-width: 1.5px;
    --accent: #8B5CF6;
    --arc: 22deg;
    --trail: 80deg;
    --s: 0deg;
    position: relative;
}

/* Different accent colors for each service card */
.featured-clients .service-card.progress-ring:nth-child(1) { --accent: #FF6B6B; } /* TechFlow Solutions - Red */
.featured-clients .service-card.progress-ring:nth-child(2) { --accent: #4ECDC4; } /* GreenVibe Eco - Teal */
.featured-clients .service-card.progress-ring:nth-child(3) { --accent: #FECA57; } /* UrbanSpace Design - Yellow */
.featured-clients .service-card.progress-ring:nth-child(4) { --accent: #8B5CF6; } /* FoodCraft Restaurants - Purple */
.featured-clients .service-card.progress-ring:nth-child(5) { --accent: #00E5FF; } /* HealthPlus Clinics - Cyan */
.featured-clients .service-card.progress-ring:nth-child(6) { --accent: #FF9FF3; } /* EduTech Academy - Pink */

/* Light theme: white border for service cards */
body.light-theme .featured-clients .service-card.progress-ring {
    --track: #ffffff;
}

/* Dark theme: dark border for service cards */
.featured-clients .service-card.progress-ring {
    --track: #1a1a1a;
}

/* Progress ring pseudo-elements */
.service-card.progress-ring::before {
    content: "";
    position: absolute;
    inset: 0.5px;
    border-radius: inherit;
    padding: var(--ring-width, 1.5px);
    background: none !important;
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.service-card.progress-ring::after {
    content: "";
    position: absolute;
    inset: 0.5px;
    border-radius: inherit;
    padding: var(--ring-width, 1.5px);
    background:
        conic-gradient(from var(--s, 0deg),
            transparent 0 calc(var(--trail, 80deg) - var(--arc, 22deg)),
            color-mix(in oklab, var(--accent, #8B5CF6) 85%, transparent) calc(var(--trail, 80deg) - var(--arc, 22deg)) var(--trail, 80deg),
            transparent var(--trail, 80deg) 360deg
        ) border-box;
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
    animation: pr-scan 2.8s linear infinite;
}

/* ===========================================
   PROGRESS RING ANIMATIONS
   =========================================== */

/* CSS Custom Property for progress ring animation */
@property --s { 
    syntax: '<angle>'; 
    inherits: false; 
    initial-value: 0deg; 
}

/* Progress ring scan animation */
@keyframes pr-scan { 
    to { --s: 360deg; } 
}

/* Fallback for browsers that don't animate custom properties (some mobile) */
@keyframes pr-rotate { 
    to { transform: rotate(1turn); } 
}

@supports not (background: conic-gradient(from var(--s), red 0 10deg, transparent 10deg)) {
    .progress-ring::after,
    .service-card.progress-ring::after {
        animation: pr-rotate 2.8s linear infinite;
        will-change: transform;
    }
}

/* ===========================================
   RESPONSIVE STYLES
   =========================================== */

@media screen and (max-width: 992px) {
    .featured-clients h2,
    .featured-clients .section-title {
        font-size: 2rem;
    }
    
    .ai-services {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .featured-clients {
        padding: 4rem 0;
    }
    
    .featured-clients h2,
    .featured-clients .section-title {
        font-size: 1.75rem;
    }
    
    .ai-services {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 576px) {
    .featured-clients h2,
    .featured-clients .section-title {
        font-size: 1.5rem;
    }
    
    .ai-services {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
}

/* ===========================================
   CLIENTS TESTIMONIALS COMPONENT - STANDALONE CSS
   Extracted from clients-styles.css and cube-cards-effect.css exactly as is
   =========================================== */

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

body {
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    color: var(--text-color);
}

/* ===========================================
   CSS VARIABLES
   =========================================== */
:root {
    --primary-color: #6a0dad;
    --secondary-color: #9370DB;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background-color: #ffffff;
    --light-bg: #f9fafb;
    --dark-bg: #111827;
    --accent-color: #8a2be2;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 8px;
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

/* ===========================================
   CONTAINER
   =========================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================================
   TESTIMONIALS SECTION
   =========================================== */

/* Testimonials Section - Light theme default */
.testimonials {
    padding: 6rem 0;
    background: #f9fafb;
    position: relative;
    overflow: hidden;
}

/* Dark theme background */
body.dark-theme .testimonials {
    background: #111827;
}

/* Ensure content is above particles */
.testimonials .container {
    position: relative;
    z-index: 2;
}

/* ===========================================
   SECTION TITLE & SUBTITLE
   =========================================== */

/* Text colors for testimonials section */
.testimonials .section-title {
    color: #1f2937;
    font-family: "Proxima Nova Semibold", sans-serif !important;
    font-size: 48px !important;
    font-weight: 600 !important;
    text-align: center;
    margin-bottom: 1rem;
}

body.dark-theme .testimonials .section-title {
    color: #ffffff;
}

.section-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
}

body.dark-theme .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* ===========================================
   TESTIMONIALS GRID
   =========================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
    align-items: stretch;
}

/* ===========================================
   PARTICLES CONTAINER
   =========================================== */

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* ===========================================
   PROGRESS RING ANIMATION
   =========================================== */

/* CSS Custom Property for progress ring animation */
@property --s { 
    syntax: '<angle>'; 
    inherits: false; 
    initial-value: 0deg; 
}

/* Progress ring scan animation */
@keyframes pr-scan { 
    to { --s: 360deg; } 
}

/* Fallback for browsers that don't animate custom properties */
@keyframes pr-rotate { 
    to { transform: rotate(1turn); } 
}

/* ===========================================
   CUBE CARDS 3D FLIP EFFECT - DESKTOP ONLY
   =========================================== */

@media (min-width: 769px) {
    
    /* Card Container with Perspective */
    .cube-card-container {
        perspective: 1000px;
        width: 100%;
        position: relative;
    }
    
    /* Progress Ring Styles - Different colors for each card */
    .cube-card-container:nth-child(1).progress-ring { --accent: #FF6B6B; } /* Testimonial 1 - Red */
    .cube-card-container:nth-child(2).progress-ring { --accent: #00D9FF; } /* Testimonial 2 - Cyan */
    .cube-card-container:nth-child(3).progress-ring { --accent: #FF1E7C; } /* Testimonial 3 - Magenta */
    .cube-card-container:nth-child(4).progress-ring { --accent: #FFA500; } /* Testimonial 4 - Orange */
    .cube-card-container:nth-child(5).progress-ring { --accent: #00E5CC; } /* Testimonial 5 - Teal */
    .cube-card-container:nth-child(6).progress-ring { --accent: #8B5CF6; } /* Testimonial 6 - Purple */
    
    /* Progress ring pseudo-element (base layer) */
    .cube-card-container.progress-ring::before {
        content: "";
        position: absolute;
        inset: 0.5px;
        border-radius: var(--radius);
        padding: 1.5px;
        background: none !important;
        -webkit-mask:
            linear-gradient(#000 0 0) content-box,
            linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        mask-composite: exclude;
        pointer-events: none;
        z-index: 1;
    }
    
    /* Progress ring animated layer */
    .cube-card-container.progress-ring::after {
        content: "";
        position: absolute;
        inset: 0.5px;
        border-radius: var(--radius);
        padding: 1.5px;
        background:
            conic-gradient(from var(--s, 0deg),
                color-mix(in oklab, var(--accent, #8B5CF6) 45%, transparent) 0deg,
                color-mix(in oklab, var(--accent, #8B5CF6) 0%, transparent) 80deg,
                transparent 80deg 360deg
            ) border-box,
            conic-gradient(from var(--s, 0deg),
                transparent 0 58deg,
                color-mix(in oklab, var(--accent, #8B5CF6) 85%, transparent) 58deg 80deg,
                transparent 80deg 360deg
            ) border-box;
        -webkit-mask:
            linear-gradient(#000 0 0) content-box,
            linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        mask-composite: exclude;
        pointer-events: none;
        z-index: 1;
        animation: pr-scan 2.8s linear infinite;
    }
    
    /* Fallback for browsers that don't support conic-gradient variables */
    @supports not (background: conic-gradient(from var(--s), red 0 10deg, transparent 10deg)) {
        .cube-card-container.progress-ring::after {
            animation: pr-rotate 2.8s linear infinite;
            will-change: transform;
        }
    }

    /* 3D Card Wrapper */
    .cube-card {
        position: relative;
        width: 100%;
        height: 100%;
        min-height: 350px;
        transform-style: preserve-3d;
        transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        cursor: pointer;
    }

    /* Flip on Hover (Desktop) */
    .cube-card-container:hover .cube-card {
        transform: rotateY(180deg);
    }

    /* Card Faces (Front and Back) */
    .card-face {
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        border-radius: var(--radius);
        display: flex;
        flex-direction: column;
        background-color: var(--background-color);
        padding: 2rem;
        box-shadow: var(--shadow);
        text-align: left;
        top: 0;
        left: 0;
    }

    /* Front Face */
    .card-front {
        position: absolute;
        z-index: 3;
        transform: rotateY(0deg);
        overflow: hidden;
    }
    
    /* Preserve original card hover effects on front face */
    .cube-card-container:hover .card-front {
        box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
    }
    
    /* Shine effect - ONLY visible during hover */
    .card-front::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.15), transparent);
        transition: left 0.6s ease;
        border-radius: var(--radius);
        pointer-events: none;
        z-index: 1;
        opacity: 0;
    }

    /* Show and move shine ONLY on hover */
    .cube-card-container:hover .card-front::before {
        left: 100%;
        opacity: 1;
    }

    /* Back Face */
    .card-back {
        position: absolute;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        transform: rotateY(180deg);
        justify-content: center;
        z-index: 3;
    }

    /* Back Face Content */
    .card-back h3 {
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 20px;
        color: white;
    }

    .card-back p {
        font-size: 1.1rem;
        line-height: 1.8;
        opacity: 0.95;
        margin-bottom: 25px;
        color: white;
    }

    /* Stagger Animation on Load */
    .cube-card-container {
        opacity: 0;
        animation: fadeInUp 0.6s ease forwards;
    }

    .cube-card-container:nth-child(1) { animation-delay: 0.1s; }
    .cube-card-container:nth-child(2) { animation-delay: 0.2s; }
    .cube-card-container:nth-child(3) { animation-delay: 0.3s; }
    .cube-card-container:nth-child(4) { animation-delay: 0.4s; }
    .cube-card-container:nth-child(5) { animation-delay: 0.5s; }
    .cube-card-container:nth-child(6) { animation-delay: 0.6s; }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Prevent card from moving down on hover */
    .cube-card-container:hover {
        transform: none;
    }
}

/* ===========================================
   TESTIMONIAL CARD CONTENT STYLES
   =========================================== */

.quote-icon {
    font-size: 3rem;
    color: rgba(147, 112, 219, 0.6);
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-family: serif;
}

.testimonial-text {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.7;
    margin: 1.5rem 0 2rem 0;
    font-style: italic;
    flex-grow: 1;
    display: flex;
    align-items: center;
    text-align: left;
    position: relative;
    z-index: 2;
}

/* Dark theme testimonial text */
body.dark-theme .testimonial-text {
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    z-index: 2;
}

.testimonial-author h4 {
    color: #1f2937;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.testimonial-author span {
    color: rgba(139, 92, 246, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Dark theme testimonial author styles */
body.dark-theme .testimonial-author {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .testimonial-author h4 {
    color: white;
}

/* Dark theme testimonial card styles */
body.dark-theme .card-front {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* ===========================================
   MOBILE FALLBACK (max-width: 768px)
   =========================================== */
@media (max-width: 768px) {
    /* Disable 3D effect on mobile - cards should display normally */
    .cube-card-container {
        perspective: none;
    }
    
    .cube-card {
        /* No 3D transforms on mobile */
        transform: none !important;
        transform-style: flat;
    }
    
    .card-back {
        /* Hide back face on mobile */
        display: none;
    }
    
    .card-front {
        /* Display as regular card */
        position: relative;
        background-color: var(--background-color);
        padding: 2rem;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        text-align: left;
    }
    
    /* Remove shine effect on mobile */
    .card-front::before {
        display: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .testimonials .section-title {
        font-size: 36px !important;
    }
    
    .quote-icon {
        font-size: 2.5rem;
        top: 0.5rem;
        left: 1.5rem;
    }
}

/* ===========================================
   RESPONSIVE STYLES
   =========================================== */

@media screen and (max-width: 992px) {
    .testimonials .section-title {
        font-size: 42px !important;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media screen and (max-width: 576px) {
    .testimonials {
        padding: 4rem 0;
    }
    
    .testimonials .section-title {
        font-size: 28px !important;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

/* ===========================================
   CLIENTS INNOVATION COMPONENT - STANDALONE CSS
   Extracted from clients-styles.css exactly as is
   =========================================== */

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

body {
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    color: var(--text-color);
}

/* ===========================================
   CSS VARIABLES
   =========================================== */
:root {
    --primary-color: #6a0dad;
    --secondary-color: #9370DB;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background-color: #ffffff;
    --light-bg: #f9fafb;
    --dark-bg: #111827;
    --accent-color: #8a2be2;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 8px;
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

/* ===========================================
   CONTAINER
   =========================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================================
   SERVICES OVERVIEW SECTION
   =========================================== */

/* Services Overview - Light theme default */
.services-overview {
    padding: 6rem 0;
    background: #f9fafb;
    position: relative;
    overflow: hidden;
}

/* Dark theme background */
body.dark-theme .services-overview {
    background: #111827;
}

/* Ensure content is above particles */
.services-overview .container {
    position: relative;
    z-index: 2;
}

/* ===========================================
   SECTION TITLE & SUBTITLE
   =========================================== */

/* Text colors for services-overview section */
.services-overview .section-title {
    color: #1f2937;
    font-family: "Proxima Nova Semibold", sans-serif !important;
    font-size: 48px !important;
    font-weight: 600 !important;
    text-align: center;
    margin-bottom: 1rem;
}

body.light-theme .services-overview .section-title {
    color: #1f2937 !important;
}

body.dark-theme .services-overview .section-title {
    color: #ffffff !important;
}

.section-subtitle {
    color: #6b7280;
    font-size: 19.2px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
}

/* Dark theme subtitle colors */
body.dark-theme .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* ===========================================
   PARTICLES CONTAINER
   =========================================== */

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* ===========================================
   RESPONSIVE STYLES
   =========================================== */

@media screen and (max-width: 992px) {
    .services-overview .section-title {
        font-size: 42px !important;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    .services-overview {
        padding: 4rem 0;
        min-height: 60vh;
    }
    
    .services-overview .section-title {
        font-size: 36px !important;
    }
    
    .section-subtitle {
        font-size: 17px;
    }
}

@media screen and (max-width: 576px) {
    .services-overview .section-title {
        font-size: 28px !important;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
}

/* ===========================================
   CLIENTS SCROLL STACK COMPONENT - STANDALONE CSS
   Extracted from clients-styles.css exactly as is
   =========================================== */

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

body {
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    color: var(--text-color);
}

/* ===========================================
   CSS VARIABLES
   =========================================== */
:root {
    --primary-color: #6a0dad;
    --secondary-color: #9370DB;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background-color: #ffffff;
    --light-bg: #f9fafb;
    --dark-bg: #111827;
    --accent-color: #8a2be2;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 8px;
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

/* ===========================================
   SCROLL STACK SECTION
   =========================================== */

.scroll-stack-section {
    position: relative;
    background: #f9fafb;
    padding: 2rem 0;
}

/* Dark theme background for scroll stack section */
body.dark-theme .scroll-stack-section {
    background: #111827;
}

/* ===========================================
   SCROLL STACK CONTAINER - ALL SCREENS
   =========================================== */

.scroll-stack-container {
    position: relative;
    height: 100vh;
    padding: 0;
}

.scroll-stack {
    position: sticky;
    top: -4vh; /* bring cards even closer to the horizontal bar */
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 10;
}

/* ===========================================
   SCROLL STACK CARDS
   =========================================== */

.scroll-stack-card {
    position: absolute;
    width: 85%;
    max-width: 750px;
    height: 28rem;
    /* Center absolutely within the stack container */
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    background-color: #1a1a2e;
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 45px;
    padding: 3rem;
    box-sizing: border-box;
    transform-origin: center;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.scroll-stack-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.2));
    border-radius: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.scroll-stack-card:hover::before {
    opacity: 1;
}

.scroll-stack-card h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #ffffff, #e4e4e7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.card-icon {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.card-icon i {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scroll-stack-card p {
    font-size: 1rem;
    color: #a1a1aa;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.card-image {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 2px solid rgba(139, 92, 246, 0.3);
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* ===========================================
   CARD STATES - SMOOTHER TRANSITIONS
   =========================================== */

.scroll-stack-card[data-state="upcoming"] {
    /* AcordeÃ³n suave: debajo del activo */
    transform: translateY(24px) scale(0.92);
    opacity: 0.6;
    z-index: 1;
}

.scroll-stack-card[data-state="entering"] {
    /* AcordeÃ³n suave: acercÃ¡ndose al activo */
    transform: translateY(12px) scale(0.96);
    opacity: 0.8;
    z-index: 5;
}

.scroll-stack-card[data-state="active"] {
    /* Use exact center for symmetry with other states */
    transform: translateY(0) scale(1);
    opacity: 1;
    z-index: 10;
}

.scroll-stack-card[data-state="leaving"] {
    /* AcordeÃ³n suave: alejÃ¡ndose del activo */
    transform: translateY(-12px) scale(0.96);
    opacity: 0.8;
    z-index: 5;
}

.scroll-stack-card[data-state="passed"] {
    /* AcordeÃ³n suave: por encima del activo */
    transform: translateY(-24px) scale(0.92);
    opacity: 0.6;
    z-index: 1;
}

/* Keep first and last cards solid when they finish moving */
.scroll-stack-card[data-index="0"][data-state="passed"],
.scroll-stack-card[data-index="3"][data-state="passed"] {
    transform: translateY(0) scale(1);
    opacity: 1;
    z-index: 2;
}

/* ===========================================
   DARK THEME STYLES
   =========================================== */

/* Dark theme styles for solid background */
body.dark-theme .scroll-stack-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    background-color: #1a1a2e;
}

body.dark-theme .scroll-stack-card::before {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.2));
}

/* ===========================================
   SCROLL CONTROL SLIDER - HORIZONTAL STYLE
   =========================================== */

.scroll-control-slider {
    position: absolute;
    top: -2rem; /* bring slider closer to the cards */
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.scroll-control-slider.active {
    opacity: 1;
}

.slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 15px;
    padding: 1rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.slider-track {
    position: relative;
    width: 400px; /* restored original size */
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-track:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-thumb {
    position: absolute;
    top: 50%;
    left: 0;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.slider-thumb:hover {
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.6);
}

.slider-thumb:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.2);
}

/* Dark theme for slider */
body.dark-theme .slider-container {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

body.dark-theme .slider-track {
    background: rgba(255, 255, 255, 0.15);
}

body.dark-theme .slider-track:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ===========================================
   SECTION SCROLL PROGRESS INDICATOR
   =========================================== */

.section-scroll-progress {
    width: 100%;
    height: 0%;
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    border-radius: 2px;
    transition: height 0.1s ease;
}

/* ===========================================
   RESPONSIVE STYLES
   =========================================== */

@media (max-width: 768px) {
    .scroll-stack {
        padding: 1rem;
    }
    
    .scroll-stack-card {
        padding: 2rem;
        height: 22rem;
    }
    
    .scroll-stack-card h3 {
        font-size: 1.5rem;
    }
    
    .slider-track {
        width: 300px;
    }
}

@media (max-width: 576px) {
    .scroll-stack-card {
        padding: 1.5rem;
        height: 20rem;
    }
    
    .scroll-stack-card h3 {
        font-size: 1.25rem;
    }
    
    .slider-track {
        width: 250px;
    }
}

/* ===========================================
   NEW ERA SECTION - CSS STYLES
   =========================================== */

/* CSS Variables */
:root {
    --primary-color: #6a0dad;
    --secondary-color: #9370DB;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background-color: #ffffff;
    --light-bg: #f9fafb;
    --dark-bg: #111827;
    --accent-color: #8a2be2;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 8px;
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* ===========================================
   NEW ERA SECTION STYLES
   =========================================== */

/* New Era Section - Default PC styles */
@media (min-width: 769px) {
    .new-era-section {
        background: #000000;
        padding: 6rem 0 !important;
        position: relative;
        overflow: hidden;
        min-height: 70vh !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

.new-era-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(124, 58, 237, 0.4), rgba(88, 28, 135, 0.2), transparent);
    z-index: 1;
}

.new-era-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    transform: translateY(-6rem);
}

.new-era-content h2 {
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.2;
    animation: none !important;
    transition: none !important;
    transform: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    filter: none !important;
    background: none !important;
    border: none !important;
    outline: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.new-era-content p {
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.begin-button {
    display: inline-block;
    background: #7c3aed;
    color: #ffffff;
    padding: 1rem 3rem;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.begin-button:hover {
    background: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3);
}

/* ===========================================
   VERTICAL LINE STYLES
   =========================================== */

/* Vertical line for new era section */
.vertical-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(to top, #ffffff, rgba(255, 255, 255, 0.8));
    z-index: 3;
    box-shadow: none;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, height 0.5s ease;
}

/* Show vertical line when section is in view */
.new-era-section.in-view .vertical-line {
    opacity: 1;
    height: 200px;
}

.vertical-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    z-index: 1001;
    animation: circlePulse 2s ease-in-out infinite;
}

/* Pulse animation for the circle */
@keyframes circlePulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 255, 255, 1);
    }
}

/* ===========================================
   PARTICLES CONTAINER STYLES
   =========================================== */

/* Purple Particles System */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.new-era-section {
    position: relative;
}

.new-era-section .container {
    position: relative;
    z-index: 2;
}

/* ===========================================
   THEME STYLES
   =========================================== */

/* Dark theme styles for new era section */
body.dark-theme .new-era-section {
    background: #000000;
}

body.dark-theme .new-era-content h2 {
    color: #ffffff !important;
}

body.dark-theme .new-era-content p {
    color: #ffffff !important;
}

body.light-theme .new-era-section {
    background: #000000;
}

body.light-theme .new-era-content h2 {
    color: #ffffff !important;
}

body.light-theme .new-era-content p {
    color: #ffffff !important;
}

/* ===========================================
   RESPONSIVE STYLES
   =========================================== */

/* Responsive styles for new era section - Mobile devices */
@media (max-width: 768px) {
    .new-era-section {
        background: #000000;
        padding: 4rem 0 !important;
        position: relative;
        overflow: hidden;
        min-height: 60vh !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .new-era-content {
        transform: translateY(0);
    }
    
    .new-era-content h2 {
        font-size: 36px;
    }
    
    .new-era-content p {
        font-size: 22.4px;
    }
}

@media (max-width: 480px) {
    .new-era-section {
        padding: 3rem 0 !important;
        min-height: 50vh !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
    }
    
    .new-era-content h2 {
        font-size: 28px;
    }
    
    .new-era-content p {
        font-size: 24px;
    }
    
    .begin-button {
        padding: 16px 48px;
        font-size: 19.2px;
    }
}

/* ===========================================
   FOOTER COMPONENT - CSS STYLES
   =========================================== */

/* CSS Variables */
:root {
    --primary-color: #6a0dad;
    --secondary-color: #9370DB;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background-color: #ffffff;
    --light-bg: #f9fafb;
    --dark-bg: #111827;
    --accent-color: #8a2be2;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 8px;
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===========================================
   FOOTER STYLES
   =========================================== */

footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 3rem 0 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
}

/* Extra spacing between logo section and Services section */
.footer-section:nth-child(1) {
    margin-right: 2rem;
}

/* Extra spacing between Services and Platform sections */
.footer-section:nth-child(2) {
    margin-right: 1.5rem;
}

.footer-section:nth-child(3) {
    margin-left: 1.5rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FFFFFF !important;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: #FFFFFF !important;
}

.footer-section ul li a {
    color: #FFFFFF !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FFFFFF !important;
}

/* Force footer section titles to be white with higher specificity */
.footer-section:nth-child(1) h4,
.footer-section:nth-child(2) h4,
.footer-section:nth-child(3) h4,
.footer-section:nth-child(4) h4 {
    color: #FFFFFF !important;
}

/* Override any existing color rules for footer titles */
body.dark-theme .footer-section h4,
body.light-theme .footer-section h4,
body.dark-theme .footer-section:nth-child(1) h4,
body.light-theme .footer-section:nth-child(1) h4,
body.dark-theme .footer-section:nth-child(2) h4,
body.light-theme .footer-section:nth-child(2) h4,
body.dark-theme .footer-section:nth-child(3) h4,
body.light-theme .footer-section:nth-child(3) h4,
body.dark-theme .footer-section:nth-child(4) h4,
body.light-theme .footer-section:nth-child(4) h4 {
    color: #FFFFFF !important;
}

.footer-section p {
    color: #FFFFFF !important;
    font-size: 0.95rem;
    margin: 1rem 0;
    font-weight: 500;
}

/* Footer Logo Size */
.footer-logo {
    width: 108.69px !important;
    height: 50px !important;
    max-width: none !important;
    object-fit: contain !important;
    margin-bottom: 1rem;
}

/* Override logo-img rules for footer logo */
img.footer-logo,
.logo-img.footer-logo {
    width: 108.69px !important;
    height: 50px !important;
    max-width: none !important;
    object-fit: contain !important;
}

.logo {
    display: inline-block;
}

/* ===========================================
   SOCIAL MEDIA LINKS
   =========================================== */

.social-media {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

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

.social-link.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.social-link.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* ===========================================
   FOOTER BOTTOM
   =========================================== */

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom p {
    color: #FFFFFF;
    font-size: 0.85rem;
    margin: 0;
}

.privacy-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--secondary-color);
}

/* ===========================================
   RESPONSIVE STYLES
   =========================================== */

@media screen and (max-width: 768px) {
    footer {
        padding: 2.5rem 0 1rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    /* Primera secciÃ³n - Logo y redes sociales */
    .footer-section:first-child {
        order: 1;
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .footer-section:first-child p {
        font-size: 1.1rem;
        font-weight: 600;
        margin: 1.5rem 0;
        color: white;
    }
    
    /* Servicios */
    .footer-section:nth-child(2) {
        order: 2;
        margin-right: 0;
    }
    
    .footer-section:nth-child(2) h4 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section:nth-child(2) ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        max-width: 300px;
        margin: 0 auto;
        justify-items: center;
    }
    
    .footer-section:nth-child(2) ul li a {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        display: block;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
        text-align: center;
        width: 100%;
        max-width: 140px;
    }
    
    .footer-section:nth-child(2) ul li a:hover {
        background: rgba(74, 222, 128, 0.1);
        color: var(--secondary-color);
    }
    
    /* CompaÃ±Ã­a */
    .footer-section:nth-child(3) {
        order: 3;
        margin-left: 0;
    }
    
    .footer-section:nth-child(3) h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-section:nth-child(3) ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .footer-section:nth-child(3) ul li a {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.08);
        transition: all 0.3s ease;
        text-align: center;
        min-width: 100px;
    }
    
    .footer-section:nth-child(3) ul li a:hover {
        background: var(--secondary-color);
        color: var(--dark-bg);
    }
    
    /* Contacto */
    .footer-section:nth-child(4) {
        order: 4;
        background: rgba(255, 255, 255, 0.05);
        padding: 1.5rem;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-section:nth-child(4) h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-section:nth-child(4) ul li {
        margin-bottom: 1rem;
    }
    
    .footer-section:nth-child(4) ul li a {
        font-size: 1rem;
        font-weight: 500;
        padding: 0.75rem;
        display: block;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        text-align: center;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .footer-section:nth-child(4) ul li a:hover {
        background: var(--secondary-color);
        color: var(--dark-bg);
        transform: translateY(-2px);
    }
    
    /* Logo y redes sociales */
    .footer-logo {
        width: 108.69px !important;
        height: 50px !important;
        max-width: none !important;
        object-fit: contain !important;
        margin-bottom: 1rem;
    }
    
    /* Force footer logo dimensions - highest specificity */
    img.footer-logo,
    .logo-img.footer-logo,
    body:has(.hero) img.footer-logo,
    body:has(.hero) .logo-img.footer-logo,
    footer img.footer-logo,
    footer .logo-img.footer-logo,
    .footer img.footer-logo,
    .footer .logo-img.footer-logo {
        width: 108.69px !important;
        height: 50px !important;
        max-width: none !important;
        object-fit: contain !important;
    }
    
    .social-media {
        justify-content: center;
        gap: 1.2rem;
        margin-top: 1.5rem;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, 0.15);
    }
    
    .social-link:hover {
        transform: translateY(-3px) scale(1.1);
    }
    
    .social-link svg {
        width: 20px;
        height: 20px;
    }
    
    /* Footer bottom */
    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 0.9rem;
    }
}

