/* ============================================
   careers.css - Redesigned Minimal Careers Page
   No heavy boxes, clean rows, organic flow
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0A0E17;
  color: #EDF2F8;
  line-height: 1.5;
  scroll-behavior: smooth;
  overflow-x: hidden;
  padding-top: 90px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #E65A5A;
  margin-bottom: 0.5rem;
}

.highlight {
  color: #E65A5A;
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF, #E65A5A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 30px;
  width: 100%;
  background: rgba(8, 12, 20, 0.92);
  backdrop-filter: blur(16px);
  z-index: 1000;
  border-bottom: 1px solid rgba(46, 143, 217, 0.2);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(6, 10, 18, 0.98);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar.hide-nav {
  top: -80px;
  opacity: 0;
  pointer-events: none;
}

.navbar.show-nav {
  top: 30px;
  opacity: 1;
  pointer-events: auto;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-wrapper {
  position: relative;
}

.logo-img {
  height: 32px;
  width: auto;
  position: relative;
  z-index: 2;
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  background: radial-gradient(circle, rgba(230, 90, 90, 0.3), transparent);
  border-radius: 50%;
  filter: blur(8px);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.company-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.3px;
  color: #FFFFFF;
}

.brand-tagline {
  font-size: 0.55rem;
  letter-spacing: 1px;
  color: #88C9F0;
  text-transform: uppercase;
}

.area-highlight {
  color: #E65A5A;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-menu li a {
  text-decoration: none;
  color: #E2E8F0;
  font-weight: 500;
  font-size: 0.8rem;
  transition: 0.25s;
  position: relative;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2E8FD9;
  transition: width 0.25s;
}

.nav-menu li a:hover::after,
.nav-menu li a.active-nav::after {
  width: 100%;
}

.nav-menu li a:hover {
  color: #2E8FD9;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: #111724;
  min-width: 230px;
  border-radius: 12px;
  padding: 0.75rem 0;
  top: 40px;
  left: -20px;
  box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(230, 90, 90, 0.2);
  backdrop-filter: blur(8px);
  z-index: 1001;
  pointer-events: auto;
}

.dropdown-content a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
  color: #EDF2F8;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  pointer-events: auto;
}

.dropdown-content a i {
  width: 20px;
  color: #2E8FD9;
}

.dropdown-content a:hover {
  background: rgba(46, 143, 217, 0.1);
  color: #60A5FA;
  padding-left: 1.8rem;
}

.dropdown:hover .dropdown-content {
  display: block;
  pointer-events: auto;
}

.external-link i {
  font-size: 0.7rem;
  margin-left: 4px;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
}

.nav-progress {
  height: 2px;
  background: linear-gradient(90deg, #E65A5A, #1B2A4A);
  width: 0%;
  transition: width 0.2s;
}

/* ===== HERO ===== */
.careers-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.careers-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0A0F1A, #111827);
  z-index: 0;
}

.careers-hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(230, 90, 90, 0.12), transparent 70%);
  animation: subtleShift 12s infinite alternate;
}

@keyframes subtleShift {
  0% { opacity: 0.4; transform: scale(1);}
  100% { opacity: 0.8; transform: scale(1.05);}
}

.careers-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
  padding: 0.4rem 1rem;
  border-radius: 40px;
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(230, 90, 90, 0.25);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: #E65A5A;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.careers-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1rem;
  max-width: 550px;
  margin: 0 auto;
  color: #94A3B8;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: #64748B;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== WHY JOIN - MINIMAL LIST ===== */
.why-join {
  padding: 5rem 0;
  background: #0D121C;
  border-bottom: 1px solid #1A212F;
}

.why-header {
  text-align: center;
  margin-bottom: 3rem;
}

.why-header h2 {
  margin-top: 0.25rem;
}

.why-header p {
  color: #94A3B8;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed #1A212F;
}

.benefit-item i {
  font-size: 1.2rem;
  color: #E65A5A;
  margin-top: 0.2rem;
}

.benefit-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.benefit-item p {
  font-size: 0.75rem;
  color: #94A3B8;
}

/* ===== POSITIONS SECTION ===== */
.positions-section {
  padding: 5rem 0;
  background: #0A0E17;
}

.positions-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Tabs Minimal */
.tabs-minimal {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid #1A212F;
  padding-bottom: 0.5rem;
}

.tab-minimal {
  background: transparent;
  border: none;
  color: #64748B;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 0;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s;
  position: relative;
}

.tab-minimal:hover {
  color: #CBD5E1;
}

.tab-minimal.active {
  color: #E65A5A;
}

.tab-minimal.active::after {
  content: '';
  position: absolute;
  bottom: -0.55rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: #E65A5A;
}

.position-group {
  display: none;
}

.position-group.active-group {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Job Rows - No boxes, just borders */
.jobs-list-minimal {
  display: flex;
  flex-direction: column;
}

.job-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid #1A212F;
  transition: all 0.2s;
}

.job-row:hover {
  border-bottom-color: #E65A5A;
}

.job-row:hover .apply-link {
  opacity: 1;
  transform: translateX(0);
}

.apply-link {
  background: transparent;
  border: none;
  color: #E65A5A;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  opacity: 0.6;
  transform: translateX(-5px);
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.apply-link:hover {
  opacity: 1;
  gap: 8px;
}

.job-main {
  flex: 1;
}

.job-main h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.job-meta-minimal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.job-meta-minimal span {
  font-size: 0.7rem;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.job-meta-minimal i {
  font-size: 0.65rem;
}

.job-tags-minimal {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.job-tags-minimal span {
  font-size: 0.65rem;
  color: #94A3B8;
  background: rgba(100, 116, 139, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

/* OJT Header */
.ojt-header-minimal {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid #1A212F;
}

.ojt-header-minimal i {
  font-size: 2rem;
  color: #E65A5A;
}

.ojt-header-minimal h3 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.ojt-header-minimal p {
  font-size: 0.8rem;
  color: #94A3B8;
}

.ojt-row {
  border-left: 2px solid #E65A5A;
  padding-left: 1rem;
}

.ojt-note-minimal {
  margin-top: 2rem;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.75rem;
  color: #64748B;
  border-top: 1px solid #1A212F;
}

.ojt-note-minimal i {
  color: #E65A5A;
}

/* ===== MODAL MINIMAL ===== */
.modal-minimal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-content-minimal {
  background: #0D121C;
  width: 90%;
  max-width: 500px;
  border-top: 3px solid #E65A5A;
  animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header-minimal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid #1A212F;
}

.modal-header-minimal h3 {
  font-size: 1.1rem;
}

.modal-close-minimal {
  background: transparent;
  border: none;
  color: #64748B;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close-minimal:hover {
  color: #E65A5A;
}

.modal-body-minimal {
  padding: 1.5rem;
}

.modal-form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.modal-form-group input,
.modal-form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1rem 0 0.3rem;
  font-size: 0.85rem;
  color: #EDF2F8;
  font-family: 'Inter', sans-serif;
  outline: none;
}

.modal-form-group textarea {
  resize: vertical;
}

.modal-form-group label {
  position: absolute;
  left: 0;
  top: 0.8rem;
  font-size: 0.85rem;
  color: #64748B;
  transition: all 0.2s;
  pointer-events: none;
}

.modal-form-group input:focus ~ label,
.modal-form-group input:not(:placeholder-shown) ~ label,
.modal-form-group textarea:focus ~ label,
.modal-form-group textarea:not(:placeholder-shown) ~ label {
  top: -0.3rem;
  font-size: 0.65rem;
  color: #E65A5A;
}

.modal-field-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #2A3343;
  transition: height 0.2s;
}

.modal-form-group input:focus ~ .modal-field-line,
.modal-form-group textarea:focus ~ .modal-field-line {
  height: 2px;
  background: #E65A5A;
}

.modal-form-group small {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.65rem;
  color: #64748B;
}

.modal-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.modal-checkbox input {
  width: auto;
}

.modal-checkbox label {
  font-size: 0.75rem;
  color: #94A3B8;
}

.modal-submit {
  width: 100%;
  background: transparent;
  border: 1px solid #E65A5A;
  color: #E65A5A;
  padding: 0.8rem;
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.modal-submit:hover {
  background: #E65A5A;
  color: white;
  gap: 12px;
}

/* ===== TOAST ===== */
.toast-minimal {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #111722;
  border-left: 3px solid #E65A5A;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2001;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.toast-minimal.show {
  transform: translateX(0);
}

.toast-minimal i {
  color: #E65A5A;
  font-size: 1rem;
}

.toast-minimal span {
  font-size: 0.8rem;
  color: #EDF2F8;
}

/* ===== CTA MINIMAL ===== */
.cta-minimal {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0A0E17, #0D121C);
  border-top: 1px solid #1A212F;
}

.cta-content-minimal {
  text-align: center;
}

.cta-content-minimal h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.cta-content-minimal p {
  color: #94A3B8;
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
}

.cta-link-minimal {
  color: #E65A5A;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
}

.cta-link-minimal:hover {
  gap: 12px;
}

/* ===== FOOTER ===== */
.footer {
  background: #05080F;
  position: relative;
}

.footer-wave {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.footer-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.footer-main {
  padding: 3rem 0 2rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  padding: 0 32px;
}

.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.2rem;
}

.footer-logo-img {
  height: 42px;
  width: auto;
}

.footer-logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
}

.footer-desc {
  color: #94A3B8;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.social-icons {
  display: flex;
  gap: 0.8rem;
}

.social-icons a {
  width: 36px;
  height: 36px;
  background: #111722;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  transition: all 0.3s;
  border: 1px solid #1F2838;
  text-decoration: none;
}

.social-icons a:hover {
  background: #E65A5A;
  color: white;
  border-color: #E65A5A;
  transform: translateY(-3px);
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: #E65A5A;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.footer-col ul li a:hover {
  color: #E65A5A;
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #94A3B8;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.contact-info li i {
  width: 16px;
  color: #E65A5A;
}

.footer-bottom {
  border-top: 1px solid #1A202E;
  padding: 1.5rem 0;
}

.footer-bottom-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0 32px;
}

.footer-bottom p {
  color: #475569;
  font-size: 0.7rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #475569;
  text-decoration: none;
  font-size: 0.7rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #E65A5A;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .careers-hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 850px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: #0C111C;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem;
    gap: 1.5rem;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .careers-hero h1 {
    font-size: 2rem;
  }
  
  .benefits-list {
    grid-template-columns: 1fr;
  }
  
  .job-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .apply-link {
    opacity: 1;
    transform: none;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-logo-wrapper {
    justify-content: center;
  }
  
  .footer-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }
  
  .job-meta-minimal {
    flex-direction: column;
    gap: 0.3rem;
  }
  
  .tabs-minimal {
    gap: 1rem;
  }
}
