body{
    background-color: #eaeaee;
    /* overflow: hidden; */
    overflow-x: hidden; 
    overflow-y: scroll;
    margin: 1px;
    font-family: "Poppins";
    display: flex;
    justify-content: center;
}

.all-container{
    display: flex;
    flex-direction: column;
    width: 100vw;
    background-color: rgb(244, 246, 246);
    margin: auto;
    overflow-x: hidden;
}

.main-container{
    position: relative;
    /* margin-top: -15px; */
    height: 93vh;
    width: 100%;
    /* padding: 50px; */
    background-color: #f5f5f5;
}

#slide{
    width: max-content;
    margin-top: 50px;    
}

.slide-content{
    width: 150px;
    height: 250px;
    background-position: 50% 50%;
    display: inline-block;
    transition: all 0.5s ease-in-out;
    background-size: cover;
    position: absolute;
    z-index: 1;
    top: 70%;
    transform: translate(0,-50%);
    border-radius: 20px;
    box-shadow: 0 30px 50px #505050;
    /* left: 0; */
}

.slide-1{
    background-image: url(../images/carousel-1-web.webp);
}

.slide-2{
    background-image: url(../images/carousel-2-web.webp);
}
.slide-3{
    background-image: url(../images/carousel-3-web.webp);
}


.slide-content:nth-child(1){
    left: 0;
    top: 0;
    transform: translate(0,0);
    border-radius: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    box-shadow: none;
}

.slide-content:nth-child(2){
    left: calc(63% + 100px);
    opacity: 1;
}

.slide-content:nth-child(3){
    left: calc(65% + 150px);
    opacity: 1;

}

.slide-content:nth-child(n+4){
    left: calc(67% + 250px);
}

.slide-content.active {
    left: 0;
    top: 0;
    transform: translate(0,0);
    border-radius: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    box-shadow: none;
}

.slide-content.active .slide-text{
    display: block;
    z-index: 1000;
}

.slide-text{
    position: absolute;
    top: 50%;
    left: 100px;
    width: 300px;
    text-align: left;
    padding: 0;
    color: #eee;
    transform: translate(0,-50%);
    display: none;
}

.slide-content:nth-child(1) .slide-text{
    display: block;
    z-index: 1000;
}

.slide-text .name {
    font-size: 52px;
    font-weight: 800;
    font-family: "Edu AU VIC WA NT Arrows", cursive;
    color: #fff;
    text-shadow: 10px 12px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    animation: showcontent 1s ease-in-out 1 forwards;
}

.slide-text .description {
    font-size: 24px;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    margin: 24px 0px;
    max-width: 600px;
    line-height: 1.4;
    opacity: 0;
    animation: showcontent 1.3s ease-in-out 0.3s 1 forwards;
}

.slide-text button {
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    animation: showcontent 1.3s ease-in-out 0.6s 1 forwards;
}

.slide-text button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.6);
}

.slide-text button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(255, 71, 87, 0.4);
}

@keyframes showcontent{
    from{
        opacity: 0;
        transform: translate(0,100px);
        filter: blur(33px);
    }to{
        opacity: 1;
        transform: translate(0,0);
        filter: blur(0);
    }
}

.slide-buttons {
    position: absolute;
    bottom: 30px;
    z-index: 2000;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.slide-buttons button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #bac383;
    color: white;
    border-color: #bac383;
    /* border: 2px solid rgb(55, 130, 216); */
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-buttons button:hover {
    background-color: #a5ba1d;
    color: white;
    border-color: #bac383;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.slide-buttons button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slide-buttons button i {
    font-size: 18px;
}

/* Add a subtle entrance animation when page loads */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-buttons {
    animation: fadeIn 0.8s ease-out forwards;
}
.partners-section{
    background: linear-gradient(145deg,#55a23e,#1baa7f, #006680 );
}

@media(max-width:800px){

    .main-container {
        position: relative;
        height: 94.5vh;
        width: 100%;
        background-color: #f5f5f5;
        margin-top: -11vh; /* This pulls the main container up under the nav */
        padding-top: 11vh; /* This creates space for the nav content */
    }

    .slide-text{
        left: 20px;
    }

    .slide-content:nth-child(2){
        display: none;
    }
    
    .slide-content:nth-child(3){
        display: none;    
    }
    
    .slide-content:nth-child(4){
        display: none;    
    }
    
    .slide-content:nth-child(n+5){
        display: none;

    }

    body{
        /* margin-right: -50px; */
        overflow-x: hidden;
    }
    

}
