* {
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    background-color: #ffffff;
}
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #0093d0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    overflow: hidden;
    padding: 0 20px;
}
.navbar-left .logo img {
    height: 110px;
    width: auto;
    margin: 0 20px;
}
.navbar-right {
    display: flex;
    gap: 10px;
}
.navbar-right a {
    color: #f2f2f2;
    text-align: center;
    padding: 1.25em;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}
.navbar-right a:hover {
    background-color: #fcd34d;
    color: #45627e;
}
.header-section {
    position: relative;
    height: 350px;
    background: linear-gradient(to left, #224e72, transparent), url("index-quote.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 23%;
}
.header-quote {
    text-align: right;
}
.quote-button {
    padding: 15px 30px;
    font-size: 1.2rem;
    background-color: #fed641;
    color: #000;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.quote-button:hover {
    background-color: #e6c200;
}
.main-information,
.quote-container {
    width: 80%;
    margin: 0 auto;
    padding: 15px;
}
.information-title,
.quote-title {
    text-align: center;
    font-size: 250%;
    color: #2f4b70;
    margin: 15px auto;
    border-bottom: 1px solid #ccc;
    padding-bottom: 6px;
}
.row-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 15px;
}
.row-layout::before {
    content: "";
    position: absolute;
    top: 50;
    left: 50;
    height: 100%;
    width: 0;
    background: #1b4676;
    z-index: 0;
    transition: width 0.9s ease;
}
.row-layout:hover::before {
    width: 100%;
}
.left-img,
.right-img,
.text-block {
    position: relative;
    z-index: 1;
}
.left-img,
.right-img {
    flex: 4;
    display: flex;
    justify-content: center;
}
.left-img img,
.right-img img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
}
.text-block {
    flex: 5;
    padding: 0 20px;
}
.text-block h1 {
    color: #1b4676;
    font-size: 180%;
    text-align: center;
}
.text-block p {
    font-size: 120%;
    padding: 7px;
}
.row-layout:hover .text-block h1,
.row-layout:hover .text-block p {
    color: white;
}
.reverse {
    flex-direction: row-reverse;
}
.quotes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
    align-items: center;
    text-align: center;
}
.quotes h4 {
    color: #2f4b70;
    margin-bottom: 7px;
}
.quotes div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.links img {
    width: 100%;
    max-width: 200px;
    height: auto;
    transition: transform 0.3s ease;
}
.links img:hover {
    transform: scale(1.1);
}
footer {
    background-color: #0093d0;
    color: #ffffff;
    padding: 0;
}
footer .container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2rem;
}
footer .split-1,
footer .split-2 {
    display: flex;
    flex-direction: column;
    padding: 10px 40px;
}
footer .split-1 img {
    max-width: 175px;
    height: auto;
}
footer .split-1 a,
footer .split-1 p,
footer .split-2 h3 {
    padding-bottom: 5px;
}
footer .split-2 h3 {
    text-align: center; 
}
footer a {
    color: #ffffff;
    text-decoration: none;
}
footer a:hover {
    color: #fcd34d;
}
footer > p {
    text-align: center;
    padding-top: 0.5rem;
    font-size: 0.9rem;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}
.footer-links a {
    color: #ffffff;
    text-decoration: none;
}
.footer-links a:hover {
    color: #fcd34d;
}
.map-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
    max-width: 450px;
}

@media screen and (max-width: 1080px) {
    .navbar a {
        font-size: 115%;
    } 
    .quote-button {
        padding: 10px 15px;
        width: 100%;
    }
    .row-layout,
    .reverse {
        flex-direction: column !important;
        text-align: center;
    }
    .row-layout:hover::before {
        width: 0 !important;
    }
    .left-img img,
    .right-img img {
        width: 65%;
        margin: 0 auto;
        border-radius: 5px;
    }
    .text-block h1 {
        font-size: 175%;
    }
    .text-block p {
        font-size: 115%;
    }
    .row-layout:hover .text-block h1 {
        color: #1b4676;
    }
    .row-layout:hover .text-block p {
        color: black;
    }
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    .section-column1,
    .section-column2 {
        width: 100%;
    }
    button {
        width: 50%;
    }
}

@media screen and (max-width: 750px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }
    .navbar-right {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .navbar-right a {
        width: 100%;
        text-align: center;
        padding: 0.5em 0;
        font-size: 100%;
    }
    .logo {
        display: none;
    }
}

@media screen and (max-width: 450px) {
    .navbar-right a {
        font-size: 110%;
        padding: 1em 0;
    }
    .quotes {
        grid-template-columns: 1fr;
    }
    footer .container {
        text-align: center;
    }
    footer .split-1,
    footer .split-2 {
        align-items: center;
    }
    footer .split-1 img {
        max-width: 60vw;
    }
    .map-embed {
        height: 250px;
        aspect-ratio: auto;
    }
}
