/* Ensure box-sizing is applied globally to prevent padding/margins from causing overflow */
* {
    box-sizing: border-box;
}

/* Prevent horizontal scrolling on the entire page */
body {
    overflow-x: hidden;
}

/* Notification Boxes (unchanged) */
.custom-notification-box {
    display: none;
}

.notification-box {
    display: none;
}

.footer-container {
    padding-top: 100px;
}

/* Section One (unchanged) */
.about-section-one {
    width: auto;
    height: auto;
    min-height: 500px;
    background: linear-gradient(80deg, rgba(34, 153, 170, 1) 0%, rgba(1, 12, 36, 1) 100%);
}

.about-section-one .about-molecule-one {
    width: 500px;
    height: 500px;
    position: absolute;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0px;
}

.about-section-one .about-molecule-two {
    width: 500px;
    height: 500px;
    position: absolute;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 0px;
    top: 170px;
}

.about-main {
    padding-top: 120px;
}

.about-main h1 {
    font-size: 67px;
    color: white;
}

.about-main p {
    color: white;
    font-weight: 300;
    line-height: 2;
}

.about-robot-image img {
    width: auto;
    height: 500px;
    margin-top: 20px;
}

/* Robot Animation (unchanged) */
.robot-animation {
    animation: float 3s ease-in-out infinite;
    display: block;
    margin: 0 auto;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Section Two */
.about-section {
    padding: 40px 0;
    background: #fff;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.image-container {
    position: relative;
    flex: 0 0 50%;
}

.building-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
}

.office-image {
    position: absolute;
    top: 20px;
    right: 0; /* Prevent overflow */
    width: 250px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.text-container {
    flex: 0 0 45%;
    padding: 20px;
    text-align: left;
}

.text-container h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.text-container span {
    color: #29ABC2;
}

.text-container p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
}

/* Section Two - Mobile View */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .image-container {
        position: static;
        width: 100%;
    }

    .building-image {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .office-image {
        position: static;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        top: 0;
        right: 0;
    }

    .text-container {
        padding: 0;
        text-align: justify;
    }

    .text-container h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 1920px) {
    .about-robot-image img{
        width: auto;
        height: 400px;
        margin-top: 20px;
    }
}

/* Section Two - Media Query for 1920px */
@media only screen and (max-width: 1920px) {
    .about-description-title h1 {
        font-size: 35px;
    }
    .about-description-title p {
        font-size: 14px;
    }
    .office-image {
        right: 0; /* Ensure no overflow at 1920px */
        width: 200px; /* Reduce size to prevent overflow */
    }
}

/* Section Three */
.about-section-three {
    width: auto;
    height: auto;
    min-height: 700px;
    background: linear-gradient(80deg, rgba(34, 153, 170, 1) 0%, rgba(1, 12, 36, 1) 100%);
    padding: 40px 0;
    position: relative;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

.robot-hand {
    position: relative;
    display: flex;
    align-items: flex-start;
    top: 74px;
}

.robot-hand img {
    width: 50px;
    height: 50px;
    margin: 10px;
}

.about-us-target h1 {
    font-size: 30px;
    color: white;
    margin-bottom: 10px;
}

.about-us-target p {
    font-size: 15px;
    text-align: justify;
    color: white;
    font-weight: 200;
    line-height: 2;
}

.about-section-three .robot-hand-image {
    position: absolute;
    bottom: -82px;
    left: 0;
    /* width: 80%; */
    max-width: 850px;
    z-index: 1;
    margin-left: -20px;
}

.about-section-three .vr {
    height: 369px;
    background-color: white;
    width: 4px;
    margin-top: 40px;
}
.paragraph{
    text-align: justify;
}

.about-us-mission {
    width: 100%;
}

.about-us-mission h1 {
    font-size: 30px;
    color: white;
    margin-bottom: 10px;
}

.about-us-mission i {
    margin: 5px;
    color: white;
}

.about-us-mission p {
    font-size: 15px;
    text-align: justify;
    color: white;
    font-weight: 200;
    line-height: 2;
    margin-left: 10px;
}

.about-us-mission-page {
    position: relative;
    justify-content: flex-end;
    top: 74px;
}

.about-us-mission-page img {
    width: 50px;
    height: 50px;
    margin: 10px;
}



/* Robot Hand Animation */
.robot-animation-hand {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Media Query for Larger Screens (up to 1920px) */
@media (max-width: 1920px) {
    .about-section-three {
        width: auto;
        height: auto; /* Ensure the section can grow */
        min-height: 750px;
        overflow: hidden; /* Prevent horizontal overflow */
    }
    .about-section-three .robot-hand-image {
        left: 20px;
        bottom: 20px;
        width: 35%;
        max-width: 350px;
    }
    .about-us-mission-page {
        justify-content: center;
        max-width: 100%; /* Prevent overflow */
        overflow-x: hidden; /* Ensure no horizontal overflow */
    }
    .about-us-mission p {
        max-width: 100%; /* Prevent text from overflowing */
    }
}

/* Responsive Styles for Mobile - Section Three */
@media (max-width: 768px) {
    .about-section-three {
        height: auto;
        padding: 20px 0;
        overflow-x: hidden;
    }

    .robot-hand {
        top: 20px;
        margin-left: 20px;
        flex-direction: column;
        align-items: center;
    }

    .robot-hand img {
        display: none;
    }

    .about-us-target h1 {
        font-size: 20px;
    }

    .about-us-target p {
        font-size: 14px;
        line-height: 1.5;
        text-align: center;
    }

    .about-section-three .robot-hand-image {
        display: none;
    }

    .about-section-three .vr {
        display: none;
    }

    .about-us-mission {
        margin-left: 20px;
        margin-right: 20px;
    }

    .about-us-mission h1 {
        font-size: 20px;
    }

    .about-us-mission p {
        font-size: 14px;
        width: 100%;
        line-height: 1.5;
        text-align: justify;
    }

    .about-us-mission-page {
        top: 20px;
        justify-content: center;
    }

    .about-us-mission-page img {
        display: none;
    }
}

/* Media Query for About Us */
@media screen and (max-width: 992px) {
    .about-section-one .custom-padding {
        padding-left: 10px;
        padding-right: 10px;
    }

    .about-robot-image img {
        width: auto;
        height: 229px;
        margin-top: 20px;
    }

    .about-section-one .container {
        max-width: 100%;
    }

    .about-section-one .about-molecule-one {
        display: none;
    }

    .about-section-one .about-molecule-two {
        display: none;
    }

    .about-main {
        padding-top: 38px;
    }

    .about-main p {
        text-align: justify;
        font-size: 13px;
        width: 100%;
    }

    .about-main h1 {
        font-size: 34px;
        text-align: center;
        margin-left: 0;
    }

    .about-main .home {
        text-align: center;
        margin-left: 0px;
        opacity: 50%;
    }
}