/* Slider Wrapper Layout */
.custom-slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 500px;
    overflow: hidden;
    font-family: sans-serif;
}
.custom-slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}
.custom-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}
.custom-slide.active {
    opacity: 1;
    visibility: visible;
}

/* Slide 1 Specific Styling */
.slide-content-top {
    text-align: center;
    padding-top: 5px;
    z-index: 2;
}
.slide-content-top h2 {
	font-size: 40px;
	line-height: 50px;
	font-weight: 400;
	margin: 0 0 5px 0;
	color: #333;
}
.slide-content-top h1 {
	color: #000;
	font-size: 60px;
	line-height: 70px;
	text-align: center;
	display: block;
	font-weight: 600;
}
.slide-content-top p {
    font-size: 18px;
    color: #555;
    margin: 0 0 20px 0;
}
.slide-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 20px;
    z-index: 1;
}
.slide-image-container img {
    max-width: 90%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
}

/* Slide 2 Specific Styling */
.slide-content-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 10%;
    box-sizing: border-box;
    text-align: left;
    color: #ffffff;
}
.slide-content-overlay h1 {
    font-size: 55px;
    font-weight: 600;
    margin: 0 0 15px 0;
	color: #fff;
}
.slide-content-overlay p {
    font-size: 18px;
    max-width: 450px;
    line-height: 1.5;
    margin: 0 0 25px 0;
}

/* Global Button Styling */
.slider-btn {
    display: inline-block;
    background-color: #1a528f;
    color: #ffffff !important;
    padding: 12px 35px;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: background 0.3s ease;
	border: 0px solid #1a528f;
}
.slider-btn:hover {
    background-color: #ea5e2f;
	color: #fff !important;
}

/* Navigation Arrows */
.slider-arrow {
   position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    color: #000 !important;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    user-select: none;
    transition: color 0.3s;
    border-radius: 50px;
    height: 40px;
    width: 40px;
	
}
.slider-arrow:hover, .slider-arrow:focus {
    color: #000 !important;
	background: #fff;
}
.prev-arrow { left: 20px; }
.next-arrow { right: 20px; }

/* Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}
.slide-dot {
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}
.slide-dot.active-dot {
    background-color: #000000;
    border-color: #000000;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .custom-slider-container { height: 450px; }
    .slide-content-top h1, .slide-content-overlay h1 { font-size: 40px; line-height: 50px; }
	.slide-content-top h2 {
    font-size: 25px;
    line-height: 30px;
	}
    .slide-image-container img { max-height: 160px; }
	.custom-slide.active {
		 height: 450px;
	}
}
@media (max-width: 768px) {
    .custom-slider-container { height: auto; min-height: 400px; }
    .custom-slide { position: relative; display: none; padding: 20px 20px; }
    .custom-slide.active { display: flex; }
    .slide-content-overlay {         padding-left: 5%;
        padding-right: 2%;
        align-items: flex-start;
        text-align: left; }
    .slide-image-container img { max-height: 140px; }
	.slide-content-top h1, .slide-content-overlay h1 {
        font-size: 35px;
        line-height: 45px;
    }
	.prev-arrow {
    left: 5px;
}
	.next-arrow {
    right: 5px;
}
	.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    color: #000 !important;
    font-size: 15px;
    line-height: 12px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    user-select: none;
    transition: color 0.3s;
    border-radius: 50px;
    height: 30px;
    width: 30px;
}
/*     .slider-arrow { display: none; } */
}

@media (max-width: 767px) {
	.slide-content-overlay, .slide-content-top {
		display: none;
	}
	.custom-slide.active {
        height: 220px;
    }
	.custom-slider-container { height: auto; min-height: 220px; }
}