@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&display=swap');

:root {
    /* --primary-color: #246E87; */
    --primary-color: #0171ba;
    --secondary-color: white;
    --ternary-color: #f3f8f8;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
}

.primary-theme {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
}

.primary-color {
    color: var(--primary-color);
}


.secondary-color {
    color: var(--secondary-color);
}

.primary-border-top {
    border-top: 1px solid var(--primary-color);
}

.primary-border {
    border: 1px solid var(--primary-color);
}

.fas,
.far {
    color: var(--primary-color) !important;
}


a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    color: var(--primary-color);
}

.card-effect {
    padding: .75rem 1.25rem;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
}

nav.custom a.nav-link {
    font-size: larger;
    color: var(--primary-color);
    font-weight: bold;
}

section {
    padding: 50px 0px;
}

section h1 {
    font-size: 44px !important;
    color: var(--primary-color);
}

.text-justify {
    text-align: justify !important;
}


.dropdown-menu {
    display: none;
    border-radius: 0.25rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    background-color: #fff;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
}

.list-group-item-action:hover,
.list-group-item-action:focus {
    background-color: #e9ecef;
}

.dropdown-menu .list-group-item {
    border: none;
    padding: 0.25rem 1.25rem;
}

.dropdown-menu .list-group-item.text-uppercase {
    color: var(--primary-color);
    font-size: 1rem;
}

.fas.fa-arrow-alt-circle-right {
    color: var(--primary-color);
}

/* .dropdown-hover:hover > .dropdown-menu {
    display: block;
    top: 100%;
    left: 0;
} */

/* .dropdown-hover > .dropdown-toggle:active {
    pointer-events: none;
} */



@media screen and (max-width: 992px) {
    section {
        padding: 35px 0px;
    }

    section h1 {
        font-size: 34px !important;
    }
}


/* ============ dropdown view ============ */
.dropdown:hover .dropdown-menu.main {
    display: block;
}

.dropdown-item:active {
    background-color: var(--primary-color)
}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {

    .dropdown-menu li {
        position: relative;
    }

    .dropdown-menu .submenu {
        display: none;
        position: absolute;
        left: 100%;
        top: -7px;
    }

    .dropdown-menu .submenu-left {
        right: 100%;
        left: auto;
    }

    .dropdown-menu>li:hover {
        background-color: #f1f1f1
    }

    .dropdown-menu>li:hover>.submenu {
        display: block;
    }
}

/* ============ desktop view .end// ============ */

/* ============ small devices ============ */
@media (max-width: 991px) {

    .dropdown-menu .dropdown-menu {
        margin-left: 0.7rem;
        margin-right: 0.7rem;
        margin-bottom: .5rem;
    }

}

/* ============ small devices .end// ============ */


/* Paragraph */
p {
    font-size: 1.1rem;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 0.5rem !important;
}

pre {
    font-size: 1.1rem;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 0.5rem !important;
}

/* Headers */
.h1,
h1 {
    font-size: 1.8rem;
    font-weight: bold;
}

.h2,
h2 {
    font-size: 1.6rem;
    font-weight: bold;
}

.h3,
h3 {
    font-size: 1.5rem;
    font-weight: bold;
}

.h4,
h4 {
    font-size: 1.25rem;
    font-weight: bold;
}

.h5,
h5 {
    font-size: 1.25rem;
    font-weight: bold;
}

.h1,
h1,
.h2,
h2,
.h3,
h3,
.h4,
h4,
.h5,
h5,
.h6,
h6 {
    padding-left: 0px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 0.25rem;
}