body {
    gap: 0;
}

.vaccancy-type {
    position: relative;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    overflow: visible; /* ✅ allow description to overflow outside the card */
}

/* To scale card when hovering (optional effect) */
.vaccancy-type:hover {
    transform: scale(1.05); /* Slightly increase the size of the card */
}

/* Vacancy content: Role and Description */
.vacancy-content {
    padding: 15px;
    position: relative;
}

/* Heading of the vacancy (role) */
.vacancy-heading {
    font-weight: bold;
    font-size: 18px;
    color: #333;
}

/* Description is hidden by default */
.vacancy-description {
    font-size: 14px;
    color: #777;
    display: none; /* Hide description by default */
    margin-top: 10px;
}

/* Show description only when hovering over the parent container */
.vaccancy-type:hover .vacancy-description {
    display: block; /* Show description on hover */
    position: absolute;
    bottom: 0; /* Position it at the bottom */
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Optional: Dark background for description */
    color: white; /* White text for better readability */
    padding: 10px;
    font-size: 16px;
}

.vacancy-description {
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease; 
}

.vaccancy-type:hover .vacancy-description {
    opacity: 1;
    transform: translateY(0);
}


#imageContent2 {
    width: 100vw;
    position: absolute;
    top: 20vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#imageContent2 h2 {
    font-size: 60px;
    color: white;
    text-align: center;
    width: 50vw;
}

#imageContent2 p {
    font-size: 20px;
    width: 50vw;
    color: white;
    text-align: center;
}

.slick-dots li button{
    display: none;
}

#sec8 {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
}

.form {
    width: 40%;
    display: flex;
}

.iform{
    height: 100%;
    border-radius: 15px;
    background-image: url("images/carrierform.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position:  center;
}

.cform {
  width: 55%;
  display: flex;
  flex-direction: column;
  gap: 35px;
  margin-top: 2%;
}

.sec8formdiv2 {
    padding: 0;
}

#Career-sec2 {
    width: 100%;
    background-color: #191919;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 30px 5px;
}

#Career-sec2 h2 {
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    color: white;
}

#Career-sec2 p {
    font-size: 18px;
    font-weight: 400;
    color: white;
    width: 60%;
    text-align: center;
   
}

.vacancy {
    display: flex;
    width: 90%;
    gap: 30px;
    color: white;
    justify-content: center;
    padding: 10px 0;
    flex-wrap: wrap;
}

.vaccancy-type {
    width: 200px;
    border: 1px solid white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 5px;
    gap: 10px;
}

.img-vaccancy {
    width: 50px;
    height: 50px;
    background-color: #30479D;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vaccancy-type p {
    font-size: 12px;
    font-weight: 400;
}

.banner-Career-image{
    background-image: url(images/carrier-banner.png);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.banner-contact-image{
    background-image: url(images/carrier-banner.png);
    background-position: center;
    background-size: contain;
    background-attachment: fixed;
}

#Career-sec2 .vacancy-description {
    width: 270%; /* ✅ make it 270% wide */
}

.cform2{
   width: 55%;
  display: flex;
  flex-direction: column;
}


@media (max-width: 1170px) {
    .formdiv{margin-top: -190px;}
    
}

@media (max-width: 768px) {
    .formdiv{margin-top: -100px;}
    
}

@media (max-width: 430px) {
    .formdiv{margin-top: 0px;}
    
}

.career-form{
    margin-top: 3%;
}