/* General Reset */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    overflow-x: hidden;
}

/* Utility Classes */
.w-60 {
    width: 60%;
}

.navbar-nav li:hover>ul.dropdown-menu {
    display: block;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
}

/* rotate caret on hover */
.dropdown-menu>li>a:hover:after {
    text-decoration: underline;
    transform: rotate(-90deg);
}

nav a {
    font-weight: 600 !important;
}

ul.navbar-nav.m-auto {
    gap: 20px;
}

/* Custom Styles for the logo */
.navbar .navbar-brand img {
    width: 60%;
}

/* Custom Styles for the dropdown submenu */
.dropdown-menu .dropdown-submenu {
    position: relative;
}

.dropdown-menu .dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 0;
}

.dropdown-menu .dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-menu .dropdown-submenu>a:after {
    content: " ";
    float: right;
    border-left: 0.3em solid transparent;
    border-right: 0.3em solid transparent;
    border-top: 0.3em solid;
}

/* Ensure proper display of social media icons */
.social-media a {
    color: inherit;
    text-decoration: none;
}

ul.dropdown-menu {
    width: 190px;
    padding: 10px;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: gray;
}

.dropdown-item {
    padding: 6px;
}

.text-justify {
    text-align: justify;
}

.bg-warning {
    background-color: #ffc03d !important;
}

.btn-outline-warning {
    border: 2px solid #ffc03d;
}

.d-blue {
    color: #212d45;
}

.bg-d-blue {
    background-color: #212d45;
}

.btn-d-blue {
    background-color: #212d45;
    color: white;
}

.text-d-blue {
    color: #212d45;
}

.content p {
    line-height: 30px;
}

@media(width<=575px) {
    .carousel img {
        height: 300px;
        object-fit: cover;
    }

    .border-right {
        border-bottom: 1px solid #dee2e6;
    }
}

@media(width>=991px) {
    .mt--5 {
        margin-top: -85px;
        z-index: 1;
    }
}

.border-right {
    border-right: 1px solid #dee2e6;
    padding: 70px;
}

.card-img,
.card-img-top {
    height: 250px;
    object-fit: cover;
}

footer a {
    color: white;
}

.box-about {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    padding: 14px;
}

.w-min {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.contact {
    width: 100%;
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
}