/* ===================================
   CAREERS PAGE STYLES
   ===================================
   
   Following the exact design system from style.css and legacy.css
   Uses CSS variables for complete consistency
   
   TABLE OF CONTENTS:
   1. Hero Section
   2. Why Join Us Section
   3. Perks & Benefits
   4. Application Process
   5. CTA Section
   6. Responsive Design
   
   =================================== */

/* ===================================
   1. HERO SECTION - UNIQUE GEOMETRIC DESIGN
   =================================== */

.careers-hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a3a75 0%, #2c5aa0 100%);
  position: relative;
  overflow: hidden;
  padding: 8rem 0 6rem;
}

/* Animated Geometric Background */
.hero-geometric-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.geo-shape {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-1 {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -100px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  animation: morph 20s ease-in-out infinite alternate;
}

.shape-2 {
  width: 350px;
  height: 350px;
  bottom: -80px;
  left: 5%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 70%
  );
  animation: morph 15s ease-in-out infinite alternate-reverse;
  animation-delay: 2s;
}

.shape-3 {
  width: 250px;
  height: 250px;
  top: 40%;
  left: -50px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 70%
  );
  animation: morph 18s ease-in-out infinite alternate;
  animation-delay: 4s;
}

.shape-4 {
  width: 400px;
  height: 400px;
  top: 20%;
  right: 15%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.02) 0%,
    transparent 70%
  );
  animation: morph 22s ease-in-out infinite alternate-reverse;
  animation-delay: 1s;
}

@keyframes morph {
  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(0deg) scale(1);
  }
  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    transform: rotate(180deg) scale(1.1);
  }
}

/* Hero Grid Layout */
.hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  color: #fff;
}

.hero-badge-wrapper {
  margin-bottom: 2rem;
  animation: slideDown 0.8s ease-out;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}

.section-label i {
  font-size: 1.125rem;
}

/* Unique Title Design */
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--font-semi-bold);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
}

.title-line {
  display: block;
  animation: slideRight 0.8s ease-out backwards;
}

.title-line:nth-child(1) {
  animation-delay: 0.2s;
}

.title-line:nth-child(2) {
  animation-delay: 0.4s;
}

.title-line:nth-child(3) {
  animation-delay: 0.6s;
}

.title-highlight {
  position: relative;
  display: inline-block;
  color: #fff;
}

.title-highlight::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.25);
  z-index: -1;
  transform: skewX(-12deg);
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  max-width: 550px;
  margin-bottom: 0;
  animation: fadeIn 1s ease-out 0.8s backwards;
}

/* Unique Stats Panel Design */
.hero-stats-panel {
  position: relative;
  animation: slideLeft 0.8s ease-out 1s backwards;
}

.stats-card {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat-block {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border-left: 4px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.stat-block:hover {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: #fff;
  transform: translateX(8px);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #fff;
  flex-shrink: 0;
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: var(--font-semi-bold);
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===================================
   2. WHY JOIN US SECTION
   =================================== */

.why-join {
  padding: 5rem 0;
  background-color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--first-color);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-color);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.value-card {
  padding: 2.5rem 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid #f0f0f0;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--first-color);
}

.value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    var(--first-color) 0%,
    hsl(220, 68%, 45%) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 1rem;
}

.value-card p {
  font-size: 0.9375rem;
  color: var(--text-color);
  line-height: 1.7;
  margin: 0;
}

/* ===================================
   3. PERKS & BENEFITS
   =================================== */

.perks-benefits {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--first-color-lighten) 0%, #fff 100%);
}

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

.perk-item {
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.perk-item:hover {
  border-color: var(--first-color);
  transform: translateX(5px);
}

.perk-icon {
  font-size: 2rem;
  color: var(--first-color);
  flex-shrink: 0;
}

.perk-content h4 {
  font-size: 1.125rem;
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.perk-content p {
  font-size: 0.9375rem;
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
}

/* ===================================
   6. APPLICATION PROCESS
   =================================== */

.application-process {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--first-color-lighten) 0%, #fff 100%);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.process-step {
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--first-color);
}

.step-number {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    var(--first-color) 0%,
    hsl(220, 68%, 45%) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: var(--font-semi-bold);
  color: #fff;
}

.process-step h4 {
  font-size: 1.125rem;
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 0.75rem;
}

.process-step p {
  font-size: 0.9375rem;
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
}

/* ===================================
   7. CTA SECTION
   =================================== */

.careers-cta {
  padding: 5rem 0;
  background: linear-gradient(
    135deg,
    var(--first-color) 0%,
    hsl(220, 68%, 45%) 100%
  );
  color: #fff;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cta-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

.cta-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 58, 117, 0.1) 0%,
    rgba(44, 90, 160, 0.1) 100%
  );
  z-index: 1;
}

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

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

.cta-content {
  text-align: left;
}

.careers-cta h2 {
  font-size: 2.25rem;
  font-weight: var(--font-semi-bold);
  margin-bottom: 1.5rem;
}

.careers-cta p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 1rem 2.5rem;
  background: #fff;
  color: var(--first-color);
  border: none;
  border-radius: 8px;
  font-size: 1.0625rem;
  font-weight: var(--font-semi-bold);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  padding: 1rem 2.5rem;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 8px;
  font-size: 1.0625rem;
  font-weight: var(--font-semi-bold);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: #fff;
  color: var(--first-color);
  transform: translateY(-2px);
}

/* ===================================
   8. RESPONSIVE DESIGN
   =================================== */

@media screen and (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-stats-panel {
    max-width: 500px;
    margin: 0 auto;
  }

  .geo-shape {
    opacity: 0.5;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .cta-buttons {
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  .careers-hero {
    min-height: 70vh;
    padding: 5rem 0 4rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .stats-card {
    padding: 2rem 1.5rem;
  }

  .stat-block {
    padding: 1.25rem;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 1.875rem;
  }

  .shape-1 {
    width: 350px;
    height: 350px;
  }

  .shape-2 {
    width: 250px;
    height: 250px;
  }

  .shape-3,
  .shape-4 {
    display: none;
  }

  .section-title {
    font-size: 2rem;
  }

  .why-join,
  .perks-benefits,
  .application-process,
  .careers-cta {
    padding: 3rem 0;
  }

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

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}

@media screen and (max-width: 480px) {
  .careers-hero {
    padding: 4rem 0 3rem;
  }

  .hero-title {
    font-size: 1.875rem;
  }

  .section-label {
    font-size: 0.75rem;
    padding: 0.625rem 1.25rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .careers-cta h2 {
    font-size: 1.75rem;
  }

  .perk-item {
    flex-direction: column;
    text-align: center;
  }

  .stat-number {
    font-size: 1.625rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .stats-card {
    gap: 1.5rem;
  }
}

/* ===================================
   END OF CAREERS PAGE STYLES
   =================================== */
