    body { font-family: 'Inter', sans-serif; }
    .logo { font-weight: 600; font-size: 1.125rem; }
    .hero {
      background: linear-gradient(135deg,#1f5eff 0%,#5490ff 100%);
      color: #fff;
      padding: 6rem 1rem 5rem;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: .75rem; }
    .hero p { font-size: 1.25rem; font-weight: 300; margin-bottom: 2rem; max-width: 600px; margin-inline: auto; }
    .icon { font-size: 2rem; line-height: 1; }
    .library-card:hover { box-shadow: 0 4px 10px rgba(0,0,0,.08); transform: translateY(-2px); }
    .copyright { color: #6b7280; margin-top: 2.5rem; font-size: .875rem; }

    /* Custom nav underline styles */
    .navbar-nav .nav-link {
      position: relative;
      display: inline-block;
      padding-bottom: 0.25rem;
      transition: color 0.2s;
    }
    .navbar-nav .nav-link.active {
      font-weight: 600;
    }
    .navbar-nav .nav-link.active::after {
      content: '';
      display: block;
      height: 3px;
      width: 100%;
      border-radius: 2px;
      margin-top: 2px;
      background: linear-gradient(to bottom, #1e73be, #f9f9f9);
      transition: width 0.3s;
    }
    .navbar-nav .nav-link:not(.active)::after {
      content: '';
      display: block;
      height: 3px;
      width: 0;
      border-radius: 2px;
      margin-top: 2px;
      background: linear-gradient(to bottom, #1e73be, #f9f9f9);
      transition: width 0.3s;
    }
    .navbar-nav .nav-link:not(.active):hover::after,
    .navbar-nav .nav-link:not(.active):focus::after {
      width: 100%;
    }
    /* Library card fixed square size */
    .library-card-square {
      width: 200px;
      height: 200px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin: 0 auto;
    }
    .library-card .card-body {
      position: relative;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .library-browse-link {
      position: absolute;
      left: 10px;
      bottom: 10px;
      margin: 0;
      font-size: 1rem;
      color: #0d6efd;
      text-decoration: underline;
      font-weight: 500;
      background: none;
      border: none;
      padding: 0;
      cursor: pointer;
    }
    .library-browse-link:hover, .library-browse-link:focus {
      color: #0a58ca;
      text-decoration: underline;
    }
    .library-card-icon {
      position: absolute;
      top: 10px;
      left: 10px;
      font-size: 1.7rem;
      color: #0d6efd;
    }


    .services__item__card__pattern {
    background-image: url(../images/pattern.png);
    background-position: 50%;
    background-repeat: repeat;
    background-size: 300px 600px;
    height: 100%;
    inset: 0;
    opacity: .8;
    pointer-events: none;
    position: absolute;
    transition: opacity .7s cubic-bezier(0.51,0,0,1);
    width: 100%;
}

@media (min-width: 1440px) {
    .services__item__card {
        min-height: 20vw;
    }
}
@media (min-width: 1280px) {
    .services__item__card {
        padding: 28px;
    }
}
@media (min-width: 768px) {
    .services__item__card {
        min-height: 33vw;
        padding: 1.5rem;
    }
}
@media (min-width: 430px) {
    .services__item__card {
        min-height: 50vw;
    }
}
.services__item__card {
    border-radius: 15px;
    color: #193c5e;
    display: -ms-flexbox;
    display: flex
;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
    min-height: 1vw;
    padding: 16px;
    position: relative;
    width: 100%;
    padding: 15px;
}

.services__item__card:focus-visible:before, .services__item__card:focus:before, .services__item__card:hover:before {
    opacity: 0;
}

.services__item__card:hover {
  color: #fff;
}

.services__item__card:after {
    background: linear-gradient(180deg, #dae9ff, #008656);
    opacity: 0;
    z-index: -2;
}

.services__item__card:after, .services__item__card:before {
    border-radius: 10px;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: opacity .7s cubic-bezier(0.51,0,0,1);
    width: 100%;
    height: 280px;
}
.services__item__card:before {
    background: linear-gradient(180deg, #dae9ff, rgba(218, 233, 255, .2));
    opacity: 1;
    z-index: -1;
}

.services__item__card:focus-visible:after, .services__item__card:focus:after, .services__item__card:hover:after {
    opacity: 1;
}

.services__item__card:after {
    background: linear-gradient(180deg, #dae9ff, #1f5eff);
    opacity: 0;
    z-index: -2;
}
.services__item__card:after, .services__item__card:before {
    border-radius: 10px;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: opacity .7s cubic-bezier(0.51,0,0,1);
}


@media (min-width: 1280px) {
    .services__item {
        width: calc(20% - 28px * 4 / 5);
    }
}
@media (min-width: 768px) {
    .services__item {
        width: calc(33.33% - 28px * 2 / 3);
    }
}
@media (min-width: 430px) {
    .services__item {
        width: calc(50% - 16px * 1 / 2);
    }
}
.services__item {
    position: relative;
    width: 100%;
    margin: 4px;
    height: 280px;
}
@media (min-width: 430px) {
    .services__item {
        width: calc(50% - 8px);
    }
}
@media (min-width: 768px) {
    .services__item {
        width: calc(33.333% - 11px);
    }
}
@media (min-width: 1280px) {
    .services__item {
        width: calc(20% - 22px);
    }
}
.services__list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}
.page-id-150 menu, .page-id-150 ol, .page-id-150 ul {
    list-style: none;
}
  .services__item {
    position: relative;
  }
  .change-me {
    position: absolute;
    left: 15px;
    bottom: 15px;
    margin: 0;
    z-index: 2;
  }
  .services__item__card {
    position: relative;
    height: 100%;
    text-decoration: none;
  }
  .services__item__card-button {
    position: relative;
    display: inline-block;
  }

  .services__item__card-button:not(hover) span {
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .services__item__card-button span {
    position: relative;
    z-index: 1;
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(to right, #fff 100%, #fff 100%);
    background-repeat: no-repeat;
    background-size: 0% 1px;
    background-position: left bottom;
    transition: background-size 0.6s cubic-bezier(0.51,0,0,1), color 0.6s cubic-bezier(0.51,0,0,1);
  }

  .services__item__card:hover .services__item__card-button span,
  .services__item__card:focus .services__item__card-button span {
    color: #fff !important;
    background-size: 100% 1px !important;
  }
  /* Add this CSS for the image wrapper */
  .library-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
  }
  .library-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
  }

  p:has(> a.btn.btn-outline-primary) {
    margin-bottom: 0px;
  }


  .edd-form.custom-login {
  max-width: 400px;
  margin: 0 auto;
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 12px;
}
.edd-form.custom-login .form-group {
  margin-bottom: 1rem;
}
.edd-form.custom-login label {
  display: block;
  font-weight: 600;
  margin-bottom: .3rem;
}
.edd-form.custom-login .form-control {
  width: 100%;
  padding: .5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.edd-form.custom-login .form-actions {
  margin-top: 1.5rem;
}
.edd-form.custom-login .login-btn {
  background: #0073aa;
  color: #fff;
  padding: .6rem 1.2rem;
  border-radius: 6px;
  border: none;
}
.edd-form.custom-login .login-btn:hover {
  background: #005d8c;
}
