/* Variables CSS */
:root {
    --primary-color: #198754;
    --secondary-color: #0d6efd;
    --accent-color: #ffc107;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

/* Styles généraux */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Navigation */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

/* Carrousel */
.carousel-item {
    height: 500px;
    background-size: cover;
    background-position: center;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 20px;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Sections */
section {
    padding: 60px 0;
}

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

/* Cards */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Boutons */
.btn {
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #146c43;
    border-color: #146c43;
    transform: translateY(-2px);
}

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

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Icônes */
.fa-3x {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #373c40 !important;
    color: #fff !important;
}
footer h5 {
    color: #fff !important;
    font-weight: bold;
}
footer a, footer p, footer li, footer span {
    color: #fff !important;
    font-size: 1rem;
}
footer a:hover {
    color: #ffc107 !important;
    text-decoration: underline;
}
footer hr {
    border-top: 1px solid #bbb;
}
footer ul {
    padding-left: 0;
}
footer ul li {
    list-style: none;
}

.social-links a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color) !important;
}

/* APAC Cards */
.apac-card {
    border-left: 4px solid var(--primary-color);
}

.apac-status {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* News Cards */
.news-date {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 25px;
    border: 2px solid #e9ecef;
    padding: 12px 20px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

/* Dashboard Styles */
.dashboard-sidebar {
    background-color: var(--dark-color);
    min-height: 100vh;
    padding-top: 20px;
}

.dashboard-sidebar .nav-link {
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

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

.dashboard-content {
    padding: 30px;
}

.dashboard-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.dashboard-stat {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 10px;
    margin-bottom: 20px;
}

.dashboard-stat h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
    }
    
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .dashboard-sidebar {
        min-height: auto;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading Spinner */
.spinner-border {
    color: var(--primary-color);
}

/* Alert Styles */
.alert {
    border-radius: 10px;
    border: none;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* Section Nos Partenaires - Professionnelle et compacte */
.partners-section {
    padding: 30px 0 20px 0 !important;
    background: #f9f9f9;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}
.partners-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #222;
    letter-spacing: 1px;
}
.partners-carousel .carousel-inner {
    min-height: 120px;
}
.partners-carousel .carousel-item {
    padding: 10px 0;
}
.partners-logo {
    width: 120px !important;
    height: 60px !important;
    max-width: 120px !important;
    max-height: 60px !important;
    object-fit: contain;
    display: block;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.partners-logo:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
@media (max-width: 768px) {
    .partners-section {
        padding: 20px 0 10px 0 !important;
    }
    .partners-logo {
        width: 80px !important;
        height: 40px !important;
        max-width: 80px !important;
        max-height: 40px !important;
    }
    .partners-section h2 {
        font-size: 1.3rem;
    }
} 