/* HERO SECTION */
.chu-hero {
    background: linear-gradient(135deg, var(--chu-blue) 0%, var(--chu-dark-blue) 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.chu-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/images/hero/medical-pattern.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-stats {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    margin-top: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats .col-4 {
    position: relative;
}

.hero-stats .col-4:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-stats h4 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-stats small {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* HERO IMAGE */
.hero-image-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideUp 1s ease-out 0.5s both;
}

.hero-image-placeholder {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 15px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hero-image-placeholder:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.25);
}

.hero-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

/* SERVICES CARDS */
.service-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    background: white;
    overflow: hidden;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--chu-blue) 0%, var(--chu-dark-blue) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--chu-blue);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--chu-dark-blue);
}

.service-card h5 {
    color: var(--chu-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ACTUALITÉS */
.news-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    background: white;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.placeholder-image {
    height: 220px;
    background: linear-gradient(135deg, var(--chu-light-blue) 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--chu-blue);
    font-weight: 500;
    border-bottom: 3px solid var(--chu-light-blue);
    transition: all 0.3s ease;
}

.news-card:hover .placeholder-image {
    border-bottom-color: var(--chu-blue);
}

.news-card .card-body {
    padding: 25px;
}

.news-card .badge {
    margin-bottom: 15px;
}

.news-card h5 {
    color: var(--chu-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* TÉMOIGNAGES */
.testimonial-card {
    background: linear-gradient(135deg, var(--chu-light-blue) 0%, #f0f7ff 100%);
    border-radius: 20px;
    padding: 35px 30px;
    border-left: 5px solid var(--chu-blue);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 86, 166, 0.1);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 4rem;
    color: var(--chu-blue);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-card .fa-user-circle {
    color: var(--chu-blue);
    font-size: 2.2rem;
}

.testimonial-card h6 {
    color: var(--chu-dark);
    font-weight: 600;
    margin-bottom: 2px;
}

.testimonial-card small {
    color: #666;
    font-size: 0.85rem;
}

.testimonial-card p {
    color: #555;
    line-height: 1.7;
    font-style: italic;
    margin-top: 15px;
    position: relative;
    z-index: 1;
}

/* CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, var(--chu-blue) 0%, var(--chu-dark-blue) 100%);
    color: white;
    padding: 90px 0;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.cta-section::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%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-section .lead {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-section .btn-light {
    background: rgba(255, 255, 255, 0.95);
    color: var(--chu-blue);
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.cta-section .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: transparent;
    padding: 13px 28px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-section .btn-outline-light:hover {
    background: white;
    color: var(--chu-blue);
    transform: translateY(-3px);
}

/* RESPONSIVE HOME */
@media (max-width: 768px) {
    .chu-hero {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .hero-stats .col-4:not(:last-child)::after {
        display: none;
    }
    
    .hero-stats .col-4 {
        margin-bottom: 20px;
    }
    
    .cta-section {
        padding: 60px 0;
        border-radius: 15px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .service-card, .news-card, .testimonial-card {
        margin-bottom: 25px;
    }
    
    .hero-image-placeholder {
        height: 250px;
    }
}