/* =========================================================
   RESET GLOBAL – ANTI ESPACE GAUCHE / DROITE
   ========================================================= */
html, body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================================
   TOP HEADER
   ========================================================= */

.top-header {
    width: 80%;
    background: #ffffff;
    margin-left: 8%;
    

}

.logo {
    max-height: 70px;
}

/* CONTACT INLINE */
.contact-inline {
    display: flex;
    align-items: center;
    gap: 30px;
    text-align: left;
}

.contact-item {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: #4a4b4b;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.contact-title {
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 6px;
}

.contact-item a {
    color: #7d746c;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* VERTICAL SEPARATOR */
.contact-separator {
    width: 1px;
    height: 45px;
    background-color: #dcdcdc;
}

/* =========================================================
   btn KNOW MORE  
   ========================================================= */

   .hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background-color: #FFDA44;
    color: #000;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 20px;

    padding: 18px 45px;
    border-radius: 6px;
    text-decoration: none;

    transition: 0.3s ease;
}

/* Hover effect */
.hero-btn:hover {
    background-color: #f5cc2f;
    transform: translateY(-3px);
}

/* Arrow animation */
.hero-btn .arrow {
    font-size: 22px;
    transition: 0.3s ease;
}

.hero-btn:hover .arrow {
    transform: translateX(5px);
}

/* =========================================================
   NAVBAR (sécurité largeur)
   ========================================================= */
.navbar {
    width: 100%;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
    width: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* =========================================================
   FOOTER TECHNISOL
   ========================================================= */
.footer-technisol {
    width:100%;
    background: linear-gradient(180deg, #0B2A5B 0%, #071B3A 100%);
    color: #BFC9D9;
    padding: 2px 0 0;
    font-size: 14px;
}

.footer-title {
    color: #FFFFFF;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.footer-text {
    line-height: 1.8;
    color: #BFC9D9;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #BFC9D9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
}

/* =========================================================
   SOCIAL ICONS
   ========================================================= */
.social-icons {
    display: flex;
    gap: 12px;
}

.social {
    width: 40px;
    height: 40px;
    background: #F6C400;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.social:hover {
    transform: translateY(-3px);
}

/* =========================================================
   FOOTER BOTTOM BAR
   ========================================================= */
.footer-bottom {
    width: 100%;
    background-color: #06142F;
    color: #9AA7BD;
    padding: 25px 0;
    font-size: 15   px;
}

/* =========================================================
   SCROLL TO TOP BUTTON
   ========================================================= */
.scroll-top {
    background: #009FE3;
    color: #FFFFFF;
}


/* ================= PARTNERS SLIDER – FIXED ================= */

.partners-wrapper {
    width: 80%;
    overflow: hidden;
    margin-left: 10%;
}

.partners-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}


.partners-track img {
    flex: 0 0 25%;    
    max-width: 25%;
    padding: 20px;
    object-fit: contain;

    
    transition: all 0.4s ease;
    cursor: pointer;
}

.partners-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
    .partners-track img {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

@media (max-width: 576px) {
    .partners-track img {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
/* ================= COMPANY IMAGES HOVER ================= */

.company-images {
    min-height: 300px;
    position: relative;
}

/* generic image box */
.img-box {
    position: absolute;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* images */
.img-box img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

/* overlay zone */
.img-overlay {
    position: absolute;
    inset: 10px;                /* petite zone */
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* back image */
.img-back {
    width: 55%;
    left: 5%;
    top: 30px;
    z-index: 1;
}

/* front image */
.img-front {
    width: 80%;
    right: 0;
    top: 0;
    z-index: 2;
}

/* hover effect */
.img-box:hover img {
    transform: scale(1.06);
}

.img-box:hover .img-overlay {
    opacity: 1;
}

.img-box:hover {
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

/* responsive */
@media (max-width: 992px) {
    .company-images {
        position: static;
        min-height: auto;
        margin-top: 30px;
    }

    .img-box {
        position: static;
        width: 100%;
        margin-bottom: 150px;
    }
}







/* ================= COMPANY SECTION ================= */

.company-block {
    max-width: 520px;
}

/* Label jaune */
.company-label {
    display: inline-block;
    background-color: #f6cf3c;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

/* Titre bleu */
.company-title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: #093eb9;
    margin: 20px 0;
}

/* Paragraphe */
.company-text {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 15px;
    line-height: 20px;
    color: #6f6f6f;
    margin-bottom: 25px;
}

/* Bouton */
.company-btn {
    background-color: #093eb9;
    border-color: #093eb9;
    font-weight: 600;
    padding: 10px 22px;
}

.company-btn:hover {
    background-color: #072f8a;
    border-color: #072f8a;
}










/* OUR SECTORS OF ACTIVITY */
.sectors-section {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.sectors-title {
    font-size: 36px;
    font-weight: 700;
    color: #0b3dbb;
    margin-bottom: 15px;
    text-align: center;
}

.sectors-subtitle {
    max-width: 900px;
    margin: 0 auto 60px;
    font-size: 18px;
    color: #333;
    line-height: 1.6;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.sector-card {
    background: #fff;
}

.sector-img {
    overflow: hidden;
}

.sector-img img {
    width: 100%;
    transition: transform 0.4s ease;
}

.sector-card:hover img {
    transform: scale(1.08);
}

.sector-card h4 {
    margin: 20px 0 10px;
    font-size: 20px;
    font-weight: bold;
    color: #0b3dbb;
}

.sector-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    padding: 0 10px;
}

.sector-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.sector-link h4 {
    transition: color 0.3s ease;
}

.sector-card:hover h4 {
    color: #0b3dbb;
}







.hero-slider {
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #eaeaea;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-image img {
    max-width: 520px;
}

.slide-content {
    max-width: 500px;
}

.slide-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.slide-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.btn-yellow {
    background: #ffd23f;
    color: #000;
    padding: 12px 26px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
}

.btn-yellow:hover {
    background: #ffcc00;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .slide {
        flex-direction: column;
        text-align: center;
    }

    .slide-image img {
        max-width: 90%;
        margin-bottom: 30px;
    }
}
