* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4A8082;
    --sec-title-color: #6A9FA1;
    --menu-btn-bg: #F5F7FA;
    --menu-btn-hover-bg: #E8F0F2;
    --accent-color: #5D8AA8;
    --submenu-bg: #FFFFFF;
    --submenu-border: #E5E7EB;
    --sec1-main: #E8F4F8;
    --sec1-text: #2D6A89;
    --sec1-hover-bg: #D1E7F1;
    --sec1-hover-text: #1A4B63;
    --sec2-main: #F8F0F2;
    --sec2-text: #894A5D;
    --sec2-hover-bg: #F1D1D9;
    --sec2-hover-text: #631A32;
    --sec3-main: #F5F5F0;
    --sec3-text: #897A4A;
    --sec3-hover-bg: #E7E3D1;
    --sec3-hover-text: #63571A;
    --current-page-mark: #4A8082;
    --text-color: #374151;
    --white: #FFFFFF;
    --transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-color);
    background-color: var(--white);
    transition: var(--transition);
}

.top-menu {
    width: 100%;
    height: 63px;
    border-bottom: 1px solid var(--submenu-border);
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--white);
}

.logo {
    width: 50%;
    height: 100%;
    margin-left: 20%;
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 100%;
    object-fit: contain;
}

.menu-trigger {
    height: 100%;
    line-height: 63px;
    padding: 0 15px;
    cursor: pointer;
    background-color: var(--menu-btn-bg);
    transition: var(--transition);
}

.menu-trigger:hover {
    background-color: var(--menu-btn-hover-bg);
}

.menu-trigger a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 900;
    color: var(--primary-color);
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.menu-trigger a:hover {
    color: var(--accent-color);
}

.submenu {
    width: 65%;
    height: auto;
    margin: -1px auto 0 15%;
    line-height: 40px;
    border: 1px solid var(--submenu-border);
    background-color: var(--submenu-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: absolute;
    z-index: 999;
    display: none;
    transition: var(--transition);
    border-radius: 0 0 4px 4px;
}

.sec {
    width: 100%;
    border-bottom: 1px solid var(--submenu-border);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.sec:last-child {
    border-bottom: none;
}

.sec:hover {
    background-color: rgba(106, 159, 161, 0.03);
}

.sec h1 {
    font-size: 14px;
    margin: 0 0 0 10%;
    padding: 5px 0;
}

.sec h1 a {
    color: var(--sec-title-color);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 10%;
    letter-spacing: 0.3px;
}

.sec h1 a::after {
    content: '▼';
    font-size: 12px;
    color: var(--sec-title-color);
    transition: var(--transition);
    transform: rotate(0deg);
}

.sec.active h1 a::after {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.sec h1 a:hover {
    color: #5A9092;
}

.sec h1 a:hover::after {
    color: #5A9092;
}

.sec ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: none;
    transition: var(--transition);
}

.sec ul#sec1 {
    background-color: var(--sec1-main);
}

.sec ul#sec1 li a {
    color: var(--sec1-text);
}

.sec ul#sec1 li a:hover {
    background-color: var(--sec1-hover-bg);
    color: var(--sec1-hover-text);
}

.sec ul#sec2 {
    background-color: var(--sec2-main);
}

.sec ul#sec2 li a {
    color: var(--sec2-text);
}

.sec ul#sec2 li a:hover {
    background-color: var(--sec2-hover-bg);
    color: var(--sec2-hover-text);
}

.sec ul#sec3 {
    background-color: var(--sec3-main);
}

.sec ul#sec3 li a {
    color: var(--sec3-text);
}

.sec ul#sec3 li a:hover {
    background-color: var(--sec3-hover-bg);
    color: var(--sec3-hover-text);
}

.sec ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.sec ul li:last-child {
    border-bottom: none;
}

.sec ul li a {
    display: block;
    padding-left: 10%;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 400;
}

.sec ul li a.current-page {
    font-weight: 500;
    position: relative;
    background-color: rgba(74, 128, 130, 0.05);
}

.sec ul li a.current-page::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: var(--current-page-mark);
}

@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .top-menu {
        height: 60px;
    }

    .logo {
        width: 75%;
        margin-left: 4%;
    }

    .menu-trigger {
        line-height: 60px;
        padding: 0 12px;
    }

    .menu-trigger a {
        font-size: 16px;
    }

    .submenu {
        width: 100%;
        margin: -1px 0 0 0;
        border-left: none;
        border-right: none;
        border-radius: 0;
        line-height: 38px;
    }

    .sec h1 {
        font-size: 13px;
        margin-left: 5%;
    }

    .sec h1 a {
        padding-right: 5%;
        font-size: 14px;
    }

    .sec ul li a {
        padding-left: 5%;
    }
}

@media screen and (min-width: 1200px) {
    body {
        font-size: 17px;
    }

    .top-menu {
        height: 70px;
    }

    .menu-trigger {
        line-height: 70px;
        padding: 0 18px;
    }

    .menu-trigger a {
        font-size: 19px;
    }

    .submenu {
        line-height: 45px;
    }

    .sec h1 {
        font-size: 15px;
    }

    .sec h1 a {
        font-size: 16px;
    }
}