/* Slider Container */
.hs-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* You might want to set a max-height here or let content define it */
    /* max-height: 500px; */
}

/* Slider Track (holds all slides) */
.hs-slider-track {
    display: flex; /* Makes slides arrange horizontally */
    width: 100%; /* Will be dynamically adjusted by JS */
    transition: transform 0.5s ease-in-out; /* Smooth transition for sliding */
}

/* Individual Slide */
.hs-slide {
    flex: 0 0 100%; /* Each slide takes full width of the container */
    width: 100%; /* Redundant with flex: 0 0 100% but good for clarity */
    box-sizing: border-box; /* Include padding/border in element's total width and height */
    position: relative; /* For absolutely positioned content if needed */
    display: flex; /* Use flexbox for content layout within the slide */
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center if needed */
    padding: 40px 20px; /* Add some padding around content */
    min-height: 400px; /* Minimum height for slides */
    background-color: #f0f0f0; /* Default background, or specific for each slide */
}

/* Slide Content (inner container to hold text and image areas) */
.hs-slide-content {
    display: flex;
    flex-direction: column; /* Default for mobile */
    align-items: center; /* Center items on mobile */
    width: 100%;
    max-width: 1200px; /* Max width for content on large screens */
    gap: 30px; /* Space between text and image sections */
}

/* Text Area (Left) */
.hs-slide-text {
    flex: 1; /* Takes available space */
    text-align: center; /* Center text on mobile */
}

.hs-slide-title {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hs-slide-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.hs-slide-buttons {
    display: flex;
    justify-content: center; /* Center buttons on mobile */
    gap: 15px; /* Space between buttons */
    flex-wrap: wrap; /* Allow buttons to wrap */
}

.hs-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #4baaad;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.hs-button:hover {
    background-color: #4baaad;
    color: #fff;
}

.hs-button-2 {
    background-color: #4baaad; /* Different style for secondary button */
    color: #fff;
}

.hs-button-2:hover {
    background-color: #4baaad;
    color: #fff;
}

/* Image Area (Right) */
.hs-slide-image-area {
    flex: 1; /* Takes available space */
    text-align: center; /* Center image on mobile */
    position: relative; /* For badges */
}

.hs-slide-image {
    max-width: 100%;
    height: auto;
    display: block; /* Remove extra space below image */
    border-radius: 8px; /* Slightly rounded corners for images */
}

/* Badges (Optional) */
.hs-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hs-badge {
    background-color: rgba(255, 255, 0, 0.8);
    color: #333;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8em;
    font-weight: bold;
}

/* Navigation Buttons */
.hs-slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 20px;
    box-sizing: border-box;
}

.hs-slider-nav button {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 1.5em;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hs-slider-nav button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Dots Navigation */
.hs-slider-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.hs-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hs-dot.active {
    background-color: #fff;
}


/* Responsive Adjustments */
@media (min-width: 768px) {
    .hs-slide-content {
        flex-direction: row; /* Row direction for desktop */
        text-align: left; /* Align text left on desktop */
    }

    .hs-slide-text {
        text-align: left;
    }

    .hs-slide-buttons {
        justify-content: flex-start; /* Align buttons to the left */
    }

    .hs-slide-title {
        font-size: 3.5em; /* Larger title for desktop */
    }

    .hs-slide-description {
        font-size: 1.2em;
    }
}