/* Page Builder Styles */

/* Slider Module */
.module-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 0 !important;
}

.module-slider .owl-carousel {
    width: 100%;
    margin-bottom: 0 !important;
}

.slider-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.slider-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
}

.slider-title {
    color: #fff;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slider-subtitle {
    color: #fff;
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.slider-button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    text-decoration: none;
    border-radius: 4px;
}

/* Full Width Slider */
.module-slider.slider-full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Owl Carousel Navigation */
.module-slider .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    transition: all 0.3s;
}

.module-slider .owl-nav button:hover {
    background: rgba(0, 0, 0, 0.8) !important;
}

.module-slider .owl-nav .owl-prev {
    left: 50px;
}

.module-slider .owl-nav .owl-next {
    right: 50px;
}

/* Owl Carousel Dots */
.module-slider .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.module-slider .owl-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s;
    border: none !important;
}

.module-slider .owl-dot span {
    display: none;
}

.module-slider .owl-dot.active,
.module-slider .owl-dot:hover {
    background: rgba(255, 255, 255, 1) !important;
}

/* Animation initial state */
.slider-content .will-animate {
    opacity: 0 !important;
    visibility: hidden !important;
}

.slider-content .will-animate.animate__animated {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure animations work properly */
.slider-title.animate__animated,
.slider-subtitle.animate__animated,
.slider-button.animate__animated {
    animation-duration: 1s !important;
    animation-fill-mode: both !important;
}

/* Home Intro Module */
.module-home-intro {
    padding: 40px 0;
    margin-top: 0 !important;
}

.module-home-intro.home-intro {
    margin-bottom: 0;
}

.home-intro p {
    font-size: 1.4em;
    line-height: 1.6;
    margin: 0;
    color: #fff;
}

.home-intro .highlighted-word {
    font-weight: 700;
    display: inline-block;
    padding: 0 5px;
}

.home-intro p span {
    display: block;
    font-size: 0.85em;
    margin-top: 8px;
    opacity: 0.9;
}

.home-intro .get-started {
    margin-top: 0;
}

.home-intro .learn-more {
    margin-top: 10px;
    font-size: 0.9em;
}

.home-intro .learn-more a {
    color: #fff;
    text-decoration: underline;
}

.home-intro .learn-more a:hover {
    text-decoration: none;
}

/* Column Module */
.module-columns {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.module-columns .column {
    flex: 1;
}

/* General Module Styles */
.page-builder-module {
    margin-bottom: 20px;
}
