/* Add this to your CSS file (e.g., public/css/custom.css) */
.media-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s;
}

.media-img:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Responsive for small screens */
@media (max-width: 600px) {
  .media-img {
	  height: 100%;

    border-radius: 5px;
  }
}
/* Responsive style for FM 4.0 title paragraph */
.fm-title {
  font-weight: bold;
  color: #ffffff;
  font-size: 2rem;
  text-align: center;
  margin: 30px 0;
  font-family: 'Segoe UI', Arial, sans-serif;
}

@media (max-width: 600px) {
  .fm-title {
    font-size: 1.2rem;
    margin: 18px 0;
  }
}

@media (min-width: 1200px) {
  .fm-title {
    font-size: 2.5rem;
    margin: 40px 0;
  }
}
.pdf-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.pdf-container iframe {
    width: 100%;
    min-height: 400px;
    height: 60vw;
    max-height: 600px;
    border: none;
    display: block;
}
@media (max-width: 600px) {
    .pdf-container {
        padding: 10px;
    }
    .pdf-container iframe {
        height: 70vw;
        min-height: 300px;
        max-height: 400px;
    }
}
.slide-imgs {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Responsive adjustments for mobile */
@media (max-width: 600px) {
    .slide-imgs {
        max-width: 90vw;
        border-radius: 6px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    }
}
  body, html {
      margin: 0;
      padding: 0;
      height: 100%;
    }

    .hero {
      position: relative;
      height: 100vh;
      overflow: hidden;
    }

    .hero video {
      position: absolute;
      top: 50%;
      left: 50%;
      min-width: 100%;
      min-height: 100%;
      width: auto;
      height: auto;
      transform: translate(-50%, -50%);
      z-index: 0;
      
      object-fit: cover;
    }

    .hero-content {
      position: relative;
      z-index: 1;
      color: white;
      text-align: center;
      top: 50%;
      transform: translateY(-50%);
      width: 100%;
    }
    @media (max-width: 900px) {
  .hero {
    height: 60vh;
  }
  .hero video {
    min-width: 100vw;
    min-height: 60vh;
    max-height: 60vh;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 40vh;
  }
  .hero video {
    min-width: 100vw;
    min-height: 40vh;
    max-height: 40vh;
  }
  .hero-content {
    font-size: 1rem;
    padding: 10px;
  }
}

    .hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* Black overlay with 50% opacity */
  z-index: 1;
  pointer-events: none;
}
    .overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4); /* Optional dark overlay */
      z-index: 1;
    }