/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00152c;
    --secondary-color: #E31B23;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --gray-color: #666666;
    --success-color: #E31B23;
    --white: #ffffff;
    --blue: #003D82;
    --red: #E31B23;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
    --transition: 0.3s ease-in-out;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #e8e8e8;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* ===== ANIMATIONS KEYFRAMES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulseLight {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}

@keyframes borderGlow {
    0% {
        border-color: transparent;
    }

    50% {
        border-color: rgba(227, 27, 35, 0.3);
    }

    100% {
        border-color: transparent;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes textSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scaleY(0.8);
    }

    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    background-color: #d3d3d3;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 6px solid;
    border-image: linear-gradient(to right, #00152c 0%, #E31B23 50%, #888888 100%) 1;
    overflow: visible !important;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    overflow: visible;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.5px;
    animation: fadeInDown 0.6s ease-out;
}

.navbar {
    flex: 1;
    display: flex;
    justify-content: center;
    overflow: visible;
    z-index: 999;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    overflow: visible;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #E31B23;
    transition: width var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.menu-toggle:hover span {
    background-color: var(--secondary-color);
}

/* ===== DROPDOWN MENU ===== */
.nav-item-dropdown {
    position: relative;
    z-index: 999;
}

.nav-item-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-item-dropdown > a i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 320px;
    list-style: none;
    padding: 0.8rem 0;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 21, 44, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) !important;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease !important;
    z-index: 1000;
    margin-top: 0.5rem;
    max-height: 80vh;
    overflow-y: auto;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.5rem;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.dropdown-menu a i {
    color: var(--secondary-color);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
    border-left-color: var(--secondary-color);
    color: var(--primary-color);
}

.dropdown-menu a:hover i {
    transform: scale(1.2);
}

.dropdown-menu a::after {
    display: none;
}

.nav-item-dropdown:hover > a::after {
    width: 100%;
}

/* ===== RESPONSIVE DROPDOWN FOR MOBILE ===== */
@media (max-width: 1024px) {
    .dropdown-menu {
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .nav-item-dropdown {
        position: static;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        min-width: 320px;
        list-style: none;
        padding: 0.8rem 0;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 21, 44, 0.15);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px) !important;
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease !important;
        z-index: 1000;
        margin-top: 0.5rem;
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-item-dropdown:hover .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    .dropdown-menu a {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .dropdown-menu a:hover {
        background-color: #f5f5f5;
        border-left-color: var(--secondary-color);
        color: var(--primary-color);
    }
}

@media (max-width: 480px) {
    .dropdown-menu {
        top: 110px;
        min-width: 240px;
        max-width: calc(100vw - 30px);
    }

    .dropdown-menu a {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
        gap: 0.6rem;
    }

    .dropdown-menu a i {
        font-size: 0.9rem;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #00152c 0%, #003D82 40%, #E31B23 70%, #1a1a1a 100%);
    color: var(--white);
    padding: 80px 20px 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

/* Slideshow en background du hero */
.hero-slideshow-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-slideshow-wrapper .slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slideshow-wrapper .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slideshow-wrapper .slide.active {
    opacity: 0.6;
    transform: scale(1);
    z-index: 1;
}

.hero-slideshow-wrapper .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Indicators pour le hero */
.hero .slideshow-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 5;
}

.hero .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.hero .dot.active {
    background-color: var(--secondary-color);
    width: 28px;
    border-radius: 6px;
}

.hero .dot:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 3rem;
    border-radius: 16px;
    backdrop-filter: blur(3px);
    background: rgba(0, 21, 44, 0.35);
    margin-top: 150px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    animation: textSlideUp 0.8s ease-out;
    animation-fill-mode: both;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: textSlideUp 0.8s ease-out 0.2s both;
    opacity: 0.95;
}

.hero-content .btn {
    animation: textSlideUp 0.8s ease-out 0.4s both;
}

/* ===== DIAGRAM MAP ===== */
.aerial-view-card {
    display: flex;
    flex-direction: column;
}

.diagram-map-container {
    width: 100%;
    height: 380px;
    margin: 15px 0;
    background: linear-gradient(135deg, #F5F9FC 0%, #E8F2F7 100%);
    border-radius: 12px;
    padding: 10px;
    box-sizing: border-box;
    border: 2px solid #D0D0D0;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

#diagramMap {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.landmark {
    transition: all 0.3s ease;
    cursor: pointer;
}

.landmark:hover {
    filter: brightness(1.15);
    stroke-width: 3;
}

.bamel-marker {
    animation: pulse-bamel 2s ease-in-out infinite;
}

@keyframes pulse-bamel {
    0%, 100% {
        r: 30;
        opacity: 1;
    }
    50% {
        r: 35;
        opacity: 0.8;
    }
}

/* ===== STATS SECTION ===== */
.stats-section {
    background-color: var(--light-color);
    padding: 60px 20px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.stat {
    background: white;
    padding: 2rem;
    border-radius: 14px;
    border-left: 6px solid var(--primary-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    will-change: transform, box-shadow;
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    transition: left 0.5s ease;
}

.stat:hover::before {
    left: 100%;
}

.stat:nth-child(1) {
    animation-delay: 0.1s;
    border-left-color: #00152c;
}

.stat:nth-child(1):hover {
    border-left-color: #E31B23;
}

.stat:nth-child(2) {
    animation-delay: 0.2s;
    border-left-color: #E31B23;
}

.stat:nth-child(2):hover {
    border-left-color: #00152c;
}

.stat:nth-child(3) {
    animation-delay: 0.3s;
}

.stat:nth-child(4) {
    animation-delay: 0.4s;
}

.stat:hover {
    box-shadow: 0 16px 45px rgba(227, 27, 35, 0.15);
    transform: translateY(-8px);
    border-left-color: var(--secondary-color);
}

.stat h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 13px 32px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003355 100%);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(0, 21, 44, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E31B23 0%, #cc1620 100%);
    box-shadow: 0 10px 28px rgba(227, 27, 35, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #d3d3d3;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 21, 44, 0.08);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(0, 21, 44, 0.25);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ===== HERO SECTION FULL ===== */
.hero-section-full {
    padding: 60px 20px;
    background-color: #d3d3d3;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content-v2 {
    z-index: 1;
}

.hero-content-v2 h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.hero-content-v2 p {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.hero-content-v2 .btn {
    display: inline-block;
    margin-top: 1rem;
}

.hero-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.image-placeholder-large {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052a3 100%);
    border-radius: 16px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 21, 44, 0.15);
    text-align: center;
    padding: 2rem;
    transition: all var(--transition);
    gap: 1rem;
    animation: scaleIn 0.6s ease-out;
}

.image-placeholder-large i {
    font-size: 3.5rem;
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

.image-placeholder-large:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 21, 44, 0.3);
}

.image-frame {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 21, 44, 0.15);
    background-color: #f0f0f0;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content-v2 h2 {
        font-size: 1.8rem;
    }

    .hero-images {
        grid-template-columns: 1fr;
    }

    .image-placeholder-large {
        height: 250px;
    }
}

/* ===== QUICK ACCESS SECTION ===== */
.quick-access {
    padding: 80px 20px;
    background: linear-gradient(135deg, #d3d3d3 0%, #c0c0c0 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-weight: 700;
    animation: fadeInDown 0.6s ease-out;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    border-radius: 2px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.quick-card {
    background: #d3d3d3;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-top: 4px solid var(--primary-color);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    position: relative;
}

.quick-card:nth-child(1) {
    animation-delay: 0.1s;
}

.quick-card:nth-child(2) {
    animation-delay: 0.2s;
}

.quick-card:nth-child(3) {
    animation-delay: 0.3s;
}

.quick-card:nth-child(4) {
    animation-delay: 0.4s;
}

.quick-card:hover {
    transform: translateY(-14px);
    box-shadow: 0 18px 50px rgba(227, 27, 35, 0.18);
    border-top: 4px solid var(--secondary-color);
}

.icon-box {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1.5rem;
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: scaleIn 0.6s ease-out 0.2s both;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.quick-card:hover .icon-box {
    transform: scale(1.2) rotate(-5deg);
    filter: drop-shadow(0 6px 16px rgba(227, 27, 35, 0.25));
}

.icon-box.blue {
    background-color: rgba(0, 61, 130, 0.1);
    color: var(--primary-color);
}

.icon-box.orange {
    background-color: rgba(227, 27, 35, 0.1);
    color: var(--secondary-color);
}

.icon-box.dark-blue {
    background-color: rgba(0, 82, 163, 0.1);
    color: #0052a3;
}

.icon-box i {
    color: inherit;
    font-size: inherit;
}

.icon-box.blue i {
    color: var(--primary-color);
}

.icon-box.orange i {
    color: var(--secondary-color);
}

.quick-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 600;
}

.quick-card p {
    font-size: 1rem;
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition);
    position: relative;
}

.btn-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.4s ease-out;
}

.btn-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.btn-link:hover::after {
    width: 100%;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052a3 100%);
    color: var(--white);
    text-align: center;
    animation: fadeInDown 0.8s ease-out;
}

.cta-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    animation: slideInLeft 0.8s ease-out;
}

.cta-banner .btn {
    margin-top: 1rem;
}

/* ===== VALUE PROPOSITION ===== */
.value-proposition {
    padding: 80px 20px;
    background-color: var(--light-color);
}

.value-proposition h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 3rem;
}

.value-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: #d3d3d3;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-top: 4px solid var(--primary-color);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    transition: left 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card:nth-child(1) {
    animation-delay: 0.1s;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.3s;
}

.card:nth-child(4) {
    animation-delay: 0.4s;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 18px 50px rgba(227, 27, 35, 0.2);
    border-top: 4px solid var(--secondary-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 3px 8px rgba(227, 27, 35, 0.15));
}

.card:hover .card-icon {
    transform: scale(1.25) rotate(-8deg);
    filter: drop-shadow(0 6px 14px rgba(227, 27, 35, 0.3));
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.card p {
    color: var(--gray-color);
    line-height: 1.6;
}

/* ===== FORMATIONS SECTION ===== */
.formations {
    padding: 80px 20px;
    background-color: #d3d3d3;
}

.formations h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.formation-item {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all var(--transition);
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.formation-item:nth-child(1) {
    animation-delay: 0.1s;
}

.formation-item:nth-child(2) {
    animation-delay: 0.2s;
}

.formation-item:nth-child(3) {
    animation-delay: 0.3s;
}

.formation-item:nth-child(4) {
    animation-delay: 0.4s;
}

.formation-item:hover {
    border-color: var(--secondary-color);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 21, 44, 0.15);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.formation-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.formation-item p {
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 80px 20px;
    background-color: var(--light-color);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
    line-height: 1.8;
}

.about-text h4 {
    font-size: 1.3rem;
    margin: 2rem 0 1.5rem;
    color: var(--primary-color);
}

.values-list {
    list-style: none;
}

.values-list li {
    padding: 0.8rem 0;
    color: var(--gray-color);
    border-bottom: 1px solid #ddd;
}

.values-list li:last-child {
    border-bottom: none;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    height: 300px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 8px 24px rgba(0, 21, 44, 0.15);
    gap: 1rem;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 80px 20px;
    background-color: #d3d3d3;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border: 3px solid #ddd;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
    border-top: 5px solid #00152c;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
    border-top: 5px solid #E31B23;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
    border-top: 5px solid #888888;
}

.service-card:nth-child(4) {
    animation-delay: 0.4s;
    border-top: 5px solid #00152c;
}

.service-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(0, 21, 44, 0.15);
    background: linear-gradient(to bottom, rgba(227, 27, 35, 0.05), transparent);
    transform: translateY(-8px) scale(1.02);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card h3 i {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.service-card p {
    color: var(--gray-color);
    line-height: 1.6;
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-us {
    padding: 80px 20px;
    background-color: #d3d3d3;
}

.why-choose-us .section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: -1px;
}

.why-choose-us .subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.benefit-card {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-slow);
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    animation: slideInUp 0.6s ease-out backwards;
    position: relative;
    overflow: hidden;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefit-card:nth-child(6) { animation-delay: 0.6s; }

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
    z-index: 1;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 16px 40px rgba(227, 27, 35, 0.12);
    border-color: var(--secondary-color);
    background: #d3d3d3;
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.benefit-card p {
    font-size: 1.05rem;
    color: var(--gray-color);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ===== FORMATIONS GALLERY SECTION ===== */
.formations-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    animation: slideInUp 0.6s ease-out;
}

.formation-gallery-card {
    background: #d3d3d3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-slow);
    border: 2px solid transparent;
    animation: slideInUp 0.6s ease-out backwards;
}

.formation-gallery-card:nth-child(1) { animation-delay: 0.1s; }
.formation-gallery-card:nth-child(2) { animation-delay: 0.2s; }
.formation-gallery-card:nth-child(3) { animation-delay: 0.3s; }
.formation-gallery-card:nth-child(4) { animation-delay: 0.4s; }
.formation-gallery-card:nth-child(5) { animation-delay: 0.5s; }
.formation-gallery-card:nth-child(6) { animation-delay: 0.6s; }

.formation-gallery-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 40px rgba(227, 27, 35, 0.15);
    border-color: var(--secondary-color);
}

.formation-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052a3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.formation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
    filter: brightness(1) contrast(1) saturate(1);
}

.formation-gallery-card:hover .formation-image img {
    transform: scale(1.18) rotate(-1deg);
    filter: brightness(1.15) contrast(1.2) saturate(1.1);
}

.formation-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(227, 27, 35, 0);
    transition: background 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.formation-gallery-card:hover .formation-image::before {
    background: rgba(227, 27, 35, 0.2);
}

.formation-video-container {
    width: 100%;
    height: 480px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}

.formation-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.formation-info {
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.formation-info h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.formation-info p {
    font-size: 0.95rem;
    color: var(--gray-color);
    line-height: 1.6;
}

.formations-cta-gallery {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 21, 44, 0.05) 0%, rgba(227, 27, 35, 0.05) 100%);
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary-color);
}

.formations-cta-gallery p {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.formations-cta-gallery .btn {
    animation: slideInUp 0.6s ease-out 0.2s both;
}

/* ===== TENUES GALLERY SECTION ===== */
.tenues-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

@media (max-width: 768px) {
    .tenues-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .tenues-gallery-grid {
        grid-template-columns: 1fr;
    }
}

.tenue-gallery-card {
    background: #d3d3d3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    animation: slideInUp 0.6s ease-out backwards;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tenue-gallery-card:nth-child(1) { animation-delay: 0.1s; }
.tenue-gallery-card:nth-child(2) { animation-delay: 0.2s; }
.tenue-gallery-card:nth-child(3) { animation-delay: 0.3s; }
.tenue-gallery-card:nth-child(4) { animation-delay: 0.4s; }
.tenue-gallery-card:nth-child(5) { animation-delay: 0.5s; }
.tenue-gallery-card:nth-child(6) { animation-delay: 0.6s; }

.tenue-gallery-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 18px 50px rgba(227, 27, 35, 0.2);
    border-color: var(--secondary-color);
}

.tenue-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052a3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .tenue-image {
        height: 240px;
    }
}

.tenue-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
    filter: brightness(1) contrast(1) saturate(1);
}

.tenue-gallery-card:hover .tenue-image img {
    transform: scale(1.18) rotate(-1deg);
    filter: brightness(1.15) contrast(1.2) saturate(1.1);
}

.tenue-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(227, 27, 35, 0);
    transition: background 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.tenue-gallery-card:hover .tenue-image::before {
    background: rgba(227, 27, 35, 0.2);
}

.tenue-info {
    padding: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tenue-info h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tenue-info p {
    font-size: 0.95rem;
    color: var(--gray-color);
    line-height: 1.6;
}

/* ===== CAMPUS SECTION ===== */
.campus {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
    animation: slideInUp 0.6s ease-out;
}

.campus-item {
    background: #d3d3d3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-slow);
    animation: slideInUp 0.6s ease-out backwards;
}

.campus-item:nth-child(1) { animation-delay: 0.1s; }
.campus-item:nth-child(2) { animation-delay: 0.2s; }
.campus-item:nth-child(3) { animation-delay: 0.3s; }
.campus-item:nth-child(4) { animation-delay: 0.4s; }

.campus-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 16px 40px rgba(227, 27, 35, 0.15);
}

.campus-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
    display: block;
    filter: brightness(1) contrast(1);
}

.campus-item:hover img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.1) contrast(1.1);
}

.campus-item h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 1.5rem 1.5rem 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.campus-item p {
    font-size: 1rem;
    color: var(--gray-color);
    margin: 0 1.5rem 1.5rem;
    line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 80px 20px;
    background-color: var(--light-color);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: #d3d3d3;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--secondary-color);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 15px;
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial:nth-child(3) {
    animation-delay: 0.3s;
}

.testimonial:hover {
    box-shadow: 0 16px 45px rgba(227, 27, 35, 0.15);
    transform: translateY(-10px) scale(1.02);
    border-left-color: var(--primary-color);
}

.quote {
    font-style: italic;
    color: var(--gray-color);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.author {
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.cta-section h2 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
    animation: slideInRight 0.8s ease-out;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 80px 20px;
    background-color: #d3d3d3;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-item p {
    color: var(--gray-color);
    line-height: 1.7;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 16px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    background: rgba(255, 255, 255, 0.95);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
    transition: color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(227, 27, 35, 0.15), inset 0 0 0 2px rgba(227, 27, 35, 0.05);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.contact-form button {
    align-self: flex-start;
    margin-top: 0.5rem;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #00152c 0%, #1a1a2e 50%, #2a2a3e 100%);
    color: var(--white);
    animation: fadeInDown 1s ease-out;
    border-top: 6px solid;
    border-image: linear-gradient(to right, #E31B23 0%, #00152c 50%, #888888 100%) 1;
    margin-top: auto;
    width: 100%;
}

.footer-top {
    padding: 40px 20px;
    background: linear-gradient(135deg, #00152c 0%, #1a1a2e 50%, #2a2a3e 100%);
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Footer Logo Section */
.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: #bbb;
    font-style: italic;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.95rem;
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Social Links Footer */
.social-links-footer {
    display: flex;
    gap: 1rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #d3d3d3 0%, #c0c0c0 100%);
    color: #E31B23;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    position: relative;
    border: 2px solid #E31B23;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-btn:hover::before {
    opacity: 1;
}

.social-btn:hover {
    background: linear-gradient(135deg, #003D82 0%, #001a3d 100%);
    color: #ffffff;
    transform: translateY(-8px) scale(1.15) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0, 61, 130, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    border: 2px solid #001a3d;
}

/* Footer Section Styling */
.footer-section {
    animation: fadeInUp 0.6s ease-out;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--white);
    position: relative;
    padding-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-section p {
    color: #aaa;
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section a {
    color: #aaa;
    text-decoration: none;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.footer-section a i {
    color: var(--secondary-color);
    transition: all var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-section a:hover i {
    transform: translateX(3px);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item i {
    color: var(--secondary-color);
    width: 24px;
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.info-item p {
    color: #aaa;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-item strong {
    color: var(--white);
    font-weight: 600;
}

/* Certifications Section */
.certifications {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.cert-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, #E31B23 0%, #c41818 100%);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 80px;
    box-shadow: 0 4px 15px rgba(227, 27, 35, 0.2);
}

.cert-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(227, 27, 35, 0.3);
}

.cert-badge i {
    color: #ffffff;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.cert-badge span {
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Footer Divider */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 0;
    width: 100%;
}

/* Footer Bottom */
.footer-bottom {
    background: linear-gradient(135deg, rgba(10, 15, 29, 0.95) 0%, rgba(0, 21, 44, 0.95) 100%);
    padding: 2rem 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer-bottom p {
    color: #aaa;
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
}

.footer-bottom ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .footer-bottom ul {
        gap: 1rem;
        flex-direction: column;
    }
    
    .footer-bottom p {
        margin-bottom: 1.5rem;
    }
}

.footer-bottom a {
    color: #aaa;
    text-decoration: none;
    transition: color var(--transition);
    font-size: 0.9rem;
}

.footer-bottom a:hover {
    color: var(--secondary-color);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright {
    flex: 1 1 auto;
    text-align: left;
}

.legal-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .copyright {
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ===== LOGO & TAGLINE ===== */
.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tagline {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 0.2rem;
    letter-spacing: 0.3px;
}

/* ===== FORMATIONS PAGE ===== */
.formations-page {
    padding: 80px 20px;
    background-color: #d3d3d3;
}

.formations-page h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 3rem;
}

.formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.formation-card {
    background: #d3d3d3;
    border: 2px solid #e0e0e0;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    position: relative;
    overflow: hidden;
}

.formation-card::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    transition: all 0.5s ease;
}

.formation-card:hover::after {
    bottom: 0;
}

.formation-card:nth-child(1) {
    animation-delay: 0.1s;
}

.formation-card:nth-child(2) {
    animation-delay: 0.2s;
}

.formation-card:nth-child(3) {
    animation-delay: 0.3s;
}

.formation-card:nth-child(4) {
    animation-delay: 0.4s;
}

.formation-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 18px 50px rgba(227, 27, 35, 0.2);
    transform: translateY(-10px) scale(1.02);
}

.domain-icon {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    display: block;
    animation: scaleIn 0.6s ease-out;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 4px 8px rgba(227, 27, 35, 0.2));
}

.formation-card:hover .domain-icon {
    transform: scale(1.2) rotate(8deg);
    filter: drop-shadow(0 6px 12px rgba(227, 27, 35, 0.3));
}

.formation-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.formation-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.formation-card li {
    padding: 0.6rem 0;
    color: var(--gray-color);
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.formation-card li:last-child {
    border-bottom: none;
}

.level {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
}

.formations-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--blue));
    color: var(--white);
    padding: 4rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 21, 44, 0.2);
}

.formations-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.formations-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.formations-cta .btn {
    display: inline-block;
}

/* ===== AUTRES FORMATIONS SECTION ===== */
.other-formations-section {
    padding: 80px 20px;
    background-color: var(--light-color);
}

.other-formations-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.other-formations-section .subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 3rem;
}

.other-formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    animation: slideInUp 0.6s ease-out;
}

.formation-card-small {
    background: #d3d3d3;
    border: 2px solid #e0e0e0;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.formation-card-small::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    transition: all 0.5s ease;
}

.formation-card-small:hover::after {
    bottom: 0;
}

.formation-card-small:nth-child(1) {
    animation-delay: 0.1s;
}

.formation-card-small:nth-child(2) {
    animation-delay: 0.2s;
}

.formation-card-small:nth-child(3) {
    animation-delay: 0.3s;
}

.formation-card-small:nth-child(4) {
    animation-delay: 0.4s;
}

.formation-card-small:nth-child(5) {
    animation-delay: 0.5s;
}

.formation-card-small:nth-child(6) {
    animation-delay: 0.6s;
}

.formation-card-small:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 18px 50px rgba(227, 27, 35, 0.2);
    transform: translateY(-10px) scale(1.02);
}

.formation-card-small .domain-icon {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    display: block;
    animation: scaleIn 0.6s ease-out;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 4px 8px rgba(227, 27, 35, 0.2));
}

.formation-card-small:hover .domain-icon {
    transform: scale(1.2) rotate(8deg);
    filter: drop-shadow(0 6px 12px rgba(227, 27, 35, 0.3));
}

.formation-card-small h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    flex-grow: 1;
}

.formation-card-small p {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.formation-card-small .btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition);
    position: relative;
    display: inline-block;
    margin-top: auto;
}

.formation-card-small .btn-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.4s ease-out;
}

.formation-card-small .btn-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.formation-card-small .btn-link:hover::after {
    width: 100%;
}

/* ===== SLIDESHOW / CAROUSEL SECTION ===== */
.slideshow-section {
    padding: 80px 20px;
    background-color: var(--light-color);
}

.slideshow-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.slideshow-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 700;
    animation: fadeInDown 0.6s ease-out;
}

.slideshow-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 21, 44, 0.15);
    background-color: #d3d3d3;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--blue) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    padding: 2rem;
    gap: 1rem;
}

.slide-placeholder i {
    font-size: 4rem;
}

/* Slideshow Indicators (dots) */
.slideshow-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.dot.active {
    background-color: var(--secondary-color);
    width: 28px;
    border-radius: 6px;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* ===== FEATURED EVENT SECTION ===== */
.featured-event-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.featured-event-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 4rem;
    box-shadow: 0 10px 40px rgba(0, 21, 44, 0.15);
    border-left: 6px solid var(--secondary-color);
    animation: slideInUp 0.8s ease-out;
}

.featured-event-content {
    z-index: 1;
}

.featured-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), #ff5252);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    animation: slideInLeft 0.6s ease-out;
}

.featured-event-content h2 {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    animation: slideInLeft 0.6s ease-out 0.1s both;
}

.featured-event-content p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: slideInLeft 0.6s ease-out 0.2s both;
}

.featured-event-media {
    animation: slideInLeft 0.6s ease-out 0.3s both;
}

.featured-event-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 0.8s ease-out;
}

/* Media queries pour petit écran */
@media (max-width: 768px) {
    .featured-event-banner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .featured-event-image {
        order: -1;
        width: 100%;
    }
    
    .featured-event-image img {
        max-width: 100% !important;
    }
    
    .featured-event-content h2 {
        font-size: 1.8rem;
    }
    
    .featured-event-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .featured-event-banner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .featured-event-image {
        width: 100%;
    }
    
    .featured-event-content h2 {
        font-size: 1.5rem;
    }
    
    .featured-event-content p {
        font-size: 0.95rem;
    }
    
    .featured-event-section {
        padding: 40px 15px;
    }
}

.tv-screen-mock {
    position: relative;
    width: 100%;
    max-width: 350px;
}

.tv-frame {
    background: linear-gradient(to right, #1a1a1a 0%, #333 50%, #1a1a1a 100%);
    border-radius: 20px 20px 8px 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    aspect-ratio: 16 / 9;
    position: relative;
    border: 8px solid #222;
}

.tv-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 10;
}

.tv-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tv-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(227, 27, 35, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 11;
    box-shadow: 0 8px 20px rgba(227, 27, 35, 0.4);
}

.tv-play-button:hover {
    background: rgba(227, 27, 35, 1);
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 12px 30px rgba(227, 27, 35, 0.6);
}

.tv-stand {
    width: 60%;
    height: 30px;
    background: linear-gradient(to right, transparent 10%, #333 10%, #333 90%, transparent 90%);
    margin: 0 auto;
    border-radius: 0 0 15px 15px;
    position: relative;
    top: -3px;
}

.tv-stand::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 15px;
    background: #444;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    border-radius: 0 0 8px 8px;
}

/* ===== ACTUALITES SECTION ===== */
.actualites-section {
    padding: 80px 20px;
    background-color: #d3d3d3;
}

.actualites-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.actualites-section .subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 3rem;
}

.actualites-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    animation: slideInUp 0.8s ease-out;
}

.actualite-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.actualite-card:nth-child(1) { animation-delay: 0.1s; }
.actualite-card:nth-child(2) { animation-delay: 0.2s; }
.actualite-card:nth-child(3) { animation-delay: 0.3s; }
.actualite-card:nth-child(4) { animation-delay: 0.4s; }
.actualite-card:nth-child(5) { animation-delay: 0.5s; }
.actualite-card:nth-child(6) { animation-delay: 0.6s; }

.actualite-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(227, 27, 35, 0.2);
    border-color: var(--secondary-color);
}

.actualite-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    position: relative;
}

.actualite-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.8rem;
    color: white;
    font-weight: 600;
    transition: all 0.4s ease;
}

.actualite-card:hover .actualite-image-placeholder {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.actualite-image-placeholder i {
    font-size: 3rem;
}

.actualite-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.actualite-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.actualite-date i {
    font-size: 1rem;
}

.actualite-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0.5rem 0 0 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.actualite-card:hover .actualite-title {
    color: var(--secondary-color);
}

.actualite-content p {
    font-size: 1rem;
    color: var(--gray-color);
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
}

.actualite-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    width: fit-content;
}

.actualite-link i {
    transition: transform 0.3s ease;
}

.actualite-card:hover .actualite-link {
    color: var(--secondary-color);
    gap: 0.8rem;
}

.actualite-card:hover .actualite-link i {
    transform: translateX(3px);
}

/* ===== RESPONSIVE DESIGN ===== */
/* ===== RESPONSIVE DESIGN - TABLET & DESKTOP ===== */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }

    .hero h2 {
        font-size: 3.2rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .btn-large {
        padding: 16px 45px;
        font-size: 1.15rem;
    }

    .cards-container {
        gap: 2.5rem;
    }

    /* Hero Slideshow - Large Desktop */
    .hero {
        min-height: 650px;
    }

    .hero-content {
        padding: 3.5rem;
    }

    .hero h2 {
        font-size: 3.2rem;
    }
}

/* Regular Desktop (992px - 1199px) */
@media (max-width: 1199px) {
    .hero-stats {
        gap: 1.5rem;
    }

    .formations-grid {
        gap: 2rem;
    }

    .services-grid {
        gap: 1.8rem;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .header .container {
        padding: 0.8rem 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .navbar {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #d3d3d3;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        display: none;
        z-index: 99;
    }

    .nav-links li {
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links a {
        display: block;
        padding: 1rem 20px;
    }

    .navbar.active {
        display: block;
    }

    .navbar.active .nav-links {
        display: flex !important;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
    }

    .nav-links li {
        border-bottom: 1px solid #f0f0f0;
        position: relative;
    }

    .nav-links a {
        display: block;
        padding: 1rem 20px;
    }

    .nav-item-dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        transform: none !important;
        background: #f9f9f9;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
        border-radius: 0;
    }

    .nav-item-dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 0.5rem 0;
        transform: none !important;
    }

    .dropdown-menu a {
        padding: 0.8rem 20px 0.8rem 40px;
        border-left: none;
        border-radius: 0;
    }

    .dropdown-menu a:hover {
        background-color: #efefef;
        padding-left: 40px;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(12px, 12px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .hero h2 {
        font-size: 1.9rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-content {
        padding: 2rem;
        gap: 0.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat {
        padding: 1.5rem;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-content-v2 h2 {
        font-size: 2rem;
    }

    .hero-images {
        grid-template-columns: 1fr;
    }

    .image-placeholder-large {
        height: 280px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .value-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .quick-access {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }

    .cta-banner h2 {
        font-size: 1.8rem;
    }

    .cta-section h2 {
        font-size: 1.9rem;
    }

    .formations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }

    .formation-card {
        padding: 2rem 1.5rem;
    }

    .domain-icon {
        font-size: 2.3rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .btn {
        padding: 11px 25px;
        font-size: 0.95rem;
    }

    /* Slideshow Responsive - Tablet */
    .slideshow-section {
        padding: 60px 20px;
    }

    .slideshow-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .slideshow-wrapper {
        height: 400px;
        border-radius: 14px;
    }

    .slideshow-indicators {
        bottom: 12px;
        gap: 0.6rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 24px;
    }

    /* Hero Slideshow - Tablet */
    .hero {
        min-height: 500px;
        padding: 60px 15px;
    }

    .hero h2 {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-content {
        padding: 2.5rem;
    }
}

/* Mobile (576px - 767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }

    .header .container {
        padding: 0.7rem 15px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 0.75rem;
    }

    .hero {
        padding: 20px 15px;
        min-height: 700px;
        background-image: url("img/LOGO BAMEL.jpg");
        background-size: 100% auto;
        background-repeat: no-repeat;
        background-position: center top;
        position: relative;
    }

    .hero-slideshow-wrapper {
        display: none !important;
    }

    .hero-content {
        margin-top: 300px;
        padding: 1.5rem;
        background: rgba(0, 21, 44, 0.75);
        margin-bottom: 30px;
        max-width: 100%;
        width: 100%;
        position: relative;
        z-index: 10;
    }

    .hero-content h2 {
        display: block !important;
        font-size: 1.3rem;
        color: #ffffff;
        margin-bottom: 1rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .hero-content p {
        display: block !important;
        color: #ffffff;
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
        line-height: 1.4;
    }

    .hero-content .btn {
        display: inline-block !important;
    }

    .hero .dot {
        display: none;
    }

    .hero-content h2 {
        display: none !important;
    }

    .hero-content p {
        display: none !important;
    }

    .hero-content .btn {
        display: none !important;
    }

    .formation-video-container {
        height: 300px;
    }

    .hero h2 {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
        line-height: 1.2;
        color: #ffffff !important;
        display: block !important;
    }

    .hero p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        line-height: 1.3;
        color: #ffffff !important;
        display: block !important;
    }

    .hero-content {
        padding: 1.5rem !important;
        background: rgba(0, 21, 44, 0.75) !important;
        margin-top: 300px !important;
        max-width: none !important;
        width: auto !important;
    }

    .hero-content .btn {
        display: inline-block !important;
        padding: 12px 24px !important;
        font-size: 0.9rem !important;
    }

    .btn-primary {
        background: linear-gradient(135deg, #E31B23 0%, #cc1620 100%) !important;
        color: white !important;
    }

    .hero .slideshow-indicators {
        bottom: 12px;
        gap: 0.6rem;
    }

    .hero .dot {
        width: 9px;
        height: 9px;
    }

    .hero .dot.active {
        width: 20px;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto 40px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 2.5rem;
    }

    .stat {
        padding: 1.2rem;
        border-radius: 12px;
    }

    .stat h3 {
        font-size: 1.6rem;
        margin-bottom: 0.3rem;
    }

    .stat p {
        font-size: 0.9rem;
    }

    .value-cards {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .card {
        padding: 1.8rem;
    }

    .card-icon {
        font-size: 2.5rem;
    }

    .card h3 {
        font-size: 1.1rem;
    }

    .card p {
        font-size: 0.9rem;
    }

    .quick-card {
        padding: 1.8rem;
    }

    .icon-box {
        font-size: 2.8rem;
        padding: 1rem;
    }

    .quick-card h3 {
        font-size: 1.15rem;
    }

    .quick-card p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .about-text h3 {
        font-size: 1.4rem;
    }

    .about-text h4 {
        font-size: 1.1rem;
    }

    .contact h2 {
        font-size: 1.8rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .formations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .formation-card {
        padding: 1.8rem 1.5rem;
    }

    .formation-card h3 {
        font-size: 1.15rem;
    }

    .formation-card li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

    .domain-icon {
        font-size: 2.2rem;
    }

    .level {
        font-size: 0.85rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.05rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .testimonial {
        padding: 1.5rem;
    }

    .quote {
        font-size: 0.95rem;
    }

    .author {
        font-size: 0.9rem;
    }

    .cta-banner {
        padding: 40px 15px;
    }

    .cta-banner h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .cta-section {
        padding: 40px 15px;
    }

    .cta-section h2 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .formations-page {
        padding: 60px 15px;
    }

    .formations-page h2 {
        font-size: 1.8rem;
    }

    .formations-cta {
        padding: 2.5rem 1.5rem;
        border-radius: 12px;
    }

    .formations-cta h3 {
        font-size: 1.3rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .footer {
        border-top-width: 2px;
    }

    .footer-top {
        padding: 50px 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    .footer-section a {
        font-size: 0.9rem;
    }

    .social-links-footer {
        gap: 0.8rem;
    }

    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .contact-info {
        gap: 1rem;
    }

    .info-item {
        gap: 0.8rem;
    }

    .info-item i {
        width: 20px;
        font-size: 1rem;
    }

    .certifications {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .cert-badge {
        padding: 0.8rem;
    }

    .cert-badge i {
        font-size: 1.1rem;
    }

    .cert-badge span {
        font-size: 0.8rem;
    }

    .footer-bottom {
        padding: 1.8rem 15px;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    .footer-bottom ul {
        gap: 1rem;
    }

    .footer-bottom a {
        font-size: 0.85rem;
    }

    /* Slideshow Responsive - Mobile */
    .slideshow-section {
        padding: 50px 15px;
    }

    .slideshow-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    .slideshow-wrapper {
        height: 350px;
        border-radius: 12px;
    }

    .slideshow-container {
        max-width: 100%;
    }

    .slideshow-indicators {
        bottom: 10px;
        gap: 0.5rem;
    }

    .dot {
        width: 9px;
        height: 9px;
    }

    .dot.active {
        width: 20px;
    }

    /* Hero Slideshow - Mobile */
    .hero {
        min-height: 700px;
        padding: 20px 15px;
        background-image: url("img/LOGO BAMEL.jpg");
        background-size: 100% auto;
        background-repeat: no-repeat;
        background-position: center top;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .hero h2 {
        font-size: 1.3rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        color: #ffffff !important;
        display: block !important;
        text-align: center;
    }

    .hero p {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
        color: #ffffff !important;
        display: block !important;
        text-align: center;
    }

    .hero-content {
        padding: 1.5rem !important;
        background: rgba(0, 21, 44, 0.75) !important;
        margin-top: 300px !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center;
    }

    .hero-content .btn {
        display: inline-block !important;
        padding: 12px 24px !important;
        font-size: 0.9rem !important;
    }

    .btn-primary {
        background: linear-gradient(135deg, #E31B23 0%, #cc1620 100%) !important;
        color: white !important;
    }

    .hero .slideshow-indicators {
        bottom: 15px;
        display: none !important;
    }

    .hero-slideshow-wrapper {
        display: none !important;
    }
}

/* Small Mobile (480px - 575px) */
@media (max-width: 575px) {
    .container {
        padding: 0 12px;
    }

    .header .container {
        padding: 0.6rem 12px;
    }

    .logo h1 {
        font-size: 1.3rem;
        letter-spacing: 0.2px;
    }

    .tagline {
        font-size: 0.7rem;
        margin-top: 0.1rem;
    }

    .hero {
        padding: 20px 12px;
        min-height: 700px;
        background-image: url("img/LOGO BAMEL.jpg");
        background-size: 100% auto;
        background-repeat: no-repeat;
        background-position: center top;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .hero h2 {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
        line-height: 1.2;
        color: #ffffff !important;
        display: block !important;
        text-align: center;
    }

    .hero p {
        font-size: 0.85rem;
        margin-bottom: 0.9rem;
        line-height: 1.4;
        color: #ffffff !important;
        display: block !important;
        text-align: center;
    }

    .hero-content {
        padding: 1.5rem !important;
        background: rgba(0, 21, 44, 0.75) !important;
        margin-top: 300px !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center;
    }

    .hero-content .btn {
        display: inline-block !important;
        padding: 12px 24px !important;
        font-size: 0.9rem !important;
    }

    .btn {
        padding: 9px 18px;
        font-size: 0.88rem;
        border-radius: 8px;
    }

    .hero .slideshow-indicators {
        bottom: 12px;
        gap: 0.5rem;
    }

    .hero .dot {
        width: 8px;
        height: 8px;
    }

    .hero .dot.active {
        width: 18px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-top: 2rem;
    }

    .stat {
        padding: 1rem;
        border-radius: 10px;
        border-left: 3px solid var(--primary-color);
    }

    .stat h3 {
        font-size: 1.4rem;
    }

    .stat p {
        font-size: 0.85rem;
    }

    .value-cards {
        gap: 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    .card-icon {
        font-size: 2.2rem;
    }

    .card h3 {
        font-size: 1rem;
    }

    .card p {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .quick-card {
        padding: 1.5rem;
    }

    .icon-box {
        font-size: 2.4rem;
        margin-bottom: 1rem;
        padding: 1rem;
    }

    .quick-card h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .quick-card p {
        font-size: 0.85rem;
    }

    .formations-grid {
        gap: 1.2rem;
    }

    .formation-card {
        padding: 1.5rem;
    }

    .formation-card h3 {
        font-size: 1.05rem;
        margin-bottom: 0.8rem;
    }

    .formation-card ul {
        margin-bottom: 1rem;
    }

    .formation-card li {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }

    .domain-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .formation-item {
        padding: 1.8rem;
    }

    .formation-item h3 {
        font-size: 1.05rem;
    }

    .formation-item p {
        font-size: 0.9rem;
    }

    .services-grid {
        gap: 1rem;
    }

    .service-card {
        padding: 1.2rem;
    }

    .service-card h3 {
        font-size: 1rem;
        gap: 0.3rem;
    }

    .service-card h3 i {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .benefits-grid {
        gap: 1.5rem;
    }

    .benefit-card {
        padding: 2rem 1.5rem;
    }

    .benefit-card h3 {
        font-size: 1.2rem;
    }

    .benefit-card p {
        font-size: 0.9rem;
    }

    .benefit-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .formations-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .formation-gallery-card {
        border-radius: 12px;
    }

    .formation-video-container {
        height: 350px;
    }

    .tenues-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .tenue-gallery-card {
        border-radius: 12px;
    }

    .formation-image {
        height: 160px;
    }

    .formation-info {
        padding: 1.5rem;
    }

    .formation-info h3 {
        font-size: 1.1rem;
    }

    .formation-info p {
        font-size: 0.9rem;
    }

    .formations-cta-gallery {
        padding: 1.5rem;
    }

    .formations-cta-gallery p {
        font-size: 0.95rem;
    }

    .campus {
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .campus-item img {
        height: 180px;
    }

    .campus-item h3 {
        font-size: 1.1rem;
        margin: 1.2rem 1.2rem 0.6rem;
    }

    .campus-item p {
        font-size: 0.9rem;
        margin: 0 1.2rem 1.2rem;
    }

    .testimonials-grid {
        gap: 1rem;
    }

    .testimonial {
        padding: 1.2rem;
    }

    .quote {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .author {
        font-size: 0.85rem;
    }

    .cta-banner {
        padding: 35px 12px;
    }

    .cta-banner h2 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .cta-section {
        padding: 35px 12px;
    }

    .cta-section h2 {
        font-size: 1.4rem;
    }

    .cta-section p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .about-text h3 {
        font-size: 1.2rem;
    }

    .about-text h4 {
        font-size: 0.95rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 9px 10px;
        font-size: 0.9rem;
    }

    .formations-page {
        padding: 50px 12px;
    }

    .formations-page h2 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .formations-cta {
        padding: 2rem 1.2rem;
    }

    .formations-cta h3 {
        font-size: 1.15rem;
    }

    .formations-cta p {
        font-size: 0.9rem;
    }

    .footer {
        padding: 2rem 12px 0.6rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section p {
        font-size: 0.85rem;
    }

    .footer-section a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        gap: 0.8rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    .footer-bottom a {
        font-size: 0.8rem;
    }

    .social-links {
        gap: 0.6rem;
    }

    .social-links a {
        width: 34px;
        height: 34px;
    }

    .social-links a i {
        font-size: 0.8rem;
    }

    /* Slideshow Responsive - Small Mobile */
    .slideshow-section {
        padding: 40px 12px;
    }

    .slideshow-title {
        font-size: 1.4rem;
        margin-bottom: 1.8rem;
    }

    .slideshow-wrapper {
        height: 300px;
        border-radius: 10px;
    }

    .slideshow-indicators {
        bottom: 8px;
        gap: 0.4rem;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 18px;
    }
}


/* Hero Slideshow - Small Mobile */
.hero {
    min-height: 400px;
    padding: 40px 12px;
}

.hero h2 {
        font-size: 1.35rem;
        margin-bottom: 0.6rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.8rem;
        margin-bottom: 0.9rem;
        line-height: 1.4;
    }

    .hero-content {
        padding: 1.3rem;

.hero .slideshow-indicators {
    bottom: 12px;
    gap: 0.5rem;
}

.hero .dot {
    width: 9px;
    height: 9px;
}

.hero .dot.active {
    width: 20px;
}


/* Extra Small Mobile (< 480px) */
@media (max-width: 479px) {
    .container {
        padding: 0 10px;
    }

    .header .container {
        padding: 0.5rem 10px;
    }

    .logo h1 {
        font-size: 1.15rem;
    }

    .tagline {
        font-size: 0.65rem;
    }

    .hero {
        padding: 35px 10px;
        min-height: 350px;
    }

    .hero h2 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        line-height: 1.1;
    }

    .hero p {
        font-size: 0.75rem;
        margin-bottom: 0.7rem;
        line-height: 1.3;
    }

    .hero-content {
        padding: 1.2rem;
    }

    .hero .slideshow-indicators {
        bottom: 10px;
        gap: 0.4rem;
    }

    .hero .dot {
        width: 7px;
        height: 7px;
    }

    .hero .dot.active {
        width: 16px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .hero-stats {
        margin-top: 1.5rem;
    }

    .stat h3 {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .card {
        padding: 1.2rem;
    }

    .formation-card {
        padding: 1.2rem;
    }

    .service-card {
        padding: 1rem;
    }

    .testimonial {
        padding: 1rem;
    }

    .formations-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tenues-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .formation-image {
        height: 140px;
    }

    .formation-info {
        padding: 1.2rem;
    }

    .formation-info h3 {
        font-size: 1rem;
    }

    .formation-info p {
        font-size: 0.85rem;
    }

    .formations-cta-gallery {
        padding: 1.2rem;
    }

    .formations-cta-gallery p {
        font-size: 0.9rem;
    }

    .campus {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0;
    }

    .campus-item img {
        height: 150px;
    }

    .campus-item h3 {
        font-size: 1rem;
        margin: 1rem 1rem 0.5rem;
    }

    .campus-item p {
        font-size: 0.85rem;
        margin: 0 1rem 1rem;
    }

    .formations-page {
        padding: 45px 10px;
    }

    .footer-top {
        padding: 40px 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .footer-logo h3 {
        font-size: 1.2rem;
    }

    .footer-tagline {
        font-size: 0.8rem;
    }

    .footer-desc {
        font-size: 0.85rem;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-section h4::after {
        width: 25px;
    }

    .footer-section a {
        font-size: 0.85rem;
    }

    .footer-section p {
        font-size: 0.85rem;
    }

    .social-links-footer {
        gap: 0.7rem;
    }

    .social-btn {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .contact-info {
        gap: 0.8rem;
    }

    .info-item {
        gap: 0.6rem;
    }

    .info-item i {
        width: 18px;
        font-size: 0.9rem;
        margin-top: 1px;
    }

    .info-item p {
        font-size: 0.8rem;
    }

    .certifications {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .cert-badge {
        padding: 0.6rem;
        font-size: 0.75rem;
    }

    .cert-badge i {
        font-size: 1rem;
    }

    .cert-badge span {
        font-size: 0.75rem;
    }

    .footer-bottom {
        padding: 1.5rem 10px;
    }

    .footer-bottom p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .footer-bottom ul {
        gap: 0.8rem;
    }

    .footer-bottom a {
        font-size: 0.8rem;
    }

    /* Slideshow Responsive - Extra Small Mobile */
    .slideshow-section {
        padding: 35px 10px;
    }

    .slideshow-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .slideshow-wrapper {
        height: 250px;
        border-radius: 8px;
    }

    .slideshow-indicators {
        bottom: 8px;
        gap: 0.3rem;
    }

    .dot {
        width: 7px;
        height: 7px;
    }

    .dot.active {
        width: 16px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card,
.service-card,
.testimonial,
.formation-item {
    animation: fadeInUp 0.6s ease-in-out;
}

/* ===== RESSOURCES SECTION ===== */
.page-title-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--blue) 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
    animation: fadeInDown 0.6s ease-out;
}

.page-title-section h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-title-section p {
    font-size: 1.15rem;
    opacity: 0.95;
}

.ressources-section {
    padding: 80px 20px;
    background-color: #d3d3d3;
}

.ressources-section.alternate {
    background-color: var(--light-color);
}

.ressources-item {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out;
}

.ressources-icon {
    text-align: center;
    margin-bottom: 2rem;
}

.ressources-icon i {
    font-size: 4rem;
    color: var(--primary-color);
    animation: fadeInDown 0.6s ease-out 0.2s both;
}

.ressources-item h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.ressources-item p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.8;
}

.ressources-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ressources-list li {
    background: #d3d3d3;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all var(--transition);
    font-size: 1rem;
    line-height: 1.6;
}

.ressources-section.alternate .ressources-list li {
    background: rgba(255, 255, 255, 0.8);
}

.ressources-list li:hover {
    box-shadow: 0 8px 16px rgba(0, 21, 44, 0.15);
    transform: translateY(-4px);
}

.ressources-list li strong {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-section {
    text-align: center;
    padding: 60px 20px;
}

.contact-section h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-section p {
    font-size: 1.05rem;
    color: var(--gray-color);
}

/* Responsive - Ressources */
@media (max-width: 991px) {
    .page-title-section h1 {
        font-size: 2.2rem;
    }

    .page-title-section p {
        font-size: 1rem;
    }

    .ressources-section {
        padding: 60px 20px;
    }

    .ressources-item h2 {
        font-size: 2rem;
    }

    .ressources-item p {
        font-size: 1rem;
    }

    .campus {
        gap: 2rem;
        margin: 2.5rem 0;
    }

    .campus-item img {
        height: 200px;
    }

    .campus-item h3 {
        font-size: 1.25rem;
    }

    .ressources-list li {
        padding: 1.3rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 767px) {
    .page-title-section {
        padding: 50px 15px;
    }

    .page-title-section h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .page-title-section p {
        font-size: 0.95rem;
    }

    .ressources-section {
        padding: 50px 15px;
    }

    .ressources-item h2 {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }

    .ressources-item p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .ressources-icon i {
        font-size: 3rem;
    }

    .ressources-list {
        gap: 1.2rem;
    }

    .ressources-list li {
        padding: 1.2rem;
        font-size: 0.9rem;
    }

    .formations-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .formation-image {
        height: 150px;
    }

    .campus {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .campus-item img {
        height: 160px;
    }

    .campus-item h3 {
        font-size: 1.1rem;
        margin: 1.2rem 1.2rem 0.6rem;
    }

    .campus-item p {
        font-size: 0.9rem;
    }

    .formation-info {
        padding: 1.2rem;
    }

    .formation-info h3 {
        font-size: 1.05rem;
    }

    .formation-info p {
        font-size: 0.85rem;
    }

    .formations-cta-gallery {
        padding: 1.2rem;
    }

    .contact-section {
        padding: 50px 15px;
    }

    .contact-section h2 {
        font-size: 1.8rem;
    }

    .contact-section p {
        font-size: 0.95rem;
    }
}

@media (max-width: 575px) {
    .page-title-section {
        padding: 40px 12px;
    }

    .page-title-section h1 {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }

    .page-title-section p {
        font-size: 0.9rem;
    }

    .ressources-section {
        padding: 40px 12px;
    }

    .ressources-item h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .ressources-item p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .ressources-icon i {
        font-size: 2.5rem;
    }

    .ressources-list {
        gap: 1rem;
    }

    .ressources-list li {
        padding: 1rem;
        font-size: 0.85rem;
        border-left-width: 3px;
    }

    .campus {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0;
    }

    .campus-item img {
        height: 140px;
    }

    .campus-item h3 {
        font-size: 0.95rem;
        margin: 1rem 1rem 0.5rem;
    }

    .campus-item p {
        font-size: 0.8rem;
        margin: 0 1rem 1rem;
    }

    .contact-section {
        padding: 40px 12px;
    }

    .contact-section h2 {
        font-size: 1.5rem;
    }

    .contact-section p {
        font-size: 0.9rem;
    }
}

/* ===== ACTUALITES SECTION ===== */
.actualites-section {
    padding: 80px 20px;
    background-color: #d3d3d3;
}

.actualites-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    animation: fadeInDown 0.6s ease-out;
}

.actualites-section > p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.actualites-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    animation: slideInUp 0.6s ease-out;
}

.actualite-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.actualite-card:nth-child(1) {
    animation-delay: 0.1s;
}

.actualite-card:nth-child(2) {
    animation-delay: 0.2s;
}

.actualite-card:nth-child(3) {
    animation-delay: 0.3s;
}

.actualite-card:nth-child(4) {
    animation-delay: 0.4s;
}

.actualite-card:nth-child(5) {
    animation-delay: 0.5s;
}

.actualite-card:nth-child(6) {
    animation-delay: 0.6s;
}

.actualite-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 18px 50px rgba(227, 27, 35, 0.2);
    border-color: var(--secondary-color);
}

.actualite-image-container {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052a3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.actualite-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
    filter: brightness(1) contrast(1) saturate(1);
    display: block;
}

.actualite-card:hover .actualite-image-container img {
    transform: scale(1.12) rotate(-2deg);
    filter: brightness(1.1) contrast(1.15) saturate(1.05);
}

.actualite-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(227, 27, 35, 0);
    transition: background 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.actualite-card:hover .actualite-image-container::before {
    background: rgba(227, 27, 35, 0.15);
}

.actualite-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
    height: 100%;
    gap: 1rem;
    flex-direction: column;
}

.actualite-image-placeholder i {
    font-size: 3rem;
    opacity: 0.7;
}

.actualite-content {
    padding: 2rem;
}

.actualite-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    animation: slideInLeft 0.6s ease-out 0.2s both;
}

.actualite-date i {
    font-size: 1.1rem;
}

.actualite-title {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.4;
    animation: slideInLeft 0.6s ease-out 0.3s both;
}

.actualite-card > .actualite-content > p:not(.actualite-date) {
    font-size: 0.95rem;
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    animation: slideInLeft 0.6s ease-out 0.4s both;
}

.actualite-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    animation: slideInLeft 0.6s ease-out 0.5s both;
}

.actualite-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
    padding-left: 8px;
}

.actualite-link i {
    font-size: 0.9rem;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.actualite-link:hover i {
    transform: translateX(4px);
}

/* ===== RESPONSIVE - FEATURED EVENT & ACTUALITES ===== */

/* Responsive - Featured Event Tablet */
@media (max-width: 991px) {
    .featured-event-section {
        padding: 60px 20px;
    }

    .featured-event-banner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem;
    }

    .featured-event-content h2 {
        font-size: 2rem;
    }

    .featured-badge {
        font-size: 0.8rem;
        padding: 0.45rem 1.2rem;
    }

    .featured-event-content p {
        font-size: 1rem;
    }

    .tv-screen-mock {
        max-width: 280px;
        margin: 0 auto;
    }
}

/* Responsive - Featured Event Mobile */
@media (max-width: 767px) {
    .featured-event-section {
        padding: 50px 15px;
    }

    .featured-event-banner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
        border-radius: 12px;
    }

    .featured-event-content h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .featured-event-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .featured-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }

    .tv-screen-mock {
        max-width: 240px;
        margin: 0 auto;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Responsive - Featured Event Extra Small */
@media (max-width: 480px) {
    .featured-event-banner {
        padding: 1.5rem;
    }

    .featured-event-content h2 {
        font-size: 1.3rem;
    }

    .featured-event-content p {
        font-size: 0.9rem;
    }

    .tv-screen-mock {
        max-width: 200px;
    }
}

/* Responsive - Actualites Tablet */
@media (max-width: 991px) {
    .actualites-section {
        padding: 60px 20px;
    }

    .actualites-section h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .actualites-section > p {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .actualites-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .actualite-card {
        border-radius: 14px;
    }

    .actualite-image-container {
        height: 240px;
    }

    .actualite-content {
        padding: 1.8rem;
    }

    .actualite-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .actualite-card > .actualite-content > p:not(.actualite-date) {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
}

/* Responsive - Actualites Mobile */
@media (max-width: 767px) {
    .actualites-section {
        padding: 50px 15px;
    }

    .actualites-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .actualites-section > p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .actualites-gallery {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .actualite-card {
        border-radius: 12px;
    }

    .actualite-image-container {
        height: 240px;
    }

    .actualite-content {
        padding: 1.5rem;
    }

    .actualite-date {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .actualite-title {
        font-size: 1.15rem;
        margin-bottom: 0.7rem;
    }

    .actualite-card > .actualite-content > p:not(.actualite-date) {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .actualite-link {
        font-size: 0.9rem;
    }
}

/* ===== FORMATION DETAIL PAGES ===== */
.page-title-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--blue) 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
    animation: fadeInDown 0.6s ease-out;
}

.page-title-section h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-title-section h1 i {
    font-size: 2.5rem;
}

.page-title-section p {
    font-size: 1.15rem;
    opacity: 0.95;
}

.formation-detail-section {
    padding: 80px 20px;
    background-color: #d3d3d3;
}

.formation-detail-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: start;
}

.formation-detail-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.formation-detail-right {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.detail-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
    animation: fadeInUp 0.6s ease-out;
    transition: all 0.3s ease;
}

.detail-card:hover {
    box-shadow: 0 12px 32px rgba(0, 21, 44, 0.12);
    transform: translateY(-4px);
}

.detail-card h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.detail-card h2 i {
    color: var(--secondary-color);
}

.detail-card p {
    font-size: 1rem;
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.modules-list,
.outcomes-list {
    list-style: none;
    padding: 0;
}

.modules-list li,
.outcomes-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.modules-list li:last-child,
.outcomes-list li:last-child {
    border-bottom: none;
}

.modules-list strong,
.outcomes-list strong {
    color: var(--primary-color);
    font-weight: 600;
}

.info-box {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-top: 4px solid var(--primary-color);
    animation: fadeInUp 0.6s ease-out;
    transition: all 0.3s ease;
}

.info-box:hover {
    box-shadow: 0 12px 32px rgba(0, 21, 44, 0.12);
    transform: translateY(-6px);
}

.info-box h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.info-box h3 i {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.info-box .highlight {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-box .small {
    font-size: 0.85rem;
    color: var(--gray-color);
    margin: 0;
}

.admission-list,
.schedule-list,
.skills-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.admission-list li,
.schedule-list li,
.skills-list li {
    padding: 0.6rem 0;
    color: var(--gray-color);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.admission-list li::before,
.schedule-list li::before,
.skills-list li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    flex-shrink: 0;
}

.schedule-list strong {
    color: var(--primary-color);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--blue) 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 21, 44, 0.2);
    animation: fadeInUp 0.6s ease-out;
    animation-delay: 0.3s;
}

.cta-box h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.cta-box p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.btn-block {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    text-align: center;
}

.btn-block:last-child {
    margin-bottom: 0;
}

/* Responsive - Formation Detail */
@media (max-width: 991px) {
    .formation-detail-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .page-title-section h1 {
        font-size: 2.2rem;
    }

    .detail-card {
        padding: 2rem;
    }

    .detail-card h2 {
        font-size: 1.4rem;
    }

    .info-box {
        padding: 1.8rem;
    }

    .info-box h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .formation-detail-section {
        padding: 50px 15px;
    }

    .formation-detail-grid {
        gap: 1.8rem;
    }

    .page-title-section {
        padding: 50px 15px;
    }

    .page-title-section h1 {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .page-title-section h1 i {
        font-size: 2rem;
    }

    .page-title-section p {
        font-size: 0.95rem;
    }

    .detail-card {
        padding: 1.5rem;
    }

    .detail-card h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .modules-list li,
    .outcomes-list li {
        padding: 0.6rem 0;
        font-size: 0.9rem;
    }

    .info-box {
        padding: 1.5rem;
    }

    .info-box h3 {
        font-size: 1.1rem;
    }

    .info-box .highlight {
        font-size: 1.5rem;
    }

    .admission-list li,
    .schedule-list li,
    .skills-list li {
        font-size: 0.9rem;
    }

    .cta-box {
        padding: 2rem;
    }

    .cta-box h3 {
        font-size: 1.3rem;
    }

    .btn-block {
        padding: 11px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .formation-detail-section {
        padding: 40px 12px;
    }

    .page-title-section {
        padding: 40px 12px;
    }

    .page-title-section h1 {
        font-size: 1.5rem;
    }

    .page-title-section h1 i {
        font-size: 1.7rem;
    }

    .detail-card {
        padding: 1.2rem;
        border-radius: 12px;
    }

    .detail-card h2 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .modules-list li,
    .outcomes-list li {
        padding: 0.5rem 0;
        font-size: 0.85rem;
    }

    .info-box {
        padding: 1.2rem;
    }

    .info-box h3 {
        font-size: 1rem;
    }

    .info-box .highlight {
        font-size: 1.3rem;
    }

    .admission-list li,
    .schedule-list li,
    .skills-list li {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }

    .cta-box {
        padding: 1.5rem;
    }

    .cta-box h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

    .cta-box p {
        font-size: 0.9rem;
    }

    .btn-block {
        padding: 10px 16px;
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
}

/* Responsive - Actualites Small Mobile */
@media (max-width: 575px) {
    .actualites-section {
        padding: 40px 12px;
    }

    .actualites-section h2 {
        font-size: 1.5rem;
    }

    .actualites-section > p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .actualites-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .actualite-card {
        border-radius: 10px;
    }

    .actualite-image-container {
        height: 200px;
    }

    .actualite-image-placeholder i {
        font-size: 2.5rem;
    }

    .actualite-content {
        padding: 1.2rem;
    }

    .actualite-date {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }

    .actualite-date i {
        font-size: 1rem;
    }

    .actualite-title {
        font-size: 1.05rem;
        margin-bottom: 0.6rem;
    }

    .actualite-card > .actualite-content > p:not(.actualite-date) {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 0.8rem;
    }

    .actualite-link {
        font-size: 0.85rem;
        gap: 0.4rem;
    }

    .actualite-link i {
        font-size: 0.8rem;
    }
}
 
 