body {
  font-family: 'Montserrat', sans-serif;
  background-color: #121212;
  color: #f1f1f1;
}

.hero {
  padding: 4rem 1rem;
}

.hero-img {
  width: 50%;
  height: auto;
  border-radius: 10px;
}

.hero-text {
  padding: 1rem 2rem;
  border-radius: 10px;
  max-width: 800px;
}

.section {
  padding: 4rem 0;
}

footer {
  background-color: #1f1f1f;
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

a {
    color: white;
}

.thumbnail-wrapper {
  width: 300px;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
}

.thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This makes sure the image covers the box without distortion */
}

.card-size {
  width: 300px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #333; /* Fallback background color */
  border-radius: 8px;
  overflow: hidden;
}

.thumbnail-wrapper {
  width: 100%;
  height: 200px; /* Fix height for the image section */
  overflow: hidden;
  background-color: #000; /* Background if no image or image doesn't fill */
  display: flex;
  justify-content: center;
  align-items: center;
}

.thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the area without distortion */
  object-position: center; /* Centers the image to avoid cropping important parts */
}

.card-body {
  text-align: center;
  padding: 0.5rem;
  font-size: 0.9rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
}

.accordion-button {
  font-size: 1.1rem;
  padding: 1rem;
  background-color: #444; /* Darker background for better contrast */
}

.card-body {
  padding: 1rem;
}

.card-header {
  background-color: #333;
  border-bottom: 2px solid #555;
}

.card-header .btn {
  text-decoration: none;
}

.modal-fullscreen .modal-content {
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    max-height: 100%;
}

.modal-body-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#modalImage {
    object-fit: contain; /* Ensures the image scales without distortion */
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: auto;
}

.timeline {
  position: relative;
  padding-left: 60px; /* increased for spacing */
  border-left: 2px solid #fff;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-icon {
  position: absolute;
  left: -40px;
  top: 0;
  background-color: #222;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  font-size: 1.25rem;
  border: 2px solid #fff;
}

.timeline-content {
  padding-left: 10px;
}

.timeline-content img {
  max-width: 100%;
  height: auto;
}

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -2;
  overflow: hidden;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.1;
  z-index: -1;
}

.masonry-grid {
  column-count: 3;
  column-gap: 1rem;
}

@media (max-width: 1200px) {
  .masonry-grid {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .masonry-grid {
    column-count: 1;
  }
}

.masonry-item {
  break-inside: avoid;
}

.text-shadow {
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7), 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* force button text colors inside cards to stay light */
.card .btn {
  --bs-btn-color: #f1f1f1;
  --bs-btn-hover-color: #f1f1f1;
  --bs-btn-active-color: #f1f1f1;
}

/* extra safety for the title itself */
.card .card-body .card-title {
  color: #fff !important;
  text-shadow: 0 0 6px rgba(0,0,0,0.7);
}