body {
    font-family: "Archivo", sans-serif;
    font-weight: 400;
    font-style: normal;
}
h3 {
    font-family: "Archivo", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 1.5rem;
}
h2 {
  font-family: "Archivo", sans-serif;
  font-style: normal;
  font-weight: bold;
}
h1, strong {
    font-family: "Archivo", sans-serif;
    font-weight: 700;
    font-style: normal;
}
h5 {
  padding-bottom: 10px;
}
.custom-icon {
    color: #9ecbcf;
    font-size: 28px; 
}
.custom-btn {
    color: #9ecbcf;
    border: 1px solid #9ecbcf;
}
.custom-search-btn {
    color: #9ecbcf;
    border: none;
    font-size: 28px; 
    font-weight: 900;
 
}
.custom-search-btn:hover, 
.custom-search-btn:active, 
.custom-search-btn:focus, 
.custom-search-btn:focus-within,
.custom-search-btn:focus-visible,
.custom-search-btn:target {
    background-color: #FFF;
}

.custom-search-btn:first-child:active {
    background-color: #FFF;
}
 .search-box:focus{
    border-color: #599397;
    box-shadow: 0 0 0 .25rem rgba(89, 147, 151, .25); 

}
.custom-footer {
    background-color: #599397;
    border-top: 15px solid #9ec9cf;
}
footer p{
    font-size: 18px;
    line-height: 1.2;
}
.bg-custom {
    background-color: #599397 !important;
}
.nav-link {
    font-size: 1.45rem;
    color:#FFF
}
.bg-alt-lite {
    background-color: #e7f3f3;
}
.bg-alt-dark {
    background-color: #9ec9cf;
}

.learn-banner h1 {
    position: relative; /* Needed for the pseudo-element positioning */
    display: inline-block; /* Makes the h2 only as wide as its content */
    margin-bottom: 44px;
    color: #FFF;
    padding-top: 160px;
}
@media (max-width: 768px) {
  .learn-banner h1 {
    padding-top: 10px;
  }
}

.learn-banner h1::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 150px;
  height: 5px;
  background-color: #3b5c5f; /* Start with a darker shade */
  animation: fadeToLight 1.5s ease-out forwards;
}

@keyframes fadeToLight {
  from {
      background-color: #3b5c5f; /* Darker tone */
  }
  to {
      background-color: #cfe4e7; /* Final light color */
  }
}
.learn-banner h2 {
    position: relative; /* Needed for the pseudo-element positioning */
    display: inline-block; /* Makes the h2 only as wide as its content */
    margin-bottom: 50px;
}
h2 {
    position: relative;
    display: inline-block;
}
h2::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 150px;
  height: 5px;
  background-color: #b3d4d6; /* Starting light color */
  animation: barColorFade 2s ease-out forwards;
}

/* Animation from light to dark */
@keyframes barColorFade {
  from {
      background-color: #b3d4d6; /* Light version of #599397 */
  }
  to {
      background-color: #599397; /* Final color */
  }
}

.learn-banner h3 {
    color: #599397;
}

.post-text a {
    text-decoration: none;
    color: #599397;
}
.post-title a {
    text-decoration: none;
    color: #000;
}
.card-img-top {
    max-height: 410px;      /* Sets maximum height */
    width: 100%;           /* Ensures it fills card width */
    object-fit: cover;     /* Crops to fit while preserving aspect ratio */
}

.custom-title {
    background-color: #eff7f9;
    color: #589296;
    padding: 10px; /* Optional: adds some space around the text */
    margin-bottom: 30px;

}

/* Override button styles */
.btn {
    --bs-btn-border-radius: 1rem; /* More rounded corners */
    color: #000000; /* Black text for all buttons */
  }

  /* Ensure primary button text stays black on hover/focus */
  .btn-primary {
    --bs-btn-hover-color: #000000;
    --bs-btn-active-color: #000000;
  }

  /* Ensure outline-secondary button text stays black on hover/focus */
  .btn-outline-secondary {
    --bs-btn-hover-color: #000000;
    --bs-btn-active-color: #000000;
  }

.app-blog .btn.active  {
    background-color: #589296;
    color: #fff;  
}

.newsletter_button {
    color: #589296;
    padding: 13px;
}

/* a.newsletter_button:hover {
    color: #9ec9cf;
} */

.newsletter_button:hover {
    background-color: #9ec9cf; 
    color: #fff; 
    border-color: #9ec9cf; 
    transform: scale(1.03); 
    transition: all 0.2s ease-in-out;
}

a .custom-icon:hover {
    color: #9ec9cf; 
    transform: scale(1.1); 
    transition: all 0.2s ease-in-out;
}  
.custom-icon-color {
    color: #589296;
}
.custom-icon-color:hover {
    transform: scale(1.1); 
    transition: all 0.2s ease-in-out; 
    background-color: #FFF;   
}
.search-box {
    transition: all 0.3s ease;
    position:absolute;
    right:0;
    border-color: #589296;
    color:#589296;
  }
  .search-box:active, .search-box:focus {

    border-color: #589296;

  }  
  .navbar-nav .nav-item {
    margin-left: 1.5rem; /* Adjust as needed */
  }  


.row.equal-col {
    display: flex;
    flex-wrap: wrap;    
}  
.row.equal-col {
    display: flex;
    flex-wrap: wrap;
  }
  
  .row.equal-col > [class^="col-"] {
    display: flex;
    flex-direction: column;
  }
  
  .row.equal-col .post {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .blog-featured-posts {
    padding-top: 30px;
  }
  .map-button {
    background-color: transparent;
    --bs-btn-border-color: #000;
  }

  .map-button:hover {
    background-color: transparent;
    border-color: #000;    
  }
  .educator-button {
    background-color: transparent;
    --bs-btn-border-color: #000;
  }

  .educator-button:hover {
    background-color: transparent;
    border-color: #000;    
  }  
  .internal-title {
    position: relative;
    height: 250px;
  }

  .internal-title h1{
    position: absolute;
    bottom: 30px;
    margin: 0;
    color:#FFF;
    font-size: 3.5rem;
  }

  .internal-title h1::after {
    content: ''; /* Required for pseudo-element to appear */
    position: absolute;
    bottom: -20px; /* Adjusts position below the h2 */
    left: 0; /* Starts from left edge */
    width: 100px;
    height: 5px;
    background-color: #cfe4e8;

}
.nav-link.active {
  font-weight: bold;
}
  .blog-visual {
    position: relative;
    display: inline-block;
    padding-left: 10px; /* Width of left shadow */
    padding-bottom: 10px; /* Height of bottom shadow */
}

.blog-visual::after {
    content: '';
    position: absolute;
    z-index: 0;
    background-color: rgba(158, 201, 207, 1); /* Solid shadow color */
    
    /* Position and size the shadow to appear outside */
    top: 15px;
    left: 0;
    width: 10px; /* consistent left shadow width */
    height: calc(100% - 15px); /* from 15px below top to bottom */
}

.blog-visual::before {
    content: '';
    position: absolute;
    z-index: 0;
    background-color: rgba(158, 201, 207, 1); /* Solid shadow color */
    
    /* Position and size bottom shadow */
    bottom: 0;
    left: 10px;
    width: calc(100% - 25px); /* reduce width by 15px to stop short of right edge */
    height: 10px; /* height of bottom shadow */
}

.blog-visual img {
    position: relative;
    z-index: 1;
    display: block;
}

.page-link {
    border:none;
    color: #000;
}
span.page-link.current:hover {
    background-color: #FFF;
    color: #000;    
}

 a.page-link{
    color: #589296;
}
.pagination a:hover, .pagination a:active, .page-link:focus {
    color: #589296;
    text-decoration: underline;
    background-color: #FFF;
}
.btn-outline-secondary:hover {
    background-color: #589296;
    color: #fff;    
}
.tag-button, .tag-button:hover{
  background-color: #cfe4e7;
  border-color: #cfe4e7;
  cursor: default;
  color: #000;
}

.image-container img {
    transition: transform 0.6s ease; /* smooth transition */
}
.image-container:hover img {
    transform: scale(1.0125); /* zoom in */
}
.newsletter_button {
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
    z-index: 0;
  }
  
  .newsletter_button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #599397;
    transition: left 0.5s ease;
    z-index: -1;
  }
  
  .newsletter_button:hover::before {
    left: 0;
  }
  
  .newsletter_button:hover {
    color: #fff;
  }
  .map-button {
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
    z-index: 0;
    margin-top: 100px;
  }
  
  .map-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #599397;
    transition: left 0.5s ease;
    z-index: -1;
  }
  
  .map-button:hover::before {
    left: 0;
  }
  
  .map-button:hover {
    color: #fff;
  }


  .educator-button {
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
    z-index: 0;
    margin-top: 40px;
  }
  
  .educator-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #599397;
    transition: left 0.5s ease;
    z-index: -1;
  }
  
  .educator-button:hover::before {
    left: 0;
  }
  
  .educator-button:hover {
    color: #fff;
  }


  .post-text a i {
    transition: transform 0.2s ease;
    color: #599397;
  }
  
  .post-text a:hover i {
    transform: translateX(4px);
  }

/* Default: show the bar */
.toggle-heading::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 4px;
  background-color: #589296;
  margin: 0 15px 5px 15px;
}

/* Collapsed state: show + instead */
a.collapsed .toggle-heading::after {
  content: "+";
  width: auto;
  height: auto;
  background-color: transparent;
  margin: 0;
  font-weight: bold;
  display: inline;
}
.blog-image {
  border: 1px solid #bbb;
}
.align-images {
  margin: 0 auto;
}  
.btn-primary {
  background-color: #599397;
  border: #599397;
  color: #FFF;
}
.btn-primary:hover {
  background-color: #cfe4e7;
}
h5 a {
  color: #599397;
}
h5 a:hover {
  color: #9ec9cf
}

p a {
  color: #589296;
  text-decoration: none
}
p a:hover {
  color: #9ec9cf;
}
.g-recaptcha {
    margin-bottom: 10px;
}

.header-logo {
    max-width: 85%;
    height: auto;
}
code, kbd, pre, samp {
    font-family: "Archivo", sans-serif;
    font-size: 1.5rem;
}
#pd-wages a {
    color: #589296;
    text-decoration: none;
}
.dropdown-hover:hover .dropdown-menu {
    display: block;
}

.dropdown-menu .nav-link {
    color: var(--bs-nav-link-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    text-align: center;
}

.dropdown-menu .nav-link:hover {
    color: var(--bs-nav-link-hover-color);
    background-color: var(--bs-nav-link-hover-bg, rgba(0, 0, 0, 0.04));
}

.dropdown-menu .nav-link.active {
    color: var(--bs-nav-link-active-color, var(--bs-emphasis-color));
    background-color: var(--bs-nav-link-active-bg, transparent);
}
a.dropdown-item {
    font-size: 1.45rem;
    color: #FFF;
    background-color: #599397 !important;

}
a.dropdown-item:hover {
    color: var(--bs-nav-link-hover-color);
}
.dropdown-menu {
    background-color: #599397;
    position: relative; 
    left: -8px;
}
.dropdown-toggle::after {
    display: none;
}

@media (max-width: 991.98px) {
    .dropdown-menu {
        display: block !important;
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
        text-align: center;
    }
    
    .dropdown-hover .dropdown-menu {
        display: block !important;
    }
    
    a.dropdown-item {
        background-color: transparent !important;
        text-align: center;
    }
  
}
.voices-title p {
    line-height: 1.25;
    padding-top: 10px;
}
#clearSelections {
  background-color: #eff7f9;
  color: #589296;
}
#clearSelections:hover {
    background-color: #589296;
    color: #fff;
}
