.hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #fafafa;
}

.slide {
    position: absolute;
    width: 80%;
    left: 5%;
    height: 100%;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    transform: scale(0.9);
    background: #fff;
    overflow: hidden;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
    padding: 0.6rem;
}

.slide.prev {
    transform: translateX(-70%) scale(0.9);
    opacity: 0.5;
    visibility: visible;
    z-index: 1;
}

.slide.next {
    transform: translateX(70%) scale(0.9);
    opacity: 0.5;
    visibility: visible;
    z-index: 1;
}

.slide-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.2rem !important;
    
    
}

.slide-text {
    max-width: 500px;
}

.slide-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    
}

.slide-image img {
    max-height: 400px;
    max-width: 100%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.nav-dot.active {
    background: #252e52;
}
