

/* Global reset for margins, padding, and box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



/* Container for the entire slider section including the title and slider itself */
.background {
    width: 100%; /* Sets the width to fill the available space */
    height: 100%; /* Sets the height to fill the available space */
    position: relative; /* Allows for absolute positioning of child elements */
    display: flex; /* Enables flexbox layout */
    flex-direction: column; /* Aligns items in a column (vertical stack) */
    justify-content: center; /* Centers content vertically */
    align-items: center; /* Centers content horizontally */
}

/* Styling for the title above the slider */
.slider-title {
    font-size: 4rem; /* Large font size for the title */
    margin-bottom: 20px; /* Space below the title */
    font-weight: 600; /* Semi-bold font weight */
}

/* Main container for the slider - this holds the images and navigation buttons */
.vslider-container {
    position: relative; /* Allows for absolute positioning of navigation buttons */
    width: 980px; /* Sets the slider width to 60% of the parent container */
    max-width: ; /* Maximum width for larger screens */
    overflow: hidden; /* Hides the overflow content (only one image is visible at a time) */
    border-radius: 10px; /* Rounds the corners of the slider */
		border: 2px solid #29313D;
    /*box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);  Adds a subtle shadow for depth */
}

/* Flexbox container that holds all the slides */
.vslider {
    display: flex; /* Enables flexbox layout to line up slides horizontally */
		height: 438px;
    transition: transform 0.4s ease-in-out; /* Smooth transition when sliding between images */
}

/* Each individual slide - takes up full width of the container */
.vslide {
    min-width: 100%; /* Each slide takes up 100% of the slider container's width */
    height: 408px; /* Fixed height for each slide */
    transition: transform 0.5s ease-in-out; /* Smooth transition when slides are changed */
}

.video-title {
	display: flex; 
	justify-content: center; 
	align-items: center; 
	margin-bottom: 0px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	background-color: #151A22; /* #424F63    #323B49*/
	border-radius: 0px 0px 0 0;
}


/* Ensures that images fill the slide area while maintaining aspect ratio */
.vslide video {
    width: 100%; /* Image width matches the slide width */
    height: 100%; /* Image height matches the slide height */
    object-fit: cover; /* Images are scaled to cover the entire slide, cropping if necessary */
    border-radius: 0 0 10px 10px; /* Rounds the corners of the images to match the slider */
}

/* Common styling for both previous and next navigation buttons */
.prevv, .nextv {
    position: absolute; /* Absolute positioning within the slider container */
    top: 50%; /* Centers the button vertically */
    transform: translateY(-50%); /* Offsets the button position by half its height */
    background-color: transparent ;/*rgba(0, 0, 0, 0.0)  Semi-transparent black background */
		font-size: 40px;
		font-weight: bold;
    color: white; /* White color for the arrow icons */
    border: none; /* Removes default button borders */
    width: 50px; /* Fixed width for the buttons */
    height: 90px; /* Fixed height for the buttons */
    cursor: pointer; /* Changes the cursor to pointer on hover */
    z-index: 10; /* Ensures buttons appear above the slider content */
    
    transition: background-color 0.3s ease; /* Smooth transition for background color on hover */
    display: flex; /* Enables flexbox for centering the arrow inside the button */
    justify-content: center; /* Centers arrow horizontally */
    align-items: center; /* Centers arrow vertically */
    padding: 0; /* Removes any default padding */
}

/* Positioning the previous button to the left */
.prevv {
		border-radius: 10px 0 0 10px;
    left: -50px; /* Positions the button 10px from the left edge */
		

}

/* Positioning the next button to the right */
.nextv {
    right: -50px; /* Positions the button 10px from the right edge */
		border-radius: 0 10px 10px 0;
}

/* Hover effect for navigation buttons */
.prevv:hover, .nextv:hover {
	color: #3AB937;
  background-color: #323B49;
}

/* Container for the dot indicators below the slider */
.vdots-container {
    margin-top: 20px; /* Space above the dots */
    display: flex; /* Enables flexbox layout for horizontal alignment */
    justify-content: center; /* Centers the dots horizontally */
    align-items: center; /* Centers the dots vertically */
}

/* Common styling for each individual dot */
.vdot {
    height: 14px; /* Fixed height for the dots */
    width: 14px; /* Fixed width for the dots */
    margin: 0 5px; /* Spacing between the dots */
    background-color: #3E4856; /* Semi-transparent white background */
    border-radius: 50%; /* Makes the dots round */
    display: inline-block; /* Ensures dots are inline */
    cursor: pointer; /* Changes cursor to pointer on hover */
    transition: background-color 0.3s ease; /* Smooth transition for background color on hover */
}

/* Styling for the active dot - indicates the current slide */
.active, .vdot:hover {
    background-color: #3AB937; /* Solid white background for the active dot */
}