:root {
  --primary: #00a493;
  --black-accent: #161417;
  --white: #fff;
  --grey-7: #313131;
  --dark-orange: #EA5A1C;
  --light-teal: #AFF8F0;
  --light-orange: #FCE7CC;
  --shadow: 0px 4px 8px rgba(0, 0, 0, 0.16);
  --border-radius: 20px;
  --button-talent-radius: 1000px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.experience-section-talent {
  padding: clamp(18px, 4vw, 50px) clamp(4px, 4vw, 80px);
  background-color: var(--white);
  width: 100%;
  margin-bottom: 15px !important;
  padding-bottom: 15px !important;
}

.container-talent {
  max-width: min(1160px, 100% - 36px);
  margin: 0 auto;
  width: 100%;
}

.section-title-talent {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.grid-container {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 40px);
  margin-top: 1rem;
}

.top-row, .bottom-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(24px, 4vw, 40px);
  justify-content: center;
}
.middle-row {
  width: 100%;
}
.card-talent {
  border-radius: var(--border-radius);
  padding: clamp(18px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  min-height: min(350px, 60vh);
  transition: transform 0.3s ease;
  height: 100%;

}
.card-talent:hover {
  transform: translateY(-4px);
}

.card-talent--orange {
  background-color: var(--light-orange);
}

.card-talent-teal {
  background-color: var(--light-teal);
}
.card-talent-container {
  overflow: visible; /* Ensures content is not hidden */
}
.card-talent-1 {
  position: relative; /* Set the card container as relative for absolute positioning */
  border-radius: var(--border-radius);
  padding: clamp(8px, 3vw, 20px); /* Keep padding as is */
  background: linear-gradient(0deg, rgba(255, 187, 157, 0.5), rgba(255, 187, 157, 0.5)), var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 420px; /* Set a fixed height for the card */
  min-height: 100px; /* Ensure a minimum height */
}
.hr-advisory-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(8px, 1.5vw, 12px); /* Reduce padding */
  margin-top:-30px;
 
}
.hr-advisory-image-wrapper {
  position: absolute;
  bottom: 0; /* Stick to the bottom */
  left: 70%; /* Adjusted for correct positioning */
  transform: translateX(-50%); /* Center correctly */
  width: 80%;
  display: flex;
  justify-content: center; /* Ensure image stays centered */
  align-items: flex-end; /* Align to the bottom */
  pointer-events: none; /* Prevent unwanted interactions */
}

.hr-advisory-image {
  width: 20%; /* Default width for desktop */
  max-width:80%;
  height: auto;
  object-fit: contain; /* Ensure no cropping */
  display: block; /* Remove extra spacing */
  margin: 0 auto; /* Ensure no unexpected shifting */
}
.card-talent__header {
  text-align: center;
  margin-bottom: clamp(16px, 4vw, 24px);
  width: 100%;
  padding: 16px; /* Optional: Adjust padding of the card container */
    overflow: hidden; 
}

.card-talent__tag {
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: clamp(8px, 2vw, 12px);
  margin-top: 0px; /* Moves text upwards */
}


.card-talent__title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  line-height: 1.2;
 margin-bottom: clamp(26px, 4vw, 36px);
  
}
ul.talent-acquisition-feature-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 8px 0 0;
  gap: clamp(4px, 1vw, 8px);
  row-gap: clamp(8px, 2vw, 16px);
  margin: clamp(16px, 3vw, 24px) 0;
  margin-top: -20px;
}
li.talent-acquisition-feature-list__item-talent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 500;
  padding-left: 0;
  position: relative;
  max-width: 100%;
  word-break: break-word;
}

li.talent-acquisition-feature-list__item-talent::before {
  content: '';
  position: relative;
  width: 6px;
  height: 6px;
  background-color: var(--dark-orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
ul.talent-acquisition-feature-list-1 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: clamp(8px, 2vw, 16px);
  margin-bottom: clamp(16px, 3vw, 24px);
  width: 100%;
  margin-top: -15px;
}
ul.talent-acquisition-feature-list-1 li.talent-acquisition-feature-list__item-talent::before {
  content: ''; /* A check mark as bullet */
  font-size: 16px; /* Adjust size if needed */
  color: var(--dark-green); /* Different bullet color */
  font-weight: bold; /* Optional: make it bolder */
  margin-top: 8px; /* Align with text */
}

ul.talent-acquisition-feature-list-1 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: clamp(8px, 2vw, 16px);
  margin-bottom: clamp(16px, 2vw, 22px);
  width: 100%;
  margin-top: -10px;
}


.card-talent-image-talent {
 width: 100%; /* Ensures responsiveness */
  height: auto; /* Maintains the aspect ratio */
  object-fit: contain; /* Prevents cropping */
   image-rendering: crisp-edges;
  border-radius: 10px;
  margin-top: -10px;
  margin-left: auto; /* Auto margin on the left */
  margin-right: auto; /* Auto margin on the righ
  display: block; /* Ensures the image behaves like a block element */
}


.button-talent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(10px, 2vw, 12px) clamp(16px, 3vw, 24px);
  height: auto;
  border-radius: var(--button-talent-radius);
  font-size: clamp(12px, 1.6vw, 14px);
  font-weight: 500;
  width: auto;
  min-width: fit-content;
  max-width: 100%;
  text-align: center;
  cursor: pointer;
  border: none;
  background-color: var(--black-accent);
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 auto;
  margin-top: 5px; /* Remove margin-top */
  position: relative; /* Set position to relative */
 
}
.button-talent-3 { 
  font-family: Figtree, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.72px;
  display: flex;
  align-items: center;
  gap: 8px;
    background-color:#008573; /* Slightly transparent */
  border: none;
  color: #FFFFFF; /* Increased brightness for better contrast */
  border-radius: 1000px;
  padding: 12px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  min-width: fit-content;
  margin-top: -30px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.button-talent-3:hover,
.button-talent-3:focus {
    background: #007469;
      outline: none;
}

.footer-talent {
  margin-top: clamp(32px, 5vw, 55px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 4vw, 40px);
  text-align: center;
  margin-left:10px;
}

.footer-talent__text {
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.4px;
  max-width: min(828px, 100%);
}
@media (min-width: 1025px) {
    .experience-section-talent {
        margin-top: -30px; /* Adjust the value as needed */
    }
}

@media (max-width: 1024px) { /* Tablets */
.button-talent-3 {
    font-size: clamp(12px, 1.4vw, 14px);
    padding: 10px 20px;
    top: -5px; /* Adjust button position */
  }

  .hr-advisory-image-wrapper {
    left: 75%; /* Adjust positioning for tablets */
  }

  .hr-advisory-image-wrapper {
    max-width: 350px;
 
  }

}
@media (max-width: 991px) {
  .card-talent-1 {
    min-height: auto;
    padding: 20px;
    margin-top: 1rem;
  }

  .hr-advisory-content {
    padding: 16px;
    margin-top: 1rem;
  }

  .hr-advisory-image-wrapper {
    max-width: 150px;
    margin-top: 20px;
  }

  .talent-acquisition-feature-list-1 {
    gap: 12px;
  }

  .talent-acquisition-feature-list__item-talent {
    padding-left: 20px;
  }

  .talent-acquisition-feature-list__item-talent::before {
    left: 6px;
  }

  .button-talent {
    width: auto;
    min-width: max-content;
    padding: 12px 20px;
  }
  .button-talent-3 {
    width: auto; /* Make the button width fit the content */
    padding: 8px 12px; /* Adjust padding for mobile */
    font-size: 14px; /* Slightly larger text on small screens */
    margin-top: 20px; /* Add margin-top for spacing */
    display: inline-flex; /* Ensure the button stays in-line */
    align-items: center; /* Align button contents properly */
    justify-content: center; /* Center the content */
  }
}

@media (max-width: 756px) {
  .talent-acquisition-feature-list, .talent-acquisition-feature-list-1 {
    justify-content: center;
  }

  .grid-container {
    margin-top: 1rem;
  }

  .card-talent__header {
    margin-top: 1rem;
  }

  .hr-advisory-content {
    margin-top: -1.6rem;
  }
  .hr-advisory-image-wrapper {
    left: 50%; /* Center the image */
    transform: translateX(-50%);
  }

.hr-advisory-image {
    width:260%; /* Increase width beyond 100% to ensure it's large */
    max-width: none; /* Disable max-width restriction */
    height: auto;
    object-fit: cover; /* Prevent any stretching or squishing */
  }
}

@media (max-width: 767px) {
 .card-talent-1 {
    min-height: auto;
    padding: 24px;
    margin: 16px 0; /* Adds space above and below */
  }

  .hr-advisory-content {
    padding: 12px;
  }

  .card-talent {
    min-height: auto;
  }

  .talent-acquisition-feature-list__item-talent {
    width: 100%;
    justify-content: flex-start;
    padding-left: 20px;
    white-space: normal;
  }

  .talent-acquisition-feature-list__item-talent::before {
    left: 6px;
    display: block;
  }

  .footer-talent {
    text-align: center;
    margin-bottom:30px;
  }

  .card-talent-image-talent {
    height: 150px;
  }

  .talent-acquisition-feature-list-1 {
    flex-direction: column;
    align-items: flex-start;
  }

  .button-talent {
    width: fit-content;
    min-width: unset;
    padding: 12px 16px;
    white-space: normal;
    height: auto;
  }
}

@media (min-width: 768px) {
  .card-talent-1 {
    min-height: auto;
    padding: 24px;
    margin: 16px 0; /* Adds space above and below */
  }

  .hr-advisory-content {
    padding: 20px;
  }

  .footer-talent {
    flex-direction: row;
    text-align: left;
    align-items: center;
    justify-content: space-between;
  }

 .button-talent {
    width: fit-content;
    min-width: unset;
    padding: 12px 16px;
    white-space: normal;
    height: auto;
  }
    .hr-advisory-image-wrapper {
    left: 50%; /* Center the image */
    transform: translateX(-50%);
  }

.hr-advisory-image {
    width: 180%; /* Increase width beyond 100% to ensure it's large */
    max-width: none; /* Disable max-width restriction */
    height: auto;
    object-fit: cover; /* Prevent any stretching or squishing */
  }
  
  
}

@media (min-width: 1200px) {
  .talent-acquisition-feature-list, .talent-acquisition-feature-list-1 {
    grid-template-columns: repeat(2, 1fr);
  }

  .button-talent {
    padding: 12px 24px;
  }

  .hr-advisory-content {
    padding: 24px;
  }
  .hr-advisory-image {
    width:70%; /* Increase width beyond 100% to ensure it's large */
    max-width: none; /* Disable max-width restriction */
    height: auto;
    object-fit: cover; /* Prevent any stretching or squishing */
  }
}
@media (max-width: 480px) { /* Small mobile */
  .section-title-talent{
     font-size: 20px;
    line-height: 26px;
    min-height: 50px; /* Avoids layout shifts */
    text-align: center;
    opacity: 1;
  }
  .button-talent-3 {
    padding: 8px 16px; /* Adjust padding for smaller screens */
    width: auto; /* Make the button width adjust to the content */
    text-align: center; /* Center the text in the button */
    margin-top: -10px;
    display: inline-flex; /* Ensure button stays inline and adjusts with content */
    align-items: center; /* Align text within the button */
    justify-content: center; /* Center the text inside the button */
    white-space: nowrap; /* Prevent the text from wrapping to the next line */
  }

  .button-talent-3-text {
    font-size: 14px; /* Ensure font size is suitable for mobile */
    font-weight: 600;
    color: #ffffff; /* Keep text color white for visibility */
  }

  .hr-advisory-image-wrapper {
    left: 50%; /* Center the image */
    transform: translateX(-50%);
  }

.hr-advisory-image {
    width: 180%; /* Increase width beyond 100% to ensure it's large */
    max-width: none; /* Disable max-width restriction */
    height: auto;
    object-fit: cover; /* Prevent any stretching or squishing */
  }

   .button-talent {
    padding: 8px 16px; /* Adjust padding for smaller screens */
    width: 100%; /* Make the button take full width */
    text-align: center; /* Center the text in the button */
      margin-top: -10px;
  }
 ul.talent-acquisition-feature-list-1 {
    justify-content: flex-start; /* Align items to the left on mobile */
    text-align: left; /* Ensure text is left-aligned */
  }

  ul.talent-acquisition-feature-list-1 li.talent-acquisition-feature-list__item-talent {
    font-size: 14px; /* Adjust font size on smaller screens */
  }

  ul.talent-acquisition-feature-list-1 li.talent-acquisition-feature-list__item-talent::before {
    width: 5px; /* Smaller bullet size for mobile */
    height: 5px; /* Smaller bullet size */
    margin-top: 8px; /* Adjust bullet alignment on mobile */
     margin-right: 7px; /* Adjusted gap between bullet and text for mobile */
  }
ul.talent-acquisition-feature-list {
    justify-content: flex-start; /* Align items to the left */
      text-align: left; /* Ensure text is left-aligned */
    gap: 12px; /* Increase gap for mobile */
    margin-top: 0; /* Remove top margin for mobile */
  }

  li.talent-acquisition-feature-list__item-talent {
    align-items: flex-start; /* Ensure bullet aligns with text */
    font-size: 14px; /* Adjust font size for mobile */
    gap: 12px; /* Increase gap between bullet and text on mobile */
  }

  li.talent-acquisition-feature-list__item-talent::before {
 width: 5px; /* Smaller bullet size for mobile */
    height: 5px; /* Smaller bullet size */
    margin-top: 8px; /* Adjust bullet alignment on mobile */
     margin-right: 7px; /* Adjusted gap between bullet and text for mobile */
  }
}



@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .button-talent {
    display: none;
  }

  .card-talent {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}