*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-padding-top: 90px;
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #fff;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    overflow-y: auto;
}

/*Banner*/
#banner-container {
    position: relative;
    width: 100%;
    height:80vh;
    overflow: hidden;
}

#banner-slider{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active{
    opacity: 1;
}

.banner-img{
    position: absolute;
    right: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
}

/* About Section */
#about {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    max-width: 70%;
    margin: 0 auto;
}

#about-title {
    position: relative;
    text-align: center;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;
    padding-top: 1%;
    text-shadow: 2px 2px 2px #fff;
}

#about-desc{
    display: flex; 
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    gap: 5%;
}

@media (min-width: 768px){
    #about-title{
        margin-bottom: 3%;
    }
    
    #about-desc-text{
        flex: 2 1 47.5%;
        max-width: 60%;
        text-align: left;
        transform: translateX(30%);
        transition: all 0.5s ease;
        opacity: 30%;
    }

    #about-desc-text p{
        position: relative;
        display: flex;
        transition: ease-out .3s;
    }

    #about-img-wrapper{
        flex: 1 1 47.5%;
        max-width: 40%;
        transition: transform 0.5s ease-in, max-width 0.5s ease-in;
        /*transform: translateX(-55.26%);*/
        transform: translateX(-30%);
    }
    
    #about-img{
        position: relative;
        display: flex;
        height: auto;
        margin: 0 auto;
        z-index: 2;
        align-self: flex-start;
        animation: bobble 3s ease-out infinite;
        cursor: pointer;
    }
    @keyframes bobble {
        0%, 100% { transform: scale(0.95); }
        50%      { transform: scale(1.0); }
    }

    #about-desc.active #about-desc-text{
        flex: 1 1 47.5%;
        max-width: 47.5%;
        text-align: left;
        transform: translateX(0);
        opacity: 100%;
    }

    #about-desc.active #about-img-wrapper{
        max-width: 47.5%;
        transform: translateX(0);
    }
    
    #about-desc.active #about-img{
        animation: none;
    }
}

@media (max-width: 768px) {
    #banner-container{
        height: 65vh;
    }
    
    #about-desc {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #about-desc-text, #about-img {
        flex: 1 1 100%;
        max-width: 100%;
        height: auto;
        margin: 10px auto;
    }
}

#about-img img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border: solid 2px black;
    border-radius: 8px;
    box-shadow: 4px 4px 4px #000;
}