﻿:root {
    --main-color: #002147;
    --highlight: #ffc107;
}

body {
    font-family: 'Segoe UI', sans-serif;
}

/* Top Header */
.top-header {
    background: #032319;
    color: white;
    padding: 5px 0;
    font-size: 14px;
}

    .top-header a {
        color: var(--highlight);
        text-decoration: none;
    }

/* Navbar */
/* Navbar */
.navbar {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky; /* Make navbar sticky */
    top: 0; /* Stick to the top of the viewport */
    z-index: 1000; /* Ensure it stays above other content */
}

    /* Center the navbar content */
    .navbar .container {
        display: flex;
        justify-content: center; /* Center horizontally */
        align-items: center;
    }

/* Ensure navbar items are centered */
.navbar-collapse {
    justify-content: center; /* Center the nav items */
}

/* Optional: Adjust navbar-brand and nav-link alignment */
.navbar-brand {
    font-size: 26px;
    font-weight: bold;
    color: var(--main-color) !important;
    margin-right: auto; /* Push brand to the left if needed */
}

.nav-link {
    font-weight: 500;
    color: var(--main-color) !important;
    margin: 0 15px; /* Add spacing between nav items */
}

    .nav-link.active,
    .nav-link:hover {
        color: #0056b3 !important;
        border-bottom: 2px solid #0056b3;
    }

/* Dropdown Enhancement */
.dropdown-menu {
    border-radius: 0;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 0.5rem;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
}

/* Footer */
footer {
    background: #032319;
    color: white;
    padding: 40px 0;
}

    footer a {
        color: #ccc;
        text-decoration: none;
    }

        footer a:hover {
            color: var(--highlight);
        }

.footer-title {
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
}

.socialicons {
    display: flex;
    justify-content: center; /* Center all icons horizontally */
    gap: 15px; /* Modern way to add space between flex items */
}

    .socialicons a {
        font-size: 18px;
        margin: 0 10px; /* 10px space left and right */
        color: white;
        text-decoration: none;
    }

        .socialicons a:hover {
            color: var(--highlight);
        }


/* Dropdown Enhanced Styling */
.dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    margin-top: 0.5rem;
    animation: dropdownFade 0.3s ease-in-out;
    min-width: 200px;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    font-weight: 500;
    color: #333;
    padding: 12px 20px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

    .dropdown-item:hover {
        background-color: #f8f9fa;
        color: #0056b3;
        border-left: 3px solid var(--highlight);
        padding-left: 25px;
    }

    /* Optional: Add icons next to dropdown items using ::before */
    .dropdown-item::before {
        content: "\f105"; /* Font Awesome arrow-right */
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        margin-right: 10px;
        color: var(--highlight);
        transition: margin 0.3s;
    }

    .dropdown-item:hover::before {
        margin-right: 14px;
    }

.container button {
    background-color: #032319;
    color: white;
    border: none
}

@media (max-width: 600px) {
    .socialicons {
        display: none
    }
}

.stylish-toggler {
    width: 40px;
    height: 30px;
    padding: 5px;
    position: relative;
    border: none;
    background: transparent;
    outline: none;
    cursor: pointer;
    z-index: 9999;
}

.toggler-line {
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #fff;
    left: 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

    .toggler-line.top {
        top: 0;
    }

    .toggler-line.middle {
        top: 50%;
        transform: translateY(-50%);
    }

    .toggler-line.bottom {
        bottom: 0;
    }

.stylish-toggler.collapsed .top {
    transform: rotate(45deg);
    top: 50%;
}

.stylish-toggler.collapsed .middle {
    opacity: 0;
}

.stylish-toggler.collapsed .bottom {
    transform: rotate(-45deg);
    bottom: 50%;
}
