.elementor-kit-6{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-color-color-primary:#006994;--e-global-color-color-secondary:#003D5C;--e-global-color-color-accent:#00A8D6;--e-global-color-color-light:#EAF5FB;--e-global-color-color-dark:#001A2E;--e-global-color-color-white:#FFFFFF;--e-global-color-color-text:#1a2e3a;--e-global-color-color-muted:#6a8fa0;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* ====================================================
   BLUE DOLPHIN DJERBA — GLOBAL DESIGN SYSTEM 2026
   CSS Scroll Animations + Premium Hover Effects
   ==================================================== */

/* ---- SCROLL-DRIVEN ANIMATIONS (Chrome 115+) ---- */
@supports (animation-timeline: view()) {
  .elementor-section,
  .e-con:not(:first-child),
  .elementor-widget-wrap > .elementor-widget {
    animation: bd-fadeInUp 0.65s cubic-bezier(0.22,1,0.36,1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }
  @keyframes bd-fadeInUp {
    from { opacity:0; transform:translateY(35px); }
    to   { opacity:1; transform:translateY(0); }
  }
  /* Hero section never fades */
  .elementor-section:first-child,
  .e-con:first-child,
  .elementor-location-header * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---- BUTTON HOVER: lift + glow ---- */
.elementor-button {
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.25s ease,
              filter 0.25s ease !important;
  will-change: transform;
}
.elementor-button:hover {
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 10px 28px rgba(0,168,214,0.42) !important;
  filter: brightness(1.08) !important;
}
.elementor-button:active {
  transform: translateY(-1px) scale(1.01) !important;
}

/* ---- ICON-BOX CARDS: lift on hover ---- */
.elementor-widget-icon-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  border-radius: 12px !important;
}
.elementor-widget-icon-box:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 18px 45px rgba(0,105,148,0.18) !important;
}
.elementor-icon-box-icon .elementor-icon {
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), color 0.25s ease !important;
}
.elementor-widget-icon-box:hover .elementor-icon-box-icon .elementor-icon {
  transform: translateY(-6px) rotate(8deg) !important;
}

/* ---- IMAGE-BOX CARDS ---- */
.elementor-widget-image-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}
.elementor-widget-image-box:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.15) !important;
}

/* ---- CPT LOOP ITEM CARDS ---- */
.elementor-loop-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.elementor-loop-item:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 40px rgba(0,105,148,0.22) !important;
}
.elementor-loop-item img {
  transition: transform 0.5s ease !important;
}
.elementor-loop-item:hover img {
  transform: scale(1.07) !important;
}

/* ---- IMAGE WIDGETS: zoom on hover ---- */
.elementor-widget-image img {
  transition: transform 0.5s ease !important;
  will-change: transform;
}
.elementor-widget-image:hover img {
  transform: scale(1.04) !important;
}

/* ---- NAVIGATION UNDERLINE EFFECT ---- */
.elementor-nav-menu .elementor-item {
  position: relative;
}
.elementor-nav-menu .elementor-item:not(.elementor-item-active)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #00A8D6;
  transition: width 0.3s ease;
}
.elementor-nav-menu .elementor-item:hover::after {
  width: 80%;
}

/* ---- TESTIMONIAL CARDS ---- */
.elementor-testimonial {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  border-radius: 14px !important;
}
.elementor-testimonial:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 14px 35px rgba(0,105,148,0.16) !important;
}

/* ---- LOGO CAROUSEL HOVER ---- */
.swiper-slide img, .elementor-image-carousel img {
  filter: grayscale(20%);
  transition: filter 0.3s ease, transform 0.3s ease !important;
}
.swiper-slide:hover img, .elementor-image-carousel .swiper-slide:hover img {
  filter: grayscale(0%);
  transform: scale(1.06);
}

/* ---- HEADER: sticky + shadow ---- */
.elementor-location-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  background: #fff !important;
  transition: box-shadow 0.3s ease !important;
}
.elementor-location-header.bd-scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.10) !important;
}

/* ---- PREMIUM DIVIDERS ---- */
.elementor-divider-separator {
  background: linear-gradient(90deg, transparent, #00A8D6, transparent) !important;
  height: 2px !important;
  border: none !important;
}

/* ---- SMOOTH SCROLL ---- */
html { scroll-behavior: smooth; }

/* ---- GLOBAL TYPOGRAPHY REFINEMENT ---- */
h1, h2, h3, h4 {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* ---- SOCIAL ICONS HOVER ---- */
.elementor-social-icon {
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), opacity 0.25s ease !important;
}
.elementor-social-icon:hover {
  transform: translateY(-4px) scale(1.15) !important;
  opacity: 0.9 !important;
}

/* ---- MOBILE: disable transform hovers ---- */
@media (hover: none), (max-width: 767px) {
  .elementor-button:hover,
  .elementor-widget-icon-box:hover,
  .elementor-loop-item:hover,
  .elementor-widget-image:hover img,
  .elementor-testimonial:hover {
    transform: none !important;
    box-shadow: inherit !important;
  }
}

/* ---- LINK MICRO-TRANSITIONS ---- */
a { transition: color 0.2s ease, opacity 0.2s ease; }


/* ======= STATS BAR — HORIZONTAL LAYOUT FIX ======= */
.elementor-element-bd_stats_2026 {
  --flex-direction: row;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-evenly !important;
  background: linear-gradient(135deg,#005a7a 0%,#006994 50%,#0080b4 100%) !important;
  min-height: 140px !important;
}
.elementor-element-bd_divider_1,
.elementor-element-bd_divider_2,
.elementor-element-bd_divider_3 { display: none !important; }
.elementor-element-bd_stat_1,
.elementor-element-bd_stat_2,
.elementor-element-bd_stat_3,
.elementor-element-bd_stat_4 {
  flex: 1 1 0 !important;
  max-width: 25% !important;
  border-right: 1px solid rgba(255,255,255,0.25) !important;
}
.elementor-element-bd_stat_4 { border-right: none !important; }
.elementor-element-bd_stats_2026 .elementor-counter-number-wrapper {
  font-size: 52px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  line-height: 1.1 !important;
  justify-content: center !important;
}
.elementor-element-bd_stats_2026 .elementor-counter-number-wrapper > * { color: #FFF !important; }
.elementor-element-bd_stats_2026 .elementor-counter-title {
  color: rgba(255,255,255,0.82) !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  margin-top: 6px !important;
  text-align: center !important;
}

/* ======= ACCUEIL PAGE — SECTION ENHANCEMENTS ======= */
.elementor-element-aws6qxnp {
  background: linear-gradient(180deg,#f8fcff 0%,#eef7fb 100%) !important;
}
.elementor-element-aws6qxnp .elementor-widget-icon-box {
  background:#fff !important; border-radius:20px !important; padding:36px 24px !important;
  box-shadow:0 4px 24px rgba(0,105,148,0.08) !important;
  border:1.5px solid rgba(0,168,214,0.14) !important;
}
.elementor-element-aws6qxnp .elementor-widget-icon-box:hover {
  border-color:rgba(0,168,214,0.4) !important;
  box-shadow:0 16px 50px rgba(0,105,148,0.20) !important;
}
.elementor-element-3l6tl3gh {
  background: linear-gradient(160deg,#f3faff 0%,#e8f4fb 50%,#f0f8fd 100%) !important;
}
.elementor-element-zor7cqkw .elementor-heading-title {
  text-shadow: 0 3px 20px rgba(0,0,0,0.50) !important;
}

/* ====================================================
   UC POST GRID CARDS — Formations + Sites de plongée
   ==================================================== */
.uc_post_grid_style_one_item {
  background:#fff !important;
  border-radius:16px !important;
  overflow:hidden !important;
  box-shadow:0 4px 20px rgba(0,0,0,0.08) !important;
  transition:transform .35s cubic-bezier(.22,.61,.36,1),box-shadow .35s ease !important;
  border:1px solid rgba(0,105,148,0.10) !important;
}
.uc_post_grid_style_one_item:hover {
  transform:translateY(-8px) !important;
  box-shadow:0 22px 55px rgba(0,105,148,0.20) !important;
}
.uc_post_grid_style_one_item .uc_post_image {
  overflow:hidden !important;
  position:relative !important;
}
.uc_post_grid_style_one_item .uc_post_image img {
  transition:transform .5s ease !important;
  width:100% !important;
  height:210px !important;
  object-fit:cover !important;
}
.uc_post_grid_style_one_item:hover .uc_post_image img {
  transform:scale(1.08) !important;
}
.uc_post_grid_style_one_item .uc_post_image_overlay {
  position:absolute !important;
  inset:0 !important;
  background:linear-gradient(180deg,transparent 40%,rgba(0,105,148,.60) 100%) !important;
  opacity:0 !important;
  transition:opacity .35s ease !important;
}
.uc_post_grid_style_one_item:hover .uc_post_image_overlay {
  opacity:1 !important;
}
.uc_post_grid_style_one_item .uc_content {
  padding:20px 22px 22px !important;
  background:#fff !important;
}
.uc_post_grid_style_one_item .ue_p_title {
  font-size:17px !important;
  font-weight:700 !important;
  color:#004f6d !important;
  line-height:1.3 !important;
  transition:color .2s ease !important;
  margin-bottom:8px !important;
}
.uc_post_grid_style_one_item:hover .ue_p_title {
  color:#00a8d6 !important;
}
.uc_post_grid_style_one_item .uc_post_text {
  color:#555 !important;
  font-size:14px !important;
  line-height:1.6 !important;
  margin-bottom:16px !important;
}
.uc_post_grid_style_one_item .uc_more_btn {
  display:inline-block !important;
  background:#006994 !important;
  border-radius:50px !important;
  padding:10px 22px !important;
  transition:background .25s ease, transform .2s ease !important;
  text-decoration:none !important;
}
.uc_post_grid_style_one_item .uc_more_btn:hover {
  background:#00a8d6 !important;
  transform:translateX(4px) !important;
}
.uc_post_grid_style_one_item .uc_btn_txt,
.uc_post_grid_style_one_item .uc_more_btn * {
  color:#fff !important;
  font-weight:600 !important;
  font-size:13px !important;
}

/* ====================================================
   ARCHIVE PAGE HEADERS — gradient enhancement
   ==================================================== */
body.post-type-archive .e-con-boxed:first-of-type {
  background:linear-gradient(135deg,#002d3d 0%,#004f6d 50%,#006994 100%) !important;
  min-height:200px !important;
  display:flex !important;
  align-items:center !important;
}
body.post-type-archive .e-con-boxed:first-of-type .elementor-heading-title {
  color:#fff !important;
  font-size:clamp(32px,5vw,52px) !important;
  font-weight:800 !important;
  text-shadow:0 2px 20px rgba(0,0,0,.30) !important;
}

/* ===== TARIFS — Price List 2026 ===== */
.elementor-price-list-item {
  border-radius:10px !important;
  padding:13px 18px !important;
  transition:background .22s ease,transform .22s ease !important;
  margin-bottom:3px !important;
  position:relative !important;
}
.elementor-price-list-item::before {
  content:'' !important;
  position:absolute !important;
  left:0 !important; top:8px !important; bottom:8px !important;
  width:3px !important;
  background:linear-gradient(180deg,#006994,#00a8d6) !important;
  border-radius:2px !important;
  transform:scaleY(0) !important;
  transition:transform .22s cubic-bezier(.22,.61,.36,1) !important;
  transform-origin:center !important;
}
.elementor-price-list-item:hover::before { transform:scaleY(1) !important; }
.elementor-price-list-item:hover {
  background:rgba(0,105,148,.06) !important;
  transform:translateX(8px) !important;
}
.elementor-price-list-title {
  font-size:15px !important;
  font-weight:600 !important;
  color:#003d57 !important;
  transition:color .2s ease !important;
}
.elementor-price-list-item:hover .elementor-price-list-title { color:#006994 !important; }
.elementor-price-list-separator { border-bottom-color:rgba(0,105,148,.12) !important; }
.elementor-price-list-price {
  font-size:15px !important;
  font-weight:800 !important;
  color:#006994 !important;
  background:rgba(0,105,148,.08) !important;
  padding:5px 14px !important;
  border-radius:50px !important;
  white-space:nowrap !important;
  transition:background .2s ease,color .2s ease !important;
  min-width:78px !important;
  text-align:center !important;
}
.elementor-price-list-item:hover .elementor-price-list-price {
  background:#006994 !important;
  color:#fff !important;
}

/* ===== CONTACT (page-id-74) — 2026 ===== */
.page-id-74 .wpforms-field input,
.page-id-74 .wpforms-field textarea {
  border:1.5px solid #c8e4ef !important;
  border-radius:10px !important;
  padding:12px 16px !important;
  font-size:15px !important;
  color:#003d57 !important;
  background:#f5fbff !important;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease !important;
}
.page-id-74 .wpforms-field input:focus,
.page-id-74 .wpforms-field textarea:focus {
  border-color:#006994 !important;
  box-shadow:0 0 0 4px rgba(0,105,148,.10) !important;
  outline:none !important;
  background:#fff !important;
}
.page-id-74 .wpforms-submit {
  background:linear-gradient(135deg,#006994 0%,#00a8d6 100%) !important;
  border:none !important;
  border-radius:50px !important;
  padding:14px 42px !important;
  font-size:15px !important;
  font-weight:700 !important;
  letter-spacing:.5px !important;
  cursor:pointer !important;
  transition:transform .2s ease,box-shadow .2s ease !important;
}
.page-id-74 .wpforms-submit:hover {
  transform:translateY(-2px) !important;
  box-shadow:0 10px 28px rgba(0,105,148,.35) !important;
}
.page-id-74 .elementor-icon-list-item {
  transition:transform .2s ease !important;
  padding:5px 0 !important;
}
.page-id-74 .elementor-icon-list-item:hover { transform:translateX(5px) !important; }
.page-id-74 .elementor-icon-list-text { transition:color .2s ease !important; }
.page-id-74 .elementor-icon-list-item:hover .elementor-icon-list-text { color:#006994 !important; }
.page-id-74 .elementor-accordion-item {
  border-radius:10px !important;
  margin-bottom:8px !important;
  overflow:hidden !important;
  border:1px solid rgba(0,105,148,.15) !important;
  transition:box-shadow .25s ease !important;
}
.page-id-74 .elementor-accordion-item:hover { box-shadow:0 4px 18px rgba(0,105,148,.12) !important; }
.page-id-74 .elementor-tab-title {
  transition:background .2s ease,color .2s ease !important;
  padding:16px 20px !important;
}
.page-id-74 .elementor-tab-title.elementor-active {
  background:linear-gradient(135deg,#006994,#004f6d) !important;
  color:#fff !important;
}
.page-id-74 .elementor-tab-title.elementor-active .elementor-accordion-icon i,
.page-id-74 .elementor-tab-title.elementor-active .elementor-accordion-icon svg { fill:#fff !important; color:#fff !important; }
.page-id-74 .elementor-tab-content {
  padding:16px 20px !important;
  color:#444 !important;
  font-size:15px !important;
  line-height:1.7 !important;
  background:#f9fcff !important;
}

/* === PHASE 6: STICKY HEADER === */
.elementor-location-header { transition:background .3s ease,box-shadow .3s ease !important; }
.elementor-sticky--effects .elementor-location-header {
  background:rgba(0,25,45,.92) !important;
  backdrop-filter:blur(14px) saturate(160%) !important;
  -webkit-backdrop-filter:blur(14px) saturate(160%) !important;
  box-shadow:0 2px 24px rgba(0,0,0,.25) !important;
}

/* === PHASE 6: NAV HOVER UNDERLINE === */
.elementor-nav-menu--main .elementor-nav-menu > li > a {
  position:relative;
}
.elementor-nav-menu--main .elementor-nav-menu > li > a::after {
  content:'';
  position:absolute;
  bottom:-4px; left:50%;
  width:0; height:2px;
  background:#00a8d6;
  border-radius:2px;
  transition:width .25s ease, left .25s ease;
}
.elementor-nav-menu--main .elementor-nav-menu > li:hover > a::after,
.elementor-nav-menu--main .elementor-nav-menu > li.current-menu-item > a::after,
.elementor-nav-menu--main .elementor-nav-menu > li.current-menu-parent > a::after {
  width:100%; left:0;
}
.elementor-nav-menu--main .elementor-nav-menu > li.current-menu-item > a,
.elementor-nav-menu--main .elementor-nav-menu > li.current-menu-parent > a {
  color:#00a8d6 !important;
}

/* === PHASE 6: FOOTER SOCIAL ICON HOVER === */
.elementor-social-icon {
  transition:transform .2s ease, box-shadow .2s ease !important;
}
.elementor-social-icon:hover {
  transform:translateY(-4px) scale(1.12) !important;
  box-shadow:0 8px 20px rgba(0,168,214,.35) !important;
}

/* === PHOTO CAPTIONS: HIDE ON DIVE SITE PAGES === */
.single-sites_plongee .wp-caption-text,
.single-sites_plongee figcaption,
.single-sites_plongee .wp-caption dd,
.single-sites_plongee .gallery-caption,
.single-sites_plongee .wp-element-caption {
  display:none !important;
}


/* === DIVE SITES: 2-COLUMN PHOTO GALLERY === */
.single-sites_plongee .wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  margin: 24px 0 !important;
}
.single-sites_plongee .wp-block-gallery .wp-block-image,
.single-sites_plongee .wp-block-gallery li {
  margin: 0 !important;
  width: 100% !important;
}
.single-sites_plongee .wp-block-gallery img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  display: block !important;
}
.single-sites_plongee .gallery {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
}
.single-sites_plongee .gallery-item {
  margin: 0 !important;
  width: 100% !important;
}
.single-sites_plongee .gallery-item img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
}
@media (max-width: 767px) {
  .single-sites_plongee .wp-block-gallery,
  .single-sites_plongee .gallery {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}/* End custom CSS */