/* ==================================================
   ASSAM MOTORS — HIRING PAGE
   ================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', -apple-system, sans-serif; }
html, body { max-width: 100%; overflow-x: hidden; }
body { background: #f4f6fa; color: #0b2545; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* TOPBAR */
.hire-topbar {
  background: #0b2545;
  padding: 14px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.hire-back {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hire-back:hover { opacity: 0.7; }

/* HERO */
.hire-hero {
  background: linear-gradient(135deg, #0b2545 0%, #1e3a8a 100%);
  color: #fff;
  padding: 50px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hire-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,68,68,0.2), transparent 70%);
}
.hire-hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250,204,21,0.1), transparent 70%);
}
.hire-hero-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }

.hire-logo-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  padding: 12px 22px;
  border-radius: 14px;
  margin-bottom: 32px;
  border: 1px solid rgba(255,255,255,0.15);
}
.hire-logo-icon {
  width: 44px; height: 44px;
  background: #fff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  padding: 4px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  overflow: hidden;
}
.hire-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hire-logo-text strong {
  display: block;
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: 800;
}
.hire-logo-text small {
  display: block;
  font-size: 10px;
  color: #94a3b8;
  letter-spacing: 2.5px;
  margin-top: 2px;
}

.hire-hiring-badge {
  display: inline-block;
  background: #facc15;
  padding: 18px 48px;
  border-radius: 14px;
  transform: rotate(-2deg);
  margin-bottom: 28px;
  box-shadow: 0 15px 40px rgba(250,204,21,0.3);
  position: relative;
}
.hire-megaphone {
  position: absolute;
  left: -42px; top: 50%;
  transform: translateY(-50%) rotate(-20deg);
  font-size: 48px;
  animation: shake 2s infinite;
}
@keyframes shake {
  0%, 100% { transform: translateY(-50%) rotate(-20deg); }
  50% { transform: translateY(-50%) rotate(-10deg); }
}
.hire-we-are {
  display: block;
  color: #0b2545;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 5px;
  margin-bottom: 2px;
}
.hire-hiring-text {
  display: block;
  color: #dc2626;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 3px;
  line-height: 1;
  text-shadow: 2px 2px 0 rgba(11,37,69,0.1);
}

.hire-hero h1 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -1px;
}
.hire-sub {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* CARDS */
.hire-cards {
  max-width: 980px;
  margin: -50px auto 50px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 2;
}
.hire-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 12px 40px rgba(11,37,69,0.12);
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.hire-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(11,37,69,0.2);
}
.hire-card.mechanic { border-top: 6px solid #1e3a8a; }
.hire-card.helper { border-top: 6px solid #facc15; }

.hire-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 2px dashed #e2e8f0;
}
.hire-card-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #0b2545, #1e3a8a);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(11,37,69,0.25);
}
.hire-card.helper .hire-card-icon {
  background: linear-gradient(135deg, #facc15, #eab308);
}

.hire-card-icon-mechanic {
  background: linear-gradient(145deg, #0b2545 0%, #183b73 100%);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 8px 20px rgba(11,37,69,.24), inset 0 1px 0 rgba(255,255,255,.12);
}
.hire-card-icon-mechanic .mechanic-tool-icon {
  width: 36px;
  height: 36px;
  display: block;
  fill: none;
  stroke: #ffffff;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.12));
}
.hire-card h2 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #0b2545;
}
.hire-card-body {
  flex: 1;
  margin-bottom: 24px;
}
.hire-card-body h3 {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}
.hire-card-body ul {
  list-style: none;
}
.hire-card-body li {
  font-size: 14.5px;
  color: #334155;
  padding: 10px 0 10px 28px;
  position: relative;
  font-weight: 500;
  line-height: 1.5;
  border-bottom: 1px solid #f1f5f9;
}
.hire-card-body li:last-child { border-bottom: none; }
.hire-card-body li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 10px;
  color: #16a34a;
  font-weight: 900;
  font-size: 16px;
  background: #dcfce7;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.hire-apply-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(220,38,38,0.25);
}
.hire-apply-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(220,38,38,0.35);
}

/* FEATURES */
.hire-features {
  max-width: 980px;
  margin: 0 auto 50px;
  padding: 30px;
  background: #fff;
  border-radius: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  box-shadow: 0 8px 30px rgba(11,37,69,0.08);
  border: 1px solid #e2e8f0;
}
.hire-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-right: 1px solid #e2e8f0;
}
.hire-feature:last-child { border-right: none; }
.hire-feature-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, #1e3a8a, #0b2545);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(11,37,69,0.2);
}
.hire-feature-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #0b2545;
  line-height: 1.2;
}
.hire-feature-text span {
  display: block;
  font-size: 12.5px;
  color: #64748b;
  margin-top: 2px;
  font-weight: 500;
}

/* CONTACT */
.hire-contact {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  padding: 36px 20px;
  color: #fff;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.hire-contact::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
}
.hire-contact-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.hire-interest {
  font-size: 34px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 1.5px;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.15);
}
.hire-phone-box { text-align: right; }
.hire-phone-label {
  display: block;
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.hire-phone {
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1.5px;
  transition: transform 0.2s;
  display: inline-block;
}
.hire-phone:hover { transform: scale(1.05); }

/* INFO */
.hire-info {
  max-width: 980px;
  margin: 0 auto 50px;
  padding: 24px 30px;
  background: #0b2545;
  border-radius: 16px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(11,37,69,0.15);
}
.hire-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
}
.hire-info-icon { font-size: 20px; }
.hire-info a { color: #60a5fa; transition: color 0.2s; }
.hire-info a:hover { color: #93c5fd; text-decoration: underline; }

/* FOOTER */
.hire-footer {
  background: #0b2545;
  color: #fff;
  text-align: center;
  padding: 24px;
  border-top: 5px solid #dc2626;
}
.hire-footer p {
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 700;
}

/* MODAL */
.hire-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2,12,27,0.8);
  z-index: 9999;
  padding: 20px;
  overflow-y: auto;
  backdrop-filter: blur(4px);
}
.hire-modal-overlay.open { display: block; }
.hire-modal {
  max-width: 640px;
  margin: 30px auto;
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hire-modal-close {
  position: absolute;
  right: 18px; top: 18px;
  width: 38px; height: 38px;
  border: none;
  background: #f1f5f9;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
  color: #64748b;
}
.hire-modal-close:hover { background: #dc2626; color: #fff; }
.hire-modal-head {
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 2px dashed #e2e8f0;
}
.hire-modal-head h2 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 6px;
  color: #0b2545;
}
.hire-modal-head p { font-size: 13.5px; color: #64748b; }

.hire-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.hire-form-group { margin-bottom: 16px; }
.hire-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.hire-form-group input,
.hire-form-group select,
.hire-form-group textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: #f8fafc;
  transition: all 0.2s;
  color: #0b2545;
}
.hire-form-group input:focus,
.hire-form-group select:focus,
.hire-form-group textarea:focus {
  border-color: #1e3a8a;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(30,58,138,0.1);
}
.hire-form-group textarea { resize: vertical; min-height: 80px; }

.hire-form-msg {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 16px;
  display: none;
}
.hire-form-msg.success {
  display: block;
  background: #dcfce7;
  color: #065f46;
  border-left: 4px solid #16a34a;
}
.hire-form-msg.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border-left: 4px solid #dc2626;
}

.hire-submit-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(220,38,38,0.3);
}
.hire-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(220,38,38,0.4);
}
.hire-submit-btn:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hire-hero { padding: 40px 16px 70px; }
  .hire-hero h1 { font-size: 30px; }
  .hire-sub { font-size: 14px; }
  .hire-cards {
    grid-template-columns: 1fr;
    margin-top: -30px;
    margin-bottom: 30px;
    padding: 0 16px;
  }
  .hire-features {
    grid-template-columns: 1fr;
    padding: 20px;
    margin-bottom: 30px;
  }
  .hire-feature {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0;
  }
  .hire-feature:last-child { border-bottom: none; }
  .hire-contact-inner {
    flex-direction: column;
    text-align: center;
  }
  .hire-phone-box { text-align: center; }
  .hire-interest { font-size: 26px; }
  .hire-phone { font-size: 24px; }
  .hire-info {
    flex-direction: column;
    padding: 20px;
    margin: 0 16px 30px;
  }
  .hire-hiring-text { font-size: 36px; }
  .hire-we-are { font-size: 13px; letter-spacing: 4px; }
  .hire-megaphone { font-size: 32px; left: -28px; }
  .hire-hiring-badge { padding: 14px 32px; }
  .hire-form-row { grid-template-columns: 1fr; }
  .hire-modal { padding: 26px 20px; margin: 20px auto; }
  .hire-logo-box { padding: 10px 18px; }
  .hire-logo-icon { width: 38px; height: 38px; font-size: 20px; }
  .hire-logo-text strong { font-size: 14px; }
}

@media (max-width: 480px) {
  .hire-hero h1 { font-size: 26px; }
  .hire-hiring-text { font-size: 28px; }
  .hire-card { padding: 22px; }
  .hire-card-icon { width: 50px; height: 50px; font-size: 24px; }
  .hire-card h2 { font-size: 22px; }
}
