.elementor-kit-6{--e-global-color-primary:#152D37;--e-global-color-secondary:#F6F5F6;--e-global-color-text:#274652;--e-global-color-accent:#F5F4F5D9;--e-global-color-17b90b9:#F6F5F6;--e-global-color-900a313:#D9F1F4;--e-global-color-da8b07e:#B8E4E9;--e-global-color-cb999ab:#2A6474;--e-global-color-fce7d7b:#274652;--e-global-color-35f2335:#E7E6E7;--e-global-color-d31638f:#2D7A8D;--e-global-color-515c7af:#F6F5F6;--e-global-color-3bd9ca5:#E7E6E7;--e-global-color-d2ac79b:#B8E4E9;--e-global-color-d76d5ed:#26262633;--e-global-color-a9dee9c:#F5F4F533;--e-global-color-197fbef:#E0FFC7;--e-global-color-9f9b447:#5D5C5E;--e-global-color-dc7383c:#B0AFB1;--e-global-typography-primary-font-family:"Oxygen";--e-global-typography-primary-font-size:60px;--e-global-typography-primary-font-weight:700;--e-global-typography-primary-line-height:72px;--e-global-typography-secondary-font-family:"Oxygen";--e-global-typography-secondary-font-size:48px;--e-global-typography-secondary-font-weight:700;--e-global-typography-secondary-line-height:56px;--e-global-typography-text-font-family:"Oxygen";--e-global-typography-text-font-size:16px;--e-global-typography-text-font-weight:400;--e-global-typography-text-line-height:24px;--e-global-typography-accent-font-family:"Oxygen";--e-global-typography-accent-font-size:40px;--e-global-typography-accent-font-weight:700;--e-global-typography-accent-line-height:48px;--e-global-typography-0ab73e6-font-family:"Oxygen";--e-global-typography-0ab73e6-font-size:32px;--e-global-typography-0ab73e6-font-weight:700;--e-global-typography-0ab73e6-line-height:40px;--e-global-typography-97f7f1f-font-family:"Oxygen";--e-global-typography-97f7f1f-font-size:24px;--e-global-typography-97f7f1f-font-weight:700;--e-global-typography-97f7f1f-line-height:28px;--e-global-typography-3ab0f26-font-family:"Oxygen";--e-global-typography-3ab0f26-font-size:20px;--e-global-typography-3ab0f26-font-weight:700;--e-global-typography-3ab0f26-line-height:24px;--e-global-typography-7a45706-font-family:"Oxygen";--e-global-typography-7a45706-font-size:12px;--e-global-typography-7a45706-line-height:20px;--e-global-typography-ed1e0fd-font-family:"Oxygen";--e-global-typography-ed1e0fd-font-size:16px;--e-global-typography-ed1e0fd-font-weight:700;--e-global-typography-ed1e0fd-line-height:24px;--e-global-typography-d19b80f-font-family:"Oxygen";--e-global-typography-d19b80f-font-size:12px;--e-global-typography-d19b80f-font-weight:700;--e-global-typography-d19b80f-line-height:20px;background-color:var( --e-global-color-17b90b9 );font-family:"Oxygen", Sans-serif;font-weight:500;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-kit-6 button,.elementor-kit-6 input[type="button"],.elementor-kit-6 input[type="submit"],.elementor-kit-6 .elementor-button{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );border-style:none;border-radius:8px 8px 8px 8px;padding:12px 24px 12px 24px;}.elementor-kit-6 button:hover,.elementor-kit-6 button:focus,.elementor-kit-6 input[type="button"]:hover,.elementor-kit-6 input[type="button"]:focus,.elementor-kit-6 input[type="submit"]:hover,.elementor-kit-6 input[type="submit"]:focus,.elementor-kit-6 .elementor-button:hover,.elementor-kit-6 .elementor-button:focus{border-style:none;border-radius:8px 8px 8px 8px;}.elementor-kit-6 img{border-style:none;border-radius:8px 8px 8px 8px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1280px;}.e-con{--container-max-width:1280px;--container-default-padding-top:0px;--container-default-padding-right:0px;--container-default-padding-bottom:0px;--container-default-padding-left:0px;}.elementor-widget:not(:last-child){margin-block-end:8px;}.elementor-element{--widgets-spacing:8px 8px;--widgets-spacing-row:8px;--widgets-spacing-column:8px;}{}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:1240px){.elementor-kit-6 button,.elementor-kit-6 input[type="button"],.elementor-kit-6 input[type="submit"],.elementor-kit-6 .elementor-button{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-6{--e-global-typography-primary-font-size:48px;--e-global-typography-primary-line-height:1.28em;--e-global-typography-secondary-font-size:40px;--e-global-typography-secondary-line-height:1.2em;--e-global-typography-accent-font-size:32px;--e-global-typography-accent-line-height:1.28em;--e-global-typography-0ab73e6-font-size:28px;--e-global-typography-0ab73e6-line-height:1.28em;--e-global-typography-97f7f1f-font-size:24px;--e-global-typography-97f7f1f-line-height:1.28em;--e-global-typography-3ab0f26-font-size:20px;--e-global-typography-3ab0f26-line-height:1.28em;--e-global-typography-7a45706-font-size:10px;--e-global-typography-7a45706-line-height:1.28em;}.elementor-kit-6 button,.elementor-kit-6 input[type="button"],.elementor-kit-6 input[type="submit"],.elementor-kit-6 .elementor-button{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* Site QoL */

/* Remove default spacing from text editor block*/
.elementor-widget-text-editor p {
    margin-bottom: 0;
}

/* Text block behaviour */
.text-block p {
    margin-bottom: 0.5em;
}

.text-block ul {
    line-height: 1.8em;
    margin-bottom: 0.8em;
}

.text-block li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* Remove spacing from any HTML widgets */
.elementor-widget-html {
    margin: 0 !important;
    padding: 0 !important;
}

/* SVG icon styling - force 24px for button icons */
.elementor-button-icon,
.elementor-button-icon svg {
    width: 24px !important;
    height: 24px !important;
    fill: none !important;
    stroke: currentColor;
    stroke-width: 2;
}

/* SVG icon styling - from Lucide */
.line-icon svg {
    fill: none !important;
    stoke: currentColor;
    stroke-width: 2;
}

/* Anchor Scrolling Offset */
html {
  scroll-padding-top: 160px;
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 80px;
  }
}

/* Carousel loop bugs */
/* Fix first slide interaction - remove pointer events from clones */
.swiper-slide-duplicate {
    pointer-events: none !important;
}

/* Ensure active/real slides can be interacted with */
.swiper-slide:not(.swiper-slide-duplicate) {
    pointer-events: auto !important;
}

/* Override Elementor's min-height on all carousels on mobile */
@media (max-width: 767px) {
    .elementor-widget-image-carousel .swiper-slide {
        min-height: unset !important;
    }
}

/* Sticky stutters on mobile */
@media (max-width: 767px) {
    .elementor-location-header.elementor-sticky {
        will-change: transform;
    }
    
    .elementor-location-header.elementor-sticky--active {
        transform: translateZ(0);
    }
}

.elementor-location-header {
    transition: transform 0.2s ease-out;
}

@media (max-width: 767px) {
    .elementor-location-header.elementor-sticky--active {
        transition: transform 0.2s ease-out, top 0.2s ease-out;
    }
}

/* Chrome perforance */
html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

html.lenis,
body {
  backface-visibility: hidden;
}

.fade-up, .scale-in, .slide-left, .slide-right, .stagger-children > * {
  will-change: transform, opacity;
}


/* Homepage performance */
.hero-video video,
video {
  transform: translateZ(0);
  will-change: auto; /* Don't use will-change on videos */
}

/* For absolute positioned floating elements */
.elementor-absolute,
[data-settings*="absolute"] {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/*-----*/

/*Mesh Gradient Backgrounds */
.gradient-orb,
.gradient-orb-2 {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    top: 0;
    left: 0;
}

.animated-gradient-section {
    position: relative;
    overflow: hidden;
    background-color: #152D37;
}

.animated-gradient-section::before,
.animated-gradient-section::after,
.animated-gradient-section .gradient-orb,
.animated-gradient-section .gradient-orb-2 {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(180px);
    opacity: 0.35;
    will-change: transform;
    mix-blend-mode: screen;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.animated-gradient-section::before {
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, 
        #7ACAD5 0%, 
        #73C4D2 12%, 
        #6BBECF 20%, 
        #63B8CC 28%,
        #5BB2C9 36%,
        rgba(122, 202, 213, 0.7) 45%,
        rgba(122, 202, 213, 0.5) 55%,
        rgba(122, 202, 213, 0.3) 65%,
        rgba(122, 202, 213, 0.15) 75%,
        transparent 85%);
    top: -20%;
    left: -15%;
}

.animated-gradient-section::after {
    width: 850px;
    height: 850px;
    background: radial-gradient(circle, 
        #7ACAD5 0%, 
        #73C4D2 12%, 
        #6BBECF 20%, 
        #63B8CC 28%,
        #5BB2C9 36%,
        rgba(122, 202, 213, 0.7) 45%,
        rgba(122, 202, 213, 0.5) 55%,
        rgba(122, 202, 213, 0.3) 65%,
        rgba(122, 202, 213, 0.15) 75%,
        transparent 85%);
    bottom: -20%;
    right: -15%;
}

.animated-gradient-section .gradient-orb {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, 
        #7ACAD5 0%, 
        #73C4D2 12%, 
        #6BBECF 20%, 
        #63B8CC 28%,
        #5BB2C9 36%,
        rgba(122, 202, 213, 0.7) 45%,
        rgba(122, 202, 213, 0.5) 55%,
        rgba(122, 202, 213, 0.3) 65%,
        rgba(122, 202, 213, 0.15) 75%,
        transparent 85%);
    bottom: -25%;
    left: 40%;
}

.animated-gradient-section .gradient-orb-2 {
    width: 750px;
    height: 750px;
    background: radial-gradient(circle, 
        #7ACAD5 0%, 
        #73C4D2 12%, 
        #6BBECF 20%, 
        #63B8CC 28%,
        rgba(122, 202, 213, 0.7) 40%,
        rgba(122, 202, 213, 0.4) 55%,
        rgba(122, 202, 213, 0.2) 70%,
        transparent 85%);
    top: -15%;
    right: -10%;
}

.animated-gradient-section .elementor-container {
    position: relative;
    z-index: 1;
}

.animated-gradient-section::before,
.animated-gradient-section::after {
    display: none !important;
}

/* Animations */
/* Hide animation elements - NO !important so GSAP can override */
.fade-up {
    opacity: 0;
}

.scale-in {
    opacity: 0;
}

.slide-left {
    opacity: 0;
}

.slide-right {
    opacity: 0;
}

/* Parallax Backgrounds */
.parallax-bg {
    overflow: hidden;
    position: relative;
}

.parallax-bg {
    overflow: hidden;
    position: relative;
    background-size: auto 130% !important; /* Force height to be 130% of container */
    background-position: center 0% !important; /* Start at top */
}

/* Bento Cards */
.bento-image,
.bento-image-tall {
    overflow: hidden;
    position: relative;
    background-position: center center;
}

/* Parallax elements */
/* Pre-position parallax elements before JS loads */
.parallax-float-slow {
    transform: translateY(0);
}

.parallax-float-fast {
    transform: translateY(0);
}

/* Hero section parallax cards - start in correct position */
.hero-section .parallax-float-slow {
    transform: translateY(10%);
}

.hero-section .parallax-float-fast {
    transform: translateY(12%);
}

/*-----*/

/*Button styles*/

/*Remove default background*/
.elementor-button {
    background-color: transparent !important;
}

/* Icon roll animation container */
.btn-primary .elementor-button-icon,
.btn-primary i,
.btn-roll-icon {
    display: inline-block !important;
    position: relative !important;
    overflow: hidden !important;
    vertical-align: middle !important;
}

/* Icon roll wrapper - fixed 24px */
.icon-roll-wrapper {
    display: inline-block !important;
    vertical-align: middle !important;
    width: 24px !important;
    height: 24px !important;
}

.icon-roll-wrapper svg,
.icon-roll-wrapper .elementor-button-icon {
    width: 24px !important;
    height: 24px !important;
}


/* Enhanced button with animated gradient */
.btn-primary {
    position: relative !important;
    overflow: hidden !important;
    background: #152D37 !important;
    background-size: 200% 200% !important;
    transition: all 0.3s ease !important;
}

/* Animated gradient overlay - starts top-left, moves to bottom-right */
.btn-primary::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: radial-gradient(circle, rgba(184, 228, 233, 0.3) 0%, rgba(184, 228, 233, 0.1) 30%, transparent 60%) !important;
    opacity: 0 !important;
    transform: translate(-25%, -25%) !important;
    transition: opacity 0.6s ease, transform 0.6s ease !important;
    pointer-events: none !important;
}

.btn-primary:hover::before {
    opacity: 1 !important;
    transform: translate(25%, 25%) !important;
}

.btn-primary:hover {
    box-shadow: 0 10px 30px rgba(184, 228, 233, 0.15) !important;
}


/* Primary button - default state */
.btn-primary {
    background: 
        radial-gradient(circle at bottom right, rgba(184, 228, 233, 0.2) 0%, rgba(21, 45, 55, 0) 50%),
        #152D37 !important;
    color: #F6F5F6 !important;
    border: 1px solid rgba(38, 38, 38, 0.2) !important;
    border-radius: 8px !important;
    width: fit-content !important;
    transition: all 0.3s ease !important;
}

/* Primary button - text color */
.btn-primary span,
.btn-primary .elementor-button-text {
    color: #F6F5F6 !important;
    transition: color 0.3s ease !important;
}

/* Primary button - icon color */
.btn-primary i,
.btn-primary .elementor-button-icon,
.btn-primary svg {
    color: #F6F5F6 !important;
    transition: all 0.3s ease !important;
}

/* Primary button - hover state */
.btn-primary:hover {
    background: 
        radial-gradient(circle at top left, rgba(184, 228, 233, 0.2) 0%, rgba(21, 45, 55, 0) 50%),
        #152D37 !important;
    color: #F6F5F6 !important;
    border-color: rgba(38, 38, 38, 0.2) !important;
}

/* Primary button - hover text color */
.btn-primary:hover span,
.btn-primary:hover .elementor-button-text {
    color: #F6F5F6 !important;
}

/* Primary button - hover icon color */
.btn-primary:hover i,
.btn-primary:hover .elementor-button-icon,
.btn-primary:hover svg {
    color: #F6F5F6 !important;
}


/*Secondary / Ghost*/
/* Ghost button - default state */
.btn-ghost {
    background-color: transparent !important;
    color: #152D37 !important;
    border: 1px solid #152D37 !important;
    border-radius: 8px !important;
    width: fit-content !important;
    transition: all 0.3s ease !important;
}

/* Ghost button - text color */
.btn-ghost span,
.btn-ghost .elementor-button-text {
    color: #152D37 !important;
    transition: color 0.3s ease !important;
}

/* Ghost button - icon color */
.btn-ghost i,
.btn-ghost .elementor-button-icon,
.btn-ghost svg {
    color: #152D37 !important;
    transition: all 0.3s ease !important;
}

/* Ghost button - hover state */
.btn-ghost:hover {
    background-color: #D9F1F4 !important;
    color: #152D37 !important;
    border-color: #152D37 !important;
}

/* Ghost button - hover text color */
.btn-ghost:hover span,
.btn-ghost:hover .elementor-button-text {
    color: #152D37 !important;
}

/* Ghost button - hover icon color */
.btn-ghost:hover i,
.btn-ghost:hover .elementor-button-icon,
.btn-ghost:hover svg {
    color: #152D37 !important;
}
/*-----*/

/* Primary on dark button - default state */
.btn-primary-ondark {
    background-color: #F6F5F6 !important;
    color: #3395A7 !important;
    border: 1px solid rgba(38, 38, 38, 0.85) !important;
    border-radius: 8px !important;
    width: fit-content !important;
    transition: all 0.3s ease !important;
}

/* Primary on dark button - text color */
.btn-primary-ondark span,
.btn-primary-ondark .elementor-button-text {
    color: #3395A7 !important;
    transition: color 0.3s ease !important;
}

/* Primary on dark button - icon color */
.btn-primary-ondark i,
.btn-primary-ondark .elementor-button-icon,
.btn-primary-ondark svg {
    color: #3395A7 !important;
    transition: all 0.3s ease !important;
}

/* Primary on dark button - hover state */
.btn-primary-ondark:hover {
    background-color: #E7E6E7 !important;
    color: #2A6474 !important;
    border-color: rgba(38, 38, 38, 0.85) !important;
}

/* Primary on dark button - hover text color */
.btn-primary-ondark:hover span,
.btn-primary-ondark:hover .elementor-button-text {
    color: #2A6474 !important;
}

/* Primary on dark button - hover icon color */
.btn-primary-ondark:hover i,
.btn-primary-ondark:hover .elementor-button-icon,
.btn-primary-ondark:hover svg {
    color: #2A6474 !important;
}

/*-----*/

/* White button - default state */
.btn-white {
    background-color: transparent !important;
    color: #F6F5F6 !important;
    border: 1px solid #F6F5F6 !important;
    border-radius: 8px !important;
    width: fit-content !important;
    transition: all 0.3s ease !important;
}

/* White button - text color */
.btn-white span,
.btn-white .elementor-button-text {
    color: #F6F5F6 !important;
    transition: color 0.3s ease !important;
}

/* White button - icon color */
.btn-white i,
.btn-white .elementor-button-icon,
.btn-white svg {
    color: #F6F5F6 !important;
    transition: all 0.3s ease !important;
}

/* White button - hover state */
.btn-white:hover {
    background-color: rgba(0, 0, 0, 0.1) !important;
    color: #B8E4E9 !important;
    border-color: #B8E4E9 !important;
}

/* White button - hover text color */
.btn-white:hover span,
.btn-white:hover .elementor-button-text {
    color: #B8E4E9 !important;
}

/* White button - hover icon color */
.btn-white:hover i,
.btn-white:hover .elementor-button-icon,
.btn-white:hover svg {
    color: #B8E4E9 !important;
}

/* Card Icon Buttons */
.card-cta {
    background-color: transparent !important;
    color: #F6F5F6 !important;
    border: 1px solid #f6f5f6 !important;
    border-radius: 99px !important;
    height:56px !important;
    width:56px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease !important;
}

.card-cta i, .card-cta .elementor-button-icon, .card-cta svg {
    color: #f6f5f6 !important;
    transition: all 0.3s ease !important;
}

.card-cta:hover {
    background-color: rgba(0, 0, 0, 0.1) !important
    color: #b8e4e9 !important;
    border-color: #b8e4e9 !important;
}

.card-cta:hover i, .card-cta:hover .elementor-button-icon, .card-cta:hover svg {
    color: #b8e4e9 !important;
}

/* Nav Item Buttons */
/* Nav Button - default state */
.btn-nav {
    background-color: transparent !important;
    border: none !important;
    border-radius: 8px !important;
    width: fit-content !important;
    transition: all 0.3s ease !important;
}

/* Nav button - text color */
.btn-nav span,
.btn-nav .elementor-button-text {
    color: #152D37 !important;
    transition: color 0.3s ease !important;
}

/* Nav button - icon color */
.btn-nav i,
.btn-nav .elementor-button-icon,
.btn-nav svg {
    color: #152D37 !important;
    transition: all 0.3s ease !important;
}

/* Nav button - hover state */
.btn-nav:hover {
    background-color: #E0FFC7 !important;
    color: #152D37 !important;
}

/* Nav button - hover text color */
.btn-nav:hover span,
.btn-nav:hover .elementor-button-text {
    color: #24580F !important;
}

/* Nav button - hover icon color */
.btn-nav:hover i,
.btn-nav:hover .elementor-button-icon,
.btn-nav:hover svg {
    color: #24580F !important;
}



/*-----*/

/*Inline link underline*/
.link-underline a {
    position: relative;
    text-decoration: none;
    display: inline-block;
    color: inherit;
}

/* Slides back in from the left */
.link-underline a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease 0.3s; /* Delayed to fire after ::after exits */
}

/* Starts full, slides out to the right */
.link-underline a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.link-underline a:hover::before {
    width: 100%; /* Slides in from the left after delay */
}

.link-underline a:hover::after {
    width: 0; /* Slides out to the right */
}

/*-----*/

/* Fix for when card-hover is an <a> tag */
a.card-hover {
    display: block !important;
    width: 100% !important;
    text-decoration: none !important;
    color: inherit !important;
}

/* Card container */
.card-hover {
    overflow: hidden !important;
    cursor: pointer;
    position: relative !important;
    background-size: cover !important;
    background-position: center !important;
}

/* Elementor's gradient overlay (::before) - make sure it's visible */
.card-hover::before {
    z-index: 1 !important;
    position: absolute !important;
}

/* Create zooming background layer (::after) */
.card-hover::after {
    content: '' !important;
    position: absolute !important;
    top: -5% !important;
    left: -5% !important;
    width: 110% !important;
    height: 110% !important;
    background: inherit !important;
    background-size: cover !important;
    background-position: center !important;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 0 !important;
    transform: scale(1) !important;
}

.card-hover:hover::after {
    transform: scale(1.08) !important;
}

/* Keep content above everything */
.card-hover > * {
    position: relative !important;
    z-index: 2 !important;
}


/* Prevent nested links from breaking layout */
.card-hover a {
    pointer-events: auto !important;
    position: relative !important;
    z-index: 3 !important;
}

/* Button changes to active state on card hover */
.card-hover:hover .btn-ghost {
    background-color: #D9F1F4 !important;
}

.card-hover:hover .btn-white {
    background-color: rgba(0, 0, 0, 0.1) !important;
    color: #B8E4E9 !important;
    border-color: #B8E4E9 !important;
}

.card-hover:hover .card-cta {
    background-color: rgba(0, 0, 0, 0.1) !important;
    color: #B8E4E9 !important;
    border-color: #B8E4E9 !important;
}


.card-hover:hover .btn-white span,
.card-hover:hover .btn-white .elementor-button-text {
    color: #B8E4E9 !important;
}

.card-hover:hover .btn-white svg {
    color: #B8E4E9 !important;
}

.card-hover:hover .card-cta svg {
    color: #B8E4E9 !important;
}

.card-hover:hover .btn-primary {
    background: 
        radial-gradient(circle at top left, rgba(184, 228, 233, 0.2) 0%, rgba(21, 45, 55, 0) 50%),
        #152D37 !important;
}
/*-----*/

/* Full Width Slider */

.full-width-carousel .e-n-carousel.swiper {
    overflow: visible !important;
    margin-left: calc(-50vw + 50%);
    /* ... rest of the CSS, replacing '.elementor-kit-6' with '.full-width-carousel' */
}

/* Make carousel extend beyond container edges */
.elementor-kit-6 .e-n-carousel.swiper {
    overflow: visible !important;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

/*-----*/

/* Post Loop Settings */
.post-loop-excerpt {
    display: -webkit-box;
    -webkit-limp-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/*--- Interactive Project Map ---*/
/* Remove Leaflet attribution background for cleaner look */
.leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 5px;
    font-size: 11px;
}

/* Markers with icons - update existing .custom-marker styles */
.custom-marker,
.current-project-marker {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50%;
    border: 3px solid #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Icon styling */
.custom-marker svg,
.current-project-marker svg {
    width: 16px;
    height: 16px;
    color: #ffffff;
    stroke: currentColor;
    stroke-width: 2;
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Override any Leaflet positioning */
.leaflet-marker-icon svg {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
}

/* Make sure icons don't interfere with animation */
.custom-marker svg,
.current-project-marker svg {
    opacity: inherit;
}

/* Category-based marker colors */

/* Cookstoves */
.custom-marker[data-category="Cookstoves"] {
    background-color: #d38c36;
}

.custom-marker[data-category="Cookstoves"]:hover,
.custom-marker[data-category="Cookstoves"].active {
    background-color: #a95d25;
}

/* NBS (Nature-Based Solutions) */
.custom-marker[data-category="NBS"] {
    background-color: #6cbc44;
}

.custom-marker[data-category="NBS"]:hover,
.custom-marker[data-category="NBS"].active {
    background-color: #46852b;
}

/* Methane Avoidance */
.custom-marker[data-category="Methane Avoidance"] {
    background-color: #b262d3;
}

.custom-marker[data-category="Methane Avoidance"]:hover,
.custom-marker[data-category="Methane Avoidance"].active {
    background-color: #7e3497;
}

/* Current project marker stays dark regardless of category */
.current-project-marker {
    background-color: #152D37 !important;
}

.current-project-marker:hover,
.current-project-marker.active {
    background-color: #0a1a21 !important;
}

/* Uncategorized fallback - keep your original cyan */
.custom-marker[data-category="uncategorized"],
.custom-marker:not([data-category]) {
    background-color: #7ACAD5;
}

.custom-marker[data-category="uncategorized"]:hover,
.custom-marker[data-category="uncategorized"].active {
    background-color: #3395A7;
}

/* Markers start hidden */
.custom-marker,
.current-project-marker {
    opacity: 0 !important;
}

/* When animated, they fade in */
.custom-marker.animated,
.current-project-marker.animated {
    opacity: 1 !important;
    transition: opacity 0.5s ease-out;
}

#map {
    width: 100%;
    height: 100%;
}

/* Sidebar container */
.project-sidebar {
    position: absolute;
    margin: 20px 0px 20px 20px;
    width: 400px;
    height: auto;
    max-height: 760px;
    border-radius: 12px;
    border: solid 1px;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 
    0px 46px 28px rgba(0, 0, 0, 0.02),
    0px 20px 20px rgba(0, 0, 0, 0.03),
    0px 5px 11px rgba(0, 0, 0, 0.04);
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateX(calc(-100% - 20px));
    transition: transform 0.3s ease;
    z-index: 800;
    background: #F6F5F6 !important;
}

.project-sidebar.active {
    transform: translateX(0);
}

/* Project details container */
.project-details {
    position: relative;
    padding: 0;
}

/* Featured image */
.project-details .project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 0;
    border-radius: 12px 12px 0 0;
}

/* Content wrapper with padding */
.project-content {
    padding: 28px;
}

/* Desktop - keep them stacked */
.project-meta-row {
    display: flex;
    flex-direction: column;
}

/* Close button */
.close-sidebar {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.75);
    border: none;
    width: 28px;
    height: 28px;
    padding: 0px !important;
    border-radius: 8px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.close-sidebar:hover {
    background: #ffffff;
    color: #000000;
    box-shadow: -2px 0 20px rgba(0,0,0,0.15);
}

/* Project type */
/* Base project type styling */
.project-type {
    font-family: var(--e-global-typography-7a45706-font-family), "Oxygen", Sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #f5f4f5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #2a6474; /* Default fallback */
    padding: 4px 8px 4px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
    width: fit-content;
}

/* Category-specific backgrounds - match marker colors */
.project-type[data-type="Cookstoves"] {
    background: #a95d25;
}

.project-type[data-type="NBS"] {
    background: #46852b;
}

.project-type[data-type="Methane Avoidance"] {
    background: #7e3497;
}

/* Project title (h2) */
.project-content h2 {
    font-family: var(--e-global-typography-0ab73e6-font-family), Sans-serif;
    font-size: var(--e-global-typography-0ab73e6-font-size);
    font-weight: var(--e-global-typography-0ab73e6-font-weight);
    line-height: var(--e-global-typography-0ab73e6-line-height);
    margin-bottom: 12px;
    color: #152D37;
}

/* Location */
.project-content .location {
    font-family: var(--e-global-typography-text-font-family);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--e-global-color-text);
    margin-bottom: 24px;
}

.project-content .location svg {
    color: #2a6474;
    flex-shrink: 0;
}

/* Intro snippet */
.project-intro {
    font-family: var(--e-global-typography-text-font-family);
    font-size: var(--e-global-typography-text-font-size);
    line-height: 1.6;
    color: var(--e-global-color-text);
    margin-bottom: 32px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* View Full Project button */
.project-content .btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: #152D37;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-family: var(--e-global-typography-text-font-family);
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-content .btn-primary:hover {
    background: #7ACAD5;
}

/* Scrollbar styling for sidebar */
.project-sidebar::-webkit-scrollbar {
    width: 6px;
}

.project-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0 12px 12px 0;
}

.project-sidebar::-webkit-scrollbar-thumb {
    background: #7ACAD5;
    border-radius: 3px;
}

.project-sidebar::-webkit-scrollbar-thumb:hover {
    background: #3395A7;
}

/* Map touch overlay for mobile */
.map-touch-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(21, 45, 55, 0.95);
    color: #ffffff;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 400;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.map-touch-overlay.visible {
    opacity: 1 !important;
}

/* Mobile responsive */
@media (max-width: 767px) {
    /* Lower Leaflet zoom controls z-index */
    .leaflet-top,
    .leaflet-bottom,
    .leaflet-control-zoom {
        z-index: 400 !important;
    }
    
    /* Sidebar styling - hug content */
    .project-sidebar {
        width: calc(100% - 40px);
        margin: 20px;
        height: auto;
        max-height: calc(100vh - 40px);
        overflow-y: auto !important;
        overflow-x: hidden;
        z-index: 401 !important;
    }
    
    /* Reduce image height */
    .project-details .project-image {
        height: 175px;
    }
    
    /* Reduce content padding */
    .project-content {
        padding: 12px 16px 14px 16px;
    }
    
    /* Meta row - keeps type and location on same line */
    .project-meta-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
        flex-wrap: wrap;
    }
    
    /* Project type - adjust as needed */
    .project-meta-row .project-type {
        font-size: 10px;
        padding: 4px 8px;
        margin-bottom: 0;
    }
    
    /* Location - adjust as needed */
    .project-meta-row .location {
        font-size: 13px;
        margin-bottom: 0;
    }
    
    /* Title - adjust as needed */
    .project-content h2 {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    /* Intro snippet - adjust as needed */
    .project-intro {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 0px;
        -webkit-line-clamp: 3;
    }
    
    /* Button - adjust as needed */
    .project-content .btn-primary {
        margin-top: 16px;
        padding: 8px 16px;
        font-size: 14px;
    }
    
    /* Move close button to top left */
    .close-sidebar {
        left: 12px;
        right: auto;
        top: 12px;
        font-family: sans-serif !important;
    }
}

/* Hide overlay on desktop */
@media (min-width: 768px) {
    .map-touch-overlay {
        display: none;
    }
}

/* Single project map container - more specific .elementor-kit-6s */
.single-project-map-container,
div.single-project-map-container {
    position: relative !important;
    width: 100% !important;
    height: 800px !important;
    min-height: 800px !important;
    overflow: hidden !important;
}

#single-project-map,
div#single-project-map {
    width: 100% !important;
    height: 100% !important;
    min-height: 800px !important;
}

/* Current project marker - different styling */
.current-project-marker {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #152D37;
    border: 3px solid #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(21, 45, 55, 0.4);
}

.current-project-marker:hover,
.current-project-marker.active {
    background-color: #0a1a21;
    transform: scale(1.15);
    box-shadow: 0 4px 14px rgba(21, 45, 55, 0.6);
}

/* Mobile height adjustment */
@media (max-width: 767px) {
    .single-project-map-container,
    div.single-project-map-container {
        height: 600px !important;
        min-height: 600px !important;
    }
    
    #single-project-map,
    div#single-project-map {
        min-height: 600px !important;
    }
}

/* Infinite Scroll Image Banner */

.infinite-scroll-wrapper {
  overflow: hidden;
  width: 100%;
}

.infinite-scroll-track {
  display: flex;
  gap: 72px;
  width: fit-content;
}

.infinite-scroll-track > * {
  flex-shrink: 0;
}/* End custom CSS */