nav {
    background-color: #0B2545;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);

}

body {
    background-color: #FCFCFC;
}

nav a {
    color: #FCFCFC !important;
}

/* Navbar link hover and active effect */
.navbar-nav .nav-link {
    position: relative;
    color: #FCFCFC !important;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar-nav .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 1.7px;
    background: currentColor;
    border-radius: 1.7px;
    margin: 0.1px auto 0 auto;
    transition: width 0.3s cubic-bezier(.4, 0, .2, 1), background 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link[aria-current="page"] {
    color: #c4dbf0 !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after,
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link[aria-current="page"]::after {
    width: 100%;
    background: #c4dbf0;
}

@media (max-width: 575px) {

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link:focus::after,
    .navbar-nav .nav-link.active::after,
    .navbar-nav .nav-link[aria-current="page"]::after {
        width: 0%;
        background: #c4dbf0;
    }
}

/* Navbar code ends here */

#landing {
    position: relative;
    width: 100vw;
    overflow: hidden;
}

#landing img {
    width: 100vw;
    max-width: 100vw;
    display: block;
    margin-left: calc(-50vw + 50%);
    position: relative;
    z-index: 1;
}

#landing .landing-text,
#landing button {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-65%, -100%);
    color: #13315C;
    text-align: center;
    z-index: 2;
    width: 100%;
    pointer-events: none;
}

#landing button {
    width: 15%;
    top: 70%;
    left: 28%;
    font-size: 2vw;
    font-weight: 300;
    margin-top: 0.5em;
    background-color: #0B2545;
    color: #f9fcff;
}

#landing .landing-text h1 {
    font-size: 11vw;
    line-height: 1;
    margin: 0;
    font-family: "Big Shoulders Stencil", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
}

#landing #subtitle-line {
    margin-top: 1.2em;
    line-height: 0.8;
}

#landing .landing-subtitle {
    font-size: 2.3vw;
    font-weight: 300;
    color: #13315C;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* Welcome message section styles */
#welcome-message img {
    display: block;
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.10);
    transition: box-shadow 0.2s, transform 0.3s;
}

#welcome-message img:hover {
    box-shadow: 0 4px 24px rgba(11, 37, 69, 0.13);
    transform: translateY(-2px) scale(1.03);
}

#welcome-message h2 {
    color: #13315C;
}

#welcome-message p {
    color: #333;
    font-size: 1.25rem;
}

#textandimage {
    width: 100%;
}

@media (max-width: 767px) {
    #welcome-message img {
        width: 300px !important;
    }
}

@media (max-width: 600px) {
    #welcome-message p {
        font-size: 90% !important;
    }

    /* #welcome-message img {
        width: 300px !important;
    } */

    #contact h2,
    #welcome-message h2,
    #site-overview h2 {
        font-size: 5rem;
    }
}

.section-divider {
    border: none;
    border-top: 5px solid #13315C;
    width: 100%;
    margin: 2rem auto 2rem auto;
}

form #send {
    background: #0B2545;
    color: #f9fcff;
}

#contact h2 {
    color: #13315C;
}

@media (max-width: 991px) {
    #welcome-message .row {
        flex-direction: column;
    }

    #welcome-message p {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }

    #contact h2,
    #welcome-message h2 {
        text-align: center !important;
    }

    /* keeps welcome message spread out */
    #welcome-message .col-md-7 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #welcome-message p {
        width: 90%;
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }
}

@media (max-width: 413px) {

    #contact h2,
    #site-overview h2 {
        font-size: 3rem;
    }
}

footer {
    background-color: #0B2545;
    color: #f9fcff;
}

#landing .btn {
    transition: box-shadow 0.2s, transform 0.3s;
}

#landing .btn:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175), 0 4px 24px rgba(11, 37, 69, 0.13);
    transform: translateY(-2px) scale(1.03);
}

.btn:hover {
    background-color: #34527a !important;
}

p {
    font-size: 116%;
}

/* landing image mobile responsiveness */
@media (max-width: 500px) {
    #landing {
        min-height: 100vh;
        height: 100vh;
        width: 100vw;
        position: relative;
        overflow: hidden;
    }

    #landing img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        min-height: 100vh;
        min-width: 100vw;
        object-fit: cover;
        object-position: 86% center;
        z-index: 1;
        margin: 0;
        display: block;
    }

    #landing .landing-text {
        position: absolute;
        top: 20vw !important;
        left: 4vw !important;
        transform: none !important;
        width: auto !important;
        text-align: center !important;
        z-index: 2;
        background: transparent;
        color: #13315C;
        padding: 0;
    }

    #landing .landing-text h1 {
        font-size: 5rem !important;
        line-height: 1.1 !important;
        word-break: break-word;
    }

    #landing .landing-subtitle {
        font-size: 0.8rem !important;
    }

    #landing button {
        width: clamp(40px, 14vw, 70px);
        height: clamp(40px, 14vw, 70px);
        aspect-ratio: 1/1;
        left: 23vw !important;
        right: auto;
        top: 85vw !important;
        transform: translateY(0);
        font-size: clamp(1rem, 3vw, 1.2rem);
        margin-top: 1.2rem;
        position: absolute;
        z-index: 3;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        border-radius: 50%;
        padding: 0;
        text-align: center;
        line-height: normal;
        background-color: #0B2545;
        color: #f9fcff;
        transition: width 0.2s, height 0.2s, font-size 0.2s;
    }
}

#site-overview h2 {
    color: #13315C;
}

#site-overview .btn {
    border: 0px;
    border-radius: 20px;
    background-color: #13315c;
}