:root {
    --the-black: #000000;
    --the-white: #fff;
    --the-dark-gray: #1f435d;
    --the-gray: #f4f4f4;
}


/*-------*/


/* Executive Committee */

.exec-image {
    height: 408px;
}

.exec-image img {
    height: 100%;
    width: 100%;
}

.executive-holder {
    position: relative;
    margin-bottom: 5em;
}

.exec-description {
    text-align: center;
}

.exec-pos {
    font-style: italic;
}

.exec-name {
    font-weight: 600;
}

@media (min-width: 800px) {
    .ministry {
        padding: 10px;
    }
    .exec-description {
        position: absolute;
        width: 100%;
        height: 0%;
        top: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: rgba(31, 67, 93, 0.8);
        overflow: hidden;
        transition: 0.5s ease;
    }
    .executive-holder:hover .exec-description {
        height: 100%;
        bottom: 0;
    }
    .exec-image {
        overflow: hidden;
        transition: 0.5s ease;
    }
    .exec-image img {
        transition: 0.5s ease;
    }
    .executive-holder:hover .exec-image img {
        transform: scale(1.1);
        transition: 0.5s ease;
    }
    .executive-holder {
        color: var(--the-white);
    }
}


/* About us */

.abt-image {
    background-image: url("img/about-us.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.vision::before {
    content: "\e803";
    font-family: saz;
    font-size: 3em;
    color: var(--the-white);
    background: var(--the-dark-gray);
    display: flex;
    width: 100px;
    border-radius: 50%;
    height: 100px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.mission::before {
    content: "\e802";
    font-family: saz;
    font-size: 3em;
    color: var(--the-white);
    background: var(--the-dark-gray);
    display: flex;
    width: 100px;
    border-radius: 50%;
    height: 100px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.core-values::before {
    content: "\e801";
    font-family: saz;
    font-size: 3em;
    color: var(--the-white);
    background: var(--the-dark-gray);
    display: flex;
    width: 100px;
    border-radius: 50%;
    height: 100px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.core-values li {
    font-size: 1.2em;
}

.core-values li {
    list-style: disc;
    list-style-position: inside !important;
}

.vision h4,
.mission h4,
.core-values h4 {
    color: var(--the-dark-gray);
}

/* .main-values {
    display: flex;
    flex-direction: column;
    gap: 102px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
} */

@media (min-width: 800px) {
    .abt-holder {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        /* gap: 0px 25px; */
        grid-template-areas: "abt-image Vision Vision" "abt-image Mission Mission" "abt-image Core-Values Core-Values";
        min-height: 90vh;
        margin-bottom: 5em;
        gap: 60px 0px;
    }
    .abt-image {
        grid-area: abt-image;
    }
    .vision {
        grid-area: Vision;
    }
    .mission {
        grid-area: Mission;
    }
    .core-values {
        grid-area: Core-Values;
    }
    .abt-image {
        background-image: url("img/about-us.png");
        background-repeat: no-repeat;
        background-size: cover;
        margin-left: calc(-22% - 0px);
    }
    .vision,
    .mission,
    .core-values {
        /* display: flex; */
        flex-direction: column;
        justify-content: center;
    }
    .core-values,
    .vision,
    .mission {
        position: relative;
        left: 50px;
    }
    .vision::before {
        content: "\e803";
        font-family: saz;
        font-size: 3em;
        color: var(--the-white);
        background: var(--the-dark-gray);
        display: flex;
        width: 100px;
        border-radius: 50%;
        height: 100px;
        text-align: center;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: -125px;
    }
    .mission::before {
        content: "\e802";
        font-family: saz;
        font-size: 3em;
        color: var(--the-white);
        background: var(--the-dark-gray);
        display: flex;
        width: 100px;
        border-radius: 50%;
        height: 100px;
        text-align: center;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: -125px;
    }
    .core-values::before {
        content: "\e801";
        font-family: saz;
        font-size: 3em;
        color: var(--the-white);
        background: var(--the-dark-gray);
        display: flex;
        width: 100px;
        border-radius: 50%;
        height: 100px;
        text-align: center;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: -125px;
    }
    .core-values li {
        padding-left: 2em;
    }
}


/* Contact us */

.center-get-intouch {
    text-align: center;
    color: var(--the-dark-gray);
}

.the-form {
    text-align: center;
    width: 100%;
}

.wpcf7-form-control {
    height: 3.8em;
    width: 100%;
    border: 1px solid #e7e7e7;
}

.wpcf7-form-control.wpcf7-textarea {
    height: 15em;
}

.wpcf7-form-control.wpcf7-acceptance {
    border: none;
}

.wpcf7-form-control.has-spinner.wpcf7-submit {
    border: 1px solid var(--the-black);
    width: 130px;
    color: var(--the-dark-gray);
}

iframe {
    width: 100%;
    margin-bottom: -8px;
}

.the-contact-map {
    margin-top: 7em;
}

.the-contact-map .center-get-intouch {
    margin-bottom: 3em;
}

@media (min-width: 760px) {
    .wpcf7-form-control {
        height: 3.8em;
        width: 55%;
        padding: 15px;
        border: 1px solid #e7e7e7;
    }
    .wpcf7-form-control.wpcf7-acceptance {
        border: none;
        display: inline-block;
        text-align: left;
        margin-left: -56px;
    }
}


/* Popular Standards */

.popular-standards {
    background: var(--the-gray);
    padding: 6em 0;
    margin-bottom: 3em;
}

.standards-holder {
    border-bottom: 2px solid #e7e7e7;
    margin-bottom: 15px;
}

.standards-title a {
    color: var(--the-dark-gray);
}

.pop-stan h3 {
    font-weight: 400;
    color: var(--the-dark-gray);
}

.the-button.popular {
    margin-top: 3em;
    margin-bottom: 2em;
}


/* News */

@media (max-width: 760px) {
    .news-flex {
        display: flex;
        gap: 2em;
        justify-content: space-between;
        width: 100%;
        margin: 3em 0;
        flex-wrap: wrap;
    }
}

.news-flex {
    display: flex;
    gap: 3em;
    justify-content: space-between;
    width: 100%;
    margin: 3em 0;
    /* flex-wrap: wrap; */
}

.the-button a {
    background: var(--the-dark-gray);
    padding: 20px 30px;
    color: var(--the-white);
    transition: 500ms;
    display: inline-block;
}

.col-sm-12.center {
    text-align: center;
}

.news-text-content h4 {
    padding-top: 28px;
}

.the-news-image img {
    height: 300px;
}


/* Markets */

.services-title {
    padding: 0px 5px;
}

@media (max-width: 760px) {
    .services-title {
        flex-basis: 100% !important;
    }
}

.topics-holder {
    display: flex;
    border: 1px solid #e7e7e7;
    align-items: center;
    overflow: hidden;
    margin-bottom: 20px;
}

.m.and.t {
    margin: 8em 0;
}

.the-topics-wrapper {
    margin: 2em 0;
}

.services-title a {
    font-size: 1.2em;
    padding-left: 30px;
}

@media (min-width: 800px) {
    .services-image {
        position: relative;
    }
    .services-image::before {
        content: "";
        width: 0;
        height: 0;
        border-top: 135px solid transparent;
        border-left: 138px solid var(--the-white);
        border-bottom: 0px solid transparent;
        position: absolute;
        z-index: 9;
    }
    .services-title {
        flex-basis: 45%;
    }
}


/* solutions */

@media (min-width: 600px) {
    .the-solutions div {
        flex-basis: 45%;
    }
}

.the-solutions p {
    font-size: 1.4em;
}

.the-solutions {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: space-between;
    padding: 30px 0 100px 0px;
}

.certified::before {
    content: "\e80d";
    font-family: saz;
    font-size: 4em;
    color: var(--the-dark-gray);
}

.product-certification::before {
    content: "\e80b";
    font-family: saz;
    font-size: 4em;
    color: var(--the-dark-gray);
}

.apply-tranning::before {
    content: "\e80c";
    font-family: saz;
    font-size: 4em;
    color: var(--the-dark-gray);
}

.standards::before {
    content: "\e80a";
    font-family: saz;
    font-size: 4em;
    color: var(--the-dark-gray);
}

.the-solutions div {
    display: flex;
    align-items: center;
    gap: 20px;
}


/* Footer */

.the-copy-r {
    background: var(--the-black);
}

.th-cr-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1em;
    padding-top: 20px;
}

#menu-footer-menu li {
    list-style: none;
}

.th-cr-wrapper p {
    color: var(--the-white);
}

.fluid-container.for-footer {
    background: var(--the-dark-gray);
    padding: 60px 0px;
    padding-top: 80px;
    margin-top: 40px;
}

.foot-logo-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1em;
    align-items: center;
}

#menu-footer-menu {
    display: flex;
    gap: 3em;
    flex-wrap: wrap;
    list-style: none;
    justify-content: flex-end;
}

#menu-footer-menu li a {
    color: var(--the-white);
}

.social {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    color: var(--the-white);
    justify-content: flex-end;
}

.social a {
    color: #fff;
}

.by-quatro a {
    color: #fff;
    font-weight: 600;
}

.footer-links {
    margin-top: 0.5em;
}

.social a {
    border: 1px solid;
    padding: 15px;
    border-radius: 50%;
}

.ms-caption {
    margin-bottom: 0em;
    position: relative !important;
    top: -215px !important;
    /* text-align: center; */
    display: block;
    /* width: 100%; */
    /* left: 0; */
}


/* Tabs Css */


/* Style the tab */

.tab {
    overflow: hidden;
    background-color: transparent;
    /* border-bottom: 3px solid #ddd; */
    position: relative;
}


/* Style the buttons inside the tab */

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
    border-bottom: 4px solid transparent;
}

.tab::before {
    content: "";
    border-bottom: 4px solid #ddd;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0px;
    z-index: -1;
}


/* Change background color of buttons on hover */

.tab button:hover {
    background-color: transparent;
    border-bottom: 4px solid var(--the-dark-gray);
}


/* Create an active/current tablink class */

.tab button.active {
    background-color: #ccc;
}


/* Style the tab content */

.tabcontent {
    display: none;
    padding: 40px 20px;
    border: 0;
    border-top: none;
}

.the-tabs {
    width: 100%;
}

.tab button.active {
    background-color: transparent;
    border-bottom: 4px solid var(--the-dark-gray);
}


/* Effects */

.is-layout-flex.wp-block-buttons a,
.the-button.popular a {
    border: 1px solid transparent;
}

.is-layout-flex.wp-block-buttons a:hover,
.the-button.popular a:hover {
    background: var(--the-white) !important;
    border: 1px solid var(--the-dark-gray);
    color: var(--the-dark-gray) !important;
}

.services-image {
    overflow: hidden;
}

.services-image img:hover {
    transform: scale(1.1);
}

.services-title a,
.social a,
.menu-footer-menu-container ul li a,
.the-button a,
.standards-title a h4,
.news-text-content a h4,
#menu-footer-menu li a,
.apbPostTitle a {
    transition: 500ms;
}

.services-title a:hover {
    margin-left: 10px;
}

.menu-footer-menu-container ul li a:hover {
    transform: scale(1.1);
}

.social a:hover {
    background: var(--the-white);
    color: var(--the-dark-gray);
}

.the-button a {
    border: 1px solid transparent;
}

.the-button a:hover {
    background: var(--the-white);
    color: var(--the-dark-gray);
    border: 1px solid var(--the-dark-gray);
}

.standards-title a h4:hover,
.news-text-content a h4:hover,
.apbPostTitle a:hover {
    margin-left: 4px;
}

#menu-footer-menu li a:hover {
    border-bottom: 1px solid var(--the-white);
}

.apbPostFImg {
    overflow: hidden;
    transition: 500ms;
}

.apbPostFImg:hover {
    transform: scale(1.1) !important;
}

.mega-sub-menu li a {
    transition: 500ms !important;
}

.mega-sub-menu li a:hover {
    margin-left: 5px !important;
    transition: 500ms !important;
}

#mega-menu-primary li a {
    transition: 500ms;
}

#mega-menu-primary li>a:hover {
    border-bottom: 1px solid var(--the-dark-gray) !important;
}

#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link:hover {
    border-bottom: 0 !important;
}

.top-bar-items a:hover {
    margin-left: 5px !important;
    transform: scale(1.1) !important;
}

.top-bar-items a {
    transition: 500ms;
    color: #fff;
}


/* Add your popup styles here */

#popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

#popup-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#popup-container h2 {
    margin-top: 0;
    font-size: 1.1em;
}

#popup-container form {
    margin-top: 20px;
}

#popup-container label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #1f435d;
    font-weight: 600;
}

#popup-container input {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #d6d6d6;
    border-radius: 5px;
    background: transparent;
}

#popup-container input[type="submit"] {
    background-color: #1f435d;
    color: #fff;
    cursor: pointer;
    border: none;
    border-radius: 0;
}

#popup-container button {
    background-color: #1f435d;
    color: #fff;
    cursor: pointer;
    border: none;
    padding: 4px 10px;
    margin-top: 20px;
}

#popup-container p {
    margin-bottom: 10px;
}

.o-s {
    margin-bottom: 60px;
    border: 1px solid #d1cece;
}

.tenders-holder {
    display: flex;
    justify-content: space-between;
    gap: 2px;
    padding: 5px;
    align-items: center;
}

.tenders-file h5 {
    font-size: 1.1em;
    margin-bottom: 0;
}

p.tender-deadline {
    font-size: 14px;
    margin-bottom: 0;
    font-style: italic;
}

.tenders-wrapper:nth-child(odd) {
    background: #1f435d;
    color: #fff;
}

.tenders-wrapper:nth-child(even) {
    background: var(--the-gray);
}

.tender-btn-container a {
    background: #000;
    color: #fff;
    border-radius: 50px;
    padding: 2px 10px;
    font-size: 14px;
}

.tender-title {
    display: flex;
    gap: 10px;
    align-items: center;
}

span.open {
    font-size: 12px;
    background: black;
    color: #fff;
    padding: 1px 7px;
    border-radius: 50px;
}


/* Pagination */

.pagination {
    gap: 2px;
    margin: 40px 0;
}

.pagination span {
    background: #1f435d;
    color: #fff;
    padding: 2px 3px;
}

.pagination .current {
    padding: 2px 10px;
    background: #000;
}

.pagination .inactive {
    padding: 2px 10px;
    background: #1f435d;
    color: #fff;
}

.pagination .inactive:hover {
    background: #000;
}


/* Tabs */


/* Tabs container */

.tab-container {
    margin-top: 20px;
    margin-bottom: 40px;
}


/* Tab navigation */

.tabs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tabs li {
    display: inline-block;
    margin-right: 10px;
}

.tabs li a {
    display: block;
    padding: 5px 10px;
    background-color: #f2f2f2;
    color: #333;
    text-decoration: none;
    /* border: 1px solid #ccc; */
    /* border-radius: 5px; */
}

.tabs li a:hover {
    background-color: #1f435d;
    color: #fff;
}


/* Tab content */

.tab-content {
    display: none;
    /* padding: 10px; */
    /* border: 1px solid #ccc; */
    /* border-radius: 5px; */
}

.tab-content:first-child {
    display: block;
}


/* Active tab styling */

.tabs li.active a {
    background-color: #1f435d;
    color: #fff;
}

.tabs li.active a:hover {
    background-color: #1f435d;
}


/* ATCs */

.atcs {
    margin-bottom: 40px;
}

.atc-wrapper {
    padding: 10px;
    font-size: 14px;
}

.atc-wrapper:nth-child(odd) {
    background: #1f435d;
    color: #fff;
}

.atc-wrapper:nth-child(even) {
    background: var(--the-gray);
}


/* Destination Page */

@media(max-width: 500px) {
    .container.ds .mst-flex {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .d-title h2 {
        font-size: 22px;
    }

    .d-content-wrapper {
        width: 80%;
    }
}


.destination-container {
    position: relative;
}

.destination-item {
    width: 100%;
    height: 75vh;
}

.destination-item img {
    height: 550px;
}

.d-content-wrapper {
    position: absolute;
    top: 25%;
    width: 80%;
}


.d-title {
    background: rgba(255, 255, 255, 0.57);
    padding: 30px;
    border-radius: 5px;
}

.d-title h2 {
    margin-bottom: 0;
}

.portal-btn {
    margin-top: 100px;
}

.portal-btn a {
    background: #fff;
    padding: 15px 30px;
    border-radius: 0;
}

section#inquiry {
    background: #F4F4F4;
    padding: 60px 0;
    margin-bottom: 30px;
}

section#inquiry p {
    font-weight: 600;
}

.details-wrap {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}


#naqa-countdown-section {
    background: #000000;
    padding: 40px 0;
    text-align: center;
}
.countdown-wrapper h3 {
    color: #ffffff;
    font-size: 1.8em;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
#naqa-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}
.timer-box {
    background: #111111;
    border: 1px solid #947A47;
    border-radius: 8px;
    padding: 15px;
    min-width: 90px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.timer-box span {
    display: block;
    color: #947A47;
    font-size: 2.5em;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}
.timer-box label {
    display: block;
    color: #ffffff;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}
.deadline-note {
    color: #947A47;
    font-size: 1.1em;
    margin-top: 15px;
    font-weight: 600;
}
@media only screen and (max-width: 600px) {
    .countdown-wrapper h3 {
        font-size: 1.3em;
    }
    #naqa-timer {
        gap: 10px;
    }
    .timer-box {
        padding: 10px;
        min-width: 70px;
    }
    .timer-box span {
        font-size: 1.8em;
    }
    .timer-box label {
        font-size: 0.7em;
    }
}