/* Custom Slider Wrapper */
.custom-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background-color: #eee;
    padding: 0;
    overflow: hidden;
}

/* Custom Slider Container */
.custom-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

/* Individual Slide */
.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    z-index: 1;
}

.slider-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
}

.slide-content {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    box-sizing: border-box;
    max-width: 100%;
}

/* Slide 1 Styles */
.slide-images {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 2;
}

.slide-image-1 {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
    opacity: 0;
    animation: fadeInUp 0.7s ease-in-out 1.7s forwards;
}

.slide-image-2 {
    position: absolute;
    top: 4px;
    right: 150px;
    z-index: 6;
    opacity: 0;
    animation: fadeInUp 0.7s ease-in-out 1.4s forwards;
}

.slide-image-1 img,
.slide-image-2 img {
    max-width: 100%;
    height: auto;
}

.slide-text {
    position: relative;
    z-index: 10;
    max-width: 600px;
    /* margin-left: 25px;
    padding-left: 80px; */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.slide-2-text {
    /* margin-left: 30px;
    margin-top: 25px;
    padding-left: 80px; */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.slider-heading {
    font-weight: 400;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    margin-bottom: 20px;
    line-height: 1.2;
}

.heading-1 { font-size: 60px; opacity: 0; animation: fadeIn 0.5s ease-in-out 1.97s forwards; }
.heading-2 { font-size: 40px; opacity: 0; animation: fadeIn 0.5s ease-in-out 2.15s forwards; }
.heading-3 { font-size: 70px; margin-bottom: 15px; opacity: 0; animation: slideInRight 1s ease-in-out 2.9s forwards; text-align: left; width: 100%; }
.heading-4 { font-size: 60px; margin-bottom: 30px; opacity: 0; animation: slideInUp 1s ease-out 3s forwards; text-align: left; width: 100%; }

.slider-title {
    font-size: 17px;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out 2.6s forwards;
}

.slider-title strong {
    color: #fff;
    text-shadow: 2px 15px 15px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.6), 2px 2px 3px rgba(0, 0, 0, 1);
}

.slide-line { opacity: 0; animation: fadeIn 0.3s ease-in-out 2.5s forwards; margin-bottom: 20px; }
.slide-line img { max-width: 100%; height: auto; }

/* .service-links { margin-bottom: 30px; } */
.service-link {
    display: block;
    padding: 5px 8px;
    margin-bottom: 5px;
    background-color: black;
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    font-weight: 400;
    white-space: nowrap;
    opacity: 0;
    width: fit-content;
    min-width: 200px;
}
.service-link:nth-child(1) { animation: slideInRight 1s ease-in-out 3.5s forwards; }
.service-link:nth-child(2) { animation: slideInRight 1s ease-in-out 3.6s forwards; }
.service-link:nth-child(3) { animation: slideInRight 1s ease-in-out 3.7s forwards; }
.service-link:nth-child(4) { animation: slideInRight 1s ease-in-out 3.8s forwards; }
.service-link:nth-child(5) { animation: slideInRight 1s ease-in-out 3.99s forwards; }

.slider-btn {
    font-family: Raleway, sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
    box-sizing: border-box;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.slider-btn.Sports-Button-Light {
    background-color: #23729a;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    /* margin-top: 20px; */
    opacity: 0;
    animation: scaleIn 0.67s ease-out 3.04s forwards;
    border: none;
    border-radius: 25px;
    padding: 0 30px;
}

.slider-btn.Sports-Button-Red {
    display: inline-block;
    padding: 12px 35px;
    background-color: #23729a;
    border: 2px solid #23729a;
    color: #fff;
    font-weight: 900;
    font-size: 17px;
    text-transform: uppercase;
    /* margin-top: 10px; */
    opacity: 0;
    animation: fadeIn 1.01s ease-in-out 4.18s forwards;
}

/* Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #40b3f1 !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-nav:hover {
    background: rgba(64, 179, 241, 1) !important;
    color: #fff !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Pagination Dots */
.slider-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* Progress Bar */
.slider-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 5px;
    background-color: #23729a;
    z-index: 10;
    transition: width 0.1s linear;
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInUp { from { opacity: 0; transform: translateY(100px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }

/* Responsive */
@media (max-width: 1024px) {
    .custom-slider { height: 550px; }
    .slide-text, .slide-2-text { 
      /* padding-left: 65px;  */
      max-width: 500px; 
      /* margin-left: 20px;  */
    }
    .heading-1 { font-size: 50px; } .heading-2 { font-size: 35px; }
    .heading-3 { font-size: 60px; } .heading-4 { font-size: 50px; }
}

@media (max-width: 768px) {
    .custom-slider { height: 500px; }
    .slide-text, .slide-2-text { 
      /* margin-left: 10px !important; 
      padding-left: 55px !important;  */
      max-width: calc(100% - 20px) !important; 
    }
    .heading-1 { font-size: 40px !important; white-space: normal !important; }
    .heading-2 { font-size: 30px !important; white-space: normal !important; }
    .heading-3 { font-size: 45px !important; white-space: normal !important; }
    .heading-4 { font-size: 35px !important; white-space: normal !important; }
    .slide-images { display: none; }
    .slider-nav { width: 45px; height: 45px; font-size: 20px; }
    .slider-prev { left: 10px; }
    .slider-next { right: 10px; }
    .slider-pagination { bottom: 20px; }
}

@media (max-width: 480px) {
    .custom-slider { height: 450px; }
    .slide-text, .slide-2-text { 
      margin-left: 5px !important; 
      /* padding-left: 50px !important;  */
    }
    .heading-1 { font-size: 32px !important; } .heading-2 { font-size: 24px !important; }
    .heading-3 { font-size: 36px !important; } .heading-4 { font-size: 28px !important; }
    .slider-btn.Sports-Button-Light { height: 45px; font-size: 14px; }
    .slider-btn.Sports-Button-Red { padding: 10px 25px; font-size: 14px; }
    .slider-nav { width: 40px; height: 40px; font-size: 18px; }
    .slider-prev { left: 5px; }
    .slider-next { right: 5px; }
}