/* ============================================ 
 * INTRO SLIDER - Final Fixed Version
 * ============================================ */

/* Main Slider Container */
#introSlider { 
    margin: 0 auto 50px auto;
    width: 960px; 
    position: relative; 
    clear: both;
}

/* Container for slides */
.container { 
    width: 958px; 
    height: 539px; 
    border: #ccc 1px solid;
    border-top: 0;
    overflow: hidden; 
    position: relative;
}

/* Slides wrapper */
.slides { 
    position: absolute; 
    top: 0; 
    left: 0;
    width: 960px;
}

/* Individual slide */
.slides div { 
    width: 960px; 
    display: none;
    position: absolute; 
    top: 0; 
    left: 0;
}

/* Images in slides */
.slides img {
    border: none;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slide headings */
.slides h1 {
    color: #fff;
    text-align: left;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    font-size: 2.5em;
    position: absolute;
    top: 45px;
    left: 50px;
    margin: 0;
    z-index: 10;
}

/* Slide text content */
.slides p {
    width: 400px;
    color: #fff;
    text-align: left;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    font-size: 1.3em;
    line-height: 1.6;
    position: absolute;
    top: 110px;
    left: 50px;
    margin: 0;
    z-index: 10;
}

/* For slides with white backgrounds */
.slides p.onWhite, 
.slides h1.onWhite {
    color: #333;
    text-shadow: none;
}

/* Slider shadow at bottom */
#sliderShadow {
    width: 960px;
    height: 26px;
    position: relative;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* ============================================ 
 * SLIDER CONTROLS - Flexbox (no overflow, any number of dots)
 * ============================================ */

#sliderControls {
min-width: 90px;
height: 12px;
background-color: rgba(255,255,255,0.7);
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: 0 2px 5px #bbb;
-moz-box-shadow: 0 2px 5px #bbb;
box-shadow: 0 2px 5px #bbb;
padding: 5px;
position: absolute;
top: 550px;
left: 50%;
transform: translateX(-50%);
display: flex;
align-items: center;
justify-content: center;
z-index: 20;
}

/* Pagination dots container */
ul.pagination { 
    list-style-type: none; 
    padding: 0; 
    margin: 0;
    display: flex;
    gap: 8px;
}

ul.pagination li { 
    display: inline-block;
}

/* Pagination dot styling */
ul.pagination a {
    display: block;
    width: 12px;
    height: 12px;
    padding: 0;
    overflow: hidden;
    text-indent: -9999px;
    background-color: #ccc;
    border-radius: 50%;
    transition: all 0.3s ease;
}

ul.pagination a:hover {
    background-color: #999;
    transform: scale(1.1);
}

/* Active pagination dot */
ul.pagination li.active a {
    background-color: #b90068;
    transform: scale(1.2);
}

/* Previous / Next arrows */
a.previous, 
a.next { 
    display: block;
    width: 15px;
    height: 15px;
    text-indent: -9999px;
    overflow: hidden;
}

a.previous:hover,
a.next:hover {
    opacity: 0.7;
}

