﻿:root {
    --blue: #134f85;
    --navy: #1f3f5f;
    --gray: #f2f2f2;
    --med-gray: #616161;
    --border: #d7d7d7;
    --text: #222;
    --link: #0b4f8a;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


body {
    color: var(--text);
    background-color: #FAFAFA;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

main a{
    color: var(--blue);
}

header .top-bar {
    background: var(--navy);
    color: #fff;
    font-size: .93rem;
}

    header .top-bar a {
        color: #fff;
        text-underline-offset: 3px;
    }

.navbar {
    background: #fff;
    box-shadow: 0 4px 18px rgba(16, 47, 73, .12);
}

.navbar-brand img {
    width: 100px;
    max-width: 70vw;
    height: auto;
}

.nav-link {
    /*font-family: 'Inter', sans-serif;*/
    color: var(--med-gray);
    font-weight: 600;
    padding: .6rem .2rem !important;
    border-bottom: 3px solid transparent;
    margin-left: .45rem;
    margin-right: .45rem;
}

    .nav-link:hover,
    .nav-link.active {
        color: var(--blue);
        border-bottom-color: var(--blue);
    }

.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 14px 30px rgba(16, 47, 73, .14);
    padding: .5rem;
}

.dropdown-item {
    border-radius: 10px;
    font-weight: 600;
    padding: .65rem .85rem;
}

    .dropdown-item:hover,
    .dropdown-item:focus {
        background: var(--gray);
        color: var(--blue);
    }

footer {
    background-color: var(--navy);
    color: #fff;
    padding: 3rem 0;
    margin-top: auto;
}

    footer .icon-wrapper {
        text-decoration: none;
        margin-left: .25rem;
        margin-right: .25rem;
    }

    footer .icon {
        display: flex;
        width: 40px;
        height: 40px;
        border-radius: 9999px;
        /*font-size: 1rem;*/
        /*background-color: #5dc2e7;*/
        justify-content: center;
        align-items: center;
        text-align: center;
        text-decoration: none;
        color: #f8f9fa;
        border: 1px solid rgba( 255, 255, 255, .2);
    }

        footer .icon:hover {
            background-color: rgba( 255, 255, 255, .02);
        }

.btn {
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
    font-weight: 700;
}

h1, h2, h3, h4, h5 ,h6{
    font-weight: 600;
}

.section-padding {
    padding: 4rem 0;
}

.hero {
    min-height: 70vh;
    max-height: 600px;
    display: flex;
    overflow: hidden;
    position: relative;
}

.hero-left {
    width: 65%;
    background: linear-gradient(135deg, #134f85 0%, #0f3d66 45%, #09233d 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    position: relative;
    z-index: 2;
    clip-path: polygon(0 0, 85% 0, 100% 100.5%, 0 100%);
}

.hero-right {
    position: absolute;
    inset: 0 0 0 55%;
    z-index: 1;
    overflow: hidden;
}

    .hero-right img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.hero-left h1 {
    /*font-size: 72px;*/
    line-height: 0.95;
    /*margin-bottom: 24px;*/
    max-width: 80%;
}

.hero-left p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cbd5e1;
    max-width: 80%;
    margin-bottom: 32px;
}

.card {
    border-radius: 40px;
    padding: 1rem;
}

.news-wrapper {
    margin-top: 40px;
    padding: 32px;
    border-radius: 40px;
    background: rgba(255,255,255,0.88);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.04);
}

.announcement {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    align-items: start;
    padding: 24px 0;
}

    .announcement + .announcement {
        border-top: 1px solid rgba(31,63,91,0.1);
    }

.announcement-date {
    display: grid;
    place-items: center;
    width: 86px;
    padding: 12px 8px;
    border-radius: 18px;
    background: var(--navy);
    color: #fff;
    text-align: center;
    flex-shrink: 0;
}

    .announcement-date span,
    .announcement-date small {
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        opacity: 0.85;
    }

.announcement-date strong {
    font-size: 2rem;
    line-height: 1;
}

.announcement-heading {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 1.35rem;
}

.announcement-text {
    margin: 0 0 14px;
    color: var(--med-gray);
    line-height: 1.6;
}

.announcement-link {
    color: var(--blue);
    font-weight: 700;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.accordion {
    --bs-accordion-border-color: var(--border);
    --bs-accordion-border-radius: 22px;
    --bs-accordion-inner-border-radius: 18px;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(63,107,93,.2);
}

.accordion-item {
    border-radius: 22px !important;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(34,59,51,.08);
}

.accordion-button {
    font-weight: 800;
    color: var(--navy-dark);
    background: #fff;
    padding: 1.2rem 1.35rem;
}

    .accordion-button:not(.collapsed) {
        background: var(--gray);
        color: var(--navy);
        box-shadow: none;
    }

    .accordion-button::after {
        filter: grayscale(1);
    }

#login {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}

.username {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.password {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.map {
    width: 100%;
    border: none;
    border: 0;
    min-height: 400px;
    border-radius: 22px;
}

.list-padding li {
    padding-top: .25rem;
    padding-bottom: .25rem;
}

.table td, .table th, .list-group-item{
    background-color: transparent;
}

.div-table {
    padding: 0 .5rem 0;
}

    .div-table .row {
        padding: .75rem 0 .75rem;
        border-bottom: 1px solid var(--border);
    }

@media (max-width: 900px) {
    .hero {
        min-height: auto;
        max-height: none;
        flex-direction: column;
    }

    .hero-left {
        width: 100%;
        min-height: auto;
        padding: 64px 32px;
        clip-path: none;
    }

    .hero-right {
        position: relative;
        inset: auto;
        width: 100%;
        height: 320px;
    }
}

@media (max-width: 600px) {
    .hero-left {
        padding: 48px 24px;
    }

        .hero-left h1 {
            /*font-size: 40px;*/
            max-width: 100%;
        }

        .hero-left p {
            /*font-size: 16px;*/
            max-width: 100%;
        }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .hero-right {
        height: 260px;
    }
}
