:root {
    --bg-light: #e5f4ff;
    --bg-mid: #c1e5ff;
    --bg-dark: #020283;
    --text-blue: #020283;
    --highlight-yellow: #fff500;
    --highlight-pink: #ff00e2;

    --tl-line-left: 60px;
    --tl-indent: 90px;
    --tl-dot-size: 32px;
    --tl-line-width: 2px;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text-blue);
    overflow-x: hidden;
}

.carousel {
    overflow: hidden;
}

.carousel-inner {
    overflow: hidden;
}

.navbar {
    background-color: var(--bg-mid);
}

h1, h2, h3, h4, h5 {
    font-family: "Barlow", sans-serif;
    line-height: 1em;
}

h1 {
    font-weight: 800;
    font-size: 3.5em;
    text-transform: uppercase;
}

h2 {
    font-weight: 800;
    font-size: 3em;
    text-transform: uppercase;
}

h4 {
    font-weight: 750;
    font-size: 1.5em;
    text-transform: uppercase;
}

.carousel h2 {
    text-transform: none;
    font-size: 2.8em;
}

.mission {
    font-weight: 500;
    font-size: 1.8em;
    line-height: 1.2em;
}

.mission2 {
    font-weight: 400;
    font-size: 1.3em;
    line-height: 1.2em;
}

a {
    font-weight: bold;
    color: var(--text-blue);
}

.card a {
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 3px solid var(--highlight-pink);
}

.container {
    max-width: 900px;
}

.container-wide {
    max-width: 1000px;
}

.row-light {
    background-color: var(--bg-light);
    color: var(--text-blue);
}

.row-white {
    background-color: #ffffff;
    color: var(--text-blue);
}

.row-mid {
    background-color: var(--bg-mid);
    color: var(--text-blue);
}

.row-dark {
    background-color: var(--bg-dark);
    color: white;
}

.row-dark a {
    color: white;
}

.row-highlight {
    background-color: var(--highlight-yellow);
    color: var(--text-blue);
}

.card, .card-body {
    background-color: transparent;
    border: 0px;
    color: var(--text-blue);
}

.card-body {
    padding-left: 0px;
    padding-right: 0px;
}

.newsletter {
    text-transform: uppercase;
    font-size: 1.3em;
    font-weight: bold;
}

.btn-newsletter, .btn-newsletter:hover {
    background-color: var(--highlight-yellow);
    color: var(--text-blue) !important;
    border-radius: 0px;
}

.btn-cta {
    display: inline-block;
    background-color: var(--bg-dark);
    color: #ffffff !important;
    border-radius: 2rem;
    padding: 1rem 1.5rem;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
}

.btn-cta:hover {
    background-color: var(--highlight-yellow);
    color: var(--text-blue) !important;
}

.form-group.required {
    display: flex;
    gap: 0;
}

.form-group.required input[type="email"] {
    flex: 1;
    border-radius: 0;
    border-right: none;
    border: 0px;
    width: 240px;
    background-color: var(--bg-light);
}

.form-group.required button {
    flex: 0 0 auto;
    border-radius: 0;
    border: 0px;
    border-left: none;
    background-color: var(--highlight-yellow);
    color: var(--text-blue);
    font-weight: bold;
    padding: 0.5rem 1rem;
    cursor: pointer;
    width: 150px;
}

.form-group.required button:hover {
    background-color: var(--highlight-yellow);
}

.logos .card-img-top {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#join h2 {
    font-size: 2em;
}

.pt-6, .py-6 {
    padding-top: 6rem !important;
}

.pr-6, .px-6 {
    padding-right: 6rem !important;
}

.pb-6, .py-6 {
    padding-bottom: 6rem !important;
}

.pl-6, .px-6 {
    padding-left: 6rem !important;
}

.pt-7, .py-7 {
    padding-top: 7rem !important;
}

.pr-7, .px-7 {
    padding-right: 7rem !important;
}

.pb-7, .py-7 {
    padding-bottom: 7rem !important;
}

.pl-7, .px-7 {
    padding-left: 7rem !important;
}


.pt-8, .py-8 {
    padding-top: 8rem !important;
}

.pr-8, .px-8 {
    padding-right: 8rem !important;
}

.pb-8, .py-8 {
    padding-bottom: 8rem !important;
}

.pl-8, .px-8 {
    padding-left: 8rem !important;
}

.timeline-section {
    position: relative;
    background-image: url('../images/05_timeline.svg');
    background-repeat: no-repeat;
    background-position: 0px center;
    background-size: auto 100%;
    min-height: 200px;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 60px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--text-blue);
}

.timeline-item {
    position: relative;
    padding-left: var(--tl-indent);
    margin-bottom: 3.5rem;
}

.timeline-item h3 {
    position: relative;
}

.timeline-item h3::before {
    content: "";
    position: absolute;
    left: calc(var(--tl-line-left) - var(--tl-indent) - (var(--tl-dot-size) / 2));
    top: 50%;
    transform: translateY(-50%);
    width: var(--tl-dot-size);
    height: var(--tl-dot-size);
    background-color: #ffffff;
    border-radius: 50%;
    border: 4px solid var(--text-blue);
    box-sizing: border-box;
}

.timeline-item.is-active h3::before {
    background-color: var(--highlight-yellow);
}

@media (min-width: 768px) {
    :root {
        --tl-indent: 120px;
    }

    .timeline-item {
        padding-right: 80px;
    }

    .navbar .navbar-nav {
        gap: 3rem;
    }
}

.flip-cards-container {
    margin-top: 2rem;
}

.fish-card {
    perspective: 1000px;
    margin-bottom: 0.7rem;
    height: 140px;
}

.fish-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.fish-card.flipped .fish-card-inner {
    transform: rotateY(180deg);
}

.fish-card-front, .fish-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}

.fish-card-back {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

.fish-card-front {
    background: var(--bg-light);
}

.fish-card-back {
    background: var(--bg-dark);
    color: white;
    transform: rotateY(180deg);
}

.fish-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin-bottom: 0.2rem;
}

.fish-card-back p {
    margin: 0.4rem 0;
    font-size: 0.75em;
    line-height: 1.3;
    color: white;
}

.fish-card-back strong {
    font-weight: bold;
    color: white;
}

.fish-card-back a {
    color: white;
    text-decoration: underline;
    font-weight: bold;
}

.fish-card-back a:hover {
    color: white;
    opacity: 0.8;
}

.flip-cards-container .row {
    margin: 0 -0.35rem;
}

.flip-cards-container .row > [class*="col-"] {
    padding: 0 0.35rem;
}

button {
    background-color: var(--highlight-yellow);
    color: var(--text-blue);
}

.resource-page h3 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.nav-link {
    color: var(--text-blue);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    gap: 0.75rem;
}

.navbar-toggler {
    border-color: var(--text-blue);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(2, 2, 131, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23020283' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar .nav-link,
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link:active {
    color: var(--text-blue) !important;
}

.navbar .nav-link {
    position: relative;
    text-decoration: none;
}

.navbar .nav-link:not(.dropdown-toggle)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 8px;
    background-color: var(--highlight-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.navbar .nav-link:not(.dropdown-toggle):hover::after {
    transform: scaleX(1);
}

.navbar .nav-link:not(.dropdown-toggle):not(:hover)::after {
    transition: none;
}

/* Remove blue border/outline on dropdown toggle */
.navbar .nav-link.dropdown-toggle:focus,
.navbar .nav-link.dropdown-toggle:active,
.navbar .nav-link.dropdown-toggle:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    text-decoration: none !important;
}

.hero-inner {
    padding-top: 70px;
    padding-bottom: 60px;
}

.hero-logos {
    display: flex;
    align-items: center;
    margin: 1rem 0 0.5rem;
}

.hero-logo-item {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logos img {
    display: block;
}

.hero-note {
    font-size: 0.85rem;
    line-height: 1.4;
    font-weight: 500;
    padding-top: 3%;
    padding-bottom: 1%;
}

.benefits-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.benefits-list li::marker {
    content: none;
}

.benefits-list2 {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.benefits-list2 li::marker {
    content: none;
}

.benefits-list2 li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.team-photo {
  max-width: 140px;
}

.edna-footer{
  background:#eaf4ff;
}

.edna-footer__grid{
  display:grid;
  grid-template-columns: 1fr 1.6fr;
  column-gap: 4rem;
  align-items:start;
}

.edna-footer__logo{
  width:100%;
  max-width:560px;
  height:auto;
  display:block;
}

.edna-footer__right{
  display:grid;
  row-gap: 1.4rem;
}

.edna-footer__top{
  display:flex;
  flex-direction:column;
  gap:.75rem;
}

.edna-footer__kicker{
  font-family:"Barlow",sans-serif;
  font-weight:800;
  text-transform:uppercase;
  line-height:1;
  font-size:1.5rem;
}

.edna-footer__input-group{
  display:flex;
  width:100%;
}

.edna-footer__input{
  flex:1;
  height:56px;
  border:2px solid rgba(11,31,106,.15);
  border-right:0;
  border-radius:0;
  background:#fff;
  padding:0 .9rem;
  font-size:1rem;
}

.edna-footer__button{
  height:56px;
  border:2px solid #ffeb3b;
  border-radius:0;
  background:#ffeb3b;
  font-weight:700;
  padding:0 2rem;
  color:var(--text-blue);
  cursor:pointer;
  transition:none;
}

.edna-footer__button:hover,
.edna-footer__button:focus,
.edna-footer__button:active{
  background:#ffeb3b;
  border-color:#ffeb3b;
  color:var(--text-blue);
}

.edna-footer__desc{
  max-width: 90ch;
  font-size:0.7rem;
  line-height:1.45;
  font-weight:500;
}

.edna-footer__logos3{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
}

.edna-footer__footer-logo{
  max-height:70px;
  width:auto;
  object-fit:contain;
  display:block;
}

.edna-footer__footer-logo--powered{
  max-height:64px;
}

.edna-footer__footer-logo--decade{
  max-height: 100px;
}

@media (max-width: 991.98px){
  .edna-footer__grid{
    grid-template-columns:1fr;
    row-gap:2rem;
  }

  .edna-footer__logos3{
    flex-direction:column;
    align-items:flex-start;
    gap:1.25rem;
  }

  .edna-footer__bottom{
    grid-template-columns:1fr;
    row-gap:1rem;
  }
}

input {
    border: 0px !important;
}




