/* Nav styles */

html {
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

.nav-link {
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  font-size: 18px;
}

.nav-link:hover {
  border-bottom: 2px solid var(--third-color);
}

.first-nav-button {
  background-image: linear-gradient(316deg, #9fe7e2 0%, #6fdad3 74%);
}

.home:hover {
  transform: scale(1.01);
}

.webpage {
  background-color: #f3faf7;
}

.button-shape-nav {
  border-radius: 15px;
  padding: 7px;
  margin: 3px;
}

.nav-background {
  background-color: #eaf7f6 !important;
}

.logo {
  width: auto;
  height: 100px;
}

/* =========================
   LOADING STYLES
========================= */

.centered {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 105vw;
  height: 105vh;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  z-index: 19999;
  transform: translate(-50%, -50%);
  background: #000;
  filter: blur(10px) contrast(20);
}

.blob-1,
.blob-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  background: #f5eded;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.blob-1 {
  left: 20%;
  animation: osc-l 2.5s ease infinite;
}

.blob-2 {
  left: 80%;
  background: #3bbfb8;
  animation: osc-r 2.5s ease infinite;
}

@keyframes osc-l {
  0% { left: 20%; }
  50% { left: 50%; }
  100% { left: 20%; }
}

@keyframes osc-r {
  0% { left: 80%; }
  50% { left: 50%; }
  100% { left: 80%; }
}

/* Footer Styles */

.footer {
  background: #ddf2f1;
  border-top: 1px solid rgba(42, 167, 160, 0.25);
  color: #12323a;
  font-size: 17px;
}

.footerTop {
  align-items: flex-start;
}

.footerColAbout {
  text-align: left;
}

.footerColLinks {
  text-align: center;
}

.footerColLinks .footerLinks {
  display: inline-block;
  text-align: left;
}

.footerLogo {
  height: 80px;
  width: auto;
  display: block;
  margin: 0 0 12px 0;
}

.footerAbout {
  max-width: 340px;
}

.footerText {
  color: #355f66;
  line-height: 2;
  margin: 0;
}

.footerTitle {
  font-weight: 700;
  margin: 0 0 14px 0;
}

.footerLinks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footerLinks li {
  margin-bottom: 8px;
}

.footerLinks a {
  color: #355f66;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footerLinks a {
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footerLinks a:hover {
  color: #2aa7a0;
  transform: translateX(4px);
}


.footerContactLine {
  display: block;
  margin-bottom: 8px;
}

.feedbackFormFooter {
  color: #355f66;
  text-decoration: underline;
}

.feedbackFormFooter:hover {
  color: #2aa7a0;
}

.footerDivider {
  margin: 28px 0 16px;
  border-color: rgba(42, 167, 160, 0.25);
}

.footerBottom {
  font-size: 22px;
}

/* Responsivity */

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
  height: auto;
}

a,
.resourceCardLink,
.resourceLink {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.websiteRow,
.formatCard,
.heroContent,
.cardBody {
  min-width: 0;
}

.websiteRow a,
.formatCard a,
.resourcesLinks a {
  max-width: 100%;
}

.callButton,
.addressFormat {
  max-width: 100%;
  white-space: normal;
}

/* NAV responsive */
@media (max-width: 992px) {
  .logo {
    height: 76px;
  }

  .button-shape-nav {
    padding: 6px 10px;
  }

  .nav-link {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .logo {
    height: 64px;
  }

  .nav-link {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .footerTop > .footerColAbout,
  .footerTop > .footerColLinks,
  .footerTop > .footerColContact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footerAbout {
    margin: 0 auto;
    max-width: 520px;
  }

  .footerText {
    text-align: center;
  }

  .footerLogo {
    margin: 0 auto 12px;
  }

  .footerLinks {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px; 
  }

  .footerLinks li {
    margin-bottom: 0;
    text-align: center;
  }

  .footerLinks a:hover {
    transform: none;
  }

  .footerContactLine {
    text-align: center;
  }
}

