/* circuitsmauritanie.css */
.page-header {
    background: linear-gradient(135deg, #025920, #1CA658);
    color: white;
    padding: 140px 0 60px;
    text-align: center;
    margin-top: 0;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.circuits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
}

.circuit-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

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

.circuit-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.circuit-content {
    padding: 1.5rem;
}

.circuit-title {
    font-size: 1.4rem;
    color: #025920;
    margin-bottom: 0.5rem;
}

.circuit-duration {
    display: inline-block;
    background: #F1A92120;
    color: #F1A921;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0.75rem 0;
}

.circuit-desc {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.btn-details {
    background: #025920;
    color: white;
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
}

.btn-details:hover {
    background: #F1A921;
    color: #025920;
}