.lead {
  font-size: 18px;
  font-weight: 400;
}

.intro-header {
  position: relative;
  text-align: center;
  color: #f8f8f8;
  overflow: hidden; /* Ensure no overflow from the image */
  width: 100%;
  height: 70vh; /* Full viewport height */
}

.intro-header .intro-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure the image covers the entire container */
}

.intro-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Optional: adds contrast */
}

.intro-message > h1 {
  margin: 0;
  font-size: 5em;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
}

.intro-message > h2 {
  color: #f8f8f8;
}

.intro-divider {
  width: 400px;
  border-top: 1px solid #f8f8f8;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.intro-message > h3 {
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
}

@media (max-width: 767px) {
  .intro-header {
    height: 90vh; /* Increase height for mobile (60% of viewport height) */
  }

  .intro-message {
    padding-bottom: 10% 5%;
    width: 90%;
  }

  .intro-message > h1 {
    font-size: 3em;
  }

  ul.intro-social-buttons > li {
    display: block;
    margin-bottom: 20px;
    padding: 0;
  }

  ul.intro-social-buttons > li:last-child {
    margin-bottom: 0;
  }

  .intro-divider {
    width: 100%;
  }
}

.network-name {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
}

.content-section-a {
  background-color: #f8f8f8;
  padding: 50px 0;
}

.content-section-b {
  border-top: 1px solid #e7e7e7;
  border-bottom: 1px solid #e7e7e7;
  padding: 50px 0;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading-spacer {
  border-top: 3px solid #e7e7e7;
  width: 200px;
  float: left;
}

.banner {
  padding: 100px 0;
  color: #f8f8f8;
  background: url(../img/banner-bg.jpg) no-repeat center center;
  background-size: cover;
}

.banner h2 {
  margin: 0;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
  font-size: 3em;
}

.banner ul {
  margin-bottom: 0;
}

.banner-social-buttons {
  float: right;
  margin-top: 0;
}

@media (max-width: 1199px) {
  ul.banner-social-buttons {
    float: left;
    margin-top: 15px;
  }
}

@media (max-width: 767px) {
  .banner h2 {
    margin: 0;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
    font-size: 3em;
  }

  ul.banner-social-buttons > li {
    display: block;
    margin-bottom: 20px;
    padding: 0;
  }

  ul.banner-social-buttons > li:last-child {
    margin-bottom: 0;
  }
}

/* Dark mode styles for landing page */
body.dark .content-section-a {
  background-color: #333 !important;
  color: #ccc !important;
}

body.dark .content-section-b {
  background-color: #2a2a2a !important;
  border-top-color: #555 !important;
  border-bottom-color: #555 !important;
  color: #ccc !important;
}

/* Ensure all text elements in content sections are properly colored */
body.dark .content-section-a p,
body.dark .content-section-b p,
body.dark .content-section-a .lead,
body.dark .content-section-b .lead {
  color: #ccc !important;
}

body.dark .content-section-a .section-heading,
body.dark .content-section-b .section-heading {
  color: #fff !important;
}

body.dark .section-heading-spacer {
  border-top-color: #555 !important;
}

body.dark .headline {
  color: #ccc !important;
}

body.dark .headline h2 {
  color: #fff !important;
}

/* Ensure buttons remain visible in dark mode */
body.dark .intro-message .btn-default {
  background-color: #555 !important;
  border-color: #777 !important;
  color: #fff !important;
}

body.dark .intro-message .btn-default:hover {
  background-color: #666 !important;
  border-color: #888 !important;
  color: #fff !important;
}
