/* =========================================
   Engineer Page Styles
   ========================================= */

.engineer-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  min-height: 600px;
  background: linear-gradient(
    100deg,
    rgba(185, 34, 51, 1) 0%,
    rgba(121, 42, 54, 1) 40%,
    rgba(223, 29, 49, 1) 100%
  );
  color: var(--color-white);
  padding-top: 160px;
  padding-bottom: 100px;
  text-align: center;
  overflow: hidden;
}

.section-logo {
  text-align: center;
  margin-bottom: 40px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.section-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.engineer-hero__bg-text {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 120px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  z-index: 0;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.engineer-hero__container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.engineer-hero__title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}

.engineer-hero__text {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 40px;
}

.training-intro {
  text-align: center;
  margin-bottom: 60px;
}

.training-intro__title {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .engineer-hero {
    padding-top: 80px;
    padding-bottom: 60px;
  }

  .engineer-hero__title {
    font-size: 36px;
  }

  .engineer-hero__bg-text {
    font-size: 80px;
  }
}

/* List styles for role cards */
.role-card__desc ul {
  display: inline-block;
  text-align: left;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.role-card__desc li {
  position: relative;
  padding-left: 1em;
}

.role-card__desc li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-text);
}

/* =========================================
   Engineer Index Page Styles
   ========================================= */

.engineer-role-title {
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 60px;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.role-card {
  background-color: var(--color-white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 350px;
}

.role-card__number {
  font-size: 80px;
  font-weight: 900;
  text-align: center;
  color: rgba(235, 59, 73, 0.15);
  line-height: 1;
  margin-bottom: 10px;
}

.role-card__title {
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.role-card__desc {
  font-size: 14px;
}

.btn-left {
  text-align: left;
  margin-top: 40px;
}

/* =========================================
   Feature Blocks (img & Text)
   ========================================= */

.feature-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.feature-block--reverse {
  flex-direction: row-reverse;
}

.feature-block__text {
  flex-basis: 50%;
}

.feature-block__img {
  flex-basis: 40%;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.feature-block__title {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.4;
  color: var(--color-text);
}

.feature-block__desc {
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
}

@media (max-width: 1024px) {
  .feature-block,
  .feature-block--reverse {
    flex-direction: column;
  }

  .feature-block__text,
  .feature-block__img {
    flex-basis: 100%;
    width: 100%;
  }

  .feature-block__img {
    order: -1;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .role-grid {
    grid-template-columns: 1fr;
  }

  .role-card {
    min-height: auto;
    padding: 30px;
  }

  .feature-block {
    gap: 40px;
    margin-bottom: 60px;
  }

  .feature-block__title {
    font-size: 24px;
  }
}

/* Features Section */
.profile-features {
  padding: 60px 0 100px;
}

.features-section__title {
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 20px;
}

.features-section__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 3px;
  background-color: var(--color-text);
}

.features-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.features-image {
  flex-basis: 40%;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.features-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.features-list {
  flex: 1;
}

.features-list__subtitle {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 30px;
  text-align: center;
}

.feature-card {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  display: flex;
  gap: 30px;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-card:last-child {
  margin-bottom: 0;
}

.feature-card__number {
  font-size: 60px;
  font-weight: 900;
  color: #eb3b49;
  line-height: 1;
  flex: 0 0 auto;
}

.feature-card__content {
  flex: 1;
}

.feature-card__title {
  font-size: 18px;
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: 10px;
}

.feature-card__text {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.8;
}

@media screen and (max-width: 768px) {
  .profile-features {
    padding: 0;
  }

  .features-section__title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .features-content {
    flex-direction: column;
    gap: 10px;
  }

  .features-image {
    flex: none;
    width: 100%;
  }

  .features-list__subtitle {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-card__number {
    font-size: 40px;
  }

  .feature-card__title {
    font-size: 16px;
  }
}
