* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('https://images.unsplash.com/photo-1587854692152-cbe660dbde88?w=1920') center/cover no-repeat;
    z-index: -1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Section 1 - Hero */
.section1 {
    background: linear-gradient(135deg, #3AB24F 0%, #2a9c3f 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.section1::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

/* Navbar */
.navbar {
    border-radius: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar.scrolled {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
    padding: 8px 16px !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.div_btn button {
    background: linear-gradient(135deg, #3AB24F 0%, #2a9c3f 100%);
    border: none;
    border-radius: 30px;
    padding: 10px 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(58, 178, 79, 0.3);
}

.div_btn button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(58, 178, 79, 0.4);
}

/* Hamburger Menu */
.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #3AB24F;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Content */
.div_accueil {
    animation: fadeInUp 1s ease;
    padding: 20px;
}

.div_accueil h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    animation: slideInLeft 1s ease;
}

.div_accueil p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    animation: slideInLeft 1.2s ease;
}

.div_accueil img {
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    animation: slideInRight 1s ease, float 6s ease-in-out infinite 1s;
    max-width: 100%;
    height: auto;
}

/* About Section */
.about {
    padding: 80px 20px;
}

.about h4 {
    color: #0B7ABB;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 30px;
}

.about p {
    color: white;
}

.introduction {
    max-width: 50%;
    animation: fadeIn 1s ease;
}

/* Atouts Cards */
.raisons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
}

.raisons p{
    color: black;
}

.atouts {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 0.6s ease forwards;
}

.atouts:nth-child(1) {
    animation-delay: 0.1s;
}

.atouts:nth-child(2) {
    animation-delay: 0.2s;
}

.atouts:nth-child(3) {
    animation-delay: 0.3s;
}

.atouts:nth-child(4) {
    animation-delay: 0.4s;
}

.atouts:nth-child(5) {
    animation-delay: 0.5s;
}

.atouts:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.div_icone {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0B7ABB 0%, #0a6ca0 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.atouts:hover .div_icone {
    transform: rotate(360deg);
    background: linear-gradient(135deg, #3AB24F 0%, #2a9c3f 100%);
}

/* Info Section with Background Shapes */
.infos_sup {
    padding: 60px 20px;
    position: relative;
    margin-top: 60px;
}

.bg-shape {
    position: absolute;
    border-radius: 30px;
    z-index: 0;
    opacity: 0.9;
}

.shape-1 {
    background: #3AB24F;
    width: 140px;
    height: 140px;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    animation: pulse 3s ease-in-out infinite;
}

.shape-2 {
    background: #3AB24F;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    left: 5%;
    top: 20%;
    animation: float 4s ease-in-out infinite;
}

.shape-3 {
    background: #3AB24F;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    left: 40%;
    top: 10%;
    animation: float 5s ease-in-out infinite 0.5s;
}

.shape-4 {
    background: #0B7ABB;
    width: 80px;
    height: 80px;
    border-radius: 30px;
    left: 10%;
    bottom: 10%;
    animation: pulse 4s ease-in-out infinite 1s;
}

.infos_sup img {
    border-radius: 20px;
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Solutions Section */
.solution {
    padding: 10px 20px;
    background: linear-gradient(180deg, #fff 0%, #f8f9fb 100%);
}

.solution h1 {
    color: #0B7ABB;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 20px;
}

.solution h2 {
    color: #0B7ABB;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 40px;
}

.nav-pills .nav-link {
    color: #666;
    border-radius: 25px;
    padding: 12px 25px;
    margin: 5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-pills .nav-link:hover {
    border-color: #0B7ABB;
    transform: translateY(-2px);
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, #0B7ABB 0%, #0a6ca0 100%);
    box-shadow: 0 5px 20px rgba(11, 122, 187, 0.3);
}

.tab-content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tab-content img:hover {
    transform: scale(1.05);
}

/* Stats Section */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 50px;
    padding: 0 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.stat-item span {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: bold;
    background: linear-gradient(135deg, #0B7ABB 0%, #3AB24F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

/* Team Section */
.team-section {
    padding: 80px 20px;
    background: white;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #0072b1;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #333;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 250px));
    gap: 80px 40px;
    justify-content: center;
    padding: 80px 20px;
}

.team-member {
    position: relative;
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 100px 20px 30px;
    text-align: center;
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease forwards;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-member:hover img {
    padding: 10px;
}

/* Partners Section */
.partners-section {
    padding: 80px 20px;
    background: #f8f9fb;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    justify-items: center;
    padding: 0 20px;
}

.partner {
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
}

.partner:hover {
    transform: translateY(-10px);
}

.partner img {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.partner:hover img {
    transform: rotate(360deg);
}

/* Testimonials */
.testimonials {
    padding: 80px 20px;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 450px));
    gap: 40px;
    justify-content: center;
    padding: 0 20px;
}

.testimonial-card {
    padding: 30px;
    border-radius: 20px;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease forwards;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-card.green {
    background: linear-gradient(135deg, #34a853 0%, #2d8f46 100%);
}

.testimonial-card.blue {
    background: linear-gradient(135deg, #0072b1 0%, #005c8f 100%);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.quote {
    font-size: 3rem;
    line-height: 1;
    opacity: 0.7;
}

.profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid white;
}

/* Contact Section */
.contact-section {
    /*background: linear-gradient(135deg, #0878b7 0%, #065a8c 100%);*/
    padding: 80px 20px;
    color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-map {
    width: 100%;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form {
    background: white;
    color: #222;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0878b7;
    box-shadow: 0 0 0 3px rgba(8, 120, 183, 0.1);
}

.contact-form button {
    background: linear-gradient(135deg, #0878b7 0%, #065a8c 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(8, 120, 183, 0.3);
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(8, 120, 183, 0.4);
}

/* Offers Section */
.offres {
    padding: 80px 20px;
    background: white;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
}

.offer-card {
    background: linear-gradient(135deg, #0B7ABB 0%, #0a6ca0 100%);
    padding: 30px 20px;
    border-radius: 20px;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease forwards;
}

.offer-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.offer-card span {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 20px;
    font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .navbar {
        border-radius: 15px;
    }

    .nav-pills {
        flex-direction: column;
        align-items: center;
    }

    .div_accueil {
        text-align: center !important;
    }

    .infos_sup .col:last-child {
        margin-top: 40px;
    }

    .bg-shape {
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .section1 {
        min-height: auto;
        padding-bottom: 60px;
    }

    .team-grid {
        gap: 100px 30px;
    }

    .stat-item {
        padding: 15px;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 10px 15px !important;
    }

    .raisons,
    .partners-grid,
    .testimonials-grid,
    .offers-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}