
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .btn {
        width: 100%;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .nav-item .dropdown-menu {
        width: 100%;
        position: static;
        display: none;
    }

    .nav-item:hover .dropdown-menu,
    .nav-item:focus-within .dropdown-menu {
        display: block;
    }

    .nav-item .dropdown-menu .dropdown-submenu {
        position: relative;
        display: none;
    }

    .nav-item .dropdown-menu > li:hover > .dropdown-submenu,
    .nav-item .dropdown-menu > li:focus-within > .dropdown-submenu {
        display: block;
    }
}

@media (min-width: 768px) {
    .container {
        margin-top: 15px;
    }

    .nav-item .dropdown-menu {
        display: none;
    }

    .nav-item:hover .dropdown-menu {
        display: block;
    }

    .nav-item .dropdown-menu li {
        position: relative;
    }

    .nav-item .dropdown-menu .dropdown-submenu {
        display: none;
        position: absolute;
        left: 100%;
        top: -7px;
    }

    .nav-item .dropdown-menu .dropdown-submenu-left {
        right: 100%;
        left: auto;
    }

    .nav-item .dropdown-menu > li:hover > .dropdown-submenu {
        display: block;
    }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/*=========================== Main Functionality ========================*/
.form-group {
    margin-bottom: 1rem; /* equivalent to mb-3 */
}

.btn {
    margin-top: 6px;
}

.container {
    margin-top: 15px;
}

.nav-item .dropdown-menu {
    display: none;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.nav-item .dropdown-menu li {
    position: relative;
}

.nav-item .dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
}

.nav-item .dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
}

.nav-item .dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}

#page-container {
    position: relative;
    min-height: 100vh;
}

#content-wrap {
    padding-bottom: 2.5rem; /* Footer height */
}

#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2.5rem; /* Footer height */
}

/* Responsive adjustments */
@media (max-width: 576px) {
    html {
        font-size: 12px;
    }

    .btn {
        font-size: 12px;
        padding: 10px;
    }

    .container {
        margin-top: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .nav-item .dropdown-menu {
        display: none;
        position: static;
        width: 100%;
    }

    .nav-item:hover .dropdown-menu,
    .nav-item:focus-within .dropdown-menu {
        display: block;
    }

    .nav-item .dropdown-menu .dropdown-submenu {
        display: none;
        position: relative;
    }

    .nav-item .dropdown-menu > li:hover > .dropdown-submenu,
    .nav-item .dropdown-menu > li:focus-within > .dropdown-submenu {
        display: block;
    }

    #footer {
        height: 3rem; /* Increased footer height for smaller screens */
    }
}

/* Responsive Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    th, td {
        display: block;
        width: auto;
        box-sizing: border-box;
    }

    thead {
        display: block;
    }

    tbody {
        display: block;
        width: 100%;
        overflow-x: auto;
    }

    tr {
        display: block;
    }

    th, td {
        white-space: nowrap;
    }
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
section {
    padding: 60px 0;
    overflow: hidden;
}

.section-bg {
    background-color: #f9f9fa;
}

.section-title {
    text-align: center;
    padding: 30px 0;
    position: relative;
}

    .section-title h2 {
        font-size: 32px;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 20px;
        padding-bottom: 0;
        color: #5f687b;
        position: relative;
        z-index: 2;
    }

    .section-title span {
        position: absolute;
        top: 30px;
        color: #f0f1f3;
        left: 0;
        right: 0;
        z-index: 1;
        font-weight: 700;
        font-size: 52px;
        text-transform: uppercase;
        line-height: 0;
    }

    .section-title p {
        margin-bottom: 0;
        position: relative;
        z-index: 2;
    }

@media (max-width: 575px) {
    .section-title h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .section-title span {
        font-size: 38px;
    }
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    /*padding: 20px 0;*/
    font-size: 14px;
    transition: all 0.3s;
    /*border-top: 1px solid #cddfff;*/
}

    .footer .copyright {
        text-align: center;
        color: #012970;
    }

    .footer .credits {
        /*padding-top: 5px;*/
        text-align: center;
        font-size: 13px;
        color: #012970;
    }
