/********** CSS **********/

/*** Fonts ***/
.font-work-sans {
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.font-playfair-display {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.font-dancing-script {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}


/*** Button ***/
.btn {
    position: relative;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-dark,
.btn-primary {
    margin: 10px;
}

.btn-text-only {
    background: transparent !important;
    color: #D6A77C !important;
}

.btn-text-only:hover {
    background: #E8C6A0 !important;
    color: white !important;
}


.btn-primary::before,
.btn-primary::after {
    position: absolute;
    content: "";
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    top: -5px;
    left: -5px;
}

.btn-primary::before {
    top: -10px;
    height: calc(100% + 20px);
    border-left: 2px solid var(--bs-primary);
    border-right: 2px solid var(--bs-primary);
}

.btn-primary::after {
    left: -10px;
    width: calc(100% + 20px);
    border-top: 2px solid var(--bs-primary);
    border-bottom: 2px solid var(--bs-primary);
}

.btn-dark {
    position: relative;
    background-color: var(--bs-dark);
    color: white;
    transition: all 0.3s ease;
}

.btn-dark::before,
.btn-dark::after {
    position: absolute;
    content: "";
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    top: -5px;
    left: -5px;
    transition: all 0.3s ease;
}

/* Contour vertical */
.btn-dark::before {
    top: -10px;
    height: calc(100% + 20px);
    border-left: 2px solid var(--bs-dark);
    border-right: 2px solid var(--bs-dark);
}

/* Contour horizontal */
.btn-dark::after {
    left: -10px;
    width: calc(100% + 20px);
    border-top: 2px solid var(--bs-dark);
    border-bottom: 2px solid var(--bs-dark);
}

/* Hover */
.btn-dark:hover {
    background-color: #E8C6A0 !important;
    color: rgb(19, 19, 19) !important;
}

/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 0 !important;
     min-height: 80px; 
    display: flex;
    align-items: stretch;
}

.navbar .navbar-collapse {
    padding: 0 !important;
}

.navbar .navbar-nav {
    margin-right: 30px !important;
}

.navbar .navbar-nav .nav-link {
    margin: 0 12px;
    padding: 25px 0;
    outline: none;
    font-family: "Playfair Display", serif;
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary)
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 15px !important;
    }

    .navbar-nav .nav-link {
        height: auto !important;
        padding: 10px 0 !important;
    }
}

.navbar .btn-primary {
    border-width: 2px;
    background: var(--bs-light);
}

.navbar .btn-primary:hover {
    background: var(--bs-primary);
}


.navbar {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


.d-flex.align-items-center {
    margin-left: 15px !important;
}

.navbar-nav .nav-link {
    padding: 0 12px;
    display: flex;
    align-items: center;
    height: 100%;
}

/* Bouton Devis */
.btn-devis {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;         
    padding: 0 25px;       
    margin: 0;            
    background: var(--bs-primary);
    color: #1a1919;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;     
}

/* Hover */
.btn-devis:hover {
    background: #E8C6A0;
    color: #1a1919;
}

@media (max-width: 991.98px) {

    .btn-devis {
        width: 100% !important;
        height: auto !important;
        padding: 10px 15px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        white-space: nowrap;
    }

    .dropdown-menu {
        width: max-content !important;
        min-width: 160px;
        max-width: 90vw;
        overflow-x: auto;
        text-align: right;
    }

    .dropdown-item {
        white-space: nowrap;
        text-align: right;
    }

    [dir="rtl"] .navbar-collapse {
        text-align: right;
    }
}

/*** Hero Header ***/
.hero-header {
  position: relative;
  background-image: url(../img/backo.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Image miroir pour l'arabe */
[dir="rtl"] .hero-header {
  background-image: url(../img/backo.jpg);
  background-position: center top;
  transform: scaleX(-1);
}

[dir="rtl"] .hero-header > * {
  transform: scaleX(-1);
}

[dir="rtl"] i {
  margin-left: 8px;  
  margin-right: 0;
}

[dir="rtl"] .breadcrumb-item + .breadcrumb-item {
  padding-right: 0.5rem;
  padding-left: 0;
}

[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
  float: right;
  padding-right: 0;
  padding-left: 0.5rem;
}

/* Inverser la flèche en RTL */
[dir="rtl"] .btn-link::before {
  content: "❮";
  margin-left: 8px;
}

[dir="rtl"] .btn-link::after {
  content: none;
}

/* ===== FOOTER LIENS SOUS LE TITRE ===== */
[dir="rtl"] .col-sm-6 {
  text-align: right;
}

[dir="rtl"] .col-sm-6 .btn-link {
  display: block;
  text-align: right;
  padding: 2px 0;
  margin: 0;
  width: fit-content;
  margin-right: 0;
  margin-left: auto;
}

[dir="rtl"] .col-lg-6.ps-lg-5 {
  padding-right: 3rem !important;
  padding-left: 0 !important;
}

html[dir="rtl"] .modal-content {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .modal-header {
  flex-direction: row-reverse;
}

html[dir="rtl"] .modal-title {
  text-align: right;
  width: 100%;
}

html[dir="rtl"] .modal-body {
  text-align: right;
}

html[dir="rtl"] .modal-body ul {
  padding-right: 22px;
  padding-left: 0;
}

[dir="rtl"] .single-blog-area.left-img {
  .bg-image {
    left: auto;
    right: 0;
  }
}

[dir="rtl"] .btn.position-absolute {
  right: auto !important;
  left: 0 !important;
}

[dir="rtl"] {
  .modal-body {
    text-align: right !important;
    direction: rtl;

    ul {
      padding-right: 1.5rem;
      padding-left: 0;
    }
  }

  .modal-header {
    flex-direction: row-reverse;

    .btn-close {
      margin-right: 0 !important;
      margin-left: 0 !important; 
      order: -1;
    }
  }
}

/* ===== RTL MOBILE FIX ===== */
@media (max-width: 767px) {

  [dir="rtl"] .hero-header .col,
  [dir="rtl"] .hero-header [class*="col-"] {
    padding-right: 15px !important;
    padding-left: 15px !important;
  }

  [dir="rtl"] body,
  [dir="rtl"] .hero-header,
  [dir="rtl"] section,
  [dir="rtl"] .container,
  [dir="rtl"] .container-fluid {
    overflow-x: hidden;
    max-width: 100%;
  }

  [dir="rtl"] .hero-header,
  [dir="rtl"] section {
    text-align: right;
  }

  [dir="rtl"] .contact-info p {
    direction: ltr;
    text-align: right;
    unicode-bidi: plaintext;
    white-space: normal;
  }
}


/* Voile blanc */
.hero-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(246, 243, 243, 0.793);
  z-index: 1;
}

/* Pour que contenu reste visible au-dessus */
.hero-header > * {
  position: relative;
  z-index: 2;
}

.hero-header .hero-header-text {
    display: flex;
    align-items: center;
    justify-content: center; 
    padding: 0 !important;
}

.hero-header .hero-header-text > div {
    width: 100%;
    max-width: 600px; 
    padding: 2rem 1rem;
}

@media (min-width: 992px) {
    .hero-header .container {
        max-width: 100% !important;
    }
    .hero-header .hero-header-text {
        padding-left: max(1rem, calc((100vw - 960px) / 2 + 0.75rem));
    }
}

@media (min-width: 1200px) {
    .hero-header .hero-header-text {
        padding-left: max(1rem, calc((100vw - 1140px) / 2 + 0.75rem));
    }
}

@media (min-width: 1400px) {
    .hero-header .hero-header-text {
        padding-left: max(1rem, calc((100vw - 1320px) / 2 + 0.75rem));
    }
}

.header-carousel .owl-nav {
    position: absolute;
    right: 0;
    bottom: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    z-index: 5;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next{
    position: relative;
    margin-left: 2px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-dark);
    background: var(--bs-primary);
    font-size: 22px;
    transition: .5s;
}

.arrow-text {
    font-size: 24px;
    font-weight: w500;
}


.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    color: var(--bs-white);
}

.page-header {
    position: relative;
    background: url(../img/banner.jpg) center center no-repeat;
    background-size: cover;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.766);
    z-index: 1;
}

/* pour que ton contenu reste au dessus */
.page-header > * {
    position: relative;
    z-index: 2;
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.png) top left no-repeat;
    background-size: contain;
}

/* même hauteur pour les deux images */
.image-box {
    position: relative;
    height: 520px;
    overflow: hidden;
    border-radius: 6px;
}

/* image qui remplit le bloc */
.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: rgba(31, 47, 74, 0.85);
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.image-caption h4 {
    color: #fff;
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

/* RTL */
html[dir="rtl"] .image-caption {
    justify-content: flex-end;   
    padding-right: 30px;        
    padding-left: 15px;
}

html[dir="rtl"] .image-caption h4 {
    text-align: right;
    direction: rtl;
}

@media (max-width: 768px) {
    .image-caption {
        padding: 12px 15px;
        min-height: 60px;
    }

    .image-caption h4 {
        font-size: 14px;
    }

    html[dir="rtl"] .image-caption {
        padding-right: 20px;
        padding-left: 12px;
    }
}

/*---------------------
   History
-----------------------*/

.section-title.history-title {
	margin-bottom: 95px;
}

.history__content {
	position: relative;
}

.history__content::after {
	position: absolute;
	left: 50%;
	top: -40px;
	width: 2px;
	height: 1100px;
	background: rgba(29, 28, 28, 0.3);
	-webkit-transform: translateX(-1px);
	-ms-transform: translateX(-1px);
	transform: translateX(-1px);
	content: "";
}

.history__item {
	margin-bottom: 220px;
	position: relative;
}

.history__item .history__date {
	position: absolute;
	left: -104px;
	top: 10px;
	height: 2px;
	width: 80px;
	background: rgba(29, 28, 28, 0.3);
	content: "";
	z-index: 9;
}

.history__item .history__date:before {
	position: absolute;
	left: -18px;
	top: -9px;
	height: 20px;
	width: 20px;
	background: #ffffff;
	border-radius: 50%;
	content: "";
}

.history__item .history__date:after {
	position: absolute;
	left: -15px;
	top: -6px;
	height: 14px;
	width: 14px;
	background: #D6A77C;
	border-radius: 50%;
	content: "";
}

.history__item.left__item {
	text-align: right;
}

.history__item.left__item .history__date {
	left: auto;
	right: -104px;
}

.history__item.left__item .history__date:before {
	left: auto;
	right: -18px;
}

.history__item.left__item .history__date:after {
	left: auto;
	right: -15px;
}

.history__item.right__first__item {
	margin-top: 220px;
}

.history__item.mb-0 {
	margin-bottom: 0;
}

.history__item span {
	font-size: 16px;
	color: #777C81;
}

.history__item h4 {
	color: #202020;
	font-weight: 500;
	margin-bottom: 25px;
	margin-top: 6px;
}

.history__item img {
    width: 100%;
    height: 250px;     
    object-fit: cover;  
    border-radius: 6px; 
}

.history__item p {
    margin-top: 15px;
	margin-bottom: 50px;
	line-height: 28px;
}

@media (max-width: 768px) {

    .history__content::after {
        display: none;
    }

    .history__item {
        margin-bottom: 50px;
    }

    .history__item.right__first__item {
        margin-top: 50px;
    }
}


/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
    transition: transform 0.3s, box-shadow 0.3s;
    background: #F5F6F8;
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-10px) scale(1.02); /* effet levé au survol */
    box-shadow: 0 20px 30px rgba(0,0,0,0.15);
    background: #F5F6F8;
}

.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon img {
    max-width: 60px;
    max-height: 60px;
}

.service-item .service-img {
    width: 100%;
    height: 220px;         
    object-fit: cover;    
    transition: transform 0.4s ease;
}

.service-item .service-text h3 {
    text-align: left;
    width: 100%;
}

.service-item .d-flex {
    min-height: 110px;   
}

.service-item .service-text {
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    height: 100%;
    justify-content: space-between;
}

.service-item .service-text a.btn {
    margin-top: 10px; 
}


/* CTA full width */
.cta-section {
    width: 100%;
    background-color: #2F4A73;
}

/* Texte */
.cta-section h2 {
    font-weight: 700;
    color:#fff;
}

/* Désactiver hover Bootstrap */
.btn-no-hover{
    border-radius: 5px;
}
.btn-no-hover:hover,
.btn-no-hover:focus,
.btn-no-hover:active {
    background-color: transparent !important;
    color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    /* box-shadow: none !important;
    transform: none !important; */
}

/*** Appointment ***/

.container.appointment .row {
    align-items: stretch;
}

@media (min-width: 992px) {
    .container.appointment {
        max-width: 100% !important;
    }

    .container.appointment .appointment-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }

    .container.appointment .appointment-form {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .container.appointment .appointment-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }

    .container.appointment .appointment-form  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .container.appointment .appointment-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }

    .container.appointment .appointment-form  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


.container.appointment .appointment-text {
    position: relative;
    background: url(../img/faq_back.jpg) bottom right no-repeat;
    background-size: cover;
    overflow: hidden;
}

/* Voile + gradient */
.container.appointment .appointment-text::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(31, 47, 74, 0.85),
        rgba(31, 47, 74, 0.55)
    );
    z-index: 1;
}

/* Contenu au-dessus du voile */
.container.appointment .appointment-text > * {
    position: relative;
    z-index: 2;
}

.container.appointment .appointment-text .h-100,
.container.appointment .appointment-form .h-100 {
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.iti {
  width: 100%;
}

/*** FAQ ***/
/* FAQ Box */
.faq-box {
    color: #fff;
}

/* Categories buttons */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.faq-cat {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-cat:hover,
.faq-cat.active {
    background: #ffffff;
    color: #000;
}

/* Accordion */
.faq-accordion .accordion-item {
    background: rgba(255,255,255,0.95);
    border-radius: 10px;
    margin-bottom: 12px;
    border: none;
}

.faq-accordion .accordion-button {
    background: transparent;
    font-weight: 600;
    color: #333;
    border-radius: 10px;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: #cd5f37;
    box-shadow: none;
}

.faq-accordion .accordion-body {
    color: #555;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .container.appointment .appointment-text {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .container.appointment .appointment-text .h-100 {
        padding: 2rem 1.5rem;
    }
}

/*------------------------
  Packages Section 
-------------------------*/

.hp-pack-items {
	margin-left: 0px;
	margin-right: 0px;
	overflow: hidden;
}
.hp-pack-items .hp-pack-item {
	height: 600px;
	margin-right: 0px;
	position: relative;
	overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}
.hp-pack-items .hp-pack-item:hover {
  transform: scale(1.02);
}
.hp-pack-items .hp-pack-item:hover .hr-text {
	bottom: 135px;
}
.hp-pack-items .hp-pack-item:hover .hr-text h2 {
	margin-bottom: 30px;
}
.hp-pack-items .hp-pack-item .hr-text {
	position: absolute;
	left: 45px;
	right: 25px;
	bottom: -250px;
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
    z-index: 2;
}
.hp-pack-items .hp-pack-item .hr-text h3 {
	color: #ffffff;
	margin-bottom: 15px;
}
.hp-pack-items .hp-pack-item .hr-text h2 {
	color: #dfa974;
	font-weight: 700;
	margin-bottom: 50px;
	-webkit-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
}
.hp-pack-items .hp-pack-item .hr-text h2 span {
	font-family: "Cabin", sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #ffffff;
}
.hp-pack-items .hp-pack-item .hr-text table {
	margin-bottom: 30px;
}
.hp-pack-items .hp-pack-item .hr-text table tbody tr td {
	font-size: 16px;
	color: #ffffff;
	line-height: 45px;
}
.hp-pack-items .hp-pack-item .hr-text table tbody tr td.r-o {
	width: 120px;
}
.hp-pack-items .hp-pack-item .hr-text .primary-btn:after {
	background: #ffffff;
}

/* Overlay sombre */
.hp-pack-items .hp-pack-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15); 
  transition: background 0.4s ease;
  z-index: 1;
}

/* Au hover : image plus foncée */
.hp-pack-items .hp-pack-item:hover::before {
  background: rgba(0, 0, 0, 0.6); /* voile foncé */
}


/*** Pricing ***/
.price .price-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, .05);
}


/*** Blog ***/
.blog .btn-dark {
    border-width: 2px;
    background: var(--bs-primary);
    color: var(--bs-dark);
}

.blog .btn-dark:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}


/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery {
  overflow: hidden;
}

.gallery .swiper-wrapper {
  height: auto;
}

.gallery .swiper-slide {
  transition: all 0.4s ease;
  transform: scale(0.9);
  opacity: 0.6;
}

.gallery .swiper-slide-active {
  opacity: 1;
  transform: scale(1.25);
  background: #fff;
  border: 6px solid  #E8C6A0;
  padding: 6px;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Pagination */

.gallery .swiper-pagination {
  margin-top: 25px;
  position: relative;
}

.gallery .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #fff;
  border: 1px solid  #E8C6A0;
  opacity: 1;
}

.gallery .swiper-pagination-bullet-active {
  background: #E8C6A0;
}

/* Desktop only */

@media (min-width: 992px) {
  .gallery .swiper-wrapper {
    padding: 60px 0;
  }
}


/*** Team ***/
.team {
    position: relative;
}

.team::before {
    position: absolute;
    content: "";
    width: 200%;
    height: 200px;
    top: 50%;
    left: -50%;
    transform: translateY(-50%);
    margin-top: 1rem;
    background: var(--bs-primary);
}

.team-item img {
    transition: .5s;
}
  
.team-item:hover img {
    transform: scale(1.2);
}
  
.team-overlay {
    position: absolute;
    padding: 30px;
    right: 30px;
    bottom: 30px;
    left: 30px;
    text-align: center;
    background: rgba(255, 255, 255, .5);
    transition: .5s;
    z-index: 1;
}

.team-item:hover .team-overlay {
    background: rgba(255, 255, 255, .9);
}

.team-overlay p {
    letter-spacing: 1px;
    font-weight: w500;
    color: #121212;
}

.team-overlay .btn-dark {
    border-width: 2px;
    color: var(--bs-dark);
    background: transparent;
}

.team-overlay .btn-dark:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}


/*** Testimonial ***/
.testimonial-carousel .owl-item {
    position: relative;
}

.testimonial-carousel .owl-item::before {
    position: absolute;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: .1;
}

.testimonial-carousel .owl-item img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    margin: 0 auto 15px;
    display: block;
    background-color: #fff;
}

.testimonial-carousel .owl-item,
.testimonial-carousel .owl-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item span {
    letter-spacing: 2px;
}

.testimonial-carousel .owl-item.center .bg-light {
    background: var(--bs-primary) !important;
}

.testimonial-carousel .owl-item.center .bg-light * {
    color: var(--bs-dark) !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--bs-dark);
    background: var(--bs-primary);
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

/*** Tunisie about ***/
.padding-large {
  padding-top: 8em;
  padding-bottom: 8em;
}

.padding-side {
  padding-left: 6rem;
  padding-right: 6rem;
}

@media (max-width: 1400px) {
  .padding-side {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

@media (max-width: 1200px) {
  .padding-side {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

@media (max-width: 992px) {
  .padding-side {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (max-width: 768px) {
  .padding-side {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .padding-large {
    padding-top: 15em;
  }
}

@media (max-width: 576px) {
  .padding-side {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .padding-large {
    padding-top: 18em;
  }
}

/*** prévoyage ***/
.phases-container {
  display: flex;
  min-height: 630px;
  max-width: 1500px;
  margin: 0 auto;                 
  padding: 0 10px;
}

.phase {
  flex: 1;
  padding: 50px 40px;
  position: relative;
  background-size: cover;
  background-position: center;
  color: #333;
  display: flex;
  flex-direction: column; 
  justify-content: flex-end; 
  padding: 50px 40px;
  overflow: hidden;
}

/* Overlay */
.phase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* sur l’overlay */
.phase * {
  position: relative;
  z-index: 1;
}

.phase-left {
  background-image: url("/assets/img/phase1.jpg");
}

.phase-right::before{
 background: linear-gradient(
    180deg,
    rgba(245, 231, 219, 0.886),
    rgba(219, 213, 207, 0.759)
  );
}
.phase-left::before {
  background: linear-gradient(
    180deg,
    rgba(220, 179, 141, 0.886),
    rgba(224, 195, 165, 0.759)
  );
}

.phase-middle {
  background-image: url("/assets/img/phas2.jpg");
}

.phase-middle::before {
  background: linear-gradient(
    180deg,
    rgba(230, 241, 244, 0.9),
    rgba(227, 235, 237, 0.85)
  );
}

.phase-right {
  background-image: url("/assets/img/phas6.jpg");
}

.phase h2 {
  font-size: 26px;
  margin-bottom: 28px;
  color: #1F2F4A;
}

.phase h4 {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 500;
  color: #000;
}

.phase p {
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 992px) {
  .phases-container {
    flex-direction: column;
  }
}

/*** end prévoyage ***/


/*** Arrivee Start ***/
.Arrivee-item {
    position: relative;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.Arrivee-item::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    left: 0;
    bottom: 0;
    border-radius: 10px;
    background: var(--bs-primary);
    transition: 0.5s;
    z-index: 1;
}

.Arrivee-item:hover::after {
    width: 100%;
    height: 100%;
}

.Arrivee-item:hover .Arrivee-content,
.Arrivee-item:hover .Arrivee-btn {
    position: relative;
    z-index: 2;
}
.Arrivee-item:hover .Arrivee-btn {
    position: relative;
    z-index: 2;
}

.Arrivee-item .Arrivee-content a,
.Arrivee-item .Arrivee-content p {
    transition: 0.5s;
}

.Arrivee-item:hover .Arrivee-content a:hover {
    color: var(--bs-secondary);
}

.Arrivee-item:hover .Arrivee-content p {
    color: var(--bs-white);
} 

.Arrivee-item .Arrivee-btn {
    width: 80px;
    height: 80px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    transition: 0.5s;
}

.Arrivee-item .Arrivee-btn i {
    transition: 0.5s;
}

.Arrivee-item:hover .Arrivee-btn {
    background: var(--bs-white);
}

.Arrivee-item:hover .Arrivee-btn i {
    transform: rotate(360deg);
    color: var(--bs-primary) !important;
}
/*** Arrivee End ***/

/*** Vid back ***/
.video-bg {
  position: relative;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.video-bg .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.486); /* voile sombre */
  z-index: 1;
}

.video-bg .container {
  position: relative;
  z-index: 2; /* contenu au-dessus de la vidéo et du voile */
}

.section {
  padding: 5em 0;
}

@media (max-width: 991.98px) {
  .section {
    padding: 3em 0;
  }
}

/*** Vid back End ***/

/*--------------------------------------------------------------
# Services 2 Section
--------------------------------------------------------------*/
.services-2 .service-item {
  background-color: var(--surface-color);
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  transition: 0.3s;
}

.services-2 .service-item .icon {
  font-size: 36px;
  line-height: 0;
  margin-right: 30px;
  margin-top: -10px;
  margin-bottom: 15px;
  color: #D6A77C;
}

.services-2 .service-item .title {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.services-2 .service-item .title a {
  color: var(--heading-color);
}

.services-2 .service-item .description {
  line-height: 24px;
  font-size: 14px;
  margin: 0;
  font-weight: 400;
}

.services-2 .service-item:hover {
  border-color: var(--accent-color);
}

.services-2 .service-item:hover .title a {
  color: var(--accent-color);
}

/*** Services 2 END ***/

/*** Features ***/

.features__v2 {
  margin-top: 20px !important;
}

.features__v2 .icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background-color: rgb(31,47,74); /* wheat */ /*  var(--bs-secondary) */
  color: var(--bs-primary);
}

.features__v2 .content {
  background-color: rgba(var(--bs-secondary-rgb), 0.2);
}

.features__v2 .btn-play i {
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 50%;
  background-color: var(--bs-white);
  color: var(--bs-primary);
}

/*** Features End ***/

/*** Visa Medical ***/

.visa__v1 .subtitle {
  background-color: rgba(var(--bs-secondary-rgb), 0.2);
  color: var(--bs-primary);
  display: inline-block;
  padding: 5px 12px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.75rem;
  margin-bottom: 10px;
}

.visa__v1 .step-card {
  position: relative;
}
.visa__v1 .step-card .step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  display: inline-block;
  color: var(--bs-secondary);
  background-color: var(--bs-primary);
  font-size: 18px;
}
.visa__v1 .arch-line {
  position: absolute;
  top: 15px;
  width: 150px;
  right: 0;
  left: calc(100% + 24px);
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
@media (max-width: 991.98px) {
  .visa__v1 .arch-line {
    display: none;
  }
}
.visa__v1 .arch-line.reverse {
  top: 20px;
}

/*** Visa Medical End ***/

/*** Accréditation ***/
.accreditations-section {
    padding: 80px 0;
    background: #fafafa;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #777;
    margin-bottom: 50px;
}

.accreditations-wrapper {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.accreditation-item {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accreditation-item img {
    width: 100%;
    object-fit: contain;
}

.accreditation-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

@media (max-width:768px){
    .accreditation-item {
        width: 110px;
        height: 110px;
    }
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services .service-card {
  position: relative;
  background: var(--surface-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.featured-services .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.featured-services .service-card:hover .service-image img {
  transform: scale(1.05);
}

.featured-services .service-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background: #2F4A73; 
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(207, 151, 73, 0.527);
  border: 3px solid #ffffff; 
  transition: 0.3s;
  color: wheat;
}

.featured-services .service-card:hover .service-icon {
  transform: scale(1.1);
}


.featured-services .service-icon i {
  font-size: 24px;
  color: var(--contrast-color);
}

.featured-services .service-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.featured-services .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-services .service-image::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 70px;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.4) 40%,
    var(--surface-color) 100%
  );
}


.featured-services .service-content {
  padding: 30px 25px;
}
.featured-services .service-content ul {
  list-style: none; 
  padding-left: 0; 
  margin: 0;
}

.featured-services .service-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--heading-color);
  line-height: 1.4;
}

.featured-services .service-content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 14px;
}

.featured-services .service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.featured-services .service-link:hover {
  color: var(--heading-color);
  gap: 12px;
}

.featured-services .service-link i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.featured-services .service-link:hover i {
  transform: translateX(3px);
}

@media (max-width: 768px) {

  .featured-services .service-card {
    margin-bottom: 30px !important; 
  }

  .featured-services .row > div:last-child .service-card {
    margin-bottom: 0 !important;
  }

  .featured-services .service-icon {
    width: 50px;
    height: 50px;
    top: 15px;
    right: 15px;
  }

  .featured-services .service-icon i {
    font-size: 20px;
  }

  .featured-services .service-image {
    height: 180px;
  }

  .featured-services .service-content {
    padding: 20px;
  }

  .featured-services .service-content h3 {
    font-size: 18px;
  }
}

section[id] {
  padding-top: 90px;
  margin-top: -90px;
}

#Devis {
  padding-top: 0%;
}


/** clignotement button **/

.btn-glow {
  box-shadow: 0 0 12px rgba(13, 110, 253, 0.6),
              0 0 24px rgba(13, 110, 253, 0.4);
  transition: all 0.3s ease-in-out;
}

.btn-glow:hover {
  box-shadow: 0 0 18px rgba(13, 110, 253, 0.9),
              0 0 36px rgba(13, 110, 253, 0.6);
  transform: scale(1.05);
}


/**end clignotement **/


/** actualites **/

#featured-blog {
  margin-top: -100px;
  float: left;
  width: 100%;
}

.feature-full-1col {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-flow: row wrap;
  width: 100%;
  margin-bottom: 90px;
}
.feature-full-1col .image, .feature-full-1col .desc {
  float: left;
  width: 50%;
}
@media screen and (max-width: 768px) {
  .feature-full-1col .image, .feature-full-1col .desc {
    flex-wrap: wrap;
    position: relative;
    width: 100%;
  }
}
.feature-full-1col .image {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  overflow: hidden;
}
.feature-full-1col .image .descrip {
  width: 180px;
  position: absolute;
  top: 0;
  right: -180px;
  padding: 10px;
  background: rgba(27, 67, 110, 0.5);
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}
.feature-full-1col .image .descrip p {
  margin: 0;
  color: #fff;
}
.feature-full-1col .image .descrip small, .feature-full-1col .image .descrip span {
  display: block;
}
.feature-full-1col .image .descrip small {
  color: rgba(255, 255, 255, 0.578);
  text-transform: uppercase;
  font-size: 12px;
}
@media screen and (max-width: 768px) {
  .feature-full-1col .image {
    height: 300px;
  }
}
.feature-full-1col .desc {
  padding: 50px;
  background: #fff;
}
@media screen and (max-width: 768px) {
  .feature-full-1col .desc {
    padding: 30px;
  }
}
.feature-full-1col:hover .image .descrip, .feature-full-1col:focus .image .descrip {
  right: 0;
}

.feature-full-2col {
  margin-bottom: 70px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  gap: 30px;
}
@media screen and (max-width: 768px) {
  .feature-full-2col {
    flex-wrap: wrap;
    width: 100%;
  }
}
.feature-full-2col .f-blog {
  float: left;
  width: 50%;
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-flow: row wrap;
}
@media screen and (max-width: 992px) {
  .feature-full-2col .f-blog {
    width: 100%;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }
}
.feature-full-2col .f-blog .descrip {
  width: 180px;
  position: absolute;
  top: 0;
  right: -180px;
  padding: 10px;
  background: rgba(27, 67, 110, 0.5);
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}
.feature-full-2col .f-blog .descrip p {
  margin: 0;
  color: #fff;
}
.feature-full-2col .f-blog .descrip small, .feature-full-2col .f-blog .descrip span {
  display: block;
}
.feature-full-2col .f-blog .descrip small {
  color: rgba(255, 255, 255, 0.578);
  text-transform: uppercase;
  font-size: 12px;
}
.feature-full-2col .f-blog .image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
}
@media screen and (max-width: 480px) {
  .feature-full-2col .f-blog .image {
    position: relative;
    height: 200px;
  }
}
.feature-full-2col .f-blog .image, .feature-full-2col .f-blog .desc {
  width: 50%;
}
@media screen and (max-width: 480px) {
  .feature-full-2col .f-blog .image, .feature-full-2col .f-blog .desc {
    width: 100%;
  }
}
.feature-full-2col .f-blog .desc {
  padding: 30px;
  background: #fff;
}
.feature-full-2col .f-blog:hover .image .descrip, .feature-full-2col .f-blog:focus .image .descrip {
  right: 0;
}

#featured-blog {
  padding: 7em 0;
}  

/* actualites end */      

/* blog details start */
.blog-area .single-blog-area {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.blog-area .single-blog-area .bg-image {
  position: absolute;
  left: 0;
  top: 0;
  width: 55%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.blog-area .single-blog-area .container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}

.blog-area .blog-caption {
  background: rgba(255, 255, 255, 0.855);  
  padding: 60px 50px;
}

.blog-area .blog-caption span {
  display: block;
  color: #D6A77C;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.btn.border-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 38px;
  border: 1.5px solid #D6A77C;
  color: #D6A77C;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn.border-btn::after {
  content: "›";
  font-size: 18px;
}

.btn.border-btn:hover {
  background: #E8C6A0;
  color: #fff;
}

.row.justify-content-end {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .blog-area .single-blog-area.left-img::before {
    display: none;
  }

  .blog-area .blog-caption {
    padding: 30px;
  }
}
/* blog details end */   

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  overflow: hidden;
}

.contact .info-box {
  color: var(--default-color);
  background: var(--surface-color);
  padding: 30px;
  height: 100%;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.contact .info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
}

.contact .info-box i {
  font-size: 32px;
  color: var(--accent-color);
  border-radius: 50%;
  padding: 15px;
  background: #374661;
  margin-bottom: 20px;
  display: inline-block;
  line-height: 1;
}

.contact .info-box h3 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 15px;
  margin-bottom: 0;
}

.contact .map-container {
  overflow: hidden;
  padding-bottom: 500px;
  position: relative;
  height: 0;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.contact .map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.contact .iti {
  width: 100%;
}

.contact .iti input.form-control {
  width: 100%;
  padding-left: 48px !important; 
  height: 50px;
  border-radius: 10px;
  border: 1px solid #ced4da;
  background: var(--surface-color);
  font-size: 14px;
}

.contact .iti__flag-container {
  left: 12px;
}

.contact .iti__selected-flag {
  padding: 0 8px;
}

.contact .iti input.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 80%);
}

@media (max-width: 992px) {
  .contact .map-container {
    padding-bottom: 350px;
  }
}

@media (max-width: 768px) {
  .contact .map-container {
    padding-bottom: 300px;
  }
}

.contact .php-email-form {
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  padding: 30px;
  background: var(--surface-color);
  border-radius: 15px;
}

.contact .php-email-form .form-control {
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #ced4da;
  font-size: 14px;
  transition: all 0.3s;
}

.contact .php-email-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 80%);
}

.contact .php-email-form .form-control::placeholder {
  color: #adb5bd;
}

.contact .php-email-form textarea.form-control {
  min-height: 120px;
}


/* blog-content */
.blog-content {
    padding: 80px 0;
}

.blog-content .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-content .content-box {
    border: 1.5px solid #c9922a;   /* bordure dorée */
    padding: 50px 60px;
    border-radius: 4px;
}

.blog-content .content-box p:last-child {
    margin-bottom: 0;
}

.blog-content .content-box a {
    color: #5b9bd5;               
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.blog-content .content-box a:hover {
    border-bottom-color: #5b9bd5;
}

@media (max-width: 768px) {
    .blog-content .content-box {
        padding: 30px 24px;
    }

    .blog-content .content-box p {
        font-size: 14px;
    }
}
/* blog-content end */

/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    background: var(--bs-light);
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    height: 350px; /* hauteur fixe pour toutes les images */
    max-height: 350px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.blog .blog-item .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item:hover .blog-img::after {
    background: rgba(72, 99, 161, 0.2);
}

.blog .blog-item .blog-content a {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-content a:hover {
    color: var(--bs-primary) !important;
}
/*** Blog End ***/


/*** Footer ***/

/* Le parent relative */
.footer.position-relative {
    position: relative !important;
    overflow: hidden;
}

@media (min-width: 992px) {
    .footer.position-relative::after {
        position: absolute;  
        content: "";
        width: 1px;
        height: 100%;
        top: 0;
        left: 50%;
        background: var(--bs-secondary);
        z-index: 1;
    }
}


.footer {
    width: 100%;
    background-color: #1F2F4A;
    /* Supprime d'éventuelles marges parasites */
    margin-top: auto; 
    margin-bottom: 0 !important;
}

.bg-form {
    background-color: #F5F6F8;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 0px;
    box-shadow: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, .5);
    margin-right: 10px;
}

/** Clinics **/

.ftco-46 .ftco-46-row > div {
  text-align: center;
  width: 100%;
}

@media (min-width: 992px) {
  .ftco-46 .ftco-46-row > div {
    width: 33.33333%;
  }
}

.ftco-46 .ftco-46-subheading {
  font-size: 14px;
  color: #b3b3b3;
  color: #ff7a5c;
  text-transform: uppercase;
  letter-spacing: .2em;
}

.ftco-46 .ftco-46-heading {
  text-transform: uppercase;
  line-height: 1.5;
  font-size: 20px;
  margin-bottom: 30px;
}

.ftco-46 .ftco-46-image {
  background-size: cover;
  background-position: center center;
  position: relative;
}

.ftco-46 .ftco-46-image:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  opacity: .05;
}

@media (max-width: 991.98px) {
    .ftco-46 .ftco-46-row > div {
        width: 100% !important; 
    }

    .ftco-46 .ftco-46-image {
        height: 250px !important; 
        display: block !important; 
    }

    .ftco-46 .ftco-46-text {
        padding: 30px 20px !important;
    }

    .ftco-46-text:after {
        display: none !important;
    }
}

.ftco-46-row {
    width: 100%;
    margin: 0;
}

.ftco-46 .ftco-46-text {
  padding: 40px;
  background: #fff;
}

@media (max-width: 991.98px) {
  .ftco-46 .ftco-46-text {
    margin-bottom: 20px;
  }
}

.ftco-46 .ftco-46-text.ftco-46-arrow-up {
  z-index: 2;
  position: relative;
}

.ftco-46 .ftco-46-text.ftco-46-arrow-up:after {
  bottom: 100%;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-bottom-color: #fff;
  border-width: 20px;
  margin-left: -20px;
}

@media (max-width: 991.98px) {
  .ftco-46 .ftco-46-text.ftco-46-arrow-up:after {
    display: none;
  }
}

.ftco-46 .ftco-46-text.ftco-46-arrow-left {
  z-index: 2;
  position: relative;
}

.ftco-46 .ftco-46-text.ftco-46-arrow-left:after {
  right: 100%;
  top: 20%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  border-right-color: #fff;
  border-width: 20px;
  margin-top: -20px;
}

@media (max-width: 991.98px) {
  .ftco-46 .ftco-46-text.ftco-46-arrow-left:after {
    display: none;
  }
}

.ftco-46 .ftco-46-text.ftco-46-arrow-right {
  z-index: 2;
  position: relative;
}

.ftco-46 .ftco-46-text.ftco-46-arrow-right:after {
  left: 100%;
  top: 20%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-left-color: #fff;
  border-width: 20px;
  margin-top: -20px;
}

@media (max-width: 991.98px) {
  .ftco-46 .ftco-46-text.ftco-46-arrow-right:after {
    display: none;
  }
}

.ftco-46 .ftco-46-text p:last-child {
  margin-bottom: 0;
}
      
/** clinics end **/


/** hotels **/
.block-2 {
  margin-bottom: 50px;
  -webkit-perspective: 1000;
  -moz-perspective: 1000;
  -ms-perspective: 1000;
  perspective: 1000;
  -ms-transform: perspective(1000px);
  -moz-transform: perspective(1000px);
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d; }
  .block-2:hover .back, .block-2.hover .back {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg); }
  .block-2:hover .front, .block-2.hover .front {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg); }
  .block-2, .block-2 .front, .block-2 .back {
    width: 100%;
    height: 427px; }
  .block-2 .flipper {
    -webkit-transition: 0.6s;
    -webkit-transform-style: preserve-3d;
    -ms-transition: 0.6s;
    -moz-transition: 0.6s;
    -moz-transform: perspective(1000px);
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transition: 0.6s;
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative; }
  .block-2 .front, .block-2 .back {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 4px;
    -webkit-transition: 0.6s;
    -webkit-transform-style: preserve-3d;
    -webkit-transform: rotateY(0deg);
    -moz-transition: 0.6s;
    -moz-transform-style: preserve-3d;
    -moz-transform: rotateY(0deg);
    -o-transition: 0.6s;
    -o-transform-style: preserve-3d;
    -o-transform: rotateY(0deg);
    -ms-transition: 0.6s;
    -ms-transform-style: preserve-3d;
    -ms-transform: rotateY(0deg);
    transition: 0.6s;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    position: absolute;
    top: 0;
    left: 0; }
  .block-2 .front {
    -webkit-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    background: lightgreen;
    z-index: 2;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat; }
    .block-2 .front:before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background: -moz-linear-gradient(top, transparent 0%, transparent 18%, rgba(0, 0, 0, 0.8) 99%, rgba(0, 0, 0, 0.8) 100%);
      background: -webkit-linear-gradient(top, transparent 0%, transparent 18%, rgba(0, 0, 0, 0.8) 99%, rgba(0, 0, 0, 0.8) 100%);
      background: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(18%, transparent), color-stop(99%, rgba(0, 0, 0, 0.8)), to(rgba(0, 0, 0, 0.8)));
      background: -o-linear-gradient(top, transparent 0%, transparent 18%, rgba(0, 0, 0, 0.8) 99%, rgba(0, 0, 0, 0.8) 100%);
      background: linear-gradient(to bottom, transparent 0%, transparent 18%, rgba(0, 0, 0, 0.8) 99%, rgba(0, 0, 0, 0.8) 100%);
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#cc000000',GradientType=0 ); }
    .block-2 .front .box {
      position: absolute;
      bottom: 0;
      left: 20px;
      right: 20px;
      bottom: 20px; }
      .block-2 .front .box h2, .block-2 .front .box p {
        color: #fff;
        margin: 0;
        padding: 0;
        line-height: 1.5; }
      .block-2 .front .box h2 {
        font-size: 20px; }
      .block-2 .front .box p {
        font-size: 12px; }
  .block-2 .back {
    background: #fff;
    -webkit-box-shadow: 0 0 70px -10px rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 70px -10px rgba(0, 0, 0, 0.4);
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    transform: rotateY(-180deg); }
  .block-2 .back p {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0 20px;
    font-size: 18px; }
  .block-2 .author {
    bottom: 0;
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px; }
    .block-2 .author .image {
      width: 40px; }
      .block-2 .author .image img {
        border-radius: 50%;
        max-width: 100%; }
    .block-2 .author .position {
      display: block;
      font-size: 12px; }

  @media (max-width: 991.98px) {

  .block-2 .front, 
  .block-2 .back {
    display: block !important;
    backface-visibility: hidden;
  }

  .block-2.active .front {
    transform: rotateY(180deg);
  }

  .block-2.active .back {
    transform: rotateY(0deg);
  }
}

/* file upload */

.file-box {
  display: flex;
  align-items: center;
  border: 1px solid #ced4da;
  overflow: hidden;
  height: 40px;
  cursor: pointer;
  background-color: #fff;
}

.btn-part {
  background-color: #e9ecef;
  padding: 6px 12px;
  border-right: 1px solid #ced4da;
  white-space: nowrap;
  font-size: 16px;
}

.text-part {
  padding: 6px 12px;
  color: #6c757d;
  font-size: 16px;
}

/* end file upload */

/* RTL strart */

[dir="rtl"] .feature-full-2col .desc{
  direction: rtl !important;
  flex-direction: row-reverse;
}

html[dir="rtl"] .owl-carousel,
html[dir="rtl"] .swiper,
html[dir="rtl"] .carousel {
  direction: ltr !important;
}

.modal-content[dir="rtl"]{
    text-align: right;
}

.rtl-list{
    padding-right: 1.5rem;
    padding-left: 0;
    margin: 0;
}

.rtl-list li{
    text-align: right;
    list-style-position: outside;
    margin-bottom: .5rem;
}

.modal-header{
    border-bottom: 1px solid #eee;
}

.modal-body p{
    line-height: 1.9;
}

.contact-info p{
    white-space: nowrap;
    direction: ltr;
    unicode-bidi: embed;
    margin: 0;
}

/* retour de ligne */

.multiline p {
  white-space: pre-line !important;
}

/** hotels end **/
      
/* ===== SECTION SLIDER ===== */
.slider-section {
  position: relative;
}

/* ===== CAROUSEL GENERAL ===== */
.major-caousel {
  margin: 0 auto;
  text-align: center;
  position: relative;
}

/* CONTENEUR FIXE */
.major-caousel .slider-item {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* BOÎTE IMAGE FIXE */
.major-caousel .slider-item a {
  width: 1000px;     
  height: 600px;     
  display: block;
  overflow: hidden;   
}

/* IMAGE FORCÉE */
.major-caousel .slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;  
  display: block;
}


/* ===== NAVIGATION ===== */
.major-caousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
}

.major-caousel .owl-nav .owl-prev,
.major-caousel .owl-nav .owl-next {
  position: absolute;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(207, 231, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #071b3a;
  border: none;
  transition: 0.3s ease;
}

.major-caousel .owl-nav .owl-prev {
  left: 10px;
}

.major-caousel .owl-nav .owl-next {
  right: 10px;
}

.major-caousel .owl-nav .owl-prev:hover,
.major-caousel .owl-nav .owl-next:hover {
  background: #071b3a;
  color: #fff;
}

/* ===== DOTS ===== */
.major-caousel .owl-dots {
  text-align: center;
  margin-top: 20px;
}

.major-caousel .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  display: inline-block;
}

.major-caousel .owl-dots .owl-dot.active span {
  background: #071b3a;
}


/** whatsup **/

.whatsapp-float {
    position: fixed;
    left: 20px;
    bottom: 30px;
    width: 55px;
    height: 55px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/** selecteur de langues **/
.custom-select {
  width: 95px;
  position: relative;
  font-family: Arial;
  margin-top: 28px;
}

.select-selected {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  border: 1px solid #ccc;
  cursor: pointer;
  background: white;
  font-size: 14px
}

.select-selected img {
  width: 18px;
}

.select-items {
  position: absolute;
  width: 100%;
  border: 1px solid #ccc;
  background: white;
  z-index: 99;
}

.select-items div {
  padding: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 14px;
}

.select-items div:hover {
  background: #f1f1f1;
}

/* chatbot container */

.chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  z-index: 9999;
}