/**
 * Custom Carousel Styles for Alpha Plumbing
 */
/* Container styles */
.gp-carousel {
    position: relative;
    padding: 20px 0;
}

/* Carousel wrapper - contains slider and nav buttons */
.gp-carousel .carousel-wrapper {
    position: relative;
    margin: 0 auto;
    padding: 0 60px; /* Make room for the navigation buttons */
}

/* Swiper container */
.gp-carousel .swiper-container {
    position: relative;
    overflow: hidden; /* Keep overflow hidden on the container */
}

/* Slide styles */
.gp-carousel .swiper-slide {
    height: auto;
    box-sizing: border-box;
    padding: 10px;
}

/* Uniform height for testimonial slides */
.gp-carousel .swiper-slide .gb-loop-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Logo grid slide styling */
.gp-carousel .swiper-slide img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
/* Testimonial content styles */
.gp-carousel .swiper-slide .gb-text {
    flex: 1;
}

/* Navigation buttons - now positioned outside the slider */
.gp-carousel .swiper-button-next,
.gp-carousel .swiper-button-prev {
    color: var(--accent);
    background: white;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: absolute;
    top: 50%;
    z-index: 10;
}

.gp-carousel .swiper-button-prev {
    left: 0;
}

.gp-carousel .swiper-button-next {
    right: 0;
}

/* Reset Swiper's default button styling */
.gp-carousel .swiper-button-next:after,
.gp-carousel .swiper-button-prev:after {
    font-size: 18px;
}

/* Alternate button styling when on white background */
.slider-bg-white .carousel-wrapper .swiper-button-next,
.slider-bg-white .carousel-wrapper .swiper-button-prev {
    background: var(--accent);
    color: #fff;
}

/* Pagination bullets */
.gp-carousel .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

/* Pagination bullets */
.slider-bg-white .swiper-pagination-bullet {
    background: var(--accent);
    opacity: 0.5;
}

.gp-carousel .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Ensure slides maintain their original height */
.gp-carousel .swiper-slide > * {
    height: auto !important;
}

.gp-carousel  .swiper-pagination {
    position: relative !important;
    margin-top: 20px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gp-carousel {
        padding: 10px 0;
    }
    
    .gp-carousel .carousel-wrapper {
        padding: 0 5px; /* Smaller padding on mobile */
    }
    
    .gp-carousel .swiper-button-next,
    .gp-carousel .swiper-button-prev {
        display: none;
    }
}

.floating-contact-btn {
    position: fixed;
    top: 25%;
    right: 0;
    display: block !important;
    z-index: 100;
}
.floating-contact-btn span {
    display: block;
    width: 100%;
}
.sticky-footer-buttons {
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 100%;
}
.sticky-footer-buttons a {
    flex: 1;
}