
body {
  font-family: 'Roboto', sans-serif;
  background-color: #f8f9fa;
  background: url('../images/cgs-bp-bkgrnd.jpeg') repeat;
  background-size: cover;
}

.logo-container {
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4)),
url('../images/flag-wave.png') center center / cover no-repeat;
  color: white;
  text-align: center;
  padding: 2rem;
}

.logo-img {
  max-width: 360px;
  height: auto;
  transition: transform 0.2s ease-in-out;
}

.logo-img:hover {
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  color: #ffffff !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #D50000 !important;
}

.navbar {
  background-color: transparent;
}

.sticky-top {
  z-index: 1030;
}

header.shadow {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.hero-section {
  position: relative;
  width: 100%;
  margin: 50;
  padding-bottom: 50px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: #fff;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.2rem;
  }

  .hero-logo {
    max-width: 280px;
  }
}
@media (max-width: 768px) {
  .hero-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
  }
}


.section-title {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  color: #004568;
     margin-bottom: 30px;
}

footer a:hover {
  color: #FFD700;
}

.custom-header {
  background: linear-gradient(135deg, #0A2342, #1C2E4A);
}

.footer-bg {
  position: relative;
  background: 
    url('../images/bluestarflag.jpg') center center / cover no-repeat;
  color: #ffffff;
}

.footer-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55); /* dark overlay, adjust opacity if needed */
  z-index: 0;
}

.footer-bg .container {
  position: relative;
  z-index: 1; /* keeps your text above the overlay */
}


.footer-bg a {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bg a:hover {
  color: #FFD700;
}

.social-icons a {
  display: inline-block;
  margin: 0 0.5rem;
}

.social-icon {
  width: 32px;
  height: 32px;
  filter: brightness(100%);
  transition: filter 0.3s ease;
}

.social-icon:hover {
  filter: brightness(1.5) sepia(1) hue-rotate(20deg) saturate(5);
}

.container.my-5:first-of-type {
  margin-top: 0 !important;
  padding-top: 1rem;
}

section.container:first-of-type {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Responsive: Mobile */
@media (max-width: 575.98px) {
  .logo-container .lead {
    display: none;
  }

  .logo-img {
    max-width: 200px;
  }
}

/* Responsive: Tablet */
@media (min-width: 576px) and (max-width: 991.98px) {
  header.custom-header {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .logo-container {
    padding: 1rem 0;
  }

  .logo-img {
    max-width: 260px;
  }

  .logo-container .lead {
    font-size: 0.95rem;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
  }

  .navbar {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }

  .navbar-nav .nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.95rem;
  }

  .hero-section {
    min-height: 320px;
    padding: 1rem 0;
    background-position: center top;
  }

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

  .map-section {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .map-section .section-title {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }

  .map-section p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .footer-bg {
    padding: 1.25rem 0;
  }

  .footer-bg p,
  .footer-bg a {
    font-size: 0.9rem;
  }

  .social-icon {
    width: 28px;
    height: 28px;
  }
}

/* Responsive: Mobile */
@media (max-width: 767.98px) {
  header.custom-header {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  .logo-container {
    padding: 0.75rem 0 !important;
  }

  .logo-container .lead {
    font-size: 0.85rem;
    margin: 0.25rem 0;
  }

  .navbar {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }

  .navbar-nav .nav-link {
    padding: 0.3rem 0.75rem;
    font-size: 0.9rem;
    text-align: center;
  }

  header.shadow {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  }

  .hero-section {
    height: auto;
    min-height: 240px;
    padding: 0.5rem 0 !important;
    background-position: center top;
    margin-bottom: 1rem;
  }

  .hero-content {
    top: 6%;
    padding: 0 1rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .map-section {
    padding-top: 0.5rem !important;
    margin-bottom: 1.5rem !important;
  }

  .map-section .section-title {
    margin-bottom: 1rem;
    font-size: 1.25rem;
  }

  .map-section p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
  }

  .footer-bg {
    padding: 1rem 0 !important;
    background-size: cover;
    background-position: center;
  }

  .footer-bg p,
  .footer-bg a {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.3rem;
  }

  .social-icons {
    margin-top: 0.5rem;
  }

  .social-icon {
    width: 24px;
    height: 24px;
  }
}

/* Padding/margin around the entire row */
.section-features {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Optional: add spacing below images */
.section-features img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 15px;
  border: 4px solid #fff; /* white inner border */
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}


/* Equal vertical spacing between all feature items on mobile */
.section-features > [class*="col-"] {
  margin-bottom: 1.5rem; /* ~24px */
}

/* Reduce vertical spacing between rows in the feature section */
.section-features + .section-features {
  margin-top: 0; /* reduces gap between row 1 and row 2 */
}

/* Tighten gap between the two feature rows on mobile; ease up on md+ */
.section-features + .section-features { margin-top: 0; }
@media (min-width: 768px) {
  .section-features + .section-features { margin-top: 0.75rem; }
}

/* Make column bottoms tighter on small screens, normal on md+ */
.section-features > [class*="col-"] { margin-bottom: .5rem; }
@media (min-width: 768px) {
  .section-features > [class*="col-"] { margin-bottom: 1rem; }
}

.section-features img:hover {
  box-shadow: 0 0 20px rgba(201, 164, 76, 0.8); /* softer antique gold glow */
  border-color: #c9a44c; /* softer gold border on hover */
}


.section-features .btn-primary {
  background-color: #004568;
  border-color: #004568;
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.section-features .btn-primary:hover {
  background-color: #004568; /* stays the same base color */
  border-color: #004568;
  color: #fff;
  box-shadow: 0 0 12px rgba(201, 164, 76, 0.9), /* gold glow */
              0 4px 12px rgba(0, 0, 0, 0.3);   /* drop shadow */
  transform: scale(1.02);
}


/* Optional: center text in small screens */
@media (max-width: 768px) {
  .section-features {
    text-align: center;
  }
}
/* ===== Resting Benches page ===== */

/* Minimal page banner (not the same as header) */
.section-banner-min {
  background: #0f1720; /* deep navy */
  color: #fff;
  padding: 28px 0 24px;
  border-bottom: 4px solid #f5d26b; /* gold accent */
  text-align: center;
}
.section-banner-min h1 {
  font-family: 'Oswald', sans-serif;
  margin: 0 0 6px;
  letter-spacing: .4px;
}
.section-banner-min p { margin: 0; opacity: .9; }

/* Subtle background for body */
.section-bg {
  background:
    radial-gradient(circle at 15% 10%, rgba(255,255,255,.07) 0 28%, transparent 29%),
    radial-gradient(circle at 85% 30%, rgba(255,255,255,.05) 0 24%, transparent 25%),
    linear-gradient(180deg, #0b0f14 0%, #15202b 100%);
  color: #fff;
}

.content-wrap { padding: 36px 0 24px; }

/* Sidebar */
.sticky-sidebar { position: sticky; top: 100px; }
.sidebar-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 18px;
}
/* Disable sticky sidebar on mobile/tablet */
@media (max-width: 991.98px){
  .sticky-sidebar { position: static; }
}

.sidebar-box h5 {
  font-family: 'Oswald', sans-serif;
  color: #f5d26b;
  margin: 4px 0 10px;
}
.sidebar-box a { color: #d7e6ff; text-decoration: none; }
.sidebar-box a:hover { text-decoration: underline; }

/* Search */
.search-wrap {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 18px;
}
.form-control.cgs-search {
  background: #0f1720;
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
}
.form-control.cgs-search::placeholder { color: #b8c7dd; }

/* Section pill */
.section-pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(245, 210, 107, .15);
  border: 1px solid rgba(245, 210, 107, .35);
  color: #f5d26b;
  margin: 0 auto 16px;
}

/* Cards */
.honor-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 18px;
}
.honor-card h3 {
  font-family: 'Oswald', sans-serif;
  margin-bottom: 6px;
  color: #fff;
}
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip {
  font-size: 14px; padding: 4px 8px; border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
}

.honor-thumb {
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  background: #0e1621;
}
.honor-thumb img { width: 100%; height: auto; display: block; }

.honor-text { color: #eaf2ff; }
.honor-text p { margin-bottom: 8px; opacity: .95; }

/* put in your main CSS after Bootstrap */
.honor-text .btn-read{
  --cgsgold:#f5d26b;
  background:var(--cgsgold);
  color:#18222e;
  border:none;
  display:block;           /* puts it on its own line so margins show */
  width:fit-content;       /* keep it sized to content */
  margin:20px 0;!important;          /* adds space above and below */
  padding:10px 16px;
  border-radius:999px;
  font-weight:600;
  text-decoration:none;
}



.btn-read {
  --cgsgold: #f5d26b;
  background: var(--cgsgold);
  color: #18222e;
  border: none;
     display: block;
  margin: 20px 0 !important;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}
.btn-read:hover { opacity: .9; }

.soft-divider { height: 1px; background: rgba(255,255,255,.08); margin: 18px 0; }

.no-results {
  display: none;
  background: rgba(255,0,0,.08);
  border: 1px solid rgba(255,0,0,.25);
  color: #ffd0d0;
  border-radius: 10px;
  padding: 10px 12px;
}

/* Accessibility focus */
a:focus, input:focus { outline: 2px dashed #f5d26b; outline-offset: 2px; }


.video-section {
  background-color: transparent !important;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem auto;
  width: 100%;
}

/* Lines on each side */
.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid currentColor;
}

/* The star */
.section-divider .divider-icon {
  font-size: 1.4rem;
  margin: 0 0.75rem;
}

/* Default colors for dark backgrounds */
.section-divider {
  color: rgba(255, 255, 255, 0.4); /* faint line color */
}
.section-divider .divider-icon {
  color: #C2B114; /* gold star */
}

/* Switch to dark lines on light backgrounds */
.section-divider.light {
  color: rgba(0, 0, 0, 0.3);
}
.section-divider.light .divider-icon {
  color: #C2B114;
}

/* Optional: narrower on larger screens */
@media (min-width: 768px) {
  .section-divider {
    width: 50%;
  }
}
/* --- Anchor offset for sticky header --- */
:root {
  --header-offset: 110px; /* desktop header height */
}

/* If your header is taller on mobile, bump it here */
@media (max-width: 991.98px) {
  :root { --header-offset: 140px; }
}

/* Modern browsers: offset anchors globally */
html {
  scroll-padding-top: var(--header-offset);
}

/* Rock-solid fallback for all targets you link to */
.anchor-target::before {
  content: "";
  display: block;
  height: var(--header-offset);
  margin-top: calc(-1 * var(--header-offset));
  visibility: hidden;
}

