/* -------------------------------------
   CAREERS PAGE SPECIFIC STYLES
   (Inherits variables from main style.css and about.css structure)
-------------------------------------- */

/* Structural Layout Matches About Page */
body.subpage {
  background-color: var(--darker);
  background-image: radial-gradient(circle at top right, rgba(230, 57, 70, 0.05) 0%, transparent 40%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
}

.page-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
  filter: grayscale(30%) brightness(0.8);
}

.page-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 0, 2, 0.5) 0%, rgba(10, 0, 2, 0.95) 100%);
  z-index: -1;
}

.careers-content {
  padding: 80px 0 40px 0;
  position: relative;
  z-index: 10;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.content-grid.reverse {
  grid-template-areas: "form text";
}

.form-block {
  grid-area: form;
}

.text-block {
  grid-area: text;
}

.glass-card {
  background: rgba(15, 0, 3, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 0, 51, 0.15);
  border-radius: 20px;
  padding: 50px;
  box-shadow: inset 0 0 30px rgba(255, 0, 51, 0.05), 0 15px 40px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.glass-card.p-0 {
  padding: 0;
}

/* Contact Info styling */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary);
  background: rgba(230, 57, 70, 0.1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.info-item:hover i {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.info-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 2px;
}

.info-item p {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
}


/* -------------------------------------
   PREMIUM DARK FORM STYLING
-------------------------------------- */
.premium-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

.form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(230, 57, 70, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

textarea {
  resize: vertical;
}

.char-count {
  text-align: right;
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 5px;
}

/* Checkbox specific styling */
.checkbox-group {
  display: flex;
  gap: 30px;
  margin-top: 5px;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
  color: var(--white);
  position: relative;
  padding-left: 30px;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: var(--transition);
}

.custom-checkbox:hover input~.checkmark {
  background-color: rgba(255, 255, 255, 0.2);
}

.custom-checkbox input:checked~.checkmark {
  background-color: var(--primary);
  border-color: var(--primary);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked~.checkmark:after {
  display: block;
}

.btn-block {
  width: 100%;
  margin: 10px 0 0 0;
  font-size: 1rem;
}

/* Form Alerts */
.alert {
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 25px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* Margin utilities */
.mt-5 {
  margin-top: 3rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .content-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "text" "form";
  }

  .glass-card {
    padding: 30px;
  }

  .form-row {
    flex-direction: column;
  }
}