/* Base styles for the iis-hero widget */
.iis-hero-carousel {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.iis-hero-item {
    flex: 0 0 100%;
    position: relative;
    text-align: center;
    color: rgba(242, 229, 220, 1); /* Primary 100 */
    transition: opacity 0.5s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 180px 20px 100px 20px;
}

.iis-hero-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.iis-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Background Overlay Color */
    z-index: 1;
}

.iis-hero-item h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    z-index: 1;
}

.iis-hero-item p {
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    z-index: 1;
}

.iis-hero-item a {
    font-size: 12px;
    font-weight: 600;
    color: rgba(116, 77, 44, 1); /* Primary 100 */
    text-decoration: none;
    background-color: rgba(242, 229, 220, 1);
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1;
}

.iis-hero-item a:hover,
.iis-hero-item a:focus {
    background-color: rgba(116, 77, 44, 1);
    color: rgba(242, 229, 220, 1);
}

/* Responsive styles */
@media (min-width: 768px) {
    .iis-hero-item h2,
    .iis-hero-item p,
    .iis-hero-item a {
        text-align: center;
    }

    .iis-hero-item h2 {
        font-size: 42px;
        font-weight: 700;
        width: 80%;
    }

    .iis-hero-item p {
        font-size: 26px;
        font-weight: 400;
        width: 80%;
    }

    .iis-hero-item a {
        font-size: 16px;
        font-weight: 600;
    }

    .iis-hero-item {
      padding: 180px 80px 100px 80px;
      align-items: start;
      height: 90vh;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .iis-hero-item h2,
    .iis-hero-item p,
    .iis-hero-item a {
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .iis-hero-item h2,
    .iis-hero-item p,
    .iis-hero-item a {
        text-align: left;
    }
}

/* Indicators */
.iis-hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

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

.iis-hero-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.iis-hero-dot.active {
    background-color: #ffffff;
    transform: scale(1.2);
}
