/*
 ****** File name:      general_css.css2
 ****** Created by:     Obed Kasule Ssebunya
 ****** Purpose:        General Css for knowlwdgement era
 ****** Date created:   2024-05-12
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    font-family: Poppins;
    color: #000000;
    background-color: #fff;
    margin: auto;
}

a {
    text-decoration: none;
    color: unset;
}

.login_modal {
    padding: 3em;
    width: 50vw;
    border: 0;
    text-align: center;
    position: relative;
    z-index: 100000;
}

#login_icon {
    font-size: 40px;
    color: #0c1ab3;
}

/*=========css for login modal ===================*/
.modal_content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    text-align: center;
    display: none;
    animation: appear 2s;
}

.modal_show {
    opacity: 1;
    display: block;
}
.modal_content .modal_bg {
    width: 100%;
    height: 100%;
    opacity: .6;
    content: '';
    background-color: #000;
    z-index: 1010
}


.modal_content .form_sign_modal {
    position: absolute;
    top: 0;
    left: 0;
    margin-left: 25%;
    margin-top: 10%;
    padding-bottom: 20px;
    width: 50%;
    height: auto;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1020;
    border-radius: 15px;
}


.modal_content .login_text {
    margin: 30px 0;
    font-size: 25px;
    font-weight: bold;
}

.modal_content .form_sign_modal .form_div {
    width: 100%;
    display: flex;
    margin: 10px 10px 10px 20px;
    justify-content: center;
    align-items: center;
}

.modal_content .form_sign_modal .form_div .form_left {
    margin: 20px 10px;
    width: 40%;
    font-weight: 400;
    color: #34cceb;
    font-size: 35px;
    text-align: left;
}

#login_image img {
    width: 150px;
    height: 150px;
    margin-top: -80px;
}

.modal_content .form_sign_modal .form_div form {
    width: 40%;
    padding: 20px 40px;
    border-left: 1px solid #34cceb;
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.modal_content .form_sign_modal form .form_section {
    width: 100%;
    height: 45px;
    border: 1px solid #34cceb; /*#2294d6;*/
    border-radius: 30px;
    text-align: left;
}

.modal_content .form_sign_modal form .form_section span {
    width:20%;
    display: inline-block;
    background-color: #34cceb;
    height: 100%;
    border-radius: 30px 0 0 30px;
    text-align: center;
}


.modal_content .form_sign_modal form .form_section img {
    width: 35px;
    height: 35px;
}


.modal_content .form_sign_modal form .form_section input {
        width:70%;
        display: inline-block;
        border: none;
        outline: none;
        font-size: 16px;
        font-weight: bolder;
        color: #a4a6a5;
}

.modal_content .form_sign_modal form div .form_btn {
    width: 49%;
    height: 45px;
    border: none;
    border-radius: 30px;
    font-size: 20px;
    font-weight: bolder;
    transition: background 200ms;
}

.modal_content .form_sign_modal form div .submit_btn {
    color: #34cceb;
}

.modal_content .form_sign_modal form div .submit_btn:hover {
    color: #ffffff;
    background-color: #069c09;
}

.modal_content .form_sign_modal form div .cancel_btn {
    color: #eb3d34;
}

.modal_content .form_sign_modal form div .cancel_btn:hover {
    background-color: #eb3d34;
    color: #ffffff;
}
@keyframes appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/*========== end of css for login modal===========*/

.login_modal .form_sign_modal form {
    margin: auto;
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.content_container{
    position: relative;
    min-height: 100vh;
    /*overflow: hidden;*/
}

header {
    display: flex;
    width: 100%;
    height: auto;
    margin-top: 5px;
    border-bottom: 1px solid #2294d6;
}

header .logo-section {
    width: 30%;
    height: 40px;
}

header .logo-section #logo {
    text-align: left;
    position: relative;
}

header .logo-section #logo a {
    width: 100%;
    height: 100%;
    scale: 35%;
    position: absolute;
    left: -60px;
    top: 0;
}


header .logo-section .menu-mobile{
    display: none;
}
header #header_search {
    margin-left: 60px;
    width: 500px;
    height: 35px;
    padding: 0px 0px 0px 10px;
    border: 1px solid #34cceb; /*#2294d6;*/
    border-radius: 30px;
}

header #header_search #search_form {
    width: 100%;
}

header #header_search #search_input {
    width: 75%;
    border: 0px;
    font-size: 13px;

}

header #header_search #search_input:focus {
    outline: none;
}

header #header_search #search_form button {
    width: 23.3%;
    height: 35px;
    background-color: #34cceb;
    border: 1px solid #34cceb;
    border-radius: 0px 30px 30px 0px;
    font-size: 13px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    cursor: pointer;

}

header nav {
    position: absolute;
    right: 10px;
}

header nav a {
    margin-right: 20px;
    font-size: 13px;
}

#button_login {
    background-color: #ff0000;
    height: 37px;
    width: 100px;
    color: #ffffff;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 0px 30px 30px 0px;
    border: none;
    cursor: pointer;
}

.content_section {
/*     display: none; */
    margin-top: 2px;
    background: #f7f7fa; #fafafc; */

}

/*
 * ==== service section ======
 */
.content_section .main_services {
    padding: 50px 100px;
    position: relative;
    display: flex;
    flex-direction: row;
    background: #fafafc; /*#f2f3f7;*/
    justify-content: center;
    align-items: stretch;
    align-content: center;
    flex-wrap: wrap;
}

.content_section .main_services:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( #fafafc, #2294d6 );
    clip-path: circle( 11% at 28% 55% );
}

.content_section .main_services:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( #343deb, #2294d6 );
    clip-path: circle( 8% at 80% 70% );
}

.content_section .main_services .service_card {
    width: 300px;
    height: auto;
/*     background: #ffffff; */
    margin: 50px 30px;
    padding:15px 30px;
    border-radius: 15px;
    /*border: 1px solid #343deb;
    outline: 3px solid #343deb;
    outline-offset: -35px;*/
/* box-shadow: 0 6px 20px 20px rgba(0, 0, 0, 0.06), 0px 20px 20px 0 rgba(0, 0, 0, 0.05); */
 box-shadow: 20px 20px 30px rgba( 0, 0, 0, 0.5 );
border-top: 1px solid rgba( 34, 148, 214, 0.5 );
border-left: 1px solid rgba( 34, 148, 214, 0.5 );
    z-index: 1;
    backdrop-filter: blur( 8px );
}

.content_section .main_services .service_card a {
    width: 100%;
    height: 100%;
    text-align: center;
}

.content_section .main_services .service_card #service_read {
/*     width: 150px; */
    width: auto;
    border: 1px solid #2294d6;
    padding: 10px 30px;
    text-align: center;
    border-radius: 30px;
    margin: 40px auto 0 auto;
    font-size: 15px;
}

.content_section .main_services .service_card #service_read:hover {
    border: border: 3px solid #2294d6;
}

.content_section .main_services .service_card a #service_img {
    margin: 10px 50px;
}

.content_section .main_services .service_card a  div img {
    width: 100px;
    height: 100px;
}

.content_section .main_services .service_card a #service_brief h3 {
    font-size: 18px;
    color: #343deb;
    font-weight: 500;
}

.content_section .main_services .service_card a #service_brief p {
    text-align: left;
    font-size: 15px;
}
/* ============== css for posts card divisions ===================== */
.content_section .main_content_top {
    display: none;
    height: auto;
/*     display: flex; */
}

.content_section .main_content_top .main_content_div {
    width: 30%;
    height: auto;
    padding: 15px 15px 15px 15px;
    border-right: 1px solid #34cceb;
    margin: 20px 30px 15px 30px;
}

.content_section .main_content_top .main_content_div #cat_header {
    font-weight: 500;
    font-size: 20px;
}

.content_section .main_content_top .main_content_div #cat_name {
    font-size: 18px;
    padding-left: 20px;
}

.content_section .main_content_top .main_content_div .card_div {
    margin: 15px 20px 15px 5px;
    display: flex;
    transition-duration: 500ms;
}

.content_section .main_content_top .main_content_div .card_div:hover {

    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.39);

}

.content_section .main_content_top .main_content_div .card_div .card_content {
    width: 45%;
    height: auto;
    background-image: url('images/image_test_1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.content_section .main_content_top .main_content_div .card_div .card_content #heading {
    background: rgba( 256, 256, 256, .75 );
    position: absolute;
    bottom: 0;
    left: 0;
    width:100%;
    height: auto;
    padding: 5px;
    font-weight: bold;
    font-size: 18px;

}

.content_section .main_content_top .main_content_div .card_div .card_content div img {
    width: 250px;
    height: 150px;
}

.content_section .main_content_top .main_content_div .card_div .wordings {
    width: 45%;
    padding: 5px 5px 5px 10px;
    text-align: justify;
}

.content_section .main_content_top .main_content_div .card_div .wordings .card_footer{
    font-weight: bold;
    font-size: 14px;
}


/* ============== End card divisions ===================== */

/*================= lists for posts =============== */
.content_section .main_content_top .post_list {
    display: flex;
    flex-direction: column;
}
/*=============== end of lists for posts ============*/

/*================= div for company slogan and vision ==================*/
.slogan_div {
    display: flex;
    padding: 50px 100px;
    align-items: center;
    justify-content: center;
    margin: 0px auto 0px auto;
    background: #ffffff;
}

.slogan_div .header_brief {
    width: 30%;
    height: 100%;
/*     border-right: 1px solid #34cceb; */
    padding: 120px 50px;

}

.slogan_div .header_brief h2 {
    color: #34cceb;
    font-weight: 400;
    font-size: 50px;
}

.slogan_div .header_brief img {
    width: 80%;
}

.slogan_div .slogan_desc {
    width: 30%;
    font-size: 17px;
    padding: 120px 100px;
    position: relative;
    border-left: 1px solid #34cceb;
}

.slogan_div .slogan_desc p {
    margin-bottom: 50px;
    font-size: 15px;
}

.slogan_div .slogan_desc a {
    position: absolute;
    right: 0;
    padding: 10px 50px;
    text-align: center;
    color: #ffffff;
    background: #34cceb;
    border: none;
    border-radius: .5rem;
    font-weight: 500;
    cursor: pointer;
}

.content_section .more_services {
    position: relative;
    color: #ffffff;
    padding: 130px 10%;
    font-size: 15px;
/*     background-image: linear-gradient(140deg, rgba(161, 159, 159,.3) 30%, rgba(255,255,255, 1) 50%, rgba(161, 159, 159,.3) 80%); */
    background-image: url('images/bg_image3.jpg');
    background-position: 60%;
    background-size: 100%;
}

.content_section .more_services .left_service {
    width: 60%;
    padding: 40px;
    background: rgba(255,255,255, .1 );
    backdrop-filter: blur( 20px );
    border: 1px solid #ffffff;
    border-radius: 1rem;
}


.content_section .more_services .left_service #list {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    font-size: 13px;
    margin-top: 60px;
}

.content_section .more_services .left_service #list li {
    padding: 10px 20px;
    font-weight: 500;
    color: #f7f5f5;
    transition: all 200ms;
}

.content_section .more_services .left_service #list li a:hover {
    color: #ffffff;
}

.content_section .more_services .left_service #list #inner_item {
    border-right: 2px solid #34cceb;
}

.content_section .more_services #btn_services {
    position: absolute;
    border: 2px solid #34cceb;
    color: #ffffff;
    font-weight: 700;
    font-size: 17px;
    padding: 10px;
    right: 120px;
    bottom: 50px;
    text-align: center;
    border-radius: 40px;
    width: 200px;
}



footer {
    height: auto;
    background-color: #f7f5f5;
    border-top: 2px solid #34cceb;
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 10px 120px;
}

footer .footer_div {
    width: 24%;
    font-size: 13px;
}


footer .footer_div #links li {
    padding: 5px 8px;
}

footer .footer_div #footer_header {
    font-weight: 400;
    color: #34cceb;
    font-size: 15px;
}

footer .footer_div #services li{
    list-style-type: none;
    padding: 5px 8px;
}

footer .footer_div #services li a {
    width: 100%;
    font-size: 13px;
    font-weight: 400;
    border-bottom: 2px solid #34cceb;

}

.rights_div {
    text-align: center;
    font-size: 10px;
}


/*
 * contact page layout
 */



/*
 * ================= Responsiveness==========
 */

@media only screen and (min-width: 2000px ){
    body {
        max-width: 2000px;
        margin: auto;
    }

    footer {
        max-width: 2000px;
    }

}

@media only screen and (max-width: 500px ){
    header {
        margin-top: 15px;
        flex-direction: column;
        height: auto;
    }

    header .logo-section {
        width: 95vw;
        margin-left: 20px;
        font-size: 25px;
        position: relative;
    }

    header .logo-section #logo a {
        left: -130px;
    }

/*      header .logo-section  span { */
/*          bottom: -10px; */
/*          left: 122px; */
/*      } */

     header .logo-section .menu-mobile {
         display: block;

    }

    header .logo-section .menu-mobile #mobile_menu img {
        position: absolute;
         right: 10px;
         top: 5px;
        width: 30px;
        height: 30px;

    }

    header .logo-section .menu-mobile .mob_menu_content {
        flex-direction: column;
        position: relative;
        top: 2px;
        right: -50px;
        z-index: 5;
        background: rgba( 34, 148, 214, .6);
        backdrop-filter: blur( 4px );
        width: 80vw;
        height: 80vh;
        animation: mob_menu_appear 1000ms;
    }

    .show-mobile-menu {
        display: block;
    }

    .hide-mobile-menu {
        display: none;
    }

    @keyframes mob_menu_appear {
        from {
            width: 0vw;
        }
        to {
            width: 85vw;
        }
    }

    header .logo-section .menu-mobile .mob_menu_content #mob-menu-top {
        width: 100%;
        height: auto;
        position: relative;
    }

    header .logo-section .menu-mobile .mob_menu_content #mob-menu-top #mob-menu-img {
        width: auto;
        height: auto;
        font-size: 15px;
        margin-left: 20px;
        color: #000000; /*#34cceb; */
    }

    header .logo-section .menu-mobile .mob_menu_content #mob-menu-top #mob-menu-close {
        width: auto;
        display: inline-block;
        position: absolute;
        right: 10px;
        top:10px;
        font-size: 16px;
        font-weight: bold;
    }

    header .logo-section .menu-mobile .mob_menu_content #menu-list {
        list-style-type: none;
    }

    header .logo-section .menu-mobile .mob_menu_content #menu-list li {
        font-size: 15px;
        padding: 10px;
        border-bottom: 1px solid #34cceb;
    }

    header #header_search {
        width: 90vw;
        margin: 40px 5px 5px 5px;
    }

    header #header_search #search_form button {
        width: 22.7%;
    }
    header nav {
        display: none;
    }


    .content_section .more_services .left_service {
        width: 67vw;
        height: auto;
        margin: auto;
    }

    .content_section .more_services .left_service #list {
        flex-direction: column;
    }

    .content_section .more_services .left_service #list li{
        width: 50vw;
    }

    .content_section .more_services .left_service #list #inner_item {
        padding: 20px;
        border-bottom: 1px solid #34cceb;
        border-right: none;
    }

    .content_section .main_services {
        padding: 5px;
    }


    .content_section .main_services .service_card {
        width: 85vw;
        height: 60vh;
        overflow: hidden;
        margin: 10px 5px;
        padding: 10px;
    }

    .content_section .main_content_top {
        flex-direction: column;
    }

    .content_section .main_content_top .main_content_div {
        flex-direction: column;
        width: auto;
        border-right: none;
        border-bottom: 1px solid #34cceb;
        margin: 0 0 10px 0;
        padding: 0;
    }


    .content_section .slogan_div {
        flex-direction: column;
        padding: 50px 5px;
    }

    .content_section .slogan_div .header_brief, .content_section .slogan_div .slogan_desc {
        width: 75%;
        padding: 15%;
        text-align: center;
    }

    .content_section .slogan_div .slogan_desc #desc_btn {
        right: 80px;
    }


    footer {
        width: 100vw;
        flex-direction: column;
        padding: 0;
    }

    footer .footer_div {
        width: 90vw;
        margin: 20px 10px 5px 10px;

    }

    footer .footer_div #services li{
        list-style-type: none;
    }

    footer .footer_div #services li a {
        font-size: 16px;
    }

}








