/* Accordion personnalisé */
.accordion-button {
    font-size: 1rem;
    padding: 1rem 1.25rem;
    background-color: #f8fafc;
    border: none;
}

/* About Hero */
.about-hero {
    position: relative;
    min-height: 11vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.1rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.35;
    pointer-events: none;
}

.about-hero .container {
    position: relative;
    z-index: 1;
}

.about-hero .hero-title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about-hero .hero-subtitle {
    font-size: 1rem;
    opacity: 0.95;
}

.accordion-button:not(.collapsed) {
    background-color: #3b82f6;
    color: white;
    box-shadow: none;
}

.accordion-button:not(.collapsed) .badge {
    background-color: white !important;
    color: #3b82f6 !important;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-body {
    background-color: #ffffff;
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

/* Triple Cards Uniform - 3 encadrés OUFF 🔥 */
.triple-card-uniform {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
    min-height: 550px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.triple-card-uniform:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.triple-block {
    flex: 1;
}

.triple-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.triple-icon-circle--blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

.triple-icon-circle--purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.triple-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.triple-text {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Value Mini Boxes - Card 2 */
.value-mini-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.value-mini-box:hover {
    background: #e0f2fe;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.value-mini-icon {
    font-size: 2.25rem;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.value-mini-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.value-mini-text {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Partner Cards - 2 encadrés côte à côte */
.partner-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3b82f6 0%, #06b6d4 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.partner-card:hover::before {
    transform: scaleX(1);
}

.partner-flag {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.partner-logo-container {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.partner-logo {
    max-height: 80px;
    max-width: 200px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.partner-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.partner-description {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.partner-badge-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.partner-badge-teal {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

/* Pédagogie Special - Card 3 */
.triple-card-pedagogy-special {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
}

.pedagogy-header-special {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pedagogy-title-special {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.pedagogy-flags-special {
    font-size: 1.3rem;
}

.pedagogy-subtitle-special {
    font-size: 0.75rem;
    color: white;
    opacity: 0.9;
    letter-spacing: 1px;
    margin: 0;
}

.pedagogy-photo-special {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #fbbf24;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.pedagogy-photo-special img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pedagogy-quote-special {
    border-left: 4px solid #fbbf24;
    padding-left: 1rem;
    margin: 1.5rem 0;
}

.pedagogy-quote-text {
    font-size: 0.9rem;
    line-height: 1.6;
    font-style: italic;
    color: white;
    margin: 0;
}

.pedagogy-author-special {
    text-align: center;
    margin-top: 1.5rem;
}

.pedagogy-name-special {
    font-size: 1rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.25rem;
}

.pedagogy-role-special {
    font-size: 0.85rem;
    color: white;
    opacity: 0.9;
    margin: 0;
}

/* Mission Cards - Dual Layout (BACKUP) */
.mission-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

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

.mission-section {
    position: relative;
}

.mission-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.mission-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.mission-text {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* Value Compact Boxes */
.value-compact-box {
    background: #f8fafc;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.value-compact-box:hover {
    background: #e0f2fe;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.value-compact-icon {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 0.75rem;
}

.value-compact-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.value-compact-text {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Campus Compact Cards */
.campus-compact-card {
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 3px solid #3b82f6;
}

.about-campus-map-card {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-campus-map-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.campus-compact-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.campus-flag-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.campus-flag-circle--ma {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.campus-flag-circle--sn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.campus-flag-circle--cg {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
}

/* Partners section */
.about-partners-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.about-partners-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
}

.about-partners-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

/* History block */
.about-history-card {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-history-icon {
    font-size: 8rem;
    margin-bottom: 1rem;
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.team-card-compact .team-img-wrapper {
    height: 200px;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h4,
.team-info h5 {
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.team-contact {
    margin-top: 1rem;
}
