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

:root {
    --bs-font-family: 'Montserrat', sans-serif;
    --bs-primary-rgb: 0, 31, 111;
    --bs-link-color: #001f6f;
    --primary-color: #001f6f;
    --hover-color: #a1c800;
    --transition-speed: 0.3s;
    --bs-border-color: #00b6ec;
    --bs-gradient: linear-gradient(90deg, #001f6f 0%, #001f6f 100%);
    --bs-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --bs-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --navbar-height: 75px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--bs-font-family);
    background-color: #fff;
    color: #001f6f;
    line-height: 1.6;

}

footer a {
    color: #FFF;
}

.color-1 {
    color: #001f6f;
}

.color-2 {
    color: #00b6ec;
}

.color-3 {
    color: #e55da9;
}

.text-purple {
    color: #6d2077;
}

.hr {
    background: #001f6f;
    border: none;
    opacity: 1;
    height: 3px;
}

/* Animation for dropdown */
.dropdown-menu {
    animation: fadeIn var(--transition-speed) ease-in-out;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar styling */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
}

.navbar.sticky-top {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1030;
    /* Ensure it stays above other elements */
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: color var(--transition-speed);
    color: var(--primary-color);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--hover-color);
}

.nav-link.active {
    color: var(--hover-color) !important;
}


/* Nested dropdown positioning */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: -1px;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: background-color var(--transition-speed);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #f8f9fa;
}

/* Modal nav styles */
.modal-nav .modal-content {
    background-color: #f8f9fa;
    border: none;
    height: 100vh;
}

.modal-nav .modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 1.5rem;
}

.modal-nav .modal-title {
    font-weight: 600;
    font-size: 1.5rem;
}

.modal-nav .modal-body {
    padding: 1.5rem;
}

.modal-nav .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
}

.modal-nav .nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.modal-nav .dropdown-menu {
    position: static;
    float: none;
    border: none;
    box-shadow: none;
    background-color: transparent;
}

.modal-nav .dropdown-item {
    padding-left: 2rem;
}

/* Toggle indicators */
.toggle-indicator {
    transition: transform var(--transition-speed) ease-in-out;
    display: inline-block;
    width: 1.25rem;
    text-align: center;
}

.toggle-indicator::before {
    content: "+";
    display: inline-block;
    transition: opacity var(--transition-speed) ease-in-out, transform var(--transition-speed) ease-in-out;
}

.show>.dropdown-toggle .toggle-indicator::before,
[aria-expanded="true"]>.toggle-indicator::before {
    content: "−";
}

/* Mobile menu button */
.navbar-toggler-custom {
    border: none;
    padding: 0.5rem;
    font-size: 1.5rem;
    line-height: 1;
    background: transparent;
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for better accessibility */
a:focus,
button:focus {
    outline: none;
    outline-offset: 2px;
}

/* Side Bar */
.btn-toggle {
    padding: .25rem .5rem;
    font-weight: 600;
    color: var(--bs-emphasis-color);
    background-color: transparent;
}

.btn-toggle:hover,
.btn-toggle:focus {
    color: rgba(var(--bs-emphasis-color-rgb), .85);
    background-color: var(--bs-bg-tertiary);
}

.btn-toggle::before {
    width: 1.25em;
    line-height: 0;
    content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
    transition: transform .35s ease;
    transform-origin: .5em 50%;
}

[data-bs-theme="dark"] .btn-toggle::before {
    content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%28255,255,255,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
}

.btn-toggle[aria-expanded="true"] {
    color: rgba(var(--bs-emphasis-color-rgb), .85);
}

.btn-toggle[aria-expanded="true"]::before {
    transform: rotate(90deg);
}

.btn-toggle-nav a {
    padding: .1875rem .5rem;
    margin-top: .125rem;
    margin-left: 1.25rem;
}

.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
    background-color: var(--bs-bg-tertiary);
}

.scrollarea {
    overflow-y: auto;
}

.sidebar {
    position: sticky;
    top: 5rem;
    left: 0;
    height: 35rem;
    background-color: #f8f9fa;
    padding: 1rem;
    overflow-y: auto;
    box-shadow: var(--bs-shadow-md);
    z-index: 1000;
}

.main-content {
    padding: 2rem;
}

.btn-toggle.active,
.btn-toggle-nav a.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

#sidebarToggle {
    position: fixed;
    top: 50%;
    left: 0;
    width: 40px;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    padding: 0.5rem 1rem;
    z-index: 1100;
    cursor: pointer;
    box-shadow: var(--bs-shadow-md);
    transition: all var(--transition-speed);
}

#sidebarToggle:focus-visible {
    outline: 2px dashed #fff;
    outline-offset: 2px;
}

#sidebarToggle i {
    font-size: 1.2rem;
    transition: all var(--transition-speed);
}

/* Back to Top Button Styles */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 1000;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
}

#backToTop:hover {
    background-color: var(--hover-color);
}

.img-height-1 {
    max-height: 5rem;
}

.img-height-2 {
    max-height: 7rem;
}

.img-height-3 {
    max-height: 9rem;
}

.img-height-4 {
    max-height: 5rem;
}

.small {
    font-size: 0.7rem;
}


/* Custom CSS to match the image layout */
.header-section {
    background: linear-gradient(to top, #7bcdef, #001260);
    /* Approximate gradient */
    color: white;
    padding: 50px 0 0 0;
    /* Adjust as needed */
    text-align: left;
}

.header-section-2 {
    background: linear-gradient(to top, #fff, #7bcdef, #001260);
    /* Approximate gradient */
    color: white;
    padding: 50px 0 0 0;
    /* Adjust as needed */
    text-align: left;
}

/* Enable hover dropdowns on large screens */
@media (min-width: 992px) {
    .navbar .dropdown:hover>.dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
        margin-top: -6px;
    }

    .dropdown-toggle::after {
        display: none;
    }


}


/* Responsive styles */
@media (max-width: 768px) {

    /* SideBar */
    .sidebar {
        position: fixed;
        top: 5rem;
        left: -250px;
        width: 250px;
        height: calc(100vh - 10rem);
    }

    .sidebar.open {
        left: 0;
        transition: all var(--bs-transition);
    }

    .main-content {
        margin-left: 0;
        padding: 0;
    }

    .small {
        font-size: 0.56rem;
    }
}