#healthcare {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  background-color: #ffffff;
}

#healthcare .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: calc(100vw - 68px);
  max-width: none;
  height: 780px;
  margin-bottom: 180px;
  padding: 0 20px;
  border-radius: 40px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('../img/health/health-main-img.jpg');
  background-size: cover;
  text-align: center;
}

.health-title {
  font-size: 3.25rem;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  margin-bottom: 40px;
  text-align: center;
}

#health-title-mobile {
  display: none;
}

.health-description {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 160%;
  text-align: center;
}

#health-section,
#health-section-3,
#mobile-health-section-3,
#health-section-4,
#health-section-5,
#health-section-6 {
  width: 100%;
  margin-bottom: 180px;
  background-color: #ffffff;
  color: #111111;
}

.health-section-container,
.health-section-3-container,
.health-section-4-container,
.health-section-5-container,
.health-section-6-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
}

.health-section-title {
  font-size: 2.625rem;
  font-weight: 700;
  line-height: 150%;
}

.health-section-description {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 150%;
  margin-bottom: 80px;
  color: var(--767676, #767676);
}

.health-images-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  height: 450px;
  margin-top: 66px;
  gap: 20px;
}

.health-image {
  position: relative;
  width: 25%;
  height: 100%;
  overflow: hidden;
}

.health-image img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  object-fit: cover;
}

.health-image>div {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  padding: 50px 40px;
  border-radius: 30px;
  color: #ffffff;
  text-align: center;
  gap: 20px;
  z-index: 1;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
}

.health-image-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--bg-light, #f9f9f9);
  text-align: center;
  z-index: 2;
  transform: translateY(0);
  transition: transform 0.25s ease;
}

.health-image:hover .health-image-title {
  transform: translateY(-90px);
}

.health-image-description {
  position: absolute;
  padding: 0 40px 0 0;
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 150%;
  color: var(--ffffff, #ffffff);
  text-align: left;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.health-image:hover .health-image-description {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#health-section-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 180px;
  padding-top: 120px;
  padding-bottom: 50px;
  background-color: #f9f9f9;
  color: #111111;
  gap: 80px;
}

.health-section-2-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 50px;
  gap: 80px;
}

.health-section-2-container-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 30px;
}

.health-section-2-item-container {
  width: 100%;
}

.health-section-2-item {
  display: flex;
  align-items: flex-start;
  width: 100%;
  height: 185px;
  padding: 40px 30px;
  border-top: 1px solid #dddddd;
  gap: 40px;
}

.health-section-2-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}

.health-section-2-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 150%;
}

.health-section-2-description {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 150%;
  color: #767676;
}

.health-section-3-container-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 20px;
}

.health-section-3-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 20px;
}

.health-section-3-row .health-section-3-item {
  width: calc(25% - 22.5px);
  height: 292px;
}

.health-section-3-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 30px;
  border-radius: 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.health-section-3-item img {
  width: auto;
  height: 60px;
}

.health-section-3-item-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 160%;
  margin-top: 30px;
  margin-bottom: 10px;
}

.health-section-3-item-description {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 160%;
  color: #333333;
  text-align: left;
}

#mobile-health-mount-point {
  display: none;
}

.health-section-4-content-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 20px;
}

.health-section-4-content-item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: calc(33.33% - 20px);
  height: 450px;
  padding: 20px 30px;
  border-radius: 40px;
  gap: 10px;
  flex-shrink: 0;
}

.health-section-4-content-item-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.health-section-4-content-item-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 40px;
  color: #111111;
}

.health-section-4-content-item-image img {
  width: 100%;
}

/* ========================================== */
/*  Section 5: Health Partners Grid          */
/* ========================================== */

.health-section-5-content-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  gap: 20px;
}

.health-section-5-content-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 10px;
  border-radius: 20px;
  background-color: #f9f9f9;
  gap: 20px;
}

.health-section-5-content-item img {
  width: auto;
  height: 60px;
}

.health-section-5-content-item-description {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 150%;
  color: #333333;
  text-align: center;
}

/* ========================================== */
/* ========================================== */

@media (max-width: 1700px) {
  .health-image>div {
    padding: 30px;
  }

  .health-image-title {
    font-size: 1.5rem;
  }

  .health-image-description {
    font-size: 1.3rem;
  }

  .health-section-3-item-title {
    font-size: 1.3rem;
    word-break: keep-all;
  }

  .health-section-3-item-description {
    font-size: 0.9rem;
  }

  .health-section-4-content-item-title {
    font-size: 1.4rem;
  }

  .health-section-5-content-item-description {
    font-size: 0.9rem;
  }

  .health-images-container {
    height: 350px;
  }
}

/* ========================================== */
/* ========================================== */

@media (max-width: 1600px) {
  .health-images-container {
    height: 300px;
  }

  .health-section-2-title {
    font-size: 1.5rem;
  }

  .mobile-health-section-3-container-wrapper {
    display: none;
  }

  .health-image-title {
    font-size: 1.3rem;
  }

  .health-image-description {
    font-size: 1rem;
  }

  .health-image:hover .health-image-title {
    transform: translateY(-70px);
  }

  .health-section-2-description {
    font-size: 1rem;
  }

  .health-section-5-content-item {
    height: 225px;
  }
}

/* ========================================== */
@media (max-width: 1199px) {
  #healthcare .container {
    margin-bottom: 120px;
  }

  .health-section-title {
    font-size: 2.2rem;
  }

  .health-section-description {
    font-size: 1.1rem;
    margin-bottom: 50px;
  }

  .health-image {
    height: auto;
  }

  .health-image>div {
    gap: 10px;
  }

  .health-image-title {
    font-size: 0.9rem;
  }

  .health-image-description {
    font-size: 0.8rem;
  }

  .health-section-2-item {
    height: 130px;
    padding: 30px 10px;
  }

  .health-section-2-title {
    font-size: 1.1rem;
  }

  .health-section-2-description {
    font-size: 0.8rem;
  }

  .health-section-3-item {
    width: 191px;
    height: 267px;
  }

  .health-section-3-item-title {
    font-size: 1.1rem;
    margin-top: 20px;
  }

  .health-section-3-item-description {
    font-size: 0.8rem;
  }

  .health-section-3-item-description br {
    display: none;
  }

  .health-section-4-content-item {
    height: 350px;
  }

  .health-section-4-content-item-title {
    font-size: 1.1rem;
  }

  .health-section-3-row .health-section-3-item {
    width: calc(25% - 15px);
    height: 230px;
  }

  .health-section-5-content-item {
    height: 218px;
  }

  .health-section-5-content-item-description {
    font-size: 0.8rem;
  }
}

/* ========================================== */
/* ========================================== */

@media (max-width: 992px) {
  .mobile-nav-link {
    color: #000000;
  }

  #health-section,
  #health-section-4,
  #health-section-5,
  #health-section-6 {
    margin-bottom: 100px;
  }

  #health-section-3 {
    margin-bottom: 20px;
  }

  #healthcare .container {
    height: 500px;
  }

  .health-title {
    font-size: 2.2rem;
  }

  .health-description {
    font-size: 1rem;
  }

  .health-image>div {
    padding: 30px 20px;
  }

  .health-section-3-container-wrapper {
    display: none;
  }

  .mobile-health-section-3-container-wrapper,
  #mobile-health-mount-point {
    display: block;
    width: 100%;
  }

  .mobile-health-section-3-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .health-section-3-item {
    width: 100%;
    height: auto;
  }

  .health-section-3-item-description {
    font-size: 0.9rem;
  }

  .health-section-4-content-item {
    height: 250px;
    padding: 25px;
  }

  .health-section-4-content-item-title {
    font-size: 1rem;
  }

  .health-section-5-content-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .health-section-5-content-item-description {
    font-size: 1rem;
  }

  .mobile-submenu li a {
    color: #111111;
  }
}

@media (max-width: 768px) {
  #healthcare .container {
    height: 400px;
    margin-bottom: 100px;
  }

  .health-image:nth-child(2) img {
    object-fit: cover;
    object-position: 50% 30%;
  }

  .health-image-title {
    padding-left: 2vw;
  }

  .health-section-2-container {
    gap: 50px;
  }

  #health-section {
    margin-bottom: 80px;
  }

  .health-section-title {
    font-size: 1.5rem;
  }

  .health-section-2-container {
    padding-top: 50px;
    gap: 30px;
  }

  .health-section-2-container-wrapper {
    flex-direction: column;
    gap: 0;
  }

  .health-section-2-title {
    font-size: 1.6rem;
  }

  .health-section-2-description {
    font-size: 1rem;
  }

  .health-section-2-item {
    height: 150px;
  }

  .health-section-title {
    font-size: 1.2rem;
  }

  .health-image-title {
    font-size: 1.3rem;
  }

  .health-image:hover .health-image-title {
    transform: translateY(0);
  }

  .health-image-description {
    position: relative;
    padding-left: 2vw;
    font-size: 0.8rem;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .health-section-4-content-item {
    height: 200px;
    padding: 40px;
  }

  .health-images-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    margin-top: 20px;
    gap: 12px;
  }

  .health-image {
    width: 100%;
    height: 280px;
  }

  .health-image img {
    height: 280px;
  }

  .health-image>div {
    width: 100%;
    padding: 20px 20px;
    border-radius: 40px;
    box-sizing: border-box;
  }

  #health-section-3 {
    margin-bottom: 50px;
  }

  .mobile-health-section-3-row .health-section-3-item {
    height: 240px;
  }

  .mobile-health-section-3-row .health-section-3-item img {
    width: 40%;
  }

  .mobile-health-section-3-row .health-section-3-item-title {
    margin-top: 15px;
  }

  .mobile-health-section-3-row .health-section-3-item-description br {
    display: inline;
  }

  .health-section-description {
    margin-bottom: 20px;
  }

  .mobile-health-section-3-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .health-section-3-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 5px);
    padding: 20px 10px 10px 10px;
    border-radius: 20px;
  }

  .health-section-3-item img {
    width: 40%;
    max-width: 50px;
    height: auto;
  }

  .health-section-3-item-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 8px;
  }

  .health-section-3-item-description {
    font-size: 1rem;
    margin-top: 4px;
    padding-bottom: 30px;
    color: #555555;
    text-align: center;
    white-space: nowrap;
  }

  .health-section-4-content-item-title {
    font-size: 1rem;
    margin-top: 10px;
  }

  .health-section-4-content-container {
    flex-direction: column;
    gap: 20px;
  }

  .health-section-4-content-item {
    width: 100%;
    padding: 20px;
    border-radius: 30px;
  }

  .health-section-4-content-item-image img {
    width: 40%;
    max-height: 350px;
    height: auto;
  }

  .health-section-5-content-container {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    gap: 12px;
  }

  .health-section-5-content-item {
    width: 100%;
    height: 100%;
    border-radius: 30px;
  }

  .health-section-5-content-item-description {
    font-size: 1.2rem;
  }

  .health-image {
    width: 100%;
  }

  .health-section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .health-images-container {
    grid-template-columns: repeat(1, 1fr);
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #health-title-mobile {
    display: inline;
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .health-title {
    display: none !important;
  }

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

  .health-description br {
    display: none;
  }

  #healthcare .container {
    width: 100vw;
    height: 300px;
    margin-bottom: 60px;
    padding: 0 20px;
    border-radius: 0;
  }

  .health-image-title {
    padding-left: 5vw;
    font-size: 1.2rem;
  }

  .health-image-description {
    font-size: 1rem;
    padding: 0 20px 30px 20px;
  }

  .health-section-title br {
    display: none;
  }

  #health-section,
  #health-section-3,
  #health-section-4,
  #health-section-5,
  #health-section-6 {
    margin-bottom: 50px;
  }

  #health-section-2 {
    margin-bottom: 50px;
  }

  .health-section-2-container {
    padding-top: 50px;
    gap: 30px;
  }

  .health-section-2-description {
    font-size: 0.9rem;
  }

  .health-section-2-description br {
    display: none;
  }

  .health-section-2-container-wrapper {
    flex-direction: column;
    gap: 0;
  }

  .health-section-2-container-wrapper br {
    display: none;
  }

  .health-section-title {
    font-size: 1.2rem;
  }

  .health-image>div {
    width: 100%;
    height: 280px;
    padding: 0 10px;
    border-radius: 0;
  }

  .health-image img {
    height: 280px;
    margin-bottom: 10px;
  }

  .health-section-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .health-section-description br {
    display: none;
  }

  .mobile-health-section-3-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0;
    gap: 20px;
  }

  .health-section-3-item {
    width: 100%;
    height: auto;
    padding-top: 10%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 30px;
  }

  .health-section-3-item-description {
    white-space: normal;
  }

  .health-section-3-item img {
    width: 60px;
    height: auto;
  }

  #mobile-health-mount-point {
    margin-bottom: -100px;
  }

  .health-section-2-title {
    font-size: 1rem;
  }

  .health-section-4-content-item-image img {
    width: 60%;
    min-width: 150px;
    max-height: 230px;
    height: auto;
  }

  .health-section-5-content-container {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* 통일된 반응형 padding */
@media (max-width: 1600px) {
  #healthcare .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 1200px) {
  #healthcare .container {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (max-width: 992px) {
  #healthcare .container {
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media (max-width: 768px) {
  #healthcare .container {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 480px) {
  #healthcare .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}