/* Main Career Styles (Add to your existing CSS) */
.careers-section {
  padding: 2rem 0;
  background: #f8f9fa;
  margin-top: 130px;
}

/* Enhanced styling for Hero and Why sections only */

.mini-hero {
  text-align: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, #f8fbff 0%, #f0f6ff 100%);
  margin-bottom: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(1, 41, 112, 0.08);
  border: 1px solid rgba(252, 182, 20, 0.2);
  position: relative;
  overflow: hidden;
}

.mini-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fcb614, #012970, #fcb614);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

.mini-hero h1 {
  color: #012970;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  position: relative;
  display: inline-block;
}

.mini-hero h1::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #fcb614;
  border-radius: 2px;
}

.mini-hero p {
  color: #444;
  font-size: 1.1rem;
  font-weight: 400;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.why-section {
  background: white;
  padding: 3rem;
  margin-bottom: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border-left: 6px solid #fcb614;
  position: relative;
  background-image:
    radial-gradient(
      circle at 20px 20px,
      rgba(252, 182, 20, 0.08) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 40px 60px,
      rgba(252, 182, 20, 0.06) 1px,
      transparent 1px
    );
  background-size: 60px 60px;
}

.why-section::before {
  content: "★";
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: #fcb614;
  font-size: 1.8rem;
  opacity: 0.7;
}
.why-section h2 {
  color: #012970;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.why-section h2::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 3px;
  background: #fcb614;
  border-radius: 2px;
}

.why-section p {
  color: #444;
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 400;
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 200% 0;
  }
  50% {
    background-position: -200% 0;
  }
}

@media (max-width: 768px) {
  .mini-hero {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }

  .mini-hero h1 {
    font-size: 1.9rem;
  }

  .why-section {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }

  .why-section h2 {
    font-size: 1.6rem;
  }
}

.careers-section h2 {
  color: #012970;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.accordion-container {
  background: white;
  padding: 3rem;
  margin-bottom: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border-left: 6px solid #fcb614;
  position: relative;
  background-image:
    radial-gradient(
      circle at 20px 20px,
      rgba(252, 182, 20, 0.08) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 40px 60px,
      rgba(252, 182, 20, 0.06) 1px,
      transparent 1px
    );
  background-size: 60px 60px;
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  background: white;
}

.accordion-header {
  width: 100%;
  background: white;
  padding: 1.5rem;
  border: none;
  text-align: left;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.accordion-header:hover {
  background: #f8f9ff;
}

.accordion-header h3 {
  color: #012970;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  flex: 1;
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fcb614;
  margin-right: 1rem;
  transition: transform 0.3s;
  min-width: 25px;
  text-align: center;
}

.openings {
  background: #fcb614;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.accordion-content {
  background: #fafbfc;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content p {
  color: #444;
  padding: 1.5rem;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.accordion-content ul {
  list-style: none;
  padding: 0 1.5rem 1.5rem;
  margin: 0;
}

.accordion-content li {
  color: #444;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  position: relative;
  padding-left: 1.5rem;
}

.accordion-content li::before {
  content: "→";
  color: #fcb614;
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1rem;
}

.apply-button {
  background: #012970;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  width: calc(100% - 3rem);
  margin: 0 1.5rem 1.5rem;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.apply-button:hover {
  background: #fcb614;
  color: #012970;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .why-section::before {
    top: 0.5rem;
    right: 1rem;
  }
  .mini-hero h1 {
    font-size: 1.6rem;
  }

  .accordion-header {
    padding: 1.2rem;
  }

  .accordion-header h3 {
    font-size: 1rem;
  }

  .careers-section {
    margin-top: 86px;
  }
  .accordion-container {
    background: white;
    padding: 2rem;
    margin-bottom: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border-left: 6px solid #fcb614;
    position: relative;
    background-image:
      radial-gradient(
        circle at 20px 20px,
        rgba(252, 182, 20, 0.08) 1px,
        transparent 1px
      ),
      radial-gradient(
        circle at 40px 60px,
        rgba(252, 182, 20, 0.06) 1px,
        transparent 1px
      );
    background-size: 60px 60px;
  }
}
.open-position {
  margin-bottom: 25px !important;
}
