:root {
  --brand-dark: #001f4d;
  --brand-yellow: #fecf07;
  --brand-blue: #2563eb;
  --brand-blue-dark: #1d4ed8;
  --brand-blue-light: #3b82f6;
}

.careers-section {
  padding: 60px 0;
  background: #f8fafc;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Titles */
.section-title {
  font-family: "Merriweather", serif;
  font-size: 2rem;
  color: var(--brand-dark);
  margin-bottom: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 15px;
}

.title-icon {
  font-size: 1.5rem;
}

/* Career Overview */
.career-overview {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

.overview-text {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.highlight-item {
  text-align: center;
  padding: 25px;
  background: #f8fafc;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.highlight-item:hover {
  border-color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.02);
  transform: translateY(-5px);
}

.highlight-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.highlight-item h3 {
  font-family: "Merriweather", serif;
  color: var(--brand-dark);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.highlight-item p {
  color: #64748b;
  font-family: "Source Sans Pro", sans-serif;
  line-height: 1.6;
}

/* Job Openings */
.job-openings-section {
  margin-bottom: 50px;
}

.jobs-grid {
  display: grid;
  gap: 25px;
}

.job-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border-left: 4px solid var(--brand-blue);
}

.job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.job-title {
  font-family: "Merriweather", serif;
  color: var(--brand-dark);
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.job-meta {
  display: flex;
  gap: 15px;
  align-items: center;
}

.job-scale {
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-blue);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 600;
}

.job-status {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 600;
}

.expand-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
}

.expand-btn:hover {
  background: var(--brand-blue-dark);
  transform: scale(1.1);
}

.expand-btn.expanded {
  transform: rotate(45deg);
}

.job-summary {
  padding: 20px 25px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-family: "Source Sans Pro", sans-serif;
}

.summary-icon {
  font-size: 1.1rem;
}

.job-details {
  padding: 0 25px 25px;
  border-top: 1px solid #e2e8f0;
  margin-top: 0;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
  padding-top: 20px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.detail-item.full-width {
  grid-column: 1 / -1;
}

.detail-label {
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: "Source Sans Pro", sans-serif;
}

.detail-value {
  color: #475569;
  font-family: "Source Sans Pro", sans-serif;
  line-height: 1.6;
}

.job-description {
  background: #f8fafc;
  padding: 15px;
  border-radius: 8px;
  border-left: 3px solid var(--brand-yellow);
}

.job-actions {
  display: flex;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--brand-blue);
  color: white;
}

.btn-primary:hover {
  background: var(--brand-blue-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: white;
  color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
}

.btn-secondary:hover {
  background: var(--brand-blue);
  color: white;
}

.btn-primary.large,
.btn-secondary.large {
  padding: 15px 30px;
  font-size: 1.1rem;
}

/* No Jobs State */
.no-jobs {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-jobs-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

.no-jobs h3 {
  font-family: "Merriweather", serif;
  color: var(--brand-dark);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.no-jobs p {
  color: #64748b;
  font-family: "Source Sans Pro", sans-serif;
  line-height: 1.6;
  margin-bottom: 25px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Benefits Section */
.benefits-section {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.benefit-card {
  padding: 25px;
  background: #f8fafc;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.benefit-card.highlight {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(254, 207, 7, 0.05));
  border-color: var(--brand-yellow);
}

.benefit-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-3px);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.benefit-card h3 {
  font-family: "Merriweather", serif;
  color: var(--brand-dark);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.benefit-card p {
  color: #64748b;
  font-family: "Source Sans Pro", sans-serif;
  line-height: 1.6;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-list li {
  color: #64748b;
  font-family: "Source Sans Pro", sans-serif;
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}

.benefit-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-blue);
  font-weight: bold;
}

.conditions-notice {
  background: rgba(254, 207, 7, 0.1);
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid var(--brand-yellow);
}

.conditions-notice h3 {
  font-family: "Merriweather", serif;
  color: var(--brand-dark);
  margin-bottom: 15px;
}

.conditions-grid {
  display: grid;
  gap: 12px;
}

.condition-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #475569;
  font-family: "Source Sans Pro", sans-serif;
}

.condition-icon {
  font-size: 1.1rem;
  color: var(--brand-blue);
}

/* Application Section */
.application-section {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

.application-process {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content h3 {
  font-family: "Merriweather", serif;
  color: var(--brand-dark);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.step-content p {
  color: #64748b;
  font-family: "Source Sans Pro", sans-serif;
  line-height: 1.6;
  margin-bottom: 15px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-yellow);
  color: var(--brand-dark);
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background: #e6b800;
  transform: translateY(-2px);
}

.address-card {
  background: #f8fafc;
  padding: 15px;
  border-radius: 8px;
  border-left: 3px solid var(--brand-blue);
  margin-top: 10px;
  font-family: "Source Sans Pro", sans-serif;
  line-height: 1.6;
}

.deadline-card {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(254, 207, 7, 0.05));
  padding: 25px;
  border-radius: 12px;
  border: 2px solid var(--brand-yellow);
  text-align: center;
  position: sticky;
  top: 20px;
}

.deadline-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.deadline-card h3 {
  font-family: "Merriweather", serif;
  color: var(--brand-dark);
  margin-bottom: 10px;
}

.deadline-date {
  font-size: 1.5rem;
  font-weight: 700;
  color: #dc2626;
  margin-bottom: 10px;
}

.countdown-timer {
  font-family: "Source Sans Pro", sans-serif;
  color: #64748b;
  font-weight: 600;
}

/* Documents Section */
.documents-section {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.document-category h3 {
  font-family: "Merriweather", serif;
  color: var(--brand-dark);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.document-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.document-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  font-family: "Source Sans Pro", sans-serif;
  color: #475569;
}

.doc-icon {
  font-size: 1.2rem;
  color: var(--brand-blue);
}

.important-notice {
  display: flex;
  gap: 15px;
  background: rgba(239, 68, 68, 0.05);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid #dc2626;
}

.notice-icon {
  font-size: 1.5rem;
  color: #dc2626;
  flex-shrink: 0;
}

.notice-content {
  color: #475569;
  font-family: "Source Sans Pro", sans-serif;
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.contact-card {
  text-align: center;
  padding: 25px;
  background: #f8fafc;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--brand-blue);
}

.contact-card h3 {
  font-family: "Merriweather", serif;
  color: var(--brand-dark);
  margin-bottom: 10px;
}

.contact-link {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--brand-blue-dark);
}

.contact-address {
  color: #64748b;
  font-family: "Source Sans Pro", sans-serif;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  color: white;
  padding: 50px 40px;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 40px;
}

.cta-content h2 {
  font-family: "Merriweather", serif;
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.cta-content p {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cta-buttons .btn-primary {
  background: var(--brand-yellow);
  color: var(--brand-dark);
}

.cta-buttons .btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.cta-buttons .btn-secondary:hover {
  background: white;
  color: var(--brand-blue);
}

.cta-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.tagline-icon {
  font-size: 2rem;
}

.tagline-text {
  text-align: left;
  line-height: 1.4;
}

/* Share Modal */
.share-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background: white;
  border-radius: 15px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  position: relative;
  z-index: 1001;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #64748b;
}

.share-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.share-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.share-option:hover {
  border-color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.05);
}

.copy-link-section {
  display: flex;
  gap: 10px;
}

.copy-link-section input {
  flex: 1;
  padding: 12px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
}

.copy-link-section button {
  background: var(--brand-blue);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .application-process {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .deadline-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .careers-section {
    padding: 40px 0;
  }

  .career-overview,
  .benefits-section,
  .application-section,
  .documents-section,
  .contact-section {
    padding: 25px;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .job-actions {
    flex-direction: column;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-tagline {
    flex-direction: column;
    text-align: center;
  }

  .share-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.6rem;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .job-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .job-meta {
    justify-content: center;
  }

  .step-item {
    flex-direction: column;
    text-align: center;
  }

  .documents-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}


/* Enhanced Scroll Animations CSS */

/* Base animation setup */
.animate-target {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

/* Base animate-in class */
.animate-in {
  opacity: 1 !important;
  transform: translateY(0) translateX(0) scale(1) !important;
}

/* Animation Variants */

/* Fade animations */
.animate-fadeInUp {
  transform: translateY(40px);
}

.animate-fadeInDown {
  transform: translateY(-40px);
}

.animate-fadeInLeft {
  transform: translateX(-40px) translateY(0);
}

.animate-fadeInRight {
  transform: translateX(40px) translateY(0);
}

.animate-fadeInScale {
  transform: translateY(20px) scale(0.9);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Slide animations */
.animate-slideInLeft {
  transform: translateX(-60px) translateY(0);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slideInRight {
  transform: translateX(60px) translateY(0);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slideInUp {
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Bounce animation */
.animate-bounceIn {
  transform: scale(0.3);
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Pulse glow animation for highlighted elements */
.animate-pulseGlow {
  animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }
  100% {
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.2), 0 4px 20px rgba(254, 207, 7, 0.15);
    transform: translateY(-2px);
  }
}

/* Glow pulse class for benefit cards */
.glow-pulse {
  animation: gentleGlow 3s ease-in-out infinite;
}

@keyframes gentleGlow {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }
  50% {
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15), 0 4px 20px rgba(254, 207, 7, 0.1);
  }
}

/* Text reveal animations */
.text-reveal-target {
  overflow: hidden;
  position: relative;
}

.text-reveal-target::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, #f8fafc 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.text-reveal::after {
  transform: translateX(100%);
}

/* Enhanced job details animation */
.job-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.job-details-open {
  max-height: 1000px;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Step number bounce animation */
.step-number.animate-in.animate-bounceIn {
  animation: stepBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes stepBounce {
  0% {
    transform: scale(0) rotate(0deg);
  }
  50% {
    transform: scale(1.2) rotate(180deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
  }
}

/* Progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.scroll-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-yellow));
  width: 0%;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

/* Enhanced hover effects for animated elements */
.animate-in.job-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in.benefit-card:hover {
  transform: translateY(-5px) scale(1.02) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in.highlight-item:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.animate-in.contact-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Staggered animation delays for child elements */
.animate-in .job-title.animate-fadeInLeft {
  animation: slideInFromLeft 0.6s ease forwards;
  animation-delay: 0.1s;
}

.animate-in .job-meta.animate-fadeInRight {
  animation: slideInFromRight 0.6s ease forwards;
  animation-delay: 0.2s;
}

.animate-in .job-summary.animate-fadeInUp {
  animation: slideInFromBottom 0.6s ease forwards;
  animation-delay: 0.3s;
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading spinner for dynamic content */
.loading-spinner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

.loading-spinner::after {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid var(--brand-blue);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Parallax elements */
[data-parallax] {
  will-change: transform;
}

/* Enhanced modal animations */
.share-modal {
  animation: modalFadeIn 0.3s ease;
}

.modal-content {
  animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Notification animations */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Section-specific animations */
.career-overview.animate-in {
  animation: sectionReveal 1s ease forwards;
}

@keyframes sectionReveal {
  from {
    opacity: 0;
    transform: translateY(40px);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0% 0);
  }
}

/* CTA section special animation */
.cta-section.animate-in {
  animation: ctaReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes ctaReveal {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(30px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0px);
  }
}

/* No jobs state animation */
.no-jobs.animate-bounceIn {
  animation: noJobsBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes noJobsBounce {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(50px);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05) translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .animate-target,
  .animate-in,
  .job-details,
  .scroll-progress-bar,
  *[class*="animate-"] {
    animation: none !important;
    transition: none !important;
  }

  .animate-target {
    opacity: 1;
    transform: none;
  }

  .animate-in {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Performance optimizations */
.animate-target,
.animate-in,
.job-card,
.benefit-card,
.highlight-item,
.contact-card {
  backface-visibility: hidden;
  perspective: 1000px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .animate-in {
    box-shadow: none !important;
  }

  .scroll-progress-bar {
    background: currentColor;
    box-shadow: none;
  }

  .glow-pulse {
    animation: none;
  }
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .animate-target {
    transform: translateY(20px);
  }

  .animate-slideInLeft,
  .animate-slideInRight {
    transform: translateY(30px);
  }

  .animate-in.job-card:hover,
  .animate-in.benefit-card:hover,
  .animate-in.highlight-item:hover,
  .animate-in.contact-card:hover {
    transform: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  }

  .scroll-progress {
    height: 2px;
  }
}

/* Loading states for better UX */
.jobs-grid.loading .job-card {
  opacity: 0.6;
  pointer-events: none;
}

.jobs-grid.loading .job-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Focus management for accessibility */
.animate-in:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

/* Enhanced button animations */
.btn-primary.animate-in,
.btn-secondary.animate-in {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary.animate-in:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary.animate-in:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Icon animations */
.title-icon,
.highlight-icon,
.benefit-icon,
.contact-icon {
  transition: transform 0.3s ease;
}

.animate-in .title-icon,
.animate-in .highlight-icon,
.animate-in .benefit-icon,
.animate-in .contact-icon {
  animation: iconFloat 2s ease-in-out infinite alternate;
}

@keyframes iconFloat {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-5px);
  }
}

/* Special animations for specific sections */
.benefits-section.animate-in .benefit-card:nth-child(odd) {
  animation-delay: 0.1s;
}

.benefits-section.animate-in .benefit-card:nth-child(even) {
  animation-delay: 0.2s;
}

/* Intersection observer fallback for older browsers */
@supports not (backdrop-filter: blur(10px)) {
  .scroll-progress {
    background: rgba(248, 250, 252, 0.9);
  }
}

/* Print styles */
@media print {
  .scroll-progress,
  .animate-target,
  .animate-in,
  *[class*="animate-"] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}