:root {
    --primary-color: #002BFF;
    --secondary-color: #00BFFF;
    --accent-color: #FFD700;
    --text-color: #1a1a1a;
    --light-bg: #f8f9fa;
    --dark-bg: #212529;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    font-weight: 500;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

/* Cards avec meilleur contraste */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    color: var(--text-color);
}

/* Texte plus foncé et lisible */
.card-body p,
.card-text,
.section-text {
    color: #2c3e50 !important;
    font-weight: 500;
    line-height: 1.7;
}

/* Titres avec meilleur contraste */
h1, h2, h3, h4, h5, h6 {
    color: #1a1a1a !important;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Navigation avec texte blanc visible */
.navbar {
    background: rgba(0, 43, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand,
.nav-link {
    color: white !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Hero section optimisé */
.hero-section {
    background: linear-gradient(135deg, #002BFF 0%, #00BFFF 100%);
    color: white;
}

.hero-section h1,
.hero-section p {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Footer avec texte clair */
footer {
    background: #212529 !important;
    color: #f8f9fa;
}

footer p,
footer a {
    color: #f8f9fa !important;
    font-weight: 400;
}

/* Boutons avec texte lisible */
.btn-primary {
    background: #002BFF;
    border-color: #002BFF;
    color: white;
    font-weight: 600;
}

.btn-warning {
    background: #FFD700;
    border-color: #FFD700;
    color: #212529;
    font-weight: 600;
}

/* Responsive text improvements */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .card-body p {
        font-size: 1rem;
        color: #2c3e50;
    }
}


/* Service images styling */
.service-image-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.glass-card:hover .service-image {
    transform: scale(1.1);
}

.service-content {
    position: relative;
    z-index: 1;
}

.service-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
    z-index: 0;
}

/* Variables couleur bleue */
:root {
    --primary-blue: #002BFF;
    --light-blue: #00BFFF;
    --accent-blue: #4FC3F7;
    --glass-white: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-white: #ffffff;
    --text-light: #f8f9fa;
}

/* Glassmorphisme général */
.glass-card {
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 43, 255, 0.3);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 43, 255, 0.4);
}

/* Hero glassmorphisme */
.hero-glass {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(0,43,255,0.9) 0%, rgba(0,191,255,0.8) 100%);
    backdrop-filter: blur(10px);
    position: relative;
}

.glass-card-hero {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 43, 255, 0.2);
}

/* Cards statistiques */
.glass-card-stats {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.glass-card-stats:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Cards features */
.glass-card-feature {
    background: rgba(0, 43, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 18px;
    transition: all 0.3s ease;
}

.glass-card-feature:hover {
    background: rgba(0, 43, 255, 0.15);
    transform: translateY(-5px);
}

/* Cards services */
.glass-card-service {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.glass-card-service:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 43, 255, 0.25);
}

.service-image-glass {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,43,255,0.7) 0%, rgba(0,191,255,0.6) 100%);
}

.glass-card-service:hover .service-img {
    transform: scale(1.1);
}

/* Titres glassmorphisme */
.glass-card-title {
    background: rgba(0, 43, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 191, 255, 0.25);
    border-radius: 20px;
    display: inline-block;
    margin: 0 auto;
}

/* Responsive glassmorphisme */
@media (max-width: 768px) {
    .glass-card-hero {
        padding: 2rem;
        margin: 1rem;
    }
    
    .glass-card-stats {
        margin-bottom: 1.5rem;
    }
}

/* Why Choose Us Section - Glassmorphisme amélioré */
.why-choose-section-glass {
    position: relative;
    overflow: hidden;
}

.why-choose-image-glass {
    position: relative;
}

.why-choose-content-glass {
    position: relative;
    z-index: 2;
}

.icon-circle-glass {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-circle-glass i {
    font-size: 1.5rem;
}

.glass-card-feature {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.glass-card-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.glass-card-feature:hover .icon-circle-glass {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1.1);
}

/* Illustration responsive */
.why-choose-image-glass img {
    box-shadow: 0 20px 40px rgba(0, 43, 255, 0.2);
    transition: transform 0.4s ease;
}

.why-choose-image-glass:hover img {
    transform: scale(1.05);
}

/* Responsive design */
@media (max-width: 768px) {
    .why-choose-section-glass {
        padding: 3rem 0;
    }
    
    .icon-circle-glass {
        width: 50px;
        height: 50px;
    }
    
    .icon-circle-glass i {
        font-size: 1.2rem;
    }
}

/* Styles Modernes Additionnels */
.hero-modern {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
}

.hero-content-modern h1 {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

.hero-actions .btn {
    transition: all 0.3s ease;
    font-weight: 500;
}

.hero-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 43, 255, 0.15);
}

.stat-card-modern {
    border: none;
    transition: transform 0.3s ease;
}

.stat-card-modern:hover {
    transform: translateY(-5px);
}

.service-card-modern {
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.service-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 43, 255, 0.1);
}

.features-modern .feature-item-modern {
    transition: all 0.3s ease;
}

.features-modern .feature-item-modern:hover {
    padding-left: 10px;
}

/* Menu déroulant Bootstrap - styles spécifiques */
.navbar .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 43, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 43, 255, 0.15);
    margin-top: 10px;
    padding: 0.5rem 0;
}

.navbar .dropdown-item {
    color: #1a1a1a !important;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: rgba(0, 43, 255, 0.1);
    color: var(--primary-color) !important;
    padding-left: 2rem;
}

.navbar .dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.navbar .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Menu mobile responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(0, 43, 255, 0.98);
        backdrop-filter: blur(15px);
        border-radius: 10px;
        margin-top: 1rem;
        padding: 1rem;
    }
    
    .navbar .dropdown-menu {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        margin-top: 0;
    }
    
    .navbar .dropdown-item {
        color: white !important;
        padding-left: 2rem;
    }
    
    .navbar .dropdown-item:hover,
    .navbar .dropdown-item:focus {
        background: rgba(255, 255, 255, 0.1);
        color: var(--accent-color) !important;
        padding-left: 2.5rem;
    }
}

/* Animations améliorées pour la page d'accueil */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

@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 pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Effets de survol améliorés */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 43, 255, 0.15);
}

.hover-glow {
    position: relative;
    overflow: hidden;
}

.hover-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -200%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.hover-glow:hover::before {
    left: 100%;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(0, 43, 255, 0.4);
}

/* Styles pour les compteurs animés */
.counter-container {
    position: relative;
    display: inline-block;
}

.counter-circle {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) 0deg, var(--accent-color) 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.counter-circle::before {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    background: white;
}

/* Styles pour la timeline */
.timeline-enhanced {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-enhanced::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item-enhanced {
    position: relative;
    margin: 3rem 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.timeline-icon-enhanced {
    position: absolute;
    left: 50%;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    color: white;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 43, 255, 0.3);
}

/* Cards avec effet glassmorphisme amélioré */
.glass-card-enhanced {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 43, 255, 0.1);
    transition: all 0.3s ease;
}

.glass-card-enhanced:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 43, 255, 0.15);
}

/* Boutons avec effets spéciaux */
.btn-special {
    position: relative;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-special::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-special:hover::before {
    left: 100%;
}

.btn-special:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 43, 255, 0.3);
}

/* Responsive amélioré */
@media (max-width: 768px) {
    .timeline-enhanced::before {
        left: 30px;
    }
    
    .timeline-icon-enhanced {
        left: 30px;
        width: 60px;
        height: 60px;
    }
    
    .counter-circle {
        width: 100px;
        height: 100px;
    }
}
