/**
 * Digiforce Solutions - Premium Design
 * Design unique et professionnel
 */

/* ============================
   CSS Variables
============================ */
:root {
    /* Primary Colors - Cyan/Turquoise Blue (from logo) */
    --primary-50: #e0f7fa;
    --primary-100: #b2ebf2;
    --primary-200: #80deea;
    --primary-300: #4dd0e1;
    --primary-400: #26c6da;
    --primary-500: #00bcd4;
    --primary-600: #00a8e8;
    --primary-700: #0097d4;
    --primary-800: #0288d1;
    --primary-900: #01579b;

    /* Secondary Colors - Lime/Yellow Green (from logo) */
    --secondary-50: #f1f8e9;
    --secondary-100: #dcedc8;
    --secondary-200: #c5e1a5;
    --secondary-300: #aed581;
    --secondary-400: #9ccc65;
    --secondary-500: #8bc34a;
    --secondary-600: #7cb342;
    --secondary-700: #689f38;
    --secondary-800: #558b2f;
    --secondary-900: #33691e;

    /* Accent Colors */
    --accent-cyan: #00bcd4;
    --accent-green: #7cb342;
    --accent-yellow: #ffc107;
    --accent-amber: #ffb300;

    /* Neutral Colors */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00a8e8 0%, #7cb342 100%);
    --gradient-dark: linear-gradient(135deg, #001a2e 0%, #002244 50%, #001a2e 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, #00a8e8 0px, transparent 50%),
                     radial-gradient(at 80% 0%, #00bcd4 0px, transparent 50%),
                     radial-gradient(at 0% 50%, #7cb342 0px, transparent 50%),
                     radial-gradient(at 80% 50%, #8bc34a 0px, transparent 50%),
                     radial-gradient(at 0% 100%, #00a8e8 0px, transparent 50%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px rgba(0, 168, 232, 0.25);
    --shadow-glow-sm: 0 0 20px rgba(0, 168, 232, 0.2);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

a {
    color: var(--primary-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-700);
}

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

::selection {
    background: var(--primary-500);
    color: #fff;
}

/* ============================
   Utilities
============================ */
.section-padding {
    padding: 7rem 0;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--secondary-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-light {
    background-color: var(--gray-50) !important;
}

.bg-dark {
    background-color: var(--gray-900) !important;
}

/* ============================
   Buttons - Premium Style
============================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.45);
    color: #fff;
}

.btn-outline-secondary {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
    box-shadow: none;
}

.btn-outline-secondary:hover {
    background: var(--gray-900);
    border-color: var(--gray-900);
    color: #fff;
}

.btn-light {
    background: #fff;
    color: var(--gray-900);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-light:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    color: var(--gray-900);
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1rem;
}

.btn-nav {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* ============================
   Section Header - Premium
============================ */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    color: var(--primary-700);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
    border: 1px solid var(--primary-200);
}

.section-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    margin-bottom: 1.25rem;
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================
   Navigation - Glass Effect
============================ */
.navbar {
    padding: 0.1rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 90px;
    width: auto;
}

.logo-text {
    font-size: 1.625rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.logo-digi {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-force {
    color: var(--gray-800);
}

.nav-link {
    color: var(--gray-600);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-600);
}

.nav-link.active {
    font-weight: 600;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background: var(--gray-100);
    border-radius: var(--radius-md);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23334155' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================
   Page Header - Premium
============================ */
.page-header {
    position: relative;
    background: var(--gradient-dark);
    padding: 10rem 0 5rem;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.4;
    filter: blur(100px);
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, #fff, transparent);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 800;
}

.page-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================
   Hero Page - Premium
============================ */
.hero-page {
    position: relative;
    background: linear-gradient(180deg, var(--gray-50) 0%, #fff 100%);
    padding: 10rem 0 6rem;
    overflow: hidden;
}

.hero-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-page::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    color: var(--gray-700);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.badge-icon {
    color: var(--accent-amber);
    font-size: 1.125rem;
}

.hero-title {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    max-width: 540px;
    line-height: 1.8;
}

.hero-subtitle strong {
    color: var(--gray-900);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 4rem;
}

.stat-item {
    text-align: left;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

.hero-stats .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stats .stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
    font-weight: 500;
}

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

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

.hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 450px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
    border-radius: var(--radius-2xl);
    border: 2px dashed var(--gray-300);
}

.hero-placeholder i {
    font-size: 5rem;
    color: var(--primary-300);
}

.min-vh-75 {
    min-height: 75vh;
}

/* ============================
   Service Card - Premium Glass
============================ */
.service-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    height: 100%;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.service-card:hover {
    box-shadow: 0 20px 40px -12px rgba(0,0,0,0.12);
    border-color: var(--primary-100);
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    position: relative;
}

.service-icon i {
    font-size: 1.875rem;
    color: var(--primary-600);
}

.service-title {
    font-size: 1.375rem;
    margin-bottom: 0.875rem;
    font-weight: 700;
}

.service-description {
    color: var(--gray-500);
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.service-features li i {
    color: var(--accent-cyan);
    font-size: 1rem;
}

/* ============================
   Tech Card - Premium
============================ */
.tech-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
    text-align: center;
}

.tech-card:hover {
    border-color: var(--primary-200);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.08);
}

.tech-card i {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    display: block;
}

.tech-card span {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9375rem;
}

/* ============================
   Project Card - Premium
============================ */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.btn-filter {
    padding: 0.625rem 1.5rem;
    background: #fff;
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.btn-filter:hover {
    border-color: var(--primary-300);
    color: var(--primary-600);
}

.btn-filter.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

.project-card,
.project-card-full {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all var(--transition-base);
    height: 100%;
    border: 1px solid var(--gray-100);
}

.project-card:hover,
.project-card-full:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-100);
}

.project-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.project-card-full .project-image {
    aspect-ratio: 16/9;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: transform var(--transition-base);
}

.project-card:hover .project-image img,
.project-card-full:hover .project-image img {
    transform: scale(1.03);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.85) 0%, rgba(124, 179, 66, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.project-card:hover .project-overlay,
.project-card-full:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    color: var(--primary-600);
    font-size: 1.25rem;
    transition: all var(--transition-fast);
}

.project-link:hover {
    background: var(--gray-900);
    color: #fff;
}

.project-content {
    padding: 1.75rem;
}

.project-category {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    color: var(--primary-700);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.project-description {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.375rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

/* Project filter animation */
.project-item {
    transition: opacity 0.3s ease;
}

.project-item.hidden {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

/* ============================
   About Section - Premium
============================ */
.about-image-wrapper {
    position: relative;
}

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

.about-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
    border-radius: var(--radius-2xl);
    border: 2px dashed var(--gray-300);
}

.about-placeholder i {
    font-size: 6rem;
    color: var(--gray-300);
}

.experience-badge {
    position: absolute;
    bottom: -25px;
    right: -25px;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: #fff;
    box-shadow: var(--shadow-glow);
    border: 5px solid #fff;
}

.exp-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.8125rem;
    text-align: center;
    opacity: 0.9;
    font-weight: 500;
}

.about-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: background var(--transition-fast);
}

.about-feature:hover {
    background: #fff;
}

.about-feature .feature-icon {
    flex-shrink: 0;
}

.about-feature .feature-icon i {
    font-size: 1.5rem;
    color: var(--primary-500);
}

.about-feature h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.about-feature p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.6;
}

/* Stat Block */
.stat-block {
    padding: 2rem;
    text-align: center;
}

.stat-block .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
    line-height: 1;
}

.stat-block .stat-suffix {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-block .stat-label {
    display: block;
    margin-top: 0.75rem;
    color: var(--gray-600);
    font-size: 0.9375rem;
    font-weight: 500;
}

/* ============================
   Contact Section - Premium
============================ */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-info-item:hover {
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.contact-info-item .contact-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.contact-info-item .contact-icon i {
    font-size: 1.25rem;
    color: #fff;
}

.contact-info-item .contact-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-info-item a,
.contact-info-item span {
    color: var(--gray-800);
    font-size: 1rem;
    font-weight: 500;
}

.contact-info-item a:hover {
    color: var(--primary-600);
}

/* Social Link Light */
.social-link-light {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    color: var(--gray-600);
    font-size: 1.25rem;
    transition: all var(--transition-base);
}

.social-link-light:hover {
    background: var(--gradient-primary);
    color: #fff;
}

/* Contact Form Card */
.contact-form-card {
    background: #fff;
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    border: 1px solid var(--gray-100);
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.625rem;
    font-size: 0.9375rem;
}

.form-control,
.form-select {
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--gray-50);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background: #fff;
}

.form-control::placeholder {
    color: var(--gray-400);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.form-message {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    font-weight: 500;
}

.form-message.success {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ============================
   CTA Section - Premium
============================ */
.cta-section {
    position: relative;
    background: var(--gradient-dark);
    padding: 6rem 0;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.3;
    filter: blur(80px);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

/* ============================
   Footer - Premium Dark
============================ */
.footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-500), transparent);
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 1.25rem;
}

.footer-logo img {
    height: 120px;
}

.footer-logo .logo-text {
    font-size: 1.625rem;
    font-weight: 800;
}

.footer-logo .logo-digi {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo .logo-force {
    color: #fff;
}

.footer-description {
    font-size: 0.9375rem;
    margin-bottom: 1.75rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social .social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: #fff;
    font-size: 1.125rem;
    transition: all var(--transition-base);
}

.footer-social .social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
}

.footer-title {
    color: #fff;
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
}

.footer-contact i {
    color: var(--primary-400);
    margin-top: 0.25rem;
    font-size: 1rem;
}

.footer-contact a,
.footer-contact span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
    padding: 1.75rem 0;
}

.copyright {
    font-size: 0.875rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: #fff;
}

/* ============================
   Scroll to Top - Premium
============================ */
.btn-scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    z-index: 1000;
}

.btn-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-scroll-top:hover {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

/* ============================
   Responsive Styles
============================ */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 5rem 0;
    }

    .hero-page {
        padding: 8rem 0 4rem;
    }

    .page-header {
        padding: 8rem 0 4rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 2.5rem;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .hero-stats .stat-number {
        font-size: 2.5rem;
    }

    .navbar-collapse {
        background: #fff;
        margin-top: 1rem;
        padding: 1.5rem;
        border-radius: var(--radius-xl);
        box-shadow: 0 25px 50px rgba(0,0,0,0.15);
        border: 1px solid var(--gray-100);
    }

    .navbar-collapse .nav-link {
        padding: 0.875rem 1rem !important;
    }

    .navbar-collapse .nav-link::after {
        display: none;
    }

    .navbar-collapse .btn-nav {
        width: 100%;
        margin-top: 1rem;
    }

    .experience-badge {
        width: 120px;
        height: 120px;
        bottom: -15px;
        right: -15px;
    }

    .exp-number {
        font-size: 2.5rem;
    }

    .contact-form-card {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 4rem 0;
    }

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

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .cta-section {
        padding: 4rem 0;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
        margin-top: 1rem;
    }

    .stat-block .stat-number {
        font-size: 2.5rem;
    }
}

/* ============================
   Animation Classes
============================ */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* ============================
   Hero Trust Elements
============================ */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.trust-item i {
    color: var(--primary-500);
    font-size: 1rem;
}

/* ============================
   Pain Cards - Home
============================ */
.pain-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--gray-100);
    transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.pain-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: var(--primary-100);
}

.pain-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 1.25rem;
}

.pain-icon i {
    font-size: 1.5rem;
    color: #dc2626;
}

.pain-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.pain-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.pain-solution {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    border-radius: var(--radius-md);
    color: var(--primary-700);
    font-weight: 600;
    font-size: 0.875rem;
}

.pain-solution i {
    font-size: 1rem;
}

/* ============================
   Step Cards - Home
============================ */
.step-card {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.step-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.step-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================
   Process Cards - Votre Projet
============================ */
.process-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--gray-100);
    position: relative;
    display: flex;
    gap: 1.5rem;
}

.process-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: var(--radius-lg);
}

.process-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.process-content p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.process-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.process-list li i {
    color: var(--primary-500);
    font-size: 1rem;
}

/* ============================
   Expertise Cards
============================ */
.expertise-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--gray-100);
    transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.expertise-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: var(--primary-100);
}

.expertise-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 1.25rem;
}

.expertise-icon i {
    font-size: 1.5rem;
    color: var(--primary-600);
}

.expertise-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.expertise-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.expertise-examples {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--gray-100);
    padding-top: 1rem;
}

.expertise-examples li {
    padding: 0.25rem 0;
    color: var(--gray-500);
    font-size: 0.8125rem;
    position: relative;
    padding-left: 1rem;
}

.expertise-examples li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary-400);
    border-radius: 50%;
}

/* ============================
   Why Features
============================ */
.why-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.why-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.why-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.why-icon i {
    font-size: 1.25rem;
    color: #fff;
}

.why-feature h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

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

/* ============================
   Guarantee Card
============================ */
.guarantee-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    color: #fff;
    text-align: center;
}

.guarantee-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.guarantee-icon i {
    font-size: 2.5rem;
    color: #fff;
}

.guarantee-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.guarantee-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.guarantee-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    font-size: 0.9375rem;
}

.guarantee-list li:last-child {
    border-bottom: none;
}

.guarantee-list li i {
    color: rgba(255,255,255,0.9);
    font-size: 1.125rem;
}

/* ============================
   CTA Buttons
============================ */
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

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

.btn-outline-light:hover {
    background: #fff;
    border-color: #fff;
    color: var(--gray-900);
}

/* Responsive for process cards */
@media (max-width: 767.98px) {
    .process-card {
        flex-direction: column;
        text-align: center;
    }

    .process-number {
        margin: 0 auto;
    }

    .process-list li {
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* ============================
   Image Modal / Lightbox
============================ */
.image-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.image-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.image-modal-overlay.active .image-modal-content {
    transform: scale(1);
}

.image-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    display: block;
    border: 2px solid #fff;
    border-radius: var(--radius-lg);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 10px 20px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.image-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Project image click indicator - Magnifying glass */
.project-image {
    cursor: pointer;
}

.project-image::after {
    content: '\F52A';
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    color: var(--primary-600);
    font-size: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.project-card:hover .project-image::after,
.project-card-full:hover .project-image::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ============================
   Project Form
============================ */
.project-form-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--neutral-200);
}

.form-section:last-of-type {
    margin-bottom: 2rem;
    padding-bottom: 0;
    border-bottom: none;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-800);
}

.form-section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    color: #fff;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
}

.form-label {
    font-weight: 500;
    color: var(--neutral-700);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.15);
}

.form-control::placeholder {
    color: var(--neutral-400);
}

/* Project Type Grid */
.project-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.project-type-option {
    position: relative;
}

.project-type-option input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.project-type-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1rem;
    background: var(--neutral-50);
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.project-type-option label i {
    font-size: 1.75rem;
    color: var(--primary-500);
}

.project-type-option label span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--neutral-700);
}

.project-type-option input:checked + label {
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.1), rgba(124, 179, 66, 0.1));
    border-color: var(--primary-500);
}

.project-type-option input:checked + label i {
    color: var(--primary-600);
}

.project-type-option:hover label {
    border-color: var(--primary-400);
    transform: translateY(-2px);
}

/* Form Submit */
.form-submit {
    padding-top: 1.5rem;
}

.form-note {
    font-size: 0.85rem;
    color: var(--neutral-500);
}

.form-note i {
    color: var(--secondary-500);
}

/* Form Message */
.form-message {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
}

.form-message.success {
    background: rgba(124, 179, 66, 0.1);
    color: var(--secondary-600);
    border: 1px solid rgba(124, 179, 66, 0.3);
}

.form-message.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .project-form-card {
        padding: 1.5rem;
    }

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

    .form-section-title {
        font-size: 1.1rem;
    }

    .form-section-number {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}

/* ============================
   Language Selector
============================ */
.lang-selector {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.lang-selector:hover {
    background: rgba(0, 168, 232, 0.1);
}

.navbar .dropdown-menu {
    min-width: 140px;
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 0.5rem;
}

.navbar .dropdown-item {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.navbar .dropdown-item:hover {
    background: rgba(0, 168, 232, 0.1);
    color: var(--primary-600);
}

.navbar .dropdown-item.active {
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    color: #fff;
}

@media (max-width: 991px) {
    .lang-selector {
        justify-content: center;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--neutral-200);
    }

    .navbar .dropdown-menu {
        text-align: center;
        border: 1px solid var(--neutral-200);
        box-shadow: none;
    }
}

