* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PT Serif", serif;
}

html {
    overflow-x: hidden;
}

.section-title {
    color: #fff;
    height: 200px;
    width: 100%;
    margin-top: 125px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

a {
    text-decoration: none;
}

a.btn {
    padding: 8px 24px;
    background-color: #2B2A6A;
    transition: all .2s ease-in-out;
    color: #fff;
}

a.btn:focus {
    border: none;
    outline: none;

}

a.btn:hover {
    background-color: #4543a2;
    color: #fff;
}

/* Navigation */

#navbar {
    transition: all .4s ease-in-out;
}

.navbar-light {
    background-color: #fff !important;
}

.navbar-collapse {
    flex-grow: 0 !important;

    && a.active {
        color: #2B2A6A !important;
        font-weight: 700;
    }

    && a.nav-link:hover {
        color: #2B2A6A;
    }
}

.navbar-brand img {
    width: 150px;
}

.navbar-light .navbar-toggler {
    color: transparent;
    border: none;
}

/* Hero / Landing section */

.hero {
    width: 100%;
    margin-top: 125px;

    && #carouselExampleCaptions {

        height: 550px;

        && .slider-1 {
            background-image: url(../img/DSM-Slider-1-100.jpg);
            background-position: center center;
            background-size: cover;
            background-repeat: no-repeat;
            height: 550px;
        }

        && .slider-2 {
            background-image: url(../img/DSM-Slider-2-100.jpg);
            background-position: center center;
            background-size: cover;
            background-repeat: no-repeat;
            height: 550px;
        }

        && .carousel-caption {
            text-align: start;
            bottom: 50%;
            transform: translateY(50%);

            && a.btn {
                background-color: #2B2A6A;
                border: 0;
                padding: 8px 32px;
                border-radius: 5px;
            }

            && a.btn:hover {
                background-color: #4543a2;
            }
        }

        && .carousel-control-next, .carousel-control-prev {
            background-color: #2B2A6A;
            height: 50px;
            top: 50%;
            transform: translateY(-50%);
            width: 8%;
            opacity: .9;
        }

        && .carousel-indicators button {
            height: 10px;
            width: 10px;
            transition: all .2s ease-in-out;
        }

        && .carousel-indicators button.active {
            width: 65px;
        }
    }
}

/* Core Values */

.core-values {
    background-color: #2B2A6A;
    color: #fff;
    width: 100vw;

    && .values {
        display: flex;
        flex-wrap: wrap;
        text-align: center;
        justify-content: space-around;

        && .v-box {
            width: 200px;
        }

        && .img-box {
            width: 100%;
            height: 100px;
            padding: 20px;
            display: flex;
            justify-content: center;
            align-items: center;

            && img {
                object-fit: contain;
                width: 60%;
            }
        }
    }
}

/* Who We are */

.who {
    && h2, h3 {
        color: #2B2A6A;
        font-weight: 700;
    }

    && hr {
        width: 50px;
        border: 2px solid #2B2A6A;
    }
}

/* Our services */

.services {
    background-image: url(../img/our-services-bg-100.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;

    && hr {
        width: 50px;
        border: 2px solid #fff;
        margin: 0 auto;
    }

    && h2, h3, p {
        color: #fff;
    }

    && .r-border {
        border-right: 2px solid #fff;
    }
}

/* Footer */

footer {

    border-top: 2px solid #2B2A6A;

    && img {
        width: 200px;
        padding: 8px;
        margin-bottom: 20px;
    }

    && p, .links li a {
        font-size: .9em;
    }

    && h4 {
        color: #2B2A6A;
    }

    && hr {
        width: 50px;
        border: 2px solid #2B2A6A;
    }

    && .links {
        margin: 0;
        padding: 0;
        list-style: none;
        font-size: .9em;

        && li {
            margin-bottom: 5px;
        }

        && li a {
            text-decoration: none;
            color: black;
            transition: all .2s ease-in-out;
        }

        && li a:hover {
            color: #2B2A6A;
        }
    }

    && .contact-info {
        display: flex;
        flex-wrap: no-wrap;

        && .icon {
            margin-right: 10px;
        }
    }

    && .footer-bottom {
        background-color: #2B2A6A;
        color: #fff;
        font-size: .9em;

        && a {
            color: #fff;
            transition: all .2s ease-in-out;
        }

        && a:hover {
            color: #817fee;
        }
    }

    && .legal {
        list-style: none !important;
        margin: 0;
        padding: 0;
        flex-wrap: wrap;
        gap: 10px;

        && li a {
            color: #fff;
            transition: all .2s ease-in-out;
            font-size: .9em;
        }

        && li a:hover {
            color: #817fee;
        }
    }
}

@media screen and (max-width:768px) {
    .r-border {
        border-right: none !important;
        border-bottom: 2px solid #fff;
    }
}

/* About page */
.about {
    background-image: url(../img/1x/About-bg-100.jpg);
}

/* Services Page */
.services-m {
    background-image: url(../img/1x/services-bg-100.jpg);
}

.services-content {

    && h2 {
        color: #2B2A6A;
        font-weight: 700;
    }

    && .advisory-box {
        background-image: url(../img/1x/advisory-service-bg-100.jpg);
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        border-radius: 10px;

        color: #fff;
        height: 250px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
    }

    && .training-box {
        background-image: url(../img/1x/training-bg-100.jpg);
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        border-radius: 10px;

        color: #fff;
        height: 250px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
    }
}

/* Advisory and Consultation page */
.advisory {
    background-image: url(../img/1x/advisory-title-bg-100.jpg);
}

.services-content {
    && .more-service {
        background-color: rgb(237, 237, 237);
        padding: 20px;
        border-radius: 10px;

        && .aside-service {
            list-style: none;
            margin: 0;
            padding: 0;

            && a {
                text-decoration: none;
                color: #000;
                transition: all .2s ease-in-out;
            }

            && a.active {
                color: #2B2A6A;
                font-weight: 700;
            }

            && a:hover {
                color: #4543a2;
            }
        }
    }
}

/* Accreditted Training service page */

.training {
    background-image: url(../img/1x/accredited-training-bg-100.jpg);
}

.accred-logos {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

/* Contact us Page */

.contact {
    background-image: url(../img/1x/Contact-title-bg-100.jpg);
}

.form {

    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;

    && .form-box {
        background-color: lightgray;
        padding: 20px 0;
        border-radius: 10px;
    }

    && .btn {
        padding: 8px 32px;
        border-radius: 0;
        background-color: #2B2A6A;
        border: 0;
    }

    && .btn:hover {
        background-color: #4543a2;
    }

    && h2 {
        text-align: center;
    }
}

/* cookie notice */

.cookie-box {
    position: fixed;
    background-color: #4543a2;
    border-radius: 8px;
    width: 350px;
    z-index: 1000;

    && p {
        color: #fff;
    }

    && a {
        color: #fff;
        text-decoration: underline;
    }

    && .btn {
        background-color: #2B2A6A;
        padding: 8px 24px;
        color: #fff;
        transition: all .2s ease-in-out;
    }

    && .btn:hover {
        background-color: #4543a2;
        border: 2px solid #fff;
    }
}

.cookie-box.show {
    bottom: 10px;
    right: 10px;
}

/*=== Legal pages ===*/

.legal-bg {
    background-image: url(../img/1x/legals-bg-100.jpg);
}

.legal-content {

    && h2 {
        color: #2B2A6A;
        font-weight: bold;
        font-size: 1.6em;
    }
}