body {
  font-family: 'Open Sans', sans-serif;
  background: 
    radial-gradient(
      ellipse at top left,
      blue,
      transparent 30%
    ),
    radial-gradient(
      ellipse at bottom right,
      blue,
      transparent 30%
    );
  background-color: #0E1B2B; /* fallback base color */
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* Tagline inline (header) */
.tagline-inline {
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  font-weight: 600;
  margin-left: 0.75rem;
  white-space: nowrap;
  letter-spacing: 0.2px;
}
@media (min-width: 768px) {
  .tagline-inline { font-size: 1.05rem; }
}

.hero-banner {
  background: linear-gradient(90deg, rgba(33,37,41,0.98), rgba(44,62,80,0.98));
  border-top: 1px solid rgba(255,255,255,0.04);
}
.hero-text {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}
@media (min-width: 768px) {
  .hero-text { font-size: 1.25rem; }
}

/* subtle fade-in for the hero */
.hero-banner { opacity: 0; transform: translateY(6px); animation: heroFade 520ms ease forwards; }
@keyframes heroFade { to { opacity: 1; transform: none; } }

/* Article filter radio buttons - enhanced visibility */
.article-filter {
  width: 1.5em;
  height: 1.5em;
  border: 2.5px solid #6c757d;
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background-color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.article-filter:hover {
  border-color: #495057;
  box-shadow: 0 0 0 3px rgba(107, 114, 122, 0.1);
}

/* Gallery cards: make cards stretch and images fill their ratio container */
.album .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border-radius: 12px;

}

.album .card .ratio {
  width: 100%;
}

.album .card .ratio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album .card .card-body {
  flex: 1 1 auto;
}

/* Smaller text on very narrow screens to avoid wrapping too much */
@media (max-width: 360px) {
  .album .card .card-title { font-size: 0.95rem; }
}

.bg-custom-dark {
  background-color: rgb(59,59,59) !important;
}

.navbar.bg-custom-dark .nav-link,
.navbar.bg-custom-dark .navbar-brand {
  color: #ffffff !important;
}

header > div.navbar {
  padding-top: 0px;
  padding-bottom: 0px;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.rounded-section {
  border-radius: 20px;
  overflow: hidden; /* ensures background + inner content follow the curve */
}

section:nth-of-type(1) {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

section:nth-of-type(2) {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

footer {
  text-align: center;
  padding: 0.5rem 0 !important;
}

/* Contact page text color */
.contact-text {
  color: #E6EAED;
}

/* Contact form inputs */
.contact-input {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 0.5rem !important;
  color: #E6EAED !important;
}

.contact-input::placeholder {
  color: #999999;
}

.contact-input:focus {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #E6EAED !important;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Hero heading responsive sizing */
.display-3 {
  line-height: 1.2;
  color: #E6EAED;
}

@media (max-width: 768px) {
  .display-3 {
    font-size: 2.5rem;
  }
}

/* Larger hero section */
@media (min-width: 768px) {
  section:first-of-type {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}
