/* ==================== GLOBAL STYLES ==================== */
body {
    background: white;
    color: #333;
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
}

/* ==================== SERVICES SECTION ==================== */
.services.section {
    padding: 80px 0;
    background: white; /* Changé : fond blanc */
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    background: linear-gradient(135deg, #ff7a18, #ff9f43);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(255, 122, 24, 0.2);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: #0b3d3a;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.section-description {
    color: #666;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Modern Service Card */
.service-card-modern {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    border: 1px solid rgba(11, 61, 58, 0.1); /* Changé : couleur de bordure */
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-image-modern {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.service-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-modern:hover .service-image-modern img {
    transform: scale(1.05);
}

.service-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 61, 58, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-modern:hover .service-overlay-modern {
    opacity: 1;
}

.service-overlay-btn-modern {
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #ff7a18, #ff9f43);
    padding: 12px 24px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-overlay-btn-modern:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 122, 24, 0.3);
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #0b3d3a, #094b46);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.service-content-modern {
    padding: 25px;
}

.service-header-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.service-icon-modern {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 122, 24, 0.1), rgba(255, 159, 67, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff7a18;
    font-size: 22px;
    transition: all 0.3s ease;
}

.service-card-modern:hover .service-icon-modern {
    transform: rotate(15deg) scale(1.1);
    background: linear-gradient(135deg, #ff7a18, #ff9f43);
    color: white;
}

.service-title-modern {
    font-size: 20px;
    font-weight: 700;
    color: #0b3d3a;
    margin: 0;
    flex: 1;
}

.service-description-modern {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features-modern {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.service-features-modern li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #555;
    padding: 5px 0;
}

.service-features-modern li i {
    color: #ff7a18;
    font-size: 12px;
}

.service-footer-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(11, 61, 58, 0.1); /* Changé : couleur de bordure */
    padding-top: 15px;
    margin-top: 15px;
}

.service-link-modern {
    color: #0b3d3a;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.service-link-modern:hover {
    color: #ff7a18;
    gap: 12px;
}

/* ==================== CTA SECTION ==================== */
.services-cta-modern {
    margin: 50px auto;
    padding: 40px;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 1200px;
    border: 2px solid #d69e2e;
}

.services-cta-modern .cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.services-cta-modern .cta-icon {
    font-size: 48px;
    color: #d69e2e;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 16px;
    flex-shrink: 0;
    border: 2px solid rgba(214, 158, 46, 0.3);
}

.services-cta-modern .cta-text {
    flex: 1;
    min-width: 300px;
}

.services-cta-modern .cta-text h3 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.services-cta-modern .cta-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.btn-primary-modern {
    background: #e53e3e;
    color: white;
    padding: 14px 48px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid #d69e2e;
    flex-shrink: 0;
}

.btn-primary-modern:hover {
    background: #d62b2b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229, 62, 62, 0.3);
}

/* ==================== TESTIMONIALS SECTION ==================== */
.modern-testimonials {
    padding: 80px 0;
    background: white; /* Changé : fond blanc */
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(11, 61, 58, 0.1); /* Ajouté : bordure supérieure */
    border-bottom: 1px solid rgba(11, 61, 58, 0.1); /* Ajouté : bordure inférieure */
}

.modern-testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23ff7a18' fill-opacity='0.05' d='M50,20 C65.5,20 78,32.5 78,48 C78,63.5 65.5,76 50,76 C34.5,76 22,63.5 22,48 C22,32.5 34.5,20 50,20 Z'/%3E%3C/svg%3E");
    background-size: contain;
    opacity: 0.3; /* Réduit l'opacité */
}

.testimonial-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0b3d3a, #094b46);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(11, 61, 58, 0.2);
}

.testimonial-card-modern {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(11, 61, 58, 0.1); /* Changé : couleur de bordure */
}

.testimonial-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-card-modern::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 80px;
    color: rgba(11, 61, 58, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.rating-stars {
    color: #ff9f43;
    font-size: 14px;
    margin-bottom: 15px;
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(11, 61, 58, 0.1); /* Changé : couleur de bordure */
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b3d3a, #094b46);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.client-details h5 {
    font-size: 16px;
    font-weight: 700;
    color: #0b3d3a;
    margin-bottom: 4px;
}

.client-details span {
    font-size: 13px;
    color: #666;
    display: block;
}

.service-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 122, 24, 0.1);
    color: #ff7a18;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Trusted Companies */
.trusted-companies {
    border-top: 1px solid rgba(11, 61, 58, 0.1); /* Changé : couleur de bordure */
}

.companies-title {
    color: #0b3d3a;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.companies-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff7a18, #ff9f43);
    border-radius: 2px;
}

.company-logo {
    padding: 15px;
    transition: all 0.3s ease;
}

.company-logo:hover {
    transform: translateY(-3px);
}

.logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #0b3d3a;
}

.logo-placeholder i {
    font-size: 32px;
    color: #ff7a18;
    background: rgba(255, 122, 24, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.company-logo:hover .logo-placeholder i {
    transform: rotate(15deg) scale(1.1);
    background: linear-gradient(135deg, #ff7a18, #ff9f43);
    color: white;
}

.logo-placeholder span {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.2;
}

/* ==================== CONTACT CTA ==================== */
.contact-box {
    position: relative;
    background-image: url("../assets/images/bg.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 60px 30px;
    margin: 60px auto;
    max-width: 1100px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(11, 61, 58, 0.85), rgba(11, 61, 58, 0.85));
}

.contact-content {
    position: relative;
    text-align: center;
    color: #fff;
    max-width: 650px;
    margin: auto;
}

.contact-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
}

.contact-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
    opacity: 0.95;
}

.btn-contact {
    display: inline-block;
    background: #ff7a18;
    color: #fff;
    padding: 14px 34px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: #ff9f43;
    transform: translateY(-3px);
}

/* ==================== IMAGE STYLES ==================== */
.image-box img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==================== ANIMATIONS ==================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .services-cta-modern {
        margin: 50px 40px;
    }
    
    .contact-box {
        margin: 50px 20px;
    }
}

@media (max-width: 992px) {
    .services.section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .services-cta-modern .cta-content {
        text-align: center;
        justify-content: center;
        gap: 25px;
    }
    
    .btn-primary-modern {
        padding: 14px 36px;
    }
    
    .modern-testimonials {
        padding: 60px 0;
    }
    
    .contact-box {
        padding: 50px 25px;
    }
    
    .contact-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
    
    .section-description {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .service-card-modern {
        max-width: 350px;
        margin: 0 auto 30px;
    }
    
    .services-cta-modern {
        padding: 35px 25px;
        margin: 40px 20px;
    }
    
    .services-cta-modern .cta-text h3 {
        font-size: 24px;
    }
    
    .services-cta-modern .cta-text p {
        font-size: 15px;
    }
    
    .services-cta-modern .cta-icon {
        font-size: 42px;
        padding: 18px;
    }
    
    .btn-primary-modern {
        padding: 12px 28px;
        font-size: 15px;
    }
    
    .testimonial-card-modern {
        padding: 20px;
    }
    
    .client-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-content h2 {
        font-size: 24px;
    }
    
    .contact-content p {
        font-size: 15px;
    }
    
    .btn-contact {
        padding: 12px 28px;
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 13px;
        padding: 6px 16px;
    }
    
    .services-cta-modern {
        padding: 30px 20px;
        margin: 30px 15px;
    }
    
    .services-cta-modern .cta-text h3 {
        font-size: 22px;
    }
    
    .services-cta-modern .cta-icon {
        font-size: 38px;
        padding: 16px;
    }
    
    .btn-primary-modern {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
    
    .company-logo {
        padding: 10px;
    }
    
    .logo-placeholder i {
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
    
    .logo-placeholder span {
        font-size: 12px;
    }
    
    .contact-box {
        padding: 40px 20px;
        margin: 40px 15px;
    }
    
    .contact-content h2 {
        font-size: 22px;
    }
    
    .contact-content p {
        font-size: 14px;
    }
    
    .btn-contact {
        padding: 12px 24px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .services.section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .services-cta-modern .cta-text h3 {
        font-size: 20px;
    }
    
    .modern-testimonials {
        padding: 50px 0;
    }
}