.hero {
  display: flex;
  justify-content: space-between;
  max-width: 1380px;
  margin: 0 auto;
  padding: 40px 50px;
}

.hero-content {
  width: 60%;
  align-content: center;
  padding-right: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.8rem;
  color: #8b0000;
  font-weight: 600;
  margin-bottom: 15px;
}

.hero-description {
  font-size: 1.4rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 0;
}

.hero-image {
  width: 40%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.02);
}

.home-container {
  max-width: 1380px;
  margin: 40px auto;
  padding: 0 50px;
}

.about-section {
  text-align: center;
  margin-bottom: 60px;
  padding: 40px;
  background: #f9f9f9;
  border-radius: 8px;
  border-left: 4px solid #8b0000;
}

.about-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
}

.about-section p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  align-items: start;
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.feature-section h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 30px;
  border-bottom: 3px solid #8b0000;
  padding-bottom: 15px;
}

.feature-section > p {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 25px;
}

.goal-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid #8b0000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.goal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.goal-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
}

.goal-card p {
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}

.criteria-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.criteria-list li {
  padding: 12px 0 12px 30px;
  position: relative;
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
}

.criteria-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #8b0000;
  font-weight: bold;
  font-size: 1.2rem;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.sidebar-image:hover {
  transform: scale(1.02);
}

.mobile-feature-image {
  display: none;
}

@media (max-width: 1024px) {
  .hero {
    padding: 40px 20px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .home-container {
    padding: 0 20px;
  }

  .content-grid {
    gap: 0px;
  }

  .sidebar {
    align-items: end;
  }
  .sidebar-image {
    max-width: 320px;
    flex: 1;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 50px 20px;
  }

  .hero-content {
    width: 100%;
    text-align: center;
    padding-right: 0;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-image {
    width: 75%;
    max-width: 100%;
    margin: 20px auto 0;
    aspect-ratio: 1;
    object-fit: cover;
  }

  .home-container {
    margin: 40px auto;
  }

  .about-section {
    padding: 30px 20px;
    margin-bottom: 40px;
  }

  .about-section h2 {
    font-size: 1.5rem;
  }

  .about-section p {
    font-size: 0.95rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-section h3 {
    font-size: 1.4rem;
  }

  .goal-card {
    padding: 20px;
  }

  .goal-card h4 {
    font-size: 1.05rem;
  }

  .goal-card p {
    font-size: 0.9rem;
  }

  .sidebar {
    flex-direction: column;
    display: none;
  }

  .sidebar-image {
    max-width: 100%;
  }

  .mobile-feature-image {
    display: block;
    width: 75%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 20px 20px;
  }

  .hero-content h1 {
    font-size: 1.4rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-description {
    font-size: 0.85rem;
  }

  .home-container {
    margin: 30px auto;
  }

  .hero-image {
    width: 100%;
  }

  .about-section {
    padding: 20px 15px;
  }

  .about-section h2 {
    font-size: 1.3rem;
  }

  .feature-section h3 {
    font-size: 1.2rem;
  }

  .goal-card {
    padding: 15px;
    margin-bottom: 15px;
  }

  .goal-card h4 {
    font-size: 0.95rem;
  }

  .goal-card p,
  .criteria-list li {
    font-size: 0.85rem;
  }

  .criteria-list li {
    padding: 10px 0 10px 25px;
  }

  .mobile-feature-image {
    width: 100%;
  }
}
