 /* ════════════════════════════════════════════════════════
   EDVCODER — Charte Orange · Bleu · Blanc
   ════════════════════════════════════════════════════════ */
 :root {
     --orange: #fd7e14;
     --orange-h: #fb923c;
     --orange-lt: #fff4ec;
     --orange-md: rgba(253, 126, 20, .15);
     --blue: #1a4494;
     --blue-deep: #0d2f6b;
     --blue-lt: #eef3fb;
     --blue-md: #d6e4f7;
     --white: #ffffff;
     --gray-50: #f8fafd;
     --gray-100: #eef1f7;
     --gray-200: #dde4ef;
     --gray-400: #94a3b8;
     --gray-600: #4b5e7a;
     --gray-800: #1e2f4a;
     --ease: cubic-bezier(.4, 0, .2, 1);
 }

 *,
 *::before,
 *::after {
     box-sizing: border-box;
     margin: 0;
     padding: 0;
 }

 html {
     scroll-behavior: smooth;
 }

 body {
     font-family: 'Open Sans', sans-serif;
     color: var(--gray-600);
     line-height: 1.75;
     overflow-x: hidden;
 }

 h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
     font-family: 'Poppins', sans-serif;
     color: var(--gray-800);
     line-height: 1.2;
 }

 img {
     max-width: 100%;
     display: block;
 }

 a {
     transition: color .25s var(--ease);
 }

 section,
 .section-wrap {
     padding: 88px 0;
 }

 /* — Scroll reveal — */
 .sr {
     opacity: 0;
     transform: translateY(32px);
     transition: opacity .7s var(--ease), transform .7s var(--ease);
 }

 .sr.sr-left {
     transform: translateX(-40px);
 }

 .sr.sr-right {
     transform: translateX(40px);
 }

 .sr.in {
     opacity: 1 !important;
     transform: none !important;
 }

 .sr-d1 {
     transition-delay: .1s
 }

 .sr-d2 {
     transition-delay: .2s
 }

 .sr-d3 {
     transition-delay: .3s
 }

 .sr-d4 {
     transition-delay: .4s
 }

 .sr-d5 {
     transition-delay: .5s
 }

 /* — Bootstrap overrides — */
 .btn {
     font-family: 'Poppins', sans-serif;
     font-weight: 700;
     font-size: 13px;
     letter-spacing: .05em;
     border-radius: 8px;
     padding: 11px 26px;
     transition: all .25s var(--ease);
 }

 .btn:active {
     transform: scale(.97);
 }

 .btn-primary {
     background: var(--orange) !important;
     border-color: var(--orange) !important;
     color: #fff !important;
     box-shadow: 0 4px 18px rgba(253, 126, 20, .3);
 }

 .btn-primary:hover {
     background: var(--blue-deep) !important;
     border-color: var(--blue-deep) !important;
     box-shadow: 0 6px 24px rgba(13, 47, 107, .25);
     transform: translateY(-2px);
 }

 .btn-outline-white {
     border: 2px solid rgba(255, 255, 255, .7);
     color: #fff;
     background: transparent;
 }

 .btn-outline-white:hover {
     background: rgba(255, 255, 255, .12);
     border-color: #fff;
     color: #fff;
     transform: translateY(-2px);
 }

 .bg-primary {
     background: var(--orange) !important;
 }

 .bg-secondary {
     background: var(--blue) !important;
 }

 .text-primary {
     color: var(--orange) !important;
 }

 .text-secondary {
     color: var(--blue) !important;
 }

 .bg-light {
     background: var(--gray-50) !important;
 }



 /* ════════════════════════════════════════════════════════
   HERO CAROUSEL
════════════════════════════════════════════════════════ */
 .carousel-item {
     height: 72vh;
     min-height: 520px;
     position: relative;
     overflow: hidden;
 }

 .carousel-item img {
     position: absolute;
     inset: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 6s ease;
 }

 .carousel-item.active img {
     transform: scale(1.05);
 }

 .carousel-item::before {
     content: '';
     position: absolute;
     inset: 0;
     z-index: 1;
     background: linear-gradient(105deg, rgba(13, 47, 107, .78) 0%, rgba(13, 47, 107, .35) 55%, rgba(253, 126, 20, .08) 100%);
 }

 .carousel-caption {
     position: absolute;
     inset: 0;
     z-index: 2;
     display: flex !important;
     align-items: center;
     left: 0;
     right: 0;
     bottom: 0;
     top: 0;
     padding: 0 5%;
     text-align: left;
 }

 .carousel-caption-inner {
     max-width: 600px;
 }

 @keyframes slideDown {
     from {
         opacity: 0;
         transform: translateY(-24px)
     }

     to {
         opacity: 1;
         transform: translateY(0)
     }
 }

 @keyframes slideUp {
     from {
         opacity: 0;
         transform: translateY(24px)
     }

     to {
         opacity: 1;
         transform: translateY(0)
     }
 }

 .carousel-item.active .cap-badge {
     animation: slideDown .7s var(--ease) .1s both;
 }

 .carousel-item.active .cap-title {
     animation: slideDown .7s var(--ease) .25s both;
 }

 .carousel-item.active .cap-desc {
     animation: slideDown .7s var(--ease) .4s both;
 }

 .carousel-item.active .cap-btns {
     animation: slideUp .7s var(--ease) .55s both;
 }

 .cap-badge {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     background: rgba(253, 126, 20, .18);
     border: 1px solid rgba(253, 126, 20, .4);
     border-radius: 100px;
     padding: 5px 16px;
     margin-bottom: 18px;
     font-size: 12px;
     font-weight: 600;
     color: #fcd4b0;
     letter-spacing: .1em;
     text-transform: uppercase;
     backdrop-filter: blur(6px);
 }

 .cap-badge::before {
     content: '';
     width: 6px;
     height: 6px;
     border-radius: 50%;
     background: var(--orange);
 }

 .cap-title {
     font-size: clamp(2rem, 4.5vw, 3.4rem);
     font-weight: 800;
     color: #fff;
     line-height: 1.12;
     margin-bottom: 18px;
     text-shadow: 0 2px 20px rgba(0, 0, 0, .2);
 }

 .cap-title span {
     color: var(--orange);
 }

 .cap-desc {
     font-size: 15px;
     color: rgba(255, 255, 255, .78);
     line-height: 1.7;
     margin-bottom: 30px;
     max-width: 480px;
 }

 .cap-btns {
     display: flex;
     gap: 12px;
     flex-wrap: wrap;
 }

 /* Arrows */
 .carousel-control-prev,
 .carousel-control-next {
     position: absolute !important;
     top: 50% !important;
     bottom: auto !important;
     transform: translateY(-50%) !important;
     width: 48px !important;
     height: 48px !important;
     background: rgba(255, 255, 255, .12) !important;
     border: 1.5px solid rgba(255, 255, 255, .4) !important;
     border-radius: 50% !important;
     opacity: 1 !important;
     z-index: 10 !important;
     display: flex !important;
     align-items: center !important;
     justify-content: center !important;
     backdrop-filter: blur(6px);
     transition: all .25s var(--ease) !important;
 }

 .carousel-control-prev {
     left: 20px !important;
 }

 .carousel-control-next {
     right: 20px !important;
 }

 .carousel-control-prev:hover,
 .carousel-control-next:hover {
     background: var(--orange) !important;
     border-color: var(--orange) !important;
     transform: translateY(-50%) scale(1.08) !important;
 }

 /* Indicators */
 .carousel-indicators {
     bottom: 22px;
     gap: 6px;
     z-index: 10;
 }

 .carousel-indicators button {
     width: 28px !important;
     height: 4px !important;
     border-radius: 2px !important;
     border: none !important;
     padding: 0 !important;
     background: rgba(255, 255, 255, .35) !important;
     transition: width .35s, background .35s !important;
 }

 .carousel-indicators button.active {
     width: 52px !important;
     background: var(--orange) !important;
 }

 @media(max-width:768px) {
     .carousel-item {
         height: 55vh;
         min-height: 380px;
     }

     .cap-title {
         font-size: 1.7rem;
     }

     .carousel-control-prev,
     .carousel-control-next {
         display: none !important;
     }
 }

 /* ════════════════════════════════════════════════════════
   SECTION LABELS
════════════════════════════════════════════════════════ */
 .sec-label {
     display: inline-flex;
     align-items: center;
     gap: 10px;
     font-size: 12px;
     font-weight: 700;
     letter-spacing: .15em;
     text-transform: uppercase;
     color: var(--orange);
     margin-bottom: 14px;
 }

 .sec-label::before,
 .sec-label::after {
     content: '';
     height: 2px;
     width: 22px;
     background: var(--orange);
     border-radius: 2px;
 }

 .sec-title {
     font-size: clamp(1.6rem, 3vw, 2.4rem);
     font-weight: 800;
     color: var(--gray-800);
     margin-bottom: 16px;
 }

 .sec-desc {
     color: var(--gray-400);
     font-size: 15px;
     max-width: 560px;
     margin: 0 auto;
 }

 /* ════════════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════════════ */
 .about-img-wrap {
     position: relative;
     border-radius: 20px;
     overflow: hidden;
     box-shadow: 0 24px 60px rgba(13, 47, 107, .14);
 }

 .about-img-wrap img {
     border-radius: 20px;
     width: 100%;
 }

 .about-img-badge {
     position: absolute;
     bottom: 24px;
     left: 24px;
     background: var(--white);
     border-radius: 14px;
     padding: 14px 20px;
     display: flex;
     align-items: center;
     gap: 12px;
     box-shadow: 0 8px 28px rgba(13, 47, 107, .15);
 }

 .about-img-badge .ab-num {
     font-family: 'Poppins', sans-serif;
     font-size: 28px;
     font-weight: 800;
     color: var(--orange);
     line-height: 1;
 }

 .about-img-badge .ab-label {
     font-size: 12px;
     font-weight: 600;
     color: var(--gray-600);
     line-height: 1.3;
 }

 .about-check {
     display: flex;
     align-items: flex-start;
     gap: 12px;
     padding: 14px 16px;
     background: var(--gray-50);
     border: 1px solid var(--gray-100);
     border-radius: 12px;
     margin-bottom: 10px;
     transition: border-color .2s, box-shadow .2s, transform .2s;
 }

 .about-check:hover {
     border-color: rgba(253, 126, 20, .2);
     box-shadow: 0 4px 16px rgba(253, 126, 20, .08);
     transform: translateX(4px);
 }

 .about-check .ck-icon {
     width: 32px;
     height: 32px;
     min-width: 32px;
     border-radius: 8px;
     background: var(--orange-lt);
     border: 1.5px solid rgba(253, 126, 20, .2);
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--orange);
     font-size: 14px;
 }

 .about-check span {
     font-size: 14px;
     font-weight: 600;
     color: var(--gray-800);
     padding-top: 4px;
 }

 .phone-cta {
     display: flex;
     align-items: center;
     gap: 16px;
     background: var(--blue-lt);
     border: 1.5px solid var(--blue-md);
     border-radius: 14px;
     padding: 16px 22px;
     margin-top: 24px;
     transition: all .25s;
 }

 .phone-cta:hover {
     border-color: var(--orange);
     background: var(--orange-lt);
 }

 .phone-cta .ph-icon {
     width: 48px;
     height: 48px;
     border-radius: 12px;
     background: var(--blue);
     display: flex;
     align-items: center;
     justify-content: center;
     color: #fff;
     font-size: 20px;
     transition: background .25s;
 }

 .phone-cta:hover .ph-icon {
     background: var(--orange);
 }

 .phone-cta .ph-label {
     font-size: 12px;
     color: var(--gray-400);
     font-weight: 500;
 }

 .phone-cta .ph-num {
     font-family: 'Poppins', sans-serif;
     font-size: 17px;
     font-weight: 700;
     color: var(--blue-deep);
     transition: color .2s;
 }

 .phone-cta:hover .ph-num {
     color: var(--orange);
 }

 /* ════════════════════════════════════════════════════════
   COUNTER FACTS
════════════════════════════════════════════════════════ */
 .counter-section {
     background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
     position: relative;
     overflow: hidden;
 }

 .counter-section::after {
     content: '';
     position: absolute;
     right: -80px;
     top: -80px;
     width: 360px;
     height: 360px;
     border-radius: 50%;
     background: rgba(253, 126, 20, .1);
 }

 .counter-card {
     position: relative;
     z-index: 1;
     background: rgba(255, 255, 255, .07);
     border: 1px solid rgba(255, 255, 255, .12);
     border-radius: 20px;
     padding: 32px 24px;
     text-align: center;
     backdrop-filter: blur(8px);
     transition: all .3s var(--ease);
 }

 .counter-card:hover {
     background: rgba(255, 255, 255, .12);
     transform: translateY(-5px);
     border-color: rgba(253, 126, 20, .35);
     box-shadow: 0 16px 40px rgba(0, 0, 0, .15);
 }

 .counter-card .ci {
     width: 60px;
     height: 60px;
     border-radius: 16px;
     background: rgba(253, 126, 20, .15);
     border: 1.5px solid rgba(253, 126, 20, .3);
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto 20px;
     color: var(--orange);
     font-size: 24px;
     transition: all .3s;
 }

 .counter-card:hover .ci {
     background: var(--orange);
     color: #fff;
     transform: rotate(-8deg) scale(1.1);
 }

 .counter-card .cv {
     font-family: 'Poppins', sans-serif;
     font-size: 3rem;
     font-weight: 800;
     color: #fff;
     line-height: 1;
     display: block;
 }

 .counter-card .cv span {
     color: var(--orange);
 }

 .counter-card p {
     color: rgba(255, 255, 255, .6);
     font-size: 13.5px;
     margin-top: 8px;
 }

 /* ════════════════════════════════════════════════════════
   SERVICES
════════════════════════════════════════════════════════ */
 .service-card {
     position: relative;
     border-radius: 16px;
     overflow: hidden;
     box-shadow: 0 4px 20px rgba(13, 47, 107, .09);
     transition: transform .35s var(--ease), box-shadow .35s;
     height: 100%;
 }

 .service-card:hover {
     transform: translateY(-6px);
     box-shadow: 0 20px 48px rgba(13, 47, 107, .16);
 }

 .service-card img {
     width: 100%;
     height: 220px;
     object-fit: cover;
     transition: transform .5s var(--ease);
     display: block;
 }

 .service-card:hover img {
     transform: scale(1.07);
 }

 .svc-pill {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     background: linear-gradient(0deg, rgba(13, 47, 107, .9) 0%, transparent 100%);
     padding: 60px 20px 22px;
     transition: opacity .35s;
 }

 .svc-pill-name {
     font-family: 'Poppins', sans-serif;
     font-size: 16px;
     font-weight: 700;
     color: #fff;
     display: block;
 }

 .svc-pill-tag {
     display: inline-block;
     background: var(--orange);
     color: #fff;
     font-size: 11px;
     font-weight: 700;
     letter-spacing: .07em;
     text-transform: uppercase;
     padding: 3px 10px;
     border-radius: 100px;
     margin-bottom: 6px;
 }

 .svc-hover {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     background: var(--blue-deep);
     padding: 24px 22px;
     transform: translateY(100%);
     transition: transform .38s var(--ease);
     border-radius: 0 0 16px 16px;
 }

 .service-card:hover .svc-hover {
     transform: translateY(0);
 }

 .service-card:hover .svc-pill {
     opacity: 0;
 }

 .svc-hover h4 {
     font-size: 16px;
     color: #fff;
     margin-bottom: 10px;
 }

 .svc-hover p {
     font-size: 13px;
     color: rgba(255, 255, 255, .65);
     margin-bottom: 16px;
     line-height: 1.6;
 }

 .svc-hover .btn {
     font-size: 12px;
     padding: 8px 20px;
     background: var(--orange);
     border: none;
     color: #fff;
 }

 .svc-hover .btn:hover {
     background: var(--orange-h);
     transform: none;
 }

 /* ════════════════════════════════════════════════════════
   FEATURES
════════════════════════════════════════════════════════ */
 .feature-card {
     background: var(--white);
     border: 1px solid var(--gray-100);
     border-radius: 18px;
     padding: 34px 28px;
     text-align: center;
     transition: all .3s var(--ease);
     position: relative;
     overflow: hidden;
     height: 100%;
 }

 .feature-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 3px;
     background: linear-gradient(90deg, var(--orange), var(--blue));
     transform: scaleX(0);
     transform-origin: left;
     transition: transform .35s var(--ease);
 }

 .feature-card:hover {
     transform: translateY(-6px);
     box-shadow: 0 20px 48px rgba(253, 126, 20, .1);
     border-color: rgba(253, 126, 20, .2);
 }

 .feature-card:hover::before {
     transform: scaleX(1);
 }

 .feat-icon {
     width: 72px;
     height: 72px;
     border-radius: 18px;
     background: var(--orange-lt);
     border: 1.5px solid rgba(253, 126, 20, .2);
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto 22px;
     font-size: 26px;
     color: var(--orange);
     transition: all .35s var(--ease);
 }

 .feature-card:hover .feat-icon {
     background: var(--orange);
     color: #fff;
     border-color: var(--orange);
     border-radius: 50%;
     transform: rotate(-8deg) scale(1.08);
 }

 .feature-card h5 {
     font-size: 17px;
     margin-bottom: 10px;
 }

 .feature-card p {
     font-size: 14px;
     color: var(--gray-400);
     line-height: 1.7;
 }

 /* ════════════════════════════════════════════════════════
   FORMATIONS
════════════════════════════════════════════════════════ */
 .training-card {
     border-radius: 16px;
     overflow: hidden;
     box-shadow: 0 4px 20px rgba(13, 47, 107, .09);
     transition: transform .3s var(--ease), box-shadow .3s;
 }

 .training-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 20px 48px rgba(13, 47, 107, .15);
 }

 .training-img-wrap {
     position: relative;
     overflow: hidden;
 }

 .training-img-wrap img {
     height: 200px;
     width: 100%;
     object-fit: cover;
     transition: transform .5s var(--ease);
     display: block;
 }

 .training-card:hover .training-img-wrap img {
     transform: scale(1.08);
 }

 .training-overlay {
     position: absolute;
     inset: 0;
     background: linear-gradient(0deg, rgba(13, 47, 107, .8) 0%, transparent 60%);
     display: flex;
     align-items: flex-end;
     padding: 18px;
     transition: background .3s;
 }

 .training-card:hover .training-overlay {
     background: linear-gradient(0deg, rgba(13, 47, 107, .85) 0%, rgba(13, 47, 107, .15) 60%);
 }

 .training-overlay h4 {
     font-size: 17px;
     color: #fff;
     margin: 0;
     line-height: 1.25;
 }

 .training-body {
     background: var(--blue-deep);
     padding: 18px 20px;
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 12px;
 }

 .training-body p {
     font-size: 13px;
     color: rgba(255, 255, 255, .6);
     margin: 0;
     line-height: 1.5;
 }

 .training-body .btn {
     font-size: 12px;
     padding: 8px 18px;
     white-space: nowrap;
     background: var(--orange);
     color: #fff;
     border: none;
     flex-shrink: 0;
 }

 .training-body .btn:hover {
     background: var(--orange-h);
     transform: none;
 }

 /* — Back to top — */
 .back-top {
     position: fixed;
     bottom: 24px;
     right: 24px;
     width: 44px;
     height: 44px;
     border-radius: 12px;
     background: var(--blue-deep);
     color: #fff;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 15px;
     text-decoration: none;
     box-shadow: 0 6px 20px rgba(13, 47, 107, .25);
     transition: all .22s;
     z-index: 100;
     opacity: 0;
     pointer-events: none;
 }

 .back-top.visible {
     opacity: 1;
     pointer-events: all;
 }

 .back-top:hover {
     background: var(--orange);
     transform: translateY(-3px);
     box-shadow: 0 8px 24px rgba(253, 126, 20, .35);
     color: #fff;
 }