* {
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

:root {
  --primary-color: #932835;
  --secondary-color: #eae0d5;
  --third-color: #B2505A;
  --text-color: #0a0908;
  --white-color: #fffffe;
  --menu-color: #e1ddd9;
  --navbar-height: 75px;
}


    .judul-halaman {
      text-align: center;
      margin: 80px 0 40px;
    }

    .judul-halaman h1 {
      font-size: 2.2rem;
      font-weight: 700;
      color: var(--primary-color);
      margin-top: 120px;
    }

    .judul-halaman h3 {
      font-size: 1.3rem;
      font-weight: 500;
      color: var(--primary-color);
    }

     .judul-halaman h4 {
       font-size: 2.2rem;
      font-weight: 700;
      color: var(--primary-color);
      margin-top: 80px;
    }

    .card {
      border-radius: 15px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      background-color: #fff;
      padding: 25px;
      margin-bottom: 30px;
    }

    .foto-mahasiswa {
      width: 150px;
      height: 190px;
      object-fit: cover;
      border-radius: 10px;
      margin-bottom: 15px;
      border: 2px solid #ddd;
    }

    .info td {
      padding: 8px 12px;
      font-size: 16px;
    }

    .list-layanan {
      font-size: 15px;
      padding-left: 18px;
    }

    .btn-maroon {
      background-color: #6f1d1b;
      border: none;
      color: white;
      padding: 10px 20px;
      border-radius: 30px;
      font-weight: 600;
      text-align: center;
      width: 100%;
    }

    .btn-maroon:hover {
      background-color: #5a1614;
    }

    .text-muted-italic {
      font-style: italic;
      color: var(--primary-color);
      margin-top: 10px;
    }

    /* Forum & Pengumuman */
    .custom-card {
      background: #ffffff;
      border-radius: 15px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
      padding: 25px;
      border-left: 5px solid #6f1d1b;
      transition: transform 0.3s ease;
    }

    .custom-card:hover {
      transform: translateY(-5px);
    }

    .icon-circle {
      width: 45px;
      height: 45px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
    }

    .bg-maroon {
      background-color: var(--primary-color);
    }

    .text-maroon {
      color: var(--primary-color);
    }
  


/*Nilai */
.custom-table {
  background-color: var(--white-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 12px var(--shadow-light);
}

.custom-table th,
.custom-table td {
  vertical-align: middle !important;
  padding: 12px 15px;
  font-size: 15px;
  color: var(--text-color);
}

.custom-table thead th {
  font-weight: 600;
  font-size: 16px;
  border-bottom: 3px solid var(--third-color);
}

.custom-table tbody tr:hover {
  background-color: var(--secondary-color);
  cursor: default;
  transition: background-color 0.3s ease;
}

/* Link PDF */
.custom-table a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.custom-table a:hover {
  color: var(--third-color);
  text-decoration: underline;
}

/* Responsiveness */
@media (max-width: 576px) {
  .custom-table th,
  .custom-table td {
    padding: 10px 8px;
    font-size: 14px;
  }

  .judul-halaman h1 {
    font-size: 1.8rem;
  }
}



/*Mata Kuliah */
.matkul-card {
  border-radius: 15px;
  background-color: var(--white-color);
  box-shadow:
    0 6px 18px rgba(147, 40, 53, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.matkul-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 14px 36px rgba(178, 80, 90, 0.35);
}

.matkul-card .card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 25px;
}

.matkul-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.2;
}

.matkul-card-text {
  font-size: 1rem;
  color: var(--text-color);
  flex-grow: 1;
  margin-bottom: 25px;
  font-weight: 500;
}

.matkul-btn {
  align-self: flex-start;
  background-color: var(--primary-color);
  border: none;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  color: var(--white-color);
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 12px rgba(147, 40, 53, 0.3);
}

.matkul-btn:hover,
.matkul-btn:focus {
  background-color: var(--third-color);
  box-shadow: 0 8px 20px rgba(178, 80, 90, 0.6);
  color: var(--white-color);
  text-decoration: none;
  outline: none;
}

@media (max-width: 768px) {
  .judul-halaman h1 {
    font-size: 1.8rem;
    margin-top: 80px;
    letter-spacing: 1.2px;
  }

  .matkul-card-title {
    font-size: 1.2rem;
  }

  .matkul-card-text {
    font-size: 0.95rem;
  }

  .matkul-btn {
    padding: 10px 22px;
    font-size: 0.95rem;
  }
}

/* mahasiswa-style.css */

* {
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

:root {
  --primary-color: #932835;
  --secondary-color: #eae0d5;
  --third-color: #B2505A;
  --text-color: #1f2937;
  --white-color: #fffffe;
  --menu-color: #e1ddd9;
  --navbar-height: 75px;
  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-medium: rgba(178, 80, 90, 0.15);
}

/* Detail Matkul */

.detail-container {
  margin-top: 100px;
  margin-bottom: 5rem;
  max-width: 900px;
  padding: 0 20px;
}

.desc-matkul {
  background-color: var(--white-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 8px var(--shadow-light);
  margin-bottom: 40px;
}

.desc-matkul h1 {
  font-size: 28px;
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 20px;
}

.desc-matkul h4 {
  font-size: 18px;
  font-weight: 500;
  color: #374151;
  margin-top: 20px;
  margin-bottom: 5px;
}

.desc-matkul p {
  font-size: 16px;
  color: #4b5563;
  margin: 0;
  white-space: pre-line;
}

.btn-light {
  background-color: #e0f2fe;
  color: #0284c7;
  font-weight: 500;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  margin-right: 10px;
}

.btn-light:hover,
.btn-light:focus {
  background-color: #bae6fd;
  color: #0369a1;
  text-decoration: none;
  outline: none;
}

.list-materi {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 8px var(--shadow-light);
}

.list-materi h3 {
  font-size: 24px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 20px;
}

.list-materi ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 0;
}

.list-materi li {
  margin-bottom: 25px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 15px;
}

.list-materi h5 {
  font-size: 18px;
  font-weight: 600;
  color: #1d4ed8;
  margin-bottom: 5px;
}

.list-materi p {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 0;
  white-space: pre-line;
}

@media (max-width: 768px) {
  .judul-halaman h1.detail-title {
    font-size: 28px;
  }

  .desc-matkul h1 {
    font-size: 22px;
  }

  .list-materi h5 {
    font-size: 16px;
  }

  .btn-light {
    width: 100%;
    margin-bottom: 10px;
    margin-right: 0;
  }
}


/* ===== Desain untuk halaman Daftar Dosen ===== */
.dosen h2 {
  font-weight: 700;
  color: var(--primary-color, #932835);
  margin-top: 100px;
  margin-bottom: 50px;
  text-align: center;
}

.dosen-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 480px;
  border-radius: 12px;
  background-color: var(--white-color, #fffffe);
  box-shadow: 0 4px 10px rgba(147, 40, 53, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dosen-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(147, 40, 53, 0.3);
}

.dosen-card .card-img-top {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin: 15px auto 10px;
  border: 3px solid var(--primary-color, #932835);
}

.dosen-card .card-title {
  font-weight: 600;
  text-align: center;
  color: var(--primary-color, #932835);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.dosen-card .card-body p {
  font-size: 0.95rem;
  color: var(--text-color, #0a0908);
  margin-bottom: 6px;
  text-align: center;
}

.dosen-card ul.list-group {
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  margin-top: auto;
}

.dosen-card ul.list-group li {
  font-size: 0.9rem;
  color: var(--text-color, #0a0908);
  border: none;
  border-top: 1px solid #ddd;
  text-align: center;
  padding: 8px 15px;
}

.dosen-card .card-footer {
  background-color: transparent;
  border-top: none;
  text-align: center;
  padding: 15px 0 10px;
}

.dosen-card .btn-success {
  background-color: var(--third-color, #B2505A);
  border: none;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.dosen-card .btn-success:hover {
  background-color: var(--primary-color, #932835);
  color: #fff;
}

/* Responsive tweaks */
@media (max-width: 576px) {
  .dosen-card {
    min-height: auto;
  }

  .dosen-card .card-img-top {
    width: 80px;
    height: 80px;
  }

  .dosen h2 {
    margin-top: 60px;
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
}

