/* content header */
.header {
    position: relative;
    background: linear-gradient(to top, #3b709f97, #3b709f97);
    color:  #efebdf;
    box-shadow: inset 0 0 5em rgba(0, 0, 0, 0.645);
    border: 30px;
    font-family: Arial, Helvetica, sans-serif;
    
}
.header h2,.header h3 {
    color:inherit;
    text-transform: inherit;
}

.inner-header {
    height: 50vh;
    width: 100%;
    margin: 0;
    padding: 5em;
    padding-left: 10%;
    display: flex;
    align-items: center;
}


.wavesh {
    position: relative;
    width: 100%;
    height: 8vh;
    margin-bottom: -10px; /*Fix for safari gap*/
    min-height: 100px;
    max-height: 150px;
}


/*header Shrinking for mobile*/
@media (max-width: 768px) {
    .waves {
        height: 40px;
        min-height: 40px;
    }
}


/* GO TOP */
.go-top-container {
    position: fixed;
    bottom: .2rem;
    right: .2rem;
    width: 2rem;
    height: 2rem;
    z-index: -1;
}

.go-top-button {
    width: 0rem;
    height: 0rem;
    background: #3b719f;
    border-radius: 50%;
    cursor: pointer;
    transition: .2s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.go-top-button i {
    position: absolute;
    font-size: 0.8rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    transition: 0.2s;
}

i.arrow-up{
    content:'';
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
    width: 1em; /* Adjusted size */
    height: 1em; /* Adjusted size */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1' fill='white' viewBox='0 0 512 512'%3E%3Cpath d='M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.show {
    z-index: 10;
}

.show .go-top-button {
    animation: popup .3s ease-in-out;
    width: 3rem;
    height: 3rem;
    z-index: 11;
}

.show i {
    transform: translate(-50%, -50%) scale(1);
}

@keyframes popup {
    0% {
        width: 0rem;
        height: 0rem;
    }
    50% {
        width: 3.5rem;
        height: 3.5rem;
    }
    100% {
        width: 3rem;
        height: 3rem;
    }
}

@media (max-width: 800px) {
    .go-top-container {
        display: none;
    }
}

/* Navbar Styling */
body {
    padding-top: 50px;
}

.navbar_container {
    background: #efebdf;
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.5s ease;
}

.main_navbar_ul {
    display: flex;
    position: relative;
    align-items: center;
    margin-left: 40px;
    line-height: 50px;
}

.navbar_level_1_li {
    padding-left: 20px;
    padding-right: 20px;
    transition: all 0.3s ease;
    background-color: #efebdf;
    border-bottom: 1px solid #00339900;
    position: relative; 
}

.navbar_level_1_li, .navbar_level_2_li {
    list-style: none;
}

.navbar_level_2_li {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.navbar_level_2_li:hover {
    border-bottom: 1px solid #003399;
}

.navbar_level_1_link, .navbar_level_2_link {
    text-decoration: none;
    position: relative;
    width: 100%;
    height: 100%;
    color: black; /* Changed to black for desktop */
}

.navbar_level_1_link {
    display: block;
    height: 100%;
}

.dropdown_level_1 {
    background-color: #efebdf; /* Changed to match navbar background */
    width: 350px;
    left: 0;
    line-height: 45px;
    position: absolute;
    top: 100%;
    z-index: 2;
    box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.1);
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    border-radius: 15px;
    overflow: hidden;
}

.navbar_level_1_li:hover > .dropdown_level_1 {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown_logo_bar_li {
    display: none;
    background: #efebdf; /* Changed to match navbar background */
    padding: 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


.dropdown_logo_bar {
    font-size: 25px;
    margin-left: 20px;
    color: black; /* Changed to black */
}

/* Responsive Styling */

@media only screen and (max-width: 950px) {
    body {
        padding-top: 50px;
    }

    .navbar_container {
        padding-top: 20%;
        left: -110%;
        height: 100vh; /* Changed to cover full viewport height */
        overflow-y: hidden;
    }

    .dropdown_logo_bar_li {
        display: block;
    }

    .navbar_container.show {
        left: 0%;
    }

    .main_navbar_ul {
        margin-left: 0px;
        float: none;
        width: 100%;
        display: block;
        position: absolute;
        background-color: #efebdf; /* Changed to match navbar background */
        box-shadow: 0px 30px 30px 8px rgba(0, 0, 0, 0.1);
        height: 100%;
    }

    .dropdown_level_1 {
        width: 100%;
        position: static;
        box-shadow: none;
        left: 0px;
    }

    .navbar_level_1_li {
        padding: 0;
        background: none;
        transition: none;
        text-align: center;
    }

    .navbar_level_1_link, .navbar_level_2_link {
        padding: 15px 20px;
        font-size: 1.2rem;
        color: black; /* Changed to black for mobile */
    }

    .navbar_level_1_li:hover {
        border-left: none;
        border-bottom: none;
        background-color: transparent;
    }

    .navbar_level_1_li:hover > .dropdown_level_1 {
        display: none;
        opacity: 0;
        visibility: hidden;
        transform: none;
    }

    .navbar_level_1_li:hover .navbar_level_1_link::after {
        transform: none;
    }

    .navbar_level_2_li:hover {
        border-bottom: none;
        background-color: #DFE3EF;
    }

    .dropdown_level_1:last-child {
        border-radius: 0px;
        border: none;
    }

    .dropdown_level_1 {
        position: fixed;
        top: 50px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 50px);
        background-color: #efebdf; /* Changed to match navbar background */
        overflow-y: auto;
        z-index: 9999;
        padding-top: 0;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar_level_2_li:hover .navbar_level_2_link,
    .navbar_level_2_li:hover .dropdown_description {
        color: #3b719f;
        padding-left: 30px;
    }

    .navbar_level_1_li.active {
        border-left: 3px solid #003399;
        background-color: rgba(0, 0, 0, 0.1);
    }

    .navbar_level_1_li.active > .dropdown_level_1 {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar_level_1_li.active .navbar_level_1_link::after {
        transform: rotate(180deg);
    }

    #header {
        padding-top: 60px;
    }
    .progress-bar{
        visibility:hidden;
    }
}

.show-dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown_level_1 {
    transition: all 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    border-radius: 0 0 15px 15px;
    overflow: hidden;
}

.navbar_level_2_li {
    transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.navbar_level_2_li:hover {
    background-color: #DFE3EF;
}

.navbar_level_2_link,
.dropdown_description {
    color: black; /* Changed to black */
    transition: color 0.3s ease;
    padding-left: 20px;
}

.navbar_level_2_li:hover .navbar_level_2_link,
.navbar_level_2_li:hover .dropdown_description {
    color: #3b719f;
    padding-left: 30px;
}

.dropdown_description {
    color: rgb(93, 93, 93);
    font-size: 0.85rem;
    padding: 0px 10px 10px 10px;
    line-height: 1.2;
    display: block;
}

.navbar_level_2_li a {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.navbar_level_1_link {
    position: relative;
}

.navbar_level_1_link::after {
    content:'';
    margin-left: 8px;
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
    width: 0.8em;
    height: 0.8em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1' viewBox='0 0 512 512'%3E%3Cpath d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.navbar_level_1_li:hover .navbar_level_1_link::after {
    transform: rotate(180deg);
}

.navbar_level_1_li:first-child .navbar_level_1_link::after {
    content: none;
}

/* Progress bar styling */

.progress-container {
    width: 100%;
    height: 0px;
    background: none;
    position: relative;
    bottom: 0;
    z-index: 1;

  }
.progress-bar {
    height: 5px;
    background: rgb(58,241,192);
    background: linear-gradient(270deg, #e6b68e 0%, #c6916a 25%,#b4764f 50%,#a66136 75%, #713112 100%);
    width: 0%;
  }
