/* ==========================================
   THEME PROFESSIONNEL CEDH RDC
   Couleurs primaires: Gradient Bleu
   ========================================== */

:root {
    --primary-color: #4169E1;
    --primary-dark: #1E40AF;
    --primary-light: #5B7FFF;
    --secondary-color: #28a745;
    --warning-color: #ff9800;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
}

/* ==========================================
   GRADIENT STYLES
   ========================================== */

.gradient-primary {
    background: linear-gradient(135deg, #4169E1 0%, #1E40AF 100%);
}

.gradient-primary-light {
    background: linear-gradient(135deg, #5B7FFF 0%, #4169E1 100%);
}

.text-gradient {
    background: linear-gradient(135deg, #4169E1 0%, #1E40AF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================
   NEWSLETTER MODAL STYLES
   ========================================== */

.newsletter-modal-content {
    background: linear-gradient(135deg, #4169E1 0%, #1E40AF 100%);
    border: none;
    box-shadow: 0 10px 40px rgba(65, 105, 225, 0.3);
    border-radius: 12px;
}

.newsletter-modal-header {
    background: linear-gradient(135deg, #4169E1 0%, #1E40AF 100%);
    border-radius: 12px 12px 0 0;
}

.newsletter-modal-body {
    background: linear-gradient(135deg, #4169E1 0%, #1E40AF 100%);
    border-radius: 0 0 12px 12px;
    padding: 2rem;
}

.newsletter-modal-body .form-control {
    background-color: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #333;
    font-size: 1rem;
    padding: 0.75rem 1rem;
}

.newsletter-modal-body .form-control:focus {
    background-color: #fff;
    border-color: #fff;
    color: #333;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.newsletter-modal-body .form-control::placeholder {
    color: #999;
}

/* ==========================================
   FOOTER NEWSLETTER FORM
   ========================================== */

.footer-newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary-color);
    color: #333;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.footer-newsletter-form .form-control:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    color: #333;
    box-shadow: 0 0 0 0.2rem rgba(65, 105, 225, 0.25);
}

.footer-newsletter-form .btn-primary {
    background: linear-gradient(135deg, #4169E1 0%, #1E40AF 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-newsletter-form .btn-primary:hover {
    background: linear-gradient(135deg, #1E40AF 0%, #4169E1 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(65, 105, 225, 0.4);
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn-primary {
    background: linear-gradient(135deg, #4169E1 0%, #1E40AF 100%);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1E40AF 0%, #4169E1 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(65, 105, 225, 0.4);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #4169E1 0%, #1E40AF 100%);
    border-color: transparent;
    color: #fff;
}

/* ==========================================
   CARDS
   ========================================== */

.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-radius: 8px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(65, 105, 225, 0.15);
}

.card-header {
    background: linear-gradient(135deg, #4169E1 0%, #1E40AF 100%);
    border: none;
    border-radius: 8px 8px 0 0;
    color: #fff;
    font-weight: 600;
    padding: 1.25rem;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero-section {
    background: linear-gradient(135deg, #4169E1 0%, #1E40AF 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: float 6s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    animation: float 8s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

/* ==========================================
   SECTIONS
   ========================================== */

section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4169E1 0%, #1E40AF 100%);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* ==========================================
   FEATURE CARDS
   ========================================== */

.feature-card {
    background: #fff;
    border: none;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(65, 105, 225, 0.15);
}

.feature-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4169E1 0%, #1E40AF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */

.testimonial-card {
    background: #fff;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
}

.testimonial-author-title {
    font-size: 0.9rem;
    color: #666;
}

.stars {
    color: #ffc107;
    font-size: 0.9rem;
}

/* ==========================================
   CALL-TO-ACTION SECTIONS
   ========================================== */

.cta-section {
    background: linear-gradient(135deg, #4169E1 0%, #1E40AF 100%);
    color: #fff;
    padding: 3rem 0;
    margin: 3rem 0;
    border-radius: 10px;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 2rem;
}

.cta-section h2::after {
    background: rgba(255, 255, 255, 0.3);
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 6px;
}

/* ==========================================
   BADGES
   ========================================== */

.badge-gradient {
    background: linear-gradient(135deg, #4169E1 0%, #1E40AF 100%);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
}

/* ==========================================
   BREADCRUMBS
   ========================================== */

.breadcrumb {
    background: var(--light-bg);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* ==========================================
   FOOTER STYLES
   ========================================== */

#footer {
    background: var(--dark-bg);
    color: #ddd;
    padding: 3rem 0 1rem;
}

#footer h3, #footer h4 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}

#footer a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

#footer a:hover {
    color: var(--primary-color);
}

/* ==========================================
   ALERTS
   ========================================== */

.alert {
    border: none;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid var(--success-color);
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid var(--danger-color);
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid var(--info-color);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .newsletter-modal-body .form-control {
        font-size: 0.95rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-up {
    animation: slideInUp 0.6s ease-out;
}

.slide-in-down {
    animation: slideInDown 0.6s ease-out;
}

/* ==========================================
   LOADING SPINNER
   ========================================== */

.spinner-border-primary {
    color: var(--primary-color);
}

/* ==========================================
   UTILITIES
   ========================================== */

.bg-gradient-primary {
    background: linear-gradient(135deg, #4169E1 0%, #1E40AF 100%);
    color: #fff;
}

.border-primary-gradient {
    border-top: 3px solid var(--primary-color);
}

.text-primary-gradient {
    background: linear-gradient(135deg, #4169E1 0%, #1E40AF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-sm-primary {
    box-shadow: 0 2px 10px rgba(65, 105, 225, 0.15);
}

.shadow-lg-primary {
    box-shadow: 0 10px 30px rgba(65, 105, 225, 0.15);
}
