/* Main Slider Styling */
#mainslider {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: #000;
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease-in-out;
    overflow: hidden;
}

#top_banner_1 { width: 100%; height: 100%; position: relative; }
#slider-link { display: block; height: 100%; text-decoration: none; color: #fff; }

/* Text Overlay Styling */
.title-area {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(0,0,0,0.6);
    padding: 20px;
    border-radius: 5px;
    max-width: 80%;
    z-index: 10;
}

.cat {
    background: #00b3ff;
    padding: 2px 8px;
    font-size: 12px;
    display: inline-block;
    color: #fff;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Hover Effect - Makes it pop */
.cat:hover {
    background: #0088cc;
    transform: scale(1.1);
}


#mainslider h1 {
    font-size: 24px;
    margin: 10px 0 0 0;
    color: #fff !important;
    display: block !important;
}

/* Nav Controls */
.nav-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    gap: 10px;
    align-items: center;
    color: white;
}

.nav-controls button {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 4px;
}