html {
    scroll-behavior: smooth;
}
@keyframes sectionHighlight {
    0% {
        background-color: transparent;
        box-shadow: none;
    }
    30% {

        background-color: rgb(238, 238, 238);
        box-shadow: 0 0 20px rgba(238, 238, 238, 0.5);
    }
    100% {
        background-color: transparent;
        box-shadow: none;
    }
}

.highlight-flash {
    animation: sectionHighlight 1.2s ease-out;
    border-radius: 50px;
    padding: 12px;
}

body {
    background-color: #f0f0f0;
    margin: 0;
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    color: #40444a;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}
.top-nav {
    background-color: #18273e;
    border-bottom: 1px solid #0f1a2c;
}

.nav-flex {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    padding: 8px 0;
}
.top-nav .container {
    padding: 10px 40px;
}
.top-nav a {
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.8px;
    text-decoration: none;
    transition: color 0.5s ease;
}
.top-nav a:hover {
    color: #e2001a;
}
.flex {
    display: flex;
    align-items: flex-end;
    gap: 30px;
}
#logo {
    align-self: center;
}
header p {
    margin: 0;
    line-height: normal;
}
#logo img {
    width: 100px;
}
.header-img {
    height: 350px;
    overflow: hidden;
    margin-bottom: 40px;
}
.header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section {
    text-align: left;
    padding: 30px 12%;
}
h2 {
    color: #18273e;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
}
.back-button {
    display: inline-block;
    margin-bottom: 10px;
    padding: 10px 16px;
    border-radius: 6px;
    background-color: #F8F8FF;
    color: #18273e;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}
.back-button:hover {
    background-color: #e2001a;
    color: #fff;
}
.content-narrow {
    max-width: 1500px;
    margin: 0 auto;
    text-align: justify;
    hyphens: auto;
}
.content-narrow p,
.content-narrow address {
    line-height: 1.6;
}
p {
    line-height: 1.6;
}
.section ul {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}
.section li {
    position: relative;
    padding-left: 20px;
    margin: 8px 0;
    line-height: 1.6;
}
.section li::before {
    content: ">";
    position: absolute;
    left: 0;
    top: 0;
    color: #e2001a;
    font-weight: bold;
}
.contact {
    position: relative;
    padding-left: 55px;
    margin: 20px 0;
}

.contact::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 42px;
    height: 42px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.contact.mail::before {
    background-image: url("../images/icons/mail.png");
}
.contact.post::before {
    background-image: url("../images/icons/post.png");
}
@media (min-width: 768px) {

    .two-col {
        grid-template-columns: 1fr 1fr;
    }

    .two-col.reverse .text {
        order: 2;
    }

    .two-col.reverse .image {
        order: 1;
    }

    .focus-grid {
        grid-template-columns: 1fr 1fr;
    }

    .image-row {
        flex-wrap: wrap;
    }

    .image-row img {
        width: calc(33.333% - 14px);
    }

    header {
        padding: 10px 0;
    }

}
@media (min-width: 1024px) {

    .section {
        padding: 0 60px;
    }

    .image-row img {
        width: calc(20% - 16px);
    }

    .header-img {
        height: 350px;
    }

    .image-carousel-section {
        height: 500px;
    }

}
@media (max-width: 480px) {

    body {
        font-size: 14px;
    }

    #slogan {
        font-size: 12px;
    }

    h1 { font-size: 22px; }
    h2 { font-size: 18px; }
    h3 { font-size: 16px; }
    h4 { font-size: 14px; }

    header {
        padding: 6px 0;
    }
}


