* {
  box-sizing: border-box;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(99, 102, 241, 0.12), transparent 25%),
              radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.16), transparent 18%),
              linear-gradient(180deg, #f8fafc 0%, #eef2ff 40%, #ffffff 100%);
}

.hero {
  position: relative;
  color: #ffffff;
  text-align: center;
  padding: clamp(56px, 7vw, 100px) 24px 48px;
  background-image: linear-gradient(90deg, rgba(13, 27, 59, 0.56) 0%, rgba(43, 63, 114, 0.52) 100%),
                    url('../images/hero4.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.36), rgba(15, 23, 42, 0.08));
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 18% 22%, rgba(56, 189, 248, 0.12), transparent 50%),
                    radial-gradient(circle at 82% 26%, rgba(168, 85, 247, 0.08), transparent 14%),
                    radial-gradient(circle at 50% 85%, rgba(59, 130, 246, 0.06), transparent 22%);
  pointer-events: none;
}

.hero .logo {
  height: 150px;
  width: auto;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(2.6rem, 3vw, 4.2rem);
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.hero p {
  position: relative;
  z-index: 1;
  margin: 18px auto 0;
  max-width: 660px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.86);
}

.hero-highlights {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 32px auto 0;
  max-width: 880px;
}

.hero-highlights div {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 22px;
  padding: 18px 20px;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-highlights div:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.14);
}

.hero-highlights strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.hero-highlights span {
  display: block;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.76);
}

form.application-form {
  background: rgba(255,255,255,0.98);
  max-width: 980px;
  margin: -48px auto 40px;
  padding: 38px;
  border-radius: 28px;
  box-shadow: 0 36px 90px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.18);
  position: relative;
  z-index: 2;
}

h2 {
  margin-top: 30px;
  font-size: 1.2rem;
  color: #102a43;
}

input, select {
  width: 100%;
  padding: 16px 18px;
  margin: 12px 0;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 16px;
  background: #ffffff;
  color: #0f172a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.12);
  outline: none;
}

.payment-box {
  background: #f8fafc;
  padding: 22px;
  margin: 22px 0;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.payment-box p,
.payment-box li {
  color: #1e293b;
}

.checkbox {
  margin: 24px 0;
  font-size: 14px;
}

button {
  width: 100%;
  background: linear-gradient(135deg, #4338ca 0%, #2563eb 100%);
  color: #fff;
  padding: 16px;
  margin-top: 18px;
  border: none;
  font-size: 16px;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.18);
}

button:hover {
  opacity: 0.98;
  transform: translateY(-1px);
  box-shadow: 0 22px 48px rgba(37, 99, 235, 0.22);
}

.bank-list details {
  margin: 12px 0;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid rgba(59, 83, 191, 0.16);
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(32, 46, 94, 0.06);
}

.bank-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
}

.copy-btn {
  margin-left: 10px;
  padding: 10px 16px;
  font-size: 13px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  background: #f8fafc;
  color: #1f2a44;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.copy-btn:hover {
  background: #eef2ff;
  transform: translateY(-1px);
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 18px 0 8px;
}

.payment-methods button {
  flex: unset;
  min-width: auto;
  max-width: unset;
  background: linear-gradient(135deg, #3b82f6 0%, #0b61ff 100%);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(11, 96, 255, 0.18);
}

.payment-methods button:hover {
  filter: brightness(1.05);
}

.selected-method {
  margin: 0 0 26px;
  color: #334155;
  font-weight: 600;
  font-size: 15px;
}

.disclaimer {
  margin: 32px 0 0;
  padding: 22px;
  background: #eef2ff;
  border-radius: 20px;
  border: 1px solid rgba(59, 130, 246, 0.18);
}

.disclaimer h3 {
  margin-top: 0;
}

.footer-section {
  text-align: center;
  padding: 24px 14px 40px;
  color: #475569;
  font-size: 0.95rem;
}

.footer-section p {
  margin: 6px 0;
}

@media (max-width: 720px) {
  .hero-highlights {
    grid-template-columns: 1fr;
  }

  form.application-form {
    margin: -28px 16px 32px;
    padding: 28px;
  }
}

h2 {
  margin-top: 30px;
  font-size: 18px;
  color: #222;
}

input, select {
  width: 100%;
  padding: 14px 16px;
  margin: 10px 0;
  border: 1px solid #d2d8e2;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus {
  border-color: #6b8cff;
  box-shadow: 0 0 0 4px rgba(106, 136, 255, 0.12);
  outline: none;
}

.payment-box {
  background: #f9fbff;
  padding: 18px;
  margin: 18px 0;
  border-radius: 18px;
  border: 1px solid rgba(109, 131, 255, 0.18);
}

.payment-box p,
.payment-box li {
  color: #27374d;
}

.checkbox {
  margin: 20px 0;
  font-size: 14px;
}

button {
  width: 100%;
  background: linear-gradient(135deg, #25d366 0%, #17a75b 100%);
  color: #fff;
  padding: 16px;
  border: none;
  font-size: 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.18);
}

button:hover {
  opacity: 0.98;
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.22);
}

.bank-list details {
  margin: 12px 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(112, 125, 255, 0.16);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(32, 46, 94, 0.06);
}

.bank-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
}

.copy-btn {
  margin-left: 10px;
  padding: 7px 14px;
  font-size: 13px;
  border: 1px solid #cbd5f1;
  border-radius: 10px;
  background: #f7f9ff;
  color: #1f2a44;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.copy-btn:hover {
  background: #e9efff;
  transform: translateY(-1px);
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 18px 0 8px;
}

.payment-methods button {
  flex: unset;
  min-width: auto;
  max-width: unset;
  background: linear-gradient(135deg, #3b82f6 0%, #0b61ff 100%);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(11, 96, 255, 0.18);
}

.payment-methods button:hover {
  filter: brightness(1.05);
}

.selected-method {
  margin: 0 0 26px;
  color: #334155;
  font-weight: 600;
  font-size: 15px;
}

.modal.hidden {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.modal-content {
  width: 100%;
  max-width: 620px;
  background: #ffffff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 32px 90px rgba(14, 49, 112, 0.18);
  position: relative;
  border: 1px solid rgba(59, 83, 191, 0.12);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef2fb;
}

.modal-header h3 {
  margin: 0;
  font-size: 24px;
  color: #0f172a;
}

.modal-close {
  background: rgba(15, 23, 42, 0.05);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #0b1a2e;
  border: none;
}

.modal-close:hover {
  background: rgba(15, 23, 42, 0.1);
}

.modal-body {
  max-height: 62vh;
  overflow: auto;
  padding-right: 4px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.modal-actions button {
  width: 100%;
  min-width: 150px;
}

.modal-actions .secondary {
  background: #eef2ff;
  color: #1f2937;
  box-shadow: none;
}

.paystack-status {
  margin-top: 14px;
  padding: 16px;
  background: #fffbeb;
  color: #433f2f;
  border-left: 4px solid #f59e0b;
  border-radius: 12px;
}

.paystack-section {
  background: #1a1a2e;
  color: #fff;
  padding: 24px 20px;
  margin: 30px 0 15px;
  border-radius: 10px;
  text-align: center;
}

.paystack-section h2 {
  margin: 0 0 10px;
  font-size: 22px;
  color: #ffdd00;
}

.paystack-section p {
  margin: 0 0 18px;
  color: #ddd;
}

.paystack-section button {
  width: auto;
  padding: 14px 28px;
  font-size: 18px;
  border-radius: 8px;
}

.footer-section {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 28px 0;
  margin-top: 40px;
}

.footer-section p {
  margin: 4px 0;
}

/* Header styles copied from hostel-inspection-booking.html */
.page-header {
  background: rgba(15, 23, 42, 0.94);
  padding: 12px 30px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}

.page-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.logo-title img {
  max-height: 56px;
  width: auto;
  display: block;
}

.brand-name {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.brand-tag {
  margin: 4px 0 0;
  color: #cbd5e1;
  font-size: 14px;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.page-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.page-actions .btn:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.page-actions .login-btn {
  background: #ffcc00;
  color: #1f2937;
}

.page-actions .secondary-btn {
  background: #e2e8f0;
  color: #111827;
}

@media (max-width: 768px) {
  .page-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .page-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .logo-title {
    gap: 10px;
  }
}

