/* ===== CSS Variables ===== */
:root {
    --primary-blue: #232962;
    --primary-orange: #FF7F32;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
    --text-gray: #666666;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    
   /* Z-index layers */
    --z-header: 1000;
    --z-chatbot-window: 999;
    --z-chatbot-float: 1000;
    --z-cookie-banner: 998;
    --z-cookie-modal: 1001;
    --z-modal: 1001;
    --z-tooltip: 1002;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* ===== Header Styles ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow-light);
    z-index: var(--z-header);
    transition: var(--transition-fast);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
    transition: all var(--transition-fast);
    line-height: 0; /* Remove line height to prevent spacing issues */
}

.logo-img {
    height: 60px; /* Standard height for desktop */
    width: auto; /* Maintain aspect ratio */
    max-width: 200px; /* Prevent logo from being too wide */
    display: block;
    transition: all var(--transition-fast);
    object-fit: contain; /* Ensure proper scaling */
}

/* Scrolled header logo adjustment */
.header.scrolled .logo-img {
    height: 50x; /* Slightly smaller when scrolled */
}

/* ===== Responsive Logo Adjustments ===== */

/* Large Tablets and Small Desktops */
@media screen and (max-width: 1024px) {
    .logo-img {
        height: 55px;
        max-width: 180px;
    }
    
    .header.scrolled .logo-img {
        height: 46px;
    }
}

/* Tablets */
@media screen and (max-width: 768px) {
    .logo-img {
        height: 50px;
        max-width: 160px;
    }
    
    .header.scrolled .logo-img {
        height: 42px;
    }
    
    /* Ensure logo doesn't interfere with mobile menu toggle */
    .nav-wrapper {
        gap: 1rem;
    }
}

/* Mobile Devices */
@media screen and (max-width: 480px) {
    .logo-img {
        height: 42px;
        max-width: 140px;
    }
    
    .header.scrolled .logo-img {
        height: 36px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
}

/* Small Mobile Devices */
@media screen and (max-width: 360px) {
    .logo-img {
        height: 28px;
        max-width: 120px;
    }
    
    .header.scrolled .logo-img {
        height: 25px;
    }
}

/* High DPI displays - enhance logo sharpness */
@media screen and (-webkit-min-device-pixel-ratio: 2),
       screen and (min-resolution: 192dpi) {
    .logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .logo-img {
        height: 30px;
        filter: grayscale(1);
    }
}

/* Dark mode support (if implemented in the future) */
@media (prefers-color-scheme: dark) {
    .logo-img {
        /* Adjust logo for dark theme if needed */
        filter: brightness(1.1);
    }
}

/* Focus styles for accessibility */
.logo a:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
    border-radius: 4px;
}

.logo a:focus .logo-img {
    transform: scale(1.02);
}

/* Loading state (optional enhancement) */
.logo-img[data-loading="true"] {
    opacity: 0.5;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

/* Ensure logo doesn't break layout on very small screens */
.logo {
    min-width: 100px;
    max-width: 250px;
}

/* RTL support (if needed in the future) */
html[dir="rtl"] .logo {
    order: 1;
}

/* Language switcher positioning adjustment for logo */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* Ensure proper alignment with language switcher and nav toggle */
@media screen and (max-width: 768px) {
    .nav-wrapper {
        gap: 0.5rem;
    }
    
    .language-switcher {
        order: 1;
        flex-shrink: 0;
    }
    
    .logo {
        order: 2;
        flex: 1;
        justify-content: center;
        margin: 0 0.5rem;
    }
    
    .nav-toggle {
        order: 3;
        flex-shrink: 0;
    }
}

/* Extra small screens optimization */
@media screen and (max-width: 320px) {
    .nav-wrapper {
        gap: 0.25rem;
    }
    
    .logo {
        margin: 0 0.25rem;
    }
    
    .logo-img {
        height: 25px;
        max-width: 100px;
    }
}

/* ===== Navigation Menu Styles ===== */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Styling per nav-item (inclusi quelli con dropdown) */
.nav-menu .nav-item {
    position: relative;
}

/* Default nav-link styling - vale per tutti i link di navigazione */
.nav-link {
    color: var(--dark-gray);
    font-weight: 400;
    position: relative;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

/* Underline effect per tutti i nav-link */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Stili specifici per dropdown toggle (non interferisce con i link normali) */
.dropdown-toggle .dropdown-icon {
    font-size: 0.75rem;
    margin-left: 0.25rem;
    transition: var(--transition-fast);
}

/* Assicuriamo che i link normali (non dropdown) non abbiano gap extra */
.nav-menu > li:not(.dropdown) .nav-link {
    gap: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: calc(var(--z-header) + 1);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    margin: 3px 0;
    transition: var(--transition-fast);
}

/* ===== Hero Section PULITA - Sostituisci in main.css ===== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 200px;
    overflow: hidden;
    margin-bottom: 0;
}

/* Background semplice e performante */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% + 200px);
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a1f4e 25%, #2d3561 50%, var(--primary-blue) 75%, #1a1f4e 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    z-index: -3;
}

/* Gradiente overlay semplice */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(26, 31, 78, 0.4) 100%);
}

/* Subtle glow effect */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(255, 127, 50, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite alternate;
}

/* Hero Content */
.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 127, 50, 0.15);
    border: 1px solid rgba(255, 127, 50, 0.4);
    color: var(--primary-orange);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: badgeGlow 4s ease-in-out infinite;
}

.hero-badge i {
    font-size: 1rem;
}

/* Hero Title */
.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    line-height: 1.2;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.hero-title span {
    display: block;
}

.text-animate {
    color: var(--white);
    opacity: 1;
}

.text-animate-2 {
    color: var(--primary-orange);
    font-size: 3rem;
    text-shadow: 0 0 40px rgba(255, 127, 50, 0.5);
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Hero Description */
.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Hero Features */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--primary-orange);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    opacity: 0.6;
    cursor: pointer;
    transition: opacity var(--transition-fast);
    z-index: 2;
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
}

.scroll-indicator span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.scroll-indicator i {
    display: block;
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

/* Animazioni essenziali mantenute */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.15;
        transform: scale(1.02);
    }
}

@keyframes badgeGlow {
    0%, 100% {
        box-shadow: 0 0 8px rgba(255, 127, 50, 0.4), 0 0 16px rgba(255, 127, 50, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 127, 50, 0.6), 0 0 30px rgba(255, 127, 50, 0.3), 0 0 45px rgba(255, 127, 50, 0.1);
        transform: scale(1.02);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(10px);
    }
    60% {
        transform: translateY(5px);
    }
}

/* ===== ELIMINA COMPLETAMENTE QUESTE SEZIONI SE PRESENTI ===== */
/* 
RIMUOVI TUTTO:
- .neural-canvas { ... }
- .neural-network { ... }
- .floating-shapes { ... }
- .hero-particles { ... }
- .shape, .shape-1, .shape-2, .shape-3, .shape-4 { ... }
- .parallax-element { ... }
- .parallax-container { ... }
- @keyframes floatShape { ... }
- @keyframes particleFloat { ... }
- @keyframes networkMove { ... }
*/

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 400;
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: inherit;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #e66a1f;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}


.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Services Section ===== */
.services {
    /* Sovrapponiamo la sezione alla hero */
    margin-top:0;
    padding: 0px 0 80px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(245, 245, 245, 0.3) 20%,
        rgba(245, 245, 245, 0.7) 40%,
        var(--light-gray) 60%);
    position: relative;
    z-index: 1;
}

/* Gradiente di transizione piÃ¹ semplice */
.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom,
        rgba(35, 41, 98, 0.3) 0%,
        rgba(35, 41, 98, 0.1) 30%,
        transparent 100%);
    pointer-events: none;
    z-index: -1;
}

.services::after {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-orange) 20%, 
        var(--primary-blue) 50%, 
        var(--primary-orange) 80%, 
        transparent 100%);
    opacity: 0.6;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
    padding-top: 50px;
}

.section-title {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    perspective: 1500px;
}

/* Touch device optimization */
@media (hover: none) {
    .service-card:hover {
        transform: none;
    }
    
    .service-card:active {
        transform: scale(0.98);
    }
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 127, 50, 0.08) 0%, transparent 60%);
    transition: all 0.6s ease;
    opacity: 0;
}

.service-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}


.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
    top: -50%;
    left: -50%;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    color: var(--primary-blue);
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    transition: all 0.4s ease;
    position: relative;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 50px;
    height: 3px;
    background: var(--primary-orange);
    transition: transform 0.4s ease;
}

.service-card:hover h3 {
    color: var(--primary-orange);
}

.service-card:hover h3::after {
    transform: translateX(-50%) scaleX(1);
}

.service-card p {
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover p {
    color: var(--dark-gray);
}

/* ===== Industry Solutions Section ===== */
.industry-solutions {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
}

.industry-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 245, 245, 0.5) 0%, rgba(35, 41, 98, 0.03) 50%, rgba(245, 245, 245, 0.5) 100%);
    z-index: -1;
    will-change: transform;
}

.industry-solutions .section-header {
    padding-top: 0;
    margin-bottom: 4rem;
}

/* Industry Selector */
.industry-selector {
    margin-bottom: 4rem;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.industry-card {
    background: var(--white);
    border: 2px solid rgba(35, 41, 98, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 127, 50, 0.05), transparent);
    transition: left 0.8s ease;
}

.industry-card:hover::before,
.industry-card.active::before {
    left: 100%;
}

.industry-card:hover,
.industry-card.active {
    border-color: rgba(255, 127, 50, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 127, 50, 0.1);
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 127, 50, 0.01) 100%);
}

.industry-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.industry-card:hover .industry-icon,
.industry-card.active .industry-icon {
    color: var(--primary-orange);
}

.industry-card h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    transition: color 0.4s ease;
}

.industry-card:hover h3,
.industry-card.active h3 {
    color: var(--primary-orange);
}

.industry-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Industry Content */
.industry-content {
    position: relative;
    min-height: 600px;
}

.industry-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s ease;
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(35, 41, 98, 0.1);
}

.industry-details.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}

.industry-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Industry Challenges */
.industry-challenges h3,
.industry-solutions-list h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.industry-challenges h3 i,
.industry-solutions-list h3 i {
    color: var(--primary-orange);
    font-size: 1.3rem;
}

.industry-challenges ul {
    list-style: none;
    padding: 0;
}

.industry-challenges li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.industry-challenges li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--primary-orange);
    border-radius: 50%;
    opacity: 0.7;
}

/* Solution Items */
.solution-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.solution-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(245, 245, 245, 0.5);
    border-radius: 12px;
    border-left: 4px solid var(--primary-orange);
    transition: all 0.3s ease;
}

.solution-item:hover {
    background: rgba(255, 127, 50, 0.05);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(255, 127, 50, 0.1);
}

.solution-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 10px;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.solution-item:hover .solution-icon {
    background: var(--primary-blue);
    transform: scale(1.1);
}

.solution-content h4 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.solution-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Industry Metrics */
.industry-metrics {
    background: linear-gradient(135deg, rgba(35, 41, 98, 0.05) 0%, rgba(255, 127, 50, 0.05) 100%);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(35, 41, 98, 0.1);
}

.industry-metrics h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.industry-metrics h3 i {
    color: var(--primary-orange);
    font-size: 1.3rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.metric-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(35, 41, 98, 0.05);
}

.metric-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-orange);
}

.metric-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Industry CTA */
.industry-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.industry-cta .btn {
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
}

/* ===== About Section ===== */
.about {
    padding: 80px 0;
    position: relative;
    background-color: var(--white);
}

.about-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(35, 41, 98, 0.05), rgba(35, 41, 98, 0.05));
    z-index: -1;
    will-change: transform;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    padding-right: 2rem;
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-intro {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.company-mission,
.company-location,
.company-approach {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(35, 41, 98, 0.02);
    border-left: 4px solid var(--primary-orange);
    border-radius: 8px;
}

.company-mission h3,
.company-location h3,
.company-approach h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.company-mission p,
.company-location p,
.company-approach p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 0;
}

/* About Values Section */
.about-values {
    position: relative;
}

.values-title {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.values-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(35, 41, 98, 0.1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-orange);
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 127, 50, 0.02) 100%);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(255, 127, 50, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.4s ease;
    z-index: -1;
}

.value-card:hover .value-icon {
    color: var(--primary-blue);
    transform: scale(1.1);
}

.value-card:hover .value-icon::before {
    width: 85px;
    height: 85px;
    background: radial-gradient(circle, rgba(35, 41, 98, 0.15) 0%, transparent 70%);
}

.value-card h4 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    transition: color 0.4s ease;
}

.value-card:hover h4 {
    color: var(--primary-orange);
}

.value-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
    transition: color 0.4s ease;
}

.value-card:hover p {
    color: var(--dark-gray);
}

/* ===== Partners Section ===== */
.partners-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(35, 41, 98, 0.02) 0%, rgba(255, 127, 50, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(35, 41, 98, 0.2) 50%, 
        transparent 100%);
}

.partners-header {
    text-align: center;
    margin-bottom: 4rem;
}

.partners-header .section-title {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.partners-header .section-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    cursor: pointer;
    text-decoration: none;
}

.partner-link:hover {
    transform: scale(1.08);
}

.partner-link:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 8px;
    border-radius: 8px;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-img {
    width: 380px;
    height: 160px;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: grayscale(0%);
    opacity: 0.9;
}

.partner-img[src*="alyntia-logo"] {
    transform: scale(1.3);
}

.partner-link:hover .partner-img {
    opacity: 1;
    filter: brightness(1.05);
}

.partner-link:hover .partner-img[src*="alyntia-logo"] {
    transform: scale(1.35);
}

.partner-link:active .partner-img {
    transform: scale(0.95);
}

.partner-link:active .partner-img[src*="alyntia-logo"] {
    transform: scale(1.25);
}

/* Responsive adjustments for partners */
@media screen and (max-width: 992px) {
    .partners-grid {
        gap: 6rem;
    }
    
    .partner-img {
        width: 340px;
        height: 145px;
    }
}

@media screen and (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
    }
    
    .partners-grid {
        gap: 4rem;
        flex-direction: column;
    }
    
    .partner-img {
        width: 300px;
        height: 130px;
    }
    
    .partners-header {
        margin-bottom: 3rem;
    }
    
    .partners-header .section-title {
        font-size: 1.75rem;
    }
}

@media screen and (max-width: 480px) {
    .partners-section {
        padding: 50px 0;
    }
    
    .partners-grid {
        gap: 3rem;
    }
    
    .partner-img {
        width: 260px;
        height: 110px;
    }
    
    .partners-header {
        margin-bottom: 2.5rem;
    }
    
    .partners-header .section-title {
        font-size: 1.5rem;
    }
    
    .partners-header .section-subtitle {
        font-size: 0.9rem;
    }
}

/* ===== Contact Section ===== */
.contact {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    color: var(--primary-orange);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.info-item a {
    color: var(--text-gray);
}

.info-item a:hover {
    color: var(--primary-orange);
}

/* ===== Form Styles ===== */
.contact-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 127, 50, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.company-info {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a,
.footer-section ul li button {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-section ul li a:hover,
.footer-section ul li button:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

/* ===== Utility Classes ===== */
.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-element {
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transition: none;
}

/* ===== Scrollbar Styles ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-orange);
}

/* ===== Form Alert Styles ===== */
.form-alert {
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    animation: fadeInUp 0.5s ease;
    position: relative;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.form-alert h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.form-alert p {
    margin-bottom: 0;
    color: inherit;
}

.alert-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    color: inherit;
}

.alert-close:hover {
    opacity: 1;
}

/* ===== Form Validation Styles ===== */
.error-message {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    animation: fadeIn 0.3s ease;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
}

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: #28a745;
}

.form-group.focused label {
    color: var(--primary-orange);
}

/* ===== Loading Spinner ===== */
.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Header Scrolled State ===== */
.header.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.header.scrolled .navbar {
    padding: 0.5rem 0;
}

/* ===== Enhanced Gradients ===== */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ===== Performance Optimizations ===== */
.will-change-transform {
    will-change: transform;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000;
}

/* ===== Chatbot Integration Adjustments ===== */
/* Ensure chatbot doesn't interfere with other elements */
body:has(.chatbot-window.show) {
    /* Optional: Add margin or padding if needed */
}

/* Adjust z-index for potential conflicts */
.header {
    z-index: var(--z-header);
}

/* Ensure mobile menu appears above chatbot */
.nav-menu.active {
    z-index: calc(var(--z-chatbot-float) + 1);
}

/* ===== Cookie Banner Integration ===== */
/* Ensure smooth transitions when cookie banner appears/disappears */
.chatbot-float,
.chatbot-window {
    transition: bottom 0.4s ease, transform 0.3s ease !important;
}

/* Adjust chatbot position when cookie banner is visible */
body:has(.cookie-banner.show) .chatbot-float {
    bottom: calc(15px + var(--cookie-banner-height, 120px));
}

body:has(.cookie-banner.show) .chatbot-window {
    bottom: calc(80px + var(--cookie-banner-height, 120px));
}

/* Ensure cookie banner doesn't interfere with navigation */
.nav-menu.active {
    z-index: calc(var(--z-cookie-banner) + 10);
}

/* Performance-optimized animations for cookie banner */
.cookie-banner,
.cookie-settings-modal {
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000;
}

/* ===== Mobile Navigation Responsive Adjustments ===== */
@media screen and (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: left 0.3s ease;
        z-index: calc(var(--z-header) - 1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        opacity: 0;
        transform: translateY(20px);
        animation: slideInFromTop 0.5s ease forwards;
    }

    .nav-menu li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu li:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu li:nth-child(5) { animation-delay: 0.5s; }

    @keyframes slideInFromTop {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-link {
        font-size: 1.2rem;
        color: var(--dark-gray);
    }

    /* Mobile toggle animation */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* ===== Reduced Motion Support ===== */
@media (prefers-reduced-motion: reduce) {
    .parallax-element {
        transform: none !important;
    }
    
    .shape {
        animation: none !important;
    }
    
    .hero-particles .particle {
        animation: none !important;
    }
    
    .chatbot-float {
        animation: none !important;
    }
    
    .maya-hero-icon i {
        animation: none !important;
    }
    
    .product-badge {
        animation: none !important;
    }
    
    .maya-final-cta::before {
        animation: none !important;
    }
}

/* ===== Additional Animations ===== */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 

.value-icon            {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    transition: all 0.4s ease;
}


/* ===== Variables ===== */
:root {
    --process-primary: #232962;
    --process-secondary: #FF7F32;
    --process-bg: #ffffff;
    --process-card-bg: rgba(255, 255, 255, 0.95);
    --process-shadow: 0 10px 30px rgba(35, 41, 98, 0.1);
    --process-shadow-hover: 0 20px 40px rgba(35, 41, 98, 0.15);
    --process-gradient: linear-gradient(135deg, #232962 0%, #FF7F32 100%);
    --process-timeline-bg: rgba(35, 41, 98, 0.1);
    --process-timeline-active: var(--process-secondary);
}

/* ===== Main Section ===== */
.process-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f0 100%);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="%23FF7F32" opacity="0.1"/><circle cx="90" cy="20" r="1.5" fill="%23232962" opacity="0.1"/><circle cx="20" cy="80" r="1" fill="%23FF7F32" opacity="0.1"/><circle cx="80" cy="90" r="1.5" fill="%23232962" opacity="0.1"/></svg>');
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

/* ===== Timeline Container ===== */
.process-timeline {
    position: relative;
    margin: 80px 0;
    padding: 40px 0;
}

/* ===== Timeline Line ===== */
.timeline-line {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 4px;
    background: var(--process-timeline-bg);
    border-radius: 2px;
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--process-gradient);
    border-radius: 2px;
    width: 0%;
    transition: width 1.5s ease;
    box-shadow: 0 0 10px rgba(255, 127, 50, 0.3);
}

/* ===== Process Steps ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

/* ===== Individual Step ===== */
.process-step {
    position: relative;
    opacity: 0.6;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.process-step.active {
    opacity: 1;
    transform: translateY(0);
}

.process-step.completed {
    opacity: 0.8;
}

/* ===== Step Marker ===== */
.step-marker {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
}

.step-number {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--process-card-bg);
    border: 3px solid var(--process-timeline-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--process-primary);
    transition: all 0.4s ease;
    box-shadow: var(--process-shadow);
}

.step-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--process-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
    box-shadow: var(--process-shadow-hover);
}

.step-icon i {
    font-size: 1.5rem;
    color: white;
}

/* Active/Hover States */
.process-step.active .step-number,
.process-step:hover .step-number {
    border-color: var(--process-secondary);
    transform: scale(0.9);
}

.process-step.active .step-icon,
.process-step:hover .step-icon {
    opacity: 1;
    transform: scale(1);
}

.process-step.completed .step-number {
    background: var(--process-secondary);
    border-color: var(--process-secondary);
    color: white;
}

/* ===== Step Content ===== */
.step-content {
    text-align: center;
    padding: 0 10px;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--process-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.step-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.2s;
}

.process-step.active .step-description {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Step Tags ===== */
.step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.3s;
}

.process-step.active .step-tags {
    opacity: 1;
    transform: translateY(0);
}

.tag {
    font-size: 0.75rem;
    padding: 4px 8px;
    background: rgba(255, 127, 50, 0.1);
    color: var(--process-secondary);
    border-radius: 12px;
    font-weight: 500;
}

/* ===== Step Duration ===== */
.step-duration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--process-secondary);
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.4s;
}

.process-step.active .step-duration {
    opacity: 1;
    transform: translateY(0);
}

.step-duration i {
    font-size: 0.7rem;
}

/* ===== Process Summary ===== */
.process-summary {
    margin-top: 80px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.summary-card {
    background: var(--process-card-bg);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--process-shadow);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--process-shadow-hover);
}

.summary-icon {
    width: 60px;
    height: 60px;
    background: var(--process-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

.summary-card:hover .summary-icon {
    transform: scale(1.1);
}

.summary-icon i {
    font-size: 1.5rem;
    color: white;
}

.summary-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--process-primary);
    margin-bottom: 10px;
}

.summary-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* ===== Process Navigation ===== */
.process-navigation {
    margin-top: 60px;
    text-align: center;
}

.nav-pills {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px;
    border-radius: 50px;
    box-shadow: var(--process-shadow);
    backdrop-filter: blur(10px);
    flex-wrap: wrap;
    gap: 4px;
}

/* ===== Responsive Design ===== */

/* Large Desktop */
@media screen and (max-width: 1400px) {
    .process-steps {
        gap: 15px;
    }
    
    .step-content {
        padding: 0 5px;
    }
}

/* Desktop */
@media screen and (max-width: 1200px) {
    .step-title {
        font-size: 1rem;
    }
    
    .step-description {
        font-size: 0.85rem;
    }
    
    .step-marker {
        width: 70px;
        height: 70px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
    }
    
    .step-icon i {
        font-size: 1.3rem;
    }
}

/* Tablet */
@media screen and (max-width: 768px) {
    .process-section {
        padding: 80px 0;
    }
    
    /* Switch to Vertical Layout */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .timeline-line {
        top: 0;
        bottom: 0;
        left: 50%;
        right: auto;
        width: 4px;
        height: auto;
        transform: translateX(-50%);
    }
    
    .timeline-progress {
        width: 100%;
        height: 0%;
        transition: height 1.5s ease;
    }
    
    .process-step {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 20px;
        opacity: 1;
        transform: none;
    }
    
    .process-step:nth-child(even) {
        direction: rtl;
    }
    
    .process-step:nth-child(even) .step-content {
        direction: ltr;
        text-align: right;
    }
    
    .process-step:nth-child(odd) .step-content {
        text-align: left;
        grid-column: 3;
    }
    
    .process-step:nth-child(even) .step-content {
        grid-column: 1;
    }
    
    .step-marker {
        grid-column: 2;
        margin: 0;
        width: 80px;
        height: 80px;
    }
    
    .step-content {
        padding: 20px;
        background: var(--process-card-bg);
        border-radius: 12px;
        box-shadow: var(--process-shadow);
        backdrop-filter: blur(10px);
    }
    
    .step-description {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .step-tags {
        opacity: 1;
        transform: none;
        transition: none;
        justify-content: inherit;
    }
    
    .step-duration {
        opacity: 1;
        transform: none;
        transition: none;
        justify-content: inherit;
    }
    
    /* Summary Grid */
    .summary-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nav-pills {
        padding: 6px;
        flex-wrap: wrap;
    }
    
    .nav-pill {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Mobile */
@media screen and (max-width: 480px) {
    .process-section {
        padding: 120px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .process-timeline {
        margin: 40px 0;
        padding: 20px 0;
    }
    
    .process-steps {
        gap: 30px;
    }
    
    .step-marker {
        width: 60px;
        height: 60px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
    }
    
    .step-icon i {
        font-size: 1.1rem;
    }
    
    .step-title {
        font-size: 0.95rem;
    }
    
    .step-description {
        font-size: 0.8rem;
    }
    
    .step-content {
        padding: 15px;
    }
    
    .tag {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
    
    .summary-card {
        padding: 20px;
    }
    
    .summary-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .summary-icon i {
        font-size: 1.2rem;
    }
    
    .nav-pill {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .process-navigation {
        margin-top: 40px;
    }
}

/* ===== Animations ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Progress Animation */
.timeline-progress.animated {
    animation: progressFill 2s ease-out forwards;
}

@keyframes progressFill {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

/* Mobile Progress Animation */
@media screen and (max-width: 768px) {
    .timeline-progress.animated {
        animation: progressFillVertical 2s ease-out forwards;
    }
    
    @keyframes progressFillVertical {
        from {
            height: 0%;
        }
        to {
            height: 100%;
        }
    }
}

/* Intersection Observer Animations */
.process-step.animate-in {
    animation: slideInProcess 0.6s ease forwards;
}

@keyframes slideInProcess {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .process-step,
    .step-description,
    .step-tags,
    .step-duration,
    .timeline-progress {
        transition: none;
        animation: none;
    }
    
    .timeline-progress {
        width: 100%;
    }
    
    @media screen and (max-width: 768px) {
        .timeline-progress {
            height: 100%;
        }
    }
}