.elementor-6135 .elementor-element.elementor-element-4f908a0e{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--align-items:center;--padding-top:100px;--padding-bottom:90px;--padding-left:0px;--padding-right:0px;}.elementor-6135 .elementor-element.elementor-element-4f908a0e:not(.elementor-motion-effects-element-type-background), .elementor-6135 .elementor-element.elementor-element-4f908a0e > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:transparent;background-image:linear-gradient(171deg, #FFFFFF 0%, #BEDCE9 100%);}.elementor-6135 .elementor-element.elementor-element-34ac8406{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:30px;--padding-right:30px;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );}.elementor-widget-text-editor{color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-6135 .elementor-element.elementor-element-4d777289{text-align:center;font-size:20px;font-weight:500;color:var( --e-global-color-primary );}.elementor-6135 .elementor-element.elementor-element-4d777289 p{margin-block-end:0px;}.elementor-widget-heading .elementor-heading-title{color:var( --e-global-color-primary );}.elementor-6135 .elementor-element.elementor-element-307d9e78{text-align:center;}.elementor-6135 .elementor-element.elementor-element-307d9e78 .elementor-heading-title{color:var( --e-global-color-text );}.elementor-6135 .elementor-element.elementor-element-1767d40a{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-6135 .elementor-element.elementor-element-27327146{padding:30px 0px 0px 0px;}.elementor-6135 .elementor-element.elementor-element-77d8460f{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}@media(max-width:1024px){.elementor-6135 .elementor-element.elementor-element-4f908a0e{--padding-top:70px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}}@media(max-width:767px){.elementor-6135 .elementor-element.elementor-element-4f908a0e{--padding-top:50px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-6135 .elementor-element.elementor-element-34ac8406{--padding-top:0px;--padding-bottom:0px;--padding-left:30px;--padding-right:30px;}}/* Start custom CSS for shortcode, class: .elementor-element-27327146 *//* Base styles (already have) */
.custom-testimonial-ticker .swiper-wrapper {
    transition-timing-function: linear !important;
    will-change: transform;
}

.custom-testimonial-ticker {
    width: 100%;
    overflow: hidden;
    padding: 0;
    position: relative;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000;
}

/* Each slide */
.custom-testimonial-ticker .swiper-slide {
    width: 30%;
    padding: 0 15px;
    box-sizing: border-box;
    transform: translateZ(0);
    backface-visibility: hidden;
    border-radius: 25px;
}

/* Testimonial card box */
.testimonial-card {
    background-color: transparent;
    background-image: linear-gradient(154deg, #FFFFFFB0 0%, #FFFFFF2E 100%);
    border-radius: 25px;
    padding: 50px 40px 50px;
    display: flex;
    flex-direction: column;
    color: #121a1f;
    position: relative;
    transition: transform 1.02s cubic-bezier(0.25, 1, 0.5, 1);
    margin-top: 20px;
    margin-bottom: 20px;
}

.testimonial-card:hover {
    transform: scale(1.04);
    border-radius: 25px;
}

/* Header with author and Google logo */
.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-author {
    font-weight: 500;
    font-size: 20px;
    color: #121a1f;
}

/* Google logo styling */
.google-logo {
    width: 73px;
    object-fit: contain;
}

/* Star rating image styling */
.google-rating {
    width: 110px;
    height: auto;
    object-fit: contain;
    align-self: flex-start;
    margin-top: -20px !important;
}

.custom-testimonial-ticker::before,
.custom-testimonial-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

/* Laptop (≤ 1366px) */
@media (max-width: 1366px) {
    .custom-testimonial-ticker .swiper-slide {
        width: 35%; /* Slightly wider on laptops */
    }
    
    .testimonial-card {
        padding: 40px 35px 40px;
    }
    
    .testimonial-author {
        font-size: 18px;
    }
    
    .google-logo {
        width: 65px;
    }
    
    .google-rating {
        width: 100px;
        margin-top: -15px !important;
    }
}

/* Tablet Landscape (≤ 1200px) */
@media (max-width: 1200px) {
    .custom-testimonial-ticker .swiper-slide {
        width: 40%; /* Two slides visible */
    }
    
    .testimonial-card {
        padding: 35px 30px 35px;
    }
    
    .testimonial-author {
        font-size: 18px;
    }
    
    .custom-testimonial-ticker::before,
    .custom-testimonial-ticker::after {
        width: 60px; /* Reduce fade width */
    }
}

/* Tablet Portrait (≤ 1024px) */
@media (max-width: 1024px) {
    .custom-testimonial-ticker .swiper-slide {
        width: 45%; /* Closer to 2 slides */
    }
    
    .testimonial-card {
        padding: 30px 25px 30px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    
    .testimonial-author {
        font-size: 17px;
    }
    
    .google-logo {
        width: 60px;
    }
    
    .google-rating {
        width: 95px;
        margin-top: -12px !important;
    }
    
    .testimonial-content {
        font-size: 15px;
        line-height: 1.5;
    }
    
    .custom-testimonial-ticker::before,
    .custom-testimonial-ticker::after {
        width: 50px;
    }
}

/* Mobile Landscape (≤ 880px) */
@media (max-width: 880px) {
    .custom-testimonial-ticker .swiper-slide {
        width: 60%; /* One and a half slides */
    }
    
    .testimonial-card {
        padding: 25px 20px 25px;
    }
    
    .testimonial-author {
        font-size: 16px;
    }
    
    .google-logo {
        width: 55px;
    }
    
    .google-rating {
        width: 85px;
        margin-top: -10px !important;
    }
    
    .testimonial-content {
        font-size: 14px;
    }
    
    .custom-testimonial-ticker::before,
    .custom-testimonial-ticker::after {
        width: 40px;
    }
}

/* Mobile Portrait (≤ 767px) */
@media (max-width: 767px) {
    .custom-testimonial-ticker .swiper-slide {
        width: 85%; /* One slide with partial next visible */
        padding: 0 10px;
    }
    
    .testimonial-card {
        padding: 25px 20px 30px;
        margin-top: 10px;
        margin-bottom: 10px;
        border-radius: 20px;
    }
    
    .testimonial-card:hover {
        transform: scale(1.02); /* Smaller hover effect on mobile */
    }
    
    .testimonial-header {
        margin-bottom: 5px;
    }
    
    .testimonial-author {
        font-size: 16px;
    }
    
    .google-logo {
        width: 50px;
    }
    
    .google-rating {
        width: 80px;
        margin-top: -5px !important;
    }
    
    .testimonial-content {
        font-size: 14px;
        line-height: 1.4;
        margin: 10px 0;
    }
    
    .custom-testimonial-ticker::before,
    .custom-testimonial-ticker::after {
        width: 30px; /* Subtle fade on edges */
    }
}

/* Small Mobile (≤ 480px) */
@media (max-width: 480px) {
    .custom-testimonial-ticker .swiper-slide {
        width: 95%; /* Almost full width */
        padding: 0 8px;
    }
    
    .testimonial-card {
        padding: 20px 18px 25px;
    }
    
    .testimonial-author {
        font-size: 15px;
    }
    
    .google-logo {
        width: 45px;
    }
    
    .google-rating {
        width: 75px;
    }
    
    .testimonial-content {
        font-size: 13px;
    }
    
    .custom-testimonial-ticker::before,
    .custom-testimonial-ticker::after {
        width: 20px;
    }
}

/* Fix for very small devices */
@media (max-width: 360px) {
    .custom-testimonial-ticker .swiper-slide {
        width: 100%; /* Full width */
    }
    
    .testimonial-card {
        padding: 18px 15px 22px;
    }
    
    .testimonial-author {
        font-size: 14px;
    }
    
    .google-logo {
        width: 40px;
    }
    
    .google-rating {
        width: 70px;
    }
}/* End custom CSS */
/* Start custom CSS */.animate-box {
  animation-name: shake;
  animation-duration: 2s;
  animation-iteration-count: infinite; 
  animation-timing-function: ease-in-out; /* Smoother easing */
}

#animate-box {
  animation-name: shake;
  animation-duration: 2s;
  animation-iteration-count: infinite; 
  animation-timing-function: ease-in-out; /* Smoother easing */
}

@keyframes shake {
  0% { transform: translateX(0) translateZ(0); } /* Added translateZ(0) */
  25% { transform: translateX(-5px) translateZ(0); }
  50% { transform: translateX(5px) translateZ(0); }
  75% { transform: translateX(-5px) translateZ(0); }
  100% { transform: translateX(0) translateZ(0); }
}

/* Target the image inside */
 .gallery-item img {
    object-fit: cover;
    transition: transform 1.02s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 50px;
    
}

/* Image scales on hover */
 .gallery-item:hover img {
    transform: scale(1.09);
    border-radius: 50px;
}


 .gallery-spacing-custom .elementor-image-gallery .gallery-icon {
    border-radius: 50px;
}

 .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

 .gallery-item {
    /* This ensures the items keep their column width 
       while allowing the row to center */
    flex: 0 0 auto;
}


.news-zoom-in {
    overflow: hidden;
    position: relative;
    border-radius: 30px;
}

.news-image-zoom-in {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.news-zoom-in:hover .news-image-zoom-in {
    transform: scale(1.15);
    
}

 /* Tablet Portrait (≤ 1024px) */
@media (max-width: 1920px) {
    .foundation-wide {
        max-width: 55% !important;
    }
}

@media (max-width: 1024px) {
    .foundation-wide {
        max-width: 85% !important;
    }
}

@media (max-width: 767px) {
    .foundation-wide {
        max-width: 100% !important;
    }
}/* End custom CSS */