/* ========================================
   CAREERS PAGE CSS
   ======================================== */

/* ===== Careers Page Container ===== */
.careers-page {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

/* ===== ROW 1: HERO ===== */
.careers-hero {
  margin-bottom: 2.5rem;
}

.careers-title {
  font-weight: 800;
  font-size: 2.8rem;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.careers-title .highlight {
  color: #8ab4f8;
}

.careers-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.careers-hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary-hero {
  background: linear-gradient(135deg, #5364f7, #8ab4f8) !important;
  border: none !important;
  border-radius: 60px !important;
  padding: 0.6rem 2rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  transition: all 0.3s !important;
}

.btn-primary-hero:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 4px 25px rgba(83, 100, 247, 0.4) !important;
  color: #ffffff !important;
}

.btn-secondary-hero {
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 60px !important;
  padding: 0.6rem 2rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  transition: all 0.3s !important;
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
}

.careers-hero-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 16px;
}

/* ===== ROW 2: STATS ===== */
.careers-stats {
  margin-bottom: 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.stat-item {
  text-align: center;
}

.stat-item .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #8ab4f8;
  display: block;
}

.stat-item .stat-label {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.stat-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.stat-divider i {
  color: #8ab4f8;
  font-size: 1.5rem;
}

.stat-divider .stat-number {
  font-size: 1.5rem;
}

/* ===== Section Header ===== */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h3 {
  font-weight: 700;
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.section-header h3 .highlight {
  color: #8ab4f8;
}

.section-header p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.95rem;
  margin: 0;
}

/* ===== ROW 3: WHY JOIN ===== */
.why-join-section {
  margin-bottom: 2.5rem;
}

.why-join-item {
  text-align: center;
  padding: 1.2rem 0.8rem !important;
  transition: all 0.3s;
  height: 100%;
}

.why-join-item:hover {
  transform: translateY(-4px);
  border-color: rgba(138, 180, 248, 0.15);
}

.why-join-item i {
  font-size: 2rem;
  color: #8ab4f8;
  margin-bottom: 0.5rem;
}

.why-join-item h6 {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.why-join-item p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  margin: 0;
  line-height: 1.4;
}

/* ===== ROW 4: OPEN POSITIONS ===== */
.open-positions-section {
  margin-bottom: 2.5rem;
}

.positions-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.position-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem !important;
  transition: all 0.3s;
  flex-wrap: wrap;
}

.position-item:hover {
  border-color: rgba(138, 180, 248, 0.12);
}

.position-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(138, 180, 248, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #8ab4f8;
  flex-shrink: 0;
}

.position-info {
  flex: 1;
  min-width: 150px;
}

.position-info h5 {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.95rem;
  margin: 0;
}

.position-info p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  margin: 0;
}

.position-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.position-location {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.position-location i {
  margin-right: 0.2rem;
}

.position-type {
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
}

.position-type.full-time {
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
}

.position-type.part-time {
  background: rgba(245, 166, 35, 0.12);
  color: #f5a623;
}

.btn-apply-position {
  background: rgba(138, 180, 248, 0.06) !important;
  border: 1px solid rgba(138, 180, 248, 0.06) !important;
  border-radius: 30px !important;
  padding: 0.3rem 1rem !important;
  font-weight: 500 !important;
  font-size: 0.75rem !important;
  color: #8ab4f8 !important;
  transition: all 0.3s !important;
  white-space: nowrap;
}

.btn-apply-position:hover {
  background: rgba(138, 180, 248, 0.12) !important;
  border-color: rgba(138, 180, 248, 0.15) !important;
  color: #ffffff !important;
}

.view-all-positions {
  text-align: center;
  margin-top: 1.5rem;
}

.btn-view-all-positions {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 30px !important;
  padding: 0.5rem 2rem !important;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  color: #ffffff !important;
  transition: all 0.3s !important;
}

.btn-view-all-positions:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(138, 180, 248, 0.15) !important;
  color: #8ab4f8 !important;
}

/* ===== ROW 5: PERKS & BENEFITS ===== */
.perks-benefits-section {
  margin-bottom: 2.5rem;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  transition: all 0.3s;
}

.perk-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(138, 180, 248, 0.06);
}

.perk-item i {
  font-size: 1.2rem;
  color: #8ab4f8;
}

.perk-item span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===== ROW 6: LIFE AT NOOK & HIRE ===== */
.life-at-nook-section {
  margin-bottom: 2.5rem;
}

.life-gallery-scroll {
  overflow-x: auto;
  padding: 0.5rem 0;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.life-gallery-scroll::-webkit-scrollbar {
  height: 6px;
}

.life-gallery-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
}

.life-gallery-scroll::-webkit-scrollbar-thumb {
  background: rgba(138, 180, 248, 0.2);
  border-radius: 10px;
}

.life-gallery-track {
  display: flex;
  gap: 1rem;
  width: max-content;
}

.life-gallery-item {
  flex-shrink: 0;
  width: 280px;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
}

.life-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.life-gallery-item:hover img {
  transform: scale(1.05);
}

.life-quote {
  text-align: center;
  padding: 1.5rem;
  margin-top: 1.5rem;
  background: rgba(138, 180, 248, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(138, 180, 248, 0.06);
}

.life-quote i {
  font-size: 2rem;
  color: rgba(138, 180, 248, 0.2);
}

.life-quote p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  font-style: italic;
  margin: 0.3rem 0 0;
}

/* ===== ROW 7: COMPANY QUOTES ===== */
.company-quotes-section {
  margin-bottom: 2.5rem;
}

.quote-card {
  padding: 1.5rem !important;
  text-align: center;
  height: 100%;
}

.quote-card i {
  font-size: 2rem;
  color: rgba(138, 180, 248, 0.15);
  margin-bottom: 0.8rem;
}

.quote-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1rem;
}

.quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.quote-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.quote-author h6 {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.85rem;
  margin: 0;
}

.quote-author span {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
}

/* ===== ROW 8: AD BANNER ===== */
.ad-banner-section {
  margin-bottom: 2rem;
}

.ad-banner {
  display: flex;
  overflow: hidden;
  padding: 0 !important;
}

.ad-banner-image {
  flex: 0 0 40%;
  overflow: hidden;
}

.ad-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 250px;
}

.ad-banner-content {
  flex: 1;
  padding: 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ad-banner-content h3 {
  font-weight: 700;
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.ad-banner-content h3 .highlight {
  color: #8ab4f8;
}

.ad-banner-content p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.ad-banner-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-ad-primary {
  background: linear-gradient(135deg, #5364f7, #8ab4f8) !important;
  border: none !important;
  border-radius: 60px !important;
  padding: 0.5rem 1.8rem !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  color: #ffffff !important;
  transition: all 0.3s !important;
}

.btn-ad-primary:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 4px 25px rgba(83, 100, 247, 0.3) !important;
  color: #ffffff !important;
}

.btn-ad-secondary {
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 60px !important;
  padding: 0.5rem 1.8rem !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  color: #ffffff !important;
  transition: all 0.3s !important;
}

.btn-ad-secondary:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 991px) {
  .careers-title {
    font-size: 2.2rem;
  }
  
  .careers-hero-image img {
    height: 280px;
  }
  
  .ad-banner {
    flex-direction: column;
  }
  
  .ad-banner-image {
    flex: none;
    height: 200px;
  }
  
  .ad-banner-content {
    padding: 1.5rem;
  }
  
  .ad-banner-content h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .careers-title {
    font-size: 1.8rem;
  }
  
  .careers-description {
    font-size: 0.95rem;
  }
  
  .stat-item .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-divider .stat-number {
    font-size: 1.2rem;
  }
  
  .position-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .position-meta {
    flex-wrap: wrap;
  }
  
  .perks-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
  
  .life-gallery-item {
    width: 220px;
    height: 150px;
  }
  
  .ad-banner-content h3 {
    font-size: 1.1rem;
  }
  
  .ad-banner-buttons {
    flex-direction: column;
  }
  
  .ad-banner-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .careers-title {
    font-size: 1.5rem;
  }
  
  .careers-hero-buttons {
    flex-direction: column;
  }
  
  .careers-hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  .careers-hero-image img {
    height: 200px;
  }
  
  .stat-item .stat-number {
    font-size: 1.2rem;
  }
  
  .stat-item .stat-label {
    font-size: 0.65rem;
  }
  
  .stat-divider .stat-number {
    font-size: 1rem;
  }
  
  .stat-divider i {
    font-size: 1rem;
  }
  
  .why-join-item {
    padding: 0.8rem 0.5rem !important;
  }
  
  .why-join-item i {
    font-size: 1.5rem;
  }
  
  .why-join-item h6 {
    font-size: 0.8rem;
  }
  
  .why-join-item p {
    font-size: 0.65rem;
  }
  
  .perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .perk-item {
    padding: 0.6rem 0.8rem;
  }
  
  .perk-item i {
    font-size: 1rem;
  }
  
  .perk-item span {
    font-size: 0.7rem;
  }
  
  .life-gallery-item {
    width: 160px;
    height: 120px;
  }
  
  .quote-card {
    padding: 1rem !important;
  }
  
  .quote-card p {
    font-size: 0.85rem;
  }
}