/*
* Template Name : Montia - Responsive Bootstrap Landing Template
* Version: 2.0.0
* Created by : Themesbrand
* File : Main css file
*/


[data-bs-theme=dark] {
    --bs-gray-100: #11151b;
    --bs-gray-200: #161c24;
    --bs-gray-300: #1d2229;
    --bs-gray-400: rgba(92, 93, 94, 0.4705882353);
    --bs-gray-500: #3f4347;
    --bs-gray-600: #a2a2a3;
    --bs-gray-700: #a1a7ad;
    --bs-gray-800: #eff2f7;
    --bs-gray-900: #f3f6f9;
    --bs-body-color: #eff2f7;
    --bs-body-bg: #11151b;
    --bs-bg-navbar: #11151b;
    --bs-light-rgb: #161c24;
    --bs-white-bg: #161c24;
    --bs-text-dark: #eff2f7;
    --bs-border-color: #3f4347;
    --bs-bg-box: rgba(92, 93, 94, 0.4705882353);
    --bs-border-icon: #a2a2a3;
    --bs-bg-dark: #161c24;
    --bs-sticky-bg-dark: #11151b;
    --bs-text-primary: #f3f6f9;
    --bs-box-shadow: rgb(209 194 194 / 10%) 0px 0px 10px 1px;
    --bs-box-shadow-button-1: 0 0 0 9px rgba(0, 0, 0, 0.15);
    --bs-box-shadow-button-2: rgba(0, 0, 0, 0.1);
  }
  
  :root,
  [data-bs-theme=light] {
    --bs-body-color: #343a40;
    --bs-body-bg: #ffffff;
    --bs-bg-navbar: #000000;
    --bs-light-rgb: #f8f9fa;
    --bs-white-bg: #ffffff;
    --bs-text-dark: #343a40;
    --bs-border-color: #f3f3f3;
    --bs-bg-box: rgba(255, 255, 255, 0.2509803922);
    --bs-border-icon: #343a40;
    --bs-bg-dark: #343a40;
    --bs-sticky-bg-dark: #000000;
    --bs-text-primary: #005bea;
    --bs-box-shadow: rgb(209 194 194 / 30%) 0px 0px 10px 1px;
    --bs-box-shadow-button-1: 0 0 0 9px rgba(255, 255, 255, 0.15);
    --bs-box-shadow-button-2: rgba(255, 255, 255, 0.1);
  }

body {
    font-family: 'Roboto', sans-serif;
    color: #252525;
    font-size: 14px;
}
.bg-light{
    background-color: #f8f9fa !important;
}
[data-bs-theme="dark"] .bg-light {
    background-color:#11151b!important;
}
.bg-dark {
    background-color: #343a40!important;
}
[data-bs-theme="dark"] .bg-dark {
    background-color:#202427!important;
}
a {
    text-decoration: none !important;
    outline: none !important;
}

p {
    font-size: 14px;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/*======================
        HELPER
========================*/

.section {
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    background-color: #fff;
    z-index: 1;
}
.mode-btn {
    position: fixed;
    top: 20%;
    left: 0px;
    z-index: 1021;
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: #001f50;
    border: 1px solid #001f50;
    font-size: 22px;
    text-align: center;
    border-radius: 0;
}

.mode-btn .mode-light {
    display: block;
}

.mode-btn .mode-dark {
    display: none;
}

[data-bs-theme="dark"] .mode-btn .mode-light {
    display: none;
}
[data-bs-theme="dark"] .mode-btn .mode-dark {
    display: block;
}

[data-bs-theme="dark"] .section {
    background-color:#151a22;
}

[data-bs-theme="dark"] p {
    color:#cac6c6;
}
[data-bs-theme="dark"] .title {
    color:#ffffff;
}

[data-bs-theme="dark"] h2 {
    color:#ffffff;
}
[data-bs-theme="dark"] h3 {
    color:#ffffff;
}
[data-bs-theme="dark"] h4 {
    color:#ffffff;
}
[data-bs-theme="dark"] h5 {
    color:#ffffff;
}


.bg-overlay-gradient {
    background: #396afc;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #2948ff, #396afc);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #2948ff, #396afc);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0.4;
}

.title h2 {
    margin-top: 10px;
}

.btn-rounded {
    border-radius: 30px !important;
}

.btn-custom {
    font-size: 15px;
    transition: all 0.4s;
    color: #fff !important;
    cursor: pointer;
    border: transparent;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active,
.btn-custom.active,
.btn-custom.focus,
.btn-custom:active,
.btn-custom:focus,
.btn-custom:hover,
.open>.dropdown-toggle.btn-custom {
    box-shadow: none !important;
    border: none;
}

.btn {
    padding: 14px 36px;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 500;
}

.btn-block{
    width: 100%;
}
.vertical-content {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction: row;
    -webkit-flex-direction: row;
}

.height-100 {
    height: 100vh;
}

/*==========================
        HOME
============================*/

.bg-home {
    background: radial-gradient(at 50% -20%, #0070A1, #16113B) fixed;
    position: relative;
    background-size: cover;
    background-position: center center;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 83%, 0% 100%);
    clip-path: polygon(0 0, 100% 0, 100% 83%, 0% 100%);
}

.home-center {
    display: table;
    width: 100%;
    height: 100%;
}

.home-desc-center {
    display: table-cell;
    vertical-align: middle;
}

.home-title {
    font-size: 38px;
    line-height: 1.5;
    text-shadow: 0px 20px 50px rgba(0, 0, 0, 0.4);
}

.home-sub-title {
    font-size: 17px;
    line-height: 1.8;
    max-width: 600px;
}


.home-height-half {
    padding: 220px 0 185px 0;
    height: auto;
}

/*========================
        Services
=========================*/

.service-boxed {
    /*border: 1px solid #ececec;*/
    padding: 10px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    margin-top: 30px;
    /* box-shadow: 0 10px 50px rgba(20, 50, 81, 0.04), 0 10px 50px rgba(0, 0, 0, 0.05); */
    text-align: center;
}

.service-body h5 {
    margin-bottom: 20px;
    font-size: 20px;
}

.service-body p {
    margin-bottom: 0;
    line-height: 26px;
}

.service-icon {
    width: 60px;
    margin-bottom: 20px;
}

.service-highlighted-quote {
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 500;
    color: #145DA0;
    background-color: #f9f9f9;
    padding: 20px;
    border-left: 4px solid #CF9D2C;
    display: inline-block;
    margin-top: 20px;
    border-radius: 6px;
}

/*==================
    PREFERNCE
====================*/

.preference-subtitle {
    line-height: 24px;
}

.preference-more {
    font-size: 14px;
    margin-top: 25px;
    display: block;
}

/* ======================
   TARGET SECTION - NEW GRID SYSTEM
   ====================== */
   #cibles .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--bs-white-bg);
}

#cibles .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

#cibles .card-body {
    display: flex;
    flex-direction: column;
}

#cibles .card-text {
    flex-grow: 1;
}

/* Cards améliorées */
#cibles .card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

#cibles .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1) !important;
}

#cibles .icon-lg {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.bg-soft-primary {
    background-color: rgba(20, 93, 160, 0.1);
}

/* Dark mode amélioré */
[data-bs-theme="dark"] #cibles .card {
    background-color: #1a2029;
    border: 1px solid #2d3748;
}

[data-bs-theme="dark"] .bg-soft-primary {
    background-color: rgba(20, 93, 160, 0.2);
}

/*====================
    Contact Us
=====================*/


.custom-form label {
    font-size: 15px;
    font-weight: 500;
}

.custom-form .form-control {
    margin-bottom: 25px;
    height: 55px;
    border: 1px solid #97a0af;
    box-shadow: none !important;
    outline: none !important;
}
[data-bs-theme="dark"] .custom-form .form-control{
    border: 1px solid #1d232d;
}

.custom-form .form-control:focus {
    border-color: #000 !important;
}

.custom-form textarea.form-control {
    height: auto;
}

.custom-form label {
    font-size: 15px;
}
[data-bs-theme="dark"] .custom-form label{
    color: #cac6c6;
}

.contact-info {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.icon-wrapper {
    height: 60px;
    width: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 93, 160, 0.1);
    border-radius: 50%;
}

.contact-details p {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Dark Mode */
[data-bs-theme="dark"] .contact-info {
    background: #1a2029;
    border-color: #2d3748;
}

[data-bs-theme="dark"] .icon-wrapper {
    background: rgba(20, 93, 160, 0.2);
}

/*==========================
        FOOTER
============================*/
.footer {
    color: rgba(255, 255, 255, 0.5);
}

.footer .footer-list li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    transition: all 0.5s;
    line-height: 30px;
}

.footer .footer-list li a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer .footer-list li {
    margin-bottom: 5px;
}

.footer-social li a i {
    font-size: 20px;
    color: #fff;
    border-radius: 50%;
    border: 2px solid;
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 36px;
    margin-right: 3px;
    display: inline-block;
}

.footer-social li a i.facebook {
    background-color: #5472d2;
    border-color: #5472d2;
}

.footer-social li a i.instagram {
    background-color: #e43667;
    border-color: #e43667;
}

.footer-social li a i.twitter {
    background-color: #1DA1F2;
    border-color: #1DA1F2;
}

.footer-social li a i.linkedin {
    background-color: #0173B2;
    border-color: #0173B2;
}

.footer-desc {
    line-height: 26px;
}

.footer-border {
    height: 1px;
    background-color: #4a4a4a;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
}

.subcribe-form {
    height: 48px;
    border: none;
    border-radius: 0px;
}

.subcribe-btn {
    background-color: #ffd800;
    border-radius: 2px;
    font-size: 16px;
    font-weight: normal;
    line-height: 16px;
    border: 0px solid #ffd800;
    color: #2d2d4c;
    padding: 15px 24px 15px 24px;
    text-transform: normal;
    white-space: normal;
    outline: none !important;
}

.footer-terms a {
    color: rgba(255, 255, 255, 0.5);
}

label{
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .float-responsive.float-right,
    .float-responsive.float-left {
        float: none !important;
        text-align: center;
    }
}

@media (min-width: 767px) {
    .home-flex.vertical-content {
        display: flex;
    }
}
@media (max-width: 767px) {
    .play-position {
        position: absolute;
        left: auto;
        right: 45%;
        top: 61%;
    }
}
@media (max-width: 460px) {
    .play-position {
        position: absolute;
        left: auto;
        right: 41%;
        top: 65%;
    }
}
@media (max-width: 370px) {
    .play-position {
        position: absolute;
        left: auto;
        right: 40%;
        top: 69%;
    }
}

@media (max-width: 768px) {
    .section {
        padding-top: 40px;
        padding-bottom: 40px;
        position: relative;
    }
    .vertical-content {
        display: flex;
    }
    .features-desc h2 {
        font-size: 26px;
    }
    .home-title {
        font-size: 28px;
    }
    .home-sub-title {
        font-size: 14px;
    }
    .navbar-light .logo {
        line-height: 0px !important;
        padding: 0px !important;
    }

    .about_bg_color {
        padding: 30px;
    }
    .about-bg-img .about-section {
        padding: 0px;
    }
    .job-post-inner {
        padding: 20px;
    }
    .pull-none {
        text-align: center !important;
        float: none !important;
    }
    .video-wrapper {
        padding-top: 50px;
    }

}

/* Style pour les titres h5 avec classe pt-3 */
h5.pt-3 {
    color: #145DA0; /* Couleur bleue principale */
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

h5.pt-3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #CF9D2C; /* Couleur or en accent */
    border-radius: 3px;
}

/* Option: Animation au survol */
h5.pt-3:hover {
    color: #0e4a7e; /* Version plus sombre du bleu au survol */
}

h5.pt-3:hover::after {
    width: 70px;
    transition: all 0.3s ease;
}
