/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

section {
    margin: 0;
    padding: 0;
}

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

/* Variables CSS */
:root {
    --primary-color: #2c5282;
    --primary-light: #3182ce;
    --secondary-color: #e53e3e;
    --secondary-light: #fc8181;
    --accent-color: #63b3ed;
    --text-dark: #2d3748;
    --text-light: #666;
    --bg-light: #f7fafc;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #2c5282 0%, #3182ce 100%);
    --gradient-secondary: linear-gradient(45deg, #e53e3e, #fc8181);
    --gradient-accent: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-light: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-medium: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-heavy: 0 20px 40px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
}

/* Header */
.header {
    background: var(--gradient-primary);
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 500;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 26px;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo:hover,
.logo-link:hover {
    transform: scale(1.05);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    color: #fff;
}

.logo-img {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo:hover .logo-img,
.logo-link:hover .logo-img {
    box-shadow: 0 6px 20px rgba(99, 179, 237, 0.4);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

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

/* Dropdown Menu Styles */
.nav-menu li {
    position: relative;
}

.nav-menu .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    min-width: 280px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    border: 1px solid rgba(44, 82, 130, 0.1);
}

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

.nav-menu .dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 30px;
    width: 16px;
    height: 16px;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 250, 252, 0.95) 100%);
    border: 1px solid rgba(44, 82, 130, 0.1);
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
    border-radius: 3px 0 0 0;
}

.nav-menu .dropdown li {
    margin: 0;
    padding: 0;
}

.nav-menu .dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    margin: 0 8px;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.nav-menu .dropdown a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(44, 82, 130, 0.08) 0%, 
        rgba(49, 130, 206, 0.05) 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-menu .dropdown a:hover::before {
    left: 0;
}

.nav-menu .dropdown a:hover {
    background: rgba(44, 82, 130, 0.05);
    border-color: rgba(44, 82, 130, 0.15);
    transform: translateX(8px);
    color: var(--primary-color);
    box-shadow: 
        0 4px 15px rgba(44, 82, 130, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.nav-menu .dropdown a i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(44, 82, 130, 0.1) 0%, 
        rgba(49, 130, 206, 0.08) 100%);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 12px;
    transition: all 0.3s ease;
}

.nav-menu .dropdown a:hover i {
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 100%);
    color: white;
    transform: scale(1.1);
}

.nav-menu .dropdown .dropdown-header {
    padding: 12px 20px 8px;
    margin: 0 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(44, 82, 130, 0.1);
    margin-bottom: 8px;
}

.nav-menu .dropdown .dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(44, 82, 130, 0.15) 50%, 
        transparent 100%);
    margin: 8px 16px;
}

/* Dropdown indicator */
.nav-menu .has-dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-menu .has-dropdown:hover > a::after {
    transform: rotate(180deg);
}

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

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--accent-color);
    position: relative;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    max-width: 1600px;
    margin: 0 auto;
    visibility: visible;
    opacity: 1;
}

.contact-card {
    background: rgba(44, 82, 130, 0.3);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-height: 160px;
    word-wrap: break-word;
    word-break: break-all;
    visibility: visible;
    opacity: 1;
    display: block;
}

.contact-card.clickable {
    cursor: pointer;
    user-select: none;
}

.contact-card.clickable:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(44, 82, 130, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.contact-card.clickable:active {
    transform: translateY(-5px) scale(1.01);
    transition: transform 0.1s ease;
}

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

.contact-card:hover {
    transform: translateY(-5px);
    background: rgba(44, 82, 130, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-card i {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    display: block;
}

.contact-details strong {
    display: block !important;
    color: white !important;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Couleurs spécifiques pour chaque icône */
.contact-card:nth-child(1) i { color: #e74c3c; } /* Adresse - Rouge */
.contact-card:nth-child(2) i { color: #3498db; } /* Téléphone - Bleu */
.contact-card:nth-child(3) i { color: #25d366; } /* WhatsApp - Vert */
.contact-card:nth-child(4) i { color: #f39c12; } /* Email - Orange */
.contact-card:nth-child(5) i { color: #9b59b6; } /* Horaires - Violet */

.contact-card:nth-child(1)::before { background: #e74c3c; }
.contact-card:nth-child(2)::before { background: #3498db; }
.contact-card:nth-child(3)::before { background: #25d366; }
.contact-card:nth-child(4)::before { background: #f39c12; }
.contact-card:nth-child(5)::before { background: #9b59b6; }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    width: 20px;
    background: white;
    border-radius: 1px;
    margin: 2px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}



/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 0px;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(44, 82, 130, 0.2) 0%,
        rgba(49, 130, 206, 0.2) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 15px;
    height: 100%;
}

.cta-button {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--gradient-secondary);
    color: white;
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.full-width {
    width: 100%;
    justify-content: center;
    background: var(--gradient-secondary);
    color: white;
    font-size: 18px;
    padding: 18px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

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

/* Hero Contact Form Centered */
.hero-contact-form-center {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: var(--shadow-heavy);
    color: var(--text-dark);
    max-width: 400px;
    width: 90%;
}

.hero-contact-form-center h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    text-align: center;
    font-weight: 600;
}

.hero-contact-form-center p {
    font-size: 0.9rem;
    margin-bottom: 25px;
    text-align: center;
    color: var(--text-light);
    line-height: 1.4;
}

.quick-contact-form .form-row {
    margin-bottom: 20px;
}

.phone-input-container {
    display: flex;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.phone-input-container:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.country-code {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.country-code .flag {
    font-size: 16px;
}

.country-code .code {
    color: var(--text-dark);
}

.country-code-select {
    padding: 12px 8px;
    background: #f8fafc;
    border: none;
    border-right: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    min-width: 70px;
    max-width: 70px;
    cursor: pointer;
    outline: none;
    height: 100%;
    flex-shrink: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 12px;
    padding-right: 20px;
}

.country-code-select option {
    background: white;
    color: #333;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    min-height: 32px;
    display: flex;
    align-items: center;
}

.phone-input-container input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 14px;
    font-family: inherit;
    background: transparent;
    color: var(--text-dark);
}

.phone-input-container input:focus {
    outline: none;
}

.phone-input-container input::placeholder {
    color: #a0aec0;
}

.quick-contact-form input,
.quick-contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.quick-contact-form input:focus,
.quick-contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.quick-contact-form select {
    cursor: pointer;
}

/* Hero Promo Section */
.hero-promo-center {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border-radius: 18px;
    padding: 20px 60px;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.06),
        0 0 0 2px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #1f2937;
    max-width: 800px;
    width: 98%;
    text-align: center;
    border: 2px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    animation: promo-glow 3s ease-in-out infinite alternate;
}

.hero-promo-center::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(45, 55, 65, 0.1) 0%,
        rgba(34, 197, 94, 0.05) 50%,
        rgba(45, 55, 65, 0.1) 100%
    );
    z-index: -1;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
    box-shadow: 
        0 6px 16px rgba(220, 38, 38, 0.4),
        0 0 20px rgba(239, 68, 68, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.promo-badge i {
    font-size: 14px;
}

.hero-promo-center h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.1;
    color: #1f2937;
    text-shadow: none;
}

.promo-urgency {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.2);
    padding: 12px 20px;
    border-radius: 15px;
    font-size: 15px;
    margin-bottom: 12px;
    color: #0a3622;
    font-weight: 800;
    border: 2px solid rgba(34, 197, 94, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-urgency i {
    animation: flash 1.5s infinite;
    color: #fbbf24;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: nowrap;
}

.cta-button.whatsapp {
    background: linear-gradient(135deg, #00e676 0%, #25d366 50%, #1b5e20 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 4px 12px rgba(37, 211, 102, 0.4),
        0 0 10px rgba(0, 230, 118, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    flex: 1;
    max-width: 220px;
    min-width: 180px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button.whatsapp:hover {
    background: linear-gradient(135deg, #1b5e20 0%, #00e676 50%, #25d366 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 12px 30px rgba(37, 211, 102, 0.6),
        0 0 25px rgba(0, 230, 118, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

.cta-button.email {
    background: linear-gradient(135deg, #ff5722 0%, #ff9800 50%, #e65100 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 4px 12px rgba(255, 87, 34, 0.4),
        0 0 10px rgba(255, 152, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    flex: 1;
    max-width: 220px;
    min-width: 180px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button.email:hover {
    background: linear-gradient(135deg, #e65100 0%, #ff5722 50%, #ff9800 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 12px 30px rgba(255, 87, 34, 0.6),
        0 0 25px rgba(255, 152, 0, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes flash {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes promo-glow {
    0% {
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.15),
            0 0 0 3px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
        transform: scale(1);
    }
    100% {
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.2),
            0 0 0 5px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.9),
            0 0 30px rgba(0, 0, 0, 0.1);
        transform: scale(1.02);
    }
}

/* Services Section */
.services {
    padding: 60px 0 100px 0;
    background: var(--bg-light);
    margin-top: -10px;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.services-intro {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    grid-column: span 2;
    margin-bottom: 30px;
}

.services-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%);
}

.services-intro:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.services-intro-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: white;
    transition: var(--transition);
}

.services-intro:hover .services-intro-icon {
    transform: scale(1.1);
}

.services-subtitle {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.services-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card-modern {
    position: relative;
    height: 380px;
    border-radius: 15px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: var(--transition);
    cursor: pointer;
}

.service-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        transparent 0%, 
        rgba(0, 0, 0, 0.3) 30%, 
        rgba(0, 0, 0, 0.8) 100%
    );
    color: white;
    padding: 40px 25px 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-overlay h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.service-overlay p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.service-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.service-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.service-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: white;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-top: 15px;
}

/* Statistics Section */
.stats {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0;
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><polygon fill="rgba(255,255,255,0.05)" points="0,0 1200,0 1200,320 0,400"/></svg>');
    z-index: 0;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--accent-color);
    font-weight: 700;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.7;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.clinic-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.clinic-image:hover {
    transform: scale(1.05);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--bg-light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    position: relative;
    transition: var(--transition);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 60px;
    color: var(--accent-color);
    font-weight: bold;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-light);
    padding-top: 20px;
}

.testimonial-author {
    font-weight: bold;
    color: var(--text-dark);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: white;
}

.contact .contact-form {
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
    visibility: visible;
    opacity: 1;
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 40px 50px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.contact-form h3 {
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
    color: white;
}

.contact-form p {
    font-size: 0.9rem;
    margin-bottom: 25px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    align-items: end;
    width: 100%;
}

.form-grid.single-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: end;
    width: 100%;
}

.form-group {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 16px;
    white-space: nowrap;
    color: white;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.9);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    height: 50px;
    box-sizing: border-box;
    flex: none;
}

.form-group .phone-input-container {
    display: flex;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    height: 50px;
}

.form-group .country-code {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 18px;
    background: rgba(0,0,0,0.1);
    border-right: 1px solid rgba(255,255,255,0.3);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group .phone-input-container input {
    flex: 1;
    border: none;
    padding: 15px 18px;
    font-size: 16px;
    font-family: inherit;
    background: transparent;
    color: var(--text-dark);
    height: auto;
}

.form-group textarea {
    height: 48px;
    resize: none;
    overflow: hidden;
    line-height: 1.2;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 30px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-top: 2px;
    min-width: 24px;
}

.contact-item div strong {
    display: block;
    color: var(--accent-color);
    margin-bottom: 5px;
    font-size: 1rem;
    font-weight: 600;
}

.contact-item div p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.4;
}

.success-message {
    background: rgba(72, 187, 120, 0.2);
    color: #38a169;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid rgba(72, 187, 120, 0.3);
    text-align: center;
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--accent-color);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section p,
.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    line-height: 1.6;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section .contact-item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #cbd5e0;
    line-height: 1.6;
}

.footer-section .contact-item span,
.footer-section .contact-item div {
    color: #cbd5e0;
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-section .contact-item strong {
    color: #cbd5e0;
    font-weight: normal;
    font-size: inherit;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    background: var(--primary-light);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 20px;
    margin-top: 30px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* Boutons flottants */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.whatsapp-float {
    position: fixed;
    bottom: 120px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 30px;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-heavy);
}

/* Multi-layered WhatsApp icon fallback system */
.whatsapp-float a i {
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome", "Font Awesome 5 Free", "Font Awesome 6 Free", sans-serif !important;
    font-weight: 400 !important;
    position: relative;
    z-index: 2;
}

/* Primary fallback: Unicode character */
.whatsapp-float a i::before {
    content: "\f232" !important;
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome", "Font Awesome 5 Free", "Font Awesome 6 Free", sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    display: inline-block !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
}

/* Secondary fallback: Direct Unicode if icon family fails */
.whatsapp-float a::after {
    content: "📱";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    z-index: 1;
    display: none;
}

/* Tertiary fallback: Text if all else fails */
.whatsapp-float a::before {
    content: "WA";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: bold;
    z-index: 0;
    display: none;
    font-family: Arial, sans-serif;
}

/* Show text fallback if icon doesn't load */
.whatsapp-float a:not(:has(i[class*="fa-whatsapp"]))::before,
.whatsapp-float a:not(:has(i.fab))::before {
    display: block;
}

/* Emergency emoji fallback for very old browsers */
@supports not (content: "\f232") {
    .whatsapp-float a::after {
        display: block !important;
    }
    .whatsapp-float a i {
        display: none !important;
    }
}

/* CTA button iconları için güçlü FontAwesome fallback */
.cta-button i {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome", sans-serif !important;
    font-weight: 900 !important;
    position: relative;
    display: inline-block !important;
}

.cta-button.whatsapp i {
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome", "Font Awesome 5 Free", "Font Awesome 6 Free", sans-serif !important;
    font-weight: 400 !important;
}

.cta-button.whatsapp i::before {
    content: "\f232" !important;
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome", "Font Awesome 5 Free", "Font Awesome 6 Free", sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    display: inline-block !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
}

.cta-button.email i::before {
    content: "\f0e0" !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", sans-serif !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
}

/* Text fallbacks for CTA buttons if icons fail */
.cta-button.whatsapp::after {
    content: "📱";
    display: none;
    margin-right: 4px;
}

.cta-button.email::after {
    content: "📧";
    display: none;
    margin-right: 4px;
}

/* Show emoji fallbacks if FontAwesome fails */
.cta-button.whatsapp:not(:has(i[class*="fa-whatsapp"]))::after,
.cta-button.email:not(:has(i[class*="fa-envelope"]))::after {
    display: inline-block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Utilitaires */
.text-center {
    text-align: center;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-30 {
    margin-top: 30px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.3);
}

/* Media query pour garantir l'alignement horizontal sur desktop */
@media (min-width: 769px) {
    .form-grid.single-row {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 15px;
        align-items: end;
        grid-template-rows: 1fr;
    }
    
    .form-grid.single-row .form-group {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        height: auto;
        min-height: 70px;
    }
    
    .form-grid.single-row .form-group input,
    .form-grid.single-row .form-group select,
    .form-grid.single-row .form-group textarea {
        height: 48px;
        margin-top: auto;
    }
}

/* Language Selector - Modern Design */
.language-selector {
    position: relative;
}

.current-lang {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.12) 50%, 
        rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 28px;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    min-width: 130px;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
}

.current-lang::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
    z-index: 1;
}

.current-lang:hover::before {
    left: 100%;
}

.current-lang:hover {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.35) 0%, 
        rgba(255, 255, 255, 0.22) 50%, 
        rgba(255, 255, 255, 0.15) 100%);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.2),
        0 6px 15px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.current-lang .flag {
    font-size: 20px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.current-lang:hover .flag {
    transform: scale(1.1) rotate(-2deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.current-lang .lang-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    text-decoration: none;
}

.current-lang:hover .lang-name {
    font-weight: 700;
    letter-spacing: 0.8px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    color: #fff;
}

.current-lang i {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.current-lang:hover i {
    color: white;
    transform: scale(1.2);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.language-selector.show .current-lang {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(255, 255, 255, 0.25) 50%, 
        rgba(255, 255, 255, 0.18) 100%);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.25),
        0 8px 20px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.01);
}

.language-selector.show .current-lang i {
    transform: rotate(180deg) scale(1.1);
    color: white;
}

.language-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-20px) scale(0.9) rotateX(-10deg);
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    backdrop-filter: blur(25px);
    border-radius: 18px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform-origin: top center;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1000;
    list-style: none;
    padding: 12px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    overflow: hidden;
}

/* Responsive positioning - mobile adjustments */
@media (max-width: 768px) {
    .language-menu {
        min-width: 160px;
        border-radius: 16px;
        padding: 10px;
    }
    
    .language-menu li a {
        padding: 12px 16px;
        border-radius: 12px;
        gap: 12px;
    }
}

.language-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) scale(1) rotateX(0deg) !important;
    display: block !important;
}

.language-menu li {
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.language-menu.show li {
    opacity: 1;
    transform: translateY(0);
}

.language-menu.show li:nth-child(1) { transition-delay: 0.1s; }
.language-menu.show li:nth-child(2) { transition-delay: 0.2s; }
.language-menu.show li:nth-child(3) { transition-delay: 0.3s; }

.language-menu li a {
    display: flex !important;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    color: #1a202c;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 14px;
    border-radius: 14px;
    margin-bottom: 4px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.language-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(99, 179, 237, 0.1) 0%, 
        rgba(99, 179, 237, 0.05) 100%);
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.language-menu li a:hover::before {
    left: 0;
}

.language-menu li a:hover {
    background: linear-gradient(135deg, 
        rgba(99, 179, 237, 0.15) 0%, 
        rgba(79, 172, 254, 0.15) 100%);
    color: #2b6cb0;
    transform: translateX(6px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(99, 179, 237, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(99, 179, 237, 0.2);
    text-decoration: none !important;
}

.language-menu li.active a {
    background: linear-gradient(135deg, 
        rgba(99, 179, 237, 0.95) 0%, 
        rgba(79, 172, 254, 0.95) 100%);
    color: white;
    box-shadow: 
        0 8px 25px rgba(99, 179, 237, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
    text-decoration: none !important;
}

.language-menu li.active a::before {
    background: rgba(255, 255, 255, 0.1);
    left: 0;
}

.language-menu li a .flag {
    font-size: 18px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
    transform-origin: center;
}

.language-menu li a:hover .flag {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 3px 6px rgba(99, 179, 237, 0.3));
}

.language-menu li.active a .flag {
    filter: drop-shadow(0 3px 6px rgba(255, 255, 255, 0.5));
}

.language-menu li a .lang-name {
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.language-menu li a:hover .lang-name {
    font-weight: 600;
    letter-spacing: 0.8px;
    text-decoration: none;
}

.language-menu li.active a .lang-name {
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* RTL Support for Arabic */
html[dir="rtl"] .header-content {
    direction: rtl;
}

html[dir="rtl"] .nav-menu {
    direction: rtl;
}

html[dir="rtl"] .language-menu {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-20px) scale(0.9) rotateX(-10deg);
}

html[dir="rtl"] .logo {
    flex-direction: row-reverse;
    text-align: left;
}

/* Desktop - Ajustement de position du formulaire de contact hero */
@media (min-width: 1025px) {
    .hero .hero-content .hero-contact-form-center {
        transform: translateY(-20px) !important;
        margin-bottom: 20px;
    }
    
    /* Force desktop contact card text visibility */
    .contact .contact-info .contact-grid .contact-card .contact-details strong {
        color: #ffffff !important;
        font-weight: 500 !important;
        text-shadow: none !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .contact .contact-info .contact-grid .contact-card .contact-details p {
        color: rgba(255, 255, 255, 1) !important;
        text-shadow: none !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .contact .contact-info .contact-grid .contact-card {
        background: rgba(44, 82, 130, 0.5) !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
    }
    
    .contact .contact-info .contact-grid .contact-card:hover {
        background: rgba(44, 82, 130, 0.7) !important;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
    }
    
    /* Ensure contact details are always visible */
    .contact-card .contact-details {
        visibility: visible !important;
        opacity: 1 !important;
        display: block !important;
    }
}

/* Mobile menu toggle */

/* ULTRA SPECIFIC DESKTOP CONTACT CARD FIX - MUST WORK */
@media screen and (min-width: 1025px) {
    /* Override all possible contact card styles */
    body .contact section .container .contact-content .contact-info .contact-grid .contact-card {
        background-color: rgba(44, 82, 130, 0.6) !important;
        background: rgba(44, 82, 130, 0.6) !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        color: white !important;
    }
    
    body .contact section .container .contact-content .contact-info .contact-grid .contact-card .contact-details {
        color: white !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 999 !important;
    }
    
    body .contact section .container .contact-content .contact-info .contact-grid .contact-card .contact-details strong {
        color: #ffffff !important;
        background: none !important;
        font-weight: 500 !important;
        font-size: 1rem !important;
        text-shadow: none !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1000 !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
    }
    
    body .contact section .container .contact-content .contact-info .contact-grid .contact-card .contact-details p {
        color: rgba(255, 255, 255, 1) !important;
        background: none !important;
        font-size: 0.9rem !important;
        text-shadow: none !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1000 !important;
        margin: 0 !important;
        line-height: 1.4 !important;
    }
    
    body .contact section .container .contact-content .contact-info .contact-grid .contact-card:hover {
        background-color: rgba(44, 82, 130, 0.8) !important;
        background: rgba(44, 82, 130, 0.8) !important;
        border: 2px solid rgba(255, 255, 255, 0.6) !important;
    }
    
    body .contact section .container .contact-content .contact-info .contact-grid .contact-card:hover .contact-details strong {
        color: #ffffff !important;
        text-shadow: none !important;
    }
    
    body .contact section .container .contact-content .contact-info .contact-grid .contact-card:hover .contact-details p {
        color: rgba(255, 255, 255, 1) !important;
        text-shadow: none !important;
    }
}

/* EMERGENCY FALLBACK - If nothing else works */
@media screen and (min-width: 1024px) {
    .contact-details * {
        color: white !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: block !important;
    }
    
    .contact-card * {
        color: white !important;
    }
}

 