/* * { border: 1px solid red !important; } */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'roboto', sans-serif;
    color: #9096a2;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
li {
    margin-top: 0;
}

/* Typography */
.hero-subtitle {
    color: #20324a;
    margin-bottom: 1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #20324a;
    font-family: 'montserrat';
    font-weight: 500;
}

h1 {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: #fff;
}


.title-with-rider {
    margin-bottom: 0;
}

.section-title-rider {
    margin-bottom: 1em;
}

#hero p {
    margin-bottom: 2em;
}

.hero-ctas {
    display: flex;
    justify-content: start;
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 2px;
    margin-bottom: 0;
    font-size: .8em;
}

.btn-primary {
    background-color: #20324a;
    color: #fff;
}

.btn-accent {
    background-color: #f2c91d;
    color: #20324a;
}

.btn-light {
    background-color: #fff;
    color: #20324a;
    border: solid 1px #ecf2f7;
}

#hero .btn {
    margin-right: .8em;
    font-weight: 600;
}

.fa {
    margin-right: .5em;
}

.courses-cta {
    display: flex;
    justify-content: space-between;
}

/*.courses-cta .btn {
    display: inline-block;
}*/




/*------- Layout -------------*/
.container {
    width: 85%;
    margin: 0 auto;
}

header {
    background-color: #20324a;
    color: #fff;
    padding: 1.5em 0;
}

section#hero {
    background-color: #ecf2f7;
    padding: 4em 0;
}

.container-hero {
    display: flex;
}

.hero-texts {
    width: 65%;
}

.hero-other {}


section#popular-courses {
    padding: 2em 0;
    background-color: #f8fafc;
}

section#consult {
    padding: 4em 0;
    background-color: #ffffff;
}

.container-consult {
    display: flex;
    justify-content: space-between;
}

.consult-infos {
    width: 55%;
    margin: 0;
    padding: 0;
}

.consult-ctas {
    background-color: #ecf2f7;
    padding: 1em;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    width: 35%;
    max-height: 120px;
}

.consult-ctas .btn {
    width: 100%;
}

section#choose-us {
    background-color: #ecf2f7;
    padding: 3em 0;
}

.choose-us-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: .6em;
}

.choose-us-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.choose-us-stats article {
    background-color: #ffffff;
    padding: 1.4em;
    border: solid 1px #9096a2;
    border-radius: 10px;
    width: 24%;
}

.choose-us-stats article h4 {
    margin-bottom: .2em;
}

.choose-us-stats article p {
    margin-bottom: 0;
}


section#about-us {
    background-color: #ffffff;
    padding: 3em 0;
}

.container-about {
    display: flex;
    justify-content: space-between;
}

.about-us-info {
    width: 60%;
}

.about-us-info p {
    font-size: 1em;
}

.about-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 35%;
}


section#partners {
    background-color: #fff;
    padding: 5em 0;
}

.partners-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: .6em;
}

.partners-stats {
    display: flex;
    justify-content: space-between;
}

.partners-stats article {
    background-color: #ffffff;
    padding: 1em;
    border: solid 1px #9096a2;
    width: 24%;
}

.partners-stats article h4 {
    margin-bottom: .2em;
}

footer {
    background-color: #20324a;
    color: #fff;
    padding: 3em 0;
}

.container-footer {
    display: flex;
    justify-content: space-between;
}

footer h3 {
    color: #fff;
}

.foot-note {
    width: 40%;
    margin: 0;
    padding: 0;
}

.foot-note p {
    border-bottom: solid 1px #9096a2;
    padding-bottom: 2em;
    margin-bottom: 0;
}

.foot-note span {
    color: #9096a2;
}

.quick-links {
    width: 17%;
}

.foot-contact {
    width: 37%;
}

.foot-contact .fa {
    font-size: 1.2em;
}

.quick-links ul,
.foot-contact ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

footer p,
footer ul,
footer span {
    font-size: .9em;
}


/* ---------------------------- */
/* Nav */
.container-nav {
    display: flex;
    justify-content: space-between;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav li {
    margin-left: 2em;
}

nav a {
    color: inherit;
    text-decoration: none;
    font-size: .9em;
    font-weight: 400;
}

/*------------------------------------------*/
/*------ Popular Courses Filter -----------*/

.content-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.content-item {
    display: none;
    background-color: #fff;
    padding: 1.1em 1.1em;
    border: solid 2px #ecf2f7;
    border-radius: 5px;
    width: 33%;
    margin-bottom: 1em;
}

.content-item.show {
    display: block;
    /* or flex, grid, etc. depending on layout */
}

.content-item img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 1em;
    min-height: 200px;
    max-height: 200px;
}

.content-item h4,
.content-item p {
    margin-bottom: .5em;
}

.content-item p {
    font-size: .9em;
}

p.courses-cta {
    font-size: 1em;
}

.tab-container {
    margin-bottom: 1.5em;
}


.tab-button {
    color: #20324a;
    font-size: .8em;
    background-color: #ecf2f7;
    padding: .4em 1.1em;
    margin-right: .5em;
    margin-bottom: .3em;
    border-radius: 20px;
    border: solid 1px #9096a2;
}

.tab-button.all {}

.tab-button.active {
    background-color: #f2c91d;
    border: none;
}



/*Alas!!! Borrowed CSS for testimonials slider*/

section#testimonial-section {
    text-align: center;
}

.slider-container {
    position: relative;
    overflow: hidden;
    background-color: #f8fafc;
    /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);*/
    padding: 40px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slide.active {
    opacity: 1;
}

.slide p {
    color: #20324a;
    margin-bottom: 10px;
}

.slide h4 {
    color: #20324a;
}

.slide img {
    border-radius: 50%;
}

.nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #20324a;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
}

.nav button:hover {
    background: #005ecc;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.dots {
    margin-top: 15px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    display: inline-block;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #20324a;
}

/*------------------------------------------*/
/*------ Utility Classes-----------*/

.text-cntr {
    text-align: center;
}

.bg-color-primary {
    background-color: #20324a;
}

.bg-color-secondary {
    background-color: #ecf2f7;
}

.bg-color-tertiary {
    background-color: #f8fafc;
    ;
}

.bg-color-accent {
    background-color: #f2c91d;
}

.bg-color-light {
    background-color: #ffffff;
}

/*Individual Pages Head*/

section#page-head {
    padding: 1.7em 0;
}

.container-page-head {
    display: flex;
    justify-content: space-between;
    font-size: .9em;
}

.breadcrumb-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.breadcrumb-container nav,
.breadcrumb-container h3 {
    margin-bottom: 0;
}

.breadcrumb {
    padding: 0;
}

.breadcrumb ul {
    display: flex;
    justify-content: start;
    list-style: none;
}

.breadcrumb li {
    margin: 0;
    padding: 0;
}

.breadcrumb li:not(:last-child)::after {
    margin: 0 .7em;
    content: ">";
}

.breadcrumb li:last-child a {
    font-weight: 600;
}

.course-tracks {
    padding: .7em;
    border-radius: 10px;
    border: solid 1px #ccc;
    margin-top: 0;
    width: 30%;
}

.course-tracks p {
    margin-bottom: .5em;
}

p.no-courses,
p.no-tracks {
    display: flex;
    justify-content: space-between;
}

.no-courses span,
.no-tracks span {
    display: inline-block;
    color: #20324a;
    font-weight: 500;
}

/*Amendment for the course page*/

.overall-flex {
    display: flex;
    justify-content: space-between;
}

.overall-flex .tab-container {
    width: 75%;
}

.overall-flex .search-box {
    width: 20%;
    margin: 0;
    padding: 0;
}

.overall-flex form input {
    border-radius: 8px;
    border: solid 1px #ccc;
    padding: .4em;
    font-family: inherit;
}


.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    /* remove list bullets */
    padding: 0px;
}

.pagination li a {
    display: block;
    /* let links fill the list item */
    padding: 8px 12px;
    text-decoration: none;
    border: 1px solid gray;
    color: black;
    margin: 0 4px;
    border-radius: 5px;
    /* add rounded borders */
}


/*============================*/
/*-------Consultancy Page-------*/

section#consultPage {
    padding: 3em 0;
}

.container-consultPage {
    display: flex;
    justify-content: space-between;
}

.consult-main {
    width: 63%;
    padding: 1em;
    border: solid 1px #ecf2f7;
    border-radius: 10px;
}

.consult-aside {
    width: 36%;
}

.expertise {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: .9em;
    margin-bottom: 2em;
}

.expertise h4,
.expertise p {
    margin-bottom: .3em;
}

.expertise h3 {
    width: 100%;
}

.expertise article {
    border: solid 1px #ecf2f7;
    border-radius: 10px;
    margin-bottom: .7em;
    width: 48%;
    padding: 1em;
}



.how-it-works {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: .9em;
}

.how-it-works h3 {
    width: 100%;
}

.how-it-works article {
    width: 24%;
    padding: 1em;
}

.how-it-works article h4,
.how-it-works article p {
    margin-bottom: .4em;
}

.how-it-works article span {
    padding: .5em .85em;
    display: inline-block;
    border-radius: 50%;
    margin-bottom: .7em;
    color: #20324a;
    font-weight: 600;
}


.consult-form {
    padding: 1em;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 1em;
    border: solid 1px #ecf2f7;
    border-radius: 10px;
}

.consult-form *:not(h3) {
    font-family: inherit;
    font-size: .9em;
    display: inline-block;
    border: solid 1.3px #ecf2f7;
    border-radius: 5px;
    padding: .5em;
}

.consult-form textarea{
    min-height: 120px;
}

.frm-stretch {
    width: 100%;
    margin-bottom: 1em;
}

.frm-share-2 {
    width: 48%;
    margin-bottom: 1em;
}

.consult-aside article{
    display: flex;
    flex-direction: column;
    padding: .7em;
    border: solid 1px #ecf2f7;
    border-radius: 10px;
}

.consult-aside article a{
    margin-bottom: 1em;
    text-align: center;
    font-size: 1em;
    font-weight: 500;
}


/*=====================================================*/
/*--Media Queries--*/

@media (max-width: 1000px) {

    footer p,
    footer ul,
    footer span {
        font-size: .7em;
    }

    .how-it-works article {
        width: 48%;
        margin-bottom: 1em;
    }
}


@media (max-width: 900px) {
    .content-item {
        width: 49%;
    }

    .container-consult {
        flex-direction: column;
        align-items: center;
    }

    .consult-infos {
        width: 90%;
    }

    .consult-ctas {
        width: 90%;
    }

    .consult-ctas .btn {
        margin-bottom: 1em;
        width: 100%;
    }

    .choose-us-stats article p {
        font-size: .8em;
    }

    .container-about {
        flex-direction: column;
        align-items: center;
    }

    .about-us-info {
        width: 90%;
    }

    .about-cta {
        width: 90%;
    }

    .container-footer {
        flex-direction: column;
        align-items: center;
    }

    footer p,
    footer ul,
    footer span {
        font-size: .9em;
    }

    .foot-note {
        order: 1;
        margin-bottom: 0;
    }

    .foot-contact {
        margin-bottom: 0;
    }

    .foot-note,
    .quick-links,
    .foot-contact {
        margin-bottom: 2em;
        width: 80%;
    }

    .foot-note h3,
    .quick-links h3,
    .foot-contact h3 {
        margin-bottom: .3em;
    }

    .foot-note p {
        padding-bottom: 1em;
    }

    .container-page-head {
        flex-direction: column;
    }

    .breadcrumb-container {
        margin-bottom: 1em;
    }

    .course-tracks {
        width: 50%;
        border-radius: 8px;
    }

    .container-consultPage {
        flex-direction: column;
        align-items: center;
    }

    .consult-main {
        width: 100%;
        margin-bottom: 2em;
    }

    .consult-aside {
        width: 80%;
    }

}



@media (max-width: 800px) {
    .container-nav {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo {
        margin-bottom: 1em;
    }

    .logo span,
    .container-nav nav li,
    .container-nav nav a {
        font-family: 'montserrat';
        text-transform: uppercase;
        font-weight: 500;
    }

    .overall-flex {
        flex-direction: column;
    }

    .overall-flex .tab-container {
        width: 100%;
    }

    .overall-flex .search-form {
        width: 20%;
    }
}


@media (max-width: 675px) {
    .container-nav nav ul {
        flex-direction: column;
        align-items: center;
    }

    .container-nav nav li {
        margin: 0;
        margin-bottom: 1em;
        width: 100%;
    }

    nav li:last-child {
        margin-bottom: 0;
    }

    h1 {
        font-size: 1em;
    }

    .hero-texts {
        width: 100%;
    }

    .container-hero {
        flex-direction: column;
    }

    .tab-button {
        margin-bottom: .5em;
        font-size: .7em;
    }

    .content-item img {
        min-height: 150px;
        max-height: 150px;
    }

    .content-item h4,
    .content-item p {
        font-size: .8em;
        margin-bottom: .5em;
    }

    .content-item p {
        font-size: .7em;
    }

    p.courses-cta {
        font-size: 1em;
    }

    .choose-us-stats article {
        width: 48%;
        margin-bottom: .5em;
    }

    .partners-head {
        flex-direction: column;
    }

    .partners-head p {
        font-size: .9em;
    }

    .course-tracks {
        width: 100%;
        border-radius: 8px;
    }

    .consult-aside {
        width: 100%;
    }

    .expertise {
        flex-direction: column;
        align-items: center;
    }

    .expertise h3 {
        text-align: center;
    }

    .expertise article {
        width: 80%;
    }

    .how-it-works h3 {
        text-align: center;
    }

}




@media (max-width: 500px) {

    .hero-ctas {
        flex-direction: column;
    }

    .btn {
        margin-bottom: .7em;
        text-align: center;
    }

    .content-container {
        flex-direction: column;
        align-items: center;
    }

    .content-item {
        width: 92%;
    }

    .content-item img {
        min-height: 200px;
        max-height: 200px;
    }

    .content-item p {
        font-size: .9em;
    }

    p.courses-cta {
        font-size: 1em;
    }

    .choose-us-head {
        display: flex;
        flex-direction: column;
        margin-bottom: .6em;
    }

    .choose-us-stats article {
        width: 100%;
    }

    .partners-stats {
        flex-direction: column;
        align-items: center;
    }

    .partners-stats article {
        width: 90%;
        margin-bottom: .7em;
    }

    .how-it-works {
        flex-direction: column;
        align-items: center;
    }

    .how-it-works article {
        width: 80%;
        margin-bottom: 1em;
    }

    .frm-share-2 {
        width: 100%;
    }
}