body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
  min-height: 100vh;
}

.main-content {
  position: relative;
  z-index: 1; 
  color: #fff;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  color: #2e3a59;
  margin-bottom: 1rem;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  color: #555;
}

.kkn-ketua-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
}

.kkn-kegiatan-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.kkn-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.kkn-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.2);
}

.kkn-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.kkn-info {
  padding: 1rem;
}

.kkn-info h3 {
  margin: 0 0 0.5rem;
  color: #2e3a59;
}

.kkn-info p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.kkn-date {
  font-size: 0.85rem;
  color: #888;
}

.kkn-gallery-photos img:hover {
  transform: scale(1.05);
}

/* Layout dua kolom untuk galeri kegiatan */
.kkn-kegiatan-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Kartu kegiatan */
.kkn-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

/* Info kegiatan */
.kkn-info {
  margin-top: 1rem;
}

.kkn-info h3 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.kkn-info p {
  color: #555;
  margin-bottom: 0.5rem;
}

.kkn-date {
  font-size: 0.875rem;
  color: #888;
}

/* Swiper */
.swiper {
  width: 100%;
  height: 200px;
}

.swiperut {
  width: 100%;
  height: 600px;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #2c3e50;
}

@media (max-width: 768px) {
  .swiper {
    height: 200px;
  }
}

@media (max-width: 768px) {
    .kkn-kegiatan-gallery {
        grid-template-columns: 1fr;
    }
}

.section-kkn-anggota .anggota-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.anggota-card {
  text-align: center;
  background: #f4f4f4;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  justify-content: center;
}

.anggota-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.anggota-card p {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.section-kkn-proker ol {
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  color: #444;
}

.section-kkn-proker p {
  line-height: 1.6;
  color: #444;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .section-title {
    font-size: 1.5rem;
  }

  .anggota-card p {
    font-size: 0.9rem;
  }
}

.section-container {
  text-align: center;
  padding: 40px 20px;
}

.section-container h2 {
  font-size: 24px;
  margin-bottom: 30px;
}

.card-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 160px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.card p {
  margin: 10px 0 5px;
  font-weight: 500;
  color: #444;
}

.card strong {
  display: block;
  color: #111;
  font-size: 16px;
}

/* Khusus tampilan anggota KKN */
.section-kkn-anggota {
  max-width: 1100px;
  margin: 0 auto;
  justify-content: center;
}

.section-kkn-anggota .section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #2e3a59;
  justify-content: center;
  display: flex; 
  flex-direction: column; 
  align-items: center;
}

/* CSS */
.kkn-section {
  padding: 20px 20px;
  background: #f9f9f9;
  text-align: center;
}

.hero-title {
  font-size: 35px;
  font-weight: bold;
  color: #1d1d1d;
  margin-bottom: 40px;
}

.section-kkn-anggota {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.anggota-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.anggota-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.anggota-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.anggota-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: #1f1f1f;
}

.anggota-card p {
  font-size: 14px;
  color: #666;
}


