/* --- I. Khu Vực Chính (Hero) - edu8i Style --- */
.hero-edu8i {
  background-color: var(--color-white);
  padding: 80px 0 100px;
}

.hero-edu8i .container-edu8i {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-content {
  flex: 1;
  max-width: 60%;
}

.edu8i-title {
  font-size: 4em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.edu8i-subtitle {
  font-size: 1.3em;
  max-width: 550px;
  margin-bottom: 40px;
  color: var(--color-text-light);
}

.hero-image-placeholder {
  max-width: 40%;
  height: 500px;
}

/* Các đoạn text nhỏ bên cạnh hình ảnh */
.explore-arrow,
.make-palette-arrow {
  position: absolute;
  font-weight: 600;
  color: var(--color-text-light);
  font-size: 0.9em;
}

.explore-arrow {
  top: 10%;
  left: 20%;
  transform: rotate(10deg);
}

.make-palette-arrow {
  top: 50%;
  left: 30%;
  transform: rotate(-15deg);
}

.arrow-down {
  display: block;
  font-size: 1.5em;
  line-height: 0.5;
}

/* --- II. Khu Vực Giới Thiệu (Why Edu8I?) --- */
.why-edu8i {
  padding: 60px 0;
  text-align: center;
  background-color: var(--color-background); /* Nền phụ nhẹ */
}

.why-edu8i h2 {
  margin-bottom: 40px;
  font-size: 2.2em;
  color: var(--color-primary);
}

.features-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.feature-card {
  flex: 1;
  padding: 30px;
  background-color: #edf2fb;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.feature-card img {
  width: 80px;
  height: 80px;
}

.icon-placeholder {
  font-size: 2.5em;
  color: var(--color-secondary); /* Màu nhấn */
  margin-bottom: 10px;
}

.feature-card h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
}

/* --- III. Khu Vực Tổng quan về website (Featured Tools) --- */
.description-edu8i {
  background-color: var(--color-white);
  padding: 80px 0 100px;
}

.description-edu8i .container-edu8i {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.hero-image-placeholder {
  height: 500px;
}

.description-content {
  flex: 1;
}

.card-description {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; 
  height: 100%; 
  border-radius: 24px;
  line-height: 1.6;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.info-card-description {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 36px;
  border-radius: 22px;
  color: white;
  overflow: hidden;
  background: var(--color-secondary);
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.info-card-description::before {
  position: absolute;
  content: "";
  top: -4%;
  left: 50%;
  width: 90%;
  height: 90%;
  transform: translate(-50%);
  background: #ced8ff;
  z-index: -1;
  transform-origin: bottom;

  border-radius: inherit;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.info-card-description::after {
  position: absolute;
  content: "";
  top: -8%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%);
  background: #e7ecff;
  z-index: -2;
  transform-origin: bottom;
  border-radius: inherit;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.info-card-description svg {
  width: 48px;
  height: 48px;
}

.text-info-card-description {
    color: var(--color-white);
}

.info-card-description .text-info-card-description {
  z-index: 1;
  opacity: 1;
  font-size: 18px;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.info-card-description .link {
  z-index: 1;
  color: #fea000;
  text-decoration: none;
  font-family: inherit;
  font-size: 16px;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.info-card-description .link:hover {
  text-decoration: underline;
}

.card-description:hover {
  transform: translate(0px, -16px);
}

.card-description:hover .info-card-description::before {
  rotate: -8deg;
  top: 0;
  width: 100%;
  height: 100%;
}

.card-description:hover .info-card-description::after {
  rotate: 8deg;
  top: 0;
  width: 100%;
  height: 100%;
}
