/* ============================================
   SMART INNOV TECHNOLOGY - Techwix Style
   Light Mode | Blue Gradient | Clean Cards
   ============================================ */

:root {
    /* Techwix Color Palette */
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --accent: #00c6ff;
    --secondary: #6c757d;
    --dark: #1a1a2e;
    --darker: #0f0f1a;
    --light: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0066ff 0%, #00c6ff 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    --gradient-light: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    
    /* Shadows Techwix */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-primary: 0 10px 40px rgba(0,102,255,0.25);
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--gray-700);
    line-height: 1.6;
    background: var(--light);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); }

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--light);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-header.transparent {
    background: transparent;
    box-shadow: none;
}

.main-header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-brand {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 2px;
}

/* Navigation */
.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.main-nav a {
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.nav-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

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

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 16px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

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

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.dropdown-item i {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    color: var(--gray-700);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

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

.lang-dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.lang-dropdown a:hover,
.lang-dropdown a.active {
    background: var(--gray-50);
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(0,102,255,0.35);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(4px);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

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

.btn-white:hover {
    background: var(--gray-100);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

/* Hero Section Techwix Style */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: var(--gradient-primary);
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(80px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--accent);
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(60px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0,102,255,0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.75rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--dark);
}

.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 28px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 4px;
}

/* Hero Image/Graphic */
.hero-visual {
    position: relative;
}

.hero-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-floating-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-floating-card.card-1 {
    top: 20%;
    left: -30px;
    animation: float 3s ease-in-out infinite;
}

.hero-floating-card.card-2 {
    bottom: 20%;
    right: -20px;
    animation: float 3s ease-in-out infinite 0.5s;
}

.floating-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.floating-content h4 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.floating-content p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

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

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(0,102,255,0.08);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Feature Cards (4 cards row) */
.features-section {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--light);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.75rem;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    background: var(--gradient-primary);
    opacity: 0.2;
    border-radius: var(--radius-md);
    z-index: -1;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon::after {
    inset: -10px;
    opacity: 0.15;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.feature-link:hover {
    gap: 10px;
}

/* About Section Techwix Style */
.about-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-main img {
    width: 100%;
    height: auto;
    display: block;
}

.about-experience {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--gradient-primary);
    color: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-primary);
}

.about-experience .years {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.about-experience .text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content > p {
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-checklist {
    list-style: none;
    margin-bottom: 32px;
}

.about-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--gray-700);
}

.about-checklist i {
    width: 24px;
    height: 24px;
    background: rgba(0,198,255,0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.about-signature {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.signature-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: var(--shadow-md);
}

.signature-content h4 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.signature-content p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

.signature-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Counter Section */
.counter-section {
    background: var(--dark);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.03"><circle cx="30" cy="30" r="2"/></g></svg>');
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.counter-item {
    text-align: center;
    color: white;
}

.counter-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
    color: var(--accent);
    border: 1px solid rgba(255,255,255,0.1);
}

.counter-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.counter-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* Solutions Section */
.solutions-section {
    padding: var(--section-padding) 0;
    background: white;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-card {
    background: var(--light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: all 0.4s ease;
    position: relative;
}

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

.solution-image {
    position: relative;
    height: 220px;
    background: var(--gray-100);
    overflow: hidden;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-card:hover .solution-image img {
    transform: scale(1.1);
}

.solution-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.solution-card:hover .solution-overlay {
    opacity: 0.9;
}

.solution-overlay i {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    transform: scale(0);
    transition: transform 0.3s ease 0.1s;
}

.solution-card:hover .solution-overlay i {
    transform: scale(1);
}

.solution-content {
    padding: 28px;
}

.solution-content h3 {
    font-size: 1.375rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.solution-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.solution-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.solution-link:hover {
    gap: 12px;
}

/* Industries/Why Choose Us */
.why-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-content h2 {
    margin-bottom: 24px;
}

.why-content > p {
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.8;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-feature {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.why-feature:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.why-feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.why-feature-content h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.why-feature-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.why-image {
    position: relative;
}

.why-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* Progress Bars */
.progress-item {
    margin-bottom: 24px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.progress-header span {
    font-weight: 600;
    color: var(--dark);
}

.progress-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    width: 0;
    transition: width 1.5s ease;
}

/* Testimonials */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: white;
}

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

.testimonial-item {
    padding: 40px;
}

.testimonial-text {
    font-size: 1.5rem;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 32px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--gray-100);
}

.testimonial-author h4 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.testimonial-author p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

/* Partners Marquee */
.partners-section {
    padding: 60px 0;
    background: var(--gray-50);
    overflow: hidden;
}

.partners-marquee {
    display: flex;
    gap: 60px;
    animation: marquee 30s linear infinite;
}

.partner-logo {
    flex-shrink: 0;
    height: 40px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

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

/* Team Section */
.team-section {
    padding: var(--section-padding) 0;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
    position: relative;
}

.team-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 20px;
}

.team-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 12px;
    opacity: 0;
    transition: all 0.3s ease;
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.team-social a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
}

.team-card h4 {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.team-card p {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

/* Blog Section */
.blog-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 60px;
}

.blog-date .day {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.blog-date .month {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.blog-content {
    padding: 28px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    line-height: 1.4;
}

.blog-content h3 a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: var(--primary);
}

.blog-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: 32px;
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.2);
    padding: 16px 32px;
    border-radius: var(--radius-full);
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.cta-phone:hover {
    background: white;
    color: var(--primary);
}

.cta-phone i {
    width: 50px;
    height: 50px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.cta-phone:hover i {
    background: var(--primary);
    color: white;
}

/* Footer Techwix Style */
.main-footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 24px;
}

.footer-brand .logo-brand {
    color: white;
}

.footer-brand > p {
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.footer-links h4 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-links a::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--primary);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 8px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info-item i {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-info-item div strong {
    color: white;
    display: block;
    margin-bottom: 4px;
}

.contact-info-item div p,
.contact-info-item div a {
    color: var(--gray-400);
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* WhatsApp Float */
.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;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .main-nav,
    .header-actions .lang-switcher {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-grid,
    .about-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .solutions-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .features-grid,
    .solutions-grid,
    .blog-grid,
    .team-grid,
    .counter-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .hero-floating-card {
        display: none;
    }
    
    .about-experience {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 20px;
    }
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

/* RTL Adjustments */
body[dir="rtl"] .hero-floating-card.card-1 {
    left: auto;
    right: -30px;
}

body[dir="rtl"] .hero-floating-card.card-2 {
    right: auto;
    left: -20px;
}

body[dir="rtl"] .about-experience {
    left: auto;
    right: -30px;
}

body[dir="rtl"] .why-feature:hover {
    transform: translateX(-8px);
}

body[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 30px;
}
/* ============================================
   MOBILE MENU - Corrections
   ============================================ */

/* Par défaut, le menu mobile est caché */
.mobile-menu {
    display: none; /* Caché sur desktop */
    position: fixed;
    top: 80px; /* Hauteur du header */
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 999;
    padding: 40px 24px;
    transform: translateX(100%); /* Caché à droite */
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
}

/* Quand actif, on l'affiche */
.mobile-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

/* Bouton hamburger - caché par défaut sur desktop */
.mobile-toggle {
    display: none; /* Caché sur desktop */
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Animation hamburger → X quand actif */
.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation mobile */
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav a {
    display: block;
    padding: 16px 20px;
    color: var(--dark);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

/* Affichage mobile */
@media (max-width: 992px) {
    .mobile-toggle {
        display: flex; /* Visible sur mobile */
    }
    
    .mobile-menu {
        display: block; /* On passe en block pour permettre l'animation */
    }
    
    /* Empêcher le scroll du body quand menu ouvert */
    body.menu-open {
        overflow: hidden;
    }
}
/* ============================================
   HERO VISUAL - Avec photos Unsplash
   ============================================ */

.hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
    border-radius: var(--radius-xl);
    overflow: visible;
}

.hero-main-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    display: block;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,102,255,0.1) 0%, rgba(0,198,255,0.1) 100%);
    border-radius: var(--radius-xl);
    pointer-events: none;
}

/* FEATURE CARDS avec images */
.feature-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid var(--gray-100);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.1);
}

.feature-icon-overlay {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-primary);
    border: 4px solid white;
}

.feature-content {
    padding: 40px 24px 24px;
    text-align: center;
}

/* ABOUT IMAGES */
.about-images {
    position: relative;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 20px;
    align-items: end;
}

.about-image-main {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: visible;
}

.about-image-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    display: block;
}

.about-image-secondary {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-secondary img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* SOLUTION CARDS avec images */
.solution-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-card:hover .solution-image img {
    transform: scale(1.1);
}

.solution-icon-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

/* WHY IMAGE */
.why-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
    display: block;
}

.progress-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 30px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    margin: 20px;
    box-shadow: var(--shadow-lg);
}

/* TESTIMONIAL IMAGE */
.testimonial-image {
    margin-bottom: 30px;
}

.testimonial-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    box-shadow: var(--shadow-primary);
}
/* ============================================
   SOLUTION PAGE - Physical Security
   ============================================ */

/* Hero Solution */
.solution-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.solution-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.solution-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,102,255,0.9) 0%, rgba(0,198,255,0.8) 100%);
    mix-blend-mode: multiply;
}

.solution-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: white;
    padding: 120px 0;
}

.solution-hero-content .hero-label {
    background: rgba(255,255,255,0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.solution-hero-content .hero-title {
    color: white;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.solution-hero-content .hero-title span {
    color: rgba(255,255,255,0.9);
    -webkit-text-fill-color: rgba(255,255,255,0.9);
}

.solution-hero-content .hero-desc {
    color: rgba(255,255,255,0.9);
    font-size: 1.125rem;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

/* KPI Bar */
.kpi-bar {
    background: var(--dark);
    padding: 40px 0;
    position: relative;
    z-index: 3;
    margin-top: -40px;
}

.kpi-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.kpi-bar-item {
    text-align: center;
    color: white;
}

.kpi-bar-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
}

.kpi-bar-label {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Solution Features Alternating */
.solution-features {
    padding: var(--section-padding) 0;
    background: white;
}

.solution-features-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.solution-feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.solution-feature-card.image-right .feature-image-side {
    order: 2;
}

.feature-image-side {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.feature-image-side img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.feature-icon-float {
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-primary);
}

.feature-content-side h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.feature-content-side > p {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.feature-checklist {
    list-style: none;
}

.feature-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--gray-700);
    font-size: 1rem;
}

.feature-checklist i {
    color: var(--primary);
    font-size: 1.25rem;
}

/* Tech Stack Section */
.tech-stack-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tech-stack-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.tech-stack-content > p {
    color: var(--gray-600);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tech-feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.tech-feature-item > i {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tech-feature-item h4 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.tech-feature-item p {
    color: var(--gray-600);
    margin: 0;
}

.tech-stack-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.tech-stack-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.tech-stats-float {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.tech-stat .stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.tech-stat .stat-text {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Methodology Timeline */
.methodology-section {
    padding: var(--section-padding) 0;
    background: white;
}

.methodology-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.methodology-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--gray-200);
    z-index: 0;
}

.timeline-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.timeline-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-primary);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    margin: -50px auto 20px;
    position: relative;
}

.timeline-content h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Partners Light */
.partners-section-light {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.partner-card {
    background: white;
    padding: 40px 24px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.partner-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.partner-card h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.partner-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

/* Case Study */
.case-study-section {
    padding: var(--section-padding) 0;
    background: white;
}

.case-study-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.case-study-image {
    position: relative;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
    display: block;
}

.case-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: var(--shadow-primary);
}

.case-study-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-study-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.case-study-content > p {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.case-metrics {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
    padding: 24px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.case-metric {
    text-align: center;
}

.case-metric-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.case-metric-label {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
    .kpi-bar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .solution-feature-card,
    .solution-feature-card.image-right {
        grid-template-columns: 1fr;
    }
    
    .solution-feature-card.image-right .feature-image-side {
        order: -1;
    }
    
    .tech-stack-grid {
        grid-template-columns: 1fr;
    }
    
    .methodology-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .methodology-timeline::before {
        display: none;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-study-card {
        grid-template-columns: 1fr;
    }
    
    .case-study-image img {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .kpi-bar-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .methodology-timeline {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study-content {
        padding: 40px 24px;
    }
    
    .case-metrics {
        gap: 20px;
    }
}
/* ============================================
   HEADER COMPLET - Styles additionnels
   ============================================ */

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid var(--gray-100);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

.loader-text {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 2px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 1001;
    width: 0%;
    transition: width 0.1s;
}

/* Header transparent */
.main-header.transparent {
    background: transparent;
    box-shadow: none;
}

.main-header.transparent .logo-brand,
.main-header.transparent .nav-list a {
    color: white;
}

.main-header.transparent .nav-list a:hover,
.main-header.transparent .nav-list a.active {
    color: var(--accent);
}

.main-header.transparent .lang-btn {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: white;
}

.main-header.transparent .mobile-toggle .toggle-bar {
    background: white;
}

/* Navigation icons */
.nav-icon {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Dropdown enhanced */
.dropdown-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    font-weight: 600;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-50);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dropdown-title {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.dropdown-desc {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Language switcher enhanced */
.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
}

.lang-flag {
    font-size: 1.25rem;
}

.lang-name {
    flex: 1;
}

.lang-check {
    color: var(--primary);
    font-size: 0.875rem;
}

/* Mobile menu enhanced */
.mobile-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.active .mobile-menu-overlay {
    opacity: 1;
}

.mobile-menu-panel {
    position: absolute;
    top: 0;
    <?php echo $dir == 'rtl' ? 'right' : 'left'; ?>: 0;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: white;
    transform: translateX(<?php echo $dir == 'rtl' ? '100%' : '-100%'; ?>);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
}

.mobile-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--gray-100);
    color: var(--dark);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.mobile-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    color: var(--dark);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-link:hover,
.mobile-link.active {
    background: var(--gray-50);
    color: var(--primary);
}

.mobile-link > i {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

/* Mobile accordion */
.mobile-accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    border-radius: var(--radius-md);
}

.mobile-accordion.expanded .mobile-accordion-toggle {
    background: var(--gray-50);
    color: var(--primary);
}

.mobile-link-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.accordion-arrow {
    transition: transform 0.3s ease;
}

.mobile-accordion.expanded .accordion-arrow {
    transform: rotate(180deg);
}

.mobile-accordion-content {
    display: none;
    padding-left: 56px;
}

.mobile-sublink {
    display: flex;
    align-items: center;
    gap: 12px;
}