* {
    padding: 0;
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* =========== STYLES GÉNÉRAUX ========== */
body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

/* =========== BOUTONS ========== */
a.sd-btn,
button.sd-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #161474d2;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    transition: all 0.3s ease-in-out;
    border: none;
    cursor: pointer;
}

a.sd-btn:hover,
button.sd-btn:hover {
    background-color: #4a4a8c;
}

/* =========== HERO SECTION ========== */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 5%;
    box-shadow: 0 24px 16px rgba(22, 18, 18, 0.137);
    background: linear-gradient(to right, #4c2570ef, #434392);
    color: white;
    border-bottom: 4px solid #a6a6a6;
    box-shadow: 0 2px 6px rgba(150, 150, 150, 0.4), 
                0 4px 10px rgba(200, 200, 200, 0.2) inset;
}


.hero-content {
    max-width: 50%;
    text-align: center;
}

.hero-content h1 {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

/* =========== RESPONSIVE DESIGN ========== */
@media (max-width: 860px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 90%;
    }
}



/* =========== SERVICES SECTION ========== */
.services {
    text-align: center;
    padding: 60px 5%;
    background-color: #f5f5f5;
}

.services h2 {
    font-size: 2.5em;
    color: #271430;
    margin-bottom: 32px;
    text-transform: uppercase;
    font-weight: 900;
    text-align: center;
    letter-spacing: 1px;
}

.service-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.service-card {
    background: linear-gradient(to right, #4c2570ef, #434392);
    color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 600px;
    max-width: 90%;
    transition: transform 0.3s ease-in-out;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.service-icon i {
    color: #ffd700;
}

.service-card h3 {
    font-size: 2em;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 1.2em;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 20px;
}

.service-card .sd-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffd700;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    transition: all 0.3s ease-in-out;
}

.service-card .sd-btn:hover {
    background-color: #ffcc00;
}

/* =========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .services h2 {
        font-size: 2em;
    }
}



/* =========== DÉVELOPPEMENT WEB SECTION ========== */
.web-development {
    text-align: center;
    padding: 60px 5%;
    background-color: #f4ebff;
    color: #2c2c54;
}

.web-development h2 {
    font-size: 2.5em;
    color: #271430;
    margin-bottom: 32px;
    text-transform: uppercase;
    font-weight: 900;
    text-align: center;
    letter-spacing: 1px;
    gap: 10px;
}

.web-development h2 i {
    color: #ff4500;
    font-size: 1.2em;
}

.web-description {
    font-size: 1.2em;
    max-width: 80%;
    margin: 0 auto 30px;
    line-height: 1.6;
    color: #3a3a5d;
}

.web-services {
    list-style: none;
    padding: 0;
    max-width: 80%;
    margin: 0 auto 30px;
}

.web-service {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto 15px;
    margin-top: 16px;
}

.web-services li {
    line-height: 1.8;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4em;
    font-weight: bold;
    color: #1a1a3d;
}

.web-services p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 18px;
}

.web-services i {
    font-size: 1.8em;
    color: #ff4500;
    min-width: 50px;
    text-align: center;
}

.sd-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    transition: all 0.3s ease-in-out;
    border: none;
    cursor: pointer;
}

.sd-btn:hover {
    background-color: #0056b3;
}

/* =========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .web-development h2 {
        font-size: 2em;
    }

    .web-description {
        font-size: 1em;
    }

    .web-services {
        max-width: 100%;
    }

    .web-services li {
        font-size: 1em;
    }
}



/* =========== DÉVELOPPEMENT JAVA SECTION ========== */
.java-development {
    text-align: center;
    padding: 60px 5%;
    background-color: #eaf2ff;
    color: #1a1a3d;
}

.java-development h2 {
    font-size: 2.5em;
    color: #271430;
    margin-bottom: 32px;
    text-transform: uppercase;
    font-weight: 900;
    text-align: center;
    letter-spacing: 1px;
    gap: 10px;
}

.java-development h2 i {
    color: #ff4500;
    font-size: 1.2em;
}

.java-description {
    font-size: 1.2em;
    max-width: 80%;
    margin: 0 auto 30px;
    line-height: 1.6;
    color: #3a3a5d;
}

.java-services {
    list-style: none;
    padding: 0;
    max-width: 80%;
    margin: 0 auto 30px;

}

.java-service {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto 15px;
}

.java-service i {
    font-size: 1.8em;
    color: #ff4500;
    min-width: 50px;
    text-align: center;
}

.java-service h3 {
    font-size: 1.4em;
    font-weight: bold;
    color: #1a1a3d;
}

.java-service p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 18px;
}

.sd-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #ff4500;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    transition: all 0.3s ease-in-out;
    border: none;
    cursor: pointer;
}

.sd-btn:hover {
    background-color: #cc3700;
}

/* =========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .java-development h2 {
        font-size: 2em;
    }

    .java-description {
        font-size: 1em;
    }

    .java-services {
        max-width: 100%;
    }

    .java-service {
        flex-direction: column;
        text-align: center;
    }

    .java-service i {
        font-size: 2em;
        margin-bottom: 8px;
    }

    .java-service h3 {
        font-size: 1.2em;
    }

    .java-service p {
        font-size: 1em;
    }
}



/* =========== FAQ SECTION ========== */
.faq {
    text-align: center;
    padding: 60px 5%;
    background-color: #f9f9f9;
    color: #333;
}

.faq h2 {
    font-size: 2.2em;
    color: #1a1a3d;
    font-weight: 900;
    margin-bottom: 30px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-question {
    width: 100%;
    background: #eef2f7;
    color: #1a1a3d;
    padding: 15px 20px;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

.faq-question:hover {
    background: #e0e7ee;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    display: none;
    padding: 15px;
    font-size: 1.1em;
    background: #ffffff;
    border-left: 3px solid #007bff;
    border-radius: 5px;
    color: #444;
    margin-bottom: 10px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* =========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .faq h2 {
        font-size: 2em;
    }

    .faq-container {
        max-width: 100%;
    }

    .faq-question {
        font-size: 1em;
        padding: 12px 15px;
    }

    .faq-answer {
        font-size: 1em;
    }
}



/* =========== PARTENAIRES SECTION ========== */
.partners {
    text-align: center;
    padding: 60px 5%;
    background-color: #f9f9f9;
}

.partners h2 {
    font-size: 2.5em;
    color: #271430;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: 900;
}

.partner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    padding: 40px 0;
}

.partner-separator {
    width: 80%;
    height: 2px;
    background-color: #ccc;
    margin: 30px auto;
}

.partner-text {
    flex: 1;
    text-align: center;
    max-width: 50%;
}

.partner-text h3 {
    font-size: 2em;
    color: #4c2570;
    margin-bottom: 15px;
    font-weight: bold;
}

.partner-text p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #333;
}

.partner-text a {
    color: #5c1d4c;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.partner-text a:hover {
    color: #79033a;
    text-shadow: 0 0 10px rgba(122, 19, 88, 0.8);
}

.partner-image {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 50%;
}

.partner-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}



/* =========== CARROUSEL ========== */
.partner-carousel {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 50%;
    overflow: hidden;
    position: relative;
}

.carousel {
    display: flex;
    width: 100%;
    max-width: 400px;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
    position: relative;
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    border-radius: 12px;
}

.carousel img:first-child {
    display: block;
}

/* =========== RESPONSIVE DESIGN ========== */
@media (max-width: 940px) {
    .partner-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .partner-text {
        max-width: 90%;
        text-align: center;
    }

    .partner-text p {
        padding-bottom: 8px;
    }

    .partner-image,
    .partner-carousel {
        max-width: 100%;
    }

    .partner-image img {
        max-width: 300px;
    }

    .carousel {
        max-width: 320px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .partner-text {
        max-width: 95%;
    }

    .carousel {
        max-width: 280px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .partners h2 {
        font-size: 2em;
    }

    .partner-text h3 {
        font-size: 1.8em;
    }

    .partner-text p {
        font-size: 1em;
    }

    .partner-image img {
        max-width: 250px;
    }

    .carousel {
        max-width: 260px;
        height: 160px;
    }
}