header {
    overflow: hidden;
}

    header.masthead {
        position: relative;
        background-color: #343a40;
        background: url("../Images/bgd-masthead.jpg") no-repeat center;
        background-size: 100% 100%;
        background-position: top;
        padding-left: 2rem;
        max-height: 500px;
        min-height: 300px;
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
        overflow: hidden;
    }
    
    .features-container {
        background-color: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(5px);
        border-radius: 8px;
        padding: 1rem 0 0 0;
        /*margin: 0 2rem 2rem 2rem !important;*/
        width: calc(100% + 2rem);
        margin-left: -2rem;
        box-sizing: border-box;
    }
    
    .features-container .col-3 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 120px;
    }

        header.masthead .logo {
            float: left;
            width: 30%;
            padding-bottom: 1rem;
            padding-top: 1rem;
        }

        header.masthead .supertext {
            clear: both;
            text-align: left;
            text-transform: uppercase;
            font-family: arial, serif;
            font-weight: bold;
            font-size: 30px;
            line-height: 1em;
            padding-bottom: 1rem;
        }

        header.masthead .pic {
            height: 80px;
            /*padding-right: 20px;*/
        }

        header.masthead .caption {
            font-size: 0.8em;
            line-height: 0.9em;
            text-align: center;
            width: 100%;
            position: relative;
            top: auto;
            padding: 0.5rem 0;
            margin-top: 0.5rem;
        }
        
        header.masthead .row.justify-content-center .col-auto {
            padding: 0 2rem;
        }

.featurette-divider {
    margin: 3rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.05rem;
    margin-top: 4rem;
    margin-bottom: 1rem;
    color: #00306a;
}

@media (max-width: 576px) {
    .featurette-heading {
        font-size: 1.5em;
        margin-top: 3rem;
    }

    .featurette-divider {
        margin: 2rem 0; /* Space out the Bootstrap <hr> more */
    }
}


body {
    /*padding-bottom: 20px;*/
    width: 100%;
    font-family: sans-serif;
    text-align: center;
    font-size: larger;
}

.footer {
    /*position: fixed;*/
    left: 0;
    bottom: 50px;
    max-width: 900px;
    min-height: 100px;
    /*background-color: #e6e8e5;*/
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
}

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    padding-left: 2rem;
    font-size: 0.5em!important;
}

#centerContainer {
    max-width: 900px;
    margin: 0px auto;
    min-width: 350px;
    background: #ffffff;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

#centerContainer header.masthead {
    margin: 0;
    max-width: 900px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.form-control {
    border: 1px solid #003781
}
/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 550px;*/
}

/* ========================================
   Registration Form Styles
   ======================================== */

.registration-card {
    background: #ffffff;
    border-radius: 0;
    box-shadow: none;
    padding: 2.5rem;
    width: 100%;
}

.registration-header {
    margin-bottom: 1.5rem;
}

.registration-header h2 {
    color: #003781;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.registration-header p {
    color: #6c757d;
    font-size: 0.95rem;
}

.registration-card .form-group {
    margin-bottom: 1.25rem;
}

.registration-card .form-group label {
    display: block;
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.form-control-styled {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.2s ease;
    background-color: #f8f9fa;
    box-sizing: border-box;
}

.form-control-styled:focus {
    outline: none;
    border-color: #003781;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 55, 129, 0.1);
}

.form-control-styled::placeholder {
    color: #adb5bd;
}

.form-row-custom {
    display: flex;
    gap: 1rem;
}

.form-row-custom .form-group {
    flex: 1;
}

.checkbox-wrapper {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
}

.checkbox-wrapper label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.4;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #003781;
}

.checkbox-wrapper a {
    color: #003781;
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #003781 0%, #0056b3 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #002a61 0%, #004494 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 55, 129, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.validation-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: block;
}

.alert-styled {
    background-color: #fff5f5;
    border: 1px solid #f8d7da;
    border-left: 4px solid #dc3545;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #721c24;
}

.contact-info {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
}

.contact-info p {
    margin: 0;
    color: #495057;
    font-size: 0.9rem;
}

.contact-info .phone {
    font-weight: 700;
    color: #003781;
    font-size: 1.1rem;
}

@media (max-width: 576px) {
    .registration-card {
        padding: 1.5rem;
    }

    .form-row-custom {
        flex-direction: column;
        gap: 0;
    }

    .features-container {
        display: none;
    }
}

/* ========================================
   Index Page Styles
   ======================================== */

.index-content {
    padding: 2.5rem;
}

.index-content .form-group {
    max-width: 400px;
    margin: 0 auto 1.5rem;
}

.index-content form {
    max-width: 400px;
    margin: 0 auto;
}

.index-content .info-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
    border-left: 4px solid #003781;
}

.index-content .info-box p {
    margin: 0;
    color: #495057;
    line-height: 1.5;
}

.index-content h2 {
    color: #003781;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.index-content .featurette-divider {
    margin: 2rem 0;
    border-color: #e9ecef;
}
