@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #111212;
  color: #ffffff;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

/* ================================================================================================== */
/* CAREER SECTION - PREMIUM & INTERACTIVE */

.career-section {
  position: relative;
  min-height: 100vh;
  height: auto;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.24)),
              url('../../assets/images/banners/carrer-banner.png') center/cover no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 80px 8% 80px 8%;
  color: #fff;
  overflow: hidden;
}

.career-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(158, 255, 199, 0.08), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.04), transparent 25%);
  pointer-events: none;
  z-index: 1;
}

/* Overlay with gradient effect */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.393), rgba(0, 0, 0, 0.525));
  z-index: 0;
}

/* CAREER CONTENT - MAIN CARD */
.career-content {
  position: relative;
  width: 100%;
  max-width: 720px;
  z-index: 2;
  padding: 50px 56px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}


/* WELCOME TEXT */
.welcome-text {
  color: #9effc7;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  opacity: 0.92;
  transition: all 0.3s ease;
}

.career-content:hover .welcome-text {
  letter-spacing: 4px;
  color: #b8ffdb;
}

/* MAIN HEADING */
.career-content h2 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: #ffffff;
  transition: all 0.3s ease;
}

.career-content:hover h2 {
  color: #f0f0f0;
  text-shadow: 0 6px 20px rgba(255, 255, 255, 0.111);
}

.highlight-text {
  color: #41866e;
  transition: all 0.3s ease;
}

/* SUBTITLE */
.subtitle {
  font-size: 1.08rem;
  color: #d4d4d4;
  margin-bottom: 32px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.career-content:hover .subtitle {
  color: #e8e8e8;
}

/* BUTTONS CONTAINER */
.career-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

/* BUTTON STYLING */
.btn {
  position: relative;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
  text-align: center;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

/* ABOUT BUTTON - Primary */
.about-btn {
  background: linear-gradient(135deg, #94d9b7 0%, #41866e 100%);
  color: #0f202b;
  box-shadow: 0 12px 28px rgba(158, 255, 199, 0.24);
  border: 1px solid #7ff5b0;
}

.about-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 40px rgba(158, 255, 198, 0.204);
 background: rgba(158, 255, 198, 0.038);
  color: #9effc7;
}

.about-btn:active {
  transform: translateY(0) scale(0.98);
}

/* VACANCIES BUTTON - Secondary */
.vacancies-btn {
  background: rgba(158, 255, 198, 0.038);
  border: 1.5px solid rgba(158, 255, 199, 0.48);
  color: #9effc7;
  box-shadow: 0 12px 28px rgba(158, 255, 199, 0.08);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vacancies-btn:hover {
 background: linear-gradient(135deg, #94d9b7 0%, #41866e 100%);
  color: #0f202b;
  border-color: #9effc7;
  box-shadow: 0 18px 40px rgba(158, 255, 198, 0.158);
  transform: translateY(-2px) scale(1.02);
}

.vacancies-btn:active {
  transform: translateY(0) scale(0.98);
}

/* HOT VACANCIES TEXT */
.hot-vacancies {
  font-size: 0.95rem;
  color: #c0c0c0;
  line-height: 1.7;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  padding-top: 16px;
  border-top: 1px solid rgba(158, 255, 199, 0.1);
}

.career-content:hover .hot-vacancies {
  color: #d8d8d8;
  border-top-color: rgba(158, 255, 199, 0.2);
}

/* ================================================================================================== */
/* RESPONSIVE DESIGN */

@media (max-width: 1200px) {
  .career-section {
    padding: 70px 5% 70px 6%;
  }

  .career-content {
    max-width: 650px;
    padding: 44px 48px;
  }

  .career-content h2 {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  }
}

@media (max-width: 1024px) {
  .career-section {
    justify-content: center;
    padding: 60px 4% 60px 4%;
    background-attachment: scroll;
  }

  .career-content {
    max-width: 100%;
    padding: 42px 44px;
  }

  .career-content h2 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
  }

  .subtitle {
    font-size: 1.02rem;
  }
}

@media (max-width: 768px) {
  .career-section {
    min-height: auto;
    padding: 50px 4% 50px 4%;
  }

  .career-content {
    padding: 36px 32px;
    border-radius: 24px;
  }

  .career-content h2 {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    margin-bottom: 18px;
  }

  .subtitle {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }

  .welcome-text {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .career-buttons {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }

  .btn {
    width: 100%;
    padding: 13px 28px;
    font-size: 0.95rem;
  }

  .hot-vacancies {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .career-section {
    padding: 100px 3% 40px 3%;
  }

  .career-content {
    padding: 28px 24px;
    border-radius: 20px;
  }

  .career-content h2 {
    font-size: clamp(1.5rem, 5.5vw, 2.2rem);
    margin-bottom: 14px;
    line-height: 1.2;
  }

  .welcome-text {
    font-size: 11px;
    margin-bottom: 12px;
    letter-spacing: 2.4px;
  }

  .subtitle {
    font-size: 0.92rem;
    margin-bottom: 20px;
  }

  .career-buttons {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
  }

  .btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  .hot-vacancies {
    font-size: 0.85rem;
  }
}

@media (max-width: 320px) {
  .career-section {
    padding: 110px 3% 30px 3%;
  }

  .career-content {
    padding: 24px 18px;
  }

  .career-content h2 {
    font-size: 1.4rem;
  }

  .btn {
    padding: 11px 20px;
    font-size: 0.85rem;
  }
}

@media (max-width: 320px) {
  .career-content {
    padding: 24px 18px;
  }

  .career-content h2 {
    font-size: 1.4rem;
  }

  .btn {
    padding: 11px 20px;
    font-size: 0.85rem;
  }
}


/* ======================================================================================================================= */
/* 🎯 CATEGORY SECTION - PREMIUM INTERACTIVE & RESPONSIVE */

.category-section {
  padding: 90px 5%;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Premium Background Decorations */
.category-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(158, 255, 199, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.category-section::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(47, 93, 80, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(30px);
  }
}

.category-container {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Premium Header */
.section-tag {
  color: #2f5d50;
  letter-spacing: 4px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  opacity: 0.85;
  transition: all 0.3s ease;
  display: inline-block;
  background: linear-gradient(135deg, rgba(158, 255, 199, 0.15), rgba(47, 93, 80, 0.1));
  padding: 8px 24px;
  border-radius: 50px;
  border: 1px solid rgba(158, 255, 199, 0.3);
}

.section-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #0f202b;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.category-highlight {
  background: linear-gradient(135deg, #2f5d50 0%, #41866e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-subtitle {
  color: #666;
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  margin-bottom: 70px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-weight: 400;
}

/* Premium Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 50px;
}

/* Premium Card Styling */
.category-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
  border: 1.5px solid #e0f0eb;
  border-radius: 20px;
  padding: 48px 40px;
  text-align: left;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Animated gradient overlay */
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(158, 255, 199, 0.15) 0%, rgba(65, 134, 110, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

/* Shine effect on hover */
.category-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  opacity: 0;
  transform: rotate(45deg);
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.category-card:hover {
  transform: translateY(-16px) scale(1.03);
  box-shadow: 0 24px 60px rgba(47, 93, 80, 0.18);
  border-color: #94d9b7;
}

.category-card:hover::before {
  opacity: 1;
}

.category-card:hover::after {
  opacity: 1;
  animation: shine 0.6s ease;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* Premium Card Icon */
.category-card img {
  width: 64px;
  height: 64px;
  margin-bottom: 28px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  filter: drop-shadow(0 4px 12px rgba(47, 93, 80, 0.1));
}

.category-card:hover img {
  transform: scale(1.15) rotate(8deg) translateY(-8px);
  filter: drop-shadow(0 8px 24px rgba(158, 255, 199, 0.3));
}

/* Premium Vacancy Count */
.vacancy-count {
  font-size: 11px;
  color: #2f5d50;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-transform: uppercase;
  background: rgba(158, 255, 199, 0.12);
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  transition: all 0.3s ease;
}

.category-card:hover .vacancy-count {
  background: rgba(158, 255, 199, 0.25);
  color: #1a3d2d;
  transform: scale(1.05);
}

/* Premium Card Title */
.category-card h3 {
  font-size: 1.48rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #0f202b;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  letter-spacing: -0.01em;
}

.category-card:hover h3 {
  color: #2f5d50;
  transform: translateX(4px);
}

/* Premium Card Description */
.category-card .desc {
  font-size: 0.98rem;
  color: #666;
  margin-bottom: 32px;
  line-height: 1.8;
  font-weight: 400;
  transition: color 0.3s ease;
}

.category-card:hover .desc {
  color: #555;
}

/* Premium Card Link */
.category-link {
  color: #2f5d50;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.category-link::after {
  content: '→';
  transition: all 0.3s ease;
}

.category-link:hover {
  gap: 16px;
  color: #1a3d2d;
  border-bottom-color: #2f5d50;
}

.category-link:hover::after {
  transform: translateX(4px);
}

/* 📱 RESPONSIVE - PREMIUM CATEGORY */
@media (max-width: 1200px) {
  .category-section {
    padding: 80px 4%;
  }

  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
  }

  .category-card {
    padding: 40px 32px;
  }

  .section-title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  }

  .section-subtitle {
    margin-bottom: 60px;
  }
}

@media (max-width: 992px) {
  .category-section {
    padding: 75px 4%;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .category-card {
    padding: 36px 28px;
  }

  .section-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
}

@media (max-width: 768px) {
  .category-section {
    padding: 70px 4%;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .category-card {
    padding: 32px 24px;
    border-radius: 16px;
  }

  .section-title {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    margin-bottom: 14px;
  }

  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 45px;
  }

  .category-card img {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
  }

  .category-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .category-card .desc {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .vacancy-count {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .category-section {
    padding: 60px 3%;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .category-card {
    padding: 28px 20px;
    border-radius: 14px;
  }

  .section-tag {
    font-size: 11px;
    padding: 6px 16px;
    margin-bottom: 12px;
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 2.1rem);
    margin-bottom: 10px;
  }

  .section-subtitle {
    font-size: 0.85rem;
    margin-bottom: 35px;
  }

  .category-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }

  .category-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .category-card .desc {
    font-size: 0.85rem;
    margin-bottom: 18px;
  }

  .category-link {
    font-size: 0.9rem;
  }

  .vacancy-count {
    font-size: 10px;
  }
}

@media (max-width: 320px) {
  .category-card {
    padding: 24px 16px;
  }

  .category-card h3 {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.4rem;
  }
}

/* ======================================================================================================================= */
/* 🎯 APPLY SECTION - INTERACTIVE & RESPONSIVE */

.apply-section {
  padding: 60px 5% 0 5%;
  background: #ffffff;
  position: relative;
  overflow: visible;
  min-height: auto;
}

/* Decorative background */
.apply-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(158, 255, 199, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.apply-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  position: relative;
  z-index: 1;
}

/* LEFT CONTENT */
.apply-content {
  flex: 1.2;
  min-width: 300px;
}

.apply-content .tag {
  color: #2f5d50;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  opacity: 0.9;
}

.apply-content h2 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #000000;
  line-height: 1.3;
  margin-bottom: 20px;
}

.apply-content h2 span {
  color: #41866e;
}

.apply-content .desc {
  color: #666;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* BUTTONS */
.apply-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.apply-btn {
  background: linear-gradient(135deg, #2f5d50 0%, #1a3d2d 100%);
  color: #ffffff;
  padding: 16px 40px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.apply-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #9effc7 0%, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.apply-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(47, 93, 80, 0.3);
}

.apply-btn:active {
  transform: translateY(-2px);
}

/* Call Button */
.call-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border: 2px solid #2f5d50;
  border-radius: 12px;
  background: transparent;
  color: #2f5d50;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  text-decoration: none;
}

.call-btn:hover {
  background: #f0faf7;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(47, 93, 80, 0.15);
}

.call-btn .icon {
  font-size: 20px;
}

/* RIGHT IMAGE */
.apply-image {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  padding-bottom: 0;
}

.circle-bg {
  position: absolute;
  width: 450px;
  height: 450px;
  background: linear-gradient(135deg, rgba(158, 255, 198, 0.193) 0%, rgba(47, 93, 80, 0.144) 100%);
  border-radius: 50%;
  bottom: 115px;
  right: 10px;
  z-index: 1;
}

.apply-image img {
  width: 100%;
  max-width: 430px;
  position: relative;
  z-index: 2;
  object-fit: contain;
}

/* Float Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* 📱 RESPONSIVE - APPLY */
@media (max-width: 1200px) {
  .apply-section {
    padding: 50px 4% 0 4%;
  }

  .apply-container {
    gap: 60px;
  }

  .apply-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
  }

  .apply-image {
    min-height: 400px;
    padding-bottom: 0;
  }

  .circle-bg {
    width: 380px;
    height: 380px;
    bottom: 130px;
    right: -2px;
  }

  .apply-image img {
    max-width: 350px;
  }
}

@media (max-width: 992px) {
  .apply-section {
    padding: 50px 4% 0 4%;
  }

  .apply-container {
    flex-direction: column;
    gap: 50px;
    text-align: center;
  }

  .apply-content h2 {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
  }

  .apply-buttons {
    justify-content: center;
  }

  .apply-image {
    min-height: 350px;
    padding-bottom: 0;
  }

  .circle-bg {
    width: 320px;
    height: 320px;
    bottom: 105px;
    right: -3px;
  }

  .apply-image img {
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .apply-section {
    padding: 40px 4% 0 4%;
  }

  .apply-container {
    gap: 40px;
  }

  .apply-content h2 {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
  }

  .apply-content .desc {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .apply-buttons {
    flex-direction: column;
    gap: 16px;
  }

  .apply-btn,
  .call-btn {
    width: 100%;
    max-width: 300px;
  }

  .apply-image {
    min-height: 300px;
    padding-bottom: 0;
  }

  .circle-bg {
    width: 280px;
    height: 280px;
    bottom: 100px;
    right: 5px;
  }

  .apply-image img {
    max-width: 240px;
  }
}

@media (max-width: 480px) {
  .apply-section {
    padding: 30px 3% 0 3%;
  }

  .apply-content .tag {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .apply-content h2 {
    font-size: clamp(1.4rem, 6vw, 2rem);
    margin-bottom: 16px;
  }

  .apply-content .desc {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .apply-buttons {
    gap: 12px;
  }

  .apply-btn,
  .call-btn {
    width: 100%;
    max-width: none;
    padding: 14px 20px;
    font-size: 0.9rem;
  }

  .apply-image {
    min-height: 250px;
    padding-bottom: 0;
  }

  .circle-bg {
    width: 260px;
    height: 260px;
    bottom: 30px;
    right: -35px;
  }

  .apply-image img {
    max-width: 200px;
  }

  .category-section::before,
  .category-section::after,
  .apply-section::after {
    display: none;
  }
}

/* ======================================================================================================================= */
/* 🎯 APPLICATION MODAL - CAREERS */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 18px 16px;
  scrollbar-width: none;
}

.modal::-webkit-scrollbar {
  display: none;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 16%, rgba(158, 255, 199, 0.16), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(65, 134, 110, 0.22), transparent 30%),
    rgba(8, 17, 19, 0.82);
  backdrop-filter: blur(14px);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 980px;
  max-height: none;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.35fr);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 255, 249, 0.98)),
    #ffffff;
  border: 1px solid rgba(158, 255, 199, 0.24);
  border-radius: 34px;
  box-shadow: 0 30px 82px rgba(0, 0, 0, 0.34);
  padding: 0;
  z-index: 2;
  overflow: hidden;
  transform: translateY(18px);
  opacity: 0;
  animation: modalFadeIn 0.32s ease forwards;
}

.modal-content::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  background:
    linear-gradient(160deg, rgba(12, 29, 27, 0.9), rgba(25, 72, 59, 0.94)),
    radial-gradient(circle at 30% 25%, rgba(158, 255, 199, 0.38), transparent 34%);
  pointer-events: none;
}

.modal-content:hover {
  border-color: rgba(158, 255, 199, 0.42);
  box-shadow: 0 34px 88px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(158, 255, 199, 0.1);
}

.modal-content::after {
  content: '';
  position: absolute;
  left: 36px;
  bottom: 30px;
  width: 118px;
  height: 118px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(158, 255, 199, 0.18), rgba(255, 255, 255, 0.05)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 10px);
  transform: rotate(-10deg);
  pointer-events: none;
  animation: modalFloatTile 4.8s ease-in-out infinite;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: none;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(12, 29, 27, 0.12);
  z-index: 4;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.modal-close:hover {
  transform: rotate(90deg) scale(1.05);
  background: #9effc7;
  box-shadow: 0 14px 32px rgba(47, 93, 80, 0.22);
}

.modal-close span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: #205046;
  display: block;
}

.modal-close span:first-child { transform: rotate(45deg); }
.modal-close span:last-child { transform: rotate(-45deg); }

.modal-header {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: left;
  padding: 42px 30px 32px;
  color: #ffffff;
}

.modal-kicker {
  width: fit-content;
  font-size: 0.72rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #9effc7;
  margin-bottom: 14px;
  padding: 7px 14px;
  border: 1px solid rgba(158, 255, 199, 0.24);
  border-radius: 999px;
  background: rgba(158, 255, 199, 0.08);
}

.modal-header h2 {
  font-size: clamp(1.85rem, 3.1vw, 2.7rem);
  line-height: 1.04;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.04em;
}

.modal-copy {
  max-width: 280px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
  font-size: 0.88rem;
}

.modal-body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 26px 32px 24px;
}

.application-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.form-section {
  display: grid;
  gap: 10px;
  animation: formFieldRise 0.42s ease both;
}

.form-section:nth-child(3),
.form-section:nth-child(4),
.form-actions {
  grid-column: 1 / -1;
}

.form-section:nth-child(2) { animation-delay: 0.04s; }
.form-section:nth-child(3) { animation-delay: 0.08s; }
.form-section:nth-child(4) { animation-delay: 0.12s; }
.form-actions { animation: formFieldRise 0.42s ease 0.16s both; }

.modal .section-title {
  display: none;
}

.form-group {
  display: grid;
  gap: 5px;
}

.form-group label {
  color: #18352f;
  font-size: 0.86rem;
  font-weight: 600;
}

.required {
  color: #d63f3f;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(47, 93, 80, 0.14);
  background: rgba(255, 255, 255, 0.82);
  padding: 10px 14px;
  color: #1f3831;
  font-size: 0.92rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: #2f5d50;
  background: #f8fff9;
  box-shadow: 0 0 0 5px rgba(158, 255, 199, 0.22), 0 10px 24px rgba(47, 93, 80, 0.1);
  transform: translateY(-1px);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #8f9d99;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f3831' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  padding-right: 42px;
}

.file-upload-wrapper {
  position: relative;
}

.file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-box {
  border: 1.5px dashed rgba(47, 93, 80, 0.22);
  border-radius: 18px;
  padding: 13px 16px;
  display: grid;
  gap: 7px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(158, 255, 199, 0.1), rgba(255, 255, 255, 0.9));
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.file-upload-box:hover {
  background: linear-gradient(135deg, rgba(158, 255, 199, 0.18), rgba(255, 255, 255, 0.96));
  border-color: #9ee7be;
  box-shadow: 0 14px 30px rgba(47, 93, 80, 0.1);
  transform: translateY(-2px);
}

.file-upload-box.dragover {
  transform: translateY(-1px);
  background: #eff9f1;
  border-color: #2f5d50;
}

.upload-icon {
  font-size: 1.45rem;
}

.upload-text,
.upload-hint,
.file-name {
  color: #2f5d50;
}

.upload-text {
  font-size: 0.86rem;
  font-weight: 700;
}

.upload-hint {
  font-size: 0.74rem;
  color: #6c8a7d;
}

.file-name {
  font-size: 0.82rem;
  font-weight: 600;
}

.form-textarea {
  min-height: 64px;
  resize: none;
}

.form-input.error,
.form-textarea.error,
.form-select.error,
.file-upload-box.error {
  border-color: #d63f3f;
  background: #fff4f4;
}

.error-message {
  color: #d63f3f;
  font-size: 0.74rem;
  min-height: 11px;
}

.form-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  align-items: center;
  padding-top: 2px;
}

.btn-cancel,
.btn-submit {
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.9rem;
  min-width: 140px;
  padding: 11px 20px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-cancel {
  background: #f4f7f5;
  color: #2f5d50;
}

.btn-cancel:hover {
  transform: translateY(-2px);
  background: #e9f2ef;
  box-shadow: 0 10px 22px rgba(47, 93, 80, 0.1);
}

.btn-submit {
  background: linear-gradient(135deg, #2f5d50 0%, #19483b 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(47, 93, 80, 0.16);
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(47, 93, 80, 0.22);
}

.btn-submit:hover::before {
  transform: translateX(100%);
}

.success-message {
  text-align: center;
  padding: 30px 22px;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  border: 1px solid #dce8e4;
  box-shadow: 0 20px 45px rgba(47, 93, 80, 0.1);
}

.success-icon {
  font-size: 3rem;
  color: #2f5d50;
  margin-bottom: 18px;
}

.success-message h3 {
  color: #102b27;
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.success-message p {
  color: #4d5c58;
  line-height: 1.7;
  margin-bottom: 24px;
}

.btn-close-success {
  background: linear-gradient(135deg, #2f5d50 0%, #19483b 100%);
  color: #ffffff;
  padding: 13px 26px;
}

@keyframes modalFadeIn {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes modalFloatTile {
  0%, 100% {
    transform: translateY(0) rotate(-10deg);
  }
  50% {
    transform: translateY(-10px) rotate(-6deg);
  }
}

@keyframes formFieldRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .modal {
    align-items: flex-start;
    padding: 18px 12px;
  }

  .modal-content {
    grid-template-columns: 1fr;
    min-height: auto;
    border-radius: 24px;
  }

  .modal-content::before {
    inset: 0 0 auto 0;
    width: 100%;
    height: 220px;
  }

  .modal-content::after {
    display: none;
  }

  .modal-header {
    padding: 34px 24px 28px;
  }

  .modal-copy {
    max-width: none;
  }

  .modal-body {
    padding: 26px 20px 22px;
  }

  .application-form {
    grid-template-columns: 1fr;
  }

  .modal-header h2 {
    font-size: 1.7rem;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-cancel,
  .btn-submit {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .modal {
    padding: 12px 10px;
  }

  .modal-content {
    border-radius: 18px;
  }

  .modal-close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }

  .modal-header {
    padding: 30px 18px 24px;
  }

  .modal-body {
    padding: 22px 16px 18px;
  }

  .modal-header h2 {
    font-size: 1.45rem;
  }

  .form-input,
  .form-textarea,
  .form-select {
    padding: 11px 13px;
  }

  .file-upload-box {
    padding: 18px 14px;
  }

  .btn-cancel,
  .btn-submit {
    padding: 12px 18px;
    font-size: 0.9rem;
  }
}
