 :root {
     --primary: #0a2342;
     --secondary: #00a8e8;
     --light: #f7f9fc;
     --dark: #06111f;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     font-family: 'Inter', sans-serif;
     color: #333;
     color: #1d1d1d;
     overflow-x: hidden;
 }

 a {
     text-decoration: none;
 }

 .text-yivud {
     color: var(--primary);
 }

 .text-blue {
     color: var(--secondary);
 }

 .bg-yivud {
     background-color: var(--primary);
 }

 .bg-blue {
     background-color: var(--secondary);
 }

 .section-padding {
     padding: 100px 0;
 }

 /* =========================NAVBAR========================= */

 .navbar-yivud {
     background: rgba(10, 35, 66, .92);
     backdrop-filter: blur(12px);
     padding: 14px 0;
     transition: .3s;
 }

 .navbar-yivud.scrolled {
     padding: 8px 0;
     background: #081b33;
     box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
 }

 .navbar-brand img {
     height: 52px;
 }

 .brand-title {
     display: block;
     color: #fff;
     font-weight: 800;
     font-size: 0.875rem;
 }

 .brand-subtitle {
     color: rgba(255, 255, 255, .7);
     font-size: .7rem;
 }

 .nav-link {
     color: #fff !important;
     font-weight: 600;
     margin: 0 5px;
     border-radius: 12px;
     padding: 10px 10px !important;
     transition: .3s;
 }

 .nav-link:hover {
     background: rgba(255, 255, 255, .08);
     color: var(--secondary) !important;
 }


 .btn-contact {
     background: var(--secondary);
     color: #fff;
     border: none;
     border-radius: 14px;
     padding: 12px 22px;
     font-weight: 700;
     transition: .3s;
 }

 .btn-contact:hover {
     background: #fff;
     color: var(--primary);
 }

 /* =========================
   DROPDOWN BASE
========================= */

.dropdown-menu {
    min-width: 280px;
    border: none;
    border-radius: 22px;
    padding: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.dropdown-item {
    padding: 14px;
    border-radius: 14px;
    transition: all 0.25s ease;
    white-space: normal;
}

.dropdown-item:hover {
    background: #f5f8ff;
    transform: translateX(4px);
}


/* =========================
   MEGA MENU DESKTOP
========================= */

.mega-menu {
    width: 750px;
    max-width: 750px;
}


/* =========================
   MOBILE FIX
========================= */

@media (max-width: 768px) {

    /* IMPORTANT :
       On enlève totalement
       le left + transform
       qui cassent Bootstrap
    */

    .mega-menu,
    .dropdown-menu {

        position: absolute !important;

        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        min-width: unset !important;

        left: 12px !important;
        right: 12px !important;

        transform: none !important;

        padding: 12px !important;

        border-radius: 18px !important;

        max-height: 75vh;
        overflow-y: auto;
        overflow-x: hidden;

    }

    /* Colonnes Bootstrap */
    .dropdown-menu .row {
        margin: 0 !important;
    }

    .dropdown-menu [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;

        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Items */
    .dropdown-item {

        display: block;

        width: 100%;

        padding: 14px 12px !important;

        white-space: normal !important;
        word-break: break-word;

        overflow-wrap: break-word;

        line-height: 1.5;

    }

    /* Titres */
    .dropdown-item strong,
    .dropdown-item h6 {

        display: block;

        font-size: 15px;
        line-height: 1.4;

        margin-bottom: 4px;
    }

    /* Descriptions */
    .dropdown-item p,
    .dropdown-item small {

        display: block;

        font-size: 13px;

        line-height: 1.5;

        margin-bottom: 0;

        white-space: normal !important;
    }

    /* Scrollbar */
    .dropdown-menu::-webkit-scrollbar {
        width: 5px;
    }

    .dropdown-menu::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 20px;
    }
}
 /* =========================HERO========================= */

 .hero {
     min-height: 100vh;
     display: flex;
     align-items: center;
     background:
         linear-gradient(rgba(6, 17, 31, .82), rgba(6, 17, 31, .88)),
         url(../office.jpeg);
     background-size: cover;
     background-position: center;
     color: white;
 }

 .hero h1 {
     font-size: 4rem;
     font-weight: 800;
     line-height: 1.1;
 }

 .hero p {
     font-size: 1.2rem;
     opacity: .9;
 }

 .hero-buttons {
     margin-top: 40px;
 }

 .btn-primary-yivud {
     background: var(--secondary);
     border: none;
     color: white;
     padding: 16px 30px;
     border-radius: 16px;
     font-weight: 700;
 }

 .btn-outline-yivud {
     border: 2px solid rgba(255, 255, 255, .3);
     color: white;
     padding: 16px 30px;
     border-radius: 16px;
     font-weight: 700;
 }

 /* =========================SECTIONS========================= */

 .section-title {
     font-size: 2.5rem;
     font-weight: 800;
     margin-bottom: 20px;
     color: var(--primary);
 }

 .section-subtitle {
     color: #6b7280;
     max-width: 750px;
     margin: auto;
 }

 /* =========================CARDS========================= */

 .card-yivud {
     border: none;
     border-radius: 24px;
     padding: 35px;
     transition: .35s;
     height: 100%;
     background: white;
 }

 .card-yivud:hover {
     transform: translateY(-8px);
     box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
 }

 .icon-box {
     width: 75px;
     height: 75px;
     border-radius: 20px;
     background: rgba(0, 168, 232, .1);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 2rem;
     color: var(--secondary);
     margin-bottom: 25px;
 }

 /* =========================STATS========================= */

 .stats {
     background: var(--primary);
     color: white;
 }

 .stat-number {
     font-size: 3rem;
     font-weight: 800;
 }

 /* =========================BLOG========================= */

 .blog-card {
     overflow: hidden;
     border-radius: 24px;
     border: none;
     transition: .3s;
 }

 .blog-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
 }

 .blog-card img {
     height: 240px;
     object-fit: cover;
 }

 /* =========================CTA========================= */

 .cta {
     background: linear-gradient(135deg, #0a2342, #00152d);
     color: white;
     border-radius: 40px;
 }

 /* =========================FOOTER========================= */

 footer {
     background: #06111f;
     color: rgba(255, 255, 255, .75);
 }

 .footer-title {
     color: white;
     font-weight: 700;
     margin-bottom: 20px;
 }

 .footer-link {
     color: rgba(255, 255, 255, .75);
     display: block;
     margin-bottom: 12px;
 }

 .footer-link:hover {
     color: white;
 }

 /* =========================RESPONSIVE========================= */

 @media(max-width:991px) {

     .hero {
         text-align: center;
         padding: 120px 0 80px;
     }

     .hero h1 {
         font-size: 2.5rem;
     }

     .navbar-collapse {
         background: var(--primary);
         padding: 20px;
         border-radius: 20px;
         margin-top: 20px;
     }

 }

 /* =========================MOBILE MENU ANIMATION========================= */

 .navbar-toggler {
     width: 50px;
     height: 50px;
     position: relative;
     padding: 0;
 }

 /* Hamburger */

 .menu-icon {
     width: 30px;
     height: 22px;
     position: relative;
     margin: auto;
 }

 .menu-icon span {
     position: absolute;
     width: 100%;
     height: 3px;
     background: white;
     border-radius: 10px;
     left: 0;
     transition: all .35s ease;
 }

 /* Lines Position */

 .menu-icon span:nth-child(1) {
     top: 0;
 }

 .menu-icon span:nth-child(2) {
     top: 9px;
 }

 .menu-icon span:nth-child(3) {
     top: 18px;
 }

 /* =========================ACTIVE STATE => CROSS========================= */

 .navbar-toggler.active .menu-icon span:nth-child(1) {
     transform: rotate(45deg);
     top: 9px;
 }

 .navbar-toggler.active .menu-icon span:nth-child(2) {
     opacity: 0;
 }

 .navbar-toggler.active .menu-icon span:nth-child(3) {
     transform: rotate(-45deg);
     top: 9px;
 }

 /* =========================
   SOLUTION CARD
========================= */

 .solution-card {
     background: #ffffff;
     border-radius: 18px;
     padding: 32px 28px;
     height: 100%;
     position: relative;
     overflow: hidden;
     transition: all 0.35s ease;
     border: 1px solid rgba(0, 0, 0, 0.06);
     box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
 }

 .solution-card:hover {
     transform: translateY(-8px);
     box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
     border-color: rgba(25, 135, 84, 0.20);
 }

 /* Ligne décorative */
 .solution-card::before {
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 4px;
     background: linear-gradient(90deg, var(--primary), var(--secondary));
 }


 /* =========================
   ICON
========================= */

 .solution-icon {
     width: 72px;
     height: 72px;
     border-radius: 18px;
     background: rgba(25, 135, 84, 0.10);
     display: flex;
     align-items: center;
     justify-content: center;
     margin-bottom: 24px;
     transition: all 0.3s ease;
 }

 .solution-icon i {
     font-size: 32px;
     color: var(--primary);
     transition: all 0.3s ease;
 }

 .solution-card:hover .solution-icon {
     background: var(--primary);
     transform: rotate(-4deg) scale(1.05);
 }

 .solution-card:hover .solution-icon i {
     color: #ffffff;
 }


 /* =========================
   BADGE
========================= */

 .solution-badge {
     display: inline-block;
     background: rgba(25, 135, 84, 0.12);
     color: var(--primary);
     padding: 8px 16px;
     border-radius: 50px;
     font-size: 13px;
     font-weight: 600;
     letter-spacing: 0.4px;
     margin-bottom: 12px;
     text-transform: uppercase;
 }


 /* =========================
   LIST
========================= */

 .solution-list {
     list-style: none;
     padding: 0;
     margin: 24px 0 0;
 }

 .solution-list li {
     position: relative;
     padding-left: 28px;
     margin-bottom: 14px;
     color: #555;
     font-size: 15px;
     line-height: 1.6;
 }

 /* Icône check */
 .solution-list li::before {
     content: "\F26E";
     font-family: "bootstrap-icons";
     position: absolute;
     left: 0;
     top: 2px;
     color: var(--primary);
     font-size: 16px;
 }
 /* =========================
   SERVICES LIST
========================= */

 .service-list {
     list-style: none;
     padding: 0;
     margin: 24px 0 0;
 }

 .service-list li {
     position: relative;
     padding-left: 28px;
     margin-bottom: 14px;
     color: #555;
     font-size: 15px;
     line-height: 1.6;
 }
 /* Icône check */
 .service-list li::before {
     content: "\F26E";
     font-family: "bootstrap-icons";
     position: absolute;
     left: 0;
     top: 2px;
     color: var(--primary);
     font-size: 16px;
 }
 /* =========================
   RESPONSIVE
========================= */

 @media (max-width: 768px) {

     .solution-card {
         padding: 26px 22px;
     }

     .solution-icon {
         width: 62px;
         height: 62px;
     }

     .solution-icon i {
         font-size: 28px;
     }

 }

 .back-to-top {
     position: fixed;
     right: 25px;
     bottom: 25px;
     width: 60px;
     height: 60px;
     background: linear-gradient(135deg, #0d6efd, #4f8cff);
     color: #fff;
     border-radius: 20px;
     font-size: 2rem;
     text-decoration: none;
     box-shadow: 0 10px 30px rgba(13, 110, 253, 0.35);
     z-index: 999;
     transition: all 0.35s ease;
 }

 .back-to-top:hover {
     transform: translateY(-8px) scale(1.08);
     color: #fff;
     box-shadow: 0 15px 35px rgba(13, 110, 253, 0.45);
     background: linear-gradient(135deg, #4f8cff, #0d6efd);
 }

 .back-to-top i {
     transition: transform 0.3s ease;
 }

 .back-to-top:hover i {
     transform: translateY(-3px);
 }

 /* Animation flottante */
 .back-to-top {
     animation: floating 3s ease-in-out infinite;
 }

 @keyframes floating {
     0% {
         transform: translateY(0px);
     }

     50% {
         transform: translateY(-6px);
     }

     100% {
         transform: translateY(0px);
     }
 }

 /* Mobile */
 @media (max-width: 768px) {
     .back-to-top {
         width: 52px;
         height: 52px;
         right: 18px;
         bottom: 18px;
         font-size: 1.8rem;
     }
 }

 /* =========================
   LEGAL PAGE
========================= */

.legal-page h3 {
    margin-top: 25px;
    font-weight: 700;
}

.legal-page p, .legal-page li {
    color: #555;
    line-height: 1.7;
}

.legal-page .card {
    border-radius: 16px;
}
/* =========================EXPERTISE PAGE========================= */
        .expertise-hero{
            background: linear-gradient(135deg,#0f172a,#1e40af);
            color:white;
            padding:100px 0;
            position:relative;
            overflow:hidden;
        }

        .expertise-hero::before{
            content:'';
            position:absolute;
            width:500px;
            height:500px;
            border-radius:50%;
            background:rgba(255,255,255,.05);
            top:-200px;
            right:-150px;
        }

        .expertise-hero h1{
            font-size:3rem;
            font-weight:800;
        }

        .expertise-hero p{
            font-size:1.1rem;
            opacity:.9;
        }

        /* SECTION TITLE */
        .expertise-section-title{
            text-align:center;
            margin-bottom:60px;
        }

        .expertise-section-title h2{
            font-weight:800;
            color:#0f172a;
        }

        .expertise-section-title p{
            color:#64748b;
        }

        /* EXPERTISE CARD */
        .expertise-card{
            background:white;
            border:none;
            border-radius:20px;
            overflow:hidden;
            transition:.4s;
            height:100%;
            box-shadow:0 5px 25px rgba(0,0,0,.05);
        }

        .expertise-card:hover{
            transform:translateY(-10px);
            box-shadow:0 15px 35px rgba(0,0,0,.1);
        }

        .expertise-icon-box{
            width:80px;
            height:80px;
            display:flex;
            align-items:center;
            justify-content:center;
            background:rgba(13,110,253,.1);
            color:#0d6efd;
            font-size:2rem;
            border-radius:20px;
            margin-bottom:20px;
        }

        .expertise-card h3{
            font-weight:700;
            color:#0f172a;
        }

        .expertise-service-list li{
            padding:5px 0;
            border-bottom:1px dashed #e2e8f0;
            font-size:.95rem;
        }

        .expertise-service-list li:last-child{
            border:none;
        }

        .expertise-service-list i{
            color:#0d6efd;
            margin-right:8px;
        }

        /* CTA */
        .expertise-cta{
            background:linear-gradient(135deg,#2563eb,#1d4ed8);
            color:white;
            border-radius:30px;
            padding:60px;
        }
        .blog-card {
            transition: all 0.3s ease;
            border-radius: 15px;
        }
    
        .blog-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
    
        .blog-img-wrapper {
            position: relative;
            height: 220px;
            overflow: hidden;
        }
    
        .blog-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }
    
        .blog-card:hover .blog-img {
            transform: scale(1.05);
        }
    
        .blog-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
        }
    
        .blog-category {
            position: absolute;
            top: 15px;
            left: 15px;
            font-size: 12px;
            padding: 6px 10px;
            border-radius: 20px;
        }
    
        .blog-img-wrapper {
            position: relative;
            overflow: hidden;
            aspect-ratio: 16 / 9;
        }
    
        .blog-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
    
        .blog-card:hover .blog-img {
            transform: scale(1.05);
        }
    
        .blog-category {
            position: absolute;
            top: 1rem;
            left: 1rem;
            z-index: 2;
        }
    
        .carousel-caption {
            bottom: 20px;
            left: 20px;
            right: 20px;
        }
        #reading-progress{
            position:fixed;
            top:0;
            left:0;
            width:0%;
            height:4px;
            background:#0d6efd;
            z-index:9999;
        }

        .testimonial-card{
            transition:all .3s ease;
        }
        
        .testimonial-card:hover{
            transform:translateY(-6px);
            box-shadow:0 .75rem 1.5rem rgba(0,0,0,.08)!important;
        }
        #featuredTestimonialsCarousel .carousel-item {
            min-height: 320px;
        }
        
        #featuredTestimonialsCarousel .card {
            background: linear-gradient(
                135deg,
                #ffffff 0%,
                #f8f9fa 100%
            );
        }
        
        #featuredTestimonialsCarousel .carousel-control-prev,
        #featuredTestimonialsCarousel .carousel-control-next {
            width: 6%;
        }
        
        #featuredTestimonialsCarousel blockquote p {
            max-width: 850px;
            margin: auto;
            line-height: 1.8;
        }