/* SET 1: Horizontal Carousel */
.hero-carousel-container {
    position: relative;
    height: 800px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(53, 53, 53, 0.3);
}

.hero-carousel {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.6s ease, transform 0.6s ease;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.hero-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.hero-slide.prev {
    opacity: 0;
    transform: translateX(-100%);
    z-index: 1;
}

.hero-slide-1 {
    background: linear-gradient(135deg, var(--primary) 0%, #8d5d35 100%);
}

.hero-slide-2 {
    background: linear-gradient(135deg, var(--dark) 0%, #252525 100%);
}

.hero-slide-3 {
    background: linear-gradient(135deg, var(--light) 0%, white 100%);
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 245, 245, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.badge-custom {
    background: rgba(245, 245, 245, 0.3);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.hero-highlight {
    background: rgba(245, 245, 245, 0.2);
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid rgba(68, 65, 65, 0.6);
    margin: 20px 0;
    backdrop-filter: blur(10px);
}

.btn-subscribe {
    background: rgba(245, 245, 245, 0.95);
    color: var(--primary);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.btn-subscribe:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: var(--primary);
}

/* Carousel Controls */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(245, 245, 245, 0.4);
    border: 2px solid rgba(182, 179, 179, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: rgba(245, 245, 245, 0.9);
    width: 40px;
    border-radius: 6px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(245, 245, 245, 0.3);
    display: flex;                /* Add this */
    justify-content: center;      /* Horizontally center the arrow */
    align-items: center;          /* Vertically center the arrow */
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    backdrop-filter: blur(10px);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background: rgba(245, 245, 245, 0.5);
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

/* SET 2: Vertical Carousel */
.side-carousel-container {
    position: relative;
    height: 100%;
    min-height: 700px;
    overflow: hidden;
}

.side-carousel {
    position: relative;
    height: 100%;
}

.side-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.6s ease, transform 0.6s ease;
    border-radius: 20px;
    padding: 35px;
    color: white;
    box-shadow: 0 20px 60px rgba(53, 53, 53, 0.3);
}

.side-slide.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}

.side-slide.prev {
    opacity: 0;
    transform: translateY(-100%);
    z-index: 1;
}

/* Show two slides at once on larger screens */
/* Marketing carousel styles */
.side-carousel-container {
    position: relative;
    min-height: 400px;
    overflow: visible;
    border-radius: 15px;
}

.side-carousel {
    position: relative;
    width: 100%;
}
.side-carousel.single-slide-mode .side-slide {
    position: absolute;
    width: 100%;
    border-radius: 15px;
    padding: 40px;
    color: white;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    overflow: hidden;
}
.side-carousel.single-slide-mode .side-slide.active {
    opacity: 1;
    transform: translateY(0);
    top: 0;
    z-index: 2;
}
/* All slides mode - stack all slides */
.side-carousel.all-slides-mode {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-carousel.all-slides-mode .side-slide {
    position: relative;
    width: 100%;
    border-radius: 15px;
    padding: 40px;
    color: white;
    opacity: 1;
    transform: none;
    transition: none;
}

.side-slide-1 {
    background: linear-gradient(135deg, var(--primary) 0%, #8d5d35 100%);
}

.side-slide-2 {
    background: linear-gradient(135deg, var(--dark) 0%, #252525 100%);
}

.side-slide-3 {
    background: linear-gradient(135deg, var(--light) 0%, white 100%);
    color: #333333;
}

.side-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(245, 245, 245, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.side-content {
    position: relative;
    z-index: 1;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(245, 245, 245, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    font-size: 2rem;
}

.side-slide-3 .icon-box {
    background: rgba(51, 51, 51, 0.1);
}

.side-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.side-slide-3 .side-title {
    color: #333333;
}

.metric {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 10px 0;
}

.metric-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.info-box {
    background: rgba(245, 245, 245, 0.2);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    margin: 15px 0;
}

.side-slide-3 .info-box {
    background: rgba(51, 51, 51, 0.08);
    color:black;
}

/* Side carousel indicators - positioned on left */
.side-indicators {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 3;
}

/* Hide indicators in all-slides mode */
.side-carousel.all-slides-mode ~ .side-indicators {
    display: none;
}

.side-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(245, 245, 245, 0.4);
    border: 2px solid rgba(182, 179, 179, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.side-indicator.active {
    background: rgba(109, 107, 107, 0.9);
    height: 40px;
    border-radius: 6px;
}
@media (max-width: 991px) {
    .col-lg-6 {
        width: 100%;
    }

    .side-carousel-container {
        height: 400px;
    }
}