/* APPENDED TO BASE
-------------------------------------------------- */

/* SCAFFOLDING
-------------------------------------------------- */
.lh-md {
  line-height: 1.75;
}
.mt-n2 {
  margin-top:-0.5rem !important
}
/*.mt-n5 {
  margin-top:-3rem !important
}*/
@media (min-width: 992px) {  /* lg breakpoint */
  .mt-lg-n6 {
    margin-top: -3rem !important
  }
}
.mt-n6 {
  margin-top:-5rem !important
}
@media (min-width: 992px) {  /* lg breakpoint */
  .mt-lg-115 {
    margin-top: 115px;
  }
}
@media (min-width: 992px) {  /* lg breakpoint */
  .mb-lg-100 {
    margin-bottom: 115px;
  }
}
@media (min-width: 992px) {  /* lg breakpoint */
  .my-lg-hero {
    margin-top: 100px;
    margin-bottom: 150px;
  }
}
/* Zeroed out for text version */
.navbar-brand {
  padding-top: 0rem; 
  padding-bottom: 0rem;
}
.navbar-brand, .nav-link, .dropdown-item {
	font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
	font-optical-sizing: auto;
  font-size: 1.1rem;
	font-weight: 400;
	font-style: normal;
}
.navbar-collapse ul.nav {
    flex-direction: column;
}
/* lg breakpoint */
@media (min-width: 576px) {  
  .navbar-collapse ul.nav {
    flex-direction: row;
  }
}
@media (max-width: 576px) {
  .navbar-collapse ul.nav a.nav-link {
      padding-left: 0px;
  }
  .nav-link, .dropdown-item {
    font-size: 1.3rem;
  }
}
.navbar-nav .nav-link {
  --bs-navbar-nav-link-padding-x: 1rem;
}
[id^="section-"] {
    scroll-margin-top: 80px; /* Should match or exceed your nav height */
}

/* Bootstrap icon link effect */
.link-with-icon {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
a.link-with-icon:hover {
  text-decoration: underline;
}

.link-with-icon .bi {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

/* The hover must target the parent link, then select the child icon */
.link-with-icon:hover .bi {
  transform: translateX(5px);
}
/* Alternative bounce effect */
.link-icon-bounce {
/*  text-decoration: none;*/
  display: inline-flex;
  align-items: center;
}
a.link-icon-bounce:hover {
  text-decoration: underline;
}
.link-icon-bounce .bi {
    margin-left: 5px;
    display: inline-block;
}

.link-icon-bounce:hover .bi {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
}

.responsive-video {
  max-width: 100%;
  height: auto;
}

/* COLORS 
-------------------------------------------------- */
.lime-ricki {
  color: #cbff00;
}
.yellow-naples {
  color: #fee050;
}
.yellow-orange {
  color: #ffd300;
}
.magenta-deep {
  color: #a30190;
}

/* TYPE
-------------------------------------------------- */
body {
  font-family: "Source Serif 4", serif;
  font-size: 1.1rem;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h1, h2, h3, h4 {
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
} 

[class^=display] {
  /* font-family:"Fira Sans",sans-serif; */
  font-family: "Source Sans 3", serif;
  letter-spacing:normal
}
.display-1 {
  font-size:calc(1.675rem + 5.1vw);
  font-weight:600;
  line-height:1.15
}
@media(min-width: 1200px) {
  .display-1 {
    font-size:5.5rem
  }
}
.display-2 {
  font-size:calc(1.625rem + 4.5vw);
  font-weight:600;
  line-height:1.15
}
@media(min-width: 1200px) {
  .display-2 {
    font-size:5rem
  }
}
.display-3 {
  font-size:calc(1.575rem + 3.9vw);
  font-weight:600;
  line-height:1.15
}
@media(min-width: 1200px) {
  .display-3 {
    font-size:4.5rem
  }
}
.display-4 {
  font-size:calc(1.525rem + 3.3vw);
  font-weight:600;
  line-height:1.15
}
@media(min-width: 1200px) {
  .display-4 {
    font-size:4rem
  }
}
.display-5 {
  font-size:calc(1.475rem + 2.7vw);
  font-weight:600;
  line-height:1.15
}
@media(min-width: 1200px) {
  .display-5 {
    font-size:3.5rem
  }
}
.display-6 {
  font-size:calc(1.425rem + 2.1vw);
  font-weight:600;
  line-height:1.15
}
@media(min-width: 1200px) {
  .display-6 {
    font-size:3rem
  }
}

/* hero typewriter span */
a.typewrite { 
  color: #cbff00;
  text-decoration: none;
}
a.typewrite:hover {
    text-decoration: underline;
    color: #cbff00;
}
a.typewrite span.stem {
  display: inline-block;
  min-height: 3.5rem;
  font-size: 3.5rem;
}
span.stem {
    padding-right: .5%;
}
.hero .lead {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.4;
  color:#edf5f9;
}
.lead {
  font-weight: 350;
}
.nav-link.link-dark.active {
	text-decoration: underline;
	font-weight: 600;
}
.hero .body-link {
  color: #ffd300; /* best yellow #fee050; #ffe69c; */
  text-decoration: none;
}
.hero .body-link.cyan {
  color: #53F9FF;
  text-decoration: none;
}
.hero .body-link:hover {
  color: #fee050; /* #ffe69c */
  text-decoration: underline;
}
.hero .text-muted {
	color: #979DA1 !important;
	}
.container.marketing {
	max-width: 1140px;
}
.content-edge {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
  border-radius: 6px;
}
footer p {
	font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}

a.white, a.white:hover {
  color: #fff;
}

/* FORMS
-------------------------------------------------- */
label.form-label {
  font-weight: 600;
}
.btn:hover {
  background-color: #034cb5;
  border-color: #034cb5;
}

/* ELEMENTS
-------------------------------------------------- */
.border-light {
  border-color: rgb(0 60 161) !important;
}
.site-header {
  background-color: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.hero {
  color: #ffffff;
  background: linear-gradient(0deg, #0141a0 0%, #000341 100%);
}
.page-head {
  color: #ffffff;
}
/* zingy purple:#7c00a2; dark purple: #5b00a2 #4800a2; lighter purple:#4100a2; straight forward: #0229b4*/
#btn-back-to-top {
    z-index: 999;
    transition: all 0.3s;
    opacity: 0.7;
    border: 2px solid #fff;
}
#btn-back-to-top:hover {
    opacity: 1;
}
/* Make button circular and set dimensions */
.btn-floating {
    width: 45px;
    height: 45px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image fader */
.image-fader {
  position: relative;
  height: 300px; /* Adjust as needed */
  width: 100%;
  background: #f8f9fa; /* Bootstrap light background */
}

.fade-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.fade-image.active {
  opacity: 1;
}

/* Double underline style for definition words */
.definition-word {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: #034cb5;
  cursor: pointer;
  color: #034cb5;
  font-weight: normal;
}

.definition-word:hover {
  text-decoration-color: #0a58ca;
  color: #0a58ca;
}

/* Focus styles for accessibility */
.definition-word:focus {
  outline: 2px solid #034cb5;
  outline-offset: 2px;
  border-radius: 2px;
}
/* END Double underline style for definition words */
.popover {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Appended from carousel/index
------------------------- */
/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  /* padding-top: 3rem; */
  padding-bottom: 1rem;
  /* color: #5a5a5a; */
}
.bg-blue-dark {
  background-color: #000341;
}
.triangle-accent-container {
    display: none;
}
@media (min-width: 576px) {
  .triangle-accent-container {
    display: block;
    min-height: 80px; /* Or whatever height you need */
    width: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 4' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L100,0 L50,4 Z' fill='%23052772'/%3E%3C/svg%3E");
    background-size: 100% 100%;
  }
} 

/* STEPPED SUBNAV
-------------------------------------------------- */
.step-navigation {
    padding: 2rem 0;
}
.step-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #034cb5;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    opacity: .75;
    transition: all 0.3s ease;
}

/*.step-circle.active, .step-circle:hover {
    background-color: #034cb5;
    opacity: 1;
}*/

.step-label {
    font-size: 1rem;
    color: #034cb5;
    max-width: 120px;
}

/* Desktop: Horizontal layout with connecting lines */
@media (min-width: 768px) {
    .step-navigation-container {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        position: relative;
    }
    
    .step-item:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 25px;
        left: calc(50% + 25px);
        width: calc(100% - 50px);
        height: 2px;
        background-color: #dee2e6;
        z-index: 1;
    }
    
}

/* Mobile: Vertical list layout */
@media (max-width: 767.98px) {
    .step-navigation-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-item {
        flex-direction: row;
        align-items: center;
        text-align: left;
        justify-content: flex-start;
    }
    
    .step-circle {
        margin-bottom: 0;
        margin-right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-label {
        margin: 0;
        max-width: none;
    }
}

/* Hover effects */
.step-item:hover .step-circle {
    transform: scale(1.1);
    cursor: pointer;
    opacity: 1;
}

.step-item:hover .step-label {
    color: #034cb5;
    text-decoration: underline;
}

.step-item.completed:hover .step-label,
.step-item.active:hover .step-label {
    color: inherit;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
/* Adjusted to max- to avoid gap in header */
.carousel-item {
  max-height: 32rem;
  min-height: 12rem; /* From 20 to 12 for phones */
}

/* PAGE CONTENT
-------------------------------------------------- */
/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */

/* Adobe-inspired rich gradient */
.rich-gradient {
  background-image: linear-gradient(180deg, rgba(250 203 177 / 0%) 0%, rgba(250 203 177 / 0%) 30%, rgba(250 203 177 / 25%) 40%, rgba(250 203 177 / 60%) 50%, rgba(250 203 177 / 60%) 60%, rgba(250 203 177 / 25%) 70%, rgba(250 203 177 / 0%) 80%, rgba(250 203 177 / 0%) 100%), /*white*/ radial-gradient(circle at 90% 50%, rgba(251 59 34 / 100%) 0%, rgba(251 59 34 / 100%) 20%, rgba(251 59 34 / 0%) 60%), /*red*/ radial-gradient(circle at right 20%, rgba(71 187 106 / 100%) 0%, rgba(71 187 106 / 100%) 10%, rgba(71 187 106 / 0%) 40%), /*green*/ radial-gradient(circle at -10% 50%, rgba(255 187 11 / 100%) 0%, rgba(255 187 11 / 50%) 5%, rgba(255 187 11 / 0%) 50%), /*yellow*/ radial-gradient(circle at 5% top, rgba(0 65 160 / 100%) 0%, rgba(0 65 160 / 100%) 10%, rgba(0 65 160 / 50%) 25%, rgba(0 65 160 / 0%) 50%), /*blue*/ radial-gradient(circle at 0% 40%, rgba(255 187 11 / 100%) 0%, rgba(255 187 11 / 100%) 5%, rgba(255 187 11 / 50%) 20%, rgba(255 187 11 / 0%) 30%), /*yellow*/ radial-gradient(circle at right 70%, rgba(71 187 106 / 100%) 0%, rgba(71 187 106 / 100%) 10%, rgba(71 187 106 / 0%) 30%), /*green*/ radial-gradient(circle at 20% bottom, rgba(0 65 160 / 100%) 10%, rgba(0 65 160 / 50%) 25%, rgba(0 65 160 / 0%) 50%), /*blue*/ radial-gradient(circle at right bottom, rgba(0 169 188 / 100%) 0%, rgba(0 169 188 / 100%) 20%, rgba(0 169 188 / 0%) 40%), /*cyan*/ radial-gradient(circle at right top, rgba(0 169 188 / 100%) 0%, rgba(0 169 188 / 100%) 20%, rgba(0 169 188 / 0%) 40%), /*cyan*/ linear-gradient(#ffb90b, #ffb90b);
  background-size: cover;
}
.blue-top-green-gradient0 {
  background-size: 100% 100%;
  background-position: 0px 0px,0px 0px,0px 0px,0px 0px,0px 0px,0px 0px,0px 0px;
  background-image: linear-gradient(180deg, #000341FF 0%, #0141A0B0 31%, #ffffff00 63%),radial-gradient(60% 91% at 0% 0%, #0141A0D6 1%, #0141A0CF 32%, #FF000000 99%),radial-gradient(100% 50% at 100% 0%, #0141a0FF 1%, #0141A0B5 33%, #FF000000 99%),radial-gradient(90% 75% at 98% 30%, #10C98CFF 1%, #FF000000 99%),radial-gradient(142% 91% at -6% 74%, #10C98CFF 1%, #FF000000 99%),radial-gradient(142% 91% at 111% 84%, #0260E6FF 0%, #031B78FF 100%);
}
.blue-top-green-gradient {
  background-size: 100% 100%;
  background-position: 0px 0px,0px 0px,0px 0px,0px 0px,0px 0px,0px 0px;
  background-image: linear-gradient(180deg, #000341FF 0%, #1C2189B0 31%, #ffffff00 63%),radial-gradient(60% 91% at 100% 0%, #0141A0D6 1%, #0141A0CF 32%, #FF000000 99%),radial-gradient(100% 50% at 0% 0%, #0141a0FF 1%, #0141A0B5 33%, #FF000000 99%),radial-gradient(70% 75% at 2% 30%, #10C98CFF 1%, #FF000000 99%),radial-gradient(142% 91% at 100% 74%, #10C98CFF 1%, #FF000000 99%),radial-gradient(142% 91% at 111% 84%, #0260E6FF 0%, #031B78FF 100%);
}
.light-blue-top-green-gradient {
  background-size: 100% 100%;
  background-position: 0px 0px,0px 0px,0px 0px,0px 0px,0px 0px,0px 0px;
  background-image: linear-gradient(180deg, #0141a0FF 0%, #1C2189B0 31%, #ffffff00 63%),radial-gradient(60% 91% at 100% 0%, #0141A0D6 1%, #0141A0CF 32%, #FF000000 99%),radial-gradient(100% 50% at 0% 0%, #0141a0FF 1%, #0141A0B5 33%, #FF000000 99%),radial-gradient(70% 75% at 2% 30%, #10C98CFF 1%, #FF000000 99%),radial-gradient(142% 91% at 100% 74%, #10C98CFF 1%, #FF000000 99%),radial-gradient(142% 91% at 111% 84%, #0260E6FF 0%, #031B78FF 100%);
}
/* Callout box with left bar
------------------------- */
.container-callout {
  padding: 1.5em;
  margin-bottom: 30px;
}
.container-callout:before {
  content: "";
  display: table;
  clear: both;
}
.callout-leftbar-blue {
  border-left: 6px solid #ccc !important;
  border-left-color: rgb(204, 204, 204);
  border-color: #0141a0 !important;
  background-color: #e8f1fe !important;
}
.callout-leftbar-magenta {
  border-left: 6px solid #ccc !important;
  border-left-color: rgb(204, 204, 204);
  border-color: #a30190 !important;
  background-color: #fff0fd !important;
}
.callout-leftbar-green {
  border-left: 6px solid #ccc !important;
  border-left-color: rgb(204, 204, 204);
  border-color: #02b198 !important;
  background-color: #eaf8f6 !important;
}

/* Callout box with triangle
------------------------- */
.callout-with-triangle {
  position: relative;
  width: 100%;
  height: 100%; /* This height can be variable */
  padding: 1.5em 1.5em;
  margin-bottom: 30px;
  border-left: 6px solid transparent;
  background-color: transparent;
}
.callout-with-triangle.blue {
  border-left: 6px solid #0141a0;
  background-color: #e8f1fe;
}
.callout-with-triangle.magenta-deep-accent {
  border-left: 6px solid #a30190;
  background-color: #fff0fd;
}
.callout-with-triangle:before {  
  content: "";
  position: absolute;
  left: 0; /* Position at the right edge of the box */
  top: 0;
  bottom: 0;
  width: 6px; /* The width/depth of the triangle */
  background-color: transparent; /* The color of the triangle */
  clip-path: none; /* Defines the right-pointing triangle */
}
.callout-with-triangle.blue:before {  
  background-color: #0141a0; /* The color of the triangle */
}
.callout-with-triangle.magenta-deep-accent:before {  
  background-color: #a30190; /* The color of the triangle */
}
@media (min-width: 40em) {
  .callout-with-triangle {
    padding: 1.5em 2.8em;
  }
  .callout-with-triangle:before {
    width: 25px; /* The width/depth of the triangle */
    clip-path: polygon(0 0, 100% 50%, 0 100%); /* Defines the right-pointing triangle */
  }
}
@media (min-width: 62em) {
  .callout-with-triangle {
    padding: 1.5em 2.8em;
  }
  .callout-with-triangle:before {
    width: 25px; /* The width/depth of the triangle */
    clip-path: polygon(0 0, 100% 50%, 0 100%); /* Defines the right-pointing triangle */
  }
}


/* Featurettes
------------------------- */

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

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

/* Thin out the marketing headings */
.featurette-heading {
  letter-spacing: -.05rem;
}

.featurette-category {
  display: block;
  font-size: .5em;
  color: #ae019a; /* #6c757d */
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 20em) {
  .featurette-heading {
    font-size:  2.2rem;
  }
  .featurette-category {
    font-size: 1.6rem;
  }
  .lead {
/*    font-size: 1.1rem;*/
  }
  .carousel {
  margin-bottom: 1rem;
  }
}

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }
  .featurette-heading {
    font-size:  3.1rem;
  }
  .featurette-category {
    font-size: .5em;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
/*    margin-top: 4rem;*/
  }
}

/* Carousel experiment */

div.carousel-nav-icon > svg {
    height: 48px;
    width: 48px;
}

html[data-bs-theme="dark"] div.carousel-nav-icon > svg {
    fill: #FFF !important;
}

@media (max-width: 767px) {
    .carousel-inner .carousel-item > div {
        display: none;
    }
    .carousel-inner .carousel-item > div:first-child {
        display: block;
    }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
}

/* medium and up screens */
@media (min-width: 768px) {

    .carousel-inner .carousel-item-end.active,
    .carousel-inner .carousel-item-next {
        transform: translateX(33%);
    }

    .carousel-inner .carousel-item-start.active, 
    .carousel-inner .carousel-item-prev {
        transform: translateX(-33%);
    }
}

.carousel-inner .carousel-item-end,
.carousel-inner .carousel-item-start { 
    transform: translateX(0);
}

/* Nothing below this point is needed. */
.dark-mode-toggle {
    bottom: 3%;
    right: 3%;
    z-index: 10;
}
.dark-mode-toggle,
.dark-mode-toggle > *, 
.dark-mode-toggle > * > * {
    cursor: pointer;
}
