:root {
  --primary-color: #DC1918;
  --red-50:#FEF6F6;
  --blue: #132758;
  --blue-300: #204397;
  --white: #ffffff;
  --white-fa: #fafafa;
  --neutral-100: #F5F5F6;
  --neutral-200: #EAEBEC;
  --neutral-500: #7A7B7D;
  --neutral-600: #7A7B7D;
  --neutral-700: #515253;
  --neutral-800: #29292A;
  --font-stack: 'Arial', sans-serif;
  --spacing-unit: 16px;
}


* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
.align-center {
  text-align: center;
}
ul {
  list-style: none;
  padding-left: 0;
}

.career .container {
  width: 100%;
  max-width: 1180px !important;
  margin: auto;
  padding:0 30px;
}

@media screen and (max-width:767px) {
  .career .container {
    padding:0 15px;
  }
}

.career h1, 
.career h2, 
.career h3, 
.career h4 {
  color:var(--neutral-800);
  font-weight: 800;
  font-style: normal;
}

.career h1 {
  z-index:2;
  font-size: 42px;
  line-height: 50px;
  letter-spacing: -1.68px;
  max-width:300px;
  margin:0 auto;
}

.career h2 {
  font-size: 48px;
  line-height: 52px;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 10px;
}

@media screen and (max-width:1199px) {
  .career h2 {
    font-size: 42px;
    line-height: normal;
  }
}

@media screen and (max-width:767px) {
  .career h2 {
    font-size: 32px;
    line-height: normal;
  }
}


.career p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.02em;
  text-align: center;
  font-style: normal;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.triangle {
  position: absolute;
  left: 0;
  top: 0;
  padding:0 16px;
  z-index:2;
}

.triangle-1 {
  width: 52px;
  height: 52px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  transform: rotate(-90deg);
  
}

.triangle-2 {
  width: 52px;
  height: 52px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  transform: rotate(90deg);
  position:absolute;
  right: 0;
}


/* banner section */
.banner {
  background-image: url('../../style/images/career/banner.webp');
  background-size:cover;
  background-position: center top;
  height:446px;
  max-width:1440px;
  width:100%;
  margin:0 auto;
  text-align: center;
  border-radius:40px;
  overflow:hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom:160px;
}

@media screen and (max-width:1199px) {
  .banner {
    background-image: url('../../style/images/career/banner-tablet.webp');
    border-radius:0px;
    height:273px;
    margin-bottom:100px; 
  }
}

@media screen and (max-width:375px) {
  .banner {
    height:228px;
    margin-bottom:80px; 
  }
}

.banner-web-title {
  color: var(--white);
  font-weight: 800;
  font-style: normal;
  z-index:2;
  font-size: 42px;
  line-height: 50px;
  letter-spacing: -1.68px;
  max-width:300px;
  margin:0 auto;
}

.tablet-content h1 {
  color: var(--white);
  font-size:56px;
  text-shadow: 0 4px 4px rgba(0,0,0,0.25);
  margin:0;
  margin-bottom:10px;
  text-align: left;
}

@media screen and (max-width:375px) {
  .tablet-content h1 {
    font-size:42px;
    margin-bottom:8px;
  }
}

.tablet-content p {
  color: var(--white-fa);
  margin-bottom:16px;
  max-width: 280px;
  text-align: left;
}
.tablet-content a {
  background: #DC1918;
  background: linear-gradient(90deg,rgba(220, 25, 24, 1) 0%, rgba(171, 29, 28, 1) 100%);
  padding:12px 24px;
  border-radius:10px;
  color:var(--white);
  margin:0;
  margin-top:18px;
  display:block;
  max-width:150px;
}

@media screen and (min-width:1200px) {
  .tablet-content {
    display:none;
  }
}

.bg-blur {
  position: absolute;
  bottom:0;
  left:0;
  width: 100%;
  height:90%;
  backdrop-filter: blur(20px);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  background: var(--primary-color);
  background: linear-gradient(180deg,rgba(220, 25, 24, 0) 0%, rgba(220, 25, 24, 1) 100%);
  transition: opacity 0.6s ease;
  z-index: 1;
  padding:0 16px;
}

.bg-gradient {
  position: absolute;
  bottom:0;
  left:0;
  inset: 0;
  background: var(--blue);
  background: linear-gradient(319deg,rgba(19, 39, 88, 0) 0%, rgba(19, 39, 88, 1) 100%);
  pointer-events: none;
  z-index: 2;
}

@media screen and (max-width:1199px) {
  .bg-gradient {
    display:none;
  }
}

.banner:hover .bg-blur,
.banner:hover .triangle,
.banner:hover .banner-web-title {
  opacity: 0;
}

@media screen and (max-width:1199px) {
  .banner .bg-blur,
  .banner .triangle,
  .banner .banner-web-title {
    display:none;
  }
}

.banner .triangle {
  width: 316px;
  height: 100%;
}

.banner .triangle-1 {
  margin-top:112px;
}
.banner .triangle-2 {
  bottom: 19px;
}

/* why section */
.why {
  margin-bottom:160px;
}

@media screen and (max-width:1199px) {
  .why {
    margin-bottom:100px;
  }
}

@media screen and (max-width:375px) {
  .why {
    margin-bottom: 80px;
  }
}

.why p {
  margin-bottom: 42px;
}

@media screen and (max-width:375px) {
  .why p {
    margin-bottom: 28px;
  }
}

.why-wrapper {
  display:flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 37px;
}

@media screen and (max-width:375px) {
  .why-wrapper {
    gap: 42px;
  }
}

.why-card  {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding:40px 20px;
  border-radius:28px;
  background:var(--red-50);
  max-width:252px;
  width:100%;
}
@media screen and (max-width:375px) {
  .why-card  {
    padding:31px 20px;
  }
}
.why-card .img {
  background:var(--white);
  padding:16px;
  border-radius: 50px;
  margin-bottom:16px;
}
.why-card img {
  width:48px;
  height:48px;
}

.why-card b {
  font-weight: 800;
  font-size:42px;
  letter-spacing: -0.02em;
  margin-bottom:4px;
}
@media screen and (max-width:375px) {
  .why-card b {
    font-size:32px;
  }
}

.why-card .title {
  font-weight: 800;
  font-size:24px;
  letter-spacing: -0.02em;
  margin-bottom:10px;
}
@media screen and (max-width:375px) {
  .why-card .title {
    font-size:20px;
  }
}

.why-card .desc {
  font-weight: 400;
  font-size:18px;
  letter-spacing: -0.02em;
  margin-bottom:0px;
}


/* benefits section */
.benefits {
  padding:80px 0;
  background:var(--neutral-100);
}

@media screen and (max-width:1199px) {
  .benefits {
    padding:100px 0;
  }
}

@media screen and (max-width:375px) {
  .benefits {
    padding:80px 0;
  }
}

.benefits p {
  margin-bottom:42px;
}

.benefits-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap:62px;
}

.benefit-card {
  max-width:332px;
  width:100%;
  min-height:350px;
  border-radius:40px;
  overflow:hidden;
  box-shadow: 0 0 8px 2px rgba(0,0,0,0.2);
  position:relative;
}

.benefit-card .triangle {
  height: 100%;
  width: 100%;
}

.benefit-card .triangle-1,
.benefit-card .triangle-2 {
  background:var(--white);
}

.benefit-card .triangle-1 {
  position:absolute;
  top:10px;
  left:10px;
}

.benefit-card .triangle-2 {
  bottom:10px;
  right:10px;
}

.benefit-card .benefit-overlay {
  display:flex;
  justify-content: center;
  align-items: center;
  width:100%;
  height:100%;
  background: var(--primary-color);
  background: linear-gradient(180deg,rgba(220, 25, 24, 0) 0%, rgba(220, 25, 24, 1) 100%);
  transition: opacity 0.6s ease;
}

.benefit-card p {
  font-weight:800;
  font-size:42px;
  line-height: 50px;
  color:var(--white);
  margin-bottom:0;
  padding: 0 20px;
}

@media screen and (max-width:1199px) {
  .benefit-card p {
    font-size:40px;
  }
}

.benefit-card:hover .benefit-overlay {
  opacity: 0; 
}


/* global employees section */

.global {
  max-width:1440px;
  width:100%;
  margin:0 auto;
  padding:160px 0 80px;
}

@media screen and (max-width:1199px) {
  .global {
    padding:100px 0 50px;
  }
}

.global h2 {
  margin-bottom:42px;
}

.infinity-slider {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
}

.slide-track {
  width:5166px;
  animation: scroll 16s linear infinite;
}

.slide-track img {
  height: 516px;
  object-fit: cover;
  object-position: left center;
  flex-shrink: 0;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-2590px);
  }
}


/* opening positions section */
.opening-positions {
  padding-bottom:110px;
}
.opening-positions .container > p {
  margin-bottom:42px;
}

.jobs-wrapper {
  display:flex;
  gap:52px;
}

@media screen and (max-width:767px) {
  .jobs-wrapper {
    display:block;
    gap:52px;
  }
}

.jobs-wrapper a {
  background: #DC1918;
  background: linear-gradient(90deg,rgba(220, 25, 24, 1) 0%, rgba(171, 29, 28, 1) 100%);
  padding:12px 24px;
  border-radius:10px;
  color:var(--white);
  margin-top:18px;
  display: block;
  width: fit-content;
}

.job-detail * {
  text-align: left !important;
}

.job-detail h3 {
  color:var(--blue-300);
  margin-bottom:18px;
  font-size:23px;
}
.job-detail p {
  margin-bottom:12px;
}
.job-detail ul {
  margin-bottom:24px;
}
.job-detail ul li {
  margin-bottom:12px;
}

.jobs,
.job-right {
  width:50%;
}

@media screen and (max-width:767px) {
  .jobs,
  .job-right {
    width:100%;
  }
}

.job-item {
  background: #F2F5FC;
  border: 2px solid transparent;
  padding:28px;
  margin-bottom:24px;
  border-radius: 10px;
  cursor:pointer;
}
.job-item.selected {
  border: 2px solid #204397;
  cursor:initial;
}
.job-item.selected h3 {
  color:#204397;
}
.job-item .content:not(.show) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  position:relative;
}

@media screen and (max-width:767px) {
  .job-item.selected a {
    display:block;
    width:100%;
  }
}

.job-item a {
  text-align: center !important;
  display:none;
}

@media screen and (max-width:767px) {
  .job-item .content:not(.show):after {
    content:'';
    background: #515253;
    background: linear-gradient(180deg,rgba(81, 82, 83, 0) 0%, rgba(242, 245, 252, 1) 100%);
    width:100%;
    height:100%;
    position:absolute;
    left:0;
    bottom:0;
  }
}

.job-right .read-more,
.read-more.hide {
  display:none;
}
.read-more {
  padding:12px 34px;
  margin-bottom:18px;
  text-align: center !important;
  cursor:pointer;
}
@media screen and (min-width:768px) {
  .read-more {
    display:none;
  }
}

.read-more img {
  display: inline-block;
  vertical-align: -4px;
}


.job-right {
  padding: 32px 0;
}

@media screen and (max-width:767px) {
  .job-right {
    display:none;
  }
}

.jobs #pagination {
  margin:0;
  margin-top:8px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.page-btn {
    border: 1px solid var(--neutral-200);
    background-color: var(--white);
    color: var(--neutral-800);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    margin:0;
    padding: 5px 10px;
    border-radius: 4px;
}

.page-btn:hover {
    border-color: var(--blue-300);
    color: var(--blue-300);
}

.page-btn.active {
    border-color: var(--blue-300);
    color: var(--blue-300);
    font-weight: 600;
    box-shadow: 0 4px 4px rgba(0,0,0,0.25)
}

.page-btn.disabled {
    background-color: #e0e0e0;
    color: #999;
    border-color: var(--neutral-200);
    cursor: not-allowed;
}

.page-btn.prev-btn,
.page-btn.next-btn {
  font-weight: bold;
}
.page-btn.next-btn img {
  transform: rotate(180deg);
}


/* career section */
.cta {
  margin-bottom:100px;
}
.cta .bg {
  background: var(--primary-color);
  background: linear-gradient(90deg,rgba(220, 25, 24, 1) 0%, rgba(171, 29, 28, 1) 100%);
  border-radius:12px;
  position:relative;
  min-height:351px;
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding:54px 30px 57px;
}

@media screen and (max-width:767px) {
  .cta .bg {
    padding:79px 16px;
  }
}

.cta-circle,
.cta-lines {
  position:absolute;
}

.cta-circle {
  left:0;
  top:0;
}

@media screen and (max-width:767px) {
  .cta-circle {
    width: 67px;
  }
}

.cta-lines {
  right:0;
  bottom:0;
}

@media screen and (max-width:767px) {
  .cta-lines {
    width: 240px;
    right: -49px;
    bottom: -32px;
  }
}

.cta .wrapper {
  max-width: 665px;
  margin:0 auto;
}

.cta h4 {
  font-size:32px;
  color:var(--white);
  margin-bottom:10px;
  text-align: center;
}
.cta p {
  color:var(--white-fa);
  margin-bottom:16px;
}
.cta a {
  display:block;
  max-width:229px;
  margin:0 auto;
  border-radius:10px;
  color:var(--primary-color);
  padding:18px 36px;
  background:var(--white);
} 