/* ============================================================
   HOME PAGE IMAGE SLIDER (ENHANCED)
   ============================================================ */

.gov-slider {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background-color: #eee; /* Prevents flash during image load */
}

.gov-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother motion */
}

.gov-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.gov-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* SLIDE CONTENT OVERLAY */
.gov-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #ffffff;
    z-index: 10;
}

.gov-caption h2 {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* NAVIGATION ARROWS */
.gov-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    font-size: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    border-radius: 50%; /* Circular buttons look more modern */
    transition: all 0.3s ease;
    user-select: none;
}

.gov-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    scale: 1.1;
}

.gov-arrow.left { left: 20px; }
.gov-arrow.right { right: 20px; }

/* DOTS/INDICATORS (Optional but Recommended) */
.gov-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 101;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #fff;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
    .gov-slider {
        height: 350px; /* Slightly taller for better mobile presence */
    }

    .gov-arrow {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .gov-caption h2 {
        font-size: 18px;
    }
}