/* Add transition and transform properties for card hover effect */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

.card:hover {
  transform: translateY(-10px); /* Slightly move up on hover */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Add shadow for the popping effect */
}

body {
  font-family: "Secure Sans Pro", serif;
  padding-top: 56px;
  background: linear-gradient(135deg, #e0f7fa 0%, #e8f5e9 50%, #fffde7 100%);
  background-attachment: fixed;
}

html {
  scroll-behavior: smooth;
}

.navbar-nav {
  margin: 0 auto;
}
h2 {
  font-family: "Playfair Display", serif;
  font-weight: 800; /* or use 700 for bold */
}
p {
  font-size: 20px;
}
.navbar-nav .nav-link {
  font-size: 1.3rem;
  font-weight: 600;
}

.nav-link.active {
  font-weight: bold;
  color: #007bff !important;
  border-bottom: 2px solid #007bff;
}

section {
  padding: 60px 0;
}

.carousel {
  margin-top: 0;
}

.carousel-item img {
  height: 650px;
  max-height: 90vh;
  object-fit: cover;
  border-radius: 10px;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 10px;
}

.container.carousel-container {
  padding: 0;
}

.custom-hr {
  border: 0;
  height: 2px;
  background-color: #383838;
  margin: 40px 60px;
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.card {
  flex: 1 1 calc(25% - 20px);
  display: flex;
  flex-direction: column;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  flex: 1;
  padding: 15px;
}

footer {
  background: #f8f9fa;
  padding: 20px;
  text-align: center;
  margin-top: 60px;
}

@media (max-width: 768px) {
  .card {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .card {
    flex: 1 1 100%;
  }
}
#credits {
  padding: 60px 0;
  background: #f0f8f6;
  text-align: center;
}

#credits h2 {
  font-family: "DM Serif Text", serif;
  font-size: 36px;
  color: #2c5046;
  margin-bottom: 10px;
}

.credits-intro {
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #3d5d54;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
}

.credits-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  flex-direction: column;
}

.credits-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start; /* Default row alignment */
}

.credits-row.centered {
  justify-content: center; /* Center align the 2nd row */
}

.credits-member {
  width: 100px;
  text-align: center;
  flex: 1 1 100px;
}

.credits-member img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #2c5046;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.credits-member img:hover {
  transform: scale(1.05);
}

.credits-member p {
  font-size: 13px;
  margin-top: 8px;
  color: #224740;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
}

.member-link {
  text-decoration: none;
  color: inherit;
  display: block; /* Fixes layout spacing issue */
}

