/* Slider Structural Container Rules */
.slider-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    margin-top: 80px; /* Aligns under the fixed navbar */
    overflow: hidden;
    background-color: #000;
}
.main-slider {
    width: 100%;
    height: 100%;
    position: relative;
}
.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}
.slide.active {
    opacity: 1;
    z-index: 2;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(10,29,55,0.85) 30%, rgba(0,0,0,0.2));
    z-index: 3;
    display: flex;
    align-items: center;
}
.slide-content {
    max-width: 800px;
    padding: 0 40px;
    color: #fff;
}
.slide-content h2 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.slide-content p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #f1f5f9;
}
.slide-ctrl {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 29, 55, 0.6);
    border: none;
    color: #fff;
    width: 50px; height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 4;
    transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.slide-ctrl:hover { background: var(--primary-red); }
.prev-btn { left: 20px; }
.next-btn { right: 20px; }
.slider-dots {
    position: absolute;
    bottom: 20px; left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex; gap: 10px;
}
.dot {
    width: 12px; height: 12px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}
.dot.active { background: var(--primary-red); transform: scale(1.2); }

@media (max-width: 768px) {
    .slider-wrapper { height: 350px; }
    .slide-content h2 { font-size: 1.75rem; }
    .slide-content p { font-size: 0.95rem; }
    .slide-ctrl { width: 40px; height: 40px; }
}