/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f8f9fc;
  color: #222;
}

/* NAVBAR */
nav {
  background: linear-gradient(135deg, #2b2d42, #3a0ca3);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 10;
}

nav .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.2rem;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

nav ul li a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #ffb703;
}

/* HERO */
.hero {
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #3a0ca3, #2b2d42);
  color: white;
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  max-width: 600px;
}

.btn {
  margin-top: 20px;
  background: #ffb703;
  color: #2b2d42;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}
.btn:hover {
  background: #fcbf49;
}

/* PAGE HEADER */
.page-header {
  text-align: center;
  padding: 50px 20px 20px;
}

/* ACHIEVEMENTS */
.achievements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px 40px;
}

.achievement-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.3s;
}
.achievement-card:hover {
  transform: translateY(-5px);
}

/* ACHIEVEMENT CARDS WITH IMAGES */
.achievement-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}

.achievement-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.achievement-text {
  padding: 15px 20px;
}

.achievement-text h2 {
  margin-bottom: 10px;
  color: #3a0ca3;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .achievement-card img {
    height: 160px;
  }
}


/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  padding: 20px 40px;
}

.gallery img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  transition: 0.3s;
}
.gallery img:hover {
  transform: scale(1.05);
}

/* MEMBERS */
.members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  padding: 30px 40px;
  text-align: center;
}

.member img {
  width: 100%;
  border-radius: 50%;
  aspect-ratio: 1/1;
  object-fit: cover;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  transition: 0.3s;
}
.member img:hover {
  transform: scale(1.08);
}

.member p {
  margin-top: 10px;
  font-weight: 500;
}

/* FOOTER */
footer {
  background: #2b2d42;
  color: white;
  text-align: center;
  padding: 10px;
  margin-top: 40px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }
  nav ul {
    width: 100%;
    justify-content: space-around;
  }
  .hero h1 {
    font-size: 2rem;
  }
}


/* HERO ANIMATION */
nav ul li a {
  position: relative;
}
nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffb703;
  transition: width 0.3s ease;
}
nav ul li a:hover::after {
  width: 100%;
}


/* === QUOTES PAGE === */
body.quotes-bg {
  background: linear-gradient(-45deg, #7209b7, #3a0ca3, #4361ee, #4cc9f0);
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
  color: #fff;
}

.quotes-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 40px;
  max-width: 1000px;
  margin: auto;
}

.quote-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: 0.3s ease;
}

.quote-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.quote-text {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

.quote-author {
  display: block;
  text-align: right;
  font-weight: 600;
  color: #e0e0e0;
}

/* Reuse animasi gradasi */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

