:root {
    --header-primary: #e19d65;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --text-muted: #B0B0B0;
    --orange-primary: #f9a06d;
    --orange-hover: #ffae68;
    --dark-bg: #0d1117;
    --dark-secondary: #161b22;
    --dark-tertiary: #21262d;
    --coral-primary: #EC6F66;
    --coral-secondary: #F3A183;
    --coral-gradient: linear-gradient(to left, var(--coral-primary), var(--coral-secondary));
    --firefly-primary: #78ffd6;
    --firefly-secondary: #a8ff78;
    --firefly-gradient: linear-gradient(to left, var(--firefly-primary), var(--firefly-secondary));
}

/*
--header-primary: #fdeccc;
--text-primary: #f0f6fc;
--text-secondary: #8b949e;
--text-muted: #B0B0B0;
--orange-primary: #ed9937;
--orange-hover: #f3a838;
--dark-bg: #0d1117;
--dark-secondary: #161b22;
--dark-tertiary: #21262d;
--coral-primary: #EC6F66;
--coral-secondary: #F3A183;
--coral-gradient: linear-gradient(to left, var(--coral-primary), var(--coral-secondary));
--firefly-primary: #78ffd6;
--firefly-secondary: #a8ff78;
--firefly-gradient: linear-gradient(to left, var(--firefly-primary), var(--firefly-secondary));
 */

/* ==========================================================================
   Generic HTML Tag Defaults and Styles
   ========================================================================== */

::-moz-selection {
    background: rgba(255, 138, 94, 0.83);
    color: var(--text-primary);
    text-shadow: none;
}

::selection {
    background: rgba(255, 138, 94, 0.83);
    color: var(--text-primary);
    text-shadow: none;
}

body {
    padding: 0;
    margin: 0;
    background-color: var(--dark-bg);
    color: var(--text-primary)
}

audio,canvas,iframe,img,svg,video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.text-center img {
    margin-left: auto;
    margin-right: auto;
}

table {
    width: 100%;
}

code {
    display: inline-block;
    background: #000;
    color: var(--text-muted);
    padding: 0 0.3em;
    border-radius: 3px;
}

p.alert {
    padding: 0.5em;
    margin: 0;
}

.alert p {
    padding: 0;
    margin: 0;
}

.alert-info {
    color: #70E4FF;
    background: transparent;
    border: 1px solid #70E4FF;
}

.alert-danger {
    color: tomato;
    background: transparent;
    border: 1px solid tomato;
}

.invalid-field,
.quote-fields input.invalid-field,
.quote-fields textarea.invalid-field,
input.invalid-field,
textarea.invalid-field {
    border: 1px solid tomato;
}

/* ==========================================================================
   Typography Defaults and Styles
   ========================================================================== */

.grad-header {
    background: var(--header-primary);
    background: -webkit-linear-gradient(to right, var(--header-primary), var(--orange-hover));
    background: linear-gradient(to right, var(--header-primary), var(--orange-hover));
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color : transparent;
}

.grad {
    background: var(--orange-primary);
    background: -webkit-linear-gradient(to right, var(--orange-hover), var(--orange-primary));
    background: linear-gradient(to right, var(--orange-hover), var(--orange-primary));
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color : transparent;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    padding: 0;
    line-height: 1.5em;
}

h1, h2 {
    font-weight: 700;
}

body, p, ul, ol, dl, input, textarea, select, option, table {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

p {
    line-height: 1.5;
    font-size: 20px;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a, a:hover, a:visited, a:focus {
    text-decoration: none;
    color: inherit;
    transition: all ease 0.3s;
}

label, .label {
    font-weight: normal;
}

img.flip {
    transform: scaleX(-1);
}

button {
    background: none;
    border: none;
}

.button, a.button, span.button, button.button {
    font-weight: bold;
    padding: 0.5em 1em;
    color: var(--header-primary);
    border: 3px solid var(--header-primary);
    border-radius: 10px;
    transition: all ease 0.3s;
}

.button:hover, a.button:hover, span.button:hover button.button:hover {
    color: var(--orange-primary);
    border-color:var(--orange-primary);
    border-radius: 5px;
    transition: all ease 0.3s;
}

.quote-button {
    font-size: 24px;
    background: var(--dark-secondary);
    border: 3px solid var(--orange-hover);
    color: white;
    padding: 0.3em 0.5em;
    border-radius: 0.5em;
    box-shadow: #000 0 3px 5px;
    transition: all ease 0.3s;
}

.quote-button i {
    display: inline-block;
    margin-right: 0.5em;
}

.quote-button:hover {
    box-shadow: #000 0 5px 5px;
    transition: all ease 0.3s;
}

.img-y-fluid {
    height: 100%;
    width: auto;
}

/* ==========================================================================
   Media Overrides
   ========================================================================== */

.visible-lg {
    display: none;
}

@media screen and (min-width: 992px) {
    .visible-lg {
        display: block;
    }
}

/* ==========================================================================
   Common Section Defaults and Styles
   ========================================================================== */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3em;
    background: transparent;
}

header > div {
    flex: 1;
}

header > div:nth-child(2) {
    flex: 3;
}

header > div:last-child {
    text-align: right;
}

header > div:first-child img {
    height: 128px;
    transform: scaleX(-1);
}

header a, header a:visited {
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

header a:hover {
    color: var(--orange-hover);
}

header ul li.active a {
    color: var(--orange-primary);
}

header nav a {
    text-align: center;
}

header > div:first-child a {
    margin: 0;
}

header > div:last-child > a {
    transition: all ease 0.3s;
}

header > div:last-child > a.active,
header > div:last-child > a:hover {
    color: var(--dark-bg);
    background: var(--orange-hover);
    transition: all ease 0.3s;
}

header > div:last-child > a i {
    display: inline-block;
    transition: all ease 0.3s;
}

header > div:last-child > a.active i,
header > div:last-child:hover > a i {
    transform: rotate(-45deg);
    transition: all ease 0.3s;
}

ul.navigation {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    padding: 0;
    max-width: 512px;
}

ul.navigation li {
    flex: auto;
    font-size: 22px;
    padding: 0.5em 1em;
    color: white;
    cursor: pointer;
    width: 15ch;
    text-align: center;
    transition: all ease 0.3s;
}

ul.navigation li:hover {
    color: var(--orange-hover);
    transition: all ease 0.3s;
}

.crumbs {
    background: rgba(0,0,0,0.2);
    padding: 1em 3em;
    font-size: 18px;
    border-radius: 3em;
    text-align: center;
}

.crumbs ul {
    display: flex;
    margin: 0 auto;
    padding: 0;
    justify-content: center;
    align-items: center;
    max-width: 512px;
}

.crumbs ul li {
    flex: auto;
    position: relative;
    display: inline-block;
    padding: 0 1em;
    font-weight: bold;
    color: white;
    width: 15ch;
    text-align: center;
    transition: all ease 0.3s;
}

.crumbs ul li:hover {
    color: var(--orange-hover);
    transition: all ease 0.3s;
}

.crumbs ul li.active {
    color: var(--orange-primary);
}

footer {
    padding: 5em 0;
    background: var(--dark-secondary) url("../img/bg-patterns.png") center no-repeat;
    color: var(--text-muted);
    border-top: 5px solid var(--dark-bg);
}

footer h4 {
    position: relative;
    color: var(--text-primary);
    padding-bottom: 0.5em;
}

footer h4::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--orange-primary), color-mix(in srgb, var(--orange-hover), transparent 50%));
    border-radius: 2px;
}

footer ul {
    padding: 1em 0 1em 0.5em;
}

footer ul li {
    padding: 3px 0;
}

footer p {
    line-height: normal;
    padding: 0;
    margin: 0;
    font-size: 18px;
}

footer .veteran-owned {
    background: rgba(0,0,0,0.6);
    padding: 1em 1.5em;
    border-radius: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1px;
}

footer .veteran-owned div {
    align-items: center;
    flex: 2;
}

footer .veteran-owned div:first-child,
footer .veteran-owned div:nth-child(2) {
    flex: 1;
    flex-wrap: wrap;
}

footer .veteran-owned div:last-child {
    text-align: right;
}

footer .veteran-owned img {
    height: 64px;
    margin-right: 1em;
}

.copyright {
    background: black;
    padding: 1.5em 0;
    color: var(--text-muted);
    font-size: 16px;
}

.top-hero {
    padding: 5em 0;
    text-align: center;
    width: 80%;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }

    header a, header a:visited {
        margin: 0 12px;
    }

    header > div:last-child {
        margin: 2em 0;
    }

}

@media screen and (max-width: 768px) {
    ul.navigation {
        display: block;
        margin: 0 auto;
        padding: 0;
    }

    ul.navigation li {
        font-size: 22px;
        padding: 0.3em 0.5em;
        text-align: center;
        transition: all ease 0.3s;
    }

    footer .veteran-owned {
        padding: 1em 1.5em;
        border-radius: 1em;
        display: block;
    }

    footer .veteran-owned div {
        display: block;
        padding: 0.5em 0;
    }

    footer .veteran-owned div:last-child {
        text-align: left;
        padding: 1em 0;
    }
}

.box {
    padding: 1em;
    border-radius: 0.5em;
}

.box-dark {
    background: rgba(0,0,0,0.6);
}

.box-dark-secondary {
    background: var(--dark-secondary)
}

.box-dark-tertiary {
    background: var(--dark-tertiary)
}

.section {
    padding: 3em 0;
}

.section-dark-secondary {
    background: var(--dark-secondary);
}

.section-dark-tertiary {
    background: var(--dark-tertiary);
}

/* ==========================================================================
   Animation Styles
   ========================================================================== */

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes tilt-right {
    0% {
        transform: rotateX(0);
    }
    50% {
        transform: rotateX(-3deg);
    }
    100% {
        transform: rotateX(0);
    }
}

@keyframes scroll-float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
    100% {
        transform: translateY(0);
    }
}

.anim-float {
    animation: float 4s ease-in-out infinite alternate;
}

.anim-tilt-right {
    animation: tilt-right 4s ease-in-out infinite alternate;
}

.scrolltop {
    position: fixed;
    z-index: 99999;
    bottom: 0;
    left: 50%;
    background: rgba(0,0,0,0.8);
    border-radius: 3px 3px 0 0;
    font-size: 18px;
    padding: 5px 25px;
    color: #AAA;
    cursor: pointer;
    box-shadow: #000 0 2px 3px;
    transform: translate(-50%,100%);
    transition: all ease 0.3s;
}

.scrolltop i {
    animation: scroll-float 1.5s ease-in-out infinite alternate;
    display: inline-block;
    margin-right: 3px;
}

.scrolltop:hover {
    color: white;
    transition: all ease 0.3s;
}

/* ==========================================================================
   Homepage Styles
   ========================================================================== */

.home-tagline {
    color: var(--header-primary);
    position: relative;
    padding-bottom: 30px;
}

.home-tagline::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: url('../img/tagline.svg') bottom center no-repeat;
    background-size: 100% 100%;
}

.home-service {
    padding: 1em;
    background: var(--dark-secondary);
}

.home-service h3 {
    padding: 1em 0;
    color: var(--header-primary);
    font-weight: bold;
}

.home-service p {
    min-height: 5em;
    font-weight: bold;
}

.home-service img {
    transform: translateY(0);
    rotate: 0deg;
    transition: all ease 1s;
}

.home-service:hover img {
    transform: translateY(-15px);
    rotate: -3deg;
    transition: all ease 1s;
}

.home-impact {
    text-align: center;
    background: var(--dark-secondary);
    border: 5px solid var(--dark-tertiary);
    padding: 1.5em;
    color: white;
    border-radius:  0;
    box-shadow: 0 3px 5px black;
}

.home-impact p {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    color: var(--orange-hover);
    line-height: 2em;
}

.home-impact p span {
    color: white;
}

/* ==========================================================================
   About Page Styles
   ========================================================================== */


/* ==========================================================================
   Services Page Styles
   ========================================================================== */

@keyframes services-floater {
    0% {
        transform: translateY(0);
        rotate: 0deg;
    }
    50% {
        transform: translateY(-15px);
        rotate: -3deg;
    }
    100% {
        transform: translateY(0);
        rotate: 0deg;
    }
}

@keyframes services-floater-alt {
    0% {
        transform: translateY(0);
        rotate: 0deg;
    }
    50% {
        transform: translateY(-10px);
        rotate: 3deg;
    }
    100% {
        transform: translateY(0);
        rotate: 0deg;
    }
}

.services-floater {
    animation: services-floater 4s ease-in-out infinite alternate;
}

.services-floater-alt {
    animation: services-floater-alt 4s ease-in-out infinite alternate;
}

#services-top {
    position: relative;
    padding: 0;
}

.services-bubbles {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.service-value-list {
    padding: 1em 0;
}

.service-value-list li {
    padding: 0.3em 0;
}

.service-value-list li i {
    display: inline-block;
    margin-right: 1em;
    color: var(--orange-primary)
}

/* ==========================================================================
   Infrastructure Page Styles
   ========================================================================== */

.pricing-card {
    background: rgba(0,0,0,0.6);
    padding: 1.5em;
    border-radius: 1em;
    border: 3px solid white;
}

.pricing-card h3 {
    padding: 0;
    min-height: 2lh;
}

.pricing-card p {
    min-height: 4lh;
}

.pricing-card hr {
    border: none;
    height: 2px;
    background-color: var(--orange-hover);
}

.pricing-card table {
    width: 100%;
    font-size: 18px;
}

.pricing-card table tr td:first-child {
    width: 48px;
}

.pricing-card table tr td {
    padding: 0.5em 0;
}

.pricing-card.vps {
    border-color: var(--orange-hover);
}

.pricing-card.dedicated {
    border-color: tomato;
}

/* ==========================================================================
   Application(s) Page Styles
   ========================================================================== */

/* ==========================================================================
   Quote Page Styles
   ========================================================================== */

.quote-categories {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2em 0;
    flex-wrap: wrap;
}

.quote-categories div {
    flex: 1 2 auto;
    padding: 3em 1em;
    background: rgba(0,0,0,0.6);
    border-radius: 3em;
    text-align: center;
    margin: 0.5em;
}

.quote-categories div input[type='checkbox'] {
    display: none;
}

.quote-categories div label img {
    filter: grayscale(100%);
    width: 128px;
    cursor: pointer;
    transition: all ease 0.3s;
}

.quote-categories div h3 {
    color: #444;
    font-size: 22px;
    transition: all ease 0.3s;
}

.quote-categories div input[type='checkbox']:checked ~ label img {
    filter: grayscale(0%);
    width: 128px;
    transition: all ease 0.3s;
}
.quote-categories div input[type='checkbox']:checked ~ h3 {
    color: var(--orange-hover);
}

.quote-fields label {
    color: var(--orange-hover);
}

.quote-fields input, .quote-fields textarea {
    outline: var(--orange-hover);
    display: block;
    width: 100%;
    outline: none;
    background: var(--dark-bg);
    font-size: 24px;
    color: white;
    padding: 5px 10px;
    border: 1px solid transparent;
    margin: 0.5em 0;
    border-radius: 5px;
    transition: all ease 0.3s;
}

.quote-fields input:focus,
.quote-fields textarea:focus {
    border: 1px solid var(--orange-hover);
    transition: all ease 0.3s;
}
