.career-section {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}


.healthcare-card {
  background-color: rgba(209, 232, 235, 0.268);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  /* height: 520px; */
  height: auto;
  max-height: 700px;
  transition: transform 0.3s ease;
}

.healthcare-card:hover {
  transform: translateY(-5px);
}

.healthcare-card img {
  width: 100%;
  height: 250px;
  display: block;
  filter: brightness(0.8);
}

.healthcare-card .card-body {
  padding: 1.5rem;
}

.healthcare-card h5 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.healthcare-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.benefits-list {
  list-style: none;
  padding-left: 0;
}

.benefits-list li {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}

.benefits-list .icon {
  display: inline-flex;
  background-color: #8acef388;
  border-radius: 50%;
  padding: 6px 7px;
  font-weight: bold;
  font-size: 1rem;
  justify-content: center;
  align-items: center;
}

.col-md-4 img {
  max-width: 100%;
  /* border-radius: 12px; */
  /* box-shadow: 0 8px 24px rgba(2551, 215, 0, 0.3); */
  display: block;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .section-subtitle {
    font-size: 2rem;
    text-align: center;
  }
  .col-md-8,
  .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 2rem;
  }
}

.section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: transparent;
  padding: 30px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap; /* allow wrapping on smaller screens */
}

.text-box {
  flex: 1 1 500px; /* grow and shrink with a base width */
  background-color: #e6f2ff;
  padding: 30px 60px;
  /* border-radius: 8px; */
  z-index: 10;
  height: auto; /* remove fixed height for better responsiveness */
  box-sizing: border-box;
  min-width: 280px; /* prevent text box from shrinking too small */
}

.text-box h3 {
  margin-top: 0;
  color: #003366;
}

.text-box p {
  line-height: 1.6;
  color: #333;
  margin-bottom: 0;
}

.image-box {
  flex: 1 1 500px; /* grow and shrink with a base width */
  text-align: center;
  min-width: 280px; /* prevent image box from shrinking too small */
}

.image-box img {
  max-width: 100%;
  height: auto;
  /* border-radius: 8px; */
  display: block;
  margin: 0 auto;
}

/* Responsive adjustments for tablets and smaller screens */
@media (max-width: 1199px) {
  .section {
    flex-direction: column;
    padding: 20px 15px;
  }

  .text-box, .image-box {
    flex: none;
    width: 100%;
    min-width: auto;
    padding: 20px;
    height: auto;
  }

  .text-box {
    padding-bottom: 10px;
    margin: auto auto -100px auto !important;
  }
}


.swiper {
  width: 100%;
  max-width: 1210px;
  margin: auto;
  border-radius: 8px;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  padding: 40px 13px;
}




.info-section {
  background-color: #fff;
}

.info-icon img {
  border-radius: 50%;
  background-color: #f0f0f0;
  padding: 10px;
}

.info-title {
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.info-text {
  color: #666;
  font-size: 0.95rem;
}


.content-box {
    position: relative;
    left: 100px;
    top: 100px;
    background-color: aliceblue;
}




.accordion-container {
  display: flex;
  height: 90vh;
  overflow: hidden;
}

.accordion {
  flex: 1;
  background-image: url('https://www.shutterstock.com/image-photo/doctor-work-tablet-computerdigital-healthcare-600nw-2474856299.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  transition: 
    flex 0.6s ease-in-out,      /* smooth flex change */
    background-color 0.5s ease;  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 60px;
  margin: 10px;
  border-radius: 25px;
  border-right: 2px solid #1e2f5b;
  overflow: hidden;
}

.accordion::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5); /* 🔥 Overlay behind text */
  border-radius: 25px;
  z-index: 1; /* Behind text */
}

/* This puts your text above the overlay */
.label,
.accordion-content {
  position: relative;
  z-index: 2;
}


.accordion:hover,
.accordion.active {
  flex: 3;
}

.label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-orientation: mixed;
  font-size: 1rem;
  font-weight: 600;
  text-align: start;
  white-space: nowrap;
  color: white;
  transition: transform 0.3s;
}

.accordion.active .label,
.accordion:hover .label {
  writing-mode: horizontal-tb;
  transform: none;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 10px;
  padding: 0 10px;
}

.accordion-content {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  text-align: left;
  padding: 20px;
  max-width: 90%;
}

.accordion.active .accordion-content,
.accordion:hover .accordion-content {
  opacity: 1;
}

.accordion-content p {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.6;
}

/* Optional: smooth background hover */
.accordion:hover {
  background-color: #112a5c;
}




.icon-feature-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px 30px;
  padding: 50px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: left;
}

.icon-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.icon-feature img {
  width: 55px;
  height: 55px;
  margin-bottom: 12px;
}

.icon-feature h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  /* color: #1e2f5b; */
}

.icon-feature p {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}

.icon-feature a {
  color: #1ea0e8;
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 768px) {
  .icon-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .section {
        display: flex;
        flex-direction: column;
    }
    .section .image-box {
        order: 2 !important;
    }
    .section .text-box {
        order: 1 !important;
    }
}





.icon-feature img {
    transition: transform 0.3s ease-in-out;
}

.icon-feature:hover img {
    transform: scale(1.1);
}
