/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

.image-heading {
  text-align: center;
  margin-top: 1px;
  font-size: 2rem;
  color: #333;
  font-weight: bold;
}

.image-caption {
  text-align: center;
  font-weight: bold;
  font-style: italic;
  font-size: 1.1rem;
  margin-top: 50px;
  margin-bottom: 50px;
  color: #555;
}


.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

/* Background Image */
.background-img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto 30px;
  border-radius: 12px;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: cover;
}

.background-img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* Paragraph Styling */
.paragraph {
  font-size: 1.05rem;
  margin-bottom: 25px;
  text-align: justify;
  padding: 0 10px;
}

/* Video Box */
.media-box {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.media-box iframe {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1313 / 565;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-box iframe:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Image Row */
.image-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
}

.popup-img {
 flex: 1 1 300px; /* Flex-grow, shrink, and basis */
  max-width: 46%; /* Allow two images side-by-side */
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.popup-img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* Back Button */
/* Buttons */
.button-row {
  text-align: center;
  margin: 40px 0;
}

.nav-btn {
padding: 12px 28px;
  background-color: #b30000;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 10px;
  margin: 0 10px;
  box-shadow: none; /* No shadow initially */
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
}

.nav-btn:hover {
 background-color: #ff0000; /* Brighter red on hover */
  transform: scale(1.05);    /* Slight zoom */
  box-shadow: none;          /* No shadow on hover */
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .popup-img {
    max-width: 100%;
  }

  .paragraph {
    padding: 0 5px;
  }
}


/* === Headings === */
h2 {
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #b30000;
  border-left: 6px solid #b30000;
  padding-left: 12px;
}

/* === Paragraphs === */
p {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

/* === Bullet Points === */
ul {
  list-style: disc;
  margin-left: 30px;
  margin-bottom: 25px;
  padding-left: 0;
}

ul li {
  margin-bottom: 10px;
  font-size: 1.02rem;
  line-height: 1.6;
}


