:root {
    --glass-bg-opacity: 0.1;
    --glass-blur-strength: 12px;
    --glass-border-opacity: 0.2;
    --primary-color: #13560c;
    --secondary-color: #29c51b;
}

.swiper-container {
    width: 100%;
    min-height: 100vh;
    height: auto;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.swiper-wrapper {
    display: flex !important;
    width: 100%;
    height: 100%;
    transition-property: transform;
    box-sizing: content-box;
    flex-direction: row !important;
}

.swiper-slide {
    flex-shrink: 0 !important;
    width: 100%;
    min-height: 100vh;
    height: auto;
    position: relative;
}

.ltn__slider-style-custom {
    position: relative;
    z-index: 1;
}

.ltn__slider-style-custom .ltn__slide-item-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 100vh;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

/* Main glassmorphism overlay */
.ltn__slider-style-custom .ltn__slide-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    z-index: 1;
}

/* Content area glass effect */
.ltn__slider-style-custom .slide-item-info-inner {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 40px;
    padding: 80px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px 0 rgba(19, 86, 12, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    max-width: 850px;
    max-height: 70vh;
    width: auto;
    position: relative;
    overflow: hidden;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Glass highlight animation */
.ltn__slider-style-custom .slide-item-info-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
    pointer-events: none;
}

.ltn__slider-style-custom .slide-item-info-inner:hover::before {
    left: 100%;
}

/* Arrow styling */
.ltn__slider-style-custom .swiper-button-prev,
.ltn__slider-style-custom .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(19, 86, 12, 0.5); /* Semi-transparent primary green */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ltn__slider-style-custom .swiper-button-prev:hover,
.ltn__slider-style-custom .swiper-button-next:hover {
    background-color: rgba(19, 86, 12, 0.8); /* Darker on hover */
}

.ltn__slider-style-custom .swiper-button-prev {
    left: 30px;
}

.ltn__slider-style-custom .swiper-button-next {
    right: 30px;
}

.ltn__slider-style-custom .swiper-button-prev::after,
.ltn__slider-style-custom .swiper-button-next::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 20px;
}

.ltn__slider-style-custom .swiper-button-prev::after {
    content: '\f053'; /* Font Awesome left arrow */
}

.ltn__slider-style-custom .swiper-button-next::after {
    content: '\f054'; /* Font Awesome right arrow */
}

/* Pagination styling */
.ltn__slider-style-custom .swiper-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: 10;
}

.ltn__slider-style-custom .swiper-pagination-bullet {
    margin: 0 8px;
    background-color: rgba(255, 255, 255, 0.7);
    opacity: 0.8;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.ltn__slider-style-custom .swiper-pagination-bullet-active {
    background-color: var(--secondary-color);
    opacity: 1;
    width: 12px;
    height: 12px;
    z-index: 3;
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    .ltn__slide-item::before {
        backdrop-filter: blur(2px);
    }
}

/* Fallback for browsers that don't support backdrop-filter */
@supports not (backdrop-filter: blur(12px)) {
    .slide-item-info-inner {
        background: rgba(255, 255, 255, 0.8);
    }
}

/* Dimension and spacing customizations */
.ltn__slider-style-custom {
    --slide-height: 700px;
    --content-max-width: 650px;
    --content-padding: 40px;
    --border-radius: 20px;
    --transition-speed: 0.5s;
    --autoplay-delay: 5000ms;
    --slide-transition: 1200ms;
}

/* Storytella Font Face */
@font-face {
    font-family: 'Storytella';
    src: url('../fonts/storytella/Storytella.woff2') format('woff2'),
         url('../fonts/storytella/Storytella.woff') format('woff'),
         url('../fonts/storytella/Storytella.ttf') format('truetype'),
         url('../fonts/storytella/Storytella.svg#Storytella') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Split Title Typography */
.ltn__slider-style-custom .slide-title {
    font-size: 6.5rem;
    line-height: 1;
    color: #13560c !important;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.ltn__slider-style-custom .slide-title .title-start {
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.ltn__slider-style-custom .slide-title .title-end {
    font-family: 'Raleway', sans-serif;
    font-weight: 100;
    text-transform: uppercase;
    color:#ffffff;
    letter-spacing: 0.05em;
    font-size: 0.8em;
    line-height: 0.9;
}

.ltn__slider-style-custom .slide-brief p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.75rem;
    line-height: 1.6;
    color: #13560c;
    max-width: 80%;
    margin: 0 auto 2rem auto;
}

/* CTA Button Styling */
.ltn__slider-style-custom .custom-btn--style-1 {
    display: inline-block;
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    transition: all 0.4s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.ltn__slider-style-custom .custom-btn--style-1:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.ltn__slider-style-custom .custom-btn--style-1:active {
    transform: translateY(2px);
    transition-duration: 0.2s;
}

/* Slide Content Animation */
.ltn__slide-animation {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.swiper-slide-active .ltn__slide-animation {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}
