html {
    scroll-behavior: smooth;
}

body {
    display: block;
    margin: auto;
    width: 100%;
    height: auto;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Libre Franklin', Arial, sans-serif;
    top: 0;
    position: relative;
    color: #2f352d;
    background: #f6f4ef;
    line-height: 1.6;
}

/* Navigation */

header nav {
    background: #2f4a3c !important;
    box-shadow: 0 2px 14px rgba(0,0,0,0.18);
}

nav li a {
    color: #ffffff !important;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: 0.25s ease;
}

nav li a:hover {
    color: #e4d2b3 !important;
}

nav li i {
    color: #d0b48a;
}

/* Hero */

.hero-bg {
    display: block;
    width: 100%;
    margin: auto;
    min-height: 450px;

    background-color: #2f4a3c;

    background-image:
        linear-gradient(rgba(24, 42, 33, 0.30), rgba(24, 42, 33, 0.38)),
        url('https://westwindsoftreasureisland.com/img/img5.jpg');

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    display: block;
    width: 100%;
    min-height: 150px;
    margin: auto;
    position: absolute;
    bottom: 0;
    background: rgba(35, 56, 45, 0.94);
    color: white;
    padding: 18px 0;
    border-top: solid 4px #d0b48a;
    animation: fadeup 0.8s ease-out 1;
}

.hero-overlay .container {
    padding: 18px 15px;
}

.hero-overlay h1 {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 1px 2px 5px rgba(0,0,0,0.45);
    margin-bottom: 8px;
}

.hero-overlay p {
    font-size: 17px;
    margin-bottom: 0;
    color: rgba(255,255,255,0.92);
}

/* Mobile Hero */

@media (max-width: 768px) {

    .hero-bg {
        min-height: 520px;
    }

    .hero-overlay {
        min-height: 0;
        height: auto;
        padding: 12px 10px;
    }

    .hero-overlay .container {
        padding: 10px;
    }

    .hero-overlay h1 {
        font-size: 26px;
        line-height: 1.2;
    }

    .hero-overlay p {
        font-size: 15px;
    }
}

/* Animations */

@keyframes fadeup {

    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.page-links {
    margin-top: 0;
    animation: fadein1 0.8s ease 1;
}

@keyframes fadein1 {

    from {
        margin-top: -100px;
        opacity: 0;
    }

    to {
        margin-top: 0;
        opacity: 1;
    }
}

/* Homepage Cards */

.home-row {
    display: block;
    width: 100%;
    min-height: 250px;
    background: #ffffff;
    margin: 5px;
    padding: 26px;
    border-radius: 16px;
    margin-top: 45px;
    border: solid 1px #e0ddd5;
    border-top: solid 5px #3e5d4c;
    box-shadow: 0 4px 16px rgba(32, 47, 38, 0.08);
    transition: 0.28s ease;
}

.home-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(32, 47, 38, 0.14);
    border-top-color: #c6a97e;
}

.home-row h2 {
    color: #2f4a3c;
    padding-bottom: 14px;
    border-bottom: solid 2px rgba(208, 180, 138, 0.24);
    font-weight: 800;
    font-size: 25px;
}

.home-row h2 i {
    color: #c6a97e;
}

.home-row p {
    font-size: 17px;
    color: #444;
}

.home-row a {
    background: #3e5d4c;
    border: solid 1px #3e5d4c;
    color: #ffffff;
    float: right;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 10px;
    transition: 0.25s ease;
    text-decoration: none;
}

.home-row a:hover {
    background: #c6a97e;
    border-color: #c6a97e;
    color: #ffffff;
}

/* Board Members */

.board-member {
    text-align: center;
    margin-top: 25px;
    background: #ffffff;
    border: solid 1px #e3e0d7;
    border-radius: 14px;
    padding: 24px 18px;
    box-shadow: 0 4px 16px rgba(32, 47, 38, 0.08);
}

.board-member h2 {
    border-top: solid 2px #e3e0d7;
    padding-top: 15px;
    color: #2f4a3c;
    font-weight: 800;
}

.board-member h3 {
    color: #4d6c5b;
    font-weight: 700;
}

/* Documents */

.document {
    display: block;
    min-height: 150px;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    color: #2f352d;
    border: solid 1px #e0ddd5;
    border-left: solid 5px #3e5d4c;
    margin: 10px;
    margin-top: 25px;
    box-shadow: 0 4px 16px rgba(32, 47, 38, 0.08);
    transition: 0.25s ease;
}

.document:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(32, 47, 38, 0.14);
    border-left-color: #c6a97e;
}

.document h2 {
    color: #2f4a3c;
    padding-bottom: 14px;
    border-bottom: solid 2px rgba(208, 180, 138, 0.22);
    font-weight: 800;
    font-size: 22px;
}

.document a {
    border: solid 1px #3e5d4c;
    background: #3e5d4c;
    color: #ffffff;
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    margin-top: 25px;
    border-radius: 10px;
    padding: 10px 14px;
    transition: 0.25s ease;
    text-decoration: none;
}

.document a:hover {
    background: #c6a97e;
    border-color: #c6a97e;
    color: #ffffff;
}

/* Logo */

#amtech-logo {
    height: auto;
    width: 100%;
}

/* Text */

.text-primary {
    color: #3e5d4c !important;
}

p,
li {
    color: #444;
}

a {
    color: #3e5d4c;
}

a:hover {
    color: #b69263;
}

/* Forms */

form button {
    background: #3e5d4c;
    border: solid 1px #3e5d4c;
    color: #ffffff !important;
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 18px;
    transition: 0.25s ease;
}

form button:hover {
    background: #c6a97e;
    border-color: #c6a97e;
    color: #ffffff;
}

/* Footer */

footer {
    background: #24382d;
    text-align: center;
    min-height: 250px;
    padding-top: 80px;
    padding-bottom: 50px;
    color: #ffffff;
    border-top: solid 4px #d0b48a;
    bottom: 0;
    margin-bottom: 0 !important;
}

footer a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
    color: #e4d2b3;
}

footer p {
    color: #ffffff;
}

footer span {
    color: #ffffff;
}

/* Mobile */

@media (max-width: 768px) {

    .home-row,
    .document,
    .board-member {
        margin-left: 0;
        margin-right: 0;
        padding: 18px;
    }

    .home-row h2,
    .document h2 {
        font-size: 21px;
    }

    .home-row p {
        font-size: 15px;
    }

    .home-row a {
        float: none;
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 15px;
    }

    footer {
        padding-top: 55px;
        padding-bottom: 40px;
    }
}