:root {
    font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif !important;
    line-height: 1.5;
    font-weight: 400;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--light-background-gray);
    --white: white;
    --black: black;
    --thistle: #ebc8ea;
    --navy-blue: #162b49;
    --midnight-blue: #0d1c26;
    --blue: #004eb0;
    --blue-hover: #3366cc;
    --medium-blue: #5894ed;
    --light-blue: #d0eaff;
    --cadet-blue: #62999f;
    --light-cyan: #cfffff;
    --purple: #8752ad;
    --purple-hover: #7830ad;
    --light-purple: #d1b3e5;
    --spruce-green: #39676c;
    --spruce-green-hover: #204f54;
    --light-spruce-green: #b2d2d6;
    --lava-red: #ed5735;
    --lava-red-hover: #cd3a1d;
    --light-lava-red: #ffedcc;
    --gold: #ffa500;
    --gold-hover: #df8b00;
    --light-gold: #ffedcc;
    --light-background-gray: #f6f7fa;
    --light-warm-gray: #f1f1f1;
    --cool-header-gray: #e7e8ee;
    --medium-gray: #c0c0c0;
    --medium-dark-gray: #505050;
    --dark-gray: #343a40;
    --dark-gray-hover: #23272b;
    --drab-gray: #494A54;
    --light-peachy-pink: #fdf4ed;
    --light-salmon: #ff8f66;
    --lemon-chiffon: #ffffd1;
    --old-post-it-yellow: #e6d89b;
    --drab-olive: #5e5a20;
    --bs-dropdown-link-active-bg: red !important;

    --centurion-blueberry: #007bc1;
    --centurion-plum: #583f98;
    --centurion-orange: #f37021;
    --centurion-lemon: #fbaf33;
    --centurion-gray: #6e6e6e;
    --centurion-black: #000000;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: var(--light-background-gray) !important;
    font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif !important;
}

hr {
    margin: 0;
    padding: 0;
}








.navbar {
    /* background-color: var(--navy-blue); */
    background: linear-gradient(15deg, #4a89dd 5%, #000 100%) !important;
    border-bottom: 5px solid var(--centurion-lemon) !important;
    box-shadow: 0 2px 5px #8f93a399;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
    color: #f1f1f1
}

a.navbar-brand span {
    color: #4a89dd;
    font-style: italic;
}


/* Custom color for nav-links inside a dark navbar */
.navbar-dark .nav-link {
    color: var(--cool-header-gray, #f8f9fa); /* Light gray/white */
    border-radius: 5px;
    transition: color .6s, background-color .6s;
}

/* On hover/focus/active */
.navbar-dark .nav-link:hover,
.navbar-dark .nav-link:focus,
.navbar-dark .nav-link.active {
    color: var(--white, #fff);
    background-color: var(--medium-blue, #0056b3);
}




/* Dark background basic nav list */
.nav-dark-bg .nav-link {
    color: var(--cool-header-gray, #ccc);
}

.nav-dark-bg .nav-link:hover,
.nav-dark-bg .nav-link:focus,
.nav-dark-bg .nav-link.active {
    color: var(--white, #fff);
    background-color: var(--medium-blue, #0056b3);
}


/* Light background basic nav list */
.nav-light-bg .nav-link {
    color: var(--bs-dark, #212529);
    border-top: 1px solid var(--white);
    border-bottom: 1px solid var(--white);
    border-left: 1px solid var(--white);
    border-right: 1px solid transparent;
    border-radius: 0;
    margin-bottom: .25rem;
    transition: color .3s, background-color .3s;
}

.nav-light-bg .nav-link:hover,
.nav-light-bg .nav-link:focus,
.nav-light-bg .nav-link.active {
    color: var(--bs-primary, #0d6efd);
    border-top: 1px solid var(--medium-blue);
    border-bottom: 1px solid var(--medium-blue);
    border-left: 3px solid var(--medium-blue);
    font-weight:600;
    background-color: var(--white);
    background: linear-gradient(85deg, var(--white) 5%, var(--light-background-gray) 102%) !important;
    background-clip: padding-box; /* Ensures background doesn't bleed */
    transform: translateZ(0); /* Force GPU compositing */
}



.accordion-header {
    background: linear-gradient(to right, var(--white) 0%, var(--light-background-gray) 45%, var(--light-background-gray) 55%, var(--white) 100%);
    border-bottom: 2px solid var(--white);
}

.accordion-item,
.accordion-header,
.accordion-button,
.accordion-body {
    background-color: transparent !important;
    box-shadow: none;
}

/* Set text color to Bootstrap primary */
.accordion-button {
    color: var(--bs-primary) !important;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: transparent !important;
    box-shadow: none;
    color: var(--bs-primary) !important; /* Ensure color stays primary when open */
}

.accordion-button:focus {
    box-shadow: none;
}



/*.launch-card:hover,
.launch-card:focus {
    background: linear-gradient(65deg, #4a89dd 25%, #000 100%) !important;
    color: white;
    transition: color .6s, background .6s;
}*/


.launch-card {
    position: relative;
    z-index: 0;
    overflow: hidden;
    transition: color 0.6s, transform 0.3s ease;
}

.launch-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(65deg, #4a89dd 25%, #000 100%);
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: -1;
}

.launch-card:hover::before,
.launch-card:focus::before {
    opacity: 1;
}

.launch-card:hover,
.launch-card:focus {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}




.form-container {
    background-color: rgba(255,255,255,1);
    border-radius: 1rem;
    border: 1px solid var(--medium-gray);
/*    margin-top: 1rem;
    margin-bottom: 10rem;*/
}

.form-title-div {
    margin-top: 1.25rem;
}

.form-section-title-div {
    margin-top: 1rem;
    border-bottom: 1px solid var(--medium-gray);
}




.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
    color: #c6d5de;
    background: var(--midnight-blue);
    background: linear-gradient(0deg, var(--midnight-blue) 25%, var(--navy-blue) 99%);
    box-shadow: 0 4px 5px #8f93a399;
}



.phone-2digit-input {
    width: 2.75rem;
}

.phone-3digit-input {
    width: 3.5rem;
}

.phone-4digit-input {
    width: 4.5rem;
}




/*CUSTOM CHECKBOXES*/
/*Note: Entire reason for using this class and not bootstrap custom checkbox is when form is posted with bootstrap custom checkboxes, no values are selected in check box list.*/
/* The container */
.chkContainer {
    /* display: block; */
    /* display: inline-block; */
    position: relative;
    padding-left: 2rem;
    margin-right: 1.5rem;
    margin-bottom: 1.25rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .chkContainer input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.575rem;
    width: 1.6rem;
    background-color: #eee;
    border: 1px solid #ced4da;
    border-radius: .25em;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* Create a custom checkbox */
.checkmarkDisabled {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.575rem;
    width: 1.6rem;
    background-color: #f1f1f1;
    border: 1px solid #ced4da /*#ced4da*/;
    border-radius: .25em;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    cursor: not-allowed;
}


/* On mouse-over, add a grey background color */
.chkContainer:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.chkContainer input:checked ~ .checkmark {
    /*background-color: #007bff;*/
    background-color: #343a40;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkmarkDisabled:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.chkContainer input:checked ~ .checkmark:after {
    display: block;
}

.chkContainer input:checked ~ .checkmarkDisabled:after {
    display: block;
}

/* Style the checkmark/indicator */
.chkContainer .checkmark:after {
    left: 9px;
    top: 4px;
    width: 7px;
    height: 13px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Style the checkmark/indicator */
.chkContainer .checkmarkDisabled:after {
    left: 9px;
    top: 4px;
    width: 7px;
    height: 13px;
    border: solid #a0a0a0;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
/*END CUSTOM CHECKBOXES*/




.shadowed-image {
    position: relative;
    display: inline-block;
}

.shadowed-image img {
    display: block;
    width: 100%;
    height: auto;
}

.shadowed-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: radial-gradient(circle, rgba(0,0,0,0) 50%, rgba(0,0,0,0.5) 100%);
}




/*~~~~~~~~~~~~~~~~~~ SITE WIDE SPECIALTY ~~~~~~~~~~~~~~~~~~*/

.readonly {
    background-color: var(--light-warm-gray);
    color: var(--medium-gray);
    border-color: var(--medium-gray);
    cursor: not-allowed;
}

.justifyText {
    text-align: justify;
}

.fadeInMedium {
    animation: fadeIn;
    animation-duration: 1.25s;
}

.fadeInSlower {
    animation: fadeIn;
    animation-duration: 3.5s;
}

.goodValue {
    color: var(--good-green);
}

.warnValue {
    color: var(--sad-orange);
}

.badValue {
    color: var(--bad-red);
}