@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');


/* global */
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; 
}

body, .main, .wrapper, .module-content, .primary{
  background-color: #fff !important;
  font-family: 'Montserrat', sans-serif !important;
  background: #fff !important;
}

.module{
  border: none !important;
  box-shadow: none !important;
}

.separator {
  color: #888;
  font-size: 0.8em;
}

.wrapper, .wrapper::before{
  box-shadow: none !important;
  border: none !important;
}

/* buttons */
.btn-danger, .btn-danger:hover, .btn-success, .btn-success:hover{
  color: #fff !important;
}

a, .btn-outline-primary:hover{
  color: #445623 !important;
}

.organization-info h3, .additional-info h3{
  text-transform: uppercase !important;
  margin: 30px 0 20px 0px !important;
}
a:hover{
  color: #445623 !important;
}

.btn-outline-primary:hover,  .organization-name a:hover{
  color: #7a8471 !important;
  background-color: #fff !important;
}

.cta-button, .btn-primary {
  background-color: #a8c57b !important;
  color: #333333 !important;
  padding: 12px 24px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  border: none !important;
}

.cta-button a{
  text-decoration: none !important;
}

.cta-button:hover, .btn-primary:hover{
  background-color: #445623 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #fff !important;
  text-decoration: none !important;
}

/* breadcrumbs */

.breadcrumb {
  background-color: transparent !important;
  border: none !important;
  padding: 15px 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  text-transform: uppercase;
}

.breadcrumb > li {
  font-size: 14px;
  color: #445623;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  background: none;
}

.breadcrumb > li.home a {
  font-weight: 600;
  border-color: rgba(68, 86, 35, 0.3);
}

.breadcrumb > li.home a:hover {
  border-color: rgba(68, 86, 35, 0.3);
}

.breadcrumb > li + li::before {
  content: "›" !important; 
  color: #bbb !important;
  padding: 0 12px !important;
  font-size: 20px;
  font-weight: 500;
}

.breadcrumb > li a {
  color: #445623 !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  font-weight: 500;
  padding: 6px 12px;
  border: 1px solid transparent;
  transition: 0.2 ease;
}

.breadcrumb > li a:hover {
  color: #7a8471 !important;
  text-decoration: none !important;
}

.breadcrumb > .active {
  color: #445623 !important;
  font-weight: 600;
  color: #ffffff !important;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
}

.breadcrumb {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  list-style: none !important;
}

.breadcrumb-item .text-white{
  color: #fff !important;
}

.breadcrumb-item .text-white:hover{
  color: #f8f8f8 !important;
}

@media (max-width: 768px) {
  .breadcrumb {
  padding: 15px 0 !important;
  gap: 2px;
}

.breadcrumb > li + li::before {
  padding: 0 8px !important;
  font-size: 14px;
}

.breadcrumb > li a,
.breadcrumb > .active {
  padding: 4px 8px;
  font-size: 12px;
}

.breadcrumb > .active {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
}


/* dataset page: index */
.dataset-content{
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 4px rgba(7, 48, 44, 0.1);
  transition: all 0.3s ease;
}


/* facets/filters */
.facet-section {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
  border: 1px solid #e8eae6;
}

.facet-section:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.facet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: #f8faf6;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #e8eae6;
}

.facet-header:hover {
  background-color: #f5f7f3;
}

.facet-title {
  display: flex;
  align-items: center;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #333333;
}

.facet-icon {
  color: #445623;
  margin-right: 10px;
  font-size: 14px;
}

.facet-title-text {
  margin-right: 8px;
}

.facet-count-total {
  font-size: 14px;
  color: #666666;
  font-weight: 400;
}

.facet-toggle-icon {
  color: #666666;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.facet-header[aria-expanded="false"] .facet-toggle-icon {
  transform: rotate(-90deg);
}

.facet-content {
  max-height: 400px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.facet-content.collapsed {
  max-height: 0;
}

.facet-content-inner {
  padding: 0;
}

.facet-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.facet-item {
  border-bottom: 1px solid #f0f2ef;
}

.facet-item:last-child {
  border-bottom: none;
}

.facet-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  text-decoration: none;
  color: #333333;
  transition: all 0.2s ease;
  position: relative;
}

.facet-link:hover {
  background-color: #f8faf6;
  text-decoration: none;
  color: #445623;
}

.facet-link-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-right: 10px;
}

.facet-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  flex: 1;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  max-width: 160px;
}

.facet-count {
  background-color: #e8eae6;
  color: #666666;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 10%;
  min-width: 24px;
  text-align: center;
  margin-left: 8px;
}

.facet-footer {
  padding: 10px 15px;
  border-top: 1px solid #e9ecef;
  background-color: #f8f9fa;
  text-align: center;
}

.facet-item-active .facet-link {
  background-color: rgba(168, 197, 123, 0.02);
  border-left: 4px solid #445623;
  text-decoration: none !important;
}

.facet-item-active .facet-label {
  color: #445623;
  font-weight: 600;
}

.facet-item-active .facet-count {
  background-color: #a8c57b;
  color: #ffffff;
}

.facet-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 10%;
  background-color: rgba(244, 67, 54, 0.1);
  color: #f44336;
  font-size: 12px;
  transition: all 0.2s ease;
}

.facet-remove:hover {
  background-color: #f44336;
  color: #ffffff;
}

.facet-show-more,
.facet-show-less {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #445623;
  text-decoration: none;
  transition: color 0.2s ease;
}

.facet-show-more:hover,
.facet-show-less:hover {
  color: #333333;
  text-decoration: none;
}

.facet-show-more i,
.facet-show-less i {
margin-right: 6px;
  font-size: 12px;
  }

@media (max-width: 768px) {
  .facet-header {
    padding: 14px 16px;
    text-decoration: none !important;
  }

  .facet-title {
    font-size: 15px;
  }

  .facet-link {
    padding: 10px 16px;
  }

  .facet-label {
    font-size: 13px;
    max-width: 120px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .facet-content {
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
}


/* home page */
.contributor-link {
  color: #445623;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
}

.pill{
  background-color: #a8c57b !important;
  color: #333333 !important;
  border-radius: 10% !important;
}

.badge, .badge:hover{
  color: #fff !important;
}

.facet-label {
  max-width: none !important;
  overflow: visible !important;
  text-overflow: initial !important;
  white-space: normal !important;
  word-break: break-word !important;
}

.facet{
  text-transform: uppercase;
  font-weight: 500;
  margin-right: 10px;
}

.header-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background-color: rgba(168, 197, 123, 0.15);
  border-radius: 100px;
  margin-bottom: 16px;
}

.header-tag-icon {
  margin-right: 8px;
  color: #445623;
}

.header-tag-text {
  font-weight: 600;
  font-size: 14px;
  color: #445623;
  text-transform: uppercase;
  letter-spacing: 1px;
} 

.section-title {
  font-family: 'Merriweather', serif;
  font-size: 38px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
}

.section-description {
  max-width: 700px;
  margin: 0 auto;
  font-size: 16px;
  color: #555;
}


.par-header-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background-color: #fff;
  border-radius: 100px;
  margin-bottom: 16px;
}

.par-header-tag-icon {
  margin-right: 8px;
  color: #445623;
}

.par-header-tag-text {
  font-weight: 600;
  font-size: 14px;
  color: #445623;
  text-transform: uppercase;
  letter-spacing: 1px;
} 

.par-section-title {
  font-family: 'Merriweather', serif;
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.par-section-description {
  max-width: 700px;
  margin: 0 auto;
  font-size: 16px;
  color: #f3f3f3;
}

/* useful links section */
.useful-links-section {
  padding: 100px 0;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}


.useful-links-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.useful-links-header {
  text-align: center;
  margin-bottom: 60px;
}

.useful-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.resource-card {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 35px 30px;
  height: 100%;
  position: relative;
  z-index: 1;
}

.resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: #a8c57b;
  z-index: 1;
}

.resource-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
  text-decoration: none;
  background-color: rgba(168, 197, 123, 0.05);
}

.resource-icon {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  background-color: rgba(168, 197, 123, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 28px;
  color: #445623;
  transition: all 0.3s ease;
}


.resource-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.resource-card:hover .resource-title {
  color: #445623;
}

.resource-description {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
  color: #445623;
  margin-top: auto;
}

.resource-link i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.resource-icon {
  background-color: rgba(74, 144, 226, 0.12);
  color: #445623;
}

.resource-icon {
  background-color: #445623;
  color: white;
}


@media (max-width: 991px) {
  .useful-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .useful-links-title {
    font-size: 36px;
  }

  .resource-card {
    padding: 25px 20px;
  }

  .resource-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .resource-title {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .useful-links-section {
    padding: 70px 0;
  }

  .useful-links-grid {
    grid-template-columns: 1fr;
  }

  .useful-links-title {
    font-size: 32px;
  }
}

/* recent datasets */
.recent-datasets-section {
  padding: 100px 0;
  background-color: #fcfcfc;
  position: relative;
  overflow: hidden;
  background-image: 
  radial-gradient(circle at 5% 20%, rgba(168, 197, 123, 0.05) 0%, transparent 50%),
  radial-gradient(circle at 95% 80%, rgba(168, 197, 123, 0.07) 0%, transparent 50%);
}

.recent-datasets-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.recent-datasets-header {
  text-align: center;
  margin-bottom: 60px;
}

.recent-datasets-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background-color: rgba(168, 197, 123, 0.15);
  border-radius: 100px;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(168, 197, 123, 0.1);
}

.recent-datasets-tag-icon {
  margin-right: 8px;
  color: #445623;
}

.recent-datasets-tag-text {
  font-weight: 600;
  font-size: 14px;
  color: #445623;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.recent-datasets-title {
  font-family: 'Merriweather', serif;
  font-size: 42px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.recent-datasets-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #a8c57b;
  border-radius: 3px;
}

.recent-datasets-description {
  max-width: 600px;
  margin: 30px auto 0;
  font-size: 17px;
  color: #666;
  line-height: 1.7;
}

.recent-datasets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.dataset-card, .organization-card, .group-card {
  background-color: #fff !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03) !important;
  overflow: hidden !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  display: flex !important;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  height: 100% !important;
}

.dataset-card:hover, .organization-card:hover, .card:hover, .group-card:hover{
  border-color: rgba(168, 197, 123, 0.2) !important;
}

.dataset-card-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.dataset-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.dataset-type {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  background-color: #f8f8f8;
  padding: 6px 12px;
  border-radius: 30px;
}

.dataset-type i {
  margin-right: 6px;
  color: #a8c57b;
}

.dataset-resource-count {
  display: flex;
  align-items: center;
  background-color: rgba(168, 197, 123, 0.15);
  border-radius: 30px;
  padding: 6px 12px;
  font-weight: 600;
  color: #445623;
  font-size: 13px;
}

.dataset-resource-count i {
  margin-right: 6px;
}

.dataset-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}

.dataset-title a, .card-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dataset-title a:hover, .card-title a:hover {
  color: #445623 !important;
}

.dataset-description {
  font-size: 15px;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dataset-no-description {
  color: #999;
  font-style: italic;
}

.dataset-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.dataset-org {
  display: flex;
  align-items: center;
  max-width: 60%;
}

.org-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: white;
  font-weight: 600;
  font-size: 14px;
  background-color: #a8c57b;
  overflow: hidden;
}

.dataset-org-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dataset-org span {
  font-size: 14px;
  color: #444;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dataset-date {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #888;
  white-space: nowrap;
}

.dataset-date i {
  margin-right: 6px;
}

.dataset-card-footer {
  padding: 0 30px 30px;
}

.dataset-view-btn {
  display: inline-flex;
  align-items: center;
  background-color: rgba(168, 197, 123, 0.50);
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  color: #445623;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
  border: 1px solid transparent;
}

.dataset-view-btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.dataset-view-btn:hover {
  background-color: #445623;
  color: white !important;
  text-decoration: none;
}

.dataset-view-btn:hover i {
  transform: translateX(5px);
}

.no-datasets {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px;
  background-color: #fff;
  border-radius: 16px;
  color: #888;
  font-style: italic;
  border: 1px dashed #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.no-data-icon {
  font-size: 48px;
  color: #ddd;
  margin-bottom: 20px;
}

.recent-datasets-action {
  text-align: center;
  margin-top: 30px;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  background-color: #445623;
  border-radius: 100px;
  font-weight: 600;
  font-size: 16px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(68, 86, 35, 0.25);
}

.view-all-btn i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.view-all-btn:hover {
  background-color: #3a4a1d;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(68, 86, 35, 0.3);
}

.view-all-btn:hover i {
  transform: translateX(5px);
}

@media (max-width: 991px) {
  .recent-datasets-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .recent-datasets-title {
    font-size: 36px;
  }

  .dataset-title {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .recent-datasets-section {
    padding: 70px 0;
  }

  .recent-datasets-grid {
    grid-template-columns: 1fr;
  }

  .recent-datasets-title {
    font-size: 32px;
  }

  .dataset-card-content, 
  .dataset-card-footer {
    padding: 20px;
  }

  .dataset-card-footer {
    padding-top: 0;
  }
}

/* stats section */
.stats-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background-image: url('/images/salmon_zoomed.jpg'); 
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.stats-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.stats-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  position: relative;
  z-index: 2;
}

.stats-card {
  flex: 1;
  min-width: 200px;
  max-width: 350px;
  background-color: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: #a8c57b;
  z-index: -1;
}

.stats-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background-color: rgba(168, 197, 123, 0.1);
  font-size: 28px;
  color: #445623;
}

.stats-number {
  font-size: 48px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  font-family: 'Merriweather', serif;
  line-height: 1;
}

.stats-label {
  font-size: 18px;
  font-weight: 500;
  color: #555;
}

.stats-card:nth-child(1) .count-up {
  animation-delay: 0.1s;
}

.stats-card:nth-child(2) .count-up {
  animation-delay: 0.3s;
}

.stats-card:nth-child(3) .count-up {
  animation-delay: 0.5s;
}

@media (max-width: 991px) {
  .stats-cards {
    gap: 20px;
  }

  .stats-card {
    padding: 30px 20px;
  }

  .stats-number {
    font-size: 38px;
  }

  .stats-label {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .stats-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 32px;
  }

  .stats-cards {
    flex-direction: column;
    align-items: center;
  }

  .stats-card {
    width: 100%;
    max-width: 100%;
  }
}

/* about section*/
.about-section {
  display: flex;
  align-items: center;
  padding: 80px 0;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.about-container .cta-button{
  margin-top: 24px !important;
}

.images-container {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.main-image {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
  position: relative;
  bottom: 60px;
}

.secondary-image {
  position: absolute;
  bottom: -60px;
  right: -30px;
  width: 70%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.content-container {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.about-section h2{
  font-family: 'Merriweather', serif;
  font-size: 42px;
  font-weight: 700;
  color: #333;
  margin-bottom: 24px;
  line-height: 1.2;
}

.features {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: rgba(168, 197, 123, 0.2);
  border-radius: 5%;
  margin-right: 12px;
  color: #445623;
}

.feature-text {
  font-weight: 500;
  color: #333;
}

@media (max-width: 991px) {
  .about-container {
    flex-direction: column;
  }

  .images-container, .content-container {
    width: 100%;
  }

  .secondary-image {
    bottom: -30px;
    right: 0;
  }

  h2 {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .about-section {
    padding: 60px 0;
  }

  .secondary-image {
    width: 60%;
    bottom: -20px;
  }

  h2 {
    font-size: 32px;
  }
}

/* category section */
.category-section {
  margin: 50px 0;
}

.category-section h2 {
  font-family: 'Merriweather', serif !important;
  text-align: center !important;
  margin-bottom: 10px !important;
  color: #333 !important;
  font-size: 32px !important;
  margin-top: 50px !important;
}

.category-section p {
  text-align: center !important;
  margin-bottom: 40px !important;
  color: #333 !important;
  font-size: 16px !important;
}

.categories {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 30px !important;
}

.category-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 110px !important;
  text-decoration: none !important;
}

.icon-container {
  width: 70px !important;
  height: 70px !important;
  background-color: #fff !important;
  border: 1px solid #445623 !important;
  border-radius: 15px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 12px !important;
  transition: all 0.3s ease !important;
}

.category-item:hover .icon-container {
  background-color: #445623 !important;
  border-color: #fff !important;
}

.category-icon {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain !important;
}

.icon-hover {
  display: none !important;
}

.category-item:hover .icon-default {
  display: none !important;
}

.category-item:hover .icon-hover {
  display: block !important;
}

.category-item span {
  font-size: 14px !important;
  font-weight: 500 !important;
  text-align: center !important;
  color: #333 !important;
}

@media (max-width: 768px) {
  .categories {
      gap: 20px !important;
  }

  .category-item {
      width: 100px !important;
  }

  .icon-container {
      width: 60px !important;
      height: 60px !important;
  }

  .category-icon {
      width: 28px !important;
      height: 28px !important;
  }
}

/* hero section */
.hero-section {
  position: relative;
  min-height: 650px;
  height: auto;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
  margin: 0 !important; 
  border-bottom: none !important;
  background-image: url('/images/salmon_tons.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 60px; 
}

.hero-text {
  flex: 0 0 calc(55% - 15px);
  max-width: calc(55% - 15px);
  color: #ffffff;
}

.hero-text h1 {
  font-family: 'Merriweather', sans-serif;
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.hero-search {
  flex: 0 0 calc(40% - 15px);
  max-width: calc(40% - 15px);
}

.enhanced-search-container {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.search-header {
  margin-bottom: 20px;
  text-align: left;
}

.search-header h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333333;
  margin: 0 0 10px 0;
}

.search-header p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: #666666;
  margin: 0;
  line-height: 1.4;
}


.enhanced-search-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px; 
}

.search-input-group {
  position: relative;
  display: flex;
  width: 100%;
}

.search-input-group input {
  flex: 1;
  height: 54px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 10px 60px 10px 15px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #333333;
  transition: all 0.2s ease;
  width: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.search-input-group input:focus {
  outline: none !important;
  border-color: #445623 !important;
  box-shadow: 0 2px 8px rgba(68, 86, 35, 0.1) !important;
}

.search-input-group input::placeholder {
  color: #aaaaaa;
}

.search-input-group button {
  position: absolute;
  right: 0;
  top: 0;
  height: 54px;
  width: 54px;
  background-color: #445623 !important;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-input-group button:hover {
  background-color: #3a4a1d !important;
  color: #fff !important;
}

.search-help {
  text-align: right;
  font-size: 0.85rem;
}

.search-help a {
  font-family: 'Montserrat', sans-serif;
  color: #445623;
  text-decoration: none;
  transition: color 0.2s ease;
}

.search-help a:hover {
  text-decoration: underline;
  color: #333333;
}

.popular-tags {
  border-top: 1px solid #eee;
  padding-top: 15px;
  margin-top: 5px;
}

.tags-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #666666;
  margin-bottom: 10px;
  display: block;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block !important;
  padding: 5px 12px !important;
  background-color: #f5f5f5 !important;
  color: #445623 !important;
  border-radius: 5px !important;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: 'Montserrat', sans-serif;
  border: 1px solid #445623 !important;
}

.tag:hover {
  background-color: #e5e5e5 !important;
  color: #333333 !important;
  text-decoration: none !important;
  border: 1px solid #445623 !important;
  box-shadow: none !important;
  transition: 0.02s ease-in !important;
}

.main.module-feeds {
  margin-top: 0 !important;
  padding-top: 60px; 
  border-top: none !important;
}

.homepage > div[role="main"] > div.main:not(.hero) {
  margin-top: 0 !important;
  border-top: none !important;
}

.hero-section + * {
  margin-top: 0 !important;
}

.homepage {
  margin: 0 !important;
  padding: 0 !important;
}

.no-gap {
  margin: 0 !important;
  padding-bottom: 0 !important;
}

@media (max-width: 991px) {
  .hero-text, .hero-search {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .hero-text {
    margin-bottom: 40px;
  }

  .hero-section {
    min-height: auto;
    padding: 60px 0 0 0;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  .enhanced-search-container {
    max-width: 100%;
  }
}

.page-header{
  margin-bottom: 20px !important;
}

@media (max-width: 767px), (hover: none) {
  .parallax-background {
    background-attachment: scroll !important; 
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .enhanced-search-container {
    padding: 20px;
  }

  .search-header h3 {
    font-size: 1.3rem;
  }

  .search-input-group input {
    height: 50px;
  }

  .search-input-group button {
    height: 50px;
    width: 50px;
  }

  .popular-tags {
    padding-top: 10px;
  }
}

@supports (-webkit-touch-callout: none) {
  .parallax-background {
    background-attachment: scroll; 
  }
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.masthead {
  margin-bottom: 0 !important;
}

.homepage .module-search .tags {
  padding: 0;
  background: none;
  border: none;
}

#content {
  margin-top: 0 !important;
}

.box {
  border: none !important;
  margin-bottom: 0 !important;
}

.flash-messages {
  margin-bottom: 0 !important;
}

.homepage .box {
  border: none !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.homepage .module-search {
  margin-bottom: 0 !important;
}

.primary .module-content {
  margin-left: 20px !important;
  padding: 0px !important;
  box-shadow: none !important;
}

.primary .module-content h1{
  margin-top: 30px !important;
}


/* header navigation*/
.account-masthead {
  background-color: #445623 !important;
  color: #ffffff;
  padding: 5px 0;
  margin: 0;
}

.account-masthead .account ul li a,
.account-masthead .account .btn-link {
  color: #ffffff !important;
}

.account-masthead .account ul li a:hover,
.account-masthead .btn-link:hover {
  background-color: transparent !important;
  color: #a8c57b !important;
}

.masthead {
  border-bottom: none !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 0 !important;
  margin-bottom: 0 !important;
  position: relative;
  background-color: #fefefe !important; 
  border-bottom: 1px solid rgba(68, 86, 35, 0.2) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 0 !important;
  margin-bottom: 0 !important;
  position: relative;
}

.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 12px 0;
  position: relative;
}

.site-logo {
  flex: 0 0 auto;
  padding: 10px 0;
}

.site-logo img {
  width: auto;
  height: auto;
  max-height: 60px !important; 
  display: block;
}

.main-navigation {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.masthead .nav-items {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.masthead .nav-item {
  padding: 0 15px;
  position: relative;
}

.masthead .nav-item a {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 500;
  font-size: 15px;
  color: #333333 !important;
  text-decoration: none;
  display: block;
  padding: 15px 0;
  position: relative;
  transition: color 0.3s ease;
  letter-spacing: 1.5px;
}

.masthead .nav-item a:hover {
  color: #445623 !important;
  text-decoration: none;
}

.masthead .nav-item a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #445623;
  transition: width 0.3s ease;
}

.masthead .nav-item a:hover::after {
  width: 100%;
}

.header-actions {
  flex: 0 0 auto;
  margin-left: 20px;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.mobile-menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #333333;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.mobile-menu-toggle span:nth-child(1) {
  top: 0px;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 10px;
}

.mobile-menu-toggle span:nth-child(3) {
  top: 20px;
}

@media (max-width: 992px) {
  .header-layout {
    padding: 10px 0;
  }

  .site-logo img {
    max-height: 50px !important;
  }

  .main-navigation {
    flex-basis: 100%;
    order: 3;
    display: none;
    margin-top: 15px;
  }

  .main-navigation.active {
    display: block;
  }

  .nav-container {
    width: 100%;
  }

  .nav-items {
    flex-direction: column;
    width: 100%;
  }

  .nav-item {
    padding: 0;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-item a {
    padding: 15px 0;
  }

  .nav-item a::after {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
    order: 3;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
  }

  .header-actions {
    margin-right: 50px;
  }
}

@media (max-width: 768px) {
  .site-logo img {
    max-height: 45px !important;
  }

  .cta-button {
    padding: 10px 18px;
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .header-actions {
    display: none;
  }

  .main-navigation.active .header-actions {
    display: block;
    text-align: center;
    margin: 15px 0 5px;
  }

  .site-logo {
    max-width: 80%;
  }
}

.masthead .navigation {
  margin: 0 !important;
}

.masthead .nav > li > a, 
.masthead .nav > li > a:focus, 
.masthead .nav > li > a:hover, 
.masthead .nav > .active > a, 
.masthead .nav > .active > a:hover, 
.masthead .nav > .active > a:focus {
  background-color: transparent !important;
}

/* footer */
.site-footer {
  background-color: #445623 !important;
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  overflow: hidden;
  padding: 0px !important;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  padding: 40px 0 0;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  padding: 0 20px;
  margin-bottom: 30px;
}

.footer-section.org-info {
  flex: 1.5;
  padding-right: 60px;
}

.org-header {
  position: relative;
  margin-bottom: 25px;
}

.vertical-line {
  position: absolute;
  left: -30px;
  top: 0;
  width: 4px;
  height: 90px;
  background: #a8c57b;
  border-radius: 2px;
}

.footer-heading {
  font-size: 2rem;
  font-weight: 500;
  color: #ffffff;
  position: relative;
  letter-spacing: 0.5px;
  margin: 0 0 30px 0;
  line-height: 1.1;
}

.gradient-accent {
  width: 120px;
  height: 2px;
  margin: 5px 0 30px 0;
  background: linear-gradient(to right, #a8c57b, rgba(168, 197, 123, 0));
  display: none;
}

.org-provider-wrapper,
.org-tagline-wrapper {
  display: flex;
  align-items: center;
  margin: 20px 0;
  gap: 20px;
}

.icon-circle {
  width: 38px;
  height: 38px;
  background-color: transparent;
  border: 1.5px solid rgba(177, 213, 143, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle i {
  color: rgba(177, 213, 143, 0.8);
  font-size: 15px;
}

.info-text {
  display: flex;
  flex-direction: column;
}

.info-title {
  font-size: 0.75rem;
  color: #ffffff;
  margin: 0;
  font-weight: 400;
  line-height: 1.4;
}

.info-detail {
  font-size: 0.85rem;
  color: #ffffff;
  margin: 0;
  font-weight: 300;
  line-height: 1.4;
}

.org-provider {
  font-size: 1.15rem;
  color: #ffffff;
  margin: 0;
}

.org-tagline {
  font-size: 1.35rem;
  font-style: normal;
  line-height: 1.6;
  color: #ffffff;
  margin: 0;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
  position: relative;
  transition: transform 0.2s ease;
}

.footer-section ul li:hover {
  transform: translateX(3px);
}

.footer-section ul li:before {
  content: "›";
  margin-right: 6px;
  color: rgba(177, 213, 143, 0.8);
  font-weight: bold;
}

.footer-section a {
  color: #ffffff !important;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  padding-bottom: 1px;
  font-weight: 300;
  font-size: 0.85rem;
}

.footer-section a:hover {
  color: rgba(177, 213, 143, 1) !important;
  text-decoration: none;
}

.footer-section a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: rgba(177, 213, 143, 0.8);
  transition: width 0.3s ease;
}

.footer-section a:hover::after {
  width: 100%;
}

.contact address {
  font-style: normal;
  margin-bottom: 15px;
  line-height: 1.6;
}

.footer-separator {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 0 auto;
  width: 100%;
}

.quick-links .footer-heading,
.contact .footer-heading {
  font-size: 0.9rem;
  padding-bottom: 6px;
  margin-bottom: 16px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.quick-links .footer-heading::after,
.contact .footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 1.5px;
  background-color: rgba(177, 213, 143, 0.8);
  border-radius: 1px;
}

.copyright-bar {
  background-color: #445623 !important;
  padding: 14px 0;
  font-size: 0.8rem;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-bar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
}

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

.copyright-bar .social-icons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-left: auto;
}

.copyright-bar .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: white !important;
  transition: all 0.3s ease;
  margin: 0;
}

.copyright-bar .social-icon i {
  font-size: 0.85rem;
}

.copyright-bar .social-icon:hover {
  background-color: rgba(177, 213, 143, 0.8);
  color: #445623 !important;
  text-decoration: none;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  }

  .footer-section {
    margin-bottom: 30px;
    padding: 0;
  }

  .footer-heading {
    font-size: 1.6rem;
  }

  .vertical-line {
    height: 60px;
  }

  .org-tagline {
    font-size: 1.2rem;
  }

  .copyright-container {
    flex-direction: column;
    gap: 15px;
  }

  .copyright-bar p {
    text-align: center;
  }

  .copyright-bar .social-icons {
    justify-content: center;
    margin-left: 0;
  }
}



/* organization page */
.page-hero {
  min-height: 200px;
  margin-top: -20px;
  margin-bottom: 50px !important;
}

.hero-background {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.org{
  background-image: url('/images/workshop.jpg') !important;
}

.cat{
  background-image: url('/images/river.jpeg') !important;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-description {
  max-width: 800px;
  color: #fff;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
}

.hover-link:hover {
  color: var(--bs-primary) !important;
}

.transition-all {
  transition: all 0.3s ease;
}

.hover-shadow:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.breadcrumb-dark .breadcrumb-item + .breadcrumb-item::before {
  color: #fff !important;
}

.organization-image {
  transition: transform 0.2s ease;
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.organization-image:hover {
  transform: scale(1.05);
}

.stat-number {
  font-size: 1.2rem;
}

.empty-state {
  background: rgba(248, 249, 250, 0.5);
  border-radius: 12px;
}

.empty-state {
  background: rgba(248, 249, 250, 0.5);
  border-radius: 12px;
}


body.organization-index .toolbar { display: none; }

.select2-choice{
  margin-bottom: 20px !important;
}