body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: #fff;
}

/* HEADER */
.main-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(15px);
  background: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* LOGO */
.logo {
  width: 75px;
}

/* TITLE */
.title {
  font-family: 'Libre Bodoni', serif;
  font-size: 32px;
  font-weight: 700;
}

/* NAV */
.nav-link {
  margin: 0 12px;
  font-weight: 500;
  transition: 0.3s;
}

.nav-link:hover {
  color: #c59d5f;
}

/* APPLY BUTTON */
.apply-btn {
  background: linear-gradient(135deg, #c59d5f, #a88245);
  color: white;
  padding: 8px 22px;
  border-radius: 50px;
  border: none;
  transition: 0.3s;
}

.apply-btn:hover {
  background: #a88245;
}

/* HERO */
.hero {
  padding: 100px 0;
}

.hero-title {
  font-family: 'Libre Bodoni', serif;
  font-size: 48px;
}

.hero-sub {
  color: #666;
}

.hero-img {
  max-width: 80%;
  max-height: 420px;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* SECTION */
.section {
  padding: 70px 0;
}

.section-title {
  font-family: 'Libre Bodoni', serif;
  font-size: 32px;
  letter-spacing: -0.5px;
}

/* FEATURE BOX */
.feature-box {
  padding: 35px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.feature-box:hover {
  transform: translateY(-10px);
}

/* AWARDEES */
.awardee-block {
  margin-bottom: 60px;
}

.awardee-block p {
  text-align: justify;
}

.year-title {
  font-family: 'Libre Bodoni', serif;
  color: #c59d5f;
  margin-bottom: 20px;
}

.awardee-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* CAROUSEL */
.carousel-content {
  text-align: center;
}

.carousel-img {
  width: 220px;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.carousel-img:hover {
  transform: scale(1.05);
  transition: 0.3s;
}

/* CONTACT */
.contact-box {
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-box i {
  color: #c59d5f;
  margin-right: 8px;
}

.contact-form input,
.contact-form textarea {
  border-radius: 8px;
}

/* FLOAT BUTTON */
.floating-apply {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #c59d5f;
  color: white;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 999;
  animation: floatBtn 2s infinite ease-in-out;
  transition: 0.3s;
}

.floating-apply:hover {
  background: #a88245;
}

@keyframes floatBtn {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* NAVBAR FIX */
.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* FOOTER */
.footer {
  padding: 25px;
  background: #111;
  color: white;
}

/* FOOTER CONTAINER */
.legacy-graphic-footer {
  width: 100%;
  height: 700px;
  overflow: hidden;
}

.legacy-img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* now safe because ratio is correct */
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .title {
    font-size: 22px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero {
    text-align: center;
  }

  .hero-img {
    margin-top: 30px;
  }

  .legacy-graphic-footer {
    height: 180px;
  }
}
/* ANIMATION */
.legacy-img {
  animation: slowZoom 12s ease-in-out infinite alternate;
}

/* KEYFRAMES */
@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}
/* REMOVE LINK STYLE */
.home-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

/* HOVER EFFECT */
.home-link:hover .title {
  color: #c59d5f;
  transition: 0.3s;
}
.about-img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;   /* 🔥 FIX: shows full image */
  background: #f8f8f8;   /* fills empty space nicely */
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.col-md-5 {
  display: flex;
  align-items: center;
}
h2, h3 {
  margin-bottom: 15px;
}

p {
  line-height: 1.7;
}
@media (max-width: 768px) {
  .about-img {
    max-height: 250px;
    margin-bottom: 20px;
  }
}
.about-img:hover {
  transform: scale(1.02);
  transition: 0.3s;
}
.col-md-5 {
  padding: 20px;
}