html, body {
    margin: 0 !important;
    padding: 0 !important;
}

/* HEADER BACKGROUND */
.header-bg {
    background: linear-gradient(#c4e8f8, #ffffff);
    padding-top: 20px;
}

/* HEADER WIDTH CONTROL */
.header-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    padding-right: 160px; /* space for logo */
}

/* TITLE */
.site-title {
    color: #3fa7d6;
    font-size: 34px;
    font-weight: 700;
    margin: 20px 0;
}

/* LOGO RIGHT */
.logo {
    position: absolute;
    right: 0;
    top: 0;
    height: 140px;
    transform: translateY(-25px); /* 👈 moves UP */
}

/* NAV */
.nav-container {
    max-width: 1000px;
    margin: 60px auto 30px;
    text-align: center;
}

/* BUTTONS */
.nav-btn {
    display: inline-block;
    width: auto;
    min-width: 135px;
    max-width: 230px;
    background: #3fa7d6;
    color: #fff;
    font-family: "PT Sans", sans-serif;
    font-weight: 700;
    padding: 10px 22px;
    margin: 6px 5px;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 5px 5px 7px 1.5px #444444;
}

.nav-btn:hover {
    position: relative;
    top: 2px;
    box-shadow: 5px 5px 7px 1.5px #444444;
	background-color: #F8931F;
    color: #FFFFFF;
}

.nav-btn.active {
    background: #2c7fa3;
}

/* SOCIAL */

.social {
    height: 50px;
    margin: 5px;
    vertical-align: middle;
}

/* CONTENT */
.content-wrap {
    max-width: 950px;
    margin: 60px auto;
    text-align: center;
    padding: 0 20px;
}

.content-wrap h1 {
    color: #3fa7d6;
    font-size: 36px;
    margin-bottom: 30px;
}

.content-wrap p {
    font-size: 18px;
    margin: 15px 0;
    line-height: 1.6;
}

.mr-3,
.mx-3 {
  margin-right: 1rem !important;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 20px;
}

/* COOKIE */
.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #333;
    color: #fff;
    padding: 15px;

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

.cookie-banner button {
    background: #ccc;
    border: none;
    padding: 6px 12px;
}

/* MOBILE */
@media (max-width: 768px) {

    .header-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding-right: 0; /* remove space reserved for logo */
    }

    .site-title {
        font-size: 22px;
        margin: 10px 0;
    }

    .logo {
        position: static;     /* ? remove absolute positioning */
        height: 70px;         /* smaller logo */
        transform: none;      /* reset transform */
    }

    .nav-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 400px;
        margin: 20px auto;
        gap: 12px;
    }

.nav-btn {
    flex: 0 0 calc(50% - 6px);
    max-width: none;
    margin: 0;
    text-align: center;
}

    /* Prevent last item stretching */
    .nav-btn {
        align-self: flex-start;
    }
.social {
    height: 32px;
}

.nav-container a:not(.nav-btn) {
    display: flex;
    justify-content: center;
    align-items: center;
}
	
    .content-wrap h1 {
        font-size: 28px;
    }

    .content-wrap p {
        font-size: 16px;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* TABLET FIX */
@media (max-width: 1024px) {

    .logo {
        height: 100px;   /* smaller than desktop */
        right: 10px;
        top: 0;
        transform: translateY(-10px);
    }

    .site-title {
        font-size: 28px;
        padding: 0 60px;
    }
}

/* SMALL MOBILE IMPROVEMENTS */
@media (max-width: 480px) {

    .nav-btn {
        width: 90%;
        font-size: 16px;
    }

    .content-wrap {
        margin: 40px auto;
    }

    .cookie-banner {
        font-size: 13px;
        padding: 10px;
    }

    .cookie-banner button {
        width: 100%;
        max-width: 120px;
    }
}
