/* Main container styles */
.icb-carousel-container {
    max-width: 100%;
    margin: 2rem auto;
    padding: 0 15px;
}

/* Row layout */
.icb-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    gap: 30px;
}

/* Equal width columns */
.icb-carousel-column,
.icb-content-column {
    flex: 1;
    min-width: 300px;
    padding: 0 15px;
}

/* Carousel Wrapper (new) */
.icb-carousel-wrapper {
    position: relative;
    width: 100%;
}

/* Carousel styles */
.icb-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.icb-carousel-item {
    display: none;
    position: relative;
    width: 100%;
    transition: transform 0.6s ease;
}

.icb-carousel-item.active {
    display: block;
}

.icb-carousel-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Carousel navigation */
.icb-carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none; /* Allow clicking through to elements below */
}

.icb-carousel-prev,
.icb-carousel-next {
    pointer-events: auto; /* Re-enable clicking on buttons */
    background: rgba(255,255,255,0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 15px;
}

.icb-carousel-prev:hover,
.icb-carousel-next:hover {
    background: rgba(255, 255, 255, 0.9);
}

.icb-carousel-prev {
    margin-left: 15px;
}

.icb-carousel-next {
    margin-right: 15px;
}

/* Carousel indicators */
.icb-carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 10;
}

.icb-carousel-indicator {
    width: 6px;
    height: 6px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.icb-carousel-indicator.active {
    background-color: rgba(0, 0, 0, 0.75);
}

/* Content styles */
.icb-carousel-title {
    margin: 0 0 20px 0;
    font-size: 24px;
    line-height: 1.3;
}

.icb-carousel-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.icb-carousel-button:hover {
    background-color: #006ba1;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .icb-row {
        flex-direction: column;
    }
    
    .icb-carousel-column,
    .icb-content-column {
        flex: 100%;
    }
    
    .icb-content-column {
        margin-top: 20px;
    }
}
