.inner_banner_mb {
    margin-bottom: 60px;
}
.inner_banner_about {
    margin-bottom: 0px;
    margin-top: 86px;
}
.about_banner {
    background-image: url(../images/aboutpage/about_banner.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
.inner_banner_title ul li,
.inner_banner_title ul li a {
    color: white;
    font-size: 16px;
    text-decoration: none;
}
.inner_banner_title ul li {
    display: inline-block;
}
.about_banner .inner_banner_title {
    display: inline-block;
    padding: 160px 0px 160px;
    position: relative;
    text-align: left;
}
.inner_banner_title h1 {
    color: white;
    font-size: 60px;
    margin-top: 5px;
    font-weight: 700;
}

/* about one section */
.about_sec_one {
    position: relative;
    overflow: hidden;
    padding: 60px 0px;
}

.about_sec_one h4,
.undertakes_service_sec h4 {
    font-size: 30px;
    font-weight: 800;
    color: #fe0002;
}
.about_sec_one h5,
.undertakes_service_sec h5 {
    color: #343434;
    font-size: 25px;
    line-height: 35px;
    margin-top: 5px;
    font-weight: 600;
}

.about_ceo_sec {
    background-color: #454545;
    padding: 90px 0px;
    position: relative;
    overflow: hidden;
}

.about_ceo_img {
    padding: 0px 40px;
}

.about_ceo_info {
    position: relative;
}
.about_ceo_info i {
    font-size: 36px;
    color: #fe0002;
    position: absolute;
    top: -5px;
}
.about_ceo_info_data {
    color: white;
    padding-left: 60px;
}

.about_ceo_info_data h5 {
    font-size: 18px;
    font-weight: 700;
}
.about_ceo_info_data h4 {
    font-size: 19px;
    margin-top: 5px;
    font-weight: 400;
}

/* about CEO section */
.about_ceo_sec {
    background-color: #454545;
    padding: 90px 0px;
    position: relative;
    overflow: hidden;
}
.ceo_title{
    color:#fe0002;
    font-weight:700;
    text-transform: uppercase;
    font-size:26px;
}
.about_ceo_img {
    /* padding: 0px 40px; */
    padding: 70px 40px;
}
.about_ceo_img img {
    /* border-radius: 50%; */
    border: 4px solid #fe0002;
    width: 100%;
    height: 250px;
}
.about_ceo_info {
    position: relative;
}
.about_ceo_info i {
    font-size: 36px;
    color: #fe0002;
    position: absolute;
    top: -5px;
}
.about_ceo_info_data {
    color: white;
    padding-left: 60px;
}
.about_ceo_info_data p {
    font-size: 16px;
    font-weight: 700;
    line-height: 25px;
}

.about_ceo_info_data h4 {
    font-size: 19px;
    margin-top: 5px;
    font-weight: 400;
}

/* aboutus history section */
.about_history_sec {
    padding: 80px 0px;
    text-align: center;
    border-bottom: solid 1px #fe0002;
}
.about_history_inner {
    padding: 0 100px;
}
.about_history_sec h5 {
    font-size: 30px;
    color: #fe0002;
    font-weight: 700;
}
.about_history_sec h2 {
    color: #343434;
    font-size: 34px;
    font-weight: bold;
    margin-top: 5px;
}
.about_history_inner_p_div {
    padding: 20px 60px 0 60px;
}
.about_history_inner_p_div p span {
    color: #fe0002;
    font-weight: 600;
}

/* mission,vission section */
.mission_sec {
    padding: 90px 0px;
    position: relative;
    overflow: hidden;
}

.mission_img {
    position: relative;
}
.mission_img img {
    border-radius: 25px;
}
.mission_info {
    padding-left: 70px;
}
.mission_info h3,
.vision_info h3 {
    color: #fe0002;
    font-size: 34px;
    border-bottom: 1px solid #fe0002;
    width: auto;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 30px;
    font-weight: 700;
}
.mission_info p,
.vision_info p {
    font-size: 18px;
}
.vision_info p {
    font-size: 18px;
    color: white;
}
.vision_sec {
    background-color: #454545;
    padding: 90px 0px;
    position: relative;
    overflow: hidden;
}

/* about value section  */
.values_sec {
    margin: 80px 0px;
}
.values_title h5 {
    font-size: 30px;
    color: #fe0002;
    font-weight: 700;
}
.values_title h2 {
    color: #343434;
    font-size: 34px;
    font-weight: bold;
    margin-top: 5px;
}
.values_sec .contact_info_blog {
    margin-top: 70px;
}
.contact_info_icon {
    width: 64px;
    height: 64px;
    text-align: center;
    background-color: #f1f0f5;
    border-radius: 16px;
    margin: 0px auto;
    display: grid;
    place-items: center;
}
.contact_info_blog h4 {
    color: #141414;
    margin: 25px 0px 15px;
    font-size: 20px;
    font-weight: 700;
}
.contact_info_blog p {
    font-size: 16px;
    line-height: 28px;
}
/* team section  */
.about_team_sec {
    background-color: #454545;
    padding: 70px 0px 80px;
}
.team_title h3 {
    font-size: 34px;
    color: #fe0002;
    font-weight: 700;
}
.team_title p {
    color: white;
    margin-top: 5px;
}
.team_slider_main .item {
    width: 100%;
}
.team_blog {
    background-color: white;
    padding: 24px;
    border-radius: 25px;
    width: 100%;
    display: inline-block;
    margin-top: 30px;
    margin-bottom: 40px;
}
.team_blog img {
    border-radius: 10px;
    width: 100%;
    height: auto;
}
.team_blog a {
    color: black;
    font-size: 20px;
    font-weight: bold;
    margin-top: 15px;
    display: inline-block;
    text-decoration: none;
}
.team_blog a:hover {
    color: #fe0002;
}
.team_blog p {
    color: #fe0002;
    margin-bottom: 0;
}
.about_team_sec .owl-nav {
    display: none;
}

/* cetification section  */
.certificates_sec {
    margin: 70px 0px 50px;
}
.certificates_blog {
    margin-bottom: 30px;
    border: 1px solid #291963;
    padding: 10px;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}
.certificates_blog:before {
    position: absolute;
    top: -1px;
    left: 0;
    height: 100%;
    width: 100%;
    content: "";
    -webkit-transition: all 0.7s ease;
    -ms-transition: all 0.7s ease;
    -o-transition: all 0.7s ease;
    transition: all 0.7s ease;
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    transform: translateY(-100%);
    z-index: 1;
    /* background-image: url(../images/aboutpage/certificates_rectangle_hover.png); */
    background-color: rgb(0, 0, 0,0.7);
    background-repeat: no-repeat;
}
.certificates_blog:hover:before {
    opacity: 1;
    transform: translateY(0%);
    top: 0;
}
.certificates_sec .values_title {
    margin-bottom: 50px;
}
.certificates_img {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
}
.certificates_img::after {
    width: 100%;
    height: 100%;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    content: "";
    background-image: url(../images/aboutpage/certificates_rectangle.png);
    z-index: 1;
}
.certificates_img > img {
    border-radius: 25px;
    object-fit: cover;
}
.gallery_img_icon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    -webkit-transform: translateY(50px);
    -ms-transform: translateY(50px);
    transform: translateY(50px);
    z-index: 2;
}
.gallery_img_icon a {
    text-decoration: none;
    color: #fff;
    font-size: 40px;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.gallery_img_icon a img {
    width: 70px;
}

.certificates_blog:hover .gallery_img_icon {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    transition: all 0.5s ease 0.5s;
    -webkit-transition: all 0.5s ease 0.5s;
    -ms-transition: all 0.5s ease 0.5s;
    -o-transition: all 0.5s ease 0.5s;
}
/* about contact css */
.about_contact {
    background-color: #333333;
    padding: 50px 0px;
}
.about_contact_data {
    position: relative;
    color: white;
}
.about_contact_data h2 {
    font-size: 56px;
    font-weight: bold;
}
.about_contact_data .main_btn {
    font-size: 22px;
    position: absolute;
    top: 19px;
    padding: 10px 50px;
    min-width: auto;
    right: 0px;
}
div#exampleModal {
    margin-top: 40px;
    margin-bottom: 40px;
}
/* Additional responsive adjustments */
@media (min-width: 1000px) {
    .team_slider_main .owl-item {
        width: 25% !important;
    }
}
/* Existing styles remain unchanged until the media query section */

/* Mobile view adjustments */
@media (max-width: 768px) {
    /* Inner Banner Section */
    .inner_banner_mb {
        margin-bottom: 30px; /* Reduce margin for mobile */
    }
    .inner_banner_about {
        margin-top: 60px; /* Adjust top margin */
    }
    .about_banner .inner_banner_title {
        padding: 100px 15px 60px; /* Reduce padding for smaller screens */
        text-align: left; /* Center text on mobile */
    }
    .inner_banner_title ul {
        padding-left: 0px !important;
    }
    .inner_banner_title h1 {
        font-size: 36px; /* Smaller heading */
    }
    .inner_banner_title ul li,
    .inner_banner_title ul li a {
        font-size: 14px; /* Smaller breadcrumb text */
    }

    /* About Section One */
    .about_sec_one {
        padding: 30px 15px; /* Reduce padding */
    }
    .about_sec_one h4,
    .undertakes_service_sec h4 {
        font-size: 24px; /* Smaller heading */
    }
    .about_sec_one h5,
    .undertakes_service_sec h5 {
        font-size: 24px; /* Smaller subheading */
        line-height: 32px;
    }

    /* About CEO Section */
    .about_ceo_sec {
        padding: 50px 15px; /* Reduce padding */
    }
    .about_ceo_img {
        padding: 0 15px; /* Adjust padding */
        margin-bottom: 20px; /* Add space below image */
    }
    .about_ceo_img img {
        height: 200px; /* Smaller image height */
        width: 200px; /* Fixed width for consistency */
        margin: 0 auto; /* Center image */
        display: block;
    }
    .about_ceo_info_data {
        padding-left: 0; /* Remove left padding since icon might overlap */
        text-align: center; /* Center text */
    }
    .about_ceo_info i {
        position: static; /* Remove absolute positioning */
        display: block;
        margin-bottom: 10px;
    }
    .about_ceo_info_data p {
        font-size: 16px; /* Smaller text */
        line-height: 24px;
    }

    /* About History Section */
    .about_history_sec {
        padding: 40px 15px; /* Reduce padding */
    }
    .about_history_inner {
        padding: 0 15px; /* Adjust inner padding */
    }
    .about_history_sec h5 {
        font-size: 24px; /* Smaller heading */
    }
    .about_history_sec h2 {
        font-size: 28px; /* Smaller heading */
    }
    .about_history_inner_p_div {
        padding: 15px 0; /* Simplify padding */
    }

    /* Mission/Vision Section */
    .mission_sec,
    .vision_sec {
        padding: 50px 15px; /* Reduce padding */
    }
    .mission_info,
    .vision_info {
        padding-left: 0; /* Remove left padding */
        margin-top: 20px; /* Add space above text */
        text-align: center; /* Center text */
    }
    .mission_info h3,
    .vision_info h3 {
        font-size: 28px; /* Smaller heading */
        margin-bottom: 20px;
    }
    .mission_info p,
    .vision_info p {
        font-size: 16px; /* Smaller text */
    }
    .mission_img img {
        width: 100%; /* Ensure image fits container */
        height: auto;
    }

    /* Values Section */
    .values_sec {
        margin: 40px 0; /* Reduce margin */
    }
    .values_title h5 {
        font-size: 24px; /* Smaller heading */
    }
    .values_title h2 {
        font-size: 28px; /* Smaller heading */
    }
    .values_sec .contact_info_blog {
        margin-top: 30px; /* Reduce margin */
    }
    .contact_info_blog h4 {
        font-size: 18px; /* Smaller heading */
    }
    .contact_info_blog p {
        font-size: 14px; /* Smaller text */
        line-height: 22px;
    }

    /* Team Section */
    .about_team_sec {
        padding: 40px 15px; /* Reduce padding */
        overflow-x: hidden !important;
    }
    .team_title h3 {
        font-size: 28px; /* Smaller heading */
    }
    .team_title p {
        font-size: 14px; /* Smaller text */
    }
    .team_blog {
        margin-top: 20px; /* Reduce margin */
        margin-bottom: 20px;
    }
    .team_blog a {
        font-size: 18px; /* Smaller name */
    }
    .team_blog p {
        font-size: 14px; /* Smaller role */
    }
    .about_team_sec .owl-theme .owl-dots {
        transform: unset !important;
    }
    /* Certificates Section */
    .certificates_sec {
        margin: 40px 0; /* Reduce margin */
    }
    .certificates_blog {
        margin-bottom: 20px; /* Reduce margin */
    }
    .certificates_img img {
        height: auto; /* Smaller image height */
    }
    .gallery_img_icon a img {
        width: 50px; /* Smaller plus icon */
    }

    /* Contact Section */
    .about_contact {
        padding: 30px 15px; /* Reduce padding */
    }
    .about_contact_data h2 {
        font-size: 36px; /* Smaller heading */
    }
    .about_contact_data p {
        font-size: 14px; /* Smaller text */
    }
    .about_contact_data .main_btn {
        position: static; /* Remove absolute positioning */
        margin-top: 20px; /* Add space above button */
        font-size: 18px; /* Smaller button text */
        padding: 8px 30px; /* Adjust padding */
        display: block;
        text-align: center;
    }

    /* Modal Adjustments */
    div#exampleModal {
        margin-top: 60px; /* Reduce margin */
        margin-bottom: 60px;
    }
    .modal-dialog {
        margin: 15px; /* Adjust modal margin */
    }
    .modal-body {
        padding: 15px; /* Reduce padding */
    }
    .form-group label {
        font-size: 14px; /* Smaller labels */
    }
    .form-control {
        font-size: 14px; /* Smaller input text */
    }
    .form-group textarea {
        min-height: 100px; /* Reduce textarea height */
    }
    .submitting {
        font-size: 12px; /* Smaller disclaimer text */
    }
    .modal-body .main_btn {
        font-size: 16px; /* Smaller submit button */
        padding: 8px 20px;
    }
}
