/* Home Page Styles - Phase 2: UI/UX Improvements */

/* ========== HERO SECTION - MODERNE ========== */
.intro.progres-intro {
    position: relative;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: fixed; /* Parallax effect */
}

/* Overlay gradient moderne avec dégradé sophistiqué */
.intro.progres-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.75) 0%,      /* Noir foncé */
        rgba(0, 0, 0, 0.65) 35%,     /* Noir moyen */
        rgba(50, 50, 50, 0.55) 70%,  /* Gris foncé */
        rgba(80, 80, 80, 0.45) 100%  /* Gris moyen */
    );
    z-index: 1;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
}

.intro.progres-intro > div {
    position: relative;
    z-index: 2;
}

.intro.progres-intro h1 {
    color: #fff;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.6);
    font-weight: 700;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.8s ease-out;
}

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

/* Search Box moderne */
.intro.progres-intro .search-row {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.intro.progres-intro .locinput {
    border-radius: 50px 0 0 50px;
    border: none;
    padding: 15px 20px 15px 45px;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.intro.progres-intro .locinput:focus {
    outline: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.intro.progres-intro .btn-search {
    border-radius: 0 50px 50px 0;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.intro.progres-intro .btn-search:hover {
    background: linear-gradient(135deg, #c82333 0%, #a71d2a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.intro.progres-intro .icon-append {
    color: #999;
    font-size: 18px;
}

/* ========== CAROUSEL MODERNE ========== */
.carousel-modern-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 20px;
    margin: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.carousel-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: #dc3545;
}

.carousel-modern-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
    transform: translateY(-5px);
}

/* Photo Section */
.carousel-photo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.carousel-photo-link {
    display: block;
    width: 100%;
    max-width: 220px;
}

.carousel-photo-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
}

.carousel-photo-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(220,53,69,0.25);
}

.carousel-photo {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.4s ease;
}

.carousel-photo-wrapper:hover .carousel-photo {
    transform: scale(1.1);
}

.carousel-photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40,167,69,0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: all 0.4s ease;
    color: white;
}

.carousel-photo-overlay i {
    font-size: 48px;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.carousel-photo-overlay span {
    font-size: 16px;
    font-weight: 600;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.carousel-photo-wrapper:hover .carousel-photo-overlay {
    opacity: 1;
}

.carousel-photo-wrapper:hover .carousel-photo-overlay i,
.carousel-photo-wrapper:hover .carousel-photo-overlay span {
    transform: translateY(0);
}

/* Info Section */
.carousel-info-section {
    padding: 10px 15px;
}

/* Header avec nom et grade */
.carousel-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.carousel-name-link {
    text-decoration: none;
}

.carousel-name {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.carousel-name-link:hover .carousel-name {
    color: #dc3545;
}

.carousel-grade {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.carousel-grade-pr {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    color: white;
}

.carousel-grade-other {
    background: linear-gradient(135deg, #2c3e50 0%, #5a6c7d 100%);
    color: white;
}

.carousel-fonction {
    font-size: 16px;
    color: #6c757d;
    font-weight: 500;
    margin: 0;
}

/* Thématique de recherche */
.carousel-thematique {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
    background: rgba(220,53,69,0.05);
    border-radius: 12px;
    border-left: 4px solid #dc3545;
}

.carousel-thematique-icon {
    flex-shrink: 0;
}

.carousel-thematique-icon i {
    font-size: 24px;
    color: #dc3545;
}

.carousel-thematique-text {
    flex: 1;
}

.carousel-thematique-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #dc3545;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.carousel-thematique-content {
    font-size: 15px;
    color: #2c3e50;
    line-height: 1.6;
    margin: 0;
}

/* Infos complémentaires */
.carousel-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.carousel-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.carousel-detail-item i {
    width: 24px;
    text-align: center;
    color: #28a745;
    font-size: 16px;
}

.carousel-detail-label {
    font-weight: 600;
    color: #6c757d;
}

.carousel-detail-value {
    color: #2c3e50;
}

/* Stats Cards */
.carousel-stats {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.carousel-stat-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.carousel-stat-publications {
    background: linear-gradient(135deg, rgba(220,53,69,0.08) 0%, rgba(255,107,107,0.08) 100%);
    border: 2px solid rgba(220,53,69,0.2);
}

.carousel-stat-publications:hover {
    background: linear-gradient(135deg, rgba(220,53,69,0.12) 0%, rgba(255,107,107,0.12) 100%);
    border-color: #dc3545;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(220,53,69,0.15);
}

.carousel-stat-encadrements {
    background: linear-gradient(135deg, rgba(40,167,69,0.08) 0%, rgba(92,184,92,0.08) 100%);
    border: 2px solid rgba(40,167,69,0.2);
}

.carousel-stat-encadrements:hover {
    background: linear-gradient(135deg, rgba(40,167,69,0.12) 0%, rgba(92,184,92,0.12) 100%);
    border-color: #28a745;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(40,167,69,0.15);
}

.carousel-stat-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 22px;
}

.carousel-stat-publications .carousel-stat-icon {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    color: white;
}

.carousel-stat-encadrements .carousel-stat-icon {
    background: linear-gradient(135deg, #28a745 0%, #5cb85c 100%);
    color: white;
}

.carousel-stat-content {
    display: flex;
    flex-direction: column;
}

.carousel-stat-number {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 3px;
}

.carousel-stat-publications .carousel-stat-number {
    color: #dc3545;
}

.carousel-stat-encadrements .carousel-stat-number {
    color: #28a745;
}

.carousel-stat-label {
    font-size: 13px;
    color: #6c757d;
    font-weight: 600;
}

/* Contact */
.carousel-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(0,0,0,0.04);
    border-radius: 10px;
    border-left: 3px solid #6c757d;
}

.carousel-contact i {
    color: #6c757d;
    font-size: 18px;
}

.carousel-email {
    color: #2c3e50;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.carousel-email:hover {
    color: #dc3545;
    text-decoration: underline;
}

/* Carousel Controls Modernisés */
.carousel-control {
    background: none;
    width: 60px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    opacity: 1;
}

.carousel-control .glyphicon {
    background: rgba(0,0,0,0.6);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.carousel-control:hover .glyphicon {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
}

/* Carousel Indicators */
.carousel-indicators li {
    background-color: rgba(0,0,0,0.3);
    border: 2px solid transparent;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    border-color: white;
    width: 14px;
    height: 14px;
}

/* Timers Container */
#timers-container {
    margin-top: 10px;
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.timer-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px 12px;
    border: 2px solid #333;
    border-radius: 10px;
    background-color: #fff;
    width: auto;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.timer-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.labele {
    font-size: 14px;
    color: #555;
    margin-right: 10px;
    font-weight: 500;
}

.timer {
    font-size: 22px;
    color: #d9534f;
    font-weight: 600;
    min-width: 100px;
}

/* Carousel Styles */
#carousel-example {
    margin: 15px;
    margin-top: 5px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.carousel-inner > .item {
    min-height: 300px;
    height: auto;
}

.carousel-image {
    text-align: center;
    width: 28%;
    min-height: 300px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.carousel-image img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 260px;
}

.carousel-text {
    padding: 20px;
    background: #f8f9fa;
    width: 72%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-text h1 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.carousel-text h4 {
    font-size: 1.1em;
    margin-bottom: 8px;
}

.carousel-text h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.carousel-text h5 {
    font-size: 0.95em;
    margin-top: 10px;
}

/* ========== CARDS ENSEIGNANTS - MODERNE ========== */
.card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    background: #fff;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc3545 0%, #ff6b6b 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 28px rgba(220,53,69,0.15);
    border-color: rgba(220,53,69,0.2);
}

.card .img-circle {
    border: 4px solid #f0f0f0;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.card:hover .img-circle {
    border-color: #dc3545;
    box-shadow: 0 4px 12px rgba(220,53,69,0.3);
    transform: scale(1.05);
}

.card .img-circle img {
    transition: all 0.3s ease;
}

.card:hover .img-circle img {
    transform: scale(1.1);
}

.card-cnt {
    padding: 15px;
}

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

.card .title a {
    color: #2c3e50;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.card .title a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #dc3545 0%, #ff6b6b 100%);
    transition: width 0.3s ease;
}

.card:hover .title a {
    color: #dc3545;
}

.card:hover .title a::after {
    width: 100%;
}

.card .label {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.card-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card .text-nowrap {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 5px;
}

/* ========== PUBLICATIONS - MODERNE ========== */
.pub-item {
    position: relative;
    transition: all 0.3s ease;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid transparent;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pub-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #28a745 0%, #5cb85c 100%);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.pub-item:hover::before {
    transform: scaleY(1);
}

.pub-item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateX(5px);
    border-left-color: #28a745;
}

.pub-title a {
    color: #2c3e50;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pub-title a:hover {
    color: #28a745;
    text-decoration: none;
}

.type-title {
    margin-top: 0;
    margin-bottom: 10px;
}

.type-title a {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #6c757d;
    transition: color 0.3s ease;
}

.type-title a:hover {
    color: #28a745;
}

.pub-desc {
    color: #6c757d;
    line-height: 1.6;
    margin-top: 10px;
    margin-bottom: 15px;
}

.pub-actions ul li a {
    color: #868e96;
    transition: all 0.3s ease;
    padding: 5px 12px;
    border-radius: 20px;
}

.pub-actions ul li a:hover {
    color: #28a745;
    background: rgba(40,167,69,0.1);
    text-decoration: none;
}

.pub-list {
    padding: 15px;
}

/* ========== NOTIFICATIONS TOAST - MODERNE ========== */
.toast-container {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.toast-notification {
    min-width: 350px;
    max-width: 500px;
    animation: slideInRight 0.5s ease-out;
    pointer-events: all;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-notification-content {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    color: white;
    padding: 18px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(255,71,87,0.4);
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 5px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
}

.toast-notification-icon {
    font-size: 28px;
    animation: pulse 2s infinite;
}

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

.toast-notification-text {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.toast-notification-close {
    background: rgba(255,255,255,0.25);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
}

.toast-notification-close:hover {
    background: rgba(255,255,255,0.4);
    transform: rotate(90deg) scale(1.1);
}

.toast-notification-close:focus {
    outline: 2px solid rgba(255,255,255,0.5);
    outline-offset: 2px;
}

/* Marquee fade out (à remplacer par toast) */
.marquee-rtl {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(255,71,87,0.3);
    animation: fadeInDown 0.5s ease-out;
}

@keyframes fadeInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========== TITRES DE SECTIONS ========== */
.titre {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 300;
    color: #2c3e50;
}

.titre::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #dc3545 0%, #ff6b6b 100%);
}

.titre span {
    font-weight: 700;
    color: #dc3545;
}

/* ========== RESPONSIVE DESIGN ========== */
@media only screen and (max-width: 768px) {
    /* Hero Section Mobile */
    .intro.progres-intro h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .intro.progres-intro .locinput {
        border-radius: 25px;
        padding: 12px 15px 12px 40px;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .intro.progres-intro .btn-search {
        border-radius: 25px;
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }

    /* Timers Mobile */
    #timers-container {
        gap: 10px;
        padding: 0 10px;
    }

    .timer-container {
        padding: 8px 12px;
        flex-direction: column;
        text-align: center;
        min-width: 140px;
    }

    .labele {
        margin-right: 0;
        margin-bottom: 5px;
        font-size: 12px;
    }

    .timer {
        font-size: 18px;
        min-width: auto;
    }

    /* Cards Mobile */
    .card {
        margin-bottom: 20px;
    }

    .card:hover {
        transform: translateY(-4px) scale(1.01);
    }

    /* Publications Mobile */
    .pub-item {
        padding: 15px;
        margin-bottom: 15px;
    }

    .pub-item:hover {
        transform: translateX(3px);
    }

    /* Toast Mobile */
    .toast-container {
        top: 80px;
        right: 15px;
        left: 15px;
    }

    .toast-notification {
        min-width: auto;
        max-width: none;
    }

    .toast-notification-content {
        padding: 15px 20px;
        font-size: 14px;
    }

    .toast-notification-icon {
        font-size: 24px;
    }

    /* Titres Mobile */
    .titre {
        font-size: 22px;
    }

    .carousel-inner > .item {
        min-height: auto;
    }

    /* Carousel Moderne Mobile */
    .carousel-modern-card {
        padding: 20px;
        margin: 10px;
    }

    .carousel-photo-section {
        margin-bottom: 20px;
        padding: 10px;
    }

    .carousel-photo-link {
        max-width: 200px;
    }

    .carousel-name {
        font-size: 22px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .carousel-fonction {
        font-size: 14px;
    }

    .carousel-thematique {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    .carousel-thematique-icon i {
        font-size: 24px;
    }

    .carousel-thematique-content {
        font-size: 14px;
    }

    .carousel-details {
        gap: 10px;
    }

    .carousel-detail-item {
        font-size: 14px;
        flex-wrap: wrap;
    }

    .carousel-stats {
        flex-direction: column;
        gap: 12px;
    }

    .carousel-stat-card {
        padding: 15px;
    }

    .carousel-stat-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .carousel-stat-number {
        font-size: 28px;
    }

    .carousel-stat-label {
        font-size: 12px;
    }

    .carousel-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 15px;
    }

    .carousel-email {
        font-size: 14px;
        word-break: break-all;
    }

    .carousel-control {
        width: 40px;
    }

    .carousel-control .glyphicon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .carousel-image,
    .carousel-text {
        width: 100%;
        min-height: auto;
    }

    .carousel-image {
        padding: 15px;
    }

    .carousel-image img {
        max-height: 200px;
    }

    .carousel-text {
        padding: 15px;
    }

    .carousel-text h1 {
        font-size: 1.4em;
    }

    .carousel-text h3 {
        font-size: 1em;
    }

    .carousel-text h4 {
        font-size: 0.95em;
    }

    .carousel-text .row > div {
        font-size: 0.85em;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .carousel-inner > .item {
        min-height: 350px;
    }

    .carousel-image {
        width: 35%;
    }

    .carousel-text {
        width: 65%;
    }

    .carousel-text h1 {
        font-size: 1.6em;
    }

    /* Carousel Moderne Tablette */
    .carousel-modern-card {
        padding: 25px;
        margin: 15px;
    }

    .carousel-name {
        font-size: 24px;
    }

    .carousel-thematique-content {
        font-size: 14px;
    }

    .carousel-stats {
        flex-direction: row;
    }

    .carousel-stat-icon {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }

    .carousel-stat-number {
        font-size: 30px;
    }

    .carousel-contact {
        flex-direction: row;
        align-items: center;
    }
}
