/* nav */

.navbar {
  display: flex;
  align-items: center;
  justify-content: center; /* pushes first logo left, second logo right */
  background-color: rgb(30, 30, 139);

  padding: 10px 20px;
  font-family: 'Segoe UI', sans-serif;
  height: 70px;
  gap: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0 70px; /* centers the nav links between logos */
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #FFD700;
}

.logo img {
  height: 100%;
  width: 100%;
  margin-top: 8px;
}

/* Mobile */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
  }
}




.index--section {
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Make Swiper full width and center aligned */
.swiper {
  margin-top: 70px;
  width: 100%;
  height: calc(45vh - 70px);
  overflow: hidden;
  border-radius: 0 !important;
}

/* Style each slide */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Image inside slides */
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
}

/* Pagination bullets */
.swiper-pagination-bullet {
  background: #999;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #007bff;
}

/* Navigation buttons */
.swiper-button-next,
.swiper-button-prev {
  /* color: #007bff; */
  color: white;
  font-weight: bold;
  transition: transform 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: scale(1.2);
}




.achievements-section {
    padding: 50px 20px;
    /* background: linear-gradient(135deg, #f4f7fb, #eaf0f8); */
    max-width: 1100px;   /* limits total width */
    margin: 0 auto;      /* centers the section */
}
.achievements-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}


.achievement-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 30px rgba(0,0,0,0.15);
}

.achievement-text {
    flex: 1;
    padding: 25px 30px;
}

.achievement-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0a2a66;
    margin-bottom: 15px;
    border-left: 5px solid #007bff;
    padding-left: 10px;
}

.achievement-description {
    color: #444;
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.6;
}

.achievement-date {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 20px;
}

.btn-view {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-view:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.achievement-image {
    flex: 0 0 320px;
    max-height: 300px;
    /* max-height: auto; */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.achievement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.achievement-card:hover .achievement-image img {
    transform: scale(1.05);
}

/* Alternating layout for variety */
/* .achievement-card:nth-child(even) {
    flex-direction: row-reverse;
} */

/* Responsive adjustments */
@media (max-width: 992px) {
    .achievement-card {
        flex-direction: column;
    }
    .achievement-image {
        flex: unset;
        max-height: 220px;
    }
}
