a:link{
    text-decoration: none;
}
/* Reset padding and margin for main container */
.site-main {
    padding: 0 !important;
    margin: 0;
    box-sizing: border-box;
}
.slide-content div{
    width: 100%;
    text-align: center;
}
.view-div{
    width: 100%;
    text-align: center;
}
/* Navigation button styling */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid #8BD005;
    background-color: transparent;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1.5rem;
}

.nav-btn:hover {
    background-color: #0F112A;
    color: white;
}

.prev-btn {
    border: 1px solid #0F112A;
    background-color: transparent;
    left: 10px;
    font-weight: 900;
}

.next-btn {
    border: 1px solid #0F112A;
    background-color: transparent;
    right: 10px;
    font-weight: 900;
}

/* RESPONSIVE DESIGN */

/* Slider container */
.slider-container {
    width: 100vw;
    height: 100vh; /* Full height of viewport */
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    margin: 0;
}

/* Slides wrapper */
.slides-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    width: 100%;
}

/* Individual slide */
.slide {
    display: flex;
    width: 100vw;
    height: 100%;
    flex-shrink: 0;
}

/* Text content */
.slide-content {
    width: 50%;
    padding: 20px;
    background-color: #15244b;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    box-sizing: border-box;
    text-align: center;
}
.slide-content div h2 {
    color: white;
    font-weight: 600;
    font-size: 1.8rem; /* Reduced size */
    margin-bottom: 10px;
}

.slide-content ul {
    font-size: 1rem; /* Smaller font for list items */
    line-height: 1.5; /* Improved readability */
}

.view-details-btn {
    padding: 8px 16px;
    background-color: #8BD005;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    width: fit-content;
    font-size: 0.9rem; /* Smaller font size for button */
}
.view-details-btn:hover{
    background-color: #0F112A;
    color: white;
}
/* Image section */
.slide-image {
    width: 50%;
    background-size: cover;
    background-position: center;
    height: 100%;
}



/* For tablets */
@media (max-width: 768px) {
    .slide {
        flex-direction: column;
    }

    .slide-content div h2 {
        font-size: 0.9rem; /* Adjust headline size for readability */
    }

    .slide-content {
        text-align: center;
        width: 100%;
        padding: 10px;
        align-items: center; /* Center align for mobile */
    }

    .slide-image {
        width: 100%;
        height: 50%;
    }

    .animated-item{
        font-size: 0.7rem;
    } 

    .nav-btn {
        font-size: 1.2rem;
    }
}

/* For mobile phones */
@media (max-width: 480px) {
    .slide {
        flex-direction: column; /* Stack content vertically */
    }

    .animated-item{
        font-size: 0.7rem;
    } 
    .slide-content {
        width: 100%; /* Full width */
        text-align: center; /* Center-align text */
        padding: 15px; /* Add padding for better readability */
    }

    .slide-image {
        width: 100%; /* Full width */
        height: 50%; /* Maintain aspect ratio */
        min-height: 200px; /* Set a minimum height for visuals */
    }

    .slide-content div h2 {
        font-size: 0.9rem; /* Adjust headline size for readability */
    }

    .view-details-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .nav-btn {
        font-size: 1rem; /* Adjust size of navigation buttons */
    }
}