:root {
  --yh-navy: #071f3b;
  --yh-navy-2: #0d2e55;
  --yh-blue: #236192;
  --yh-light-blue: #5aa7e8;
  --yh-burgundy: #6f263d;
  --yh-red: #8b1832;
  --yh-ice: #f4f7fa;
  --yh-line: #d7dde5;
  --yh-text: #172033;
  --yh-white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--yh-text);
  font-family: Arial, Helvetica, sans-serif;
}

.navbar .nav-link-custom {
  color: #fff !important;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.navbar .nav-link-custom:hover,
.navbar .nav-link-custom:focus {
  color: #8fc8ff !important;
}

.youth-hockey-site h1,
.youth-hockey-site h2,
.youth-hockey-site h3,
.youth-hockey-site .display-title {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.youth-hockey-site a { text-underline-offset: 3px; }

.hero-home {
  background: linear-gradient(110deg, #071f3b 0%, #0d2e55 58%, #164e7f 100%);
  color: #fff;
  overflow: hidden;
}

.hero-home .hero-copy { padding: 4.5rem 0; }

.hero-home h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: .93;
  margin-bottom: 1.5rem;
}

.hero-home h1 span { color: var(--yh-light-blue); }

.hero-home p {
  max-width: 640px;
  font-size: 1.12rem;
  line-height: 1.65;
}

.photo-placeholder {
  min-height: 260px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.25);
  background:
    linear-gradient(135deg, rgba(35,97,146,.88), rgba(7,31,59,.92)),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,.05) 14px 28px);
  color: rgba(255,255,255,.9);
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.photo-placeholder.light {
  min-height: 190px;
  border-color: var(--yh-line);
  background:
    linear-gradient(135deg, #dce6f0, #edf2f7),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(35,97,146,.05) 14px 28px);
  color: var(--yh-navy);
}

.photo-placeholder.short { min-height: 150px; }

.btn-yh {
  background: var(--yh-burgundy);
  border: 1px solid #9b4760;
  border-radius: 2px;
  color: #fff;
  font-weight: 800;
  letter-spacing: .05em;
  padding: .8rem 1.4rem;
  text-transform: uppercase;
}

.btn-yh:hover,
.btn-yh:focus {
  background: #55192d;
  border-color: #55192d;
  color: #fff;
}

.btn-outline-yh {
  border: 2px solid var(--yh-navy);
  border-radius: 2px;
  color: var(--yh-navy);
  font-weight: 800;
  text-transform: uppercase;
}

.btn-outline-yh:hover,
.btn-outline-yh:focus {
  background: var(--yh-navy);
  color: #fff;
}

.section-title {
  color: var(--yh-navy);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1;
}

.section-intro {
  color: #3e4b5d;
  font-size: 1.05rem;
}

.path-card,
.program-card,
.event-card,
.experience-card,
.contact-card {
  height: 100%;
  border: 1px solid var(--yh-line);
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(7,31,59,.07);
  overflow: hidden;
}

.path-number {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--yh-burgundy);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
}

.card-heading {
  color: var(--yh-navy);
  font-size: 1.85rem;
  line-height: 1;
}

.program-list {
  margin: 0;
  padding-left: 1.15rem;
}

.program-list li { margin-bottom: .4rem; }
.program-list li::marker { color: var(--yh-burgundy); }

.soft-section { background: var(--yh-ice); }

.navy-section {
  background: linear-gradient(120deg, var(--yh-navy), #0d335d);
  color: #fff;
}

.navy-section .section-title,
.navy-section .card-heading { color: #fff; }

.event-status {
  display: inline-block;
  padding: .3rem .65rem;
  background: var(--yh-burgundy);
  color: #fff;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.event-meta {
  color: #5a6675;
  font-size: .9rem;
}

.link-arrow {
  color: var(--yh-navy);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.experience-card .icon-circle,
.connect-card .icon-circle {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--yh-blue);
  border-radius: 50%;
  color: var(--yh-blue);
  font-size: 1.7rem;
}

.connect-card {
  height: 100%;
  padding: 2rem;
  border-right: 1px solid rgba(255,255,255,.25);
}

.building-strip {
  border-top: 1px solid var(--yh-line);
  background: #fff;
}

.subpage-hero {
  background: linear-gradient(110deg, #071f3b, #164e7f);
  color: #fff;
  padding: 4rem 0;
}

.subpage-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: .95;
}

.subpage-hero p {
  max-width: 760px;
  font-size: 1.1rem;
  line-height: 1.65;
}

.eyebrow {
  color: var(--yh-light-blue);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.info-panel {
  border-left: 6px solid var(--yh-burgundy);
  background: #fff;
  box-shadow: 0 6px 20px rgba(7,31,59,.07);
}

.contact-table th {
  background: var(--yh-navy);
  color: #fff;
}

.filter-btn.active {
  background: var(--yh-navy);
  border-color: var(--yh-navy);
  color: #fff;
}

footer {
  background: #221f1f;
  color: #fff;
  padding-top: 25px;
  padding-bottom: 25px;
  margin-bottom: 0;
}

footer .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
}

footer .social-icon:hover { color: #8fc8ff; }
footer .footer-link { color: #fff; text-decoration: none; }
footer .footer-link:hover { color: #8fc8ff; }
footer .social-icon svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }

@media (max-width: 991.98px) {
  .hero-home .hero-copy { padding: 3rem 0; }
  .hero-home .photo-placeholder { min-height: 360px; }
  .connect-card { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
}

@media (max-width: 767.98px) {
  .hero-home h1 { font-size: 3.4rem; }
  .section-title { font-size: 2.4rem; }
  footer .d-flex.justify-content-center { flex-wrap: wrap; gap: .8rem; }
}

/* =========================================================
   Base Colors
========================================================= */
:root {
  --brand-blue: #255184;
  --brand-red: #880026;
  --dark-bg: #221f1f;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --black: #000000;
}

/* =========================================================
   Resets / Layout
========================================================= */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* =========================================================
   Header / Footer / Headings (unchanged)
========================================================= */
header { background-color: var(--brand-blue); }
header img { border-bottom: 5px solid var(--brand-red); }




footer {
  background-color: var(--dark-bg);
  color: var(--white);
  padding-top: 25px;
  padding-bottom: 25px;
  margin-bottom: 0 ;
  flex-shrink: 0;
}

h1, h2, h3, h4 { color: var(--brand-red); font-weight: bold; }
h1 { font-size: 2.50rem; }
h2 { font-size: 2.00rem; }
h3, h4 { font-size: 2rem; }

.section-title { color: var(--brand-blue); margin-bottom: 1rem; font-weight: bold; }
.section-content { background-color: var(--light-bg); padding: 2rem; border-radius: 8px; color: #221f1f; }
hr { border: 0; border-top: 2px solid var(--brand-red); margin: 2rem 0; }

/* =========================================================
   BENEFITS, ACCORDION, PARALLAX, SOCIAL, ETC. (unchanged)
========================================================= */
.benefits-wrapper {
  background-color: var(--brand-blue);
  padding: 2rem;
  color: var(--white);
  width: 100vw;
  margin-left: calc(-100vw / 2 + 50%);
  margin-right: calc(-100vw / 2 + 50%);
}
.benefits-section { max-width: 1366px; margin: 0 auto; }
.benefit-card {
  background-color: var(--light-bg);
  color: #221f1f;
  border: 1px solid var(--brand-red);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}
.benefit-card:hover { transform: scale(1.05); box-shadow: 0 4px 8px rgba(0,0,0,0.2); }
.benefit-icon { font-size: 2.25rem; color: var(--brand-red); margin: 1rem 0; }
.benefit-title { font-size: 1.3rem; font-weight: bold; color: var(--brand-blue); margin-bottom: 0.5rem; }
.benefit-description { font-size: 1.125rem; color: #221f1f; }
.why-join-content { font-size: 1.125rem; }

.accordion-button { background-color: var(--brand-blue); color: var(--white); border: none; }
.accordion-button:not(.collapsed) { color: var(--brand-blue); background-color: var(--white); }
.accordion-body { background-color: var(--light-bg); color: #000; }

/* Parallax */
.parallax-section {
  width: 100vw;
  height: 350px;
  background-image: url('https://kseblobstorage.blob.core.windows.net/sitefiles/avalanche-a-list-fy24-25/Mac-Celley.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  margin-left: calc(-100vw / 2 + 50%);
  margin-right: calc(-100vw / 2 + 50%);
  padding: 0;
  position: relative;
}
.parallax-content { z-index: 2; padding: 20px; background: rgba(0,0,0,0.5); border-radius: 8px; }
.parallax-content h2 { margin: 0; font-size: 2rem; }
.parallax-content p { margin: 10px 0 0; font-size: 1.2rem; }

/* Social + Footer links */
.social-icon { font-size: 2rem; color: var(--white); margin: 0 15px; transition: color .3s, transform .3s; }
.social-icon:hover { color: var(--brand-blue); transform: scale(1.2); }
.footer-link { color: var(--white); text-decoration: none; transition: color .3s; }
.footer-link:hover { color: var(--brand-blue); }

/* =========================================================
   NAVBAR — aligned to index page styles
========================================================= */
.navbar {
  background-color: var(--black) !important;
  padding: 0.75rem 1rem;
}

/* Brand logo sizing */
.navbar .navbar-brand img { height: 50px; }
/* If you place a wordmark image right after the brand logo */
.navbar .navbar-brand + img { height: 30px; }

/* Nav list spacing and wrapping */
.navbar-nav {
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Toggler icon */
.navbar-toggler-icon {
  width: 1.5em;
  height: 1.5em;
  background-image: url('https://kseblobstorage.blob.core.windows.net/sitefiles/Avalanchetix/menu.png') !important;
}

/* Links */
.nav-link,
.nav-link-custom {
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0.5rem 0.75rem;
  transition: color .2s ease-in-out, background-color .2s ease-in-out;
  border-radius: 4px;
}

.nav-link:hover,
.nav-link:focus,
.nav-link-custom:hover,
.nav-link-custom:focus {
  color: var(--white) !important;
  background-color: var(--brand-blue);
}

/* Active state */
.nav-link-custom.active {
  background-color: var(--brand-blue);
  color: var(--white) !important;
}

/* Dropdown */
.dropdown-menu {
  background-color: var(--black);
  border: none;
  border-radius: 4px;
  padding: 0.5rem 0;
}
.dropdown-item {
  color: var(--white);
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  transition: background-color .2s, color .2s;
}
.dropdown-item:hover { background-color: #222; color: var(--brand-blue); }

/* Optional helper if using .navbar-light anywhere */
.navbar-light { background-color: var(--black) !important; }

/* Responsive tweaks to mirror index */
@media (max-width: 991.98px) {
  .navbar-nav { gap: 0.5rem; align-items: flex-start; }
  .navbar .navbar-brand img { height: 40px; }
  .navbar .navbar-brand + img { height: 26px; }
}

/* =========================================================
   Avalanche Brand Button Overrides (kept)
========================================================= */
.btn-primary {
  background-color: #6F263D !important;
  border-color: #6F263D !important;
  color: #ffffff !important;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #501C2D !important;
  border-color: #501C2D !important;
}
.btn-success {
  background-color: #236192 !important;
  border-color: #236192 !important;
  color: #ffffff !important;
}
.btn-success:hover,
.btn-success:focus {
  background-color: #1A466E !important;
  border-color: #1A466E !important;
  color: #ffffff !important;
}

.card-title {
  font-size: 0.85rem;
  font-weight: bold;
}

.card-subtitle {
  font-size: 0.80rem;
}

.game-time {
  font-size: 0.40rem;
  font-style: italic;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
}

.social-icon i,
.social-icon svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: middle;
}

.social-icon svg {
  fill: currentColor;
  position: relative;
  top: 7px; /* tweak up/down 1–2px if needed */
}
