
:root {

    --primary: #234d98;
    --primary-hover: #1b3f7d;

    --text: #444;
    --text-light: #666;

    --background: #ffffff;
    --section: #f7f7f7;

    --border: #dddddd;

    --max-width: 1200px;

}

*,
*::before,
*::after {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {
    height: 100%;
}

body {

    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.7;

    color: var(--text);
    background: var(--background);

    min-height: 100vh;
    display: flex;
    flex-direction: column;

}

main {
    flex: 1;
}

.site-header {

    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);

}

.site-header .container {

    display: flex;
    justify-content: space-between;
    align-items: center;

    height: 96px;

}

.hero {

    padding: 2rem 0;

}

.hero img {

    width: 100%;
    border: 1px solid #ddd;

}

.main-nav a {

    color: #666;
    font-size: .9rem;
    font-weight: 400;

}

.main-nav a:hover,
.main-nav .active {

    color: #1f4d9a;

}

.main-nav ul {

    display: flex;
    align-items: center;
    gap: 2rem;

    list-style: none;

}

.main-nav li {

    position: relative;

}

.main-nav a {

    display: block;
    padding: .5rem 0;

}

.main-nav ul ul {

    position: absolute;

    top: 100%;
    left: 0;

    min-width: 220px;

    list-style: none;
    padding: 0;
    margin: 0;

    background: #2d2d2d;

    display: none;

    box-shadow: 0 8px 20px rgba(0,0,0,.2);

}

.main-nav li:hover > ul {

    display: block;

}

.main-nav ul ul li + li {

    border-top: 1px solid rgba(255,255,255,.08);

}

.main-nav ul ul a {

    display: block;

    padding: 1rem 1.25rem;

    color: #fff;

    transition:
        background .2s ease,
        color .2s ease;

}

.main-nav ul ul a:hover {

    background: #383838;
    color: #fff;

}

.logo img {

    height: 54px;
    width: auto;

}

.container {

    width: min(1300px,88%);
    margin: 0 auto;

}

section {

    padding: 2.5rem 0;

}

h1,
h2,
h3 {

    color: var(--text);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 1rem;

}

h1 {

    font-size: 2rem;

}

h2 {

    font-size: 1.3rem;
    margin-top: 2rem;

}

h3 {

    font-size: 1.3rem;

}

p {

    margin-bottom: 1.25rem;
    color: var(--text-light);

}

a {

    color: var(--primary);
    text-decoration: none;
    transition: .2s;

}

a:hover {

    color: var(--primary-hover);

}

ol,
ul {

    padding-left: 1.5rem;

}

li {

    margin-bottom: .5rem;

}

img {

    display: block;
    max-width: 100%;
    height: auto;

}

.button {

    display: inline-block;

    padding: .85rem 1.5rem;

    background: var(--primary);
    color: white;

    border-radius: 4px;

    font-weight: 600;

}

.button:hover {

    background: var(--primary-hover);
    color: white;

}

.hero {

    padding: 2.5rem 0 1.5rem;

}

.slider {

    position: relative;

    overflow: hidden;

    width: 100%;

    height: 300px;

    max-width: 1200px;

    margin: 0 auto;

}

.slides {

    display: grid;

    grid-auto-flow: column;

    grid-auto-columns: 100%;

}

.slides img {

    flex: 0 0 100%;

    width: 100%;
    height: 300px;

    object-fit: cover;

    display: block;

}

.slider-button {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 46px;
    height: 46px;

    border: none;

    background: rgba(0,0,0,.45);

    color: white;

    cursor: pointer;

}

.prev {

    left: 1rem;

}

.next {

    right: 1rem;

}

.slider-dots {

    position: absolute;

    left: 50%;
    bottom: 1.5rem;

    transform: translateX(-50%);

    display: flex;
    gap: .75rem;

}

.slider-dots button {

    width: 12px;
    height: 12px;

    border-radius: 50%;
    border: none;

    background: rgba(255,255,255,.5);

    cursor: pointer;

}

.slider-dots button.active {

    background: white;

}

figure {
    margin: 2rem auto;
    text-align: center;
}

figure img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

figcaption {
    margin-top: 1rem;
    font-size: .95rem;
}

.associates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.associate-card {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    padding: 1rem;
    background: #fff;
    transition: border-color .2s ease;
}

.associate-card:hover {
    border-color: var(--primary);
}

.associate-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.contact-form {

    max-width: 1200px;

    margin: 0 auto;

}

.contact-form label {

    display: block;

    margin-bottom: .5rem;

    color: var(--text);

}

.contact-form textarea {

    min-height: 240px;

    resize: vertical;

}

.contact-form input,
.contact-form textarea {

    display: block;

    width: 100%;

    margin-bottom: 2rem;

    padding: .85rem 1rem;

    border: 1px solid #ddd;

    background: #f6f6f6;

    font: inherit;

}

.contact-form span {

    color: #d33;

}

.site-footer {

    background: #2d2d2d;
    color: white;

}

.footer-main {

    background: #292929;
    color: #fff;
    padding: 4rem 0;

}

.footer-main .container {

    display: grid;

    grid-template-columns:
        320px
        180px
        220px
        180px;

    justify-content: space-between;
    align-items: start;

}

.footer-column {

    display: flex;
    flex-direction: column;

}

.footer-column ul {

    list-style: none;
    padding-left: 0;
    margin: 0;

}

.footer-column li {

    margin-bottom: .75rem;

}

.footer-column h2 {

    font-size: .85rem;

    letter-spacing: .2rem;

    text-transform: uppercase;

    color: #888;

    margin-bottom: 2rem;

    margin-top: 0;


}

.footer-column ul {

    list-style: none;

}

.footer-column li {

    margin-bottom: .5rem;

}

.footer-column a {

    color: #ddd;

}

.footer-column a:hover {

    color: white;

}

.footer-bottom {

    background: #202020;
    color: #888;
    padding: 1.5rem 0;

}

.footer-logo {

    width: 240px;
    max-width: 100%;

}

.wfdsa-logo {

    width: 170px;

}

.footer-logo,
.wfdsa-logo {

    display: block;

}

.social-links {

    display: flex;
    align-items: center;
    gap: .75rem;

}

.social-links img {

    width: 36px;
    height: 36px;

    display: block;

}

.content-section + .content-section {

    margin-top: 3rem;

}

@media (max-width: 900px) {

    .footer-main .container {

        grid-template-columns: 1fr 1fr;

    }

}

@media (max-width: 640px) {

    .footer-main .container {

        grid-template-columns: 1fr;

    }

}
