.about-us-page {
    background-color: #fff;
    overflow: hidden;
    margin-top: 6rem;
    box-sizing: border-box;
}

/***** first-container *****/

.first-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* Ensures elements wrap on smaller screens */
    padding: 2rem;
}

.content-section {
    width: 50%;
    margin-left: 3rem;
}

.content-section h1 span {
    color: #4ebdff;
}

.content-section p {
    color: gray;
}

.image-section {
    width: 40%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.image-section img {
    width: 60%;
    height: 80vh;
    border: 1px solid #4ebdff;
    border-radius: 50% / 30%;
}

.project-section {
    width: 20%;
}

.project-section .project-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 3rem 7rem 3rem 0rem;
}

.project-content h2 {
    color: #4ebdff;
}

/***** Responsive first-container *****/

@media (max-width: 1024px) {
    .content-section h1 {
        font-size: 2.2rem;
        font-weight: 700;
        text-align: left;
        margin-bottom: 1rem;
    }

    .image-section img {
        height: 70vh;
    }

    .project-section .project-content {
        margin: 2rem 3rem 2rem 0rem;
        font-weight: 600;
    }
}

@media (max-width: 768px) {
    .content-section h1 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }

    .content-section p {
        font-size: 0.8rem;
    }

    .image-section {
        margin: 3% rem 0 0 0;
        width: 35%;
    }

    .project-content h2 {
        font-size: 1.3rem;
    }

    .project-content p {
        font-size: 0.7rem;
    }
}

@media (max-width: 425px) {
    .first-container {
        flex-direction: column;
    }

    .content-section {
        width: 100%;
    }

    .content-section h1 {
        font-size: 2rem;
    }

    .content-section p {
        margin-right: 2.5rem;
    }

    .image-section {
        width: 100%;
    }

    .image-section img {
        width: 80%;
    }

    .project-section {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
        margin-left: 2.5rem;
    }

    .project-content h2 {
        font-size: 1.5rem;
    }

    .project-content p {
        font-size: 0.7rem;
    }
}

/***** second-container *****/

.second-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5rem;
}

.our-contents {
    background-color: #ebf7ff;
    border-radius: 100%;
    text-align: center;
    height: 70vh;
    flex-direction: column;
    margin: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(235, 247, 255, 0.8);
}

.our-contents h2 {
    color: #4ebdff;
    font-weight: 600;
    margin-top: 2rem;
    position: relative;
    display: inline-block;
}

.our-contents h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #4ebdff;
    position: absolute;
    left: 0;
    bottom: -0.6rem;
}

.our-contents p {
    padding: 1.6rem;
}

/***** Responsive second-container *****/

@media (max-width: 1024px) {
    .our-contents {
        height: 60vh;
        margin: 1rem;
        padding: 1.5rem;
    }

    .our-contents h2 {
        font-size: 1.7rem;
        margin-top: 1.5rem;
    }

    .our-contents p {
        font-size: 0.9rem;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .our-contents {
        height: 65vh;
        margin: 0.5rem;
        padding: 1.2rem;
    }

    .our-contents h2 {
        font-size: 1.4rem;
        margin-top: 1rem;
    }

    .our-contents p {
        font-size: 0.72rem;
        padding: 0.8rem;
    }
}

@media (max-width: 425px) {
    .second-container {
        flex-direction: column;
        margin-top: 0rem;
    }

    .our-contents {
        height: 65vh;
        margin: 1rem;
        padding: 1.2rem;
    }

    .our-contents h2 {
        font-size: 2rem;
        margin-top: 1rem;
    }

    .our-contents p {
        font-size: 0.9rem;
        padding: 1.3rem;
    }
}

/***** third-container *****/

.third-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 7rem;
}

.who-we-are {
    width: 50%;
    margin: 1.5rem;
    padding: 1rem;
}

.who-we-are h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
    display: inline-block;
    position: relative;
}

.who-we-are h1::before {
    content: "";
    display: block;
    width: 70%;
    height: 3px;
    background-color: #4ebdff;
    position: absolute;
    bottom: -6px;
    left: 0;
}

.who-we-are h1::after {
    content: "";
    display: block;
    width: 3rem;
    height: 3rem;
    border-bottom: 3px dotted #4ebdff;
    position: absolute;
    bottom: -6px;
    left: 100px;
    margin-left: 50px;
}

.who-we-are-img {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.who-we-are-img .img01 {
    width: 45%;
    height: 80vh;
    border: 1px solid #4ebdff;
    border-radius: 60% / 30%;
}

.who-we-are-img .img02 {
    width: 25%;
    border-radius: 100%;
    border: 1px solid #4ebdff;
    position: absolute;
    left: 2rem;
}

.who-we-are-img .img03 {
    width: 30%;
    border-radius: 100%;
    border: 1px solid #4ebdff;
    position: absolute;
    right: 2.5rem;
    top: -2.5rem;
}

.who-we-are-img .img04 {
    width: 25%;
    height: 30%;
    border-radius: 100%;
    border: 1px solid #4ebdff;
    position: absolute;
    right: 6rem;
    bottom: 0rem;
}

/***** Responsive third-container *****/

@media (max-width: 1024px) {
    .who-we-are-img .img01 {
        height: 70vh;
    }

    .who-we-are-img .img02 {
        width: 30%;
    }

    .who-we-are-img .img03 {
        right: 2.5rem;
        top: 0rem;
    }

    .who-we-are-img .img04 {
        width: 30%;
        right: 4rem;
    }
}

@media (max-width: 768px) {
    .third-container {
        flex-direction: column;
        margin-top: 1rem;
        padding: 1rem;
    }

    .who-we-are {
        width: 100%;
    }

    .who-we-are p {
        font-size: 0.9rem;
    }

    .who-we-are-img {
        width: 100%;
    }

    .who-we-are-img .img01 {
        width: 40%;
        height: 90vh;
    }

    .who-we-are-img .img02 {
        width: 25%;
        left: 4rem;
    }

    .who-we-are-img .img03 {
        width: 25%;
        right: 6rem;
        top: -2.5rem;
    }

    .who-we-are-img .img04 {
        width: 20%;
        height: 30%;
        right: 9rem;
    }
}

@media (max-width: 425px) {
    .who-we-are h1 {
        font-size: 2rem;
    }

    .who-we-are h1::after {
        left: 80px;
    }

    .who-we-are p {
        font-size: 0.8rem;
    }

    .who-we-are-img .img01 {
        height: 60vh;
    }

    .who-we-are-img .img02 {
        left: 2rem;
    }

    .who-we-are-img .img03 {
        right: 4rem;
        top: 0rem;
    }

    .who-we-are-img .img04 {
        width: 25%;
        height: 30%;
        right: 5rem;
    }
}

/***** fourth-container *****/

.fourth-container {
    margin: 5% 0%;
}

.fourth-container h1 {
    margin: 3%; 
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    display: inline-block;
    position: relative;
}

.fourth-container h1::before {
    content: "";
    display: block;
    width: 50%;
    height: 3px;
    background-color: #4ebdff;
    position: absolute;
    bottom: -6px;
    left: 0;
}

.fourth-container h1::after {
    content: "";
    display: block;
    width: 3rem;
    height: 3rem;
    border-bottom: 3px dotted #4ebdff;
    position: absolute;
    bottom: -6px;
    left: 100px;
    margin-left: 100px;
}

.containers {
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner-fourth-container {
    display: flex;
    width: 95%;
    border: 1px solid gray;
    border-radius: 0.5rem;
}

.inner-fourth-container img {
    display: none;
}

.heading-container {
    width: 30%;
    border-right: 1px solid gray;
}

.heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0rem 2rem;
    box-sizing: border-box;
    margin-top: 1rem;
    cursor: pointer;
}

.heading.active {
    background-color: #4ebdff;
    color: #ebf7ff;
    height: 4rem;
}

.heading:hover {
    background-color: #4ebdff;
    color: #ebf7ff;
    height: 4rem;
}

.heading h2 {
    font-size: 1.5rem;
}

.desc-container {
    width: 70%;
    padding: 1.5rem;
}

.description h2 {
    margin-bottom: 1rem;
}

.inner-description {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.inner-description img {
    border-radius: 0.5rem;
    display: block;
}

.service-description{
    font-size: 1.1rem;
}

.ul-container {
    display: flex;
    gap: 5rem;
    margin-top: 2rem;
}

.ul-container ul {
    list-style: disc;
    padding-left: 1.5rem;
    font-weight: 600;
}

.ul-container ul li:hover {
    color: #4ebdff;
    font-weight: bold;
}

.ul-container li a {
    text-decoration: none;
    font-size: 0.9rem;
}

/***** Responsive fourth-container *****/

@media (max-width: 1024px) {
    .heading {
        font-weight: bold;
    }

    .heading h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .heading-container {
        width: 40%;
    }

    .inner-fourth-container img {
        display: block;
        padding: 15%;
    }

    .desc-container {
        width: 60%;
        padding: 1rem;
    }

    .inner-description {
        flex-direction: column;
    }

    .inner-description p {
        font-size: 0.9rem;
    }

    .inner-description img {
        display: none;
    }

    .ul-container {
        margin-top: 0rem;
        gap: 1rem;
    }

    .ul-container ul {
        list-style: disc;
        padding-left: 1.2rem;
        font-weight: 600;
    }

    .ul-container li a {
        font-size: 0.6rem;
    }
}

@media (max-width: 425px) {
    .fourth-container h1 {
        font-size: 2rem;
    }

    .fourth-container h1::after {
        content: "";
        display: block;
        width: 3rem;
        height: 3rem;
        border-bottom: 3px dotted #4ebdff;
        position: absolute;
        bottom: -6px;
        left: 100px;
        margin-left: 65px;
    }

    .containers {
        flex-direction: column;
    }

    .inner-fourth-container {
        flex-direction: column;
    }

    .inner-fourth-container img {
        display: none;
    }

    .heading-container {
        width: 100%;
        border-right: 0px;
        border-bottom: 1px solid gray;
    }

    .desc-container {
        width: 100%;
    }

    .inner-description p {
        font-size: 0.8rem;
    }

    .inner-description img {
        display: block;
        padding: 0rem;
    }

    .ul-container {
        margin-top: 1rem;
    }

    .ul-container ul li a {
        font-size: 0.6rem;
    }
}

/***** fifth-container *****/

.fifth-container {
    background-color: #ebf7ff;
    padding: 2rem 0;
}

.fifth-container h1 {
    text-align: center;
    font-size: 1.7rem;
    padding: 1rem 2rem;
}

.inner-fifth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.inner-containers {
    display: flex;
    flex-direction: column; 
    gap: 1.5rem;
    width: 90%;
    max-width: 600px; 
}

.inner-contents {
    background-color: #fff;
    padding: 1rem;
    border: 1px solid #d1e7f7;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.inner-contents h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
    padding: 0.5rem;
    background-color: #f0f8ff;
    border-radius: 5px;
}

.inner-contents p {
    text-align: center;
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
    padding: 0.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease-in-out, opacity 0.8s ease-in-out;
    opacity: 0;
}


.inner-contents.active p {
    max-height: 200px; 
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fifth-container h1 {
        font-size: 1.3rem;
    }

    .inner-containers {
        width: 95%;
    }

    .inner-contents h2 {
        font-size: 1.1rem;
    }

    .inner-contents p {
        font-size: 0.9rem;
    }
}

@media (max-width: 425px) {
    .fifth-container {
        padding: 1rem;
    }

    .fifth-container h1 {
        font-size: 1.1rem;
    }

    .inner-contents h2 {
        font-size: 1rem;
    }
}
