.custom-hero-slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.custom-hero-slide {
    display: flex;
    width: 100%;
    height: 70vh;
    position: relative;
}

.custom-hero-section {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.custom-hero-single-image {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.custom-hero-section img,
.custom-hero-single-image img,
.custom-hero-single-image picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.custom-hero-single-image picture {
    display: block;
}

.custom-hero-section img:hover,
.custom-hero-single-image img:hover {
    transform: scale(1.03);
}

/* Overlay */
.custom-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2;
    color: #ffffff;
}

.custom-hero-overlay.custom-hero-top-left {
    justify-content: flex-start;
    align-items: flex-start;
}

.custom-hero-overlay.custom-hero-top-center {
    justify-content: flex-start;
    align-items: center;
}

.custom-hero-overlay.custom-hero-top-right {
    justify-content: flex-start;
    align-items: flex-end;
}

.custom-hero-overlay.custom-hero-center-left {
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.custom-hero-overlay.custom-hero-center {
    justify-content: center;
    align-items: center;
}

.custom-hero-overlay.custom-hero-center-right {
    justify-content: center;
    align-items: flex-end;
    text-align: right;
}

.custom-hero-overlay.custom-hero-bottom-left {
    justify-content: flex-end;
    align-items: flex-start;
}

.custom-hero-overlay.custom-hero-bottom-center {
    justify-content: flex-end;
    align-items: center;
}

.custom-hero-overlay.custom-hero-bottom-right {
    justify-content: flex-end;
    align-items: flex-end;
}

.custom-hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.custom-hero-description {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 80%;
}

.custom-hero-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #000000;
}

.custom-hero-button:hover {
    background-color: transparent;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .custom-hero-slide {
        flex-direction: column;
    }

    .custom-hero-section {
        height: 40vh;
        flex: 1 1 auto !important;
    }
    
    .custom-hero-overlay {
        padding: 15px;
    }
    
    .custom-hero-title {
        font-size: 2rem;
    }
    
    .custom-hero-description {
        font-size: 1rem;
        max-width: 100%;
    }
}

/* Slider Navigation */
.custom-hero-slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.custom-hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-hero-dot.active {
    background-color: white;
}

/* Slider Arrows */
.custom-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
}

.custom-hero-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.custom-hero-arrow.prev {
    left: 15px;
}

.custom-hero-arrow.next {
    right: 15px;
}