/*
Theme Name: Understrap
Theme URI: https://understrap.com
Author: John Jalinga

GitHub Theme URI: https://github.com/understrap/understrap
Description: The renowned WordPress starter theme framework that combined Underscores and Bootstrap. Trusted by more than 100,000 developers for building handcrafted, custom WordPress sites.
Version: 1.0
Requires at least: 5.0
Tested up to: 5.8.1
Requires PHP: 5.2
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: understrap
Tags: one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, translation-ready, block-styles, wide-blocks, editor-style, threaded-comments, accessibility-ready
*/
/*
####################
#### Colors ########
####################
*/

:root {
    --primary: #c62828;
    --secondary: #00af50;
    --tertiary: #004ee0;
    --primary-container: #800E13;
    --tertiary-container: #cfe2ff;
}

/**
########
celias
*/
@font-face {
    font-family: celias-light;
    src: url(../../assets/fonts/celiaslight.otf);
    font-display: swap;
}

@font-face {
    font-family: celias;
    src: url(../../assets/fonts/celias.otf);
    font-display: swap;
}

@font-face {
    font-family: celias-medium;
    src: url(../../assets/fonts/celiasmedium.otf);
    font-display: swap;
}

@font-face {
    font-family: celias-bold;
    src: url(../../assets/fonts/celiasbold.otf);
    font-display: swap;
}

@font-face {
    font-family: celias-eb;
    src: url(../../assets/fonts/celiasblack.otf);
    font-display: swap;
}

/*
##########################
####### Work Sans #######
##########################
*/
@font-face {
    font-family: worksans-light;
    src: url(../../assets/fonts/WorkSans-Light.ttf);
    font-display: swap;
}

@font-face {
    font-family: worksans;
    src: url(../../assets/fonts/WorkSans-Regular.ttf);
    font-display: swap;
}

@font-face {
    font-family: worksans-medium;
    src: url(../../assets/fonts/WorkSans-Medium.ttf);
    font-display: swap;
}

@font-face {
    font-family: worksans-semibold;
    src: url(../../assets/fonts/WorkSans-SemiBold.ttf);
    font-display: swap;
}

@font-face {
    font-family: worksans-bold;
    src: url(../../assets/fonts/WorkSans-Bold.ttf);
    font-display: swap;
}

@font-face {
    font-family: worksans-eb;
    src: url(../../assets/fonts/WorkSans-ExtraBold.ttf);
    font-display: swap;
}

/*
##########################
###### Source Serif 4 ####
##########################
*/
@font-face {
    font-family: sourceserif4-light;
    src: url(../../assets/fonts/SourceSerif4-Light.ttf);
    font-display: swap;
}

@font-face {
    font-family: sourceserif4;
    src: url(../../assets/fonts/SourceSerif4-Regular.ttf);
    font-display: swap;
}

@font-face {
    font-family: sourceserif4-medium;
    src: url(../../assets/fonts/SourceSerif4-Medium.ttf);
    font-display: swap;
}

@font-face {
    font-family: sourceserif4-semibold;
    src: url(../../assets/fonts/SourceSerif4-SemiBold.ttf);
    font-display: swap;
}

@font-face {
    font-family: sourceserif4-bold;
    src: url(../../assets/fonts/SourceSerif4-Bold.ttf);
    font-display: swap;
}

@font-face {
    font-family: sourceserif4-eb;
    src: url(../../assets/fonts/SourceSerif4-ExtraBold.ttf);
    font-display: swap;
}

/*
#######################
#####    TOPBAR  ######
#######################
*/
.topbar {
    min-height: 80px;
}

.topbar img {
    height: 76px;
    margin-top: 2px;
}

.topbar .cont {
    background-color: var(--tertiary);
    padding: 4px 20px;
    width: fit-content;
    border-radius: 20px;
    font-size: 20px;
    font-family: worksans-semibold;
    color: white;
}

/*
#######################
#####    Nav  #########
#######################
*/
.em-navbar {
    --px: 20px;
    --py: 1px;
    background: var(--primary)
}

.nav-link {

    font-size: 20px;
    color: rgb(255 255 255);
    font-family: worksans;
    padding-left: var(--px) !important;
    padding-right: var(--px) !important;
    padding-top: var(--py);
    padding-bottom: var(--py);
    border-radius: var(--px);
    margin-right: 5px;
}

.active .nav-link,
.nav-link:hover {
    background-color: white;
    border-radius: 20px;
    color: black;
}

.navbar-toggler {

    font-size: 22px;
    font-family: worksans;
    line-height: 1;
    color: #ffffff;
    background-color: transparent;
    border: 1px solid white;
    margin-bottom: 4px;

}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 2px;
}

.navbar-nav {
    margin-top: 3px;
}

/*
#######################
######  Carousel  #####
#######################
*/

.slide,
.carousel,
.carousel-inner,
.carousel-item {
    position: relative;
    min-height: 400px;
    --bg-cover: cover;
    --two: 2;
    --zi: 5000;
}



/* .carousel-indicators [data-bs-target] {
    background-color: #c62828;
} */

.carousel-inner .carousel-item:nth-child(1) {
    background: url(../../assets/c1.jpg);

    background-size: var(--bg-cover);
    background-position: top;
}

.carousel-inner .carousel-item:nth-child(2) {
    background: url(../../assets/c8.jpg);
    background-size: var(--bg-cover);
    background-position: center;
}


.carousel-inner .carousel-item:nth-child(3) {
    background: url(../../assets/b3.jpg);
    background-size: cover;
    background-position: center;
}

.slide .carousel-item::after {
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f0f8ffb1;

    z-index: var(--zi);
}

.carousel-item .container {
    position: relative;
    z-index: 5004;
}

.carousel-control-prev,
.carousel-control-next {
display:none;
    z-index: calc(var(--zi) + 20);

}
.ccta-less{
        margin-top: 10px;
        display: block;
        font-family: celias-bold;
        text-decoration: none;
        background: var(--tertiary);
        color: #ffffff;
        /* border: solid 2px; */
        padding: 5px 15px;
        font-size: 20px;
        width: fit-content;
        border-radius: 20px;
    
}
.ccta-more {
    margin-top: 10px;
    display:block;
    font-family: celias-bold;
    text-decoration: none;
    color: var(--primary);
    background-color: white;
     border: solid 2px var(--primary); 
    padding: 5px 15px;
    font-size: 20px;
    width: fit-content;
    border-radius: 20px;
}
.slide-cta{
    position:relative;
   margin-top: 140px;
}
.carousel-control-next,
.carousel-control-prev {
    position: absolute;
    top: 45%;
    /* bottom: 0; */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    padding: 0;
    color: #fff;
    text-align: center;
    background: 0 0;
    border: 0;
    opacity: 0.5;
    transition: opacity .15s ease;
    border-radius: 50px;
    background: var(--primary);
    font-size: 34px;
}

.carousel-control-prev {
    left: 3%;
    background-size: contain;

}

.carousel-control-next {
    right: 3%;
    background-size: contain;
}

.carousel-indicators {
    z-index: calc(var(--zi) + 2);
}


.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 15px;
    height: 15px;
    padding: 0;
    opacity: 0.75;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: transparent;
    background-clip: border-box;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border: solid 3px var(--primary);
    transition: opacity .6s ease;
    border-radius: 40px;
}

.carousel-indicators [data-bs-target]:focus {
    outline: none;
}

.carousel-indicators .active {
    background-color: var(--primary);
    opacity: 1;
}
/*.jumbotron {*/
/*    background: #e0e0e0bd;*/
/*    border-radius: 10px;*/
/*}*/
.jumbotron h2 {
    font-size: calc(1.5rem + 1.2vw);
    font-family: worksans-bold;
}

.jumbotron .j-special {
  color: var(--tertiary);
}
.carousel h3 {
    background: var(--tertiary);
    padding: 4px 12px;
    border-radius: 25px;
    font-family: celias-bold;
    font-size: calc(1rem + 1.2vw);
    color: white;
}
/*
#######################
######  Sectiom  #####
#######################
*/
.section,
.section-x {
    padding-top: 40px;
    padding-bottom: 20px;
}

/* .sec-title {} */

.sec-title h3 {
    font-family: worksans-eb;
    font-size: calc(1.5rem + 1vw);
    margin-bottom: 0;
    padding-left: 25px;
}



.sec-title .hr {
    --bg: var(--primary);
    position: relative;
    width: 100%;
    height: 2px;
    background-color: var(--bg);
}

/*.sec-title .hr::after,*/
.sec-title .hr::before {
    --di: 15px;
    top: -7px;
    left: 0px;
    position: absolute;
    content: "";
    height: var(--di);
    width: var(--di);
    border-radius: 5px;
    border: solid 2px var(--bg);
    background-color: white;
}


.abt .lead {
    font-family: worksans;
    font-size: 20px;
}


/*
#######################
##### About Section ###
#######################
*/

.abt-jumbotron {
    position: relative;
    font-size: 2.5rem;
    font-family: worksans-eb;
    /* border: solid 15px var(--primary); */
    padding-left: 5px;
}

.abt-jumbotron::before {
    position: absolute;
    content: "";
    top: -15px;
    left: 0;
    height: 15px;
    width: 100%;
    margin-left: 0;
    background-color: var(--primary);
}


/*
#################################
####### Services Section ########
#################################
*/
.ser-section {
    position: relative;
    background-image: url(../../assets/ser.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.ser-section .pic {
    height: 300px;
    width: auto;
    border-radius: 8px 8px 0 0;
}

.ser-section p {
    text-transform: capitalize;
    font-family: sourceserif4;
    font-size: 22px;
}

.ser-section .row .col-lg-6:nth-child(1) .pic {
    background: url(../../assets/s2.jpg);
    background-size: cover;
    background-position: center;
}

.ser-section .row .col-lg-6:nth-child(2) .pic {
    background: url(../../assets/s1.jpg);
    background-size: cover;
    background-position: center;
}

.ser-section i {
    color: var(--secondary);
}

.ser-section .container {
    position: relative;
    z-index: 500;
}
.section-x .hr::before{
    background: #e0e0e0;
}
.ser-section::before {
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #e0e0e0;
}

.ser_inner {
    background: white;
    border: solid 2px var(--secondary);
    border-radius: 10px;
}

.ser_inner h3 {
    height: 45px;
    padding-top: 5px;
    font-family: worksans-bold;
    background-color: var(--secondary);
    color: white;
}

/*
#################################
####### CTA Section #############
#################################
*/
.cta {
    padding-top: 40px;
    padding-bottom: 20px;
    background-color: var(--primary);
    color: white;
}

.cta h3 {
    font-family: worksans-bold;
    font-size: 2.3rem;
}

.cta-btn {
    text-decoration: none;
    padding: 4px 20px;
    background-color: white;
    font-family: worksans;
    color: var(--primary);
    font-size: 24px;
    border-radius: 30px;

}

/*
#######################
######    BREAD  ######
#######################
*/
.bread {
    position: relative;
    background: url(../../assets/b3.jpg);
    background-size: cover;
    background-position: center;
    border-bottom: solid 1px var(--tertiary);
}

.bread .container {
    position: relative;
    z-index: 6;
}

.bread::before {
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f5f5f59c;
}

.bread h1 {
    font-size: calc(2rem + 0.6vw);
    font-family: celias-bold;
    color: var(--tertiary);
}

/*
#######################
######    footer ######
#######################
*/
.footer {
    color: white;
    background: var(--primary-container);
}

.footer h3 {
    color: white;
    border-bottom: solid 2px;
    font-family: worksans-bold;
}

.footer p:not(.git) {
    font-family: worksans;
    font-size: 20px;
}

.footer .hr {
    height: 1px;
    background: white;
    width: 100%;
}

.footer p a {
    font-size: 18px;
    text-decoration: none;
    font-family: celias-light;
    color: inherit;
}

.footer .git {
    font-family: celias-light;
    font-size: 20px;
}

/*
#######################
######   WcU ##########
#######################
*/

.wcu_inner p {
    font-family: celias-light;
    font-size: 22px;

    i {
        color: var(--tertiary);
    }

    b {
        font-family: celias-bold;
    }
}

.wcu_pic {
    height: 300px;
    width: 100%;
    background-image: url(../../assets/c2.jpg);
    background-size: cover;
    background-position: center;
    border-bottom: solid 5px var(--primary);
    border-right: solid 5px var(--primary);
    border-radius: 100px 0px;
}

/*
#######################
####   About page #####
#######################
*/
.abt-title h2 {
    position: relative;
    font-family: 'worksans-bold';
    margin-bottom: 0;
    padding-left: 10px;
    border-left: solid 1px var(--tertiary);
    border-bottom: solid 1px var(--tertiary);
    border-radius: 0px 0px 0 6px;
}



.abt-title h2::before {
    position: absolute;
    content: "";
    top: 15px;
    left: -6px;
    height: 10px;
    width: 10px;
    background-color: var(--tertiary);
    border-radius: 50px;
}

.abt-title h2::after {
    position: absolute;
    content: "";
    top: -3px;
    left: -1px;
    height: 18px;
    width: 2px;
    background-color: #ffffff;
    border-radius: 5px;
}

.about-section p {
    font-family: celias-light;
}

/*
#######################
####   Team page #####
#######################
*/
.team_inner .pic {
    height: 250px;
    width: 100%;
    border-radius: 8px 8px 0 0;
}

.team_inner {
    border: solid 1px var(--primary);
    border-radius: 10px;
   
}

.team_inner h3 {
    min-height: 50px;
    padding-top: 10px;
    background-color: var(--primary);
    color: white;
    font-family: worksans-bold;
    text-align: center;
    font-size:calc(1.3rem + 0.6vw);
}

.team_inner p {
    font-family: celias;
    font-size: 20px;
    text-align: center;
    margin-bottom: 0;
}

/*
#######################
####   contact us page #####
#######################
*/
.cont_inner {
    --bg: var(--tertiary);
    border: solid 2px var(--bg);
    border-radius: 14px;
}

.cont_inner h3 {
    color: white;
    min-height: 40px;
    padding-top: 5px;
    background-color: var(--bg);
    font-family: celias-bold;
    border-radius: 12px 12px 0 0;
    padding-left: 15px;
    font-size: 1.5rem;
}

.cont_inner p {
    font-family: celias-light;
    font-size: 20px;

    i {
        color: var(--bg);
    }
}



@media (max-width:560px) {

    .carousel-control-prev,
    .carousel-control-next {

        display: none;

    }
}
@media (max-width: 576px) {
    .slide-cta {
        margin-top: 15px;
        margin-bottom: 52px;
    }
}