
.nav {
    color: #C8D0DB;
    vertical-align: bottom;
    font-size: 1.25em;
    padding-top:44px;
}


body {
    font-family: "Roboto", sans-serif;
    background-color: black;
    color: #C8D0DB; /* slightly dimmer */
}

@media (max-width: 991.98px) { /* md and below */
    .title {
        top: 50%;
    }
    .title h1 {
        font-size:1.0em;
        font-size: normal;
    }
}

.container{
    color:#E6EAF0;  
}


.button {
    background-color: rgba(0, 78, 137, 1.0);
    color: white;
    text-align:center;  
    padding:12px;
    border-top: solid 1px silver;
    border-left: solid 1px silver;
    border-right: solid 1px gray;
    border-bottom:solid 1px gray;
    border-radius: 8px;
    box-shadow: 4 4 8px 8px 8px rgba(0, 0, 0, 1.0);
}

.float-start {
    margin-right:12px;
}
.float-end {
    margin-left:12px;
}

.button p {
    margin-top: 16px;
    font-weight: bold;
    margin-bottom:0px;
}

.button:hover {
    background-color: rgba(0, 117, 206, 1.0);
    border-top: solid 1px gray;
    border-left: solid 1px gray;
    border-right: solid 1px silver;
    border-bottom:solid 1px silver;
    box-shadow: -2 -2 4px 4px 8px rgba(0, 8, 0, 1.0);
}

.media {
    background-color: rgba(0, 78, 137, 1.0);
    color: white;
    margin-top: 24px;
    padding: 24px;
    border-top: solid 1px silver;
    border-left: solid 1px silver;
    border-right: solid 1px gray;
    border-bottom:solid 1px gray;
    border-radius: 24px;
    box-shadow: 4 4 8px 8px 8px rgba(0, 0, 0, 1.0);
}

.media:hover {
    background-color: rgba(0, 117, 206, 1.0);
    border-top: solid 1px gray;
    border-left: solid 1px gray;
    border-right: solid 1px silver;
    border-bottom:solid 1px silver;
    box-shadow: -2 -2 4px 4px 8px rgba(0, 8, 0, 1.0);
}

.dyn-logo {
    color: #3A6EA5;
    --fa-secondary-opacity: 1.0;
    --fa-secondary-color: #3A6EA5;
}


.dyn-icon {
    color: #E6EAF0;
    --fa-primary-color: red;
    --fa-secondary-opacity: 1.0;
    --fa-secondary-color: blue;
}


.foot-menu .nav-link {
    display:inline;
}

.hero {
    background: 
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url('https://s3.us-central-1.wasabisys.com/di-web-image/dyn-it/hero.webp') center / cover no-repeat;
    min-height: 500px; /* or 60vh */
}

.logo-halo-head {
    filter: drop-shadow(0 0 0.12em rgba(230,234,240,0.75));
}

.logo-halo-foot {
    filter: drop-shadow(0 0 0.22em rgba(230,234,240,0.75));
}


.hero-div {
    padding-top:200px;
}


.hero-copy {
    padding-top: 180px;
    padding-bottom: 48px;
}

.hero-title {
    color: #E6EAF0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.hero-subtitle {
    color: #B8C1CD;
    font-size: clamp(1rem, 1.8vw, 1.5rem);
    font-weight: 600;
    font-style: italic;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.section-row {
    padding-top: 64px;
}

.section-row:first-of-type {
    margin-top: 56px;
}


.section-row p {
    font-size: 1.1rem;   /* was likely ~1rem */
    margin-bottom: 1.4rem;
    line-height: 1.7;
}

.section-row a {
    color:  #E6EAF0 ; /* brighter than body */
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

.section-row a:hover {
    color: #FFFFFF;
}

.section-row a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #3A6EA5;
    transition: width 0.25s ease;
}

.section-row a:hover::after {
    width: 100%;
}

.section-heading {
    font-size: 1.3rem;
    color: #E6EAF0;
    margin: 2.5rem 0 1rem;
    font-weight: 600;
}

.section-off {
    margin-left: 20px;
    opacity: 0.95;
}

.section-highlight {
    margin: 2rem 0;
    padding-left: 1rem;
    border-left: 2px solid #3A6EA5;
}

.cta-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #3A6EA5;
    padding-bottom: 2px;
    transition: all 0.2s ease;
}
.cta-link:hover {
    color: #fff;
    border-color: #fff;
}

.footer {
    background-color: #040608;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 60px 0 30px;
}

.footer-logo {
    max-height: 140px;
    width: auto;
}

.footer-brand-row {
    margin-bottom: 2.5rem;
}

.footer-logo {
    max-height: 140px;
    width: auto;
}

.footer-tagline {
    color: #C8D0DB;
    font-size: 1rem;
    font-weight: 500;
}

.footer-nav {
    margin-bottom: 2rem;
}

.footer-nav a {
    position: relative;
    display: inline-block;
    margin: 0 0.6rem;
    color: #AAB4BE;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #E6EAF0;
}

.footer-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: #E6EAF0;
    transition: all 0.2s ease;
    transform: translateX(-50%);
}

.footer-nav a:hover::after {
    width: 60%;
}

.footer-meta {
    color: #6C757D;
    font-size: 0.85rem;
}

.footer-scripture {
  opacity: 0.6;
  font-size: 0.8rem;
  text-align: center;
}
/* top nav bar */
.homenav.navbar {
    z-index: 100;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    background: transparent;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: calc(100% - 64px);
    text-decoration: none;
}

.nav-logo {
    height: 96px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.nav-title {
    color: #C8D0DB;
    font-size: 32px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    line-height: 1;
    text-align: left;
    position: relative;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link {
    color: #C8D0DB;
    font-size: 20px;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    position: relative;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-title:hover,
.nav-link:hover {
    color: #E6EAF0;
}

.nav-title::after,
.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #3A6EA5;
    transform: translateX(-50%);
    transition: width 0.2s ease;
}

.nav-title:hover::after,
.nav-link:hover::after {
    width: 60%;
}

.navbar-toggler {
    border: 1px solid rgba(200, 208, 219, 0.35);
    padding: 0.35rem 0.55rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    border-color: #3A6EA5;
}

.navbar-toggler-icon {
    background-image: none;
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon {
    display: block;
    background-color: #C8D0DB;
    border-radius: 1px;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
}

.navbar-toggler-icon {
    height: 2px;
    margin-top: 0.65rem;
}

.navbar-toggler-icon::before {
    top: -6px;
}

.navbar-toggler-icon::after {
    top: 6px;
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .navbar-nav {
        width: 100%;
        align-items: flex-start; /* left-align items in flex column */


    }


    .homenav.navbar {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .nav-logo {
        height: 44px;
    }

    .nav-title {
        font-size: 1rem;
        line-height: 1.05;
        white-space: normal;
        max-width: 170px;
    }


    .navbar-collapse {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(255,255,255,0.08);
        background: rgba(4, 6, 8, 0.92);
        text-align: left;   /* override right alignment */

    }

    .navbar-nav .nav-link {
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
        font-size: 1rem;
        display: block;
        text-align: left;
        width: 100%;
        padding: 0.75rem 0;        
    }

    .nav-title::after {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .nav-logo {
        height: 36px;
    }
}

/* contact form */

form {
    background: rgba(255,255,255,0.02);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.form-control,
.form-control:focus {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(200, 208, 219, 0.25);
    color: #E6EAF0;
    box-shadow: none;
}

.form-control::placeholder {
    color: rgba(200, 208, 219, 0.5);
}

.form-control:focus {
    border-color: #3A6EA5;
    background-color: rgba(255,255,255,0.08);
}

.form-floating > label {
    color: rgba(200, 208, 219, 0.7);
    background: transparent;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #AAB4BE;
}
.form-floating > label::after {
    display: none;
}
.form-text {
    color: rgba(200, 208, 219, 0.6);
    font-size: 0.9rem;
}
.btn-primary {
    background: transparent;
    color: #E6EAF0;
    border: none;
    border-bottom: 1px solid #3A6EA5;
    padding: 6px 0;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    color: #ffffff;
    border-color: #ffffff;
    background: transparent;
}
