body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
    color: rgba(15, 23, 42, 1);
    max-width: 100%;
    overflow-x: hidden;
    /* Prevents horizontal scrolling */
}

.about-section {
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
}

.title {
    font-weight: 700;
    font-size: 64px;
    line-height: 1.2;
    margin: 5px 33px;
    text-align: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 100%;
}

.box-text3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 35px;
    color: rgba(38, 38, 38, 1);
    text-align: center;
    padding-bottom: 32px;
}

.highlight-box {
    width: 90%;
    max-width: 275px;
    height: auto;
    padding: 24px;
    background-color: rgba(245, 245, 245, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.box-text {
    font-weight: 600;
    font-size: 24px;
    line-height: 1.5;
    color: rgba(42, 42, 42, 1);
    text-align: center;
}

.description {
    width: 90%;
    max-width: 976px;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(71, 85, 105, 1);
    text-align: center;
    font-family: 'Inter', sans-serif;
}

/* Second Section Styles */
.second-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 50px;
    max-width: 100%;
    justify-content: center;
}

.big-image {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    width: 100%;
    /* Adjust as needed for responsive design */
}

.info-box {
    width: 90%;
    max-width: 528px;
    height: auto;
    background-color: rgba(255, 189, 89, 0.2);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin-top: 24px;
}

.info-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28.8px;
    color: rgba(38, 38, 38, 1);
    text-align: center;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
        gap: 20px;
    }

    .description {
        text-align: left;
    }

    .second-section {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        gap: 20px;
    }

    .big-image,
    .info-box {
        width: 50%;
    }

    .info-box {
        margin-top: 24px;
    }

    .info-text {
        text-align: left;
    }
}

/* Third Section Styles */
.third-section {
    position: relative;
    width: 100%;
    /* height: 700px; */
    padding-top: 50px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* align-items: center; */
    justify-content: space-between;
    padding: 50px;
    box-sizing: border-box;
}

.box {
    width: 416px;
    height: 619px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    /* position: absolute;*/
}

.box-icon {
    width: 40px;
    /* Adjust the size as needed */
    height: auto;
    margin-bottom: 16px;
    /* Space between icon and title */
    margin-right: 72%;
}

.box-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 24px;
    color: rgba(0, 72, 76, 1);
    margin-bottom: 16px;
    /* Space between title and text */
    margin-right: 51%;
}

.box-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 35px;
    color: rgba(38, 38, 38, 1);
    text-align: center;
    padding-bottom: 32px;
}

.box-text2 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 35px;
    color: rgba(38, 38, 38, 1);
    text-align: center;
    padding-bottom: 135px;
}


.first-box {
    background-color: rgba(255, 189, 89, 0.2);
    /* top: 114px; */
    /* left: 64px; */
    /* z-index: 1; */
    width: 30%;
    margin-top: 108px;
}

.sequence-image {
    width: 30%;
    height: 650px;
    /* position: absolute; */
    top: 45px;
    left: 36%;
    z-index: 2;
    object-fit: contain;
    margin-top: 36px;
}

.second-box {
    background-color: rgba(0, 72, 76, 0.05);
    /* position: absolute; */
    /* top: -4px; */
    /* left: 69%; */
    z-index: 3;
    width: 30%;
}

/* Base styles remain as they are */

@media (max-width: 1211px) and (min-width: 760px) {
    .third-section {
        flex-direction: row;
        /* Row direction to align boxes side by side */
        align-items: flex-start;
        justify-content: space-between;
        /* Space between the boxes */
        flex-wrap: wrap;
        /* Allow wrapping if necessary */
    }

    .sequence-image {
        width: 67%;
        margin: 25px 146px;
        order: 2;
        object-fit: contain;
    }

    .first-box,
    .second-box {
        width: 45%;
        /* Adjust the width of the boxes */
        margin: 20px;
        /* Add some margin for spacing */
        order: 1;
        /* Boxes above the image */
    }

    .box-text {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 24px;
        line-height: 35px;
        color: rgba(38, 38, 38, 1);
        text-align: center;
        padding-bottom: 102px;
    }
}

@media (max-width: 759px) {
    .third-section {
        flex-direction: column;
        align-items: center;
    }

    .first-box,
    .sequence-image,
    .second-box {
        width: 100%;
        margin: 10px 0;
        height: 82%;
    }
}

.history-section {
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: left;
    max-width: 100%;
    background-color: white;
    /* Normal white background */
}

.history-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 74.4px;
    color: rgba(42, 42, 42, 1);
    margin-right: 50%;
    margin-bottom: 20px;
    /* margin-left: 19px; */
}

.history-highlight {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 41px;
    color: rgba(42, 42, 42, 1);
    margin-right: 36%;
    margin-bottom: 20px;
    text-align: left;
    /* margin-left: 19px; */
}

.history-content {
    width: 90%;
    max-width: 1312px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 35px;
    color: rgba(38, 38, 38, 1);
    text-align: left;
    margin-bottom: 20px;
}

.history-benefits {
    width: 86%;
    /* max-width: 100%; */
    padding: 20px;
    background-color: rgba(240, 240, 240, 1);
    border-radius: 8px;
    margin-bottom: 20px;

}

.history-benefits p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 35px;
    color: rgba(38, 38, 38, 1);
    margin: 0;
}

@media (max-width: 1311px) {
    .history-title {
        font-size: 36px;
        line-height: 56px;
        text-align: left;
        width: 49%;
        /* margin-left: 46%;*/
    }

    .history-highlight {
        font-size: 28px;
        line-height: 36px;
        width: 100%;
    }

    .history-content,
    .history-benefits {
        width: 100%;
        padding: 20px;
        font-size: 16px;
        line-height: 24px;
    }

    .history-benefits {
        width: 100%;
        /* padding: 20px; */
        background-color: rgba(240, 240, 240, 1);
        border-radius: 8px;
        margin-bottom: 20px
    }
}

@media (max-width: 898px) and (min-width: 760px) {

    .first-box,
    .second-box {
        width: 90%;
        margin: 20px;
        order: 1;
    }
}

.content-wrapper {
    position: relative;
    z-index: 1;
    /* Ensure content is above the ::before element */
}

.content-wrapper::before {
    content: "";
    position: absolute;
    bottom: 0;
    /* left: 10%; */
    width: 100%;
    height: 77%;
    background-color: rgba(245, 245, 245, 1);
    z-index: -1;
}

@media (max-width: 991px) {
    .history-title {
        font-size: 36px;
        line-height: 56px;
        text-align: left;
        width: 100%;
        /*margin-left: 46%; */
    }
}
