:root {
  --orange: #f2951b;
  --orange-dark: #d67a06;
  --orange-light: #ffb84d;
  --orange-pale: #fff1de;
  --navy-dark: #1a2233;
  --white: #ffffff;
  --gray-text: #6b7280;
  --shadow: 0 10px 30px rgba(214, 122, 6, 0.25);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--navy-dark);
}

/* ===== HERO ===== */
.hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 70px 6% 90px;
  background: linear-gradient(120deg, var(--orange-light) 0%, var(--orange) 55%, var(--orange-dark) 100%);
  flex-wrap: wrap;
}

.hero-left {
  flex: 1 1 460px;
  max-width: 560px;
  padding-top: 30px;
}

.hero-left h1 {
  color: var(--white);
  font-size: 2.6rem;
  margin: 0 0 10px;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.hero-left .sub {
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
  margin: 0 0 40px;
}

/* ===== STEP CAROUSEL (2 cards) ===== */
.step-carousel {
  display: flex;
  align-items: center;
  gap: 14px;
}

.step-arrow {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--orange-dark);
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.15s ease, background 0.15s ease;
}

.step-arrow:hover {
  background: var(--orange-pale);
  transform: translateY(-2px);
}

.step-card {
  display: none;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 26px 28px;
  min-height: 150px;
  flex: 1;
}

.step-card.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.step-card h3 {
  margin: 4px 0 8px;
  color: var(--navy-dark);
  font-size: 1.15rem;
}

.step-card p {
  margin: 0;
  color: var(--gray-text);
  font-size: 0.92rem;
  line-height: 1.5;
}

.step-dots {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  padding-left: 4px;
}

.step-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.step-dots span.active {
  background: var(--white);
  transform: scale(1.2);
}

/* ===== SIGN UP PANEL ===== */
.signup-panel {
  flex: 1 1 420px;
  max-width: 460px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 34px 34px 26px;
}

.signup-panel h2 {
  text-align: center;
  color: var(--navy-dark);
  margin: 0 0 20px;
  font-size: 1.5rem;
}

.form-error {
  background: #fdecea;
  border: 1px solid #f3b6b6;
  color: #b3261e;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.applicant-toggle {
  display: flex;
  background: var(--orange-pale);
  border-radius: 30px;
  padding: 4px;
  margin-bottom: 20px;
}

.toggle-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 0;
  border-radius: 26px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--orange-dark);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.toggle-btn.active {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(214, 122, 6, 0.35);
}

.signup-panel label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy-dark);
  margin: 14px 0 6px;
}

.signup-panel input[type="text"],
.signup-panel input[type="password"] {
  width: 100%;
  padding: 11px 13px;
  border: 2px solid #eee0cf;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.signup-panel input:focus {
  outline: none;
  border-color: var(--orange);
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .row-2 { grid-template-columns: 1fr; }
  .hero { padding: 50px 5% 60px; }
  .hero-left h1 { font-size: 2rem; }
}

.btn-signup {
  width: 100%;
  margin-top: 22px;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-signup:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.disclaimer {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--gray-text);
  text-align: center;
}

/* ===== STATIC INFO SECTIONS ===== */
.content-section {
  padding: 60px 6%;
  background: var(--white);
}

.content-section h2 {
  text-align: center;
  color: var(--navy-dark);
  margin-bottom: 34px;
}

.card-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.mini-card {
  flex: 1 1 260px;
  max-width: 320px;
  background: var(--orange-pale);
  border-radius: 14px;
  padding: 24px;
  border-top: 4px solid var(--orange);
}

.mini-card h4 {
  color: var(--orange-dark);
  margin: 0 0 10px;
}

.mini-card p {
  color: var(--gray-text);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.site-footer {
  text-align: center;
  padding: 24px;
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}
/* === Add/replace in landing.css === */

/* Darker, richer orange hero background */
.hero {
  background: linear-gradient(160deg, #c9660d 0%, #e8871a 55%, #f0a83a 100%);
}

/* Carousel: show 2 step-cards side by side */
.step-carousel {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.step-card {
  display: none;
}

.step-card.active {
  display: block;
  flex: 1;
}

@media (max-width: 700px) {
  .step-carousel {
    flex-direction: column;
  }
}
/* === Add to landing.css (or replace existing .applicant-toggle / .toggle-btn rules) === */


.signup-panel .applicant-toggle {
  display: flex !important;
  justify-content: flex-start !important;
  margin-bottom: 16px !important;
}
 
.signup-panel .applicant-toggle .toggle-btn {
  flex: none !important;
  width: auto !important;
  text-align: center !important;
  background: #e8871a !important;   /* full orange, no split colors */
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 10px 28px !important;
  border-radius: 30px !important;
  cursor: default !important;
}
/* ===================================================
   SITE NAV + LOGIN/OTP MODALS
   (classes used by includes/public_nav.php but not
   previously defined anywhere — this is the missing piece)
=================================================== */

.site-nav {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  font-weight: 800;
  font-size: 1.15rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.nav-links a.active,
.nav-links a:hover {
  border-bottom-color: var(--orange);
}

.btn-login-nav {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 10px 26px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-login-nav:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

/* ---- Modal overlay (shared by login / forgot / otp / reset) ---- */
.modal-overlay {
  display: none; /* JS switches this to flex to open */
  position: fixed;
  inset: 0;
  background: rgba(26, 34, 51, 0.55);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-box {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 36px 34px 30px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalPop 0.2s ease;
}

@keyframes modalPop {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--gray-text);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--orange-dark);
}

.modal-title {
  text-align: center;
  color: var(--navy-dark);
  font-size: 1.5rem;
  margin: 0 0 20px;
}

/* ---- Login tabs (Student / Admin) ---- */
.login-tabs {
  display: flex;
  background: var(--orange-pale);
  border-radius: 30px;
  padding: 4px;
  margin-bottom: 20px;
}

.tab-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 0;
  border-radius: 26px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--orange-dark);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.tab-btn.active {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(214, 122, 6, 0.35);
}

.login-tab-content {
  display: none;
}

.login-tab-content.active {
  display: block;
  animation: fadeIn 0.2s ease;
}

.login-tab-content label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy-dark);
  margin: 14px 0 6px;
}

.login-tab-content input[type="text"],
.login-tab-content input[type="password"] {
  width: 100%;
  padding: 11px 13px;
  border: 2px solid #eee0cf;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.login-tab-content input:focus {
  outline: none;
  border-color: var(--orange);
}

.remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--gray-text);
  margin: 14px 0 4px;
}

.remember-row label {
  display: flex !important;
  align-items: center;
  gap: 6px;
  font-weight: 500 !important;
  margin: 0 !important;
  color: var(--gray-text);
}

.remember-row a {
  color: var(--orange-dark);
  text-decoration: none;
  font-weight: 600;
}

.remember-row a:hover {
  text-decoration: underline;
}

.btn-modal-login {
  width: 100%;
  margin-top: 18px;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-modal-login:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.modal-switch {
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--gray-text);
}

.modal-switch a {
  color: var(--orange-dark);
  font-weight: 700;
  text-decoration: none;
}

.modal-switch a:hover {
  text-decoration: underline;
}

/* ---- OTP resend link disabled state ---- */
.otp-resend a.disabled {
  pointer-events: none;
  color: #c9c9c9 !important;
}