:root {
    --primary-color: #009639; /* Vert du drapeau sénégalais */
    --secondary-color: #f7d618; /* Jaune du drapeau sénégalais */
    --tertiary-color: #ce1126; /* Rouge du drapeau sénégalais */
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f5f5f5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.informations-pratiques{
    font-family: 'Roboto', serif;

}

.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-color);
}

.navbar-brand span {
    color: var(--tertiary-color);
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.hero {
    background-size: cover;
    height: 500px;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn-custom-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-custom-primary:hover {
    background-color: #007c30;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 150, 57, 0.3);
}

.btn-custom-secondary {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-custom-secondary:hover {
    background-color: #e6c40f;
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(247, 214, 24, 0.3);
}

.search-bar {
    background-color: white;
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: -30px;
    position: relative;
    z-index: 100;
}

.search-bar .form-control {
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
}

.search-bar .form-control:focus {
    box-shadow: none;
}

.category-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.category-card i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.category-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.section-title h2:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    background-color: var(--primary-color);
}

.school-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s;
    height: 100%;
}

.school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.school-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.school-card-body {
    padding: 20px;
}

.school-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.school-card-location {
    color: var(--gray-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.school-card-location i {
    margin-right: 8px;
    color: var(--primary-color);
}

.school-card-features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.school-card-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
}

.school-card-feature i {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.scholarship-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2px;
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s;
}

.scholarship-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.scholarship-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.scholarship-card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: var(--gray-color);
    font-size: 14px;
}

.scholarship-card-meta div {
    display: flex;
    align-items: center;
}

.scholarship-card-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.home_bourse h1,
.home_bourse h2,
.home_bourse h3,
.home_bourse h4,
.home_bourse h5,
.home_bourse h6 {
    font-size: 16px;
}

.badge-custom {
    background-color: #e9f7ef;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 5px;
}

.news-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    height: 100%;
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.news-card-body {
    padding: 20px;
}

.news-card-date {
    color: var(--gray-color);
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.news-card-date i {
    margin-right: 5px;
    color: var(--primary-color);
}

.news-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-card-text {
    color: var(--gray-color);
    margin-bottom: 15px;
    font-size: 14px;
}

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

footer .footer-title {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 600;
}

footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-links li {
    margin-bottom: 15px;
}

footer .footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

footer .footer-links a:hover {
    color: white;
    padding-left: 5px;
}

footer .footer-links i {
    margin-right: 10px;
    color: var(--primary-color);
}

footer .footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 10px;
    transition: all 0.3s;
}

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

.contact-info {
    margin-bottom: 20px;
}

.contact-info div {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
    margin-top: 5px;
}


.burger-menu {
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
}

.burger-line {
    width: 100%;
    height: 4px;
    background-color: #000;
    position: absolute;
    transition: all 0.3s ease;
}

.burger-line:nth-child(1) {
    top: 0;
}

.burger-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.burger-line:nth-child(3) {
    bottom: 0;
}

.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.active .burger-line:nth-child(2) {
    opacity: 0;
}

.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}


/* Responsive fixes */
@media (max-width: 768px) {
    .hero {
        height: 400px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .search-bar {
        margin: -20px 20px 0;
    }
}



.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/api/placeholder/1200/300') no-repeat center center;
    background-size: cover;
    padding: 80px 0;
    color: white;
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header .breadcrumb {
    background: transparent;
    display: inline-flex;
    margin-bottom: 0;
}

.page-header .breadcrumb-item, 
.page-header .breadcrumb-item a {
    color: #fff;
}

.page-header .breadcrumb-item.active {
    color: var(--secondary-color);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: #fff;
}

.filter-box {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.filter-box h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.filter-box .form-check {
    margin-bottom: 10px;
}

.filter-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover {
    background-color: #007c30;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 150, 57, 0.3);
}

.reset-btn {
    background-color: transparent;
    color: var(--dark-color);
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
}

.reset-btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
}

.concours-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s;
}

.concours-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.concours-card-header {
    position: relative;
    padding: 20px;
    background-color: var(--primary-color);
    color: white;
}

.concours-card-status {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-ouvert {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.status-cloture {
    background-color: var(--tertiary-color);
    color: white;
}

.status-bientot {
    background-color: #17a2b8;
    color: white;
}

.concours-card-title {
    font-size: 20px;
    margin-bottom: 5px;
    padding-right: 80px;
}

.concours-card-school {
    font-size: 14px;
    opacity: 0.9;
}

.concours-card-body {
    padding: 20px;
}

.concours-card-deadline {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.concours-card-deadline i {
    font-size: 24px;
    margin-right: 15px;
    color: var(--primary-color);
}

.deadline-date {
    font-size: 18px;
    font-weight: 600;
}

.deadline-countdown {
    font-size: 14px;
    color: var(--gray-color);
}

.concours-card-info {
    margin-bottom: 20px;
}

.concours-card-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.concours-card-info-item i {
    color: var(--primary-color);
    font-size: 16px;
    width: 25px;
    margin-right: 10px;
}

.concours-card-desc {
    color: var(--gray-color);
    margin-bottom: 20px;
    font-size: 14px;
}

.concours-detail-box {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.concours-detail-header {
    background-color: var(--primary-color);
    color: white;
    padding: 30px;
    position: relative;
}

.concours-detail-status {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.concours-detail-title {
    font-size: 28px;
    margin-bottom: 10px;
    margin-right: 100px;
}

.concours-detail-school {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.concours-detail-meta {
    display: flex;
    flex-wrap: wrap;
}

.concours-detail-meta-item {
    display: flex;
    align-items: center;
    margin-right: 30px;
    margin-bottom: 10px;
}

.concours-detail-meta-item i {
    font-size: 20px;
    margin-right: 10px;
}

.concours-detail-body {
    padding: 30px;
}

.concours-detail-section {
    margin-bottom: 30px;
}

.concours-detail-section-title {
    font-size: 22px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.concours-detail-section-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Format pour le contenu Markdown */
.concours-detail-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.concours-detail-section ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.concours-detail-section ul li:before {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
    font-size: 14px;
}

.concours-detail-section h1, h2 {
    font-size: 22px;
}

.concours-detail-section h3 {
    font-size: 20px;
}

.concours-detail-section h4 {
    font-size: 19px;
}

.concours-detail-section h5 {
    font-size: 18px;
}

.concours-detail-section h6 {
    font-size: 16px;
}

.concours-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.concours-detail-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.concours-detail-list li:before {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
    font-size: 14px;
}

.timeline {
    position: relative;
    padding-left: 45px;
    margin-bottom: 30px;
}

.timeline:before {
    content: "";
    position: absolute;
    left: 15px;
    top: 15px;
    bottom: 15px;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:before {
    content: "";
    position: absolute;
    left: -30px;
    top: 15px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.timeline-date {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.timeline-content {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
}

.timeline-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.badge-custom {
    background-color: #e9f7ef;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
}

.pagination .page-item .page-link {
    color: var(--primary-color);
    border-radius: 5px;
    margin: 0 3px;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}



.btn-custom-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-custom-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 150, 57, 0.3);
}

.custom-switch .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.custom-switch .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 150, 57, 0.25);
}

.search-box {
    background-color: var(--light-color);
    border-radius: 50px;
    padding: 5px;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.search-box input {
    border: none;
    background: transparent;
    padding: 10px 15px;
    flex: 1;
    min-width: 0; /* important pour éviter de forcer la largeur */
}

.search-box input:focus {
    outline: none;
}

.search-box button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0; /* empêche le bouton de rétrécir */
}

.search-box button:hover {
    background-color: #007c30;
    transform: scale(1.05);
}

.stats-box {
    text-align: center;
    margin-bottom: 30px;
}

.stats-box .stats-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stats-box .stats-label {
    color: var(--dark-color);
    font-weight: 500;
}

.quick-filter-btn {
    background-color: white;
    color: var(--dark-color);
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 8px 15px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    transition: all 0.3s;
}

.quick-filter-btn.active,
.quick-filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.section-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.section-tab .nav-item {
    margin: 0 5px;
}

.section-tab .nav-link {
    background-color: white;
    color: var(--dark-color);
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
}

.section-tab .nav-link.active,
.section-tab .nav-link:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 150, 57, 0.3);
}

.subject-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.subject-card-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.subject-card-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.subject-card-coefficient {
    font-weight: 600;
}

.subject-card-duration {
    color: var(--gray-color);
}

.requirement-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.requirement-card:hover {
    background-color: #e9f7ef;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.requirement-card-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.sidebar-title {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.sidebar-contact {
    background-color: #e9f7ef;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.sidebar-contact-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.sidebar-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.sidebar-contact-item i {
    color: var(--primary-color);
    font-size: 18px;
    margin-right: 10px;
    margin-top: 3px;
}

.sidebar-announce {
    background-color: #fff3cd;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    border-left: 5px solid var(--secondary-color);
}

.sidebar-announce-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #856404;
}

.related-concours {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.related-concours:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.related-concours-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
}

.related-concours-title {
    font-size: 16px;
    margin-bottom: 0;
}

.related-concours-body {
    padding: 15px;
}

.related-concours-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray-color);
    font-size: 14px;
    margin-bottom: 15px;
}

.related-concours-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.related-concours-link:hover {
    color: #007c30;
}



.reset-btn {
    background-color: transparent;
    color: var(--dark-color);
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
}

.reset-btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
}



.school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.school-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.school-card-type {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    color: white;
    font-weight: 500;
    font-size: 12px;
}

.type-public {
    background-color: var(--primary-color);
}

.type-private {
    background-color: var(--tertiary-color);
}

.school-card-body {
    padding: 20px;
}

.school-card-location {
    color: var(--gray-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.school-card-location i {
    margin-right: 8px;
    color: var(--primary-color);
}

.school-card-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
}

.school-card-feature i {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.school-card-desc {
    color: var(--gray-color);
    margin-bottom: 5px;
    font-size: 14px;
    height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.badge-custom {
    background-color: #e9f7ef;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
}

.pagination .page-item .page-link {
    color: var(--primary-color);
    border-radius: 5px;
    margin: 0 3px;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .filter-box {
        margin-bottom: 20px;
    }

    .quick-filter-btn {
        margin-bottom: 10px;
    }
}

/* Pages d'erreur */
.error-page {
    padding: 60px 0;
}

.error-icon {
    opacity: 0.8;
}

.error-code {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-title {
    font-weight: 600;
    color: var(--dark-color);
}

.suggested-actions {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
}

.suggested-actions ul li {
    transition: all 0.3s ease;
}

.suggested-actions ul li:hover {
    transform: translateX(5px);
}

.error-actions .btn {
    min-width: 160px;
    padding: 12px 20px;
    font-weight: 500;
}

/* Animation pour les icônes */
.error-icon i {
    animation: pulse 2s infinite;
}

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