.container {
  /* display: flex; */
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px;
  gap: 20px;
  margin-top: 1%;
}

.left {
  flex: 1 1 300px;
}

.right {
  flex: 2 1 600px;
  padding-left: 20px;
}

.course-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s;
}

.course-image {
  max-width: 600px;
  height: 300px;
  border-radius: 10px;
  transition: transform 0.3s;
  margin-top: 0%;
}

.course-image:hover,
.course-image1:hover {
  transform: scale(1.05);
}

.small-heading {
  font-size: 16px;
  color: #244568;
}

.main-heading {
  font-size: 32px;
  margin: 10px 0;
}

.learn-title {
  margin-top: 20px;
}

.section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;
}

.branding,
.analysis {
  flex: 1 1 200px;
  margin: 0 10px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-align: center;
  transition: transform 0.3s, background-color 0.3s;
}

.branding:hover,
.analysis:hover {
  background-color: #f0f8ff;
  transform: translateY(-5px);
}

.icon {
  margin-bottom: 10px;
}

.icon img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s;
}

.icon:hover img {
  transform: scale(1.1);
}

.sub-heading {
  font-size: 18px;
  margin: 10px 0;
  color: #244568;
}

p {
  margin: 0;
}

.what-will-you-learn {
  margin-top: 20px;
}

.learning-points {
  margin-top: 10px;
}

.point-item {
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  margin: 10px 0;
  transition: transform 0.3s, background-color 0.3s;
}

.point-item:hover {
  background-color: #e7f1ff;
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .left,
  .right {
    flex: 1 1 100%;
    padding-left: 0;
  }

  .section {
    flex-direction: column;
  }

  .branding,
  .analysis {
    margin: 10px 0;
  }
}

@media (max-width: 480px) {
  .main-heading {
    font-size: 24px;
  }

  .small-heading {
    font-size: 14px;
  }

  .sub-heading {
    font-size: 16px;
  }
}
.question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.rotate-icon {
  transition: transform 0.3s ease-in-out;
  display: inline-block;
}

.active .rotate-icon {
  transform: rotate(90deg);
}

.inactive .rotate-icon {
  transform: rotate(0deg);
}
.what-will-you-learn {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.what-will-you-learn h3 {
  text-align: center;
  width: 100%;
  margin-bottom: 20px;
}

.learning-points {
  width: 100%;
  max-width: 900px;
}
.answer {
  text-align: left;
  width: 100%;
  margin-left: 0;
  padding-left: 0;
}
.card-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  width: 90%;
  max-width: 1200px;
  border-radius: 10px;
  margin-left: auto;
  margin-right: auto;
  padding: 30px;
  gap: 30px;
}

.cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background-color: #f9f9f9;
  align-items: center;
  padding: 30px;
  min-height: 200px;
  border-radius: 10px;
  border-left: 3px solid #f4c2c2;
  border-top: 3px solid #f4c2c2;
}
.cards:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 15px rgba(177, 44, 97, 0.3);
}
.cards h3 {
  color: #244568;
  text-align: left;
  margin-bottom: 25px;
  border-bottom: 3px solid #244568;
}

@media screen and (max-width: 992px) {
  .card-container {
    flex-direction: column;
    align-items: center;
  }

  .cards {
    width: 100%;
  }
}
