/* Globaly styles */
body {
  background-color: black !important;
  padding-top: 70px;
  /*For the fixed nav */
}

/* text & headings */
#section-heading {
  color: white;
  font-weight: bold;
  font-size: 3.5rem;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
  transition: color 0.3s, text-shadow 0.3s;
}

#section-heading:hover {
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.9),
    0 0 30px rgba(255, 255, 255, 0.8);
}

.gold-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, gold, orange);
  border: none;
  margin: 0 auto 2rem auto;
  border-radius: 5px;
  box-shadow: 0 0 10px gold;
}

.tagline {
  font-size: 1.75rem;
  opacity: 0.85;
  color: #fff;
  font-weight: 400;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.4);
  transition: text-shadow 0.3s ease, color 0.3s ease;
}

.tagline:hover {
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.8), 0 0 25px rgba(255, 215, 0, 0.6);
}

/* Alumni Section */
.alumni-section * {
  font-family: "IBM Plex Sans Condensed", sans-serif !important;
}

.alumni-section {
  background: #000;
  padding: 100px 0;
  font-family: "IBM Plex Sans Condensed", sans-serif;
}

/*Alumni card styling*/
.alumni-section .alumni-card {
  height: 400px;
  perspective: 1000px;
  margin-bottom: 30px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  border-radius: 12px;
}

/* Front Face & Back Face of card */
.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-front {
  background: #111;
  align-items: center;
}
.card-back {
  background: #000;
  transform: rotateY(180deg); /* flip vertically */
}

/* Card Content */
.alumni-img-wrapper {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  padding: 3px;
  margin-bottom: 25px;
  overflow: hidden;
}

.alumni-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.alumni-card h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.batch-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.alumni-role {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 15px;
}

.alumni-quote {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
}

.card-back .testimonial-text {
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

.alumni-signature {
  margin-top: auto;
}

.alumni-signature p {
  font-weight: 600;
  margin-bottom: 5px;
}

.alumni-signature small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.card-back .alumni-signature p {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.card-back .alumni-signature small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/*filter buttons styling */
.btn-filter {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: var(--bs-border-radius) !important;
  padding: 10px 25px !important;
  margin: 0 10px 15px !important;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s !important;
}

.btn-filter:hover,
.btn-filter.active {
  color: rgba(255, 255, 255, 1) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5) !important;
  transform: translateY(-2px) !important;
}

/* hover effect */
.alumni-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.alumni-card:hover .card-inner {
  transform: rotateY(180deg);
  transition-delay: 0.5s;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
}

/* Group photo & quote */
/* .group-photo-wrapper {
  position: relative;
  width: 100%;
  display: inline-block;
}

.group-photo {
  width: 100%;
  height: auto;
  display: block;
} */

/* .photo-quote-overlay {
  position: absolute;
  top: 10%; Push it slightly down from the top
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5); Black box only around text
  padding: 0.8rem 1.2rem;
  border-radius: 0.5rem;
  text-align: center;
  max-width: 90%;
  box-sizing: border-box;
}

.photo-quote-text {
  font-size: 2.5rem;
  font-family: "Great Vibes", cursive;
  font-style: italic;
  font-weight: 600;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.4;
} */

/* Responsive Styles */
@media (max-width: 768px) {
  .alumni-card {
    height: 380px;
  }

  .alumni-img-wrapper {
    width: 120px;
    height: 120px;
  }
}
/* 
@media (min-width: 600px) and (max-width: 1024px) {
  .photo-quote-overlay {
    max-width: 80%;
    padding: 1rem 6%;
    top: 12%;
  }

  .photo-quote-text {
    font-size: 1.6rem;
  }
}

@media (max-width: 599px) {
  .photo-quote-overlay {
    padding: 0.5rem 8%;
    top: 8%;
  }

  .photo-quote-text {
    font-size: 1.2rem;
  }
}

@media (max-width: 400px) {
  .photo-quote-overlay {
    bottom: 2%;
    top: 2%;
  }
  .photo-quote-text {
    font-size: 1rem;
  }
} */

/* navbar fix */
nav.scrolled {
  background-color: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(8px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}
