* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #ff1ee1, #00bfff);
    min-height: 100svh; /* mobile safe */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Wrapper */
.background-wrapper {
    width: 100%;
    max-width: 1100px;
}

/* Login Card */
.login-card {
    background: #fff;
    width: 100%;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Brand Section */
.brand-section {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #ff401e, #00bfff);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.logo img {
    height: 65px;
}

.portal-text {
    /* color: #333; */
    color: white;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 2px;
}

/* Form Section */
.form-section {
    flex: 1;
    padding: 60px 40px;
    text-align: center;
}

.form-section h2 {
    color: #888;
    font-weight: 300;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 14px;
    border: none;
    border-bottom: 1px solid #ddd;
    outline: none;
    background: #f9f9f9;
    transition: 0.3s;
}

.input-group input:focus {
    border-bottom: 1px solid #00bfff;
}

/* Button */
.login-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.login-btn:hover {
    transform: scale(1.03);
}

/* Slider */
/* Updated Slider CSS */
.slider-container {
    width: 100%;
    overflow: hidden;
    margin-top: 30px;
    padding: 20px 0;
    /* This creates a fade effect on the edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.slider-track {
    display: flex;
    gap: 40px; 
    align-items: center;
    width: max-content;
    
    animation: marquee 99s linear infinite; 
}

.slide {
    flex-shrink: 0;
    width: 150px; 
    text-align: center;
    color: white;
}

.slide img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.slide span {
    font-weight: 600;
    font-size: 14px;
    display: block;
}

.slide p {
    font-size: 11px;
    opacity: 0.9;
    margin: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* Pause on hover */
.slider-container:hover .slider-track {
    animation-play-state: paused;
}

/* ========================= */
/* 📱 MOBILE (<=576px) */
/* ========================= */
@media (max-width: 576px) {
    .login-card {
        flex-direction: column;
    }

    .brand-section,
    .form-section {
        padding: 30px 20px;
    }

    .logo img {
        height: 55px;
    }

    .portal-text {
        font-size: 18px;
    }

     .slider-track {
        animation-duration: 64s;
    }

    .slide {
        width: 120px;
    }
}

/* ========================= */
/* 📲 TABLET (<=768px) */
/* ========================= */
@media (max-width: 768px) {
    .login-card {
        flex-direction: column;
    }
}

/* ========================= */
/* 💻 LARGE SCREENS */
/* ========================= */
@media (min-width: 1200px) {
    .login-card {
        max-width: 1000px;
    }
}
