/* ==========================================================================
   GRAD 2 GLOBAL — Student Registration & Boarding Pass Hub Styles
   ========================================================================== */

/* 1. Hero Section with Generated Panoramic Airport Banner */
.reg-hero {
  position: relative;
  min-height: 460px;
  padding: 8.5rem 0 4.5rem;
  background-color: #03081a;
  background-image: 
    linear-gradient(180deg, 
      rgba(3, 8, 26, 0.62) 0%, 
      rgba(4, 12, 38, 0.78) 50%, 
      rgba(2, 6, 20, 0.96) 100%),
    url('../images/register-banner.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
  text-align: center;
  border-bottom: 1px solid rgba(255, 181, 46, 0.22);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.reg-hero .wrap {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.reg-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(8, 26, 63, 0.85);
  border: 1px solid rgba(255, 181, 46, 0.4);
  font-family: var(--mono, monospace);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sun, #FFB52E);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 14px rgba(255, 181, 46, 0.2);
}

.reg-live-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint, #46F0C1);
  box-shadow: 0 0 10px var(--mint, #46F0C1);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.reg-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0.6rem 0 1.1rem;
  letter-spacing: -0.02em;
}

.reg-hero h1 em {
  font-family: var(--serif, 'Instrument Serif', Georgia, serif);
  font-style: italic;
  color: var(--sun, #FFB52E);
  font-weight: 400;
}

.reg-hero p.lead {
  max-width: 760px;
  margin: 0 auto 2rem;
  color: #c2d0f2;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.65;
}

.reg-hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.reg-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
}

/* 2. Three Step Guarantees Deck */
.reg-section {
  padding: 4.5rem 0 6rem;
  background: #f8fafc;
  position: relative;
}

.reg-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.reg-step-card {
  background: #ffffff;
  border: 1px solid rgba(14, 42, 94, 0.1);
  border-radius: 20px;
  padding: 1.6rem 1.7rem;
  box-shadow: 0 10px 25px -5px rgba(10, 20, 48, 0.06);
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.reg-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(10, 20, 48, 0.12);
  border-color: rgba(217, 138, 0, 0.35);
}

.reg-step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1b5cd6, #ffb52e);
  opacity: 0;
  transition: opacity 0.3s;
}

.reg-step-card:hover::before {
  opacity: 1;
}

.reg-step-badge {
  font-family: var(--mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #d98a00;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.reg-step-card h4 {
  font-size: 1.2rem;
  color: #0e2a5e;
  margin: 0.3rem 0 0.5rem;
  font-weight: 700;
}

.reg-step-card p {
  font-size: 0.9rem;
  color: #5a6688;
  margin: 0;
  line-height: 1.55;
}

/* 3. Terminal Booking Layout */
.reg-terminal-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: start;
}

/* Left Form Box */
.reg-form-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(14, 42, 94, 0.12);
  padding: 2.4rem 2.4rem;
  box-shadow: 0 20px 50px rgba(10, 20, 48, 0.08);
}

.reg-form-card .card-head {
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(14, 42, 94, 0.08);
}

.reg-form-card .card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #0E2A5E;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.reg-form-card h2 {
  font-size: 1.85rem;
  color: #0e1430;
  margin: 0.2rem 0 0.4rem;
  line-height: 1.25;
}

.reg-form-card h2 em {
  font-family: var(--serif, 'Instrument Serif', Georgia, serif);
  font-style: italic;
  color: #d98a00;
}

.reg-form-card .card-desc {
  font-size: 0.92rem;
  color: #5a6688;
  margin: 0;
  line-height: 1.55;
}

/* Form Groups & Inputs */
.reg-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.reg-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.reg-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.reg-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0e2a5e;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.reg-field label .req {
  color: #d98a00;
}

.reg-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.reg-input-icon {
  position: absolute;
  left: 1rem;
  font-size: 1.05rem;
  pointer-events: none;
  opacity: 0.8;
}

.reg-input,
.reg-select {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.65rem;
  border-radius: 12px;
  border: 1.5px solid rgba(14, 42, 94, 0.15);
  font-family: inherit;
  font-size: 0.95rem;
  color: #0e1430;
  background: #ffffff;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.reg-select-noicon {
  padding-left: 1rem;
}

.reg-input:focus,
.reg-select:focus {
  border-color: #1b5cd6;
  box-shadow: 0 0 0 4px rgba(27, 92, 214, 0.12);
  background: #ffffff;
}

.reg-options-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.2rem;
}

.reg-radio-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.85rem;
  border: 1.5px solid rgba(14, 42, 94, 0.14);
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 600;
  color: #0e1430;
  transition: all 0.2s ease;
  background: #ffffff;
}

.reg-radio-label:hover {
  background: rgba(255, 181, 46, 0.08);
  border-color: rgba(217, 138, 0, 0.4);
}

.reg-radio-label input[type="radio"]:checked + span {
  color: #0e2a5e;
  font-weight: 700;
}

.reg-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.05rem 1.8rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #FFB52E 0%, #FFA000 100%);
  color: #03081a;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 181, 46, 0.4);
  transition: transform 0.25s var(--ease, ease), box-shadow 0.25s;
  margin-top: 0.6rem;
  width: 100%;
}

.reg-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 181, 46, 0.55);
}

.reg-form-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.8rem;
  text-align: center;
}

/* Right Column: 3D Boarding Pass Showcase */
.reg-pass-column {
  position: sticky;
  top: 90px;
}

.reg-pass-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.reg-pass-badge-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #0e2a5e;
  text-transform: uppercase;
}

.reg-pass-live-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-family: var(--mono, monospace);
  color: #0a8f64;
  font-weight: 600;
}

.reg-pass-live-indicator i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0a8f64;
  box-shadow: 0 0 6px #0a8f64;
  display: inline-block;
  animation: pulse-dot 1.8s infinite;
}

.reg-pass-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.reg-btn-tool {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(14, 42, 94, 0.15);
  color: #0e1430;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.reg-btn-tool:hover {
  background: rgba(14, 42, 94, 0.05);
  border-color: rgba(14, 42, 94, 0.3);
}

.reg-btn-tool.wa {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.35);
  color: #0f8a3c;
}

.reg-btn-tool.wa:hover {
  background: rgba(37, 211, 102, 0.2);
}

/* Departures Board Ticker */
.reg-departures-board {
  margin-top: 1.8rem;
  background: #03081a;
  border-radius: 16px;
  border: 1px solid rgba(255, 181, 46, 0.25);
  padding: 1.2rem 1.4rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

.reg-dep-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.65rem;
  margin-bottom: 0.8rem;
  font-family: var(--mono, monospace);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--sun, #FFB52E);
  text-transform: uppercase;
}

.reg-dep-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.reg-dep-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.reg-dep-item:last-child {
  border-bottom: none;
}

.reg-dep-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.reg-dep-route {
  font-family: var(--mono, monospace);
  font-weight: 700;
  color: var(--sun, #FFB52E);
  font-size: 0.76rem;
}

.reg-dep-student {
  color: #e2e8f0;
  font-weight: 500;
}

.reg-dep-status {
  font-family: var(--mono, monospace);
  font-size: 0.68rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: rgba(70, 240, 193, 0.15);
  color: var(--mint, #46F0C1);
  font-weight: 700;
}

/* 4. West Mambalam HQ Walk-in Section */
.reg-hq-section {
  padding: 4rem 0;
  background: #ffffff;
  border-top: 1px solid rgba(14, 42, 94, 0.08);
}

.reg-hq-card {
  background: linear-gradient(135deg, #071940 0%, #030a1c 100%);
  border-radius: 24px;
  padding: 2.5rem 3rem;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  border: 1px solid rgba(255, 181, 46, 0.3);
  box-shadow: 0 20px 50px rgba(7, 25, 64, 0.45);
}

.reg-hq-card h3 {
  font-size: 2rem;
  margin: 0.3rem 0 0.8rem;
  color: #ffffff;
}

.reg-hq-card h3 em {
  font-family: var(--serif, 'Instrument Serif', Georgia, serif);
  font-style: italic;
  color: var(--sun, #FFB52E);
}

.reg-hq-card p {
  color: #c2d0f2;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.2rem;
}

.reg-hq-address {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.reg-hq-address-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.reg-hq-address-text strong {
  display: block;
  font-size: 0.92rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.reg-hq-address-text span {
  font-size: 0.82rem;
  color: #9db2db;
  line-height: 1.4;
  display: block;
}

.reg-hq-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.reg-hq-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.4rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
}

.reg-hq-btn.gold {
  background: linear-gradient(135deg, #FFB52E 0%, #FFA000 100%);
  color: #03081a;
  box-shadow: 0 6px 20px rgba(255, 181, 46, 0.35);
}

.reg-hq-btn.gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 181, 46, 0.5);
}

.reg-hq-btn.outline {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.reg-hq-btn.outline:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* 5. Registration FAQs */
.reg-faq-section {
  padding: 4.5rem 0 6rem;
  background: #f8fafc;
}

.reg-faq-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.reg-faq-head h2 {
  font-size: 2.2rem;
  color: #0e2a5e;
  margin: 0.3rem 0;
}

.reg-faq-head h2 em {
  font-family: var(--serif, 'Instrument Serif', Georgia, serif);
  font-style: italic;
  color: #d98a00;
}

.reg-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 1040px;
  margin: 0 auto;
}

.reg-faq-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(14, 42, 94, 0.1);
  padding: 1.6rem;
  box-shadow: 0 4px 16px rgba(10, 20, 48, 0.04);
}

.reg-faq-card h4 {
  font-size: 1.05rem;
  color: #0e2a5e;
  margin: 0 0 0.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reg-faq-card p {
  font-size: 0.88rem;
  color: #5a6688;
  margin: 0;
  line-height: 1.6;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .reg-terminal-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .reg-pass-column {
    position: static;
  }
  .reg-hq-card {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .reg-hero {
    min-height: 400px;
    padding: 7.5rem 0 3.5rem;
  }
  .reg-steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .reg-form-card {
    padding: 1.6rem 1.4rem;
  }
  .reg-form-row {
    grid-template-columns: 1fr;
  }
  .reg-options-row {
    grid-template-columns: 1fr;
  }
  .reg-faq-grid {
    grid-template-columns: 1fr;
  }
}
