
:root {
    --primary-color: #0E2A47;
    --primary-secondary-color: #DFB546;
    --primary-color-rgb: 14, 42, 71;
    --secondary-color: #0E2A47;
    --success-color: #198754;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}


/* Improved form styles */
.contact-section {
    padding: 80px 0;
    h1, h2, h3, h4, h5, h6 {
        color: var(--light-color);
        margin: 0;
    }
}

.contact-card {
    border-radius: var(--border-radius);
    border: none;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary-color), #0052cc);
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-card .card-body {
    padding: 2.5rem;
}

.contact-card .card-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-bottom: none;
}

.contact-form {
    padding: 2rem;
}

/* Form elements styling */
.form-control, .form-select {
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid #dee2e6;
    transition: var(--transition);
    height: 52px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.form-text {
    color: var(--secondary-color);
    font-size: 0.85rem;
}

.form-floating > label {
    padding: 12px 16px;
}

.form-floating > .form-control,
.form-floating > .form-select {
    height: 58px;
    padding: 1rem 0.75rem;
}

.form-floating > textarea.form-control {
    height: auto;
    min-height: 120px;
}

/* Button styling */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Section styling */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.form-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
}

.form-section-icon {
    margin-right: 0.75rem;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

/* Contact info styling */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-info-content {
    flex-grow: 1;
}

.contact-info-title {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-info-text {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Dynamic fields animation */
.dynamic-field {
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    max-height: 800px;
    opacity: 1;
    overflow: hidden;
    transform: translateY(0);
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 10px;
    background-color: rgba(248, 249, 250, 0.7);
    border-left: 3px solid var(--primary-color);
}

.dynamic-field.hidden {
    max-height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
    transform: translateY(-20px);
    border-left: 3px solid transparent;
}

.section-title__title {
    text-transform: none !important;
}
.how-it-work__title a ,.counter-one__count p{
        text-transform: none !important;
}




/* Validation styles */
.form-control.is-invalid, .form-select.is-invalid {
    border-color: var(--danger-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Alert styling */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: rgba(25, 135, 84, 0.1);
    color: var(--success-color);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

/* Loading animation */
.spinner-grow {
    width: 1rem;
    height: 1rem;
}




.main-header-two {
    background: #fff !important;

}

.main-menu .main-menu__list>li>a, .stricky-header .main-menu__list>li>a {

    color: var(--fobex-black) !important;

}

.main-menu .main-menu__list>li.dropdown>a:after {
    color: #684242 !important;

}

.counter-one  , .site-footer, .about-two__img-shape {

    background-color:  var( --primary-color) !important;

}

.section-title__title {
    color:  var( --primary-color) !important;

}
.section-title-two__title {
    color: #26313c !important;
}

.section-title-two__title {
    color: #26313c !important;

}
.main-slider-two__btn {

    color: #dddddd !important;
}

.site-footer__top-inner {

    border:none !important;

}

.site-footer__top-btn {

     background-color:  #dddddd !important;
    color: var(--fobex-black);
}


.site-footer__top-icon span, .counter-one__icon span {

    color: #dddddd !important;

}

.feature-one {

    background-color: #f6f7f8 !important;

}
.text-primary {
    color: var(--primary-color)!important;
}
.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.page-link {
    position: relative;
    display: block;
    color: var(--primary-color);
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.site-footer__bottom-text {
    color: #dddddd !important;
}
.custom-cursor__cursor{
    display: none !important;
}

.services-one {

    background-color: var(--primary-color) !important;

}
.services-one .section-title__title {
    color: #fff !important;
}

.services-one__single {

    border: 2px solid rgba(var(--fobex-white-rgb), .10);
    background: var(--bs-light) !important;

}

.services-one__title a  {
    color: var(--primary-color) !important;
    font-weight: bold !important;


}

.services-one__content  p{
        color: var(--primary-color) !important;

        font-size: 1.2rem !important;

}

.services-one__single {

    padding: 28px 28px 30px !important;
}

.services-one__title {
    font-size: 22px !important;

    line-height: 34px !important;

    margin-bottom: 16px !important;
}
.services-one__title a:hover {
    color: var(--primary-color) !important;
}

/* --- Témoignages Swiper Slider --- */
.testimonial-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 340px;
    transition: box-shadow 0.2s;
}
.testimonial-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}
.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.2rem;
    border: 3px solid #e6e6e6;
    background: #f6f7f8;
    display: flex;
    align-items: center;
    justify-content: center;
}
.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.testimonial-content {
    text-align: center;
}
.testimonial-stars {
    margin-bottom: 0.7rem;
}
.star {
    color: #e0e0e0;
    font-size: 1.2rem;
    margin: 0 1px;
    display: inline-block;
    vertical-align: middle;
    transition: color 0.2s;
}
.star.filled {
    color: #ffc107;
}
.testimonial-text {
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 1.1rem;
    min-height: 70px;
}
.testimonial-author {
    font-size: 1.2rem;
    color: #222;
    margin-top: 20px;
}

.testimonial-author strong{
    font-size: 1.1rem !important;
    display: inline-block;
    margin: 15px 0  !important;


}
.testimonial-role {
    font-size: 0.97rem;
    color: #888;
    font-style: italic;
}

/* Swiper navigation custom (optionnel) */
.swiper-button-next, .swiper-button-prev {
    color: #222;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    width: 38px;
    height: 38px;
    top: 40%;
    transition: background 0.2s;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: #f0f0f0;
}
.swiper-pagination-bullet {
    background: #bbb;
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background: #222;
}

.bg-primary{
    background-color: var(--primary-color) !important;
    color: #fff !important;
}
.bg-primary .card-header{
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 10px 10px 0 0;
}
.bg-primary .card-body{
    background-color: #fff !important;
    border-radius: 0 0 10px 10px;
}
.bg-primary:focus {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.btn-check:focus+.btn-outline-primary, .btn-outline-primary:focus {
    box-shadow: 0 0 0 .25rem  var(--primary-color) !important;
}
.btn-check:active+.btn-outline-primary:focus, .btn-check:checked+.btn-outline-primary:focus, .btn-outline-primary.active:focus, .btn-outline-primary.dropdown-toggle.show:focus, .btn-outline-primary:active:focus {
    box-shadow: 0 0 0 .25rem  var(--primary-color) !important;
}
.btn-check:active+.btn-outline-primary, .btn-check:checked+.btn-outline-primary, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show, .btn-outline-primary:active {
    color: #fff;
    background-color:  var(--primary-color) !important;
    border-color:  var(--primary-color) !important;
}
.btn-outline-primary:hover {
    color: #fff;
    background-color:  var(--primary-color) !important;
    border-color:  var(--primary-color) !important;
}
.btn-outline-primary:focus-visible {
    box-shadow: 0 0 0 .25rem  var(--primary-color) !important;
}
.btn-outline-primary:hover {
    color: #fff !important;
    background-color:  var(--primary-color) !important;
    border-color:  var(--primary-color) !important;
}
.btn-outline-primary:focus {
    color: #fff !important;
    background-color:  var(--primary-color) !important;
    border-color:  var(--primary-color) !important;
}

.thm-breadcrumb li a:hover {
    color: var(--primary-secondary-color) !important;
    opacity: 1;
}

.news-page__tag span {

    color: var(--light-color) !important;

}

.article-badge {
    background-color:  var(--primary-color) !important;
    color: white;

}

.btn-outline-primary {
    color:  var(--primary-color) !important;;
    border-color:  var(--primary-color) !important;;
}

.section-title-two__title {
    color: var(--primary-color) !important;
    text-transform: none !important;
}

.section-title__tagline::before {

    display: none !important;

}

.page-header {
    background-color:  var(--primary-color) !important;
}

.scroll-to-top {

    background: var(--primary-secondary-color) !important;
    border-radius: 10px !important;

}

[class^="icon-"], [class*=" icon-"] {

    color: var(--primary-color) !important;
}

.t-bold{
    font-weight: bold !important;
    font-size:  1.1rem !important;
}
.addSize p ,.addSize li{
    font-size: 1.2rem !important;
}

.main-menu .mobile-nav__toggler {

     color: var(--primary-color) !important;

}

.project-one__title a {
    color: var(--primary-secondary-color) !important;
}

.project-one__title a:hover {
    color: var(--primary-secondary-color) !important;
}
.services-three.gos-icones-services [class^="icon-bleu"], [class*=" icon-bleu"]  {
    color: var(--primary-color) !important;
    font-size: 3rem !important;
    background-color: var(--primary-secondary-color) !important;
    padding: 10px !important;
    border-radius: 10px !important;
}





/* Responsive design */
@media (max-width: 991.98px) {
    .contact-info-card {
        margin-bottom: 2rem;
    }
    .form-section {
        margin-bottom: 2rem;
    }
    .testimonial-card {
        min-height: 320px;
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 767.98px) {
    .contact-form {
        padding: 1.5rem;
    }
    .form-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    .testimonial-card {
        min-height: 260px;
        padding: 1.2rem 0.7rem;
    }
    .swiper-button-next, .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
}


.thm-breadcrumb li {
    color: #f6f7f8 !important;;
}

.page-header-bg::before {
    /* background-color: var(--primary-color-rgb) !important; */
}

/* ===== STYLES POUR LES PAGES D'AUTHENTIFICATION ===== */

/* Styles pour tous les types d'input dans les formulaires d'auth */
.get-estimate__input-box input[type="text"],
.get-estimate__input-box input[type="email"],
.get-estimate__input-box input[type="tel"],
.get-estimate__input-box input[type="password"],
.get-estimate__input-box input[type="number"],
.get-estimate__input-box input[type="url"] {
    width: 100%;
    height: 60px;
    background-color: #f7f7f7;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    padding: 0 30px;
    font-size: 16px;
    color: #666666;
    outline: none;
    transition: all 0.3s ease;
}

.get-estimate__input-box input[type="text"]:focus,
.get-estimate__input-box input[type="email"]:focus,
.get-estimate__input-box input[type="tel"]:focus,
.get-estimate__input-box input[type="password"]:focus,
.get-estimate__input-box input[type="number"]:focus,
.get-estimate__input-box input[type="url"]:focus {
    border-color: #ff5e14;
    background-color: #ffffff;
}

.get-estimate__input-box input[type="text"]::placeholder,
.get-estimate__input-box input[type="email"]::placeholder,
.get-estimate__input-box input[type="tel"]::placeholder,
.get-estimate__input-box input[type="password"]::placeholder,
.get-estimate__input-box input[type="number"]::placeholder,
.get-estimate__input-box input[type="url"]::placeholder {
    color: #666666;
    opacity: 1;
}

/* Style pour les messages d'erreur dans les formulaires d'auth */
.get-estimate__form .text-danger {
    color: #dc3545 !important;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Style pour la checkbox dans les formulaires d'auth */
.get-estimate__input-box .form-check {
    margin-top: 10px;
}

.get-estimate__input-box .form-check-input {
    margin-right: 10px;
}

.get-estimate__input-box .form-check-label {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
}

.get-estimate__input-box .form-check-label a {
    color: #ff5e14;
    text-decoration: none;
}

.get-estimate__input-box .form-check-label a:hover {
    text-decoration: underline;
}

/* Style pour les liens dans les formulaires d'auth */
.get-estimate__form .text-primary {
    color: #ff5e14 !important;
    text-decoration: none;
}

.get-estimate__form .text-primary:hover {
    text-decoration: underline;
}

/* Style pour les boutons de type lien dans les formulaires d'auth */
.get-estimate__form .btn-link {
    color: #ff5e14 !important;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
}

.get-estimate__form .btn-link:hover {
    text-decoration: underline;
}

.mon-services  [class^="icon-blanc"], [class*=" icon-"] {
    color: var(--bs-light) !important;

}

.services-three__single {

    padding: 22px 20px 29px;
}
.services-three__title {
    font-size: 1.5rem !important;
}

.about-three__happy-client {

    background: var(--primary-secondary-color) !important;

}
.pricing-one__top .pricing-one__icon  [class^="icon-"], [class*=" icon-"] {
    color: #fff !important;
}
.how-it-work__single .how-it-work__icon  [class^="icon-"], [class*=" icon-"]  ,.how-it-work__single-2 .how-it-work__icon  [class^="icon-"], [class*=" icon-"]{
    color: #fff !important;
}

.thm-breadcrumb li a {
    color: var(--primary-secondary-color) !important;

}

.footer-widget__services-list li a {
    color: var(--bs-light) !important;
}


.footer-widget__title {

    color: var(--primary-color  ) !important;
    background-color: var(--primary-secondary-color) !important;
    padding: 10px !important;
    border-radius: 10px !important;
    font-size: 1.2rem !important;
    font-weight: 500 !important;
    line-height: 25px !important;
    text-transform: uppercase !important;
    width: 100% !important;

}

.footer-widget__contact {

     margin-left: 0px;
}

.footer-widget__social-list li a {

    color: var(--primary-secondary-color) !important;

    [class^="icon-"], [class*=" icon-"] {
        color: var(--primary-secondary-color)  !important;
    }

}

.site-footer__bottom-text {
    color: var(--primary-secondary-color) !important;
}

.site-footer__bottom-menu li a:hover {
    color: var(--primary-secondary-color) !important;
}

a:hover {
    color: var(--primary-secondary-color) !important;
}

.site-footer__bottom-menu a {
    color: var(--primary-secondary-color) !important;
}
.site-footer__bottom-text a {
    color: var(--primary-secondary-color) !important;

}
.footer-widget__newsletter .checked-box input[type="checkbox"]+label span {

    border: 1px solid var(--primary-secondary-color) !important;


}
/* h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color) !important;
} */

/* ===== STYLES POUR SIDEBAR AVEC FILTRES ===== */

/* Card des filtres dans la sidebar */
.sidebar .card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.sidebar .card-header {
    background: linear-gradient(135deg, var(--primary-color), #1a4a7a);
    color: white;
    border-bottom: 2px solid var(--primary-secondary-color);
    padding: 1rem 1.25rem;
}

.sidebar .card-header h5 {
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.sidebar .card-header i {
    color: var(--primary-secondary-color);
}

.sidebar .card-body {
    padding: 1.5rem;
}

/* Labels des filtres */
.sidebar .form-label {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.5rem;
}

/* Select des filtres */
.sidebar .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.sidebar .form-select:focus {
    border-color: var(--primary-secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(223, 181, 70, 0.25);
    background-color: white;
}

/* Boutons dans la sidebar */
.sidebar .btn {
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.sidebar .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.sidebar .btn-primary:hover {
    background-color: var(--primary-secondary-color);
    border-color: var(--primary-secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(223, 181, 70, 0.3);
}

.sidebar .btn-outline-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.sidebar .btn-outline-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Astuce dans la sidebar */
.sidebar__single.have-any-project {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sidebar__single.have-any-project h4 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.sidebar__single.have-any-project p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive pour la sidebar */
@media (max-width: 991.98px) {
    .sidebar .card-body {
        padding: 1.25rem;
    }

    .sidebar .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 767.98px) {
    .sidebar .card-header {
        padding: 0.75rem 1rem;
    }

    .sidebar .card-header h5 {
        font-size: 0.9rem;
    }

    .sidebar .card-body {
        padding: 1rem;
    }

    .sidebar .form-select {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}


.news-two__title ,.services-one__title ,.testimonial-one__title{
    text-transform: none !important;
}


.footer-widget__services {

    margin-left: 0px;
}

.site-footer__top-inner {

    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0px 0px 0px;
    padding-left: 0px;
}

.footer-widget__contact-list li+li {
    margin-top: 1px;
}

.section-title {
    margin-top: -20px !important;
    margin-bottom: 8px !important;
}

.services-three {

padding: 80px 0 90px;

}

.team-one ,.news-two, .blog-two ,.about-one{

    padding: 30px 0 90px;

}

.team-one__content {

    background-color: #FFF;

}

.testimonial-role {
    font-size: 0.97rem;
    color: #888;
    font-style: normal !important;
}

/* Boutons d'action harmonisés (demandes, collaborations, catalogue, etc.) */

