@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;900&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,400&display=swap');

:root {
  --navy:         #1e2533;
  --navy-dark:    #161c28;
  --gold-light:   #e8c96b;
  --text-dark:    #1a1a1a;
  --text-muted:   #4a4a4a;
  --white:        #ffffff;
  --hero-overlay: rgba(20, 25, 38, 0.62);

  /* Login page palette */
  --login-bg:     #343434;
  --login-card:   #d3d9df;
  --login-input:  #EFF0E1;
  --login-btn:    #343434;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Source Serif 4', Georgia, serif;
  color: var(--text-dark);
  background: var(--white);
  margin: 0;
  padding: 0;
  line-height: 1.75;
}

/* NAVBAR*/
.navbar-projost {
  background-color: var(--navy) !important;
  padding: 0.55rem 2rem;
  border-bottom: none;
}

.navbar-projost .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white) !important;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.navbar-projost .navbar-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

/* Nav links — white*/
.navbar-projost .nav-link {
  color: var(--white) !important;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.75rem !important;
  text-transform: none;
  position: relative;
  transition: opacity 0.2s;
}

.navbar-projost .nav-link::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: -2px;
  height: 2px;
  background: var(--white);
  transform: scaleX(0);
  transition: transform 0.22s ease;
}

.navbar-projost .nav-link:hover {
  opacity: 0.8;
}

.navbar-projost .nav-link:hover::after {
  transform: scaleX(1);
}

/* Logout button */
.btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--white) !important;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  padding: 0.38rem 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  white-space: nowrap;
  margin-left: 0.5rem;
}

.btn-logout:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  opacity: 1;
}

/* Logout icon (SVG inline via CSS mask) */
.btn-logout-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  background-color: var(--white);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  flex-shrink: 0;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* 
   FOOTER  (shared across all pages)
    */
.footer-projost {
  background: var(--white);
  border-top: 1px solid #e0e0e0;
  text-align: center;
  padding: 1.2rem 1rem;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.06em;
}

/* 
   ANIMATIONS  (shared)
    */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 
   PAGE: BERANDA (index.php)
    */

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url('../img/Training\(2\).jpg')
    center/cover no-repeat;
  filter: grayscale(30%);
  transform: scale(1.04);
  transition: transform 8s ease;
}

.hero-section:hover .hero-bg {
  transform: scale(1.0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 1rem;
  animation: fadeUp 0.9s ease both;
}

.hero-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
  animation: fadeUp 0.9s 0.15s ease both;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  color: var(--white);
  margin: 0 0 0.3rem;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 18px rgba(0,0,0,0.55);
  animation: fadeUp 0.9s 0.25s ease both;
}

.hero-subtitle {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: clamp(1rem, 3vw, 1.45rem);
  color: var(--gold-light);
  margin: 0;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  animation: fadeUp 0.9s 0.35s ease both;
}

/* Description Section */
.description-section {
  padding: 3.5rem 2rem 3rem;
  max-width: 960px;
  margin: 0 auto;
  animation: fadeUp 0.8s 0.1s ease both;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-dark);
  border-bottom: 2.5px solid var(--text-dark);
  display: inline-block;
  padding-bottom: 2px;
  margin-bottom: 1.3rem;
  letter-spacing: 0.03em;
}

.description-text {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-dark);
  font-weight: 400;
}

/* 
   PAGE: PROFIL (profil.php)
    */

/* Section wrapper */
.profil-section {
  padding: 3rem 1.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Column titles: Visi / Misi / Sejarah */
.profil-col-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 0.55rem;
  letter-spacing: 0.03em;
}

.profil-col-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--text-dark);
  margin: 0.45rem auto 0;
  border-radius: 2px;
}

/* Text cards */
.profil-card {
  background: #dde3ec;
  border-radius: 10px;
  padding: 1.2rem 1.1rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.78;
  color: var(--text-dark);
  height: 100%;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.profil-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
  transform: translateY(-3px);
}

/* Struktur Organisasi */
.org-section {
  padding: 2.5rem 1.5rem 3.5rem;
  text-align: center;
}

.org-section-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 2.2rem;
  letter-spacing: 0.03em;
}

/* 
   PAGE: PROGRAM PELATIHAN (program.php)
    */

/* Page header */
.program-header {
  text-align: center;
  padding: 3rem 1rem 1.5rem;
}

.program-header-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}

.program-header-title::after {
  content: '';
  display: block;
  width: 220px;
  height: 2.5px;
  background: var(--text-dark);
  margin: 0.5rem auto 0;
}

/* Program grid */
.program-section {
  padding: 2rem 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Program card */
.program-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.25s ease;
}

.program-card:hover {
  transform: translateY(-4px);
}

/* Layered image container */
.program-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

/* Background photo layer */
.program-img-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.7);
  transition: filter 0.35s ease, transform 0.4s ease;
}

.program-card:hover .program-img-bg {
  filter: brightness(0.45) saturate(0.6);
  transform: scale(1.04);
}

/* Logo overlay layer */
.program-img-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
}

.program-img-logo img {
  max-width: 72%;
  max-height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.55));
  transition: transform 0.35s ease;
}

.program-card:hover .program-img-logo img {
  transform: scale(1.06);
}

/* Card text */
.program-card-body {
  padding: 0 0.2rem;
}

.program-card-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.program-card-meta {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.65;
  margin: 0;
}

.program-card-meta strong {
  font-weight: 600;
}

/* 
   PAGE: PENDAFTARAN (pendaftaran.php)
    */

/* Full-page background section */
.pendaftaran-section {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background photo layer */
.pendaftaran-bg {
  position: absolute;
  inset: 0;
  background:
    url('../img/Training.jpg')
    center/cover no-repeat;
  filter: brightness(0.72) saturate(0.6);
}

/* Muting overlay */
.pendaftaran-overlay {
  position: absolute;
  inset: 0;
  background: rgba(200, 210, 220, 0.42);
}

/* Form container */
.pendaftaran-form-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  padding: 3rem 2.5rem 2.8rem;
  margin: 0 auto;
}

/* Section title */
.pendaftaran-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: #111;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.pendaftaran-title::after {
  content: '';
  display: block;
  width: 320px;
  max-width: 90%;
  height: 2.5px;
  background: #111;
  margin: 0.55rem auto 2.2rem;
}

/* Form rows */
.form-row-custom {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Label column */
.form-label-custom {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1rem;
  color: #111;
  white-space: nowrap;
  min-width: 185px;
  text-align: right;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

/* Input / select fields */
.form-control-custom,
.form-select-custom {
  flex: 1;
  background: rgba(220, 226, 235, 0.88);
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1.1rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.95rem;
  color: #222;
  outline: none;
  box-shadow: none;
  transition: background 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-control-custom:focus,
.form-select-custom:focus {
  background: rgba(200, 212, 228, 0.95);
  box-shadow: 0 0 0 3px rgba(100, 150, 200, 0.35);
}

.form-control-custom::placeholder {
  color: transparent;
}

/* Select arrow */
.select-wrap {
  flex: 1;
  position: relative;
}

.select-wrap::after {
  content: '▾';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #555;
  pointer-events: none;
  font-size: 0.9rem;
}

.form-select-custom {
  width: 100%;
  padding-right: 2.2rem;
  cursor: pointer;
}

/* Submit button */
.btn-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.2rem;
}

.btn-submit {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: #111;
  background: rgba(220, 226, 235, 0.88);
  border: none;
  border-radius: 14px;
  padding: 0.75rem 4rem;
  cursor: pointer;
  transition: background 0.22s, transform 0.18s, box-shadow 0.22s;
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}

.btn-submit:hover {
  background: rgba(200, 212, 228, 0.97);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

/* 
   PAGE: KONTAK (kontak.php)
    */

/* Page wrapper */
.kontak-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

/* Page title */
.kontak-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--text-dark);
  text-align: center;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.kontak-title::after {
  content: '';
  display: block;
  margin-bottom: 2.2rem;
}

/* Two-column grid */
.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 0 2.5rem;
  align-items: start;
}

/* Vertical divider */
.kontak-divider {
  background: #ccc;
  width: 2px;
  align-self: stretch;
  min-height: 100%;
}

/* ── Left column ── */
.kontak-left {
  padding-right: 0.5rem;
}

/* Contact info rows */
.kontak-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.kontak-label {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  white-space: nowrap;
  min-width: 160px;
  text-align: right;
  letter-spacing: 0.03em;
  padding-top: 0.05rem;
  flex-shrink: 0;
}

.kontak-value {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.7;
}

.kontak-value a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.kontak-value a:hover {
  color: #2a6ab5;
  text-decoration: underline;
}

/* Map embed */
.kontak-map-wrap {
  margin-top: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  line-height: 0;
}

.kontak-map-wrap iframe {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
}

/* ── Right column ── */
.kontak-right {
  padding-left: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Form fields */
.kontak-field {
  margin-bottom: 1.2rem;
}

.kontak-input {
  width: 100%;
  background: #d9dfe8;
  border: none;
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  color: #222;
  outline: none;
  resize: none;
  transition: background 0.2s, box-shadow 0.2s;
}

.kontak-input:focus {
  background: #c8d2e0;
  box-shadow: 0 0 0 3px rgba(100, 150, 200, 0.3);
}

.kontak-input::placeholder {
  color: #555;
  font-style: normal;
}

.kontak-textarea {
  min-height: 220px;
}

/* Kirim Pesan button */
.kontak-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.8rem;
}

.kontak-btn-kirim {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--white);
  background: #2a2f3d;
  border: none;
  border-radius: 12px;
  padding: 0.8rem 3.5rem;
  cursor: pointer;
  transition: background 0.22s, transform 0.18s, box-shadow 0.22s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.kontak-btn-kirim:hover {
  background: #1a1f2c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}

.kontak-btn-kirim:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}


/* 
   PAGE: LOGIN (login.php)
    */

/* Full-page dark background */
.login-page {
  min-height: 100vh;
  background-color: var(--login-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* Logo above the title */
.login-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
  animation: fadeUp 0.8s ease both;
}

/* "Login" heading */
.login-heading {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--login-card);
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
  text-align: center;
  border-bottom: 2px solid var(--login-card);
  padding-bottom: 0.3rem;
  animation: fadeUp 0.8s 0.1s ease both;
}

/* Grey-white card */
.login-card {
  background: var(--login-card);
  border-radius: 18px;
  padding: 2.8rem 2.5rem 2.5rem;
  width: 100%;
  max-width: 640px;
  margin-top: 2rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

/* Field rows: label + input side by side */
.login-field {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.login-label {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--login-btn);
  min-width: 130px;
  text-align: right;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

/* Input wrapper (needed for password eye icon) */
.login-input-wrap {
  flex: 1;
  position: relative;
}

/* White inputs */
.login-input {
  width: 100%;
  background: var(--login-input);
  border: none;
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  color: #111;
  outline: none;
  transition: box-shadow 0.2s;
}

.login-input:focus {
  box-shadow: 0 0 0 3px rgba(52, 52, 52, 0.2);
}

/* Password eye toggle button */
.login-eye {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 52px;
  background: var(--login-btn);
  border: none;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.login-eye:hover {
  background: #1a1a1a;
}

.login-eye-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  background-color: var(--login-input);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zm0 12.5a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-8a3 3 0 1 0 0 6 3 3 0 0 0 0-6z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zm0 12.5a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-8a3 3 0 1 0 0 6 3 3 0 0 0 0-6z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

/* Password input has padding-right to not overlap eye button */
.login-input-wrap .login-input {
  padding-right: 60px;
}

/* Login button */
.login-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.login-btn {
  width: 75%;
  background: var(--login-btn);
  color: var(--login-input);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 16px;
  padding: 1.1rem 2rem;
  cursor: pointer;
  transition: background 0.22s, transform 0.18s, box-shadow 0.22s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

.login-btn:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
}

.login-btn:active {
  transform: translateY(0);
}

/* Footer on login page */
.login-footer {
  margin-top: 2.5rem;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(211, 217, 223, 0.55);
  letter-spacing: 0.06em;
  text-align: center;
}

/* Error message */
.login-error {
  font-family: 'Source Serif 4', serif;
  font-size: 0.88rem;
  color: #e05050;
  text-align: center;
  margin-top: -1rem;
  margin-bottom: 1rem;
  min-height: 1.2em;
}

/* Responsive */
@media (max-width: 640px) {
  .login-card {
    padding: 2rem 1.2rem 2rem;
  }

  .login-field {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .login-label {
    text-align: left;
    min-width: unset;
  }

  .login-btn {
    width: 100%;
  }

  .login-heading {
    font-size: 1.9rem;
  }
}

/* 
   RESPONSIVE BREAKPOINTS
    */

/* ≤ 768px — navbar, hero, profil org chart */
@media (max-width: 768px) {
  .navbar-projost {
    padding: 0.5rem 1rem;
  }

  .description-section {
    padding: 2.5rem 1.2rem 2rem;
  }

  .hero-section {
    min-height: 360px;
  }

  .profil-col-title {
    font-size: 1.25rem;
  }

  .org-node {
    font-size: 0.5rem;
    min-width: 56px;
    padding: 0.28rem 0.35rem;
  }

  .org-section {
    overflow-x: auto;
  }

  .org-chart-wrapper {
    min-width: 480px;
  }
}

/* ≤ 640px — pendaftaran form & kontak rows */
@media (max-width: 640px) {
  .form-row-custom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .form-label-custom {
    text-align: left;
    min-width: unset;
  }

  .form-control-custom,
  .select-wrap {
    width: 100%;
  }

  .pendaftaran-form-wrap {
    padding: 2.2rem 1.2rem 2rem;
  }

  .pendaftaran-title::after {
    width: 200px;
  }

  /* kontak two-column → single column */
  .kontak-grid {
    grid-template-columns: 1fr;
    gap: 2rem 0;
  }

  .kontak-divider {
    display: none;
  }

  .kontak-left,
  .kontak-right {
    padding: 0;
  }

  .kontak-row {
    flex-direction: column;
    gap: 0.3rem;
  }

  .kontak-label {
    text-align: left;
    min-width: unset;
  }

  .kontak-map-wrap iframe {
    height: 240px;
  }

  .kontak-section {
    padding: 2rem 1.2rem 3rem;
  }
}

/* ≤ 576px — program cards */
@media (max-width: 576px) {
  .program-header-title {
    font-size: 1.5rem;
  }

  .program-section {
    padding: 1.5rem 1rem 3rem;
  }
}

/* 
   PAGE: LOGIN (login.php)
    */

/* Full-page dark background */
.login-page {
  min-height: 100vh;
  background-color: #343434;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* Logo + title block */
.login-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.login-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.login-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 2.6rem;
  color: #d3d9df;
  letter-spacing: 0.04em;
  margin: 0 0 0.3rem;
  border-bottom: 2px solid #d3d9df;
  padding-bottom: 0.3rem;
}

/* Card container */
.login-card {
  background: #d3d9df;
  border-radius: 18px;
  padding: 2.8rem 3rem;
  width: 100%;
  max-width: 660px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}

/* Form rows */
.login-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.login-label {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #111;
  min-width: 130px;
  text-align: right;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

/* Input wrapper */
.login-input-wrap {
  flex: 1;
  position: relative;
}

.login-input {
  width: 100%;
  background: #EFF0E1;
  border: none;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  color: #222;
  outline: none;
  transition: box-shadow 0.2s;
}

.login-input:focus {
  box-shadow: 0 0 0 3px rgba(52,52,52,0.2);
}

/* Password eye toggle button */
.login-eye-btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 48px;
  background: #343434;
  border: none;
  border-radius: 0 10px 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}

.login-eye-btn:hover {
  background: #222;
}

/* Eye icon via CSS mask */
.login-eye-icon {
  width: 22px;
  height: 22px;
  background-color: #EFF0E1;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  display: inline-block;
  flex-shrink: 0;
}

/* Password input right padding to not overlap eye */
.login-input-wrap .login-input {
  padding-right: 56px;
}

/* Login button */
.login-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.login-btn {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: #EFF0E1;
  background: #343434;
  border: none;
  border-radius: 50px;
  padding: 1rem 0;
  width: 75%;
  cursor: pointer;
  transition: background 0.22s, transform 0.18s, box-shadow 0.22s;
  box-shadow: 0 4px 18px rgba(0,0,0,0.3);
}

.login-btn:hover {
  background: #222;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
}

.login-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}

/* Footer on login page */
.login-footer {
  margin-top: 2.5rem;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #666;
  letter-spacing: 0.06em;
  text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
  .login-card {
    padding: 2rem 1.4rem;
  }

  .login-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .login-label {
    text-align: left;
    min-width: unset;
  }

  .login-input-wrap {
    width: 100%;
  }

  .login-btn {
    width: 100%;
  }

  .login-title {
    font-size: 2rem;
  }
}
