/* ============================================
   Africa Technologie Nagaï - Modern Startup Design
   Gradient-First, Glassmorphism, Bold Typography
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================
   Modern Color System with Gradients
   ============================================ */
:root {
    /* Base Colors */
    --primary: #3B50A2;
    --primary-light: #5166BA;
    --primary-dark: #2C3D7C;
    --secondary: #2C3E50;
    --accent: #F4A522;
    --accent-light: #FFC857;
    --accent-dark: #E09616;

    /* Neutrals */
    --white: #FFFFFF;
    --black: #0F1419;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Gradient Definitions - Brand Colors Only */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, #1a252f 100%);
    --gradient-accent: linear-gradient(135deg, #FFC857 0%, #F4A522 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(135deg, var(--secondary) 0%, var(--gray-900) 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(244, 165, 34, 0.3) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, rgba(59, 80, 162, 0.2) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, rgba(244, 165, 34, 0.2) 0px, transparent 50%);
}

/* Dark Mode Colors */
[data-theme="dark"] {
    --white: #0F1419;
    --black: #FFFFFF;
    --gray-50: #1A1F2E;
    --gray-100: #242938;
    --gray-200: #2E3446;
    --gray-300: #4B5563;
    --gray-400: #9CA3AF;
    --gray-600: #D1D5DB;
    --gray-700: #E5E7EB;
    --gray-800: #F3F4F6;
    --gray-900: #F9FAFB;
}

/* ============================================
   Dark Mode - Comprehensive Overrides
   ============================================ */

/* ── Global Backgrounds ── */
[data-theme="dark"] body,
[data-theme="dark"] .bg-white {
    background-color: #0F1419 !important;
}

[data-theme="dark"] .bg-gray-50 {
    background-color: #1A1F2E !important;
}

/* ── Global Text Colors ── */
[data-theme="dark"] .text-gray-900 {
    color: #F9FAFB !important;
}

[data-theme="dark"] .text-gray-800 {
    color: #F3F4F6 !important;
}

[data-theme="dark"] .text-gray-700 {
    color: #E5E7EB !important;
}

[data-theme="dark"] .text-gray-600 {
    color: #D1D5DB !important;
}

[data-theme="dark"] .text-gray-500 {
    color: #9CA3AF !important;
}

[data-theme="dark"] .text-gray-400 {
    color: #9CA3AF !important;
}

/* ── Border Colors ── */
[data-theme="dark"] .border-gray-100 {
    border-color: #242938 !important;
}

[data-theme="dark"] .border-gray-200 {
    border-color: #2E3446 !important;
}

[data-theme="dark"] .border-gray-700 {
    border-color: #2E3446 !important;
}

/* ── Navigation ── */
[data-theme="dark"] nav {
    background: rgba(15, 20, 25, 0.9) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] nav.fixed {
    background: rgba(15, 20, 25, 0.85) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] nav h1 {
    color: #F9FAFB !important;
}

[data-theme="dark"] nav p {
    color: #9CA3AF !important;
}

[data-theme="dark"] .nav-link {
    color: #D1D5DB;
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    color: var(--accent);
}

[data-theme="dark"] #mobile-menu-btn {
    color: #F9FAFB;
}

[data-theme="dark"] #mobile-menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] #mobile-menu-btn i {
    color: #F9FAFB !important;
}

/* ── Cards ── */
[data-theme="dark"] .card {
    background: rgba(26, 31, 46, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .card-glass {
    background: rgba(26, 31, 46, 0.7) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

[data-theme="dark"] .card h3,
[data-theme="dark"] .card h4 {
    color: #F9FAFB !important;
}

[data-theme="dark"] .card p {
    color: #D1D5DB !important;
}

/* ── Service Cards (services page) ── */
[data-theme="dark"] .service-card {
    background: #1A1F2E !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .service-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .service-card h3 {
    color: #F9FAFB !important;
}

[data-theme="dark"] .service-card p {
    color: #D1D5DB !important;
}

/* ── Modals ── */
[data-theme="dark"] .modal-content {
    background: #1A1F2E !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .modal-header h3,
[data-theme="dark"] #modal-title {
    color: #F9FAFB !important;
}

[data-theme="dark"] .modal-header button {
    color: #9CA3AF !important;
}

[data-theme="dark"] .modal-header button:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #F9FAFB !important;
}

[data-theme="dark"] .modal-body {
    color: #D1D5DB !important;
}

[data-theme="dark"] .modal-body p {
    color: #D1D5DB !important;
}

[data-theme="dark"] .modal-body .bg-gray-50 {
    background: rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .modal-body h4 {
    color: #F9FAFB !important;
}

[data-theme="dark"] .modal-body li span {
    color: #D1D5DB !important;
}

[data-theme="dark"] .modal-footer {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}

/* ── Forms & Inputs ── */
[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea,
[data-theme="dark"] .form-select,
[data-theme="dark"] input[type="search"],
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="tel"],
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: #242938 !important;
    border-color: #2E3446 !important;
    color: #F9FAFB !important;
}

[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-textarea:focus,
[data-theme="dark"] .form-select:focus,
[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(59, 80, 162, 0.2) !important;
}

[data-theme="dark"] .form-input::placeholder,
[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: #6B7280 !important;
}

[data-theme="dark"] .form-label,
[data-theme="dark"] label {
    color: #E5E7EB !important;
}

/* ── Filter Buttons (services page) ── */
[data-theme="dark"] .filter-btn {
    background: #242938 !important;
    color: #D1D5DB !important;
    border-color: #2E3446 !important;
}

[data-theme="dark"] .filter-btn:hover {
    border-color: var(--primary) !important;
    color: var(--primary-light) !important;
}

[data-theme="dark"] .filter-btn.active {
    background: var(--primary) !important;
    color: #FFFFFF !important;
    border-color: var(--primary) !important;
}

/* ── Search Section (services page) ── */
[data-theme="dark"] .sticky {
    background-color: #141820 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

/* ── Badges ── */
[data-theme="dark"] .badge {
    background: rgba(244, 165, 34, 0.15);
    border-color: rgba(244, 165, 34, 0.25);
}

/* ── Footer ── */
[data-theme="dark"] footer {
    background-color: #141820 !important;
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] footer h3 {
    color: #F9FAFB !important;
}

[data-theme="dark"] footer p,
[data-theme="dark"] footer span,
[data-theme="dark"] footer li {
    color: #9CA3AF !important;
}

[data-theme="dark"] footer a {
    color: #9CA3AF !important;
}

[data-theme="dark"] footer a:hover {
    color: var(--accent) !important;
}

[data-theme="dark"] footer .border-t,
[data-theme="dark"] footer .border-gray-200 {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ── Homepage Sections ── */
[data-theme="dark"] .bg-white section,
[data-theme="dark"] section.bg-white {
    background-color: #0F1419 !important;
}

[data-theme="dark"] section.bg-gray-50 {
    background-color: #1A1F2E !important;
}

/* Impact section feature cards */
[data-theme="dark"] .flex.items-start.gap-4.p-4.bg-white {
    background: #242938 !important;
}

[data-theme="dark"] .flex.items-start.gap-4.p-4 h4 {
    color: #F9FAFB !important;
}

[data-theme="dark"] .flex.items-start.gap-4.p-4 p {
    color: #D1D5DB !important;
}

/* Quick links section cards */
[data-theme="dark"] a.card h3 {
    color: #F9FAFB !important;
}

[data-theme="dark"] a.card p {
    color: #D1D5DB !important;
}

[data-theme="dark"] a.card.border-2.border-accent {
    border-color: var(--accent) !important;
}

/* Section headings */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: #F9FAFB;
}

/* Partner highlight cards */
[data-theme="dark"] .flex.items-center.gap-6.bg-gray-50 {
    background: #1A1F2E !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .flex.items-center.gap-6 .bg-white {
    background: #242938 !important;
}

[data-theme="dark"] .flex.items-center.gap-6 h4 {
    color: #F9FAFB !important;
}

[data-theme="dark"] .flex.items-center.gap-6 p {
    color: #9CA3AF !important;
}

/* ── Rounded containers with bg-white ── */
[data-theme="dark"] .rounded-xl.bg-white,
[data-theme="dark"] .rounded-2xl.bg-white,
[data-theme="dark"] .rounded-3xl.bg-white,
[data-theme="dark"] div.bg-white {
    background-color: #1A1F2E !important;
}

/* ── Shadow cards in dark mode ── */
[data-theme="dark"] .shadow-sm {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .shadow-md {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .shadow-lg {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .shadow-xl {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .shadow-2xl {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
}

/* ── Glassmorphism hero card in dark mode ── */
[data-theme="dark"] .bg-white.bg-opacity-20,
[data-theme="dark"] .bg-white.bg-opacity-10 {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* ── Hover states for gray backgrounds ── */
[data-theme="dark"] .hover\:bg-gray-100:hover {
    background-color: #2E3446 !important;
}

/* ── Arrow containers in service cards ── */
[data-theme="dark"] .bg-gray-100 {
    background-color: #242938 !important;
}

/* ── Scroll to top & floating elements ── */
[data-theme="dark"] #scrollToTop {
    background: var(--accent) !important;
}

/* ── Page loader adapts automatically (uses gradient bg, fine as-is) ── */

/* ── All Icons White in Dark Mode ── */
[data-theme="dark"] i.fas,
[data-theme="dark"] i.far,
[data-theme="dark"] i.fab {
    color: #FFFFFF !important;
}

/* ── Quote & Director Section ── */
[data-theme="dark"] .text-secondary {
    color: #E5E7EB !important;
}

[data-theme="dark"] .bg-gradient-to-br.from-accent\/5 {
    background: rgba(255, 255, 255, 0.05) !important;
}

/* ── Smooth transition for all dark mode changes ── */
[data-theme="dark"] *,
[data-theme="dark"] *::before,
[data-theme="dark"] *::after {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--white);
    color: var(--gray-900);
    transition: background 0.3s ease, color 0.3s ease;
}

body.loading {
    overflow: hidden;
}

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

p {
    line-height: 1.7;
    font-size: 1.125rem;
}

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

/* ============================================
   Navigation - Glassmorphism Style
   ============================================ */
nav,
header {
    z-index: 9999 !important;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.fixed {
    position: fixed !important;
    z-index: 9999 !important;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

nav.shadow-lg {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
}

main {
    position: relative;
    z-index: 1;
}

/* ============================================
   Custom Scrollbar - Modern Minimal
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--accent-dark) 100%);
}

/* ============================================
   Modern Animation Keyframes
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(244, 165, 34, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(244, 165, 34, 0.6);
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes blob {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-up-delay-1 {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.fade-in-up-delay-2 {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.fade-in-up-delay-3 {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.fade-in-up-delay-4 {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.fade-in-up-delay-5 {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.fade-in-up-delay-6 {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
}

/* Fade in scroll - visible class */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Logo Styles - Modern Touch
   ============================================ */
.logo-img {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(59, 80, 162, 0.15);
}

.logo-img:hover {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 8px 24px rgba(59, 80, 162, 0.25);
}

/* ============================================
   Navigation Links - Modern Underline
   ============================================ */
.nav-link {
    position: relative;
    color: var(--gray-700);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ============================================
   Modern Cards - Glassmorphism & Depth
   ============================================ */
.card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    box-shadow: 0 20px 60px rgba(59, 80, 162, 0.15);
    transform: translateY(-12px);
}

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

.card-primary {
    border-left: 4px solid var(--primary);
}

.card-accent {
    border-left: 4px solid var(--accent);
}

/* Glass Card Variant */
.card-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ============================================
   Icon Boxes - Modern 3D Style
   ============================================ */
.icon-box {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.icon-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.icon-box.primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(59, 80, 162, 0.3);
}

.icon-box.secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a252f 100%);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.3);
}

.icon-box.accent {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(244, 165, 34, 0.4);
}

.icon-box:hover {
    transform: scale(1.15) rotate(-5deg);
}

.icon-box:hover::before {
    opacity: 0.6;
}

/* ============================================
   Modern Form Styles
   ============================================ */
.form-group {
    margin-bottom: 1.75rem;
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.95rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 80, 162, 0.1);
    transform: translateY(-2px);
}

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

.form-error {
    color: #EF4444;
    font-size: 14px;
    margin-top: 0.5rem;
}

/* ============================================
   Modern Button System
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: var(--gradient-accent);
    background-size: 200% 200%;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(244, 165, 34, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(244, 165, 34, 0.45);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    background-size: 200% 200%;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(59, 80, 162, 0.35);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(59, 80, 162, 0.45);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(59, 80, 162, 0.3);
}

/* Large Button Variant */
.btn-lg {
    padding: 20px 40px;
    font-size: 1.125rem;
    border-radius: 16px;
}

/* ============================================
   Section Styles - Modern Spacing
   ============================================ */
.section-padding {
    padding-top: 120px;
    padding-bottom: 120px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1.35rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }

.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-accent { background-color: var(--accent); }
.bg-gray-50 { background-color: var(--gray-50); }

.bg-gradient-primary { background: var(--gradient-primary); }
.bg-gradient-mesh { background: var(--gradient-mesh); }

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

/* Gradient Background with Animation */
.bg-animated-gradient {
    background: linear-gradient(-45deg, var(--primary), var(--primary-dark), var(--accent), var(--secondary));
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
}

/* Dark Section */
.section-dark {
    background: var(--gray-900);
    color: var(--white);
}

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

/* ============================================
   Stats Counter Style
   ============================================ */
.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--gray-300);
    margin-top: 0.5rem;
}

/* ============================================
   Badge/Pill Components
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(244, 165, 34, 0.1);
    border: 1px solid rgba(244, 165, 34, 0.2);
    border-radius: 999px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
    gap: 8px;
}

/* ============================================
   Responsive Design - Mobile First
   ============================================ */
@media (max-width: 768px) {
    .section-padding {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .section-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }

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

    .btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

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

    .card {
        padding: 2rem;
        border-radius: 20px;
    }

    .icon-box {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

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

@media (max-width: 480px) {
    .section-title {
        font-size: 1.875rem;
    }

    .card {
        padding: 1.5rem;
    }
}

/* ============================================
   Page Loader - Modern Gradient
   ============================================ */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--gray-900) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo-container {
    position: relative;
    margin-bottom: 2rem;
}

.loader-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: logoFloat 3s ease-in-out infinite;
}

.loader-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border: 3px solid transparent;
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: ringRotate 1.5s linear infinite;
}

.loader-ring:nth-child(2) {
    width: 200px;
    height: 200px;
    border-top-color: rgba(255, 255, 255, 0.4);
    animation-duration: 2s;
    animation-direction: reverse;
}

.loader-text {
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    animation: textPulse 1.5s ease-in-out infinite;
}

.loader-subtext {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.loader-dots {
    display: inline-flex;
    gap: 6px;
    margin-left: 4px;
}

.loader-dots span {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: dotBounce 1.4s ease-in-out infinite;
}

.loader-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

@keyframes ringRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes textPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

@keyframes dotBounce {
    0%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
}

.loader-progress {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.loader-progress-bar {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 10px;
    animation: progressLoad 2s ease-in-out forwards;
    box-shadow: 0 0 20px var(--accent);
}

@keyframes progressLoad {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .loader-logo {
        width: 120px;
        height: 120px;
    }

    .loader-ring {
        width: 150px;
        height: 150px;
    }

    .loader-ring:nth-child(2) {
        width: 170px;
        height: 170px;
    }

    .loader-text {
        font-size: 1.5rem;
    }

    .loader-subtext {
        font-size: 0.875rem;
    }

    .loader-progress {
        width: 250px;
    }
}

/* ============================================
   Modal Styles - Modernized
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.modal-overlay.modal-show {
    opacity: 1;
}

.modal-overlay.modal-hide {
    opacity: 0;
}

.modal-content {
    background: var(--white);
    border-radius: 24px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-show .modal-content {
    transform: scale(1);
}

.modal-hide .modal-content {
    transform: scale(0.9);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--gray-100);
}

.modal-header button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.modal-header button:hover {
    background-color: var(--gray-100);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
    color: var(--gray-700);
}

.modal-body p {
    margin-bottom: 1rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    border-top: 1px solid var(--gray-100);
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* ============================================
   WhatsApp Floating Button - Enhanced
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    animation: whatsapp-pulse 3s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.7);
}

.whatsapp-float i {
    animation: whatsapp-ring 3s ease-in-out infinite;
}

@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 8px 36px rgba(37, 211, 102, 0.8), 0 0 0 12px rgba(37, 211, 102, 0.1);
    }
}

@keyframes whatsapp-ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-15deg);
    }
    20%, 40% {
        transform: rotate(15deg);
    }
    50% {
        transform: rotate(0deg);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 32px;
    }
}

/* ============================================
   Dark Mode Toggle Button
   ============================================ */
.dark-mode-toggle {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: var(--gray-900);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.dark-mode-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .dark-mode-toggle {
    background: var(--accent);
    color: var(--gray-900);
}

@media (max-width: 768px) {
    .dark-mode-toggle {
        bottom: 90px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
}

/* ============================================
   Hero Background Image Slider - No Crop Version
   ============================================ */
.hero-slider {
    position: relative;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: var(--primary);
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-bg-slide.active {
    opacity: 1;
}

/* Blurred background layer */
.hero-bg-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(40px);
    transform: scale(1.1);
    opacity: 0.6;
}

.hero-bg-slide img {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

/* Portrait images - contain to show full image without cropping */
.hero-bg-slide[data-orientation="portrait"] img {
    object-fit: contain;
    object-position: center center;
    animation: kenBurnsContain 20s ease-out infinite;
}

/* Landscape images - cover for full width */
.hero-bg-slide[data-orientation="landscape"] img {
    object-fit: cover;
    object-position: center center;
    animation: kenBurns 20s ease-out infinite;
}

/* Ken Burns effect for cover images */
@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}

/* Ken Burns effect for contain images (smaller zoom) */
@keyframes kenBurnsContain {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* ── Static hero background with Ken Burns pan animation ── */
.hero-static-bg {
    animation: heroKenBurnsPan 25s ease-in-out infinite;
    will-change: transform;
}

@keyframes heroKenBurnsPan {
    0% {
        transform: scale(1) translate(0, 0);
    }
    25% {
        transform: scale(1.06) translate(-0.5%, -0.8%);
    }
    50% {
        transform: scale(1.1) translate(0.3%, -0.5%);
    }
    75% {
        transform: scale(1.06) translate(0.5%, 0.3%);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

/* Lighter overlay gradient for better image visibility */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(59, 80, 162, 0.72) 0%,
        rgba(44, 62, 80, 0.68) 50%,
        rgba(59, 80, 162, 0.72) 100%
    );
    z-index: 1;
}

/* Subtle dark overlay for text contrast */
.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    /* Keep contain for portrait on mobile */
    .hero-bg-slide[data-orientation="portrait"] img {
        object-fit: contain;
    }

    /* Landscape can cover on mobile too */
    .hero-bg-slide[data-orientation="landscape"] img {
        object-fit: cover;
    }

    /* Slightly stronger overlay on mobile for better text readability */
    .hero-overlay {
        background: linear-gradient(
            135deg,
            rgba(59, 80, 162, 0.78) 0%,
            rgba(44, 62, 80, 0.73) 50%,
            rgba(59, 80, 162, 0.78) 100%
        );
    }

    .hero-overlay::before {
        background: rgba(0, 0, 0, 0.28);
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-bg-slide[data-orientation="portrait"] img {
        object-fit: contain;
    }
}

/* ============================================
   Collaboration Slider - "Ils nous ont fait confiance"
   ============================================ */

.collab-slider-wrapper {
    position: relative;
    padding: 20px 0;
}

.collab-slider-track {
    display: flex;
}

.collab-slide,
.collab-slide-clone {
    flex-shrink: 0;
    padding: 0 12px;
}

.collab-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Square cards */
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    background: var(--white);
    border: 2px solid var(--gray-200);
}

.collab-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 80, 162, 0.2);
    border-color: var(--accent);
}

.collab-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

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

/* Navigation Arrows */
.collab-arrow {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary);
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.collab-arrow:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 80, 162, 0.3);
}

.collab-arrow:active {
    transform: scale(0.95);
}

/* Dots Indicator */
.collab-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.collab-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.collab-dot:hover {
    background: var(--primary);
    transform: scale(1.2);
}

.collab-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 6px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .collab-slide,
    .collab-slide-clone {
        width: 100%;
        padding: 0 8px;
    }

    .collab-card {
        border-radius: 16px;
    }

    .collab-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .collab-arrow-left {
        transform: translateX(-8px) translateY(-50%);
    }

    .collab-arrow-right {
        transform: translateX(8px) translateY(-50%);
    }

    .collab-dots {
        margin-top: 20px;
    }

    .collab-dot {
        width: 10px;
        height: 10px;
    }

    .collab-dot.active {
        width: 24px;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .collab-slide,
    .collab-slide-clone {
        width: 50%;
    }

    .collab-card {
        border-radius: 18px;
    }
}

/* Desktop - 3 slides visible */
@media (min-width: 1025px) {
    .collab-slide,
    .collab-slide-clone {
        width: 33.333%;
    }
}

/* ========================================
   PARTNERS MARQUEE - "Ils nous ont fait confiance"
======================================== */
.partners-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.partners-marquee::before,
.partners-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.partners-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}

.partners-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

.partners-track {
    display: flex;
    gap: 40px;
    animation: marquee-scroll 30s linear infinite;
    width: max-content;
}

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

.partner-item {
    flex-shrink: 0;
    width: 200px;
}

.partner-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 24px 20px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, transparent 40%, var(--accent) 50%, var(--primary) 60%, transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(59, 80, 162, 0.12);
    border-color: transparent;
    background: var(--white);
}

.partner-card:hover::before {
    opacity: 1;
}

.partner-logo {
    max-height: 80px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(40%);
    opacity: 0.85;
    transition: all 0.4s ease;
}

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

.partner-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-700);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
}

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

/* Dark mode support for partners */
[data-theme="dark"] .partner-logo {
    filter: grayscale(40%) brightness(1.2);
}

[data-theme="dark"] .partner-card:hover .partner-logo {
    filter: grayscale(0%) brightness(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partner-item {
        width: 160px;
    }

    .partner-card {
        height: 130px;
        padding: 16px;
        border-radius: 16px;
    }

    .partner-logo {
        max-height: 60px;
        max-width: 110px;
    }

    .partners-track {
        gap: 24px;
    }

    .partners-marquee::before,
    .partners-marquee::after {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .partner-item {
        width: 140px;
    }

    .partner-card {
        height: 110px;
        padding: 12px;
    }

    .partner-logo {
        max-height: 50px;
        max-width: 90px;
    }

    .partners-marquee::before,
    .partners-marquee::after {
        width: 30px;
    }
}
