main {
    margin-top: 55px;
}
#carouselExampleControls {
    margin-top: 0 !important;
}
.strap-section {
    h2 {
        font-size: 2.4rem !important;
        font-weight: bold;
    }
}
.about-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-bg-m {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-content {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    background-color: #fffffb;
}
.about-content-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    img {
        max-width: 30%;
        width: 100%;
    }
}
.about-content-item:nth-child(even) {
    flex-direction: row-reverse;
}

.about-content-text {
    h1 {
        color: #ee114d;
        text-align: left;
        padding-bottom: 5px;
        text-transform: uppercase;
        margin: 0px;
        padding-top: 15px;
        padding-bottom: 15px;
        font-size: 30px;
        letter-spacing: 1.5px;
        font-weight: bold;
    }
    p {
        font-size: 1rem;
    }
}
.mobile-text {
    display: none;
}
.wrapped-text {
    display: none;
}
.wrapped-text.show {
    display: inline;
}
.text-wrapper {
    display: inline;
    font-size: 1rem;
    cursor: pointer;
    font-size: 14px;
    color: #007833;
    text-decoration: underline;
    font-style: italic;
    text-transform: capitalize;
}
/* --------- cards  */
.about-card {
    display: flex;
}
.about-card-item {
    flex: 1;
    width: calc(100% / 3);
    height: 450px;
    padding: 20px;
    background-color: #ee114d;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    /* gap: 40px; */
    a {
        color: inherit;
        text-decoration: none;
        border: white 1px solid;
        font-weight: 500;
        font-size: 1rem;
        text-transform: uppercase;
        padding: 5px;
        width: fit-content;
    }
}
.about-card-item.yellow {
    color: #007833;
    background: #ffe600;
    a {
        border: #007833 1px solid;
    }
}
.about-card-item.green {
    color: #fff;
    background: #007833;
}
.about-card-text {
    margin-top: 20px;
    h2 {
        font-size: 2rem;
        font-weight: bold;
        margin-top: 10px;
    }
}
.about-card.mobile {
    display: none;
}
/* --------- media queries --------- */
@media (max-width: 1200px) {
    .about-content {
        max-width: 970px;
    }
}
@media (max-width: 992px) {
    .about-content {
        max-width: 750px;
    }
}
@media (max-width: 768px) {
    main {
        margin-top: 60px;
    }
    .about-content-text {
        h1 {
            font-size: 20px;
            padding-top: 10px;
            padding-bottom: 10px;
        }
    }
    .about-card-item {
        justify-content: center !important;
    }
    .about-card-item {
        h2 {
            font-size: 22px;
        }
    }
    .about-card-img {
        margin: auto !important;
        width: 30% !important;
    }
}
@media (max-width: 650px) {
    .about-card.dekstop {
        display: none;
    }
    .about-card.mobile {
        display: block;
    }
    .about-card-item {
        width: 100%;
    }
}
@media (max-width: 576px) {
    .about-content-item:nth-child(even) {
        flex-direction: column;
    }
    .strap-section {
        h2 {
            font-size: 20px !important;
        }
    }
    .about-bg {
        display: none;
    }
    .about-bg-m {
        display: block;
    }
    .about-content-item {
        flex-direction: column;
        margin-bottom: 20px;
        img {
            max-width: 100%;
            width: 100%;
        }
    }
    .about-content-text {
        text-align: center;
        h1 {
            text-align: center !important;
            text-transform: capitalize;
        }
        p {
            font-size: 0.8rem;
        }
    }
    .mobile-text {
        display: block;
    }
    .dekstop-text {
        display: none;
    }
    .text-wrapper {
        display: inline-block;
    }
}
@media (max-width: 1130px) {
    .carousel-item {
        img {
            height: auto !important;
            object-fit: cover;
        }
    }
}

/* //carousel control */
.carousel-control-next {
    right: -10% !important;
}
.carousel-control-prev {
    left: -10% !important;
}

@media (min-width: 376px) {
    .carousel-control-next {
        right: -10% !important;
    }
    .carousel-control-prev {
        left: -9% !important;
    }
}
@media (min-width: 473px) {
    .carousel-control-next {
        right: -11.5% !important;
    }
    .carousel-control-prev {
        left: -9% !important;
    }
}
@media (min-width: 572px) {
    .carousel-control-next {
        right: -11% !important;
    }
    .carousel-control-prev {
        left: -9% !important;
    }
}
@media (min-width: 768px) {
    .carousel-control-next {
        right: -10% !important;
    }
    .carousel-control-prev {
        left: -10% !important;
    }
}
@media (max-width: 1130px) {
    .carousel-control-next {
        right: -50px;
    }
    .carousel-control-prev {
        left: -50px;
    }
}
