/* Styles personnalisés pour Ma Bourse d'Études */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* Styles généraux */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
header {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Navigation */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 1rem 1.5rem !important;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-1px);
}

.navbar-nav .nav-link.fw-bold {
    font-size: 1.1rem;
}

/* Améliorations pour mobile */
@media (max-width: 991.98px) {
    .navbar-nav {
        margin-top: 1rem;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
        margin-bottom: 0.25rem;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(0, 123, 255, 0.1);
        transform: none;
    }
    
    .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0.5rem;
        border: none !important;
        box-shadow: none !important;
        background-color: rgba(0, 0, 0, 0.05);
        border-radius: 8px;
        display: none !important;
    }
    
    .dropdown-menu.show {
        display: block !important;
    }
    
    .dropdown-item {
        padding: 0.75rem 1.5rem;
        border-radius: 6px;
        margin-bottom: 0.25rem;
    }
    
    .dropdown-item:hover {
        background-color: rgba(0, 123, 255, 0.1);
    }
    
    /* Bouton toggle amélioré */
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
        border-radius: 8px;
        background-color: rgba(0, 123, 255, 0.1);
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    /* Actions du header sur mobile */
    .d-flex.align-items-center {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .btn-sm {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Améliorations pour très petits écrans */
@media (max-width: 575.98px) {
    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 1rem !important;
    }
    
    .dropdown-item {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
    }
    
    /* Header compact sur mobile */
    header .container .row {
        padding: 0.5rem 0;
    }
    
    header h4 {
        font-size: 1.25rem;
    }
    
    header small {
        font-size: 0.75rem;
    }
}

/* Dropdowns au survol sur desktop */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block !important;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .navbar-nav .dropdown-menu {
        display: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    .navbar-nav .dropdown-menu.show {
        display: block !important;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Gestion mobile - clic pour ouvrir */
@media (max-width: 991.98px) {
    .navbar-nav .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }
    
    .navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }
    
    /* Empêcher la fermeture du menu principal quand on clique sur un dropdown */
    .navbar-nav .dropdown-toggle {
        pointer-events: auto;
    }
    
    .navbar-nav .dropdown-toggle:not([aria-expanded="true"]) {
        pointer-events: auto;
    }
    
    /* Styles spécifiques pour les dropdowns mobiles */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0.5rem;
        border: none !important;
        box-shadow: none !important;
        background-color: rgba(0, 0, 0, 0.05);
        border-radius: 8px;
        display: none !important;
    }
    
    .navbar-nav .dropdown-menu.show {
        display: block !important;
    }
    
    .navbar-nav .dropdown-item {
        padding: 0.75rem 1.5rem;
        border-radius: 6px;
        margin-bottom: 0.25rem;
    }
    
    .navbar-nav .dropdown-item:hover {
        background-color: rgba(0, 123, 255, 0.1);
    }
}

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 10px;
    margin-top: 0.5rem;
}

.navbar-nav .dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* Sticky navigation */
.navbar.sticky-top {
    backdrop-filter: blur(10px);
    background-color: rgba(248, 249, 250, 0.95) !important;
    transition: all 0.3s ease;
}

.navbar.sticky-top.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Section de navigation secondaire */
.secondary-nav-section {
    padding: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.secondary-nav-tabs {
    padding: 0;
}

.secondary-nav-tabs .nav-tabs {
    border-bottom: none;
    justify-content: center;
}

.secondary-nav-tabs .nav-link {
    border: none;
    border-radius: 0;
    padding: 1rem 2rem;
    font-weight: 600;
    color: #495057;
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
}

.secondary-nav-tabs .nav-link:hover {
    color: var(--primary-color);
    background: rgba(0, 123, 255, 0.1);
}

.secondary-nav-tabs .nav-link.active {
    color: var(--primary-color);
    background: white;
    border-bottom: 3px solid var(--primary-color);
}

.secondary-nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
}

/* Contenu des onglets */
.tab-content-section {
    background: white;
    min-height: 500px;
}

.tab-content {
    padding: 0;
}

.tab-pane {
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.tab-pane.active {
    opacity: 1;
    transform: translateY(0);
}

.content-text h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.content-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rapport d'activité */
.report-stack {
    position: relative;
    transform: perspective(1000px) rotateY(-15deg);
    transform-style: preserve-3d;
}

.report-cover {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.report-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: center;
}

.report-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.report-content {
    padding: 2rem;
    height: calc(100% - 80px);
    display: flex;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.stats-grid .stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
}

.stats-grid .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stats-grid .stat-label {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Laboratoire de recherche */
.research-lab {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lab-equipment {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.equipment-item {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    backdrop-filter: blur(10px);
}

.research-text {
    text-align: center;
    color: white;
}

.research-text h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Guide doctorat */
.guide-cover {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.guide-header {
    background: rgba(0, 0, 0, 0.1);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.guide-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.guide-header p {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
}

.guide-content {
    padding: 2rem;
    height: calc(100% - 120px);
    display: flex;
    align-items: center;
}

.guide-sections {
    width: 100%;
}

.section-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    margin-bottom: 1rem;
    color: #333;
}

.section-item i {
    font-size: 1.5rem;
    color: var(--success-color);
}

.section-item span {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .secondary-nav-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .content-text h2 {
        font-size: 2rem;
    }
    
    .content-image {
        height: 300px;
        margin-top: 2rem;
    }
    
    .report-cover,
    .guide-cover {
        width: 250px;
        height: 350px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .lab-equipment {
        gap: 1rem;
    }
    
    .equipment-item {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('../../img/img1.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: transform 0.3s ease;
    z-index: 1;
}

.hero-section:hover .hero-background {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.hero-text-box {
    position: absolute;
    bottom: 10%;
    left: 5%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 2rem;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: translateZ(0);
    z-index: 10;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #5a6c7d;
    margin-bottom: 2rem;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-stats {
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-text-box {
        position: relative;
        bottom: auto;
        left: auto;
        margin: 2rem 1rem;
        max-width: none;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
}

/* Services */
.service-icon {
    transition: transform 0.3s ease;
}

.card:hover .service-icon {
    transform: scale(1.1);
}

.card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Boutons */
.btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Formulaires */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

/* Cards personnalisées */
.card-custom {
    border: none;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-header-custom {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 20px;
    font-weight: 600;
}

/* Tableaux */
.table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table thead th {
    background: var(--primary-color);
    color: white;
    border: none;
    font-weight: 600;
    padding: 15px;
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.1);
    transform: scale(1.01);
}

/* Badges */
.badge {
    border-radius: 50px;
    padding: 8px 15px;
    font-weight: 500;
}

.badge-success {
    background: var(--success-color);
}

.badge-warning {
    background: var(--warning-color);
    color: #212529;
}

.badge-danger {
    background: var(--danger-color);
}

.badge-info {
    background: var(--info-color);
}

/* Alertes */
.alert {
    border: none;
    border-radius: 15px;
    padding: 15px 20px;
    font-weight: 500;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
    border-left: 4px solid var(--danger-color);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
    border-left: 4px solid var(--warning-color);
}

.alert-info {
    background: rgba(23, 162, 184, 0.1);
    color: var(--info-color);
    border-left: 4px solid var(--info-color);
}

/* Dashboard */
.dashboard-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: none;
}

.dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.dashboard-stat {
    text-align: center;
}

.dashboard-stat .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.dashboard-stat .label {
    color: var(--secondary-color);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Sidebar */
.sidebar {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sidebar .nav-link {
    color: var(--secondary-color);
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* Progress bars */
.progress {
    height: 10px;
    border-radius: 50px;
    background: #e9ecef;
}

.progress-bar {
    background: var(--gradient-primary);
    border-radius: 50px;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
}

/* Filtres */
.filter-section {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.filter-section .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

/* Pagination */
.pagination {
    justify-content: center;
}

.page-link {
    border: none;
    color: var(--primary-color);
    padding: 10px 15px;
    margin: 0 2px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--dark-color) !important;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 100px 0 50px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .dashboard-card {
        margin-bottom: 20px;
    }
    
    .sidebar {
        margin-bottom: 20px;
    }
}

/* Loading spinner */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toast notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
}

.toast {
    border: none;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* ===== CAMPUS FRANCE SECTION ===== */
.campus-france-section {
    padding: 4rem 0;
}

.campus-france-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0;
}

.campus-actions {
    margin: 2rem 0;
}

.campus-action-btn {
    background: #1e3a8a;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.campus-action-btn:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.campus-action-btn i {
    font-size: 1.1rem;
}

/* France Map Section */
.france-map-section {
    text-align: center;
}

.map-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e3a8a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.france-map-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.france-map {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 15px;
    border: 2px solid #e2e8f0;
    overflow: hidden;
}

.region {
    position: absolute;
    border-radius: 8px;
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: pointer;
}

.region:hover {
    opacity: 1;
    transform: scale(1.05);
}

.region-nord {
    top: 5%;
    left: 15%;
    width: 80px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.region-ile {
    top: 10%;
    left: 25%;
    width: 60px;
    height: 80px;
    background: linear-gradient(135deg, #06b6d4, #67e8f9);
}

.region-bretagne {
    top: 15%;
    left: 5%;
    width: 70px;
    height: 50px;
    background: linear-gradient(135deg, #10b981, #6ee7b7);
}

.region-aquitaine {
    bottom: 30%;
    left: 20%;
    width: 90px;
    height: 70px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.region-provence {
    bottom: 20%;
    right: 15%;
    width: 80px;
    height: 60px;
    background: linear-gradient(135deg, #ef4444, #f87171);
}

.region-alsace {
    top: 8%;
    right: 10%;
    width: 50px;
    height: 70px;
    background: linear-gradient(135deg, #ec4899, #f472b6);
}

.region-corse {
    bottom: 5%;
    right: 5%;
    width: 30px;
    height: 40px;
    background: linear-gradient(135deg, #84cc16, #a3e635);
}

.map-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-icon:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.icon-book {
    top: 25%;
    left: 30%;
    color: #8b5cf6;
}

.icon-science {
    top: 40%;
    left: 50%;
    color: #06b6d4;
}

.icon-culinary {
    bottom: 40%;
    left: 35%;
    color: #f59e0b;
}

.icon-engineering {
    top: 60%;
    right: 25%;
    color: #10b981;
}

/* Welcome Section */
.welcome-section {
    padding-left: 2rem;
}

.welcome-title-box {
    background: #fbbf24;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.welcome-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.welcome-description {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.why-france-section {
    margin-top: 2rem;
}

.why-france-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e3a8a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    position: relative;
}

.why-france-title::before,
.why-france-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: #fbbf24;
}

.why-france-title::before {
    left: -40px;
}

.why-france-title::after {
    right: -40px;
}

.video-thumbnail {
    margin: 1.5rem 0;
}

.video-placeholder {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
}

.video-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.why-france-description {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
    margin-top: 1rem;
    position: relative;
}

.why-france-description::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #fbbf24;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .campus-france-title {
        font-size: 2rem;
    }
    
    .campus-action-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .welcome-section {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .france-map {
        height: 300px;
    }
    
    .region {
        width: 60px;
        height: 45px;
    }
    
    .map-icon {
        width: 35px;
        height: 35px;
    }
}

/* ===== INTERACTIVE CONTENT SECTION ===== */
.interactive-content-section {
    background: #1e3a8a;
    padding: 4rem 0;
}

.content-block {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.content-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.block-label {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

.block-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* PODCAST Block */
.podcast-block {
    background: linear-gradient(135deg, #10b981, #059669);
}

.podcast-label {
    background: #1e40af;
    color: white;
}

.podcast-illustration {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.character-figure {
    position: relative;
    margin-bottom: 1rem;
}

.character-head {
    width: 80px;
    height: 80px;
    background: #3b82f6;
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
}

.character-head::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 15px;
    height: 15px;
    background: white;
    border-radius: 50%;
}

.character-head::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 15px;
    height: 15px;
    background: white;
    border-radius: 50%;
}

.character-body {
    width: 100px;
    height: 120px;
    background: #1e40af;
    border-radius: 50px 50px 20px 20px;
    margin: 0 auto;
    position: relative;
}

.character-body::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 60px;
    height: 80px;
    background: #3b82f6;
    border-radius: 30px;
}

.podcast-text {
    color: #8b5cf6;
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.campus-logo {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.campus-logo i {
    font-size: 1.2rem;
    color: #fbbf24;
}

/* RANKINGS Block */
.rankings-block {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.rankings-label {
    background: #dc2626;
    color: white;
}

.rankings-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-bars {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    align-items: end;
}

.bar {
    width: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 3px 3px 0 0;
}

.bar-1 { height: 60px; }
.bar-2 { height: 100px; }
.bar-3 { height: 80px; }
.bar-4 { height: 120px; }

.chart-lines {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
}

.line {
    position: absolute;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 1px;
}

.line-1 {
    top: 20px;
    left: 0;
    width: 180px;
    transform: rotate(-5deg);
}

.line-2 {
    top: 60px;
    left: 20px;
    width: 160px;
    transform: rotate(3deg);
}

/* CHOOSE FRANCE Block */
.choose-france-block {
    background: white;
}

.choose-france-label {
    background: #1e40af;
    color: white;
}

.make-it-iconic {
    text-align: center;
    margin-bottom: 1rem;
}

.make-it-text {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.iconic-text {
    font-size: 3rem;
    font-weight: 900;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.iconic-blue {
    color: #1e40af;
}

.iconic-red {
    color: #dc2626;
}

.choose-france-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

/* WEBTOON Block */
.webtoon-block {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.webtoon-label {
    background: #dc2626;
    color: white;
}

.phone-mockup {
    position: relative;
    width: 200px;
    height: 350px;
    background: #1f2937;
    border-radius: 25px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 15px;
    padding: 15px;
    position: relative;
    overflow: hidden;
}

.comic-panel {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.character-1, .character-2 {
    position: absolute;
}

.character-1 {
    top: 20px;
    left: 20px;
}

.character-2 {
    top: 40px;
    right: 20px;
}

.character-1 .character-head,
.character-2 .character-head {
    width: 30px;
    height: 30px;
    background: #3b82f6;
    border-radius: 50%;
    margin-bottom: 5px;
}

.character-1 .character-body,
.character-2 .character-body {
    width: 40px;
    height: 50px;
    background: #1e40af;
    border-radius: 20px 20px 10px 10px;
}

.speech-bubble {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fbbf24;
    color: #1f2937;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fbbf24;
}

/* Responsive adjustments for interactive content */
@media (max-width: 768px) {
    .content-block {
        height: 250px;
    }
    
    .make-it-text {
        font-size: 2rem;
    }
    
    .iconic-text {
        font-size: 2.5rem;
    }
    
    .choose-france-text {
        font-size: 1.2rem;
    }
    
    .phone-mockup {
        width: 150px;
        height: 280px;
    }
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
    padding: 4rem 0;
}

.partners-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #1e3a8a;
    margin-bottom: 1rem;
    position: relative;
}

.french-flag-icon {
    position: absolute;
    top: 0;
    right: 20%;
    color: #06b6d4;
    font-size: 1.5rem;
}

.partner-logo {
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.logo-text {
    text-align: center;
}

/* Étudiant.gouv.fr */
.etudiant-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    display: block;
}

.gouv-text {
    font-size: 0.9rem;
    color: #f59e0b;
}

/* France.fr */
.france-silhouette {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e40af, #dc2626, #fbbf24);
    border-radius: 50%;
    margin-bottom: 0.5rem;
    position: relative;
}

.france-silhouette::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
}

.france-fr .logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e40af;
    font-style: italic;
}

/* AEFE */
.aefe-acronym {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e40af;
    display: block;
}

.aefe-full {
    font-size: 0.7rem;
    color: #dc2626;
    display: block;
    line-height: 1.2;
}

/* Alliance Française */
.af-script {
    font-size: 2rem;
    font-weight: 700;
    color: #dc2626;
    font-family: 'Times New Roman', serif;
    font-style: italic;
    display: block;
}

.fondation-text {
    font-size: 0.8rem;
    color: #1f2937;
    font-family: 'Times New Roman', serif;
    display: block;
}

.alliance-text {
    font-size: 0.9rem;
    color: #dc2626;
    font-family: 'Times New Roman', serif;
    font-style: italic;
    display: block;
}

/* Institut Français */
.institut-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e40af;
    display: block;
    letter-spacing: 1px;
}

.francais-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e40af;
    display: block;
    letter-spacing: 1px;
}

/* ===== FOOTER ===== */
.main-footer {
    background: #1e3a8a;
    color: white;
}

.footer-content {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.agency-description p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.directory-section {
    padding: 1rem;
}

.globe-icon {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.directory-section p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.footer-nav h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.nav-divider {
    width: 30px;
    height: 1px;
    background: white;
    margin-bottom: 1rem;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list li {
    margin-bottom: 0.5rem;
}

.nav-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: white;
}

.social-media-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.social-item:hover {
    transform: translateX(5px);
}

.social-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.social-icon.facebook {
    color: #1877f2;
}

.social-icon.france-alumni {
    color: #1e40af;
}

.social-icon.instagram {
    color: #e4405f;
}

.social-icon.linkedin {
    color: #0077b5;
}

.social-icon.twitter {
    color: #1da1f2;
}

.social-icon.youtube {
    color: #ff0000;
}

.social-item span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-management {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.cookie-number {
    background: #06b6d4;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.official-logos {
    gap: 2rem;
}

.republic-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-symbol {
    display: flex;
    flex-direction: column;
}

.blue-rect {
    width: 20px;
    height: 15px;
    background: #1e40af;
}

.red-square {
    width: 8px;
    height: 8px;
    background: #dc2626;
    margin-top: 2px;
}

.republic-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e40af;
}

.motto-text {
    font-size: 0.7rem;
    color: #1e40af;
}

.campus-france-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.diamond-pattern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    width: 20px;
    height: 20px;
}

.diamond {
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

.diamond.blue {
    background: #1e40af;
}

.diamond.red {
    background: #dc2626;
}

.campus-france-logo .logo-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e40af;
}

.copyright-legal {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.legal-links {
    display: flex;
    gap: 0.5rem;
    font-size: 0.7rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: white;
}

.separator {
    color: rgba(255, 255, 255, 0.5);
}

.scroll-to-top {
    display: flex;
    justify-content: flex-end;
}

.scroll-btn {
    width: 40px;
    height: 40px;
    background: #1e40af;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-btn:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

/* Responsive adjustments for partners and footer */
@media (max-width: 768px) {
    .partners-title {
        font-size: 2rem;
    }
    
    .french-flag-icon {
        position: static;
        margin-top: 1rem;
    }
    
    .partner-logo {
        height: 100px;
    }
    
    .etudiant-text {
        font-size: 1.2rem;
    }
    
    .af-script {
        font-size: 1.5rem;
    }
    
    .institut-text,
    .francais-text {
        font-size: 1rem;
    }
    
    .official-logos {
        flex-direction: column;
        gap: 1rem;
    }
    
    .copyright-legal {
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .scroll-to-top {
        justify-content: center;
    }
}

/* ===== SECTION ACTUALITÉS ===== */
.news-card {
    transition: all 0.3s ease;
    border-left: 4px solid transparent !important;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.news-card.border-info:hover {
    border-left-color: #0dcaf0 !important;
}

.news-card.border-primary:hover {
    border-left-color: #0d6efd !important;
}

.news-card.border-success:hover {
    border-left-color: #198754 !important;
}

.portrait-placeholder {
    background: linear-gradient(135deg, #0dcaf0, #6f42c1);
    transition: all 0.3s ease;
}

.news-card:hover .portrait-placeholder {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(13, 202, 240, 0.3);
}

.erasmus-banner {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    position: relative;
    overflow: hidden;
}

.erasmus-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%) translateY(-100%); }
    50% { transform: translateX(100%) translateY(100%); }
}

.eiffel-logo {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.news-card:hover .eiffel-logo {
    border-color: #198754;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.2);
}

.eiffel-tower-icon {
    position: relative;
}

.eiffel-tower-icon::after {
    content: '🏆';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 0.8rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.news-meta {
    padding: 0.5rem 0;
    border-top: 1px solid #e9ecef;
    margin-top: 1rem;
}

.news-content h5 {
    color: #2c3e50;
    transition: color 0.3s ease;
}

.news-card:hover .news-content h5 {
    color: #0d6efd;
}

/* Responsive pour les cartes d'actualités */
@media (max-width: 768px) {
    .news-card {
        margin-bottom: 1.5rem;
    }
    
    .portrait-placeholder {
        width: 80px !important;
        height: 80px !important;
    }
    
    .erasmus-banner {
        padding: 1rem !important;
    }
    
    .eiffel-logo {
        padding: 1rem !important;
    }
}

/* ===== HERO SECTION CAMPUS FRANCE ===== */
.campus-hero-section {
    min-height: 100vh;
    overflow: hidden;
}

.campus-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../img/img1.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
}

.campus-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 2;
}

.campus-hero-text-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.campus-hero-text-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #6f42c1, #198754);
    border-radius: 20px 20px 0 0;
}

.campus-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.campus-hero-btn {
    background: rgba(45, 62, 80, 0.9);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.campus-hero-btn:hover {
    background: rgba(45, 62, 80, 1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: white;
}

.campus-hero-btn i {
    transition: transform 0.3s ease;
}

.campus-hero-btn:hover i {
    transform: translateX(5px);
}

.scroll-indicator {
    animation: bounce 2s ease-in-out infinite;
}

.scroll-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffc107, #ff8c00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    margin: 0 auto;
}

.scroll-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, #ffc107, transparent);
    margin: 10px auto 0;
    border-radius: 1px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive pour le hero Campus France */
@media (max-width: 768px) {
    .campus-hero-text-box {
        padding: 2rem;
        margin: 1rem;
        border-radius: 15px;
    }
    
    .campus-hero-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .campus-hero-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .scroll-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .scroll-line {
        height: 20px;
    }
}

@media (max-width: 576px) {
    .campus-hero-title {
        font-size: 1.5rem;
    }
    
    .campus-hero-text-box {
        padding: 1.5rem;
    }
}

/* Admin Styles */
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin: 0.25rem 0.5rem;
}

.sidebar .nav-link:hover {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

.sidebar .nav-link.active {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

.sidebar .nav-link i {
    width: 20px;
}

main {
    margin-left: 0;
}

@media (min-width: 768px) {
    main {
        margin-left: 240px;
    }
}

/* Admin Cards */
.admin-card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: box-shadow 0.15s ease-in-out;
}

.admin-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Admin Tables */
.table-responsive {
    border-radius: 0.375rem;
}

.table th {
    border-top: none;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table td {
    vertical-align: middle;
    font-size: 0.9rem;
}

/* Admin Badges */
.badge {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Admin Buttons */
.btn-group .btn {
    border-radius: 0.25rem;
    margin: 0 1px;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

/* Admin Modals */
.modal-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

/* Admin Forms */
.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Admin Pagination */
.pagination {
    margin-top: 1rem;
}

.page-link {
    color: #007bff;
    border-color: #dee2e6;
}

.page-link:hover {
    color: #0056b3;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
}

/* Admin Alerts */
.alert {
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
}

.alert-warning {
    background-color: #fff3cd;
    color: #664d03;
}

.alert-info {
    background-color: #cff4fc;
    color: #055160;
}

/* Admin Responsive */
@media (max-width: 768px) {
    .sidebar {
        position: static;
        height: auto;
        padding: 0;
    }
    
    main {
        margin-left: 0;
    }
    
    .table-responsive {
        font-size: 0.8rem;
    }
    
    .btn-group .btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }
}
