/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0078d7;
    --primary-dark: #005ba8;
    --background: #eef5fc;
    --white: #ffffff;
    --text: #333333;
    --radius: 15px;
    --shadow: 0 5px 20px rgba(0,0,0,.08);
}

body {
  max-width: 90%;
  margin: 0 auto;

    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--background);
    color: var(--text);

    min-height: 100vh;

    display: flex;
    flex-direction: column;
}

a{
       color: var(--primary);
       font-weight: bold;
       text-decoration: none;
}
a:hover{
       color: var(--primary-dark);
       text-decoration: underline;
}

/* =========================
   HEADER
========================= */

header {
  /*min-height: 170px; */
    margin: 15px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: visible;
}

/* Logo Area */

.logo-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 30px;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.tagline {
    color: #666;
    font-size: .95rem;
}

/* =========================
   NAVIGATION
========================= */

nav {
    background: var(--primary);
    border-radius: 0 0 15px 15px;
    
}

.menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.menu > li {
    position: relative;
}

.menu > li > a {
    display: block;
         font-weight: normal;
    color: white;
    text-decoration: none;

    padding: 15px 25px;

    transition: .3s;
}

.menu > li > a:hover,
.menu > li > a.active {
    background: var(--primary-dark);

}


/* =================================
for rounded blue menu bottom corners
=================================== */
.menu > li:first-child > a {
    border-bottom-left-radius: 15px;
}

.menu > li:last-child > a {
    border-bottom-right-radius: 15px;
}

/* =========================
   DROPDOWN
========================= */

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;

    min-width: 250px;

    background: white;
    list-style: none;

    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition: all .25s ease;

    z-index: 9999;
}

.has-dropdown:hover > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;

    padding: 12px 20px;
     font-weight: normal;
    color: #333;
    text-decoration: none;

    background: white;

    transition: .2s;
}

.dropdown li a:hover {
    background: #f4f8fc;
    color: var(--primary);
}

.dropdown li:not(:last-child) a {
    border-bottom: 1px solid #eee;
}

.dropdown a.active {
    color: var(--primary);
    font-weight: 600;
}

/* =========================
   MAIN
========================= */

main {
    flex: 1;
    margin: 0 15px 15px 15px;
    display: flex;
    flex-direction: column;
}

.hero {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 60px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    color: var(--primary);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.7;
    color: #666;
}

/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;
    align-self: center;
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 50px;
    transition: .3s;
}

.btn:hover {
    color: white;
    background: var(--primary-dark);
}

/* =========================
   CONTENT BLOCKS
========================= */

.card {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    text-align: center;
}

.card a {
    font-size: 24px;
}

.cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cards .card {
    flex: 1;
    min-width: 250px;
}

.article {
    min-height: 640px;
    background: white;
    border-radius: var(--radius);
    padding: 50px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.article ul {
    list-style-type: disc;
    list-style-position: inside;
    margin-left: 20px;
}

.lsnotice {
    border-radius: var(--radius);
    padding: 15px;
    background: #eee;
}

h2 {
	color: #076e82; /*#4d7685; #4c5d63;*/
}

hr {
  border: 1px solid  #076e82;
  margin-bottom: 10px;
}

/* =========================
   FOOTER
========================= */

footer {
   display: flex;
    flex-wrap: wrap;
   justify-content: space-between;    
   
    margin: 0 15px 15px 15px;
    background: var(--primary-dark);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    padding: 25px;
}


.footitem {
    
    color: white;
}

footer a {

    color: white;
    font-weight: normal;
}

footer a:hover {

    color: white;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .logo-bar {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .menu {
        flex-direction: column;
    }

    .menu > li {
        width: 100%;
    }

    .dropdown {
        position: static;

        display: none;

        opacity: 1;
        visibility: visible;
        transform: none;

        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    .has-dropdown:hover > .dropdown {
        display: block;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }
}