body {
  background: #2d2e2d;
}

/* Your provided carousel CSS */
.image-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: opacity 3s ease-out;
}

.image-carousel.fade-out {
  opacity: 0;
}

.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 1;
  transition: opacity 2s ease-in-out;
}

.carousel-image.active {
  opacity: 1;
}

.carousel-image:not(.active) {
  opacity: 0;
}

/* H1 and H2 styling */
.image-carousel h1,
.image-carousel h2 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: white;
  text-align: center;
}

h1 {
  top: 40%;
  font-family: "Engravers MT", "Cinzel", serif;
  font-size: 4rem;
}

h2 {
  top: 55%;
  font-family: "Engravers MT", "Cinzel", serif;
  font-size: 1.5rem;
}

.scroll-prompt {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  text-align: center;
  cursor: pointer;
}

.scroll-text {
  color: #ffffff;
  font-family: "Courier New", monospace;
  font-size: 2rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  border-right: 2px solid #e8c294;
  padding-right: 5px;
  animation: blink-cursor 1s infinite;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@keyframes blink-cursor {
  0%,
  50% {
    border-color: #e8c294;
  }
  51%,
  100% {
    border-color: transparent;
  }
}

.text-container {
  position: relative;
  z-index: 10;
  background: #2d2e2d;
  padding: 20px 40px;
  max-width: 1000px;
  margin: 0 auto 0 auto;
  color: #ffffff;
  font-family: "Courier New", monospace;
  line-height: 1.7;
  font-size: 1.2rem;
  font-weight: 550;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.text-container p {
  margin: 0 0 15px 0;
  line-height: 1.4;
}

.text-container p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .text-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.section-title {
  position: relative;
  z-index: 10;
  background: #2d2e2d;
  color: #ffffff;
  font-weight: 500;
  font-family: "Courier New", monospace;
  font-size: 2rem;
  text-align: center;
  padding: 40px;
  margin: 100vh auto 0 auto;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-subtitle {
  position: relative;
  z-index: 10;
  background: #2d2e2d;
  color: #ffffff;
  font-family: "Courier New", monospace;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
  font-size: 1.4rem;
  padding: 40px;
  margin: 0 auto;
  width: 100%;
  letter-spacing: 1px;
}

.video-container {
  position: relative;
  z-index: 10;
  background: #2d2e2d;
  padding: 40px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.video-container iframe {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

.two-column-section {
  position: relative;
  z-index: 10;
  background: #2d2e2d;
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  line-height: 1.7;
  font-size: 1.2rem;
  font-weight: 550;
}

.text-column {
  color: #ffffff;
  font-family: "Courier New", monospace;
  line-height: 1.6;
}

.text-column h3 {
  font-family: "Courier New", monospace;
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 2px;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.gallery-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.gallery-image:hover {
  border-color: #e8c294;
}

.two-column-section.reverse {
  grid-template-columns: 1fr 1fr;
}

.two-column-section.reverse .gallery-column {
  order: 1;
}

.two-column-section.reverse .text-column {
  order: 2;
}
.pdf-column {
  background: #1a2d40;
  padding: 20px;
  border-radius: 8px;
}

.pdf-column iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 4px;
}

.two-column-section.reverse .pdf-column {
  order: 1;
}

.team-section {
  position: relative;
  z-index: 10;
  background: #2d2e2d;
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-title {
  font-family: "Courier New", monospace;
  font-size: 2rem;
  color: #ffffff;
  font-weight: 500;
  text-align: center;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.team-member {
  text-align: center;
  color: #ede1cb;
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #e8c294;
}

.team-name {
  font-family: "Courier New", monospace;
  font-size: 1.2rem;
  color: #e8c294;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-bio {
  font-family: "Courier new", monospace;
  line-height: 1.5;
  font-size: 0.9rem;
  color: #ffffff;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.video-column {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-column iframe {
  width: 100%;
  max-width: 560px;
  height: 315px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .video-column iframe {
    height: 250px;
  }
}

a {
  color: #e8c294;
  text-decoration: underline;
}

a:hover {
  color: #ffffff;
}

.final-section {
  position: relative;
  z-index: 10;
  background: #2d2e2d;
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.final-text-column {
  color: #ffffff;
  font-family: "Courier New", monospace;
  line-height: 1.6;
}

.final-text-column h3 {
  font-family: "Courier New", monospace;
  font-size: 1.5rem;
  margin: 0 0 20px 0;
  color: #e8c294;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.final-video {
  margin-top: 30px;
}

.final-video iframe {
  width: 100%;
  max-width: 560px;
  height: 315px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .final-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #e8c294;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #ede1cb;
}

@media (max-width: 768px) {
  .two-column-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.modal-caption {
  color: #ffffff;
  font-family: "Courier new", monospace;
  text-align: center;
  padding: 15px 20px;
  font-size: 1rem;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 700px;
  background: rgba(45, 46, 45, 0.9);
  border-radius: 4px;
}
/* Comprehensive Mobile Optimization */
@media (max-width: 768px) {
  /* Carousel text sizing */
  h1 {
    font-size: 2rem !important;
    top: 35% !important;
  }
  
  .scroll-text {
    font-size: 1.2rem !important;
  }
  
  /* Section titles */
  .section-title {
    font-size: 1.5rem !important;
    padding: 20px !important;
  }
  
  .section-subtitle {
    font-size: 1.2rem !important;
    padding: 20px !important;
  }
  
  /* Text container */
  .text-container {
    font-size: 0.9rem !important;
    padding: 20px !important;
    grid-template-columns: 1fr !important;
  }
  
  /* Two column sections */
  .two-column-section,
  .final-section {
    padding: 40px 20px !important;
    grid-template-columns: 1fr !important;
    font-size: 0.9rem !important;
  }
  
  .text-column h3,
  .final-text-column h3 {
    font-size: 1.3rem !important;
  }
  
  /* Gallery */
  .image-gallery {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  
  .gallery-image {
    height: 200px !important;
  }
  
  /* Team section */
  .team-section {
    padding: 40px 20px !important;
  }
  
  .team-title {
    font-size: 1.5rem !important;
  }
}
