@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #434656;
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #203a6c;
    padding: 0 40px;
    border-bottom: 1px solid #203a6c;
    position: sticky;
    top: 0px;
    z-index: 1000;
    height: 75px;
    max-width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-logo {
    height: 80%;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links > a {
    color: #ccd3de;
    text-decoration: none;
    margin-left: 24px;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.2s ease;
}

.nav-links > a:hover {
    color: #8494ae;
}

.nav-links > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #8494ae;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links > a:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.dropdown {
    position: relative;
    display: inline-block;
    height: 100%;
    display: flex;
    align-items: center;
    margin-left: 24px;
}

.dropdown > .dropbtn {
    color: #ccd3de;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.dropdown > .dropbtn:hover {
    color: #8494ae;
}

.dropdown > .dropbtn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #8494ae;
    opacity: 0;
}

.dropdown > .dropbtn:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 240px;
    border-radius: 6px;
    z-index: 1001;
    padding: 8px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-content a {
    color: #8494ae;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #284785;
    color: #ffffff;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.navbar a:focus,
.navbar button:focus,
.logo-container:focus {
    outline: none;
}

.site-footer {
    background-color: #203a6c;
    border-top: 1px solid #384f75;
    padding: 35px 10px 35px 50px;
    margin-top: auto;
    width: 100%;
}

.footer-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.footer-left-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-left: 0;
}

.footer-left-group h3 {
    font-size: 1.1rem;
    color: #ffffff;
}

.footer-main-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-square-logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.footer-socials {
    display: flex;
    gap: 20px;
    margin-right: 20px;
}

.footer-socials a {
    color: #ccd3de;
    font-size: 2.4rem;
    text-decoration: none;
}

.footer-socials a:hover {
    color: #8494ae;
}

.address-box {
    margin-top: 20px;
    line-height: 1.5;
}

.address-box strong {
    display: block;
    margin-bottom: 5px;
    color: #203a6c;
    transition: color 0.3s ease;
}

.address-box p {
    color: #8494ae;
}

body.dark-mode {
    background-color: #000000;
    color: #ccd3de;
}

body.dark-mode .site-footer {
    background-color: #121212;
    border-top-color: #384f75;
}

body.dark-mode .dropdown-content {
    background-color: #121212;
    border-color: #384f75;
}

body.dark-mode .dropdown-content a:hover {
    background-color: #203a6c;
    color: #ffffff;
}

@media (max-width: 900px) {
    .navbar {
        height: auto;
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .nav-logo {
        height: 45px;
    }

    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .nav-links > a,
    .dropdown {
        margin: 0 8px;
        font-size: 0.85rem;
    }

    .dropdown {
        height: auto;
    }

    .site-footer {
        padding: 35px 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .footer-left-group {
        align-items: center;
        width: 100%;
    }

    .footer-main-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .footer-socials {
        margin-right: 0;
        justify-content: center;
    }
}