/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

html {
  scroll-padding-top: 80px; /* Adjust this based on your header height */
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
}

/* ================= Go to top button ============= */
.back-to-top {
  position: fixed;
  bottom: 30px; /* Distance from the bottom */
  right: 30px; /* Distance from the right */
  width: 50px;
  height: 50px;
  background-color: #c38254fb; /* Background color */
  color: white; /* Text color */
  border-radius: 50%; /* Make it circular */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px; /* Icon size */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Shadow for depth */
  transition: background-color 0.5s, transform 0.5s; /* Smooth transition */
  cursor: pointer; /* Pointer cursor on hover */
  z-index: 9999; /* Ensure it’s on top */
  opacity: 0; /* Initially hidden */
  visibility: hidden; /* Hide it initially */
}

/* Hover Effect */
.back-to-top:hover {
  background-color: #f09b5efb; /* Darker shade on hover */
  transform: scale(1.1); /* Slightly enlarge on hover */
}

/* Visible when scrolled */
.back-to-top.show {
  opacity: 1; /* Fully visible */
  visibility: visible; /* Make it visible */
}
/* ===================== Footer ============================= */
.footer-section {
  background-color: #de1819;
  color: #333;
  padding: 20px 0;
  margin-top: 20px;
}

.footer-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-text {
  font-size: 0.9rem;
  color: #000000;
  font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .footer-link {
    font-size: 0.9rem;
  }
  .footer-text {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .footer-link {
    font-size: 0.8rem;
  }
  .footer-text {
    font-size: 0.7rem;
  }
}

/*================= Lifetime Achievement Awards Section============= */
.awardees-section {
  background-color: #f9f9f9;
  padding: 3rem 1rem;
  h2 {
    font-size: 2.5rem;
    color: rgba(213, 23, 23, 0.77);
    text-align: center;
    margin-bottom: 2rem;
  }
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

.awardees-container {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(250px, 1fr)
  ); /* Responsive columns */
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.awardee-card {
  text-align: center;
  border-radius: 10px;
  background-color: #fff;
  padding: 1rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.awardee-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.awardee-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.awardee-info {
  margin-top: 1rem;
  text-align: center;
}

.awardee-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.5rem;
}

.awardee-department {
  font-size: 1rem;
  color: #777;
  font-style: italic;
}

/* Subtle Fade-in Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.awardee-card {
  animation: fadeIn 0.6s ease-in-out;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }
  .awardee-name {
    font-size: 1rem;
  }
  .awardee-department {
    font-size: 0.9rem;
  }
}

@media (min-width: 576px) and (max-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
  .awardee-name {
    font-size: 1.1rem;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
  .awardee-name {
    font-size: 1.3rem;
  }
  .awardee-department {
    font-size: 1.1rem;
  }
}

/*=============== Endowment Awards Section ========== */
.endowment-section {
  background-color: #f9f9f9;
  padding: 3rem 1rem;
}

.endowment-section h2 {
  font-size: 2.5rem;
  color: rgba(213, 23, 23, 0.77);
  text-align: center;
  margin-bottom: 2rem;
}

.award-title {
  font-size: 1rem;
  font-weight: 700;
  color: #391db3d9;
}

.awardee-card {
  text-align: center;
  border-radius: 10px;
  background-color: #fff;
  padding: 1rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.awardee-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.awardee-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.awardee-info {
  margin-top: 1rem;
  text-align: center;
}

.awardee-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.5rem;
}

.awardee-department {
  font-size: 1rem;
  color: #777;
  font-style: italic;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .award-title {
    font-size: 0.9rem;
  }
  .awardee-name {
    font-size: 1rem;
  }
  .awardee-department {
    font-size: 0.9rem;
  }
}

@media (min-width: 768px) {
  .award-title {
    font-size: 1.1rem;
  }
  .awardee-name {
    font-size: 1.3rem;
  }
  .awardee-department {
    font-size: 1.1rem;
  }
}

/* =================== Centennial Awards Section ========================== */
.centennial_year {
  .awardee-card {
    text-align: center;
    border-radius: 10px;
    background-color: #fff;
    padding: 1rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
  }
  .awardee-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
  }
}
