body {
  background-color: #f8f9fa;
  font-family: 'Roboto', sans-serif;
  color: #333;
  overflow-x: hidden;
}

h1, h2, h5 { font-family: 'Playfair Display', serif; }

.navbar {
  background-color: #ffc107;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  position: sticky; top: 0; z-index: 1000;
}

.navbar-brand img { height: 60px; transition: transform 0.3s; }
.navbar-brand img:hover { transform: scale(1.1); }

.resource-section { padding: 60px 0; background-color: #fff; }

.resource-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none; background: linear-gradient(to bottom, #ffffff, #f8f9fa);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  border-radius: 15px; overflow: hidden; animation: fadeIn 1s ease-out;
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.resource-card .card-title { color: #007bff; }

.resource-card .btn {
  background-color: #ffc107; border: none; transition: background-color 0.3s;
}
.resource-card .btn:hover { background-color: #e0a800; }

.story-section { padding: 20px 0; background-color: #f8f9fa; text-align: center; }
.story-section p { font-size: 1.2rem; margin-bottom: 15px; color: #555; }

.story-bar { width: 100%; height: 100px; background-color: #000; position: relative; overflow: hidden; }

@keyframes fadeIn { from {opacity:0;} to {opacity:1;} }

/* ===== Footer (Black, with narrow inner container) ===== */
.site-footer {
  background: #000; /* full-bleed black */
  color: #fff;
}

/* This wraps all footer content in a narrow column */
.footer-inner {
  max-width: 880px; /* "narrow is good" */
  margin: 0 auto; /* centers the content */
  padding: 48px 16px 24px; /* comfortable spacing */
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  max-height: 72px;
  filter: brightness(0) invert(1);
}

#logo img {
    width: 300px;
    margin-top: -5px;
}

.footer-cta .btn-footer {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #111;
  border: 1px solid rgba(255,255,255,0.15);
  color: #ffc107;
  padding: .65rem 1rem;
  border-radius: .6rem;
  width: 100%;
  justify-content: center;
}

.footer-cta .btn-footer:hover { background: #181818; }

.site-footer a { color: #ffc107; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-heading { font-weight: 700; font-size: 1.1rem; margin-bottom: .75rem; color: #fff; }

.footer-list { list-style: none; padding-left: 0; margin: 0; }
.footer-list li { margin: .35rem 0; color: #e9ecef; }

.footer-contact div { color: #e9ecef; }

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: .6rem;
  margin-right: .5rem;
}

.footer-social a:hover { background: #181818; }

.footer-bottom {
  max-width: 880px; /* keep bottom line aligned to the narrow width */
  margin: 0 auto;
  padding: 10px 16px 28px;
  font-size: .95rem;
  color: #cfcfcf;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

/* Small screens: stack nicely */
@media (max-width: 991.98px) {
  .footer-cta .btn-footer { margin-bottom: .75rem; }
  .footer-cols > .col-12 + .col-12 { margin-top: 1.25rem; }
}

.navbar .navbar-nav .nav-link { color: #fff; font-size: 14px; font-family: 'Roboto', sans-serif; }
.navbar .navbar-nav .nav-link:hover { color: #000; }

.welcome-user { color: #fff; font-family: 'Playfair Display', serif; }

