/* Hero Section - Dark Background with Team Image */
.career-hero {
  position: relative;
  min-height: 90vh;
  background: linear-gradient(135deg, #0b1120 0%, #1a2332 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.career-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.career-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 120px 60px 80px;
  align-items: center;
}

.career-hero-text h1 {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.career-hero-text h1 span {
  color: var(--color-primary-gold);
  display: block;
  background: linear-gradient(45deg, #ffd700, #ffb700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.career-hero-text p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  max-width: 750px;
  margin-bottom: 24px;
}

.career-hero-text .tagline {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  font-weight: 700;
}

.career-hero-text .tagline::before {
  content: "\0022";
  font-weight: 700;
  margin-right: 4px;
}

.career-hero-text .tagline::after {
  content: "\0022";
  font-weight: 700;
  margin-left: 4px;
}

.career-hero-image {
  position: relative;
}

.career-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: rotate(-2deg);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.career-hero-image:hover img {
  transform: rotate(0deg) scale(1.02);
}

/* PSM Intro Section */
.psm-intro-section {
  padding: 100px 0;
  background: #ffffff;
  color: #333;
}

.psm-intro-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

.psm-intro-content h2 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 24px;
  color: var(--color-primary-blue);
}

.psm-intro-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 24px;
}



/* The Perks Section - Tabbed Style */
.perks-section {
  padding: 100px 0;
  background: #fff;
}

.perks-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

.perks-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
  overflow-x: auto;
  padding-bottom: 10px; /* For scrollbar if needed */
}

.perks-tabs {
  display: inline-flex;
  background: #f0f2f5;
  padding: 6px;
  border-radius: 50px;
  gap: 4px;
}

.perks-tab-btn {
  padding: 12px 24px;
  border-radius: 40px;
  border: none;
  background: transparent;
  color: #666;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.perks-tab-btn.active {
  background: var(--color-primary-blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(13, 76, 145, 0.2);
}

.perks-tab-btn:hover:not(.active) {
  background: rgba(0, 0, 0, 0.05);
  color: #333;
}

.perks-pane {
  display: none;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 40px;
  animation: fadeIn 0.5s ease;
  max-width: 960px;
  margin: 0 auto;
}

.perks-pane.active {
  display: flex;
}

.perks-content-text {
  flex: 1;
  max-width: 450px;
}

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

.perks-content-text h3 {
  font-size: 32px;
  font-weight: 800;
  color: #000;
  margin-bottom: 24px;
  line-height: 1.3;
}

.perks-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.perks-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

.perks-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--color-primary-blue);
  font-weight: bold;
  font-size: 24px;
  line-height: 1;
  top: -2px;
}

.perks-image-wrapper {
  position: relative;
  height: 300px;
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.perks-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.perks-image-wrapper:hover img {
  transform: scale(1.05);
}

.perks-badge {
  display: inline-block;
  padding: 6px 12px;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Icon circle for perks */
.perks-icon-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #2251ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.perks-icon-circle svg {
  width: 100px;
  height: 100px;
  fill: white;
}

/* Values Section */
.values-section {
  padding: 80px 0;
  background: #fff;
}

.values-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Role Section */
.role-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0d4c91 0%, #1a5a9e 100%);
  color: #fff;
}

.role-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 992px) {
  .perks-pane {
    flex-direction: column;
    gap: 40px;
  }

  .perks-image-wrapper {
    order: -1; /* Image on top on mobile */
    height: 300px;
  }

  .values-grid,
  .role-grid {
      grid-template-columns: 1fr;
      gap: 40px;
  }

  .role-grid .image-wrapper {
      order: -1;
  }
}

/* Mobile Accordion Styles */
.perks-mobile-accordion {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.perks-accordion-item {
  background: #fff;
  border-bottom: 1px solid #eee;
  overflow: hidden;
}

.perks-accordion-header {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  transition: color 0.3s ease;
}

.perks-accordion-header:hover {
  color: var(--color-primary-blue);
}

.perks-accordion-header span {
    max-width: 90%;
}

.perks-accordion-header svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
  fill: #666;
}

.perks-accordion-item.active .perks-accordion-header svg {
  transform: rotate(180deg);
  fill: var(--color-primary-blue);
}

.perks-accordion-item.active .perks-accordion-header {
    color: var(--color-primary-blue);
}

.perks-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.perks-accordion-body {
    padding-bottom: 24px;
}

@media (max-width: 768px) {
  .perks-tabs-wrapper {
    display: none;
  }

  .perks-content-wrapper {
      display: none;
  }

  .perks-mobile-accordion {
    display: flex;
  }
}

/* Why Join Us Section */
.why-join-section {
  padding: 100px 0;
  background: var(--color-primary-blue);
  color: #fff;
}

.why-join-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-join-text h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 32px;
  line-height: 1.2;
}

.why-join-text p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.why-join-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
  padding: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.stat-item .number {
  font-size: 56px;
  font-weight: 900;
  color: #fff;
  display: block;
  margin-bottom: 8px;
}

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

/* Open Positions Section */
.positions-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.positions-header {
  max-width: 1440px;
  margin: 0 auto 60px;
  padding: 0 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.positions-header h2 {
  font-size: 48px;
  font-weight: 900;
  color: #000;
}

.positions-header p {
  font-size: 18px;
  color: #666;
}

.positions-list {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

.position-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding: 32px 40px;
  background: #fff;
  margin-bottom: 24px;
  border-radius: 16px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
  align-items: center;
}

.position-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.position-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
}

.position-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.position-meta span {
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
}

.position-meta svg {
  width: 16px;
  height: 16px;
  fill: var(--color-primary-blue);
}

.position-card .btn-apply {
  padding: 14px 32px;
  background: var(--color-primary-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  border-radius: 50px;
}

.position-card .btn-apply:hover {
  background: #1a5a9e;
  color: #fff;
}

/* Culture Section */
.culture-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0b1120 0%, #1a2332 100%);
  color: #fff;
}

.culture-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

.culture-content h2 {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.culture-content .subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 60px;
  max-width: 600px;
}

.culture-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.culture-gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: all 0.4s ease;
}

.culture-gallery img:hover {
  transform: scale(1.03);
}

/* CTA Section - Redesigned */
.career-cta-section {
  padding: 100px 60px;
  background: #fff;
}

.career-cta-container {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, #0d4c91 0%, #1a5a9e 100%);
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(13, 76, 145, 0.15);
}

.career-cta-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.career-cta-container::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.career-cta-container h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.career-cta-container p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.career-cta-container .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: #fff;
  color: var(--color-primary-blue);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.career-cta-container .btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  background: #f8f9fa;
}

/* PSM Intro Section */
.psm-intro-section {
  padding: 100px 0;
  background: #0d4c91;
  color: #fff;
}

.psm-intro-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
  text-align: left;
}

.psm-intro-content h2 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 24px;
  color: #fff;
}

.psm-intro-content p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.95);
  margin-bottom: 20px;
}

.psm-intro-content p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1200px) {
  .career-hero-text h1 {
    font-size: 56px;
  }

  .perks-section h2,
  .culture-content h2 {
    font-size: 42px;
  }
  margin-bottom: 16px;
  margin-left: auto;
  margin-right: auto;
}

.psm-intro-content p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1200px) {
  .career-hero-text h1 {
    font-size: 56px;
  }

  .perks-section h2,
  .culture-content h2 {
    font-size: 42px;
  }

  .why-join-text h2,
  .positions-header h2,
  .career-cta h2 {
    font-size: 38px;
  }
}

@media (max-width: 1024px) {
  .career-hero-content {
    grid-template-columns: 1fr;
    padding: 100px 40px 60px;
  }

  .career-hero-image {
    max-width: 600px;
  }

  .perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-join-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .culture-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .career-hero {
    min-height: auto;
  }

  .career-hero-content {
    padding: 100px 24px 60px;
  }

  .career-hero-text h1 {
    font-size: 42px;
  }

  .perks-section,
  .why-join-section,
  .positions-section,
  .culture-section,
  .career-cta {
    padding: 60px 24px;
  }

  .perks-grid {
    grid-template-columns: 1fr;
  }

  .perks-section h2,
  .culture-content h2 {
    font-size: 32px;
  }

  .why-join-text h2,
  .positions-header h2,
  .career-cta h2 {
    font-size: 28px;
  }

  .positions-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .position-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .position-card .btn-apply {
    justify-self: start;
  }

  .why-join-stats {
    grid-template-columns: 1fr;
  }

  .stat-item .number {
    font-size: 42px;
  }

  .culture-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .career-hero-text h1 {
    font-size: 36px;
  }

  .career-hero-text p {
    font-size: 16px;
  }

  .perk-card {
    padding: 24px;
  }

  .position-card {
    padding: 24px;
  }
}
    
