/* -- Main Styles -- */

/* - imports - */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Display:ital,wght@0,100..900;1,100..900&family=Noto+Sans+Mono:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Noto+Serif+Display:ital,wght@0,100..900;1,100..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

/* Noto Sans */
.noto-sans-500 {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

/* Noto Sans Display */
.noto-sans-display-500 {
    font-family: "Noto Sans Display", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

/* Noto Serif */
.noto-serif-500 {
    font-family: "Noto Serif", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

/* Noto Serif Display */
.noto-serif-display-500 {
    font-family: "Noto Serif Display", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

/* - Global Styles - */

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

h1 {
    font-family: "Noto Serif Display", serif;
    font-weight: 600;
    font-size: 4.5rem;
    margin: 0;
}

h2 {
    font-family: "Noto Serif", serif;
    font-weight: 600;
    font-size: 2.5rem;
    margin: 0;
}

p {
    font-family: "Noto Sans", sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.6;
}

b {
    font-weight: 600;
}

/* - Header Styles - */

header {
    background-color: #000000;
    color: white;
    position: relative;
    width: 100%;
}

.contact-bar {
    background-color: #006aa0;
    background-image: radial-gradient(circle farthest-corner at top left, rgba(255, 255, 255, 0.288) 0%, transparent 10%, rgba(0, 0, 0, 0.098) 100%);
    padding: 0px 50px;
    height: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1001;
}

.contact-bar hr {
    border: none;
    border-left: 1px solid white;
    height: 20px;
    width: 0;
    margin: 0;
}

.contact-bar a {
    color: white;
    text-decoration: none;
}

.contact-bar a:hover,
.contact-bar a:focus {
    text-decoration: underline;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item {
    white-space: nowrap;
    font-size: clamp(0.6rem, 2.5vw, 0.9rem);
    font-weight: 600;
}

.contact-icon img {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
}

.navigation {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #000000;
    background-image: radial-gradient(circle farthest-corner at top left, rgba(255, 255, 255, 0.288) 0%, transparent 10%);
    padding: 0px 50px;
    height: 100px;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navigation.scrolled {
    position: fixed;
    background-color: #000000b2;
    backdrop-filter: blur(10px);
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navigation hr {
    border-left: 1px solid white;
    height: 30px;
}

.navigation-left {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 80px;
}

.navigation-right {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 1.3rem;
}

.navigation-right a {
    color: white;
    text-decoration: none;
    text-wrap: nowrap;
}

.navigation-right a:hover,
.navigation-right a:focus {
    text-decoration: underline;
}

.navigation-right a.active {
    color: #0081c1;
    text-shadow: 0 2px 10px #0081c1;
    font-weight: 600;
    transform: scale(1.1);
}

.navigation-right a.navigation-button.active {
    background-color: white;
    color: #004060;
    border-bottom: 5px solid #cccccc;
}

.navigation-button {
    font-weight: 600;
    font-style: italic;
    padding: 8px 20px;
    background-image: radial-gradient(circle farthest-corner at top, rgba(255, 255, 255, 0.288), transparent);
    background-color: #006aa0;
    border-radius: 1000px;
    border-bottom: 5px solid #004d7a;
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
    text-shadow: rgba(0, 0, 0, 0.3) 0px 2px 0px;
}

.navigation-button:hover {
    background-color: #007ebe;
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 7px solid #004d7a;
}

.navigation-button:active {
    background-color: #007ebe;
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 3px solid #004d7a;
}

.notice-bar {
    z-index: 999;
    background-color: #c40000;
    min-height: 5px;
    padding: 8px 50px;

}

.notice-bar p {
    margin: 0px;
    font-size: 0.9rem;
}

.footer-container-level1 {
    background-color: #006aa0;
    background-image: radial-gradient(circle farthest-corner at top left, rgba(255, 255, 255, 0.288) 0%, transparent 10%, rgba(0, 0, 0, 0.098) 100%);
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 5px 50px;
}

.footer-container-level2 {
    background-color: #000000;
    background-image: radial-gradient(circle farthest-corner at top left, rgba(255, 255, 255, 0.288) 0%, transparent 10%, rgba(0, 0, 0, 0.098) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    padding: 5px 50px;
    position: relative;
    overflow: hidden;
}

.footer-bg-logo {
    position: absolute;
    bottom: -240px;
    right: -10px;
    width: 450px;
    height: auto;
    transform: rotate(-15deg);
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

main {
    color: black;
    min-height: 100vh;
}

section {
    padding: 50px;
}

.button-generic,
.button-generic:visited {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3rem;
    font-style: italic;
    padding: 8px 20px;
    background-image: radial-gradient(circle farthest-corner at top, rgba(255, 255, 255, 0.288) 0%, transparent 100%);
    background-color: #006aa0;
    border-radius: 1000px;
    border-bottom: 5px solid #004d7a;
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
}

.button-generic:hover,
.button-generic:visited:hover {
    background-color: #007ebe;
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 7px solid #004d7a;
}

.button-generic:active,
.button-generic:visited:active {
    background-color: #007ebe;
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 3px solid #004d7a;
}

/* - Responsive Styles - */

@media (max-width: 960px) {
    .navigation {
        height: auto;
        padding: 10px 20px;
        flex-direction: column;
        gap: 10px;
    }

    .navigation-right {
        gap: 15px;
        font-size: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-logo {
        height: 60px;
    }

    .contact-bar {
        padding: 0 20px;
        font-size: 0.8rem;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 30px 20px;
    }

    /* Enable fixed header implementation on mobile, but with slide effect */
    .navigation.scrolled {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s ease-in-out;
    }

    /* Slide out when scrolling down */
    .navigation.scrolled.nav-hidden {
        transform: translateY(-100%);
    }
}

/* - Footer Content Styles - */
.footer-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    margin-bottom: 20px;
    display: block;
}

.footer-logo img {
    height: 60px;
    width: auto;
    max-width: 100%;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.footer-social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    filter: sepia(1) hue-rotate(185deg);
    transition: filter 0.3s ease;
}

.footer-social-link img {
    width: 100%;
    height: 100%;
}

.footer-social-link:hover {
    filter: sepia(0) hue-rotate(0deg);
    transition: filter 0.3s ease;
}

.footer-contact {
    margin-top: 20px;
}

.footer-contact p {
    margin: 8px 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a {
    color: white;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-contact a:hover {
    color: #8ccbf7;
}

.footer-links h3 {
    font-family: "Noto Serif", serif;
    font-size: 1.4rem;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    position: relative;
    color: white;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #006aa0;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.footer-links a::before {
    content: '›';
    margin-right: 8px;
    color: #006aa0;
    font-weight: bold;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Adjust the bottom bar copyright text */
.footer-container-level1 p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

@media (max-width: 600px) {
    .footer-container-level1 {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding-bottom: 20px;
        padding-top: 20px;
    }

    .footer-row {
        flex-direction: column;
        gap: 30px;
    }
}