/* Custom Color Palette */ :root {
  --navy-blue: #1F3A93;
  --cool-gray: #4A4A4A;
  --teal: #00A79D;
  --gold: #C19A6B;
  --off-white: #F5F5F5;
  --slate: #8A9BA8;
  --blue: #0d6efd;
}
/* General Adjustments */
html, body {
  height: 100%;
}
body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: var(--cool-gray);
  background-color: var(--off-white);
  display: flex;
  flex-direction: column;
  margin: 0;
}
main {
  flex: 1;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Merriweather", serif;
}
/* Hamburger Icon - White */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  width: 1.5rem;
  height: 1.5rem;
}

/* Offcanvas Customizations */
.offcanvas {
  background-color: #1F3A93;
  color: white;
  padding-top: 1rem; /* Add padding for spacing */
}

.offcanvas-title {
  color: white;
  font-size: 1.5rem;
}

.nav-link {
  font-size: 1.2rem;
  padding: 0.75rem 1rem; /* Larger padding for better spacing */
  color: white;
  transition: color 0.3s ease;
}

.nav-link:hover {
  text-decoration: underline;
  color: #FFD700; /* Add highlight effect */
}

/* Spacing Adjustments */
.navbar-toggler {
  margin-right: 1rem; /* Space between toggler and brand */
}


/* accessibility skip */
.skip-to-content {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #1F3A93; /* Matches your navbar */
  color: white;
  padding: 10px 15px;
  font-size: 1rem;
  z-index: 1000;
  text-decoration: none;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}
.skip-to-content:focus {
  transform: translateY(0);
  outline: 2px solid white;
}
/* Full-Width Elements */
.container-fluid {
  padding: 0; /* Ensure full-width elements span edge-to-edge */
}
/* Navbar Styles */
.navbar {
  width: 100%;
  padding: 0;
  background-color: var(--navy-blue);
}
.navbar-logo {
  max-height: 120px;
  height: auto;
  display: block;
  margin: 0;
}
.navbar-brand {
  text-align: left;
}
.nav-link {
  font-size: 1rem;
  color: var(--off-white);
  padding: 0.5rem 1rem;
}
.nav-link:hover {
  color: var(--teal);
}
/* Hero Section */
.hero-section {
  background-color: var(--off-white);
  color: var(--navy-blue);
  text-align: center;
  padding: 0.5rem 0;
  margin-top: 2rem;
}
.hero-section h1 {
  font-size: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1.5s ease-in-out forwards;
}
.hero-section p {
  font-size: 1rem;
  margin-bottom: 1rem;
}
/* Reusable Animation Class */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.5s ease-in-out forwards;
}
/* Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Poem Section */
.poem-section {
  position: relative;
  background-size: cover; /* Ensures the image covers the entire section */
  background-position: center; /* Centers the image */
  background-attachment: fixed; /* Creates a parallax effect */
  color: var(--off-white); /* Keeps the text readable */
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9); /* Dark shadow for contrast */
  padding: 3rem 1rem; /* Padding around content */
  overflow: hidden; /* Prevents overflow of elements */
}
.poem-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay */
  z-index: 0;
}
.poem-section * {
  position: relative;
  z-index: 1; /* Keeps text and content above the overlay */
}
@media (max-width: 768px) {
  .poem-section {
    background-attachment: scroll; /* Disable fixed background for smaller devices */
    background-position: top; /* Adjust position for smaller viewports */
  }
}
#exegesis {
  background-color: #f9f9f9; /* Light background for contrast */
}
.card {
  /*border: none;*/
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
}
.card-body h5 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.card-body h2 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
}
/* end poems */
/* Footer */
footer {
  text-align: center;
  color: var(--cool-gray);
  background-color: var(--navy-blue);
}
hr.style-two {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  margin-left: auto;
  margin-right: auto;
  max-width: 60%;
}
/* Base Styles for Fade-In */
.fade-in-card {
  opacity: 0; /* Start hidden */
  transform: translateY(20px); /* Slightly offset position for effect */
  animation: fadeIn 0.8s ease forwards; /* Animation properties */
}
/* Base Styles for Fade-In */
.fade-in-card {
  opacity: 0; /* Start hidden */
  transform: translateY(20px); /* Offset for visual effect */
  animation: fadeIn 0.8s ease forwards; /* Apply fadeIn animation */
}
/* Keyframes for Fade-In */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Add Delays for Sequential Fade-In */
.fade-in-card:nth-child(1) {
  animation-delay: 0s;
}
.fade-in-card:nth-child(2) {
  animation-delay: 0.4s;
}
.fade-in-card:nth-child(3) {
  animation-delay: 0.6s;
}
.fade-in-card:nth-child(4) {
  animation-delay: 0.8s;
}