/* ================================================
   HDG Impresores - Modern CSS
   ================================================ */

/* ===== CSS Variables ===== */
:root {
    /* Colors - Enterprise Palette */
    --primary-color: #0b1f3a;
    /* Deep Navy */
    --primary-dark: #07162b;
    /* Header backdrop */
    --accent-color: #1fb6c1;
    /* Refined Teal */
    --accent-dark: #158795;
    /* Hover accent */
    --accent-soft: #e6f6f7;
    /* Subtle accent background */
    --light-bg: #f5f7fb;
    /* Section light */
    --light-gradient: linear-gradient(180deg, #ffffff 0%, #f2f6fb 40%, #eef2f8 100%);
    --dark-bg: #0b1f3a;
    /* Section dark */
    --surface-color: #ffffff;
    /* Card surface */
    --surface-muted: #f0f4f9;
    /* Page background */
    --border-color: #d3dbe8;
    /* Soft border */
    --text-dark: #1f2937;
    /* Slate */
    --text-muted: #5b6c84;
    /* Muted copy */
    --text-light: #ffffff;
    --text-gray: #718096;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3.5rem;
    --spacing-xl: 4.5rem;

    /* Typography */
    --font-primary: 'Raleway', sans-serif;
    --font-secondary: 'Roboto', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows - Subtle Corporate */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 8px 16px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
    font-size: 18px;
}

/* Reduced motion support for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    /* Force carousel animation even if reduced motion is on */
    .carousel-track {
        animation-duration: 40s !important;
        animation-iteration-count: infinite !important;
    }
}

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--surface-muted);
    background-image: radial-gradient(circle at 10% 10%, rgba(31, 182, 193, 0.08) 0, rgba(31, 182, 193, 0) 60%),
        radial-gradient(circle at 90% 20%, rgba(11, 31, 58, 0.08) 0, rgba(11, 31, 58, 0) 55%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== Language Toggle ===== */
.lang-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.lang-btn {
    background: linear-gradient(135deg, #21bdc5 0%, #1393a1 100%);
    color: var(--text-light);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    box-shadow: 0 12px 28px rgba(15, 42, 74, 0.18);
}

.lang-btn:hover {
    background: linear-gradient(135deg, #1fb6c1 0%, #117f8d 100%);
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.whatsapp-float:hover {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

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

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--text-dark);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Pulse animation for WhatsApp button */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }

    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-float {
    animation: pulse-whatsapp 2s infinite;
}

/* ===== Sticky Contact Button ===== */
.sticky-contact-btn {
    position: fixed;
    bottom: 110px;
    right: 30px;
    background: linear-gradient(135deg, #21bdc5 0%, #1393a1 100%);
    color: var(--text-light);
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 24px 45px rgba(15, 42, 74, 0.22);
    z-index: 997;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.sticky-contact-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.sticky-contact-btn:hover {
    background: linear-gradient(135deg, #1fb6c1 0%, #117f8d 100%);
}

.sticky-contact-btn svg {
    width: 20px;
    height: 20px;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(11, 31, 58, 0.94), rgba(7, 22, 43, 0.88));
    box-shadow: 0 8px 24px rgba(7, 22, 43, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 999;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(7, 22, 43, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 6px 20px rgba(7, 22, 43, 0.35);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    color: var(--text-light);
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-accent {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    margin: 0;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all var(--transition-normal);
    position: relative;
    letter-spacing: 0.02em;
    opacity: 0.85;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(31, 182, 193, 0.2) 0%, rgba(31, 182, 193, 0.9) 50%, rgba(31, 182, 193, 0.2) 100%);
    transition: width var(--transition-normal);
}

.nav-menu a:hover {
    color: var(--text-light);
    opacity: 1;
}

.nav-menu a:hover::after {
    width: 80%;
}

/* Dropdown Navigation */
.nav-item {
    position: relative;
}

.has-dropdown {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-icon {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-normal);
}

.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(7, 22, 43, 0.96);
    min-width: 200px;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: 1000;
    border: 1px solid rgba(31, 182, 193, 0.25);
    backdrop-filter: blur(12px);
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-light);
    transition: all var(--transition-fast);
    border-radius: 0;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: rgba(31, 182, 193, 0.18);
    color: var(--text-light);
    padding-left: 2rem;
}

/* CTA Button in Nav */
.nav-cta {
    margin-left: auto;
}

.btn-nav-cta {
    background: var(--accent-color);
    color: var(--text-light);
    padding: 0.6rem 1.5rem !important;
    border-radius: 4px;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.btn-nav-cta::after {
    display: none !important;
}

.btn-nav-cta:hover {
    background: var(--accent-dark);
    color: var(--text-light);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: all var(--transition-normal);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #0f2a4a 0%, #0b1f3a 45%, #082038 100%);
    overflow: hidden;
    padding-top: 120px;
    /* Account for fixed header */
    padding-bottom: 60px;
    /* Balance bottom spacing */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 15% 20%, rgba(31, 182, 193, 0.25), transparent 55%),
        radial-gradient(circle at 85% 15%, rgba(44, 107, 192, 0.35), transparent 55%),
        radial-gradient(circle at 50% 80%, rgba(24, 62, 125, 0.4), transparent 60%);
    opacity: 0.9;
}

.hero::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    bottom: -140px;
    right: -120px;
    background: radial-gradient(circle, rgba(31, 182, 193, 0.38) 0%, rgba(31, 182, 193, 0) 70%);
    filter: blur(10px);
    opacity: 0.65;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(7, 22, 43, 0.45) 0%, rgba(7, 22, 43, 0.72) 55%, rgba(7, 22, 43, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    padding: var(--spacing-lg) var(--spacing-md);
    max-width: 980px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: 1px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero-divider {
    width: 100px;
    height: 4px;
    background: var(--accent-color);
    margin: var(--spacing-md) auto;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 300;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

/* Hero CTAs */
.hero-ctas {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    cursor: pointer;
    font-family: var(--font-primary);
    letter-spacing: 0.5px;
    box-shadow: 0 12px 32px rgba(7, 22, 43, 0.18);
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, #21bdc5 0%, #1393a1 100%);
    color: var(--text-light);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1fb6c1 0%, #117f8d 100%);
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(19, 147, 161, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
    box-shadow: 0 18px 32px rgba(15, 42, 74, 0.25);
}

.btn-hero {
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-xl);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(31, 182, 193, 0.25);
    padding: var(--spacing-md);
    border-radius: 18px;
    text-align: center;
    color: var(--text-light);
    transition: all var(--transition-normal);
    box-shadow: 0 16px 35px rgba(6, 18, 35, 0.35);
}

.stat-item:hover {
    background: rgba(31, 182, 193, 0.15);
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(7, 22, 43, 0.4);
}

.stat-number {
    display: inline-block;
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--accent-color);
    line-height: 1;
}

.stat-plus {
    display: inline-block;
    font-size: clamp(1.2rem, 2.4vw, 2rem);
    color: var(--accent-color);
    margin-left: 4px;
    vertical-align: baseline;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fade-in-up-delay-2 {
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

.fade-in-up-delay-3 {
    animation: fadeIn 1s ease 0.9s forwards;
    opacity: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 25px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    opacity: 0.7;
    animation: float 2s ease-in-out infinite;
    backdrop-filter: blur(6px);
}

.scroll-indicator span {
    width: 6px;
    height: 10px;
    background: linear-gradient(180deg, rgba(31, 182, 193, 0.9) 0%, rgba(255, 255, 255, 0.4) 100%);
    border-radius: 3px;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* ===== Value Propositions Section ===== */
.section-value-props {
    background: linear-gradient(180deg, #f9fcff 0%, #eef3f9 100%);
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.section-value-props::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(31, 182, 193, 0.12), transparent 55%),
        radial-gradient(circle at 85% 30%, rgba(44, 107, 192, 0.1), transparent 60%);
    opacity: 0.9;
    z-index: 0;
}

.value-props-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.value-prop-card {
    text-align: center;
    padding: calc(var(--spacing-md) * 1.1);
    background: var(--surface-color);
    border-radius: 20px;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 45px rgba(12, 36, 68, 0.08);
}

.value-prop-card:hover {
    border-color: rgba(31, 182, 193, 0.35);
    background: var(--surface-color);
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(12, 36, 68, 0.16);
}

.value-prop-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: var(--accent-soft);
    border-radius: 18px;
    border: 1px solid rgba(31, 182, 193, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: transform var(--transition-normal);
}

.value-prop-card:hover .value-prop-icon {
    transform: translateY(-4px) scale(1.05);
    background: linear-gradient(135deg, rgba(31, 182, 193, 0.95) 0%, rgba(21, 135, 149, 0.95) 100%);
    color: var(--text-light);
    border-color: transparent;
}

.value-prop-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 2;
}

.value-prop-card h3 {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.value-prop-card p {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .value-props-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .value-props-grid,
    .certifications-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .value-prop-card {
        padding: var(--spacing-md);
    }

    .value-prop-icon {
        width: 60px;
        height: 60px;
    }

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

/* ===== Section Styles ===== */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-light {
    background: var(--light-gradient);
}

.section-dark {
    background: linear-gradient(165deg, rgba(11, 31, 58, 0.96) 0%, rgba(7, 22, 43, 0.94) 45%, rgba(5, 18, 35, 0.96) 100%);
    color: var(--text-light);
}

.section-dark p,
.section-dark .lead-text,
.section-dark .content-text {
    color: rgba(255, 255, 255, 0.78);
}

.section-industries {
    background: linear-gradient(180deg, #f4f8ff 0%, #edf2fa 100%);
}

/* ================================================
   Clients Showcase - Professional Design v2
   ================================================ */

.clients-showcase {
    margin: calc(var(--spacing-lg) * 2) 0;
    position: relative;
}

.clients-intro {
    text-align: center;
    margin-bottom: calc(var(--spacing-lg) * 1.5);
    padding: 0 var(--spacing-md);
}

.clients-tagline {
    font-size: 1.125rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Simple full-width carousel - reduced height */
.clients-carousel {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: transparent;
    /* Changed to transparent to match section background */
    padding: calc(var(--spacing-lg) * 0.6) 0;
    overflow: hidden;
}

/* Remove accent lines */
.clients-carousel::before,
.clients-carousel::after {
    display: none;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    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);
}

/* Remove edge fade gradients */
.carousel-wrapper::before,
.carousel-wrapper::after {
    display: none;
}

/* Smooth infinite scroll - faster speed, tighter spacing */
.carousel-track {
    display: flex;
    width: max-content;
    /* Ensure track takes full width of content */
    /* gap: var(--spacing-lg); Removed for seamless loop */
    animation: scroll-left 40s linear infinite;
    /* Slower for better visibility */
    will-change: transform;
}

.carousel-track:hover {
    animation-play-state: running;
    /* Don't pause on hover to avoid confusion */
}

.client-logo {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--spacing-lg);
}

/* Logo container - transparent, only for layout */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 100px;
    min-height: 100px;
    background: transparent;
    padding: var(--spacing-sm);
    position: relative;
    overflow: visible;
    border: none;
    box-shadow: none;
}

/* Remove all container effects and pseudo-elements */
.logo-container::before,
.logo-container::after {
    display: none;
}

/* No hover effects on container */
.client-logo:hover .logo-container {
    background: transparent;
    transform: none;
    box-shadow: none;
    border: none;
}

/* Logo image - clean and simple, absolutely no effects */
.logo-container img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    opacity: 1;
    position: relative;
    z-index: 1;
    display: block;
    filter: grayscale(100%);
    transition: filter var(--transition-normal);
    box-shadow: none !important;
    text-shadow: none !important;
    background: none !important;
    border: none !important;
    outline: none !important;
    transform: none !important;
    animation: none !important;
    will-change: auto !important;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

/* Ensure images maintain aspect ratio */
.logo-container img[src],
.logo-container img[data-src] {
    width: auto;
    height: auto;
    min-height: 90px;
    min-width: 150px;
}

/* No hover effects on images */
.client-logo:hover .logo-container img {
    transform: none;
    filter: grayscale(0%);
}

/* Error state for missing images */
.logo-container.logo-missing {
    background: transparent;
    border: none;
}

.logo-container img.logo-error {
    opacity: 0.2;
    filter: grayscale(100%);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}



.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: inherit;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-md);
}

.section-light .section-title {
    color: var(--primary-color);
}

.section-dark .section-title {
    color: var(--text-light);
}

.title-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, rgba(31, 182, 193, 0) 0%, rgba(31, 182, 193, 0.9) 50%, rgba(31, 182, 193, 0) 100%);
    margin: 0 auto var(--spacing-md);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: inherit;
    opacity: 0.9;
}

/* ===== Content Styles ===== */
.content-grid {
    display: grid;
    gap: var(--spacing-lg);
    align-items: center;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.lead-text {
    font-size: 1.3rem;
    line-height: 1.8;
    font-weight: 300;
    color: var(--text-muted);
}

/* ===== Tabs ===== */
.tabs-container {
    margin-top: var(--spacing-lg);
}

.tabs-nav {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.tab-btn {
    background: var(--text-light);
    color: var(--text-dark);
    border: 2px solid var(--accent-color);
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-btn:hover {
    background: var(--accent-light);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tab-btn.active {
    background: var(--accent-color);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.tabs-content {
    background: var(--text-light);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    min-height: 250px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

.tab-content-inner h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
}

.tab-content-inner p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* ================================================
   INDUSTRIES SECTION - Modern Design
   ================================================ */

.section-industries {
    background: var(--light-bg);
}

.industries-tabs-container {
    margin-top: var(--spacing-lg);
}

.industries-tabs-nav {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
    padding: 0 var(--spacing-md);
}

.industry-tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--surface-color);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 130px;
    box-shadow: 0 18px 35px rgba(15, 42, 74, 0.08);
    position: relative;
    overflow: hidden;
}

.industry-tab-btn::before {
    display: none;
}

.industry-tab-btn:hover::before {
    display: none;
}

.industry-tab-btn:hover {
    background: linear-gradient(135deg, rgba(31, 182, 193, 0.12) 0%, rgba(31, 182, 193, 0.4) 100%);
    color: var(--primary-dark);
    border-color: rgba(31, 182, 193, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 22px 42px rgba(15, 42, 74, 0.18);
}

.industry-tab-btn.active {
    background: linear-gradient(135deg, #21bdc5 0%, #1393a1 100%);
    color: var(--text-light);
    border-color: transparent;
    box-shadow: 0 26px 50px rgba(19, 147, 161, 0.25);
    transform: translateY(0);
}

.tab-icon {
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: var(--spacing-xs);
    transition: transform var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
    stroke: currentColor;
}

.industry-tab-btn:hover .tab-icon,
.industry-tab-btn.active .tab-icon {
    transform: scale(1.15);
}

.industries-tabs-content {
    background: var(--surface-color);
    border-radius: 16px;
    padding: var(--spacing-lg);
    box-shadow: 0 30px 60px rgba(15, 42, 74, 0.08);
    border: 1px solid var(--border-color);
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.industries-tabs-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
    border-radius: 20px 20px 0 0;
}

.industry-tab-panel {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.industry-tab-panel.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.industry-content-grid {
    display: grid;
    gap: var(--spacing-lg);
    align-items: start;
}

.industry-content-text h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    line-height: 1.2;
}

.industry-content-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
    max-width: 900px;
}

.industry-features {
    display: grid;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.industry-feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: all var(--transition-normal);
    font-size: 0.95rem;
    color: var(--text-muted);
    box-shadow: 0 12px 28px rgba(15, 42, 74, 0.06);
}

.industry-feature-item:hover {
    background: rgba(31, 182, 193, 0.08);
    transform: translateX(10px);
    box-shadow: 0 20px 40px rgba(18, 52, 87, 0.12);
}

.feature-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #21bdc5 0%, #1393a1 100%);
    color: var(--text-light);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: none;
}

.feature-check svg {
    width: 14px;
    height: 14px;
    stroke-width: 3;
    stroke: currentColor;
}

/* ===== Industry Gallery Section ===== */
.industry-gallery-section {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--accent-color);
}

.gallery-section-title {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
    text-align: center;
    position: relative;
}

.gallery-section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #21bdc5 0%, #1393a1 100%);
    border-radius: 2px;
}

/* Responsive Design for Industries */
@media (max-width: 1024px) {
    .industries-tabs-nav {
        gap: var(--spacing-xs);
    }

    .industry-tab-btn {
        min-width: 120px;
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.8rem;
    }

    .tab-icon {
        font-size: 1.3rem;
    }

    .industries-tabs-content {
        padding: var(--spacing-md);
        min-height: 240px;
    }

    .industry-content-text h3 {
        font-size: 1.35rem;
    }

    .industry-content-text p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .industries-tabs-container {
        margin-top: var(--spacing-md);
    }

    .industries-tabs-nav {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-xs);
        margin-bottom: var(--spacing-md);
    }

    .industry-tab-btn {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        min-width: auto;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .tab-icon {
        margin-bottom: 0;
        margin-right: var(--spacing-sm);
        font-size: 1.2rem;
    }

    .industries-tabs-content {
        padding: var(--spacing-md);
        min-height: 220px;
        border-radius: 12px;
    }

    .industry-content-text h3 {
        font-size: 1.25rem;
    }

    .industry-content-text p {
        font-size: 0.9rem;
    }

    .industry-features {
        gap: var(--spacing-xs);
        margin-top: var(--spacing-sm);
        padding-top: var(--spacing-sm);
    }

    .industry-feature-item {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.9rem;
    }

    .feature-check {
        width: 20px;
        height: 20px;
        font-size: 0.85rem;
    }
}

/* ===== Image Gallery ===== */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md) 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    aspect-ratio: 9 / 16;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    padding: var(--spacing-md);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: var(--spacing-xs);
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

/* ===== Works Grid ===== */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.work-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.work-card-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.work-card h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
}

.work-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* ===== Features Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.feature-card {
    background: var(--text-light);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.feature-card h3 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.feature-icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
    stroke: currentColor;
}

/* ===== Partners Showcase ===== */
.partners-showcase {
    background: linear-gradient(135deg, rgba(31, 182, 193, 0.05) 0%, rgba(11, 31, 58, 0.05) 100%);
    padding: var(--spacing-lg);
    border-radius: 16px;
    border: 2px solid rgba(31, 182, 193, 0.1);
    box-shadow: var(--shadow-md);
}

.partners-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    align-items: center;
    justify-items: center;
}

.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
    background: var(--surface-color);
    border-radius: 12px;
    width: 100%;
    height: 120px;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.partner-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.partner-logo-item img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter var(--transition-normal);
}

.partner-logo-item:hover img {
    filter: grayscale(0%);
}

/* Responsive Partners Grid */
@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
    }

    .partner-logo-item {
        height: 100px;
    }
}

@media (max-width: 768px) {
    .partners-showcase {
        padding: var(--spacing-md);
    }

    .partners-title {
        font-size: 1.2rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .partner-logo-item {
        height: 90px;
    }
}

/* ===== Certifications ===== */
.certifications-content {
    text-align: center;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.cert-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid var(--accent-color);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    min-height: 120px;
}

.cert-badge strong {
    display: block;
    font-size: 1.1rem;
    line-height: 1.3;
}

.cert-badge small {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.85;
    line-height: 1.3;
}

.cert-badge:hover {
    transform: scale(1.05);
    background: var(--accent-color);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
}

.footer-main {
    padding: calc(var(--spacing-xl) * 1.5) 0 var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--spacing-xl);
}

/* Footer Brand */
.footer-brand {
    padding-right: var(--spacing-lg);
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: var(--spacing-lg);
}

/* Certification Badges */
.footer-badges {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 196, 180, 0.1);
    border: 1px solid rgba(0, 196, 180, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all var(--transition-normal);
}

.footer-badge:hover {
    background: rgba(0, 119, 182, 0.2);
    border-color: var(--accent-color);
}

.footer-badge i {
    width: 18px;
    height: 18px;
    color: var(--accent-color);
}

.footer-badge span {
    font-weight: 600;
    color: var(--text-light);
}

/* Footer Columns */
.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-block;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

/* Footer Contact */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-lg) 0;
}

.footer-contact-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--spacing-md);
    align-items: flex-start;
}

.footer-contact-list i {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-list div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-contact-list strong {
    color: var(--text-light);
    font-size: 0.95rem;
}

.footer-contact-list a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-weight: 500;
}

.footer-contact-list a:hover {
    color: var(--accent-color);
}

.footer-contact-list span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Social Media */
.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--accent-color);
}

.footer-social i {
    width: 20px;
    height: 20px;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: var(--spacing-md) 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--accent-color);
}

.footer-legal .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

.fade-in-up-delay {
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Two-Column Layout ===== */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.column-left img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 28px 60px rgba(12, 36, 68, 0.18);
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .two-column-layout {
        grid-template-columns: 1fr;
    }
}

/* ===== Industries Tabs ===== */
.industry-tab-btn {
    position: relative;
}

.industry-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(31, 182, 193, 0) 0%, rgba(31, 182, 193, 0.9) 50%, rgba(31, 182, 193, 0) 100%);
    transition: width var(--transition-normal);
}

.industry-tab-btn.active::after {
    width: 50%;
}

/* ===== Works Gallery ===== */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: var(--spacing-md);
    transform: translateY(0);
    transition: opacity var(--transition-normal);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: var(--spacing-xs);
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-overlay h4 {
    transform: translateY(0);
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
    transform: translateY(20px);
    transition: transform var(--transition-normal);
    transition-delay: 0.1s;
}

.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

.gallery-item::before {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    font-size: 5rem;
    color: white;
    font-weight: 200;
    opacity: 0;
    transition: all var(--transition-normal);
}

.gallery-item:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ===== Contact Form ===== */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(31, 182, 193, 0.75);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(31, 182, 193, 0.18);
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .hero {
        min-height: 80vh;
        padding-top: 100px;
        /* Adjust for fixed header on tablets */
        padding-bottom: 40px;
    }

    .tabs-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-btn {
        width: 100%;
    }

    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: var(--spacing-sm);
    }

    .works-grid,
    .features-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
    }

    /* Footer Responsive */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-contact {
        grid-column: 1;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .lang-toggle {
        top: 15px;
        right: 15px;
    }

    .lang-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

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

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

    .sticky-contact-btn {
        bottom: 85px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .hero {
        padding-top: 90px;
        /* Adjust for fixed header on mobile */
        padding-bottom: 30px;
    }

    .hero-ctas {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: var(--spacing-md);
    }

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

    .stat-plus {
        font-size: 1.2rem;
    }

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

    /* Footer Mobile */
    .footer-badges {
        flex-direction: column;
    }

    .footer-badge {
        width: 100%;
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-social a {
        width: 45px;
        height: 45px;
    }
}

/* ===== Print Styles ===== */
@media print {

    .header,
    .lang-toggle,
    .mobile-menu-toggle,
    .scroll-indicator {
        display: none;
    }

    .section {
        page-break-inside: avoid;
    }
}

/* =================================================================
   CONTACT SECTION & FORM STYLES
   ================================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: calc(var(--spacing-lg) * 0.9);
    margin-top: var(--spacing-lg);
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    padding: calc(var(--spacing-md) * 0.9);
    background: var(--surface-color);
    border-radius: 18px;
    border: 1px solid var(--border-color);
    box-shadow: 0 22px 45px rgba(15, 42, 74, 0.08);
    transition: all var(--transition-normal);
}

.contact-item:hover {
    border-color: rgba(31, 182, 193, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 28px 55px rgba(12, 36, 68, 0.16);
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #21bdc5 0%, #1393a1 100%);
    border-radius: 14px;
    color: var(--text-light);
    box-shadow: 0 12px 24px rgba(19, 147, 161, 0.35);
}

.contact-item h4 {
    margin: 0 0 6px 0;
    color: var(--primary-color);
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.contact-item p,
.contact-item a {
    margin: 0;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.95rem;
}

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

/* Contact Form */
.contact-form {
    background: var(--surface-color);
    padding: calc(var(--spacing-lg) * 1.1);
    border-radius: 22px;
    box-shadow: 0 28px 65px rgba(15, 42, 74, 0.12);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, rgba(31, 182, 193, 0.15) 0%, rgba(31, 182, 193, 0.8) 50%, rgba(49, 117, 194, 0.3) 100%);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.contact-form label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
    letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.95rem 1.1rem;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all var(--transition-normal);
    font-family: var(--font-secondary);
    box-shadow: inset 0 1px 2px rgba(15, 42, 74, 0.04);
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(91, 108, 132, 0.7);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }

    .contact-item {
        flex: 1 1 260px;
    }
}

@media (max-width: 640px) {
    .contact-info {
        flex-direction: column;
    }

    .contact-item {
        flex: 1 1 auto;
    }

    .contact-form {
        padding: var(--spacing-lg);
        border-radius: 18px;
    }
}

/* Responsive Design for Client Carousel */
@media (max-width: 1200px) {
    .client-logo {
        width: 255px;
        height: 142px;
        margin-right: calc(var(--spacing-xl) * 0.7);
    }

    .logo-container {
        width: 255px;
        height: 142px;
        padding: var(--spacing-md);
    }

    .logo-container img {
        max-height: 112px;
        min-height: 75px;
        min-width: 120px;
    }

    .carousel-track {
        /* gap: calc(var(--spacing-xl) * 0.7); Removed */
        animation: scroll-left 30s linear infinite;
    }
}

@media (max-width: 1024px) {
    .clients-tagline {
        font-size: 1rem;
    }

    .clients-carousel {
        padding: calc(var(--spacing-xl) * 0.8) 0;
    }

    .client-logo {
        width: 240px;
        height: 135px;
        margin-right: calc(var(--spacing-xl) * 0.6);
    }

    .logo-container {
        width: 240px;
        height: 135px;
        padding: var(--spacing-md);
    }

    .logo-container img {
        max-height: 105px;
        min-height: 67px;
        min-width: 105px;
    }

    .carousel-track {
        /* gap: calc(var(--spacing-xl) * 0.6); Removed */
        animation: scroll-left 25s linear infinite;
    }
}

@media (max-width: 768px) {
    .clients-showcase {
        margin: var(--spacing-xl) 0;
    }

    .clients-intro {
        margin-bottom: var(--spacing-xl);
    }

    .clients-tagline {
        font-size: 0.95rem;
    }

    .clients-carousel {
        padding: calc(var(--spacing-xl) * 0.5) 0;
    }

    .carousel-wrapper {
        padding: 0 var(--spacing-md);
    }

    .carousel-track {
        /* gap: calc(var(--spacing-lg) * 0.5); Removed */
        animation: scroll-left 20s linear infinite;
    }

    .client-logo {
        width: 210px;
        height: 120px;
        margin-right: calc(var(--spacing-lg) * 0.5);
    }

    .logo-container {
        width: 210px;
        height: 120px;
        padding: var(--spacing-sm);
    }

    .logo-container img {
        max-height: 90px;
        min-height: 60px;
        min-width: 90px;
    }

    .client-logo:hover .logo-container {
        transform: none;
    }
}