/* LGSE Micro Slider - Text Centered Fix */
.micro-slider {
    height: 380px;
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.slider-wrapper {
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    transform-origin: 0 50%;
}

/* BASE SLIDE STYLE */
.slider-item {
    background: #1e1b4b;
    /* Dark Blue */
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: none;
    height: 320px;
    left: 0;
    position: absolute;
    top: 0;
    width: 280px;
    /* Card Width */
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    padding: 20px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.slider-item:not(.active) {
    cursor: pointer;
    opacity: 0.8;
}

.slider-item.active {
    z-index: 100;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
}

/* --- TYPE SPECIFIC LAYOUTS --- */

/* 1. TEXT ONLY (AGGRESSIVE CENTER) */
.slider-item.type-text {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    /* Force Vertical Center */
    align-items: center !important;
    /* Force Horizontal Center */
    padding: 20px !important;
}

.slider-item.type-text .slide-content {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    /* Flex inside content to be sure */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.slider-item.type-text h3 {
    margin-top: 0 !important;
    /* Remove any lingering top margins */
}

/* 2. IMAGE ONLY */
.slider-item.type-image {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-item.type-image .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 15px;
    /* Padding for logo breathing room */
    box-sizing: border-box;
}

.slider-item.type-image .slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 3. MIXED */
.slider-item.type-mixed {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 25px;
}

.slider-item.type-mixed .slide-content {
    flex: 0 0 auto;
    margin-bottom: 0;
    /* Minimized gap */
    width: 100%;
    position: relative;
    z-index: 2;
}

.slider-item.type-mixed .slide-bg {
    flex: 1 1 auto;
    width: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.slider-item.type-mixed .slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


/* --- SHARED ELEMENTS --- */

.slide-content h3 {
    font-size: 2.8rem;
    /* Slightly larger */
    font-weight: 800;
    margin: 0 0 5px 0;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    justify-content: center;
}

.slide-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 5px 0 0 0;
    -webkit-text-fill-color: initial;
}

/* Indicators */
.indicators {
    bottom: -30px;
    left: 0;
    position: absolute;
    text-align: center;
    width: 100%;
    padding: 0;
    list-style: none;
    z-index: 20;
}

.indicators .indicator {
    display: inline-block;
    margin: 0 8px;
}

.indicators .indicator a {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    text-indent: -9999px;
    transition: all 0.3s;
}

.indicators .indicator.active a {
    background: #fff;
    width: 20px;
    border-radius: 10px;
}