/* ── Hero / Profile ── */

#profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  height: 80vh;
  overflow: hidden;
}

#profile .section__pic-container {
  height: auto;
  width: 80%;
  margin: 0 auto;
}

#heading-img {
  width: 100%;
}

#heading-img .main-image-1 {
  width: 100%;
  height: auto;
  display: block;
}

.section__pic-container {
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto;
}

.main-image-2 {
  display: none;
}

.section__text {
  align-self: center;
  text-align: center;
}

.section__text p {
  font-weight: 600;
}

.section__text__p1 {
  text-align: center;
}

.section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

/* ── About the Author ── */

#about_the_author {
  position: relative;
}

.section-container {
  display: flex;
  gap: 4rem;
  height: 80%;
}

.about-containers {
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.about-details-container {
  justify-content: center;
  flex-direction: column;
}

.about-containers,
.about-details-container {
  display: flex;
}

.text-container h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-pic {
  border-radius: var(--border-radius-lg);
}

/* ── About the Course ── */

#about_the_course {
  position: relative;
  height: 100%;
}

.experience-sub-title {
  color: var(--color-text-primary);
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

#about_the_course .details-container {
  border: none;
  background: transparent;
  padding: 0;
  text-align: left;
  margin-bottom: 1.5rem;
}

#about_the_course .details-container h3 {
  margin-bottom: 0.5rem;
}

#about_the_course .about-containers {
  margin-bottom: 0;
  flex-direction: column;
  gap: 1.5rem;
}

.experience-details-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.article-container {
  display: flex;
  text-align: initial;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 2.5rem;
  justify-content: space-around;
}

article {
  display: flex;
  width: 10rem;
  justify-content: space-around;
  gap: 0.5rem;
}

article .icon {
  cursor: default;
}

/* ── Student Gallery ── */

#student_work {
  position: relative;
  height: 100%;
}

.photo-gallery {
  display: flex;
  gap: 1rem;
}

.column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.photo img {
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-sm);
  object-fit: cover;
  cursor: pointer;
}

/* ── Reviews ── */

#reviews {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#reviews > div {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.section__text__p3 {
  text-align: left;
  margin-bottom: 1rem;
}

.reviews-column {
  width: 33.33%;
  height: 100%;
}

.container {
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-sm);
  object-fit: cover;
}

/* ── Pricing ── */

#price {
  height: 100%;
}

.wrapper-courses {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  grid-auto-rows: minmax(100px, auto);
  margin-bottom: 5rem;
}

.wrapper-courses .details-container {
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

.course-block-label {
  text-align: center;
  margin-bottom: 0.5rem;
}

.course-block-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.courses {
  width: 100%;
  margin-bottom: 1.5rem;
}

.course-price {
  text-align: center;
  margin-bottom: 1.5rem;
}

.course-price-sessions,
.course-price-amount {
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
}

.course-description {
  text-align: left;
  margin-bottom: 1rem;
}

.course-btn-container {
  margin-top: auto;
  padding-top: 1rem;
}

.courses-block-1 {
  grid-column: 1 / 3;
  grid-row: 1;
}

.courses-block-2 {
  grid-column: 3 / 5;
  grid-row: 1;
}

.courses-block-3 {
  grid-column: 5 / 7;
  grid-row: 1;
}

.courses-block-4 {
  grid-column: 2 / 4;
  grid-row: 2;
}

.courses-block-5 {
  grid-column: 4 / 6;
  grid-row: 2;
}

.courses {
  width: 100%;
}

/* ── Contact ── */

#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 70vh;
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-radius: var(--border-radius-lg);
  border: var(--color-border-dark) 0.1rem solid;
  border-color: var(--color-border);
  background: var(--color-bg-light);
  margin: 2rem auto;
  padding: 0.5rem;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
}

.contact-icon {
  cursor: default;
}

.email-icon {
  height: 2.7rem;
}

/* ── Footer ── */

footer {
  height: 26vh;
  margin: 0 1rem;
}

footer p {
  text-align: center;
}
