/* =============================================
   IVAC PAGE STYLES
   ============================================= */

/* Header IVAC - Desktop */
.ivac-page header#header {
    min-height: 600px;
    background-image: url('/assets/images/AARION_IVAC_Service_Desktop.png') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Header IVAC - Mobile */
@media (max-width: 768px) {
    .ivac-page header#header {
        background-image: url('/assets/images/AARION_IVAC_Service_Mobile.png') !important;
    }
}

/* =============================================
   FEATURES SECTION - 4 POINTS
   ============================================= */
#features {
    padding: 80px 0;
    background-color: #fff;
}

#features h2 {
    font-size: 45px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

.feature-cards {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-cards .col-one,
.feature-cards .col-two {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
    max-width: 500px;
}

/* Individual Feature Card */
.feature-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    
    /* Animation initial state */
    opacity: 0;
    transform: translateY(40px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: #ED170A;
}

/* Sequential animation for feature cards */
.feature-card.animate-in {
    animation: featureSlideIn 0.6s ease forwards;
}

/* Staggered delays for each card */
.col-one .feature-card:nth-child(1).animate-in { animation-delay: 0s; }
.col-one .feature-card:nth-child(2).animate-in { animation-delay: 0.2s; }
.col-two .feature-card:nth-child(1).animate-in { animation-delay: 0.4s; }
.col-two .feature-card:nth-child(2).animate-in { animation-delay: 0.6s; }

@keyframes featureSlideIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Icon Circle */
.icon-circle {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #ED170A;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-circle img {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(15%) sepia(95%) saturate(6000%) hue-rotate(358deg) brightness(95%) contrast(112%);
}

.icon-circle.filled {
    background-color: #ED170A;
}

.icon-circle.filled img {
    filter: brightness(0) invert(1);
}

.feature-card:hover .icon-circle {
    background-color: #ED170A;
    transform: scale(1.1);
}

.feature-card:hover .icon-circle img {
    filter: brightness(0) invert(1);
}

/* Feature Content */
.feature-card .title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.feature-card .description p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* =============================================
   ABOUT IVAC SECTION (2ème section)
   ============================================= */
#about.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

#about.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(237, 23, 10, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

#about .section-content.single-column-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

/* Image container with enhanced styling */
#about .animated-image {
    max-width: 900px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
}

#about .animated-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

#about .animated-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

#about .animated-image:hover img {
    transform: scale(1.03);
}

/* Text content styling */
#about .col.animate.fadeUpBlur {
    max-width: 900px;
    text-align: center;
}

#about .col.animate.fadeUpBlur p {
    font-size: 18px;
    line-height: 1.9;
    color: #444;
    margin: 0;
    padding: 0 20px;
}

/* Enhanced About Section - Card Style */
.ivac-info-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.ivac-info-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ivac-info-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    height: 600px;
    min-height: 600px;
}

.ivac-info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.ivac-info-image:hover img {
    transform: scale(1.05);
}

/* Trust badge on image */
.ivac-info-image::before {
    content: 'IVAC';
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ED170A;
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    z-index: 2;
}

.ivac-info-content {
    padding: 20px 0;
}

.ivac-info-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    line-height: 1.2;
}

.ivac-info-content h2 span {
    color: #ED170A;
}

.ivac-info-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

/* Benefits list - ALIGNED LEFT VERTICALLY */
.ivac-benefits {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ivac-benefits li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    margin-left: 0;
    font-size: 16px;
    color: #444;
    justify-content: flex-start;
    text-align: left;
}

.ivac-benefits li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    flex-shrink: 0;
    background: #ED170A;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

/* CTA Button */
.ivac-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    background: linear-gradient(135deg, #ED170A 0%, #c0120a 100%);
    color: #fff;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.ivac-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(237, 23, 10, 0.3);
    color: #fff;
}

.ivac-cta-btn svg {
    transition: transform 0.3s ease;
}

.ivac-cta-btn:hover svg {
    transform: translateX(5px);
}

/* =============================================
   IVAC PROCESS SECTION - RED BANNER
   ============================================= */
.ivac-process-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ED170A 0%, #c0120a 100%);
    color: #fff;
}

.ivac-process-section h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #fff;
}

.ivac-process-section h2 span {
    color: #fff;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
}

.process-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.process-step {
    text-align: center;
    max-width: 250px;
    position: relative;
}

.process-step::after {
    content: '→';
    position: absolute;
    right: -25px;
    top: 40px;
    font-size: 24px;
    color: #fff;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 20px;
    color: #ED170A;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.process-step h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.process-step p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* =============================================
   RESPONSIVE STYLES
   ============================================= */
@media (max-width: 992px) {
    .ivac-info-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .ivac-info-image {
        height: 400px;
    }
    
    .ivac-info-content {
        text-align: left;
    }
    
    .ivac-benefits li {
        justify-content: flex-start;
    }
    
    .process-step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    #features h2 {
        font-size: 32px;
    }
    
    .feature-cards {
        flex-direction: column;
    }
    
    .feature-cards .col-one,
    .feature-cards .col-two {
        max-width: 100%;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
    }
    
    .icon-circle {
        margin: 0 auto;
    }
    
    .ivac-info-content h2 {
        font-size: 32px;
    }
    
    .ivac-info-content {
        text-align: left;
        padding: 0 15px;
    }
    
    .ivac-benefits li {
        justify-content: flex-start;
    }
    
    .ivac-info-image {
        height: 350px;
    }
    
    #about .col.animate.fadeUpBlur p {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .feature-card {
        padding: 20px;
    }
    
    .feature-card .title {
        font-size: 18px;
    }
    
    .ivac-cta-btn {
        width: 100%;
        justify-content: center;
    }
}