*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.AboutHero0{
    background: url("./img/herobubble.png")no-repeat ;
    background-size: 70%;

}

body{
    overflow-x: hidden;
}

.AboutHero1{
    font-family: 'Montserrat', sans-serif;

    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 30vh;
    padding-left: 6rem;
    margin-bottom: 5rem;


}

.AboutHero1 h2{

    font-size: 4rem;
}

.AboutHero1 p{

    font-size: 1.5rem;
    margin-top: 2rem;

}

/* .ExpertSection{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ExpertSectionText{
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 1.4rem;
    text-align: center;
    max-width: 50%;
    margin-bottom: 10%;
} */


/* ============================ */
/* Main container */
.ExpertSection {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Liquid motion effect background for desktop (no animation on desktop) */
/* .ExpertSection::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(45deg, #6a5af9, #f06292, #36d1dc);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    z-index: -1; 
} */

/* Circle image without animation on desktop */
.ExpertSection img.CirclePngBrand {
    width: 490px;
    height: 490px;
    border-radius: 50%;
    border: 5px solid #000;
    margin-left: 40px;
    margin-bottom: 30px;
    margin-top: 30px;
    padding: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease;
}

/* Text styling for both desktop and mobile */
.ExpertSectionText {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 1.4rem;
    text-align: left;
    max-width: 50%;
    margin: 0;
    line-height: 1.6;
    animation: fadeInText 2s ease-in-out;
}

/* Fade-in text animation */
@keyframes fadeInText {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================ */


.lineExpert2{
    position: absolute;
    top: 0rem;
}

.missionSection{
    background-color: #151414;
    height: 50vh;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    padding: 2rem;
}


.missionSectionText{
    font-family: 'Montserrat', sans-serif;
    color: white;
    font-size: 1.5rem;
    max-width: 50%;
}


.missionSectionText h2{
    font-size: 1.5rem;
    background-color: #FFE23E;
    color: black;
    max-width: 10rem;
    text-align: center;
    margin: auto;
    margin-bottom: 1rem;
}

.OurPrinciples22{
    font-family: 'Montserrat', sans-serif;

}

.Principles22Container{
    margin: auto;
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    justify-items: center; /* center items horizontally */
    align-items: center;
    gap: 2rem;
    max-width: 80%;


}

.OurPrinciples22{
    margin-top: 3rem;
    margin-bottom: 3rem;
}


.SectionHeadAbout{
    text-align: center;
    margin: auto;
    background-color: #FFE23E;
    max-width: 12rem;
    font-size: 1rem;

}

.Principles22Item {
    display: flex;
    align-items: center;
    gap: 2rem;
}



.Principles22Item img{
    opacity: .72;
    height: 4rem;
    transition: opacity .5s;

}

.Principles22Item:hover img{
    opacity: 1;
}

.Principles22Item h2{
    font-size: 1rem;
    font-weight: bold;
}

.Principles22Item p{
    max-width: 22rem;
}

.cursor {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    width: 20px;
    height: 20px;
    background-image: url('./img/binoculars-icon.png');
    background-repeat: no-repeat;
    background-size: contain;
    visibility: hidden;
    /*transition: .4s;*/
}

@media (max-width: 768px) {

    .AboutHero0{
        background-size: 160%;
    }
    .AboutHero1{
        flex-direction: column;
        padding-left: 10%;
        padding-top: 20vh;
    }
    .AboutHeroImg img{
        display: none;
        width: 90%;
    }


    /* .ExpertSection{
        flex-direction: column;
    }
    .ExpertSection div{
    }
    .ExpertSection .CirclePngBrand{

    }

    .ExpertSectionText{
        max-width: 70%;
    } */


    /* ========================= */
    /* Apply flex column layout on mobile */
    .ExpertSection {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    .ExpertSection::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 200%;
        height: 100%;
        background: linear-gradient(45deg, #6a5af9, #d4f2b5, #36d1dc);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        z-index: -1; /* Keep it behind other content */
    }

    /* Liquid ripple and bounce effects only on mobile devices */
    .ExpertSection img.CirclePngBrand {
        width: 250px;
        height: 250px;
        margin-left: 0;
        margin-bottom: 20px;
        border: 3px solid #000;
        padding: 5px;
        animation: liquidRipple 6s infinite ease-in-out, liquidBounce 5s infinite alternate ease-in-out;
    }

    /* Keyframes for the bounce effect */
    @keyframes liquidBounce {
        0% {
            transform: scale(1) translateY(0);
        }
        50% {
            transform: scale(1.05) translateY(-15px);
        }
        100% {
            transform: scale(1) translateY(0);
        }
    }

    /* Keyframes for the ripple effect */
    @keyframes liquidRipple {
        0% {
            transform: scale(1) translateY(0);
            filter: blur(0px);
        }
        50% {
            transform: scale(1.02) translateY(-5px);
            filter: blur(3px);
        }
        100% {
            transform: scale(1) translateY(0);
            filter: blur(0px);
        }
    }

    /* Text styling on mobile */
    .ExpertSectionText {
        max-width: 90%;
        font-size: 1.2rem;
        margin-bottom: 20px;
        line-height: 1.8;
        text-align: center;
        padding: 0 10px;
    }

    /* ======================== */

    .missionSection{
        flex-direction: column;
        gap: 2rem;
    }

    .missionsectionItem:nth-child(1){
        order: 2;
    }

    .missionsectionItem:nth-child(2){
        order: 1;
    }
    .missionSection{
        height: unset;
        width: unset;
        padding: 3rem 0;
    }

    .missionsectionItem img{
        width: 90%;
    }
    .missionSectionText{
        min-width: 70%;

    }

    .SecWorkAtSurgeped{
        flex-direction: column;

        gap: 2rem;
    }

    .Principles22Container{
        grid-template-columns: 1fr;
    }
    .SecWhyUs{
        flex-direction: column;
        gap: 2rem;
    }
    .WhyUsText{
        padding: unset;

    }
}


