.about--content h2{
    max-width: 513px;
    font-size: 48px;
    color: #232938;
    margin-top: 5px;
}
.about--content h6{
    font-size: 15px;
    line-height: 2.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 400;
    color: #5b627d;
}
.about--content p{
    color: #5b627d;
    margin-top: 24px;
    max-width: 513px;
}
.about-us-img img{
    width: 500px;
    height: 460px;
    object-fit: contain;
}

/*built_wrapper__content*/
.built_wrapper__content h3{
    max-width: 513px;
    color: #232938;
    font-size: 44px;
    font-weight: 500;
}
.built_wrapper__parra p{
    max-width: 570px;
    margin-bottom: 1rem !important;
    font-size: 18px;
    line-height: 28px;
}
.about_bg{
    background-color: #F3F5FA;
}
.bulit--row{
    border-bottom: 2px solid #DDE1F0;
    padding-bottom: 80px;
}
.counter-row{
    margin-top: 80px !important;
}
.counter_box h3{
    color: #232938;
    font-size: 55px;
    font-weight: 500;
}
.counter_box p{
    color: #5b627d;
    font-size: 18px;
    margin-top: 10px;
    max-width: 334px;
}

.about-cta-box{
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 5px 14px rgba(26,27,34,.1),0 0 3px rgba(26,27,34,.06);
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 2rem;
    border-radius: 10px;
}
.about-cta-box-left h3{
    max-width: 557px;
    font-size: 24px;
    color: #232938;
}
.about-cta-box-left p{
    margin-top: 8px;
    color: #5b627d;
    font-size: 18px;
}
.history_heading{
    text-align: center;
}
.history_heading h2{
        font-size: 48px;
    line-height: 5.2rem;
    font-weight: 500;
    color: #232938;
}
.history_heading h3{
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #5b627d;
    font-size: 18px;
}
.history_heading p{
    max-width: 800px;
    margin-top: 24px;
    font-size: 16px;
    color: #5b627d;
    margin: 0 auto;
}
.custom-tabs-wrapper{
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}
.tabs--flex .nav{
    display: block !important;
}
.custom-tab-content{
    text-align: center;
}
.custom-tab-btn{
    margin-bottom: 20px !important;
}
.custom-tab-btn{
    color: #5b627d;
    border: 1px solid transparent !important;
    width: 90px;
    height: 75px;
    border-radius: .8rem !important;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*.custom-tab-pane{*/
/*    display: none;*/
/*}*/
/*.custom-tab-pane.active{*/
/*    display: block;*/
/*}*/

.custom-tab-pane {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
    position: absolute; /* optional: avoid layout shift */
    /*width: 100%;*/
}

.custom-tab-pane.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}
.custom-tab-btn.active{
    background: #fff !important;
    border: 1px solid #ccc !important;
    border-radius: .8rem !important;
    color: #374054 !important;
    box-shadow: 0 .5rem 1.4rem rgba(26,27,34,.16),0 0 .3rem rgba(26,27,34,.08) !important;
}
.story_content h3{
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    color: #374054;
    text-align: center;
    margin-top: 40px;
}
.story_content p{
    max-width: 798px;
    color: #5b627d;
    margin-top: 10px !important;
    margin: 0 auto;
    font-size: 18px;
    text-align: center;
}
.story_content__img img{
    width: 637px;
    border-radius: 10px;
}





















.about_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about_content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.about_content h3 {
    font-size: 44px;
    text-transform: capitalize;
    color: var(--main-color);
}
.custom-tab-buttons button{
    background-color: transparent !important;
}
.about_content p {
    margin-top: 1rem;
    font-size: 18px;
    line-height: 30px;
}

.mission-vision {
    border-top: 1px solid #ccc;
}

.mission-vision-box {
    border: 1px solid #ccc;
    padding: 2rem;
    border-radius: 10px;
    transition: .3s ease all;
    text-align: center;
}

.mission-vision-box:hover {
    background-color: var(--main-color);
    color: #fff;
    transform: translateY(-5px);
    transition: .3s ease all;
}

.mission-vision-box h3 {
    font-size: 34px;
    margin: 1rem 0 !important;
    text-transform: capitalize;
}

.mission-vision-box p {
    font-size: 18px;
    line-height: 30px;
}

.mission-vision-box img {
    animation: popup 2s infinite;
}


    
   
@media(max-width:1440px){
    
    .main-body .row,    .main-body .history_wrapper__content{
        max-width: 1140px;
        margin: 0 auto;
    }
        .main-body .row{
          margin-left: 0 !important;
          margin-right: 0 !important;
           padding-left: 0 !important;
           padding-right: 0 !important;
       }
    .about--content h2{
        max-width: 400px;
        font-size: 38px;
    }
    .about-us-img{
        display: flex;
        justify-content: end;
    }
    .built_wrapper__content h3 {
        font-size: 34px;
        max-width: 475px;
        
    }   
    .history_heading h2 {

        font-size: 38px;
    }
    .counter_box h3 {
    font-size: 40px;
            
    }
}

@media(max-width:992px) {
    .custom-tabs-wrapper {
        gap: 2rem;
    }
    .about-us-img img{
        width: 100%;
        height: auto;
    }
    .counter_box p{
        font-size: 16px;
    }
    .counter_box h3{
        font-size: 32px;
    }
    .about-us-img{
        margin-top: 30px;
    }
    .about--content h2,.built_wrapper__content h3,.built_wrapper__parra p{
        max-width: 100%;
    }
    .built_wrapper__parra p{
        margin-bottom: 0 !important;
        margin-top: 1rem;
    }
    .counter-row{
        margin-top: 40px !important;
    }
    .about--content p{
        max-width: 100%;
    }
    .bulit--row {
    
        padding-bottom: 40px;
    }
    .mission-vision-box {
        margin-bottom: 1rem;
    }

    .about_content {
        margin-top: 1rem;
    }

}

@media(max-width:768px) {
    .about--content{
        text-align: center;
    }
    .about--content p{
        margin-top: 24px !important;
    }
        .about--content h2,.built_wrapper__content h3,.counter_box h3 {
            font-size: 26px;
            text-align: center;
        }
        .counter_box p,.about-cta-box-left{
            max-width: 100%;
            text-align: center;
        }
        .about-cta-box-btn{
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
        }
        .about-cta-box-left h3{
            font-size: 20px;
        }
        .about-cta-box{
            padding: 20px;
        }
        .counter_box{
            margin-bottom: 45px;
        }
        .about-office{
            margin-top: 40px;
        }
        .bulit--row{
            padding-bottom: 25px;
        }
        .counter-row{
            margin-top: 25px !important;
        }
        .story_content h3{
            font-size: 20px;
            margin-top: 10px;
        }
        .custom-tab-btn{
            width: 75px;
            height: 45px;
        }
        .about--content .myBtn{
            margin-top: 34px !important;
        }
        .about--content .myBtn a{
            width: 100%;
            display: block;
            border-radius: 7px;
            padding: 8px 12px;
        }
        .history_heading h2{
            font-size: 30px;
            line-height: 4rem;
        }
        .about--content p,.built_wrapper__parra p,.story_content p{
            margin-top: 7px;
            line-height: 22px;
            font-size: 14px;
            text-align: center;
        }
    .mission-vision-box {
        padding: 1rem;
    }

    .mission-vision-box h3,
    .about_content h3 {
        font-size: 20px;
    }

    .mission-vision-box p,
    .about_content p {
        font-size: 15px;
        line-height: 25px;
    }

}

@media(max-width:576px){
    .custom-tabs-wrapper{
        flex-direction: column;
    }
    .custom-tab-buttons{
        display: flex;
        gap: 12px;
    }
    .custom-tab-btn{
        margin-bottom: 0 !important;
    }
    .history_heading h3{
        font-size: 16px;
    }
}

