/* TekExplorers - Register Now page specific styles */

.register-hero {
  position: relative;
  min-height: 60vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.register-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(15,95,255,0.4),
    rgba(0,155,58,0.5),
    rgba(254,209,0,0.4)
  );
}

.register-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.register-hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(254,209,0,0.7);
  margin-bottom: 0.5rem;
}

.register-hero-subtitle {
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--jamaica-gold, #FED100);
  text-transform: uppercase;
}

.register-hero-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  margin-top: 0.5rem;
}

/* Main form section */
.register-section {
  padding: 3rem 1.5rem 4rem 1.5rem;
}

.register-card {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(0,0,0,0.7);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
  border: 1px solid rgba(254,209,0,0.4);
}

.register-section-title {
  font-size: 1.3rem;
  color: var(--jamaica-gold, #FED100);
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(254,209,0,0.4);
  padding-bottom: 0.5rem;
}

.register-form .form-group {
  margin-bottom: 1.1rem;
}

.register-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.register-form input,
.register-form select,
.register-form textarea {
  width: 100%;
  padding: 0.85rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.6);
  color: #ffffff;
  font-size: 0.98rem;
  outline: none;
}

.register-form input:focus,
.register-form select:focus,
.register-form textarea:focus {
  border-color: var(--jamaica-gold, #FED100);
  box-shadow: 0 0 10px rgba(254,209,0,0.4);
}

.register-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.radio-row label {
  margin-right: 1.3rem;
  font-weight: normal;
}

.confirm-row input[type="checkbox"] {
  margin-right: 0.5rem;
}

.register-submit {
  width: 100%;
  padding: 0.95rem;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

/* Success / error messages */
.register-message {
  padding: 0.9rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.register-message.success {
  background: rgba(0,155,58,0.15);
  border: 1px solid #00c853;
  color: #b9f6ca;
}

.register-message.error {
  background: rgba(183,28,28,0.2);
  border: 1px solid #ef5350;
  color: #ffcdd2;
}

/* Highlighted nav link (for header.php) */
.nav-register-link {
  background: #ffff00;
  color: #000000 !important;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(254,209,0,0.8);
}
.nav-register-link:hover {
  background: #ffeb3b;
  color: #000000 !important;
  box-shadow: 0 0 16px rgba(254,209,0,1);
}

/* Responsive */
@media (max-width: 768px) {
  .register-card {
    padding: 1.6rem;
  }
  .register-grid {
    grid-template-columns: 1fr;
  }
  .register-hero-title {
    font-size: 2rem;
  }
}


/* LIMIT HERO WIDTH TO 75% LIKE HOMEPAGE */
.register-hero-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    background: black; /* or keep transparent */
}

.register-hero {
    position: relative;
    width: 75%;            /* <<<< THIS DOES IT */
    height: 78vh;
    min-height: 550px;
    max-height: 900px;

    background-size: cover;
    background-position: center;
    border-radius: 18px;   /* optional soft rounding like homepage */
    overflow: hidden;
}

/* Mobile defaults to full width */
@media (max-width: 768px) {
    .register-hero {
        width: 100%;
        border-radius: 0;
    }
}
