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

:root {
    /* Primary - Deep Navy Blue (softened) */
    --primary-color: #1a3a5c;
    --primary-light: #003087;
    --primary-dark: #001540;

    /* Accent - Muted Orange (toned down) */
    --accent-primary: #E85A28;
    --accent-hover: #D14A20;
    --accent-light: #F07A42;
    --accent-dark: #D94D1A;

    /* Secondary Accent - Calm Blue */
    --secondary-accent: #4A7FBF;
    --secondary-light: #3D8BFF;

    /* Neutral palette - Modern grays */
    --text-dark: #0F172A;
    --text-medium: #475569;
    --text-light: #64748B;
    --text-lighter: #94A3B8;

    /* Backgrounds - Clean & vibrant */
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-lighter: #F1F5F9;
    --bg-dark: #001F5F;
    --bg-accent: #FFF4F0;

    /* Borders - Subtle */
    --border-color: #E2E8F0;
    --border-light: #F1F5F9;

    /* Status colors */
    --success-color: #10B981;
    --info-color: #0066FF;

    /* Shadows - subtle and professional */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-medium);
    overflow-x: hidden;
    font-size: 14px;
    font-weight: 400;
    background: var(--bg-white);
}

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

/* Mobile container padding */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* Full width container for navbar */
.navbar .container {
    max-width: 80%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #2a1b5c;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.5rem 20px;
    gap: 5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-brand h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    position: relative;
}

.nav-close {
    display: none; /* Hidden on desktop */
}

.nav-menu a {
    text-decoration: none;
    color: #E0F2FE;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    letter-spacing: 0;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: var(--accent-light);
}

/* Active nav link styling - moved from JS to CSS for performance */
.nav-menu a:active,
.nav-menu a[aria-current="page"] {
    color: var(--accent-light);
    font-weight: 500;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 53, 0.15);
    border: 2px solid var(--accent-light);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.language-switcher:hover {
    border-color: var(--accent-light);
    background: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.5);
}

.language-switcher svg {
    color: white;
}

.language-text {
    color: white;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.language-switcher svg {
    width: 18px;
    height: 18px;
}

.language-text {
    font-weight: 600;
    letter-spacing: 0.02em;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 120px 0;
    background: url('BackgroundImage1.webp') center/cover no-repeat;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Fallback for browsers that don't support WebP */
@supports not (background-image: url('BackgroundImage1.webp')) {
    .hero {
        background: url('BackgroundImage1.jpg') center/cover no-repeat;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: linear-gradient(135deg,
        #FF6B35 0%,
        #FF8C5A 20%,
        #A06CD5 40%,
        #6A82FB 60%,
        #0066FF 80%,
        #003087 100%);
    opacity: 0.15;
    z-index: 0;
    transform: rotate(-5deg);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    font-weight: 400;
    line-height: 1.6;
    color: #FFFFFF;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-left: auto;
    max-width: 500px;
    height: 600px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

@keyframes fadeInRight {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive for hero grid */
@media (max-width: 968px) {
    .hero {
        min-height: 65vh;
        padding: 100px 0 40px;
    }

    /* Add dark overlay for better text readability on mobile */
    .hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 70%;
        background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.3));
        z-index: 1;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        position: relative;
        z-index: 2;
    }

    .hero-content {
        text-align: center;
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
        text-shadow: 0 2px 12px rgba(0,0,0,0.9);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-left: auto;
        margin-right: auto;
        text-shadow: 0 2px 8px rgba(0,0,0,0.9);
        margin-bottom: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 0.875rem;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 48px;
    }

    .hero-image {
        display: none;
    }
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(255, 107, 53, 0.5);
}

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

.btn-outline:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #FFFFFF;
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 300;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, #ff0101 0%, #333ba1 50%, #ff0101 100%);
    /* linear-gradient(135deg, #B72929 0%, #A52525 50%, #8E1F1F 100%); */
    padding: 60px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.stat-icon {
    color: white;
    opacity: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 36px;
    height: 36px;
    stroke-width: 2.5;
}

.stat-item:hover .stat-icon {
    filter: drop-shadow(0 6px 12px rgba(255, 255, 255, 0.3));
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    opacity: 0.95;
    text-align: center;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Trusted By Section (Client Logos) */
.trusted-by {
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 50%, #F8FAFC 100%);
    padding: 50px 0;
    overflow: hidden;
    position: relative;
}

.trusted-by::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-primary);
}

.trusted-by-title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 500;
    color: white;
    margin-bottom: 2.5rem;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

.logos-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
}

.logos-track {
    display: flex;
    gap: 4rem;
    animation: scrollLogos 30s linear infinite;
    width: fit-content;
}

.logos-track:hover {
    animation-play-state: paused;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    min-width: 180px;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.logo-placeholder:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: scale(1.05);
}

.trusted-by-note {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* Services Section */
.services {
    background: #FFFFFF;
    position: relative;
    color: var(--text-dark);
}

.services .section-title,
.services .section-subtitle {
    color: var(--text-dark);
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-primary);
}

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

.service-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-primary);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 107, 53, 0.1),
        transparent
    );
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.8s ease;
}

.service-card:hover::after {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.service-card.featured {
    border: 2px solid var(--accent-primary);
    background: var(--bg-white);
}

.service-badge {
    position: absolute;
    top: -4px;
    right: 20px;
    background: var(--accent-primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.service-urgency {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: linear-gradient(135deg, #FFF4F0 0%, #FFE5DD 100%);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    width: fit-content;
    animation: pulse 2s ease-in-out infinite;
}

.service-urgency svg {
    flex-shrink: 0;
    color: var(--accent-primary);
}

.service-urgency.limited {
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
    border-color: rgba(239, 68, 68, 0.2);
    color: #dc2626;
    animation: urgentPulse 1.5s ease-in-out infinite;
}

.service-urgency.limited svg {
    color: #dc2626;
}

.service-urgency.guarantee {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border-color: rgba(14, 165, 233, 0.2);
    color: #0284c7;
    animation: none;
}

.service-urgency.guarantee svg {
    color: #0284c7;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 107, 53, 0);
    }
}

@keyframes urgentPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
        transform: scale(1.02);
    }
}

.service-icon {
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    display: inline-block;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 300;
    font-size: 0.9rem;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.4rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    font-weight: 300;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.service-cta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.service-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.service-cta .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.85rem;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #001F5F 0%, #002875 50%, #003087 100%);
    padding: 80px 0;
    position: relative;
    color: white;
}

.about .section-title,
.about .section-subtitle,
.about p {
    color: white;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L0,50 Q150,80 300,50 T600,50 T900,50 T1200,50 L1200,0 Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: top;
    z-index: 1;
}

/* Softer waves on mobile */
@media (max-width: 768px) {
    .about::before {
        height: 50px;
        opacity: 0.9;
    }
}

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

.about-text {
    max-width: 600px;
}

.about-label {
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: white;
}

.about-subtitle {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: white;
}

.highlight-orange {
    color: var(--accent-primary);
}

.about-tagline {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.25rem;
    font-weight: 300;
}

.about-quote {
    margin: 2rem 0;
    padding-left: 1.5rem;
    border-left: 4px solid var(--accent-primary);
    font-style: italic;
}

.about-quote p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.about-quote cite {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: normal;
    font-weight: 500;
}

.btn-text {
    display: inline-block;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-bottom: 2px solid var(--accent-primary);
    padding-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.btn-text:hover {
    color: var(--accent-hover);
    border-color: var(--accent-hover);
}

.about-image {
    position: relative;
}

.stats-highlight {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.highlight-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent-primary);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-hover);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
}

.highlight-item h4 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.highlight-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Chatbot Features Section */
.chatbot-features {
    background: linear-gradient(135deg, #B72929 0%, #A52525 50%, #8E1F1F 100%);
    position: relative;
    color: white;
    padding-top: 100px;
}

.chatbot-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L0,60 Q200,30 400,60 T800,60 Q1000,30 1200,60 L1200,0 Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: top;
    z-index: 1;
}

/* Softer waves on mobile */
@media (max-width: 768px) {
    .chatbot-features::before {
        height: 50px;
        opacity: 0.9;
    }

    .chatbot-features {
        padding-top: 70px;
    }
}

.chatbot-features .section-title {
    color: white;
    position: relative;
    z-index: 2;
}

.chatbot-features .section-subtitle {
    color: white;
    opacity: 0.95;
    position: relative;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-item:nth-child(2n) {
    background: rgba(255, 255, 255, 0.15);
}

.feature-item:nth-child(3n) {
    background: rgba(255, 255, 255, 0.1);
}

.feature-item:hover {
    border-color: white;
    box-shadow: 0 16px 32px rgba(255, 255, 255, 0.3), 0 8px 16px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    color: var(--accent-primary);
}

.feature-item:hover .feature-icon {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.feature-icon svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.feature-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: white;
    letter-spacing: 0;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.6;
    font-weight: 300;
}

/* Use Cases Section */
.use-cases {
    background: #FFFFFF;
    position: relative;
    color: var(--text-dark);
    padding-top: 120px;
}

.use-cases::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L0,90 Q300,60 600,90 T1200,90 L1200,0 Z' fill='%23B72929' opacity='0.3'/%3E%3Cpath d='M0,0 L0,70 Q300,45 600,70 T1200,70 L1200,0 Z' fill='%23A52525' opacity='0.5'/%3E%3Cpath d='M0,0 L0,50 Q300,25 600,50 T1200,50 L1200,0 Z' fill='%238E1F1F'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: top;
    z-index: 1;
}

/* Softer waves on mobile */
@media (max-width: 768px) {
    .use-cases::before {
        height: 60px;
        opacity: 0.8;
    }

    .use-cases {
        padding-top: 80px;
    }
}

.use-cases .section-title,
.use-cases .section-subtitle {
    color: var(--text-dark);
    position: relative;
    z-index: 2;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.use-case-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid rgba(183, 41, 41, 0.2);
    border-top: 4px solid #B72929;
    position: relative;
    overflow: hidden;
}

.use-case-card:hover {
    box-shadow: 0 16px 32px rgba(183, 41, 41, 0.2), 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #B72929;
    border-top-width: 5px;
}

.use-case-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #B72929;
    letter-spacing: -0.01em;
}

.use-case-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Contact Section */
.contact {
    background: #F8FAFC;
    position: relative;
    padding: 80px 0;
}

.contact .section-title {
    font-size: 2.5rem;
}

.contact .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-primary);
}

.contact-info-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-description {
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.contact-details .contact-item:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
}

.contact-item:hover {
    box-shadow: 0 12px 24px rgba(255, 107, 53, 0.15);
}

.contact-icon {
    color: var(--accent-primary);
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
}

.contact-icon svg {
    width: 30px;
    height: 30px;
}

.contact-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.contact-item a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}


/* Footer */
.footer {
    background: #2a1b5c;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    height: 125px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: #FFFFFF;
    font-weight: 600;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

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

.footer-contact ul li:not(:has(a)) {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-light);
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo {
        height: 50px;
    }

    .footer-tagline {
        max-width: 100%;
    }
}

/* Enhanced Animations */
/* Simplified animations - reduced motion for better performance */
@keyframes fadeInUp {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInLeft {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInRight {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Simplified animation classes - no transforms to prevent layout shift */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.animate-on-scroll.animate-in {
    opacity: 1;
}

.slide-in-left {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.slide-in-left.animate-in {
    opacity: 1;
}

.slide-in-right {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.slide-in-right.animate-in {
    opacity: 1;
}

/* Section title animations - simplified */
.section-title {
    animation: fadeInDown 0.4s ease-out;
}

.section-subtitle {
    animation: fadeInUp 0.4s ease-out 0.1s both;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-logo {
        height: 70px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #2a1b5c;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: var(--shadow-md);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-menu a {
        color: white;
        padding: 1rem 2rem;
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        cursor: pointer;
        color: white;
        padding: 0.5rem;
        transition: all 0.3s ease;
        min-width: 44px;
        min-height: 44px;
    }

    .nav-close:hover {
        color: var(--accent-primary);
        transform: rotate(90deg);
    }

    /* Mobile Hero - handled above */
    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    /* Mobile Sections */
    .section-title {
        font-size: 1.75rem;
        padding: 0 1rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    /* Mobile Stats */
    .stats {
        padding: 40px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .stat-item {
        padding: 1.25rem 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* Mobile About */
    .about {
        padding: 60px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .about-title {
        font-size: 1.75rem;
    }

    .about-subtitle {
        font-size: 1.35rem;
    }

    /* Mobile Services, Features, Use Cases */
    .services,
    .chatbot-features,
    .use-cases {
        padding: 60px 0;
    }

    .services-grid,
    .features-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .service-card,
    .feature-item,
    .use-case-card {
        padding: 1.75rem 1.5rem;
    }

    /* Mobile Contact */
    .contact {
        padding: 60px 0;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0 1rem;
    }

    .contact-item {
        padding: 1.5rem;
    }

    /* Mobile Buttons - Ensure 44px minimum */
    .btn {
        min-height: 48px;
        padding: 0.875rem 1.5rem;
    }

    /* Language Switcher */
    .language-switcher {
        min-width: 44px;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile optimizations */
    .hero {
        min-height: 60vh;
        padding: 90px 0 30px;
    }

    .hero-title {
        font-size: 1.65rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.875rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .about-title {
        font-size: 1.5rem;
    }

    .about-subtitle {
        font-size: 1.15rem;
    }

    .service-card,
    .feature-item,
    .use-case-card {
        padding: 1.5rem 1.25rem;
    }

    /* Optimize WhatsApp button for small screens */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }

    .back-to-top {
        bottom: 90px;
        left: 20px;
        width: 45px;
        height: 45px;
    }

    /* Smaller logo on very small screens */
    .nav-logo {
        height: 60px;
    }

    .navbar .container {
        padding: 0.5rem 15px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}


/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    animation: slideUpBanner 0.5s ease-out;
}

@keyframes slideUpBanner {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.cookie-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
}

.cookie-text svg {
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.cookie-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
}

.cookie-description {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.625rem 1.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: var(--accent-primary);
    color: white;
}

.cookie-btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.cookie-btn-secondary {
    background: transparent;
    color: var(--text-medium);
    border: 1px solid var(--border-color);
}

.cookie-btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--text-medium);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 27, 46, 0.4), 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(15, 27, 46, 0.5), 0 12px 32px rgba(0, 0, 0, 0.2);
}

.back-to-top:active {
    transform: translateY(-3px);
}

.back-to-top svg {
    animation: bounceUpDown 1.5s ease-in-out infinite;
}

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

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5), 0 12px 32px rgba(0, 0, 0, 0.2);
}

.whatsapp-float:active {
    transform: scale(1.05);
}

.whatsapp-float svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Pulse animation for attention */
.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem 1.5rem;
    }

    .cookie-text {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cookie-text svg {
        display: none;
    }

    .cookie-actions {
        width: 100%;
        gap: 0.5rem;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
    }

    .back-to-top {
        bottom: 90px;
        left: 20px;
        width: 45px;
        height: 45px;
    }

    .back-to-top svg {
        width: 20px;
        height: 20px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
