/* ===============================
   KEGIATAN.CSS - HUMAS UNLUWUK
   =============================== */

/* RESET DASAR */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

.sambutan-rektor {
  margin-top: 80px; /* jarak dari atas */
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}


.sambutan-rektor h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
  text-transform: uppercase;
}

.sambutan-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: auto;
  gap: 30px;
}

.sambutan-img img {
  width: 250px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.sambutan-text {
  flex: 1;
  text-align: left;
}

.sambutan-text h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #222;
}

.sambutan-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 15px;
  text-align: justify;
}




/* ========================= */
/* PROFIL PIMPINAN - OFFSET NAVBAR */
.profil-pimpinan {
  padding-top: 120px; /* offset default untuk navbar desktop */
  padding-bottom: 60px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
  background-color: #f8faf8;
  margin-top: 40px;
}

.profil-pimpinan h2 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #0a4d1a;
  font-weight: 700;
}

.profil-pimpinan .subtitle {
  font-size: 18px;
  margin-bottom: 50px;
  color: #555;
}

/* Grid Profil */
.profil-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-items: center;
  align-items: start;
}

/* Card Profil */
.profil-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 20px;
  width: 100%;
  max-width: 350px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

/* Hover efek */
.profil-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Gambar */
.profil-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Nama & Jabatan */
.profil-card h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #0a4d1a;
}

.profil-card .jabatan {
  font-size: 14px;
  color: #777;
}

/* ========================= */
/* RESPONSIVE DESIGN */

/* Laptop & Komputer Standar */
@media (min-width: 1200px) {
  .profil-pimpinan {
    padding-top: 130px;
    margin-top: 50px;
  }
  .profil-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* TV Besar / Ultra Wide */
@media (min-width: 1600px) {
  .profil-pimpinan {
    padding-top: 140px;
    padding-left: 80px;
    padding-right: 80px;
    margin-top: 50px;
  }
  .profil-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .profil-pimpinan {
    padding-top: 150px;
    margin-top: 60px;
  }
  .profil-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .profil-pimpinan {
    padding-top: 160px;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 80px;
  }
  .profil-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .profil-card {
    max-width: 300px;
    margin: 0 auto;
  }
}
