* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;

}

.gallery-heading {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
  color: #333;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 images per row */
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  /* Center the container */
  padding: 0 30px;
  /* Left and right margin */
  margin-bottom: 25px;
}

.gallery-container img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-container img:hover {
  transform: scale(1.05);
}


.gallery-button-container {
  text-align: center;
  margin-bottom: 40px;
}

.gallery-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.gallery-button:hover {
  background-color: #555;
  transform: scale(1.05);
}

.gallery-button i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.gallery-button:hover i {
  transform: translateX(5px);
}


.video-heading {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  color: #1d72b8; /* A vibrant blue */
  margin: 50px 0 30px;
  position: relative;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 1px;
}

/* Optional underline animation */
.video-heading::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #1d72b8;
  margin: 10px auto 0;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.video-heading:hover::after {
  width: 120px;
}


.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin: 20px auto;
  max-width: 1100px;
  padding: 0 30px;
}

.video {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

.video-title {
  padding: 10px 15px 0 15px;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
}

.video-description {
  padding: 5px 15px 15px 15px;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.4;
  text-align: left;
}