.slide-item {
    width: clamp(1px, 30.99vw, 1190px) !important;
    height: clamp(1px, 22.813vw, 876px);
}

.slide-item img{
   object-fit: cover;
}

/* .career-description{
    overflow-y: auto;
    height: clamp(1px, 8vw, 90px);
    scrollbar-width: none;
    -ms-overflow-style: none;
} */

.nav-pills .position-link.active,
.nav-pills .show>.position-link {
    color: #FFFFFF !important;
    background-color: #C28618 !important;
}

.nav-pills .position-link {
    border-radius: 100px;
    padding: clamp(1px, 0.572915vw, 22px) clamp(1px, 1.770831vw, 68px) !important;

}

.position-item {
    width: fit-content !important;
    margin-right: 0 !important;
}

.nav {
    flex-wrap: nowrap !important;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    opacity: 0;
    cursor: auto;
    pointer-events: none;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
    display: none !important;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
    display: none !important;
}

.swiper-button-next,
.swiper-button-prev {
    display: block;
    position: relative;
    width: clamp(1px, 9.948vw, 382px);
    height: clamp(1px, 2.709vw, 104px);
    z-index: 10;
}

.swiper-button-prev {
    position: absolute;
    top: 0 !important;
    left: 0;
    background: linear-gradient(-90deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 65.33%);
    border-radius: 23.5px;
    z-index: 10;
}

.swiper-button-next {
    position: absolute;
    top: 0 !important;
    right: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 65.33%);
    border-radius: 23.5px;
    z-index: 10;
}

.swiper-button-next img,
.swiper-button-prev img {
    width: 100%;
    height: 100%;
}

.btn-prev-bg,
.btn-next-bg {
    position: relative;
    width: clamp(1px, 2.761vw, 106px);
    height: clamp(1px, 2.761vw, 106px);
}

.pos-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 100px;
    border: 2px solid rgb(51, 51, 51, .15);
}

.position-link {
    color: #333333;
}

.position-bg:hover a,
.position-bg:hover label {
    color: #FFFFFF !important;
}

.position-bg:hover .apply-btn {
    background-color: #FFFFFF;
    border: 1px solid #FFFFFF;
}
.position-bg:hover .apply-btn label {
    color: #5D0013 !important;
}

.position-bg:hover .apply-btn-arrow {
    display: flex !important;
}
.position-bg {
    width: 100%;
    height: 100%;
    border: 1px solid rgb(51, 51, 51, .35);

}

.position-bg:hover {
    border: 1px solid #5D0013;
    background-color: #5D0013;
    color: #FFFFFF;
}

.position-bg:hover .arrow-circle {
    animation: moveRight .8s ease-in forwards;
}

.tags-btn {
    width: fit-content;
    padding: clamp(1px, 0.2864581vw, 10px) clamp(1px, 1.5625vw, 60px);
    border-radius: 50px;
    background-color: #EBEBEB;
}

.tags-mobile span {
    display: inline-block;
    margin-right: 8px;
    padding: 8px 15px;
    border-radius: 100px;
    background-color: #ebebeb;
    white-space: nowrap;
  }
  
.scrollable-tags {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
    gap: 10px;
}

.position-bg:hover .tags-btn {
    background-color: #FFFFFF;
    color: #333333 !important;
}

.careers-container {
    height: 874px;
}

.careers p {
    margin-bottom: 0 !important;
}

.careers {
    width: clamp(1px,47.448vw,1822px);
}

.careers input {
    width: clamp(1px, 22.188vw, 852px);
    height: clamp(1px, 3.646vw, 140px);
    margin: 0;
    border: none;
    background-color: transparent !important;
    border-bottom: 2px solid #333333;
    padding: 0px 5px;
}

.careers input::placeholder,
.careers textarea::placeholder {
    color: #333333;
}

.careers .wpcf7-submit {
    width: clamp(1px, 8.8542vw, 340px) !important;
    height: clamp(1px, 2.865vw, 110px) !important;
    border: clamp(1px, 0.2vw, 6px) solid #5D0013 !important;
    border-radius: 100px !important;
    padding: 0 !important;
    margin-top: clamp(1px, 1.302081vw, 50px);
}

.careers .wpcf7-submit:hover{
    background-color: #C28618 !important;
    border: clamp(1px, 0.2vw, 6px) solid #C28618 !important;
	color: white !important;
}

.attch-file {
    position: absolute;
    opacity: 1 !important;
}

.attch-file p {
    margin: 0;
}

.wpcf7-file {
    opacity: 0 !important;
}

.clip {
    background-image: url('../../images/custom/Careers/004-attach-file 2.png');
    background-repeat: no-repeat;
    background-size: 100%;
    width: clamp(1px, 1.407vw, 54px);
    height: clamp(1px, 1.407vw, 54px);
}

.careers input:focus,
.careers input:focus-visible {
    outline: none;
    box-shadow: none;
    border-bottom: 2px solid #C28618;
}

.wpcf7-list-item input {
  accent-color: #5d0013;
  width: clamp(1px,0.782vw,30px) !important;
  height: clamp(1px,0.782vw,30px) !important;
  margin-right: 10px;
}

.wpcf7-list-item {
  margin: 0 !important;
   width: clamp(1px,47.448vw,1822px);
}


textarea {
    width: clamp(1px, 46.771vw, 1696px);
    min-height: clamp(1px, 3.907vw, 150px);
    border: none;
    color: #333333;
    background-color: transparent !important;
    border-bottom: 2px solid #333333;
    padding: clamp(1px, 1.041665vw, 40px) 5px;
    margin: 0;
    max-height: clamp(1px, 3.7vw, 70px);
    transition: max-height 0.2s ease;
}

textarea::-webkit-scrollbar {
    display: none;
}

textarea:focus,
textarea:focus-visible {
    outline: none;
    box-shadow: none;
    max-height: clamp(1px, 3.907vw, 150px);
    border-bottom: 2px solid #C28618;
}

.careers label {
    color: #333333 !important;
    padding-top: 6px;
}

.careers label {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

@keyframes bounce {
    0% {
        transform: translateY(100%) scale(1);
    }

    80% {
        transform: translateY(0%) scale(1);
    }

    100% {
        transform: translateY(0%) scale(1.05);
    }
}


/* Ensure the label becomes visible when input is focused or filled */
.careers div:focus-within label,
.careers input:not(:placeholder-shown) + label,
.careers textarea:not(:placeholder-shown) + label{
  opacity: 1 !important;
  animation: bounce 0.5s;
}

/* For input and textarea, hide placeholder when filled or focused */
input:focus::placeholder,
textarea:focus::placeholder,
input:not(:placeholder-shown)::placeholder,
textarea:not(:placeholder-shown)::placeholder {
  opacity: 0;
  animation: bounce 0.5s;
}

/* When the input or textarea is focused, show the label */
.careers input:focus + label,
.careers textarea:focus + label,
.careers input.filled + label,
.careers textarea.filled + label {
  opacity: 1 !important;
  animation: bounce 0.5s;
}

.careers div.focused label,
.careers div.filled label {
  opacity: 1 !important;
}

/* Single Page  */

.apply.modal {
    z-index: 999999;
    --bs-modal-width: 100% !important;
    background: rgb(0, 0, 0, .25) !important;
}

.modal-content {
    background-color: transparent !important;
    border: none !important;
    border-radius: none !important;
}

.apply-body {
    width: clamp(1px, 76.042vw, 2920px);
    min-height: clamp(1px, 35vw, 1200px);
    max-height: fit-content;
    background-color: #FFFFFF;
}

.careers-btn {
    width: clamp(1px, 2.3vw, 88px);
    height: clamp(1px, 2.3vw, 88px);
    opacity: 1 !important;
}

.apply-body .copy-icon {
    width: clamp(1px, 0.938vw, 42px) !important;
    height: clamp(1px, 0.938vw, 42px) !important;
}


.apply-btn {
    width: fit-content;
    height: 42px;
    padding: 0 20px;
    border: 1px solid #5D0013;
}

.apply-btn-icon {
    width: clamp(1px,1.133vw,44px);
    height: clamp(1px,1.133vw,44px);
}

.back-btn-icon {
    width: clamp(1px,2.6042vw,100px);
    height: clamp(1px,2.6042vw,100px);
}

.swiper-careers .swiper-slide {
  display: flex !important;
  height: auto !important;
}

.swiper-careers .swiper-slide > a {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.swiper-careers .position-bg {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.swiper-horizontal>.swiper-pagination-bullets, 
.swiper-pagination-bullets.swiper-pagination-horizontal, 
.swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 0 !important;
    top: 0 !important;
    left: 0 !important;
    width: fit-content !important;
}

.swiper-pagination {
    position: relative;
    text-align: center;
    background-color: rgb(0, 0, 0, 26%);
    border-radius: 37.5px;
    width: fit-content;
    padding: clamp(1px,0.572915vw,22px) clamp(1px,0.78125vw,30px);
    display: flex !important;  
    justify-content: center;   
    gap: clamp(1px,0.573vw,22px);   
}

.swiper-pagination-bullet {
    box-sizing: none !important;
    width: clamp(1px,0.47vw,9px) !important;
    height: clamp(1px,0.47vw,9px) !important;
    background-color: rgb(255, 255, 255, .53);
    margin: 0 !important;
    border-radius: 50px;
    border-top: none !important;
    border-bottom: none !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    width: clamp(1px,2.344vw,90px) !important;
    background-color: #FFFFFF;
}

.close-careers {
    padding-right: clamp(1px, 5.625vw, 216px);
    padding-bottom: clamp(1px, 3.541665vw, 136px);
}

.close-careers .btn-close {
    width: clamp(1px,1.875vw,88px);
    height: clamp(1px,1.875vw,88px);
    opacity: 1 !important;
}

@media (max-width:767px) {

    .career-banner {
        width: 100%;
        height: clamp(1px, 67.435vw, 1656px);
    }

    .slide-item {
        width: clamp(1px, 69.3vw, 1190px) !important;
        height: clamp(1px, 51vw, 876px);
    }

    .apply-btn-icon {
        width: clamp(1px, 5.06vw, 44px);
        height: clamp(1px, 5.06vw, 44px);
    }

    .apply-btn {
        width: 100%;
        height: clamp(1px,9.77vw,84px);
        padding: 0 20px;
        border: 1px solid #5D0013;
    }

    .pos-container {
        height: clamp(1px, 12.094vw, 128px);
    }

    .nav-pills .position-link {
        border-radius: 100px;
        padding: clamp(1px, 1.745vw, 22px) clamp(3px, 5.287vw, 83.032px) !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: clamp(1px, 22.326vw, 382px);
        height: clamp(1px, 11.63vw, 104px);
    }

    .btn-prev-bg,
    .btn-next-bg {
        width: clamp(1px, 11.63vw, 106px);
        height: clamp(1px, 11.63vw, 106px);
    }

    .position-bg {
        width: 100%;
        height: 100%;
        border: 1px solid rgb(51, 51, 51, .35);
    }

    .careers,
    .wpcf7-list-item  {
        width: 100%;
    }

    .careers input {
        width: 100%;
        height: clamp(1px, 16.28vw, 140px);
    }

    textarea {
        width: 100%;
        min-height: clamp(1px, 16.28vw, 150px);
        padding: clamp(1px, 4.5vw, 40px) 5px;
        max-height: clamp(1px, 16.28vw, 150px);
    }

    .careers .wpcf7-submit {
        width: clamp(1px, 29.303vw, 340px) !important;
        height: clamp(1px, 10.466vw, 110px) !important;
        border: clamp(1px, 0.6vw, 6px) solid #5D0013 !important;
    }

    .tags-btn {
        padding: clamp(1px, 0.931vw, 10px) clamp(1px, 6.534vw, 60px);
        border-radius: 50px;
    }

    .clip {
        width: clamp(1px, 5.582vw, 54px);
        height: clamp(1px, 5.582vw, 54px);
    }

    .apply-body {
        width: 100%;
        height: 100%;
        background-color: #FFFFFF;
    }
	
	.careers {
        justify-content: center !important; 
    }

    .apply-body .careers input {
        width: clamp(1px, 72.094vw, 852px);
        height: clamp(1px, 16.28vw, 140px);
    }

    .apply-body textarea {
        width: clamp(1px, 72.094vw, 1696px);
    }

    .apply-body .fs-20 {
        font-size: clamp(1px, 3.25581vw, 20px) !important;
    }

    .apply-body .copy-icon {
        width: clamp(1px, 3.49vw, 42px) !important;
        height: clamp(1px, 3.49vw, 42px) !important;
    }

    .careers-btn {
        width: clamp(1px, 8.375vw, 88px);
        height: clamp(1px, 8.375vw, 88px);
    }

    .arrow-circle {
        display: none;
    }

	.wpcf7-list-item input {
        width: clamp(1px,3.489vw,20px) !important;
        height: clamp(1px,3.489vw,20px) !important;
    }

    .back-btn-icon {
        width: clamp(1px,11.63vw,100px);
        height: clamp(1px,11.63vw,100px);
    }
    
    .swiper-pagination-bullet {
        width: clamp(1px,1.57vw,9px) !important;
        height: clamp(1px,1.57vw,9px) !important;
    }

    .swiper-pagination-bullet-active {
        width: clamp(1px, 7.7vw, 90px) !important;
    }

    .swiper-pagination {
        padding: clamp(1px, 1.860464vw, 22px) clamp(1px, 2.55813vw, 30px) !important;
        gap: clamp(1px, 1.436vw, 22px) !important;
    }

    .close-careers .btn-close {
        width: clamp(1px,6.512vw,88px);
        height: clamp(1px,6.512vw,88px);
    }


}