/* ============================================
   VARIABLES CSS - Charte Graphique IFAGE
   ============================================ */
:root {
    /* Palette principale */
    --primary-color: #004E93;           /* Bleu foncé principal */
    --primary-dark: #003D75;            /* Bleu foncé assombri */
    --primary-light: #1E5F8F;           /* Bleu-vert (alternative) */
    --primary-lighter: #4A7FA8;         /* Bleu-vert clair */
    --secondary-color: #F7A619;         /* Orange (CTA, accents) */
    --secondary-dark: #D6890F;          /* Orange assombri */
    --secondary-light: #FFB940;         /* Orange éclairci */
    
    /* Couleurs neutres */
    --white: #FFFFFF;
    --black: #000000;
    --gray-light: #F5F5F5;
    --gray: #CCCCCC;
    --gray-dark: #666666;
    --text-dark: #333333;
    
    /* Typographie */
    --font-primary: 'Poppins', sans-serif;
    
    /* Effets */
    --transition: all 0.3s ease-in-out;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ============================================
   HEADER
   ============================================ */
.header-section {
    background-color: var(--primary-color);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.logo-link {
    display: inline-block;
    padding: 10px 0;
}

.logo-img {
    max-height: 50px;
    width: auto;
}

.main-nav {
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    padding: 15px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
}

.btn-cta {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-cta:hover {
    background-color: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-menu-toggle {
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
}

/* Menu Mobile */
.mobile-menu {
    display: none;
    background-color: var(--primary-dark);
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav a {
    color: var(--white);
    font-weight: 500;
    text-transform: uppercase;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a:hover {
    color: var(--secondary-color);
}

.mobile-buttons .btn-block {
    width: 100%;
    text-align: center;
}

/* Menu Déroulant Desktop */
.nav-item-dropdown {
    position: relative;
}

/* Zone invisible pour maintenir le hover actif entre le lien et le menu */
.nav-item-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
    z-index: 1000;
}

.nav-item-dropdown .dropdown-toggle {
    cursor: pointer;
    pointer-events: auto;
}

/* Désactiver le ::after du nav-link sur le dropdown-toggle */
.nav-item-dropdown .dropdown-toggle::after {
    display: none;
}

.nav-item-dropdown .dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.nav-item-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-item-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 8px 0;
    margin: 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1001;
    list-style: none;
    white-space: nowrap;
    display: block;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown .dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Menu Déroulant Mobile */
.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-dropdown-toggle i {
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-toggle i {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    display: none;
    padding-left: 20px;
    margin-top: 10px;
    list-style: none;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
}

.mobile-dropdown-menu li {
    margin-bottom: 10px;
}

.mobile-dropdown-menu a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    padding: 8px 0;
}

.mobile-dropdown-menu a:hover {
    color: var(--secondary-color);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

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

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 78, 147, 0.8) 0%, rgba(0, 78, 147, 0.5) 100%);
    z-index: 2;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 10;
    padding: 0 20px;
    width: 100%;
    max-width: 1200px;
}

/* Styles de base pour titre et texte (non-visibles par défaut) */
.slide-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
}

.slide-text {
    font-size: 24px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
}

/* Animations uniquement sur slide active */
.slide.active .slide-title {
    opacity: 1;
    animation: slideInDown 0.8s ease-out, glowPulse 3s ease-in-out 0.8s infinite;
}

.slide.active .slide-text {
    opacity: 1;
    animation: slideInUp 0.8s ease-out 0.3s both;
}

/* Boutons de navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

/* Dots indicateurs */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background-color: var(--white);
    transform: scale(1.3);
}

/* Animations keyframes pour le slider */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4);
    }
}

/* ============================================
   PAGE TITLE SECTION
   ============================================ */
.page-title-section {
    background-color: var(--primary-color);
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.page-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: var(--white);
    margin: 0;
    opacity: 0.95;
}

/* ============================================
   SEARCH SECTION
   ============================================ */
.search-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.search-filters {
    width: 100%;
}

.search-filters .row {
    align-items: flex-end;
    justify-content: center;
}

.filter-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.filter-label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    white-space: nowrap;
}

.filter-select {
    width: 100%;
    padding: 14px 45px 14px 18px;
    background-color: var(--white);
    color: var(--text-dark);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23004E93' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    height: 52px;
    line-height: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.filter-select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 78, 147, 0.12);
    transform: translateY(-2px);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 78, 147, 0.15), 0 4px 12px rgba(0, 78, 147, 0.12);
    transform: translateY(-2px);
}

.search-input,
.filter-select[type="text"],
.filter-select[type="search"] {
    width: 100%;
    padding: 14px 18px;
    background-color: var(--white);
    color: var(--text-dark);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 52px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.search-input:hover,
.filter-select[type="text"]:hover,
.filter-select[type="search"]:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 78, 147, 0.12);
    transform: translateY(-2px);
}

.search-input:focus,
.filter-select[type="text"]:focus,
.filter-select[type="search"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 78, 147, 0.15), 0 4px 12px rgba(0, 78, 147, 0.12);
    transform: translateY(-2px);
}

.search-input::placeholder,
.filter-select[type="text"]::placeholder,
.filter-select[type="search"]::placeholder {
    color: var(--gray-dark);
    opacity: 0.7;
}

.btn-search {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 78, 147, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-search::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-search:hover::before {
    left: 100%;
}

.btn-search:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 78, 147, 0.35);
}

.btn-search:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 78, 147, 0.25);
}

.btn-reset {
    background-color: #64748b;
    color: var(--white);
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-reset:hover {
    background-color: #475569;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--white);
}

.filter-label i {
    color: var(--primary-color);
}

/* ============================================
   PAGE TITLE SECTION
   ============================================ */
.page-title-section {
    background-color: var(--primary-color);
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

/* ============================================
   MASTERE SECTION (L'ÉCOLE)
   ============================================ */
.mastere-section {
    background-color: var(--white);
    padding: 80px 0;
}

.mastere-section .row {
    align-items: flex-start;
}

.mastere-section .col-lg-6:first-child {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.mastere-section .section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: left;
}

.mastere-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.mastere-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    align-self: flex-start;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.advantages-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.advantages-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.6;
}

.advantages-list i {
    color: var(--secondary-color);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 3px;
}

.btn-cta-large {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    display: inline-block;
    transition: var(--transition);
    text-decoration: none;
}

.btn-cta-large:hover {
    background-color: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}


/* ============================================
   FORMATIONS SECTION
   ============================================ */
.formations-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    padding: 60px 0;
}

.results-header {
    padding: 24px 0;
    margin-bottom: 10px;
}

.results-count {
    font-size: 15px;
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.results-count span {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}

.formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px; /* gap-8 */
}

.formation-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 24px; /* rounded-3xl */
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeIn 0.6s ease-out;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-lg */
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.formation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    border-radius: 24px 24px 0 0;
}

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

.formation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow-2xl */
    border-color: var(--primary-color);
}

.formation-card.hidden {
    display: none;
}

.card-body {
    padding: 32px; /* p-8 */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 16px; /* gap-4 */
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
    line-height: 1.5;
    min-height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.formation-card:hover .card-title {
    color: var(--primary-color);
}

.card-city {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.card-city .badge {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 9999px; /* rounded-full */
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-type-public {
    margin-bottom: 16px;
}

.card-type-public .badge {
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card-type-public .badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #64748b; /* slate-600 */
    line-height: 1.6;
    padding: 8px 0;
}

.info-item i {
    color: var(--secondary-color);
    font-size: 16px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    margin-top: 2px;
}

.info-item strong {
    color: var(--text-dark);
    font-weight: 600;
    margin-right: 4px;
}

.btn-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 9999px; /* rounded-full */
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-lg */
    text-decoration: none;
    width: 100%;
    margin-top: auto;
}

.btn-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-xl */
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
    color: var(--white);
}

.btn-card i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-card:hover i {
    transform: translateX(4px);
}
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 78, 147, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-card:hover::before {
    left: 100%;
}

.btn-card:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 78, 147, 0.35);
}

.btn-card:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 78, 147, 0.25);
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners-section {
    background-color: var(--white);
    overflow: hidden;
}

.partners-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.partners-carousel {
    display: flex;
    gap: 40px;
    animation: scroll 30s linear infinite;
    will-change: transform;
}

.partners-carousel:hover {
    animation-play-state: paused;
}

.partner-logo {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.partner-logo:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.partner-logo:hover img {
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   REGISTRATION STEPS SECTION - Design Moderne
   ============================================ */
.registration-steps-section {
    background-color: var(--white);
    padding: 80px 0;
    position: relative;
}

.registration-steps-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

.registration-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.registration-step-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 16px;
    padding: 35px 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 78, 147, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 280px;
    max-height: 320px;
}

.registration-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 78, 147, 0.25);
}

.step-number-badge {
    position: absolute;
    top: -18px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 78, 147, 0.2);
    z-index: 10;
}

.step-icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 10px;
}

.step-icon-wrapper i {
    font-size: 38px;
    color: var(--white);
}

.step-card-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.3;
}

.step-card-description {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.step-action-btn {
    background-color: var(--primary-light);
    color: var(--white);
    padding: 12px 26px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 78, 147, 0.25);
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

.step-action-btn:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 78, 147, 0.35);
    border-color: var(--primary-color);
}

/* ============================================
   ABOUT IFAGE SECTION
   ============================================ */
.about-ifage-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.ifage-badge {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
}

.lead-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto;
}

.ifage-highlights {
    margin-top: 40px;
}

.highlight-card {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 78, 147, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 78, 147, 0.2);
}

.highlight-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.highlight-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.highlight-card p {
    font-size: 14px;
    color: var(--gray-dark);
    margin: 0;
}

/* ============================================
   TRAINING CYCLES SECTION
   ============================================ */
.training-cycles-section {
    background-color: var(--white);
    padding: 80px 0;
}

.cycle-card {
    background-color: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.cycle-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 78, 147, 0.15);
}

.cycle-card-featured {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-color: var(--primary-color);
    color: var(--white);
}

.cycle-card-featured .cycle-title,
.cycle-card-featured .cycle-description {
    color: var(--white);
}

.cycle-icon-wrapper {
    width: 90px;
    height: 90px;
    background-color: rgba(0, 78, 147, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.cycle-card-featured .cycle-icon-wrapper {
    background-color: rgba(255, 255, 255, 0.2);
}

.cycle-icon {
    font-size: 48px;
    color: var(--primary-color);
}

.cycle-card-featured .cycle-icon {
    color: var(--white);
}

.cycle-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.cycle-description {
    font-size: 15px;
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 20px;
}

.cycle-badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cycle-card-featured .cycle-badge {
    background-color: var(--white);
    color: var(--primary-color);
}

/* ============================================
   DOMAINES SECTION
   ============================================ */
.domaines-section {
    background-color: var(--white);
    padding: 80px 0;
}

.domaines-bubbles-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.domaines-bubbles-grid .domaine-bubble:last-child {
    grid-column: 3;
    margin: 0 auto;
}

.domaine-bubble {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    padding: 35px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0, 78, 147, 0.15);
    position: relative;
    overflow: hidden;
}

.domaine-bubble::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.5s ease;
}

.domaine-bubble:hover::before {
    transform: scale(1);
}

.domaine-bubble:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 78, 147, 0.25);
}

.bubble-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.bubble-icon i {
    font-size: 36px;
    color: var(--white);
}

.domaine-bubble h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.3;
    min-height: 40px;
}

.bubble-code {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ============================================
   REPERTOIRE SECTION
   ============================================ */
.repertoire-section {
    background-color: var(--white);
    padding: 80px 0;
}

.tab-btn {
    text-transform: uppercase;
}

.repertoire-tabs {
    max-width: 1200px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    border-bottom: 2px solid var(--gray-light);
    padding-bottom: 20px;
}

.tab-btn {
    padding: 12px 24px;
    background-color: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-btn:hover {
    background-color: var(--primary-light);
    color: var(--white);
    border-color: var(--primary-light);
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.tab-content {
    margin-top: 40px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Animation fadeIn pour les cartes et autres éléments */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.formation-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.formation-item {
    background-color: #E8F4F8;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.formation-item:hover {
    background-color: #D4E8F0;
    box-shadow: 0 4px 15px rgba(0, 78, 147, 0.1);
    transform: translateY(-3px);
}

.formation-code {
    display: inline-block;
    min-width: 70px;
    padding: 8px 12px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    flex-shrink: 0;
}

.formation-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

/* ============================================
   REFERENCES SECTION
   ============================================ */
.references-section {
    background-color: var(--white);
    padding: 80px 0;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.reference-category {
    background-color: var(--white);
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 4px 15px rgba(0, 78, 147, 0.1);
    transition: all 0.3s ease;
}

.reference-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 78, 147, 0.15);
}

.category-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-title i {
    font-size: 24px;
}

.reference-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.reference-name {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--gray-light);
    color: var(--text-dark);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.reference-name:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ============================================
   FOOTER CONTACT
   ============================================ */
.footer-contact {
    color: var(--white);
}

.contact-item {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.7;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

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

.contact-item i {
    color: var(--secondary-color);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.contact-item strong {
    color: var(--white);
    font-weight: 600;
}

.agrement-badge {
    background-color: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 16px 24px;
    text-align: center;
    display: inline-block;
    backdrop-filter: blur(4px);
}

.agrement-text {
    font-size: 12px;
    color: var(--white);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    line-height: 1.4;
}

.agrement-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    margin: 4px 0 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-section {
    background-color: var(--primary-color);
    color: var(--white);
    position: relative;
    padding: 60px 0 30px;
}

.footer-section .container {
    max-width: 1200px;
}

.footer-logo {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--white);
    letter-spacing: 0.5px;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin: 0;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.footer-list a:hover {
    color: var(--secondary-color);
    transform: translateX(4px);
}

.footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-footer-cta {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-footer-cta:hover {
    background-color: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 40px;
    padding-top: 24px;
}

.copyright,
.accessibility {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--white);
    text-decoration: underline;
}

.qualiopi-badge {
    text-align: right;
}

.qualiopi-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

.qualiopi-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    margin: 0;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================
   ANIMATIONS GLOBALES
   ============================================ */
/* fadeIn est déjà défini plus haut pour les cartes */

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1199px) {
    .header-buttons {
        gap: 8px;
    }
    
    .header-buttons .btn-cta {
        font-size: 9px;
        padding: 6px 10px;
    }
}

@media (max-width: 1199px) {
    .nav-list {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 12px;
        padding: 12px 0;
    }
}

@media (max-width: 991px) {
    .nav-list {
        gap: 12px;
    }
    
    .nav-link {
        font-size: 11px;
    }
    
    .slide-title {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .slide-text {
        font-size: 20px;
    }
    
    .formations-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 25px;
    }
    
    .formation-card {
        border-radius: 14px;
    }
    
    .card-body {
        padding: 24px;
    }
    
    .card-title {
        font-size: 19px;
        min-height: 57px;
    }
    
    .stat-number {
        font-size: 42px;
    }
    
    .registration-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .registration-step-card {
        min-height: 300px;
        padding: 35px 25px;
    }
    
    .step-icon-wrapper {
        width: 75px;
        height: 75px;
    }
    
    .step-icon-wrapper i {
        font-size: 38px;
    }
    
}

@media (max-width: 767px) {
    .hero-slider {
        height: 400px;
    }
    
    .slide-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .slide-text {
        font-size: 16px;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .slider-nav.prev {
        left: 10px;
    }
    
    .slider-nav.next {
        right: 10px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    /* Section recherche mobile */
    .search-section {
        padding: 40px 0;
    }
    
    .search-section .section-title {
        font-size: 24px;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .search-filters .row {
        align-items: stretch;
    }
    
    .filter-group {
        margin-bottom: 0;
    }
    
    .filter-label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .filter-select {
        padding: 12px 40px 12px 16px;
        font-size: 14px;
        height: 48px;
    }
    
    .btn-search {
        padding: 14px 24px;
        font-size: 14px;
        height: 48px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn-reset {
        padding: 10px 24px;
        font-size: 13px;
    }
    
    .formations-grid {
        grid-template-columns: 1fr;
    }
    
    .partner-logo {
        width: 150px;
        height: 80px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .footer-logo {
        font-size: 36px;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .registration-steps-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .registration-steps-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .registration-step-card {
        min-height: 280px;
        padding: 35px 25px;
    }
    
    .step-number-badge {
        width: 45px;
        height: 45px;
        font-size: 20px;
        top: -16px;
        left: 25px;
    }
    
    .step-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .step-icon-wrapper i {
        font-size: 36px;
    }
    
    .step-card-title {
        font-size: 18px;
    }
    
    .step-card-description {
        font-size: 13px;
    }
    
    .domaines-bubbles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .domaines-bubbles-grid .domaine-bubble:last-child {
        grid-column: 1 / -1;
    }
    
    .domaine-bubble {
        padding: 30px 15px;
    }
    
    .tab-buttons {
        gap: 8px;
    }
    
    .tab-btn {
        padding: 10px 18px;
        font-size: 11px;
    }
    
    .formation-items-grid {
        grid-template-columns: 1fr;
    }
    
    .references-grid {
        grid-template-columns: 1fr;
    }
    
    .cycle-card {
        margin-bottom: 20px;
    }
    
    .highlight-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 575px) {
    .logo-img {
        max-height: 40px;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .slide-title {
        font-size: 22px;
        margin-bottom: 10px;
    }
    
    .slide-text {
        font-size: 14px;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .slider-nav.prev {
        left: 10px;
    }
    
    .slider-nav.next {
        right: 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .search-section {
        padding: 30px 0;
    }
    
    .search-section .section-title {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .filter-label {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .filter-select {
        padding: 10px 35px 10px 14px;
        font-size: 13px;
        height: 44px;
    }
    
    .btn-search {
        padding: 12px 20px;
        font-size: 13px;
        height: 44px;
        width: 100%;
        justify-content: center;
    }
    
    .search-filters .row {
        align-items: stretch;
    }
    
    .btn-reset {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .card-title {
        font-size: 16px;
        min-height: auto;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.d-block { display: block; }
.d-none { display: none; }

@media (min-width: 768px) {
    .d-md-block { display: block; }
    .d-md-none { display: none; }
}

@media (min-width: 992px) {
    .d-lg-flex { display: flex; }
    .d-lg-none { display: none; }
}
