/* ==========================
   Slider + Form Container
========================== */
.alc-slider-owl { position: relative; }

.alc-slide-item {
    position: relative;
    display: flex;
    align-items: center;
    min-height: auto; /* dynamic height */
    background-size: cover;
    background-position: center;
    padding: 40px 15px;
}

/* Overlay */
.slider-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

/* Row inside slider */
.alc-slide-item .row { position: relative; z-index: 2; }

/* Left Text Column */
.alc-slide-item .col-lg-6:first-child { color: #fff; }

/* Right Form Column */
.alc-slide-item .col-lg-6:last-child {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.slider-form {
    background: rgba(255,255,255,0.95);
    padding: 25px;
    border-radius: 10px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease forwards;
}

/* Form Inputs */
.alc-regform h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #002D62;
    text-align: center;
}

.alc-regform input,
.alc-regform textarea,
.alc-regform select,
.alc-regform button {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.alc-regform button {
    background: #002D62;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.alc-regform button:hover { background: #00509E; }

.alc-response {
    margin-bottom: 10px;
    color: green;
    font-weight: bold;
    text-align: center;
}

/* Owl Carousel Dots */
.alc-slider-owl .owl-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    z-index: 3;
}

/* Animations */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px);}
    100% { opacity: 1; transform: translateY(0);}
}

/* ==========================
   Universal Responsive Styles
========================== */
@media (max-width: 992px){
    .alc-slide-item {
        display: block !important;
        padding: 30px 15px !important;
    }

    .alc-slide-item .col-lg-6 {
        width: 100% !important;
        max-width: 100%;
        flex: none !important;
        margin-bottom: 15px;
        text-align: center;
    }

    .alc-slide-item .col-lg-6:last-child {
        justify-content: center !important;
        margin-top: 0;
    }

    .slider-form {
        width: 100% !important;
        max-width: 100%;
        margin: 20px auto 0 auto;
        padding: 25px !important;
        box-sizing: border-box;
        animation: none;
    }

    /* Remove overlay for readability */
    .slider-overlay { position: relative; background: none; }

    .alc-slide-item h2,
    .alc-slide-item p { color: #002D62; }
}


/* Ensure very small screens can scroll if needed */
@media (max-width: 320px){
    .alc-slide-item { overflow-y: auto; max-height: 100vh; padding: 20px 10px; }
    .slider-form { padding: 20px !important; }
}
