/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */

html,
body {
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch; /* Improves scrolling on iOS */
}

.kadence-posts-list {
    z-index: 50;
}

.bg-color-hero {
  -webkit-filter: blur(150px);
  filter: blur(150px);
}

.circle-box .emoji {
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.circle-box .rotate {
  -webkit-animation: Rotate 15s linear infinite;
  animation: Rotate 15s linear infinite;
}

@-webkit-keyframes Rotate {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes Rotate {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.blur-1 {
  -webkit-backdrop-filter: blur(6.52838px);
  backdrop-filter: blur(6.52838px);
}

/* Safari support for backdrop-filter */
@supports (-webkit-backdrop-filter: blur(6.52838px)) or (backdrop-filter: blur(6.52838px)) {
  .blur-1 {
    -webkit-backdrop-filter: blur(6.52838px);
    backdrop-filter: blur(6.52838px);
  }
}

.card-box .icon,
.card-box .heading {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.card-box:hover .icon,
.card-box:hover .heading {
  opacity: 0;
}

.button-1 .elementor-button-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.button-1 .elementor-button-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 56px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #FFFFFF;
  border-radius: 21px;
  font-size: 20px;
}

.button-1.button-service .elementor-button-icon {
  border-width: 1px;
  border-color: var(--e-global-color-secondary) !important;
}

.card:hover .button-1 .elementor-button,
.card-box:hover .button-1 .elementor-button {
  background-color: var(--e-global-color-secondary) !important;
  color: white;
}

.card-box-2 .button-1:hover .elementor-button {
  background-color: #FFFFFF59 !important;
  color: var(--e-global-color-primery);
}

.button-color .elementor-button-icon {
  border-width: 1px;
}

.button-color:hover .elementor-button-icon {
  border-color: var(--e-global-color-secondary);
}

.card:hover .button-1.button-service .elementor-button-icon {
  border-color: white !important;
}

.text-opacity {
  opacity: 0.6;
}

.counter-color .elementor-counter-number-suffix {
  color: var(--e-global-color-secondary);
}

.bg-color-service {
  -webkit-filter: blur(150px);
  filter: blur(150px);
  opacity: 0.5;
}

.portfolio-box {
  -webkit-filter: drop-shadow(0px 2px 20px rgba(12, 16, 34, 0.06));
  filter: drop-shadow(0px 2px 20px rgba(12, 16, 34, 0.06));
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.portfolio-box .elementor-icon {
  display: none;
}

.portfolio-box:hover {
  -webkit-box-pack: center !important;
  -ms-flex-pack: center !important;
  justify-content: center !important;
}

.portfolio-box:hover .elementor-icon {
  display: inline-block;
}

.portfolio-box .content-box {
  -webkit-transform: translateY(10px);
  transform: translateY(10px);
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease, -webkit-transform 0.3s ease;
}

.portfolio-box:hover .content-box {
  visibility: visible;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.price-button .elementor-button-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 56px;
  height: 42px;
  background: var(--e-global-color-secondary);
  border: 1px solid #FFFFFF; /* Fixed missing semicolon */
  font-size: 20px;
  margin-left: auto;
  color: white !important;
}

.price-button .elementor-button-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.faq .e-n-accordion-item[open]>.e-n-accordion-item-title {
  padding-bottom: 12px !important;
}

.shape-bg {
  opacity: 0.6;
  -webkit-filter: blur(150px);
  filter: blur(150px);
}

/* Additional iOS/Safari fixes */
@supports (-webkit-touch-callout: none) {
  /* Fixes for iOS devices */
  .blur-1 {
    /* Fallback for iOS devices that don't support backdrop-filter */
    background-color: rgba(255, 255, 255, 0.8);
  }
}

/* Fix for Safari animation issues */
@media not all and (min-resolution:.001dpcm) { 
  @supports (-webkit-appearance:none) {
    .circle-box .rotate {
      -webkit-transform-style: preserve-3d;
      transform-style: preserve-3d;
    }
  }
}

.projet-section p {
    margin-top: 0;
}
.elementor-kit-999 p{
    margin-bottom: 1rem;
}