.ad-slider-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.ad-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 600px; /* Overriden by Elementor if set */
}

.ad-slide-mobile-wrapper {
    display: none;
}

.mobile-heading {
    display: none;
}
.desktop-heading {
    display: block;
}

.ad-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.ad-slide-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.ad-slide-main-heading {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    line-height: 1.2;
}

.ad-slide-box {
    background-color: rgba(100, 50, 120, 0.85); /* Purple semi-transparent */
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.ad-slide-sub-heading {
    color: #ff9d4a; /* Orange */
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.ad-slide-description {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
}

.ad-slide-description p {
    margin-bottom: 15px;
    color: inherit;
}
.ad-slide-description p:last-child {
    margin-bottom: 0;
}

.ad-slide-btn {
    display: inline-block;
    background-color: #ff9d4a;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.ad-slide-btn:hover {
    background-color: #e88b3b;
    color: #ffffff;
}

/* Swiper overrides */
.ad-slider-container .swiper-button-prev,
.ad-slider-container .swiper-button-next {
    color: #ffffff;
    background: rgba(0,0,0,0.3);
    padding: 30px 20px;
    border-radius: 5px;
}
.ad-slider-container .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.7;
}
.ad-slider-container .swiper-pagination-bullet-active {
    background: #ff9d4a;
    opacity: 1;
}

/* Mobile & Tablet Responsive */
@media (max-width: 992px) {
    .ad-slide {
        flex-direction: column;
        min-height: auto !important;
        background-image: none !important; /* Image handled by mobile wrapper */
    }
    
    .ad-slide-overlay {
        display: none; 
    }
    
    .desktop-heading {
        display: none;
    }
    .mobile-heading {
        display: block;
        margin: 0;
        font-size: 2rem;
    }

    .ad-slide-mobile-wrapper {
        display: block;
        position: relative;
        width: 100%;
    }
    
    .ad-slide-bg-mobile img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .ad-slide-mobile-title-overlay {
        position: absolute;
        bottom: 10%;
        left: 20px;
        right: 20px;
        z-index: 2;
    }

    .ad-slide-content-wrapper {
        padding: 0;
        display: flex;
        flex-direction: column;
        height: auto;
        margin-top: 0;
        width: 100%;
        max-width: 100%;
    }

    .ad-slide-box {
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        padding: 20px;
        margin-bottom: 0;
    }
    
    .ad-slide-btn {
        display: block;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
        margin: 20px 0; /* Add bottom spacing */
    }
}
