/* Reset default body and html padding/margin */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    overflow-x: hidden; /* Prevent sideways scroll */
}
 
/* Apply box-sizing border-box globally */
*, *::before, *::after {
    box-sizing: border-box;
}
.careers-card img{
    text-align: left;
    align-items: left;
    width: 50px;
    height: 50px;
}

/* background */


.back-careers-old {
    position: relative;
    text-align: left;
    background-image: url(../images/hardware/tools/power/back.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #ffffff; 
    min-height: 78vh;
    padding: 40px 20px;
    font-size: 2rem;
}

/* Overlay */
.back-careers-old::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.489);
    z-index: 1;
}

/* Text Styling */
.back-careers-old h1, 
.back-careers-old h2,
.back-careers-old p {
    position: relative;
    z-index: 2; /* Content above overlay */
}

.back-careers-old h1 {
    font-size: 8rem;
    margin-top: 20rem;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: hsl(0, 0%, 100%);
}

.back-careers-old h2 {
    margin-top: 1rem;
    font-size: 3.2rem;
    font-family: Arial;
    color: #ffffff;
    /* margin-right: 550px; */
    /* padding: 0.2em 0.5em; */
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .back-careers-old {
        padding: 30px 15px;
    }
    
    .back-careers-old h1 {
        margin-top: 15rem;
    }

    .back-careers-old h2 {
        margin-right: 400px;
    }

    .back-careers-old h3 {
        margin-right: 500px;
    }
}

@media (max-width: 768px) {
    .back-careers-old {
        padding: 20px 10px;
        background-attachment: scroll; /* Better performance on smaller devices */
    }

    .back-careers-old h1 {
        margin-top: 10rem;
        font-size: 8rem;
    }

    .back-careers-old h2 {
        margin-right: 0;
        font-size: 3rem;
    }

    .back-careers-old h3 {
        margin-right: 0;
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .back-careers-old h1 {
        font-size: 6rem;
        margin-top: 5rem;
    }

    .back-careers-old h2,
    .back-careers-old h3 {
        font-size: 2.5rem;
        margin-right: 0;
        padding: 0.1em;
    }
}

/* Additional CSS for creating two-column layout */
.careers-old-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.careers-old-column1,
.careers-old-column2 {
    flex: 1;
    min-width: calc(50% - 15px); /* Adjust width to ensure sections are side by side with spacing */
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .careers-old-column1,
    .careers-old-column2 {
        min-width: 100%;
    }
}

/* Additional CSS for creating two-column layout */
.careers-old-container2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: -50px;
}


/* Common Styles for both columns */
.careers-old-section-container2 {
    font-family: Arial, sans-serif;
    margin: 30px;
    transition: all 0.3s ease-in-out;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.careers-old-section-container2.visible {
    opacity: 1;
}

.careers-old-section-title2 {
    font-size: 2.5rem;
    color: #2b5797;
    margin-bottom: 20px;
    border-bottom: 3px solid #2b972d;
    padding-bottom: 10px;
    display: inline-block;
}

.careers-old-section-content2 {
    line-height: 1.6;
}

.careers-old-section-content2 ul {
    margin: 0;
    padding: 0;
    list-style: none;
    padding-left: 20px;
}

.careers-old-section-content2 ul li {
    margin-bottom: 10px;
    font-size: 1.5rem;
    text-align: justify;
    position: relative;
    padding-left: 25px;
}

.careers-old-section-content2 ul li:before {
    content: '\25B6'; /* Triangle bullet */
    color: #2b5797;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 768px) {
    .careers-old-section-container2 {
        padding: 20px;
    }

    .careers-old-section-title2 {
        font-size: 2rem;
    }

    .careers-old-section-content2 ul li {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .careers-old-section-container2 {
        padding: 15px;
    }

    .careers-old-section-title2 {
        font-size: 1.5rem;
    }

    .careers-old-section-content2 ul li {
        font-size: 0.9rem;
    }
}
.careers-old-mid-highlight-banner {
    /* background: linear-gradient(90deg, #FDC830, #F37335);  */
    background: linear-gradient(to bottom, rgb(36, 103, 154), rgb(92, 223, 237));
    color: #000;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 2px;
    text-align: center;
    font-size: 2.2rem;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.image-row {
    display: flex;
    justify-content: space-between; /* Adjust spacing between images */
    align-items: center;
    /* gap: 2px; Space between images */
    padding: 20px;
}

.careers-old-image4 {
    max-width: 100%;
    height: auto;
    width: 30%; /* Adjust this to control the size of the images */
    object-fit: cover; /* Ensures images fit nicely */
}
.careers-old-mid-highlight-banner1 {
    /* background: linear-gradient(90deg, #FDC830, #F37335);  */
    /* background: linear-gradient(to bottom, rgb(36, 103, 154), rgb(92, 223, 237)); */
    color: #34235c;
    margin-left: 20px;
    /* margin-bottom: 20px; */
    /* border-radius: 2px; */
    /* margin-top: -50px; */
    text-align: left;
    font-size: 4.2rem;
    font-weight: bold;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

@media (max-width: 768px) {
    .careers-old-mid-highlight-banner {
        font-size: 1em;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .careers-old-mid-highlight-banner {
        font-size: 0.9em;
        padding: 10px;
    }
}


/* Heallthcare */
.careers-old-container {
    display: flex;
    text-align: left;
    flex-direction: row;
    padding: 20px;
    gap: 20px;
    flex-wrap: wrap;
}

.careers-old-column1 {
    flex: 1;

    box-sizing: border-box;
}

.careers-old-title1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: rgb(44, 0, 96);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.careers-old-text1 {
    font-size: 16px;
    line-height: 1.5;
    
}

.careers-old-column2 {
    flex: 1;
    min-width: px;
    box-sizing: border-box;
}

.careers-old-title2 {
    font-size: 3.6rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: rgb(44, 0, 96);
}

.careers-old-text2{
    font-size: 16px;
    line-height: 1.5;
    text-align: justify;
}

.careers-old-paragraph{
   padding: 20PX;
}

.careers-old-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Ensure the container takes full width */
    height: auto; /* Adjust as needed */
}

.careers-old-image {
    max-width: 100%;
    height: auto;
}

.careers-old-split3-section {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.careers-old-split3-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

.careers-old-split3-item {
    flex: 1 1 30%;
    text-align: center;
}

.careers-old-split3-img {
    width: 100%;
    height: auto;
    max-width: 300px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.careers-old-split3-img:hover {
    transform: scale(1.05);
}

.careers-old-split3-name {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .careers-old-split3-item {
        flex: 1 1 45%;
    }
}

@media (max-width: 480px) {
    .careers-old-split3-item {
        flex: 1 1 100%;
    }
}


  .careers-old-image2 {
    max-width: 60%;
    height: auto;
    margin-top: 20px;
  }

  .careers-old-image3 {
    max-width: 60%;
    height: auto;
    margin-top: 50px;
  }

  .careers-old-text-highlight{
    font-size: 2.3rem;
    color: rgb(140, 73, 223);
  }
  .careers-old-text-highlight:hover{
    
    color: #f39c12;
  }



  .careers-old-text-highlight-flyer{
    font-size: 1.5rem;
    color: rgb(140, 73, 223);
    /* padding: 20px; */
    font-weight: bold;
  
  }
  .careers-old-text-highlight-flyer:hover{
    
    color: #f39c12;
    padding: 20px;
  }
/* Responsive Design */
@media (max-width: 768px) {
    .careers-old-container {
        flex-direction: column;
    }
}


/* General Styling for Health Boxes Section */
.careers-old-box-block {
    padding: 20px;
    background-color: #ffffff;
    text-align: center;
}

/* Container Styling */
.careers-old-box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Health Box Styling */
.careers-old-box {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 200px;
    height: auto;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.careers-old-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Image Styling */
.careers-old-box img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

/* Title Styling */
.careers-old-box-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .careers-old-box-container {
        flex-direction: column;
        align-items: center;
    }
    .careers-old-box {
        width: 90%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .careers-old-box {
        width: 45%;
    }
}

@media (min-width: 1025px) {
    .careers-old-box {
        width: 30%;
    }
}




.careers-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* margin-top: 200px; */
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.careers-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px;
    padding: 20px;
    max-width: 600px;
    width: 100%;
}

.careers-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.careers-content {
    text-align: center;
    padding: 20px;
}

.careers-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.careers-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.right-aligned {
    text-align: left;
    list-style-position: inside; /* Keeps bullets inside the text block */
    margin: 0;
    padding: 0;
  }

.careers-buttons {
    display: flex;
    gap: 10px;
}

.careers-btn {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    color: #ffffff;
    font-weight: bold;
}

.careers-btn.jd {
    background-color: #6a5acd;
}

.careers-btn.apply {
    background-color: #8a2be2;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .careers-card {
        max-width: 90%;
    }

    .careers-title {
        font-size: 1.5rem;
    }

    .careers-description {
        font-size: 0.9rem;
    }

    .careers-btn {
        padding: 8px 15px;
    }
}