@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700&family=Poppins:wght@400;500;600&display=swap');

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; }

html { width: 100%; overflow-x: hidden; scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #fff;
    font-family: 'Rajdhani', sans-serif;
    color: #99a9bf;
}

h1, h2, h3, h4, h5, h6, p, li, ul, hr, input {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul { list-style: none; padding: 0; margin: 0; }
a { text-decoration: none; color: inherit; }

p { font-family: 'Poppins', sans-serif; }

section {
    padding: 70px 0;
    background: #fff;
}

img { max-width: 100%; height: auto; }

/* =========================================
   TOP BAR
   ========================================= */
.header-top-menu {
    background: #f4b213;
    padding-right: 55px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    overflow: hidden;
}

.top-menu {
    float: right;
    padding: 10px 0;
}

.top-menu ul { display: flex; align-items: center; gap: 0; }

.top-menu ul li {
    display: inline-block;
    padding-left: 5px;
    color: #fff;
    position: relative;
}

.top-menu ul li::after {
    content: '';
    height: 10px;
    width: 3px;
    background: #1278bb;
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
}

.top-menu ul li:last-child::after {
    width: 0;
    display: none;
}

.top-menu ul li a {
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
}

/* =========================================
   HEADER
   ========================================= */
header#header { min-height: 177px; }

.header-in {
    background: #fff;
    padding: 20px 0;
}

.header-in-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 20px 0;
}

h1#logo img { max-width: 190px; width: 190px; }

/* Fixed header on scroll */
.header-in-flex.fixed {
    position: fixed;
    z-index: 1000;
    background: #fff;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 6px 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-bottom: 3px solid #1278bb;
}

.header-in-flex.fixed h1#logo img { max-width: 110px; width: 110px; }

/* =========================================
   NAVIGATION
   ========================================= */
nav#navigation { padding: 0; }

nav#navigation ul { display: flex; align-items: center; gap: 0; }

nav#navigation ul li {
    margin-right: 20px;
    color: #99a9bf;
    position: relative;
}

nav#navigation ul li:last-child { margin-right: 0; }

nav#navigation ul li a {
    display: block;
    text-decoration: none;
    color: #99a9bf;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    padding: 10px 2px;
    position: relative;
    transition: color 0.3s;
}

nav#navigation ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3.5px;
    background: #1278bb;
    border-radius: 3px;
    transform: scale3d(0, 1, 1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav#navigation ul li a:hover::before,
nav#navigation ul li.active a::before { transform: scale3d(1, 1, 1); }

nav#navigation ul li a:hover,
nav#navigation ul li.active a { color: #1278bb; }

/* Dropdown */
.dropdown { position: relative; }

nav#navigation .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: auto;
    z-index: 1000;
    min-width: 200px;
    padding: 30px 15px;
    background: #fff;
    border-top: 0;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 0;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    opacity: 0;
    visibility: hidden;
    transform: translate(0, 40px);
    transition: opacity 0.5s, transform 0.5s;
}

nav#navigation ul li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0);
    padding-top: 4px;
}

nav#navigation .dropdown-menu li { display: block; margin: 0; }
nav#navigation .dropdown-menu li a { display: block; font-size: 14px; padding: 8px 0; text-transform: uppercase; }

.dropdown-menu li { margin: 0; }
.dropdown-menu li a { font-size: 14px; padding: 8px 0; }

/* Mobile toggle */
.navbar-toggle {
    display: none;
    background: none;
    border: 2px solid #1278bb;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
}

.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #1278bb;
    margin: 4px 0;
}

/* =========================================
   TEAMVIEWER BUTTON
   ========================================= */
.button-link {
    position: fixed;
    z-index: 20;
    top: 149px;
    right: 0;
}

.button-link img {
    width: 90px;
    transition: width 0.5s ease-in-out;
}

.button-link img:hover { width: 120px; }

/* =========================================
   SLIDER (HERO)
   ========================================= */
.slider-section {
    position: relative;
    overflow: hidden;
    background: #1a2a4a;
    padding: 0;
}

.swiper-container {
    width: 100%;
    height: 424px;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.swiper-slide img.slide-bg {
    width: 100%;
    height: 424px;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    top: 107px;
    right: 8%;
    width: 500px;
    max-width: 45%;
    text-align: right;
    z-index: 2;
}

span.title-slide {
    color: #f4b213;
    text-transform: uppercase;
    font-size: 44px;
    font-weight: 700;
    display: block;
}

span.title-medium-slide {
    color: #1278bb;
    font-size: 30px;
    font-weight: 700;
    display: block;
}

span.para-slide {
    color: #99a9bf;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    display: block;
    line-height: 22px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #f4b213;
    background: rgba(0,0,0,0.2);
    width: 40px;
    height: 60px;
    border-radius: 3px;
}

.swiper-pagination-bullet { background: #99a9bf; opacity: 1; }
.swiper-pagination-bullet-active { background: #1278bb; }

/* =========================================
   SLIDE ARROW (icon style)
   ========================================= */
.slide-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border: 3px solid #1379bb;
    color: #f4b213;
    border-radius: 50%;
    transition: background 0.3s, border-color 0.3s;
    font-size: 12px;
}

/* =========================================
   COMMON TITLE & HR STYLES
   ========================================= */
.content-title {
    font-size: 27px;
    font-weight: 700;
    color: #303030;
    padding: 10px 0;
    text-transform: uppercase;
}

hr.blue-hr {
    width: 50px;
    height: 4px;
    border: 0;
    background: #1b7fbe;
    border-radius: 5px;
    margin-bottom: 10px;
}

hr.orange-hr {
    width: 50px;
    height: 4px;
    border: 0;
    background: #fbbe17;
    border-radius: 5px;
    margin-bottom: 10px;
}

hr.white-hr {
    width: 86%;
    background: #fff;
    height: 2px;
    border-radius: 5px;
    border: 0;
}

hr.grey-hr {
    background: #e0e5ec;
    width: 75%;
    height: 3px;
    border-radius: 5px;
    border: 0;
    transition: width 0.2s ease;
}

hr.separator {
    background: #e0e5ec;
    height: 1px;
    border: 0;
    width: 70%;
    margin: 0 auto;
}

.content-text p {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
}

.content-text ul li {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    padding-left: 15px;
    position: relative;
}

.content-text ul li::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: "\f054";
    color: #1278bb;
    font-size: 12px;
    padding-right: 5px;
    position: absolute;
    left: 0;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-section { padding: 70px 0; }

.about-items {
    padding: 20px 15px;
    display: block;
    color: inherit;
    transition: opacity 0.3s;
}

.about-items:hover { opacity: 0.85; }

.about-items:hover .slide-arrow,
.service-items:hover .slide-arrow {
    background: #f4b213;
    border-color: #f4b213;
    color: #fff;
}

.content-image {
    height: 245px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.content-image img { max-width: 100%; width: 354px; }

/* =========================================
   SERVICES SECTION
   ========================================= */
section.services-section {
    padding: 70px 0;
    background: url('../images/themes/twentyfourteen/images/serv.png') center 45% / cover no-repeat;
}

.services-section > h2 {
    text-align: center;
    color: #f4b213;
    text-transform: uppercase;
}

.services-section > hr,
.references-section > hr,
.partners-section > hr {
    margin: 0 auto 10px;
}

.services-section > p {
    text-align: center;
    color: #fff;
    padding-bottom: 20px;
    width: 50%;
    margin: 0 auto;
    font-size: 14px;
}

.services-section > p a { color: #f4b213; }

.services-items {
    max-height: 476px;
    overflow: hidden;
    transition: max-height 1s ease-in-out;
    position: relative;
}

.services-items.open { max-height: 20000px; }

.service-items {
    padding: 40px 15px;
    min-height: 235px;
    color: #fff;
    position: relative;
}

.service-image img { max-width: 58px; }

.service-title p {
    font-size: 13px;
    padding-bottom: 10px;
}

.service-items .content-title {
    color: #fff;
    padding-right: 50px;
    display: flex;
    line-height: 25px;
    align-items: flex-end;
    min-height: 70px;
}

.service-title .slide-arrow {
    position: absolute;
    right: 15px;
    bottom: 27px;
    font-size: 11px;
    padding: 5px 6px;
    border: 2px solid #fff;
}

.btn-service {
    width: 20%;
    margin: 20px auto 0;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.btn-service span {
    border: 2px solid #fff;
    padding: 10px 20px;
    border-radius: 25px;
    width: 225px;
    display: inline-block;
    text-align: center;
    transition: background 0.3s, border-color 0.3s;
}

.btn-service span:hover {
    background: #f4b213;
    border-color: #f4b213;
}

/* =========================================
   REFERENCES SECTION
   ========================================= */
section.references-section { padding: 70px 0; }

.references-section > h2 {
    text-align: center;
    color: #f4b213;
    text-transform: uppercase;
}

.references-section > p {
    text-align: center;
    color: #99a9bf;
    padding-bottom: 20px;
}

.references-section > p a { color: #1278bb; }

.owl-item-card {
    padding: 10px;
    border: 1px solid #eaeefb;
    margin: 3% 1%;
    transition: box-shadow 0.3s;
}

.owl-item-card:hover {
    box-shadow: 0 0 10px rgba(153,169,191,1);
}

.item-image {
    height: 165px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid #eaeefb;
}

.item-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    margin: 0 auto;
}

.item-text {
    padding: 10px 0;
    text-align: center;
    font-size: 13px;
    min-height: 120px;
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
}

/* =========================================
   NEWSLETTER SECTION
   ========================================= */
section.newsletter {
    background: url('../images/themes/twentyfourteen/images/newsletter.png') center 50% / cover no-repeat;
    padding: 30px 0;
}

.newsletter-items {
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-title .content-title {
    color: #fff;
    font-size: 27px;
}

.newsletter-form { position: relative; }

input#newsletter_email {
    border: 0;
    padding: 9px 18px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #99a9bf;
    width: 100%;
    border-radius: 20px;
}

.newsletter-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.newsletter-btn .slide-arrow {
    padding: 7px 9px 7px 11px;
    background: #1379bb;
    color: #fff;
    border-color: #1379bb;
}

.newsletter-btn .slide-arrow:hover {
    background: #f4b213;
    border-color: #f4b213;
}

/* =========================================
   PARTNERS SECTION
   ========================================= */
section.partners-section {
    background: url('../images/themes/twentyfourteen/images/partners.png') center 50% / cover no-repeat;
    padding: 70px 0;
}

.partners-section > h2 {
    text-align: center;
    color: #f4b213;
    text-transform: uppercase;
}

.partners-section > p {
    text-align: center;
    color: #fff;
    padding-bottom: 20px;
    width: 50%;
    margin: 0 auto;
    font-size: 14px;
}

.partners-images {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.partner-image {
    width: 160px;
    margin: 5px 10px;
}

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

/* =========================================
   FOOTER
   ========================================= */
.footer-top {
    padding: 30px 0;
    background: url('../images/themes/twentyfourteen/images/footer.png') center 50% / cover no-repeat;
}

.first-list p {
    padding: 30px 0;
    font-size: 14px;
}

.first-list ul { display: flex; gap: 5px; }

.first-list ul li {
    display: inline-block;
    font-size: 20px;
}

.first-list ul li a { display: flex; }

.first-list ul li i {
    border: 2px solid #99a9bf;
    width: 45px;
    height: 45px;
    padding: 9px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s, color 0.3s;
}

.first-list ul li i:hover {
    border-color: #f4b213;
    color: #f4b213;
}

.second-list,
.third-list {
    padding: 7% 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.second-list ul li {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.second-list ul li i { color: #fbbe17; width: 20px; }

.second-list ul li:last-child { padding-top: 20%; }

.third-list ul li {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    padding: 5px 0;
}

.third-list ul li::before {
    content: "\f04b";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    padding-right: 10px;
    color: #f4b213;
}

.second-list { padding-bottom: 0; }

.footer-bottom {
    background: #0077bd;
    padding: 15px 30px;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
    color: #fff;
    text-align: center;
}

.footer-bottom span { color: #f4b213; }

/* =========================================
   SCROLL TO TOP
   ========================================= */
#scroll-top {
    position: fixed;
    right: 30px;
    bottom: 20px;
    cursor: pointer;
    width: 42px;
    height: 42px;
    border: 2px solid #fab112;
    border-radius: 50%;
    background: transparent;
    display: none;
    align-items: center;
    justify-content: center;
    color: #fab112;
    font-size: 16px;
    z-index: 100;
    transition: background 0.3s;
}

#scroll-top:hover { background: #fab112; color: #fff; }
#scroll-top.visible { display: flex; }

/* =========================================
   SECTION SINGLE (inner page header)
   ========================================= */
.section-single {
    background: url('../images/themes/twentyfourteen/images/titre.png') 0 center / cover no-repeat;
    padding: 60px 0;
    color: #fff;
}

.section-single-title {
    font-weight: 700;
    font-size: 27px;
    text-transform: uppercase;
}

.section-single-title span {
    font-weight: 600;
    font-size: 20px;
}

/* =========================================
   QUOTE SECTION
   ========================================= */
.quote-section {
    padding: 50px 0;
    background: url('../images/themes/twentyfourteen/images/quote.png') center 50% / cover no-repeat;
}

.quote-description p {
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 25px;
    line-height: 33px;
}

.quote-right {
    float: right;
    font-size: 28px;
    color: #1b7fbe;
}

/* =========================================
   LAST SERVICES SECTION
   ========================================= */
.last-services-section {
    background: url('../images/themes/twentyfourteen/images/last.png') center 50% / cover no-repeat;
}

.last-services-section ul li {
    text-align: center;
    padding: 10px 0;
}

.last-services-section ul li hr { margin: 0 auto; }
.last-services-section ul li h2 { color: #f4b213; }
.last-services-section ul li p { color: #fff; }

/* =========================================
   FONCTIONNALITES (service inner pages)
   ========================================= */
.fonctionalites {
    background: #f8f7f7;
    padding: 50px 0;
}

.fonctionalites .content-title {
    color: #303030;
    display: block;
    padding-top: 0;
    min-height: auto;
    text-transform: none;
    padding-right: 0;
    font-size: 18px;
}

.fonctionalites .service-items {
    padding: 15px;
    color: #303030;
    background: #f8f7f7;
    min-height: auto;
    position: relative;
}

.fonctionalites .service-items p {
    color: #99a9bf;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    line-height: 22px;
    border-bottom: 4px solid #fff;
    padding-bottom: 5px;
}

.fonctionalites .service-title .slide-arrow {
    position: static;
    border: 2px solid #1379bb;
    color: #1379bb;
}

/* =========================================
   AVANTAGES LIST
   ========================================= */
ul.avantages-list { padding-left: 15px; }

ul.avantages-list li {
    color: #616d7d;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    padding: 3px 0 3px 15px;
    position: relative;
}

ul.avantages-list li::before {
    content: "\f0da";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-style: normal;
    padding-right: 5px;
    position: absolute;
    left: 0;
    color: #1278bb;
}

/* =========================================
   INFO LIST
   ========================================= */
ul.info-list { margin-bottom: 40px; }

ul.info-list li {
    display: block;
    width: 100%;
    padding: 5px 15px;
    color: #4a494a;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    position: relative;
}

ul.info-list li::before {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    background: #f4b213;
    border-radius: 50%;
    margin-top: 5px;
    left: 0;
}

/* =========================================
   PRESENTATION / ABOUT PAGE
   ========================================= */
.presentation-items {
    padding-bottom: 20px;
    border-bottom: 2px solid #b3c4de;
    margin-bottom: 20px;
}

.service-presentation img.serv-image {
    float: right;
    max-width: 50%;
}

h2.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #303030;
    padding: 5px 0;
}

/* =========================================
   CONTACT FORM
   ========================================= */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 10px;
    width: 100%;
    color: #99a9bf;
    border: 2px solid #99a9bf;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    margin-bottom: 10px;
    background: #fff;
}

.contact-form input[type="submit"] {
    background: #fbbe17;
    border: 0;
    color: #fff;
    padding: 12px 40px;
    border-radius: 40px;
    font-size: 18px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form input[type="submit"]:hover { background: #1278bb; }

label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #303030;
    padding: 10px 0;
}

/* =========================================
   MAP
   ========================================= */
.map-section { padding: 0; }
.map-section iframe { display: block; }

/* =========================================
   CONDITIONS GÉNÉRALES
   ========================================= */
.conditions-content h2 { color: #1278bb; font-size: 20px; padding: 15px 0 5px; }
.conditions-content h3 { color: #303030; font-size: 17px; padding: 10px 0 5px; }
.conditions-content p { font-family: 'Poppins', sans-serif; font-size: 14px; line-height: 1.6; color: #4a494a; margin-bottom: 10px; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 991px) {
    .slide-caption { width: 60%; right: 5%; top: 80px; }
    span.title-slide { font-size: 28px; }
    span.title-medium-slide { font-size: 20px; }
    span.para-slide { font-size: 13px; }

    .services-section > p { width: 90%; }
    .partners-section > p { width: 90%; }

    .quote-right { float: left; }
    .quote-description p { font-size: 20px; line-height: 28px; }

    .second-list ul li:last-child { padding-top: 5%; }
}

@media (max-width: 767px) {
    .header-top-menu { padding-right: 15px; }
    .top-menu { float: none; text-align: center; }
    .button-link { display: none; }

    .header-in-flex { display: block; padding: 15px; }

    nav#navigation ul { display: none; flex-direction: column; background: rgba(230,230,230,0.4); }
    nav#navigation ul.open { display: flex; }
    nav#navigation ul li { text-align: center; margin: 0; width: 100%; }
    nav#navigation ul li a { background: #9e9e9e; color: #fff; margin-bottom: 2px; }
    nav#navigation ul li.active a,
    nav#navigation ul li a:hover { background: #1278bb; color: #fff; }
    nav#navigation ul li a::before { display: none; }
    .navbar-toggle { display: block; float: right; }

    .swiper-container { height: 250px; }
    .swiper-slide img.slide-bg { height: 250px; }
    .slide-caption { top: 30px; width: 55%; right: 5%; }
    span.title-slide { font-size: 18px; }
    span.title-medium-slide { font-size: 13px; }
    span.para-slide { font-size: 11px; display: none; }

    section { padding: 30px 0; }
    .newsletter-items { display: block; }

    .content-title { font-size: 20px; }
    .content-image { height: auto; }

    .footer-top .col-md-4 { margin-bottom: 20px; }
    .second-list, .third-list { padding: 20px 0; }
    .second-list ul li:last-child { padding-top: 5%; }

    .btn-service { width: auto; }

    .services-section > p { width: 95%; }
    .partners-section > p { width: 95%; }
}
