/*
Theme Name: Elite Core
Theme URI: https://elite-core.site
Author: Hassan Mehmood
Author URI: https://pastel.com.iq
Description: A custom WordPress theme built from scratch.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elitecore
Tags: custom-theme, responsive, modern
*/

:root {
    --green: #1D4923;
    --white: #ffffff;
    --greenlight: #7CAF2C;
    --black: #000;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
}

a,
a:hover,
a:active,
a:focus {
    text-decoration: none;
}

.container-fluid {
    padding-left: calc(var(--bs-gutter-x) * .5 + 100px);
}

img {
    max-width: 100%;
    height: auto
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
    ;
}

h2 {
    font-size: 2rem;
    font-weight: bold;
}

.sidebar {
    background: var(--green);
    padding: 0px;
    height: 100vh;
    width: 100px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 99;
}

.side_logo {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-in-out;
}

.side_logo.scrolled {
    max-height: 200px;
}

ul.sideMenu {
    position: absolute;
    left: -100%;
    background: var(--green);
    top: 0;
    bottom: 0;
    width: 180px;
    padding: 20px;
    padding-top: 110px;
    opacity: 0;
    visibility: hidden;
    transition: .2s all ease-in-out;
}

.sidebar.showMenu .sideMenu {
    left: 100px;
    opacity: 1;
    visibility: visible;
}

ul.sideMenu li a {
    color: var(--white);
    display: inline-block;
    margin-bottom: 10px;
}

.menu_ham {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 2rem;
    color: var(--white);
}

header.headerMain {
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    z-index: 9;
}

a.mainLogo {
    display: block;
    width: 130px;
    height: 130px;
    background: var(--white);
    padding: 25px;
    transform: translate(-12px, 0px);
}

.headerRight {
    text-align: right;
    margin-top: 30px;
}

.headerRight form {
    display: inline-block;
    background: var(--white);
    border-radius: 30px;
    padding: 5px 7px;
    overflow: hidden;
    border: 1px solid #c7c7c7;
}

.headerRight form button {
    background: transparent;
    border: none;
    outline: none;
}

.headerRight form input {
    width: 50px;
    background: transparent;
    box-shadow: none;
    border: none;
    color: var(--black);
    outline: none;
    padding-left: 10px;
    transition: .2s width linear;
}

.headerRight form:hover input {
    width: 150px;
}

ul.langSwitch {
    display: inline-block;
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    margin-left: 20px;
    border: 1px solid #c7c7c7;
}

ul.langSwitch li {
    display: inline-block;
}

ul.langSwitch li a {
    display: block;
    font-size: 14px;
    background: var(--white);
    color: var(--black);
    width: 35px;
    height: 35px;
    border-radius: 100%;
    text-align: center;
    padding-top: 7px;
}

ul.langSwitch li.current-lang a {
    background-color: var(--greenlight);
}

.headerSpace {
    min-height: 150px;
}

#MainSliderID .carousel-caption {
    right: unset;
    left: 120px;
    top: 50%;
    bottom: unset;
    transform: translate(0%, -50%);
    text-align: left;
    width: 50%;
}

#MainSliderID .carousel-caption h5 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 30px;
}

#MainSliderID .carousel-indicators {
    margin: 0;
    background: var(--white);
    width: 200px;
    right: 0;
    left: unset;
    padding: 20px;
    border-top-left-radius: 30px;
}

#MainSliderID img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

#MainSliderID .carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 100%;
    background: var(--greenlight);
    border: none;
}

#MainSliderID .carousel-item:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(45deg, rgb(0 0 0 / 50%), transparent);
}

section.advanceSolution,
.techInno {
    padding: 50px 0;
}

.advanceSolution h2,
.techInno h2 {
    margin-bottom: 30px;
}

.advanceBox {
    overflow: hidden;
    margin-top: 30px;
    width: 100%;
    height: 220px;
    position: relative;
    border-radius: 30px;
}

.advanceBox h3 {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 10px;
    color: var(--white);
    width: 58%;
}

.advanceBox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    ;
}

.advanceBox span {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--white);
}

.advanceBox a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.techInno {
    padding-left: calc(1.5rem * .5 + 100px);
    position: relative;
}

.tech-swiper-nav {
    position: absolute;
    right: 30px;
    top: 40px;
}

.tech-swiper-nav button {
    border: none;
    background: transparent;
}

.tech-swiper-nav button svg {
    width: 60px;
}

.techInno .techSwiper,
.techInno a.btnRound {
    margin-left: 100px;
}

ul.advanceTabList li a svg {
    width: 0px;
    opacity: 0;
    visibility: hidden;
    transition: .2s all linear;
}

ul.advanceTabList li.active a svg,
ul.advanceTabList li:hover a svg {
    width: 20px;
    opacity: 1;
    visibility: visible;
}

.ourClients {
    padding-bottom: 50px;
}

.clientSwiper {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 50px;
}

.clientSwiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    /* height: calc((100% - 30px) / 2) !important; */
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.clientSwiper .swiper-pagination-bullet-active {
    background: var(--green);
}

.clientSwiper .swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    background: var(--greenlight);
}

.ourClients h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 50px;
}

.clientBox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.clientBox {
    width: 100%;
    height: 100%;
    padding: 10px;
}

.techBox {
    background: var(--green);
    color: var(--white);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

.techBox a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
}

.techBox h3 {
    padding: 30px;
    min-height: 130px;
}

.techBoxImg {
    width: 100%;
    aspect-ratio: 1 / 0.9;
    overflow: hidden;
}

.techBoxImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: .2s all linear;
}

.techBox:hover .techBoxImg img {
    transform: scale(1.2);
}


.techBoxdesc {
    position: absolute;
    min-height: 0;
    z-index: 1;
    background: var(--green);
    padding: 30px;
    top: 130px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: 1s min-height ease;
}

.techBox:hover .techBoxdesc {
    min-height: calc(100% - 130px);
    visibility: visible;
    opacity: 1;
    transition: .5s min-height ease;
}

a.btnRound {
    display: inline-block;
    background: var(--greenlight);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 30px;
    transition: .2s all linear;
}

a.btnRound:hover {
    background: var(--green);
}

section.advanceSolutionTab {
    padding: 50px 0 100px;
}

.advanceTabBox {
    display: none;
    background: var(--green);
    color: var(--white);
    border-radius: 30px 30px 0 0;
    overflow: hidden;
}

.advanceTabBox.active {
    display: inherit;
}

ul.advanceTabList li a {
    display: block;
    color: gray;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
}

ul.advanceTabList li.active a {
    color: var(--black);
}

.advanceTabContent {
    padding: 20px;
}

.advanceTabBox h3 {
    margin: 10px 0 0;
}

.advanceTabBox h3,
.advanceTabBox p {
    padding: 5px 20px;
}

.advanceTabBox a {
    margin: 0px 0 20px 20px;
    display: inline-block;
    color: var(--white);
}

.advanceTabImg {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.advanceTabImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section.newsEvents {
    padding: 0 0 100px;
}

.newsEvents h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
}

section.newsEvents .btnRound {
    margin-left: auto;
    display: block;
    width: fit-content;
    margin-top: 12px;
}

.newsImg {
    width: 100%;
    aspect-ratio: 1 / 0.7;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 30px;
    overflow: hidden;
}

.newsImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newsBox {
    margin-bottom: 30px;
}

.newsBox .date {
    color: gray;
}

.newsBox h4 {
    color: var(--black);
    font-size: 1.2rem;
}

span.tag {
    font-size: 13px;
    display: inline-block;
    border: 1px solid var(--greenlight);
    padding: 5px 12px;
    border-radius: 30px;
    color: var(--greenlight);
    margin-bottom: 7px;
}

footer.mainFooter {
    background: var(--greenlight);
    padding: 50px 0;
    color: var(--white);
}

ul.footerMenu li {
    display: inline-block;
    width: 38%;
    margin-bottom: 10px;
}

ul.footerMenu li a {
    color: var(--white);
}

ul.footerSocial {
    text-align: right;
}

ul.footerSocial li {
    display: inline-block;
}

ul.footerSocial li a {
    color: var(--white);
    font-size: 1.5rem;
    margin-left: 20px;
}

p.poweredby img {
    height: 20px;
    width: auto;
}

p.poweredby {
    text-align: right;
    margin-top: 20px;
}

.pageHeading {
    font-size: 2.5rem;
    font-weight: bold;
    position: relative;
}

.pageHeading:before {
    content: '';
    height: 5px;
    width: 100px;
    background: var(--greenlight);
    position: absolute;
    top: -5px;
}

section.aboutus img {
    margin-bottom: 30px;
}

section.impactAbout {
    padding: 50px 0 100px;
}

.impactBox {
    position: relative;
    padding: 50px;
}

.impactBox:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    background: #F3F7F9;
    width: 60%;
    height: 100%;
    z-index: -1;
}

.numbersBox {
    position: relative;
}

ul.impactNumbers {
    position: absolute;
    background: var(--green);
    width: 100%;
    color: var(--white);
    padding: 40px;
}

ul.impactNumbers li {
    display: inline-block;
    width: 48%;
    vertical-align: top;
}

ul.impactNumbers li span {
    font-size: 2rem;
    display: block;
}

section.aboutFocus {
    padding-bottom: 100px;
}

section.aboutFocus h3 {
    font-size: 2rem;
    font-weight: bold;
}

section.coverImg {
    position: relative;
}

.service_title {
    position: absolute;
    bottom: 0;
    width: fit-content;
    background: var(--white);
    padding: 20px 20px 20px 120px;
}

section.coverImg img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

.page {
    padding: 50px 0;
}

.sustainCenter {
    padding: 50px;
    width: 80%;
    margin: 0 auto;
    position: relative;
    top: -100px;
    background: var(--white);
}

.gmap iframe {
    width: 100%;
    height: 300px;
    margin: 50px 0;
}

.contactForm input,
.contactForm textarea {
    display: block;
    width: 90%;
    padding: 10px;
    outline: none;
    border: 1px solid var(--greenlight);
    resize: none;
}

.contactForm textarea {
    height: 150px;
}

.contactForm button {
    display: block;
    background: var(--greenlight);
    color: var(--white);
    padding: 7px 20px;
    border: none;
    border-radius: 30px;
    margin-top: 20px;
    outline: none;
}

.wpcf7 br {
    display: none;
}

.wp-block-table td,
.wp-block-table th {
    border: none;
    border-bottom: 1px solid #ccc;
}

.wp-block-table tr:last-child td,
.wp-block-table tr:last-child th {
    border: none;
}

section.projSlider {
    padding: 100px 10% 50px;
    position: relative;
}

.projSlider button.carousel-control-prev,
.projSlider button.carousel-control-next {
    position: absolute;
    top: -70px;
    width: 60px;
    left: unset;
    right: 0;
    bottom: unset;
}

.projSlider button.carousel-control-prev {
    right: 60px;
}

section.aboutus img {
    margin-bottom: 30px;
}

section.newsEvents.jobsPage {
    padding: 0;
}

.jobSearch {
    margin-bottom: 40px;
}

.jobSearch input {
    width: calc(100% - 180px);
    padding: 8px;
    border: 2px solid var(--greenlight);
    border-radius: 30px;
}

.jobSearch button {
    width: 150px;
    background: var(--greenlight);
    color: var(--white);
    border: none;
    padding: 8px 0;
    text-align: center;
    border-radius: 30px;
    border: 2px solid var(--greenlight);
}

section.jobsList table thead {
    border-top: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
}

section.jobsList table tbody tr td {
    background: #EAEAEA;
    border-bottom: 7px solid var(--white);
    cursor: pointer;
}

.jobSingle a,
a.applyNow {
    display: block;
    background: var(--greenlight);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    width: fit-content;
    margin-left: auto;
}

.jobSingle a:after,
a.applyNow:after {
    content: '\f178';
    font-family: FontAwesome;
    margin-left: 10px;
}

.applyNowPage form {
    margin-top: 30px;
}

.applyNowPage form p {
    margin-bottom: 10px;
}

.applyNowPage form p span {
    color: red;
}

.applyNowPage form .wpcf7-form-control-wrap {
    width: 100%;
}

.applyNowPage form br {
    display: none !important;
}

span.wpcf7-not-valid-tip {
    font-size: 14px;
}

.applyNowPage form input {
    width: 100%;
    display: block;
    padding: 7px 10px;
    margin-bottom: 5px;
    border: 2px solid #D5D7DE;
}

.applyNowPage form label {
    font-size: 14px;
    color: gray;
}

.applyNowPage form .col-sm-6,
.applyNowPage form .col-sm-12 {
    margin-bottom: 30px;
}

.applyNowPage form textarea {
    width: 100%;
    resize: none;
    border: 2px solid #D5D7DE;
    border-radius: 5px;
}

.codedropz-upload-inner h3 {
    margin-bottom: 0px;
    color: #5c5c5c;
    font-size: 22px;
}

.codedropz-upload-inner,
.codedropz-upload-inner span,
.codedropz-upload-inner a {
    color: #D5D7DE !important;
}

span.dnd-upload-counter,
span.dnd-upload-counter>span {
    color: var(--black) !important;
}

.codedropz-upload-handler {
    padding: 20px;
}

.dnd-upload-status .dnd-upload-details .dnd-progress-bar span {
    background: var(--green);
}

.applyNowPage form .wpcf7-acceptance input {
    display: inline-block;
    width: fit-content;
}

.applyNowPage form .wpcf7-acceptance>span {
    margin-left: 0;
}

.applyNowPage form input[type='submit'],
.applyNowPage form button[type='submit'] {
    display: block;
    width: fit-content;
    margin-left: auto;
    background: var(--greenlight);
    border: none;
    color: var(--white);
    font-size: 16px;
    padding: 7px 20px;
    border-radius: 30px;
}

.applyNowPage form button[type='submit'] i {
    margin-left: 5px;
}

.applyNowPage form .wpcf7-acceptance span {
    color: var(--black) !important;
}


@media only screen and (max-width: 500px) {
    .sidebar {
        width: 40px;
    }

    .sidebar.showMenu .sideMenu {
        left: 40px;
    }

    html #wpadminbar {
        display: none;
    }

    html {
        margin: 0px !important;
    }

    .menu_ham {
        font-size: 1rem;
    }

    .sidebar:hover .sideMenu {
        left: 40px;
    }

    a.mainLogo {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        background: var(--white);
        padding: 8px;
        transform: translate(-12px, 0px);
    }

    .headerRight {
        margin-top: 10px;
    }

    .container-fluid {
        padding-left: calc(var(--bs-gutter-x) * .5 + 40px);
    }

    #MainSliderID .carousel-caption {
        left: 60px;
        width: 80%;
    }

    #MainSliderID .carousel-caption h5 {
        font-size: 2rem;
    }

    #MainSliderID img {
        height: 60vh;
        min-height: 550px;
    }

    #MainSliderID .carousel-caption h5 {
        margin-bottom: 10px;
    }

    .techInno {
        padding-left: calc(1.5rem * .5 + 40px);
    }

    ul.langSwitch {
        margin-left: 0;
    }

    .headerRight form input {
        width: 50px;
    }

    .headerRight form:hover input {
        width: 90px;
    }

    .techBox h3 {
        padding: 20px 15px 10px;
        min-height: 70px;
        font-size: 14px;
    }

    ul.advanceTabList {
        margin-bottom: 20px;
    }

    .ourClients h3 {
        margin-bottom: 10px;
    }

    ul.impactNumbers {
        position: inherit;
        padding: 20px;
    }

    section.aboutFocus img {
        margin-bottom: 30px;
    }

    .impactBox {
        padding: 0px;
    }

    section.coverImg img {
        height: 200px;
    }

    .sustainCenter p {
        width: 90%;
        top: -40px;
        padding: 20px;
        text-align: justify;
    }

    .advanceSolution h2,
    .techInno h2 {
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .advanceBox h3 {
        font-size: 1.3rem;
        font-weight: bold;
    }

    .tech-swiper-nav {
        position: unset;
        text-align: right;
    }

    .tech-swiper-nav button svg {
        width: 40px;
        margin: 10px 0 20px;
    }

    .techInno .techSwiper,
    .techInno a.btnRound {
        margin-left: 10px;
    }

    .advanceTabImg {
        height: 200px;
    }

    .advanceTabImg img {
        transform: scale(1.2);
    }

    .advanceTabContent {
        padding: 10px;
    }

    .newsEvents h3 {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 0px;
    }

    section.advanceSolutionTab {
        padding: 0px 0 100px;
    }

    section.newsEvents .btnRound {
        margin-bottom: 12px;
    }

    ul.footerSocial {
        text-align: left;
    }

    ul.footerSocial li a {
        margin-left: 0;
        margin-right: 20px;
    }

    p.poweredby {
        text-align: left;
        margin-top: 20px;
    }
}