:root {
  --hfcc-green: #0D5D35;
  --hfcc-yellow: #FFF101;
  --hfcc-black: #000;
  --hfcc-white: #fff;
}

body {
  margin: 0;
  background: #fff;
  color: #212529;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--hfcc-green);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1024px;
  padding-left: 15px;
  padding-right: 15px;
}

main > .container:first-child,
main > section.container:first-child,
main > .hfcc-page:first-child {
  margin-top: 1.25rem;
}

.hfcc-navbar {
  position: relative;
  min-height: 60px;
  background: var(--hfcc-black);
  overflow: visible;
}

.hfcc-navbar .container {
  display: flex;
  align-items: center;
  max-width: 1024px;
}

.hfcc-navbar .navbar-brand {
  display: flex;
  align-items: center;
  margin-right: 1.35rem;
  padding-top: 0;
  padding-bottom: 0;
}

.hfcc-navbar .navbar-collapse {
  flex-grow: 1;
}

.hfcc-navbar .navbar-brand img {
  display: block;
  width: auto;
  height: 36px;
}

.hfcc-navbar .navbar-nav {
  align-items: center;
}

.hfcc-navbar .nav-link {
  color: var(--hfcc-white);
  padding: 1.15rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.hfcc-navbar .nav-link:hover,
.hfcc-navbar .nav-link:focus {
  color: var(--hfcc-yellow);
}

.hfcc-navbar .nav-link.active {
  color: var(--hfcc-yellow);
}

.hfcc-nav-dropdown-toggle {
  border: 0;
  background: transparent;
}

.hfcc-navbar .dropdown-menu {
  --bs-dropdown-link-active-bg: var(--hfcc-green);
  --bs-dropdown-link-active-color: var(--hfcc-white);
  margin-top: 0;
  border-radius: 6px;
  border: 0;
  box-shadow: 0 0.6rem 1.2rem rgba(0, 0, 0, 0.18);
}

.hfcc-navbar .dropdown-item {
  font-size: 0.92rem;
}

.hfcc-navbar .dropdown-item:hover,
.hfcc-navbar .dropdown-item:focus {
  background: rgba(13, 93, 53, 0.1);
  color: var(--hfcc-green);
}

.hfcc-main-nav {
  margin-right: auto;
}

.hfcc-language-switcher {
  margin-left: auto;
}

.hfcc-language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--hfcc-white);
  font-size: 0.82rem;
  line-height: 1.2;
}

.hfcc-language-toggle:hover,
.hfcc-language-toggle:focus,
.hfcc-language-toggle.show {
  border-color: rgba(255, 241, 1, 0.8);
  color: var(--hfcc-yellow);
}

.hfcc-language-switcher .dropdown-menu {
  min-width: 10rem;
  margin-top: 0.35rem;
}

.hfcc-language-switcher .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hfcc-language-switcher .dropdown-item.active,
.hfcc-language-switcher .dropdown-item:active {
  background-color: var(--hfcc-green);
  color: var(--hfcc-white);
}

.hfcc-language-flag {
  font-size: 1rem;
  line-height: 1;
}

.hfcc-nav-wrap {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  width: 100%;
  position: static;
}

.hfcc-nav-accent {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  gap: 4px;
  height: 12px;
  transform: translateX(-50%);
  z-index: 2;
}

.hfcc-nav-green,
.hfcc-nav-yellow {
  display: block;
  width: 38px;
  height: 12px;
}

.hfcc-nav-green {
  background: var(--hfcc-green);
}

.hfcc-nav-yellow {
  background: var(--hfcc-yellow);
}

.hfcc-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.45);
}

.hfcc-navbar .navbar-toggler:focus {
  box-shadow: none;
}

.hfcc-navbar .navbar-toggler-icon {
  filter: invert(1);
}

.bg-success {
  background-color: var(--hfcc-green) !important;
}

.bg-warning,
.btn-warning {
  background-color: var(--hfcc-yellow) !important;
  border-color: var(--hfcc-yellow) !important;
  color: #102316 !important;
}

.btn-outline-success:hover,
.badge.bg-success {
  background-color: var(--hfcc-green) !important;
  border-color: var(--hfcc-green) !important;
}

.btn-primary {
  border-color: var(--hfcc-green) !important;
  background-color: var(--hfcc-green) !important;
  color: #fff !important;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  border-color: var(--hfcc-yellow) !important;
  background-color: var(--hfcc-yellow) !important;
  color: var(--hfcc-green) !important;
}

.btn-primary:active {
  border-color: #083b22 !important;
  background-color: #094427 !important;
  color: #fff !important;
}

.btn-primary:disabled {
  border-color: var(--hfcc-green) !important;
  background-color: var(--hfcc-green) !important;
  color: #fff !important;
  opacity: 0.75;
}

.btn-outline-primary {
  --bs-btn-color: var(--hfcc-green);
  --bs-btn-border-color: var(--hfcc-green);
  --bs-btn-hover-color: var(--hfcc-green);
  --bs-btn-hover-bg: var(--hfcc-yellow);
  --bs-btn-hover-border-color: var(--hfcc-yellow);
  --bs-btn-focus-shadow-rgb: 13, 93, 53;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--hfcc-green);
  --bs-btn-active-border-color: var(--hfcc-green);
  --bs-btn-disabled-color: #94b3a3;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #94b3a3;
  --bs-gradient: none;
}

.btn-success {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--hfcc-green);
  --bs-btn-border-color: var(--hfcc-green);
  --bs-btn-hover-color: var(--hfcc-green);
  --bs-btn-hover-bg: var(--hfcc-yellow);
  --bs-btn-hover-border-color: var(--hfcc-yellow);
  --bs-btn-focus-shadow-rgb: 13, 93, 53;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #094427;
  --bs-btn-active-border-color: #083b22;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--hfcc-green);
  --bs-btn-disabled-border-color: var(--hfcc-green);
}

.btn-success:hover {
  font-weight: 600;
}

.btn-outline-success {
  color: var(--hfcc-green);
  border-color: var(--hfcc-green);
}

.text-success {
  color: var(--hfcc-green) !important;
}

.contrast-white {
  color: #fff !important;
}

.alert-danger {
  --bs-alert-color: #fff;
  --bs-alert-bg: #f98000;
  --bs-alert-border-color: #f98000;
}

.accordion-button:not(.collapsed) {
  color: var(--hfcc-green);
  background-color: #fff998;
}

.hfcc-header-image img {
  display: block;
  width: 100%;
  margin-top: 20px;
  border-radius: 8px;
}

.hfcc-aanmelden {
  margin-top: 6px;
  background: linear-gradient(to right, #105c35, #fff101);
  padding: 2px 7px;
  border-radius: 4px;
  text-align: right;
}

.hfcc-aanmelden a {
  color: #105c35;
  font-weight: 700;
  text-decoration: none;
}

.hfcc-membership-list .list-group-item,
.hfcc-page .list-group-item {
  padding: 0.65rem 1rem;
}

.hfcc-membership-signup {
  max-width: 820px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 0.2rem 0.75rem rgba(0, 0, 0, 0.06);
}

.hfcc-lesson-frame {
  display: block;
  width: 100%;
  min-height: 350px;
  margin: 0.75rem 0 1rem;
  border: 1px solid #fff;
  background: #fff;
}

.hfcc-lesson-programs {
  margin: 0.75rem 0 1rem;
}

.hfcc-lesson-program {
  border-radius: 6px;
}

.hfcc-lesson-program h3 {
  color: #212529;
  font-weight: 800;
}

.hfcc-kids-access .card {
  border-radius: 6px;
}

.hfcc-access-icon {
  display: block;
  margin-bottom: 1rem;
  color: #212529;
  font-size: 1.35rem;
}

.hfcc-home .row {
  --bs-gutter-x: 1.875rem;
}

.hfcc-home-intro-row {
  align-items: stretch;
}

.hfcc-title {
  color: var(--hfcc-green);
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  font-weight: 800;
}

.hfcc-checkers {
  display: inline-block;
  margin-right: 0.35rem;
  color: #a7bc76;
  font-size: 0.65em;
  letter-spacing: 0;
  transform: skewX(-15deg);
}

.hfcc-home .lead {
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #3f454a;
}

.hfcc-intro {
  min-height: 145px;
}

.hfcc-home-intro-row .hfcc-intro {
  width: 100%;
}

.hfcc-hobby-card,
.hfcc-promo-card,
.hfcc-club-card,
.hfcc-bottom-card {
  border-radius: 8px;
}

.hfcc-hobby-card {
  display: block;
  overflow: hidden;
  box-shadow: 0 0.2rem 0.65rem rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hfcc-hobby-card:hover,
.hfcc-promo-card:hover,
.hfcc-club-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.18);
}

.hfcc-hobby-card img {
  display: block;
  width: 100%;
  height: auto;
}

.hfcc-home-intro-row .hfcc-hobby-card {
  height: auto;
  align-self: flex-start;
}

.hfcc-promo-card {
  position: relative;
  overflow: hidden;
  min-height: 185px;
  color: #fff;
  box-shadow: 0 0.25rem 0.8rem rgba(0, 0, 0, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hfcc-video-card {
  background: radial-gradient(circle at 100% 0%, rgba(35, 90, 59, 0.45), transparent 48%),
    linear-gradient(125deg, #171b19, #06120d);
}

.hfcc-video-card .row {
  position: relative;
}

.hfcc-video-card .hfcc-promo-photo {
  position: static;
}

.hfcc-shirt-card {
  background: radial-gradient(circle at 100% 0%, rgba(139, 170, 40, 0.42), transparent 48%),
    linear-gradient(125deg, #007044, #004426);
}

.hfcc-promo-photo {
  position: relative;
  min-height: 185px;
  overflow: hidden;
}

.hfcc-promo-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 185px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hfcc-promo-card:hover .hfcc-promo-photo img {
  transform: scale(1.035);
}

.hfcc-promo-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 185px;
  padding: 1.35rem;
}

.hfcc-promo-content h3 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.15;
}

.hfcc-promo-content p {
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.hfcc-eyebrow {
  margin-bottom: 0.45rem;
  color: var(--hfcc-yellow);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hfcc-action {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
  border-radius: 5px;
  background: var(--hfcc-yellow);
  color: #102316;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.hfcc-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 41.66666667%;
  display: flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(5, 13, 9, 0.78);
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.3);
}

.hfcc-club-card {
  position: relative;
  display: flex;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  box-shadow: 0 0.2rem 0.65rem rgba(0, 0, 0, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hfcc-club-accent {
  flex: 0 0 8px;
  margin: 10px 0;
  border-radius: 0 8px 8px 0;
  background: var(--hfcc-yellow);
}

.hfcc-club-saturday .hfcc-club-accent {
  background: var(--hfcc-green);
}

.hfcc-club-content {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 1.25rem 5.75rem 1.25rem 1.25rem;
}

.hfcc-club-content h3 {
  color: var(--hfcc-green);
  font-size: 1.25rem;
  font-weight: 800;
}

.hfcc-club-content p {
  margin-bottom: 0.7rem;
  color: #212529;
  line-height: 1.5;
}

.hfcc-club-content .badge {
  padding: 0.5em 0.75em;
  background-color: var(--hfcc-green) !important;
  font-size: 0.7rem;
}

.hfcc-club-content a {
  color: var(--hfcc-green);
}

.hfcc-club-icon {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  opacity: 0.23;
}

.hfcc-calendar-icon {
  position: relative;
  width: 60px;
  height: 55px;
  border: 7px solid var(--hfcc-green);
  border-radius: 8px;
}

.hfcc-calendar-icon::before,
.hfcc-calendar-icon::after {
  content: "";
  position: absolute;
  top: -17px;
  width: 8px;
  height: 17px;
  border-radius: 5px;
  background: var(--hfcc-green);
}

.hfcc-calendar-icon::before {
  left: 9px;
}

.hfcc-calendar-icon::after {
  right: 9px;
}

.hfcc-family-icon {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  width: 70px;
  height: 48px;
  opacity: 0.2;
}

.hfcc-family-icon::before,
.hfcc-family-icon::after {
  content: "";
  position: absolute;
  border-radius: 50% 50% 45% 45%;
  background: var(--hfcc-green);
}

.hfcc-family-icon::before {
  left: 4px;
  bottom: 0;
  width: 25px;
  height: 25px;
}

.hfcc-family-icon::after {
  right: 0;
  bottom: 0;
  width: 25px;
  height: 25px;
}

.event-list .list-group-item,
.list-group-item {
  border-radius: 8px;
}

.hfcc-page h1,
.hfcc-page h2,
.hfcc-page h3,
main .container h1,
main .container h2,
main .container h3 {
  color: #123722;
}

.hfcc-page table,
main table {
  background: #fff;
}

.hfcc-beginners-page .card {
  border-radius: 8px;
}

.hfcc-beginners-page .card-img-top {
  height: 190px;
  object-fit: contain;
  background: #fff;
}

.hfcc-beginners-page .accordion-button {
  color: #123722;
  font-weight: 700;
}

.hfcc-beginners-page .accordion-button:not(.collapsed) {
  background: rgba(13, 93, 53, 0.08);
  color: #123722;
}

.hfcc-board-card {
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0.2rem 0.7rem rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.hfcc-board-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f1f3f5;
}

.hfcc-board-card .card-body {
  padding: 1rem;
}

.hfcc-contact-card {
  border-radius: 6px;
}

.hfcc-contact-card img {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  object-fit: cover;
  background: #f1f3f5;
}

.hfcc-contact-card .card-body {
  min-height: 106px;
}

.hfcc-bottom {
  margin: 20px;
  padding: 2rem 0;
  background: linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
    url("/assets/images/circuit_images/start-grid.png") center / cover no-repeat;
}

.hfcc-bottom-card {
  display: block;
  height: 100%;
  min-height: 150px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.92);
  color: #1e2822;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hfcc-bottom-card:hover {
  transform: translateY(-3px);
  background: #fff;
}

.hfcc-bottom-card h3 {
  font-size: 1rem;
  font-weight: 800;
}

.hfcc-bottom-card p {
  margin-bottom: 0;
  color: #3d453f;
}

.hfcc-sponsor-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.5rem;
  justify-content: center;
}

.sponsor-link {
  display: block;
}

.sponsor-card {
  display: flex;
  width: 100%;
  height: 90px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.sponsor-card img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

.footer-social-links .container {
  max-width: 1024px;
}

.facebook-icon {
  color: #1877f2;
}

.instagram-icon {
  color: #d6249f;
}

.hfcc-footer {
  position: relative;
  padding: 2rem 0 calc(2rem + 12px);
  background: #181a1b;
  color: #fff;
}

.hfcc-footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 80px;
  height: 12px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    var(--hfcc-green) 0%,
    var(--hfcc-green) calc(50% - 2px),
    transparent calc(50% - 2px),
    transparent calc(50% + 2px),
    var(--hfcc-yellow) calc(50% + 2px),
    var(--hfcc-yellow) 100%
  );
}

.hfcc-footer h3 {
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
}

.hfcc-footer a {
  color: #dbdbdb;
  text-decoration: none;
}

.hfcc-footer a:hover {
  color: var(--hfcc-yellow);
}

.hfcc-footer .col-lg-4 {
  padding: 20px;
}

.hfcc-times li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.hfcc-times li:last-child {
  border-bottom: 0;
}

.hfcc-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.hfcc-footer-links li {
  display: inline-block;
}

.hfcc-footer-links a {
  display: inline-block;
  padding: 3px 6px;
  border: 1px solid #376303;
  border-radius: 5px;
  background-color: #0d5c34;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.3;
}

.hfcc-footer-links a:hover {
  color: var(--hfcc-yellow);
}

.hfcc-copyright {
  background: #000;
  color: rgba(255, 255, 255, 0.55);
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease;
}

.whatsapp-float:hover {
  background: #20b954;
  color: #fff;
}

@media (max-width: 991.98px) {
  .hfcc-navbar {
    padding: 0.6rem 0;
  }

  .hfcc-navbar .navbar-nav {
    align-items: stretch;
    padding-top: 0.75rem;
  }

  .hfcc-navbar .nav-link {
    padding: 0.65rem 0;
  }

  .hfcc-navbar .dropdown-menu {
    margin-bottom: 0.45rem;
    border-radius: 6px;
    box-shadow: none;
  }

  .hfcc-navbar .dropdown-item {
    padding: 0.55rem 0.75rem;
  }

  .hfcc-nav-wrap {
    display: block;
  }

  .hfcc-language-switcher {
    margin-left: 0;
    padding-top: 0.75rem;
  }

  .hfcc-language-toggle {
    width: 100%;
    justify-content: space-between;
    padding-left: 0;
    padding-right: 0;
    border: 0;
  }

  .hfcc-language-switcher .dropdown-menu {
    width: 100%;
  }

  .hfcc-nav-accent {
    display: none;
  }

  .hfcc-bottom {
    margin: 0;
  }

  .hfcc-sponsor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hfcc-footer h3 {
    font-size: 1.35rem;
  }
}

@media (max-width: 575.98px) {
  .hfcc-promo-content {
    padding: 1rem;
  }

  .hfcc-promo-content h3 {
    font-size: 1.05rem;
  }

  .hfcc-action {
    font-size: 0.8rem;
  }

  .hfcc-sponsor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
