/*
* VotreMutuelle - Images Stylesheet
* 
* This stylesheet contains styles for images and icons
*/

.feature-image {
    text-align: center;
    margin: 1.5rem 0;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.icon-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.icon-image img {
    max-width: 120px;
    height: auto;
}

.form-image {
    text-align: center;
    margin: 1rem 0;
}

.form-image img {
    max-width: 140px;
    height: auto;
}

.hero-image {
    text-align: center;
    margin: 0 auto;
}

.hero-image img {
    max-width: 300px;
    height: auto;
}

.senior-illustration {
    text-align: center;
    margin: 1.5rem auto;
}

.senior-illustration img {
    max-width: 200px;
    margin: 0 auto;
    display: block;
}

.family-illustration {
    text-align: center;
    margin: 1.5rem auto;
}

.family-illustration img {
    max-width: 240px;
    margin: 0 auto;
    display: block;
}

.faq-illustration {
    text-align: center;
    margin: 1.5rem auto;
}

.faq-illustration img {
    max-width: 150px;
    margin: 0 auto;
    display: block;
}

.contact-illustration {
    text-align: center;
    margin: 1.5rem auto;
}

.contact-illustration img {
    max-width: 180px;
    margin: 0 auto;
    display: block;
}

.info-image {
    text-align: center;
    margin-bottom: 1rem;
}

.info-image img {
    max-width: 100px;
    height: auto;
}

.health-image {
    text-align: center;
    margin-bottom: 1rem;
}

.health-image img {
    max-width: 120px;
    height: auto;
}

.about-image img, 
.commitment-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Image animation effects */
.floating {
    animation: floating 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.floating:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.pulse:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

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

/* Rotate animation for some icons */
.rotate {
    animation: rotate 10s linear infinite;
    transform-origin: center;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Bounce animation */
.bounce {
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

/* Enhanced hover effects */
.icon-image img, .info-image img {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.icon-image:hover img, .info-image:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 15px rgba(0, 123, 255, 0.2));
}