/* Poppins Font Family */
@font-face {
  font-family: "Poppins";
  src: url("../../assets/fonts/poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("../../assets/fonts/poppins/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #ffffff;
}

/* Teacher Profile Component */
.teacher-hero {
  width: 100%;
  height: 258px;
  margin: 0 auto;
  background-image: url("../../assets/images/fondo_verde.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.teacher-profile {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -180px;
  margin-bottom: 24px;
  
}

/* Teacher Card */
.teacher-card {
  background-color: #2d2d2d;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  padding: 24px;
  width: 100%;
  /* height: 337px; */
  color: #f2f9f9;
}

.teacher-name {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: #f2f9f9;
  margin-bottom: 16px;
}

/* Tags */
.teacher-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tag {
  display: inline-block;
  padding: 4px 8px;
  background-color: transparent;
  border: 1px solid #f2f9f9;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  color: #f2f9f9;
  line-height: 14px;
  height: 24px;
}

/* Teacher Info */
.teacher-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.info-item {
  font-size: 14px;
  line-height: 20px;
  color: #ffffff;
}

.info-label {
  font-weight: 400;
}

.info-value {
  font-weight: 700;
}

/* Pricing */
.teacher-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 16px;
  color: #ffffff;
}

.pricing-label {
  font-weight: 400;
}

.pricing-amount {
  font-weight: 700;
}

/* Button */
.btn-schedule {
  width: 100%;
  height: 48px;
  background-color: #ff6a2d;
  border: none;
  border-radius: 4px;
  color: #000000;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 300ms ease-out;
}

.btn-schedule:hover {
  background-color: #ffffff;
}

/* Teacher Photo with B-shaped border */
.teacher-photo {
  width: 239px;
  height: 243px;
  margin-top: 50px;
  clip-path: url(#clip-b);
  transform: scale(1);
}

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

/* Teacher Video Info Section */
.teacher-video-info {
  background-color: #ffffff;
  padding: 32px 16px;
  width: 100%;
}

.info-container {
  max-width: 345px;
  margin: 0 auto;
}

.info-title {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 40px;
  color: #282425;
  margin-bottom: 24px;
}

.video-container {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
  height: 220px;
}

.video-thumbnail {
  width: 100%;
  display: block;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 300ms ease-out;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.text-content {
  font-family: "Inter", sans-serif;
  color: #282425;
}

.text-content p {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 16px;
  font-family: Arial, Helvetica, sans-serif;
}

.text-content p:last-child {
  margin-bottom: 0;
}

/* Teacher Additional Info - Accordion Section */
.teacher-additional-info {
  background-color: #282425;
  padding: 32px 16px;
  width: 100%;
}

.additional-container {
  max-width: 345px;
  margin: 0 auto;
}

.accordion-main-content {
  display: none;
}

.info-accordion {
  background-color: transparent;
  border-radius: 4px;
  margin-bottom: 10px;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 14px;
  font-weight: 700;
  color: #302c2d;
  cursor: pointer;
  list-style: none;
  user-select: none;
  height: 48px;
  background-color: #ff6a2d;
  border-radius: 4px;
}

.accordion-header::-webkit-details-marker {
  display: none;
}

.accordion-icon {
  transition: transform 300ms ease-out;
  color: #302c2d;
  flex-shrink: 0;
}

details[open] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 24px;
  margin-top: 16px;
  font-family: "Inter", sans-serif;
  line-height: 20px;
  font-weight: 400;
  color: #eeeeee;
  background-color: #2d2d2d;
  border-radius: 4px;
}

.accordion-content p {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 16px;
}

.accordion-content p:last-child {
  margin-bottom: 0;
}

/* teacher-schedule-session Section */
.teacher-schedule-session {
  background-color: #ffffff;
  padding: 32px 16px;
  width: 100%;
}

.info-schedule-description {
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  color: #282425;
}

@media (max-width: 450px) {
  .teacher-card{
    width: 95%;
  }
}


/* Desktop Adjustments */
@media (min-width: 768px) {
  .teacher-hero {
    height: 341px;
  }

  .teacher-profile {
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
    padding: 0;
    height: 423px;
    /* width: 1240px; */
    margin: -250px auto 0;
  }

  .teacher-card {
    width: 785px;
    height: 423px;
    margin-top: 0;
    border-radius: 4px;
    padding: 64px;
  }

  .teacher-photo {
    transform: scale(1.74);
    transform-origin: center;
    margin-top: 0;
  }

  .teacher-name {
    font-size: 48px;
  }

  .info-item {
    font-size: 18px;
  }

  .teacher-pricing {
    font-size: 24px;
  }

  .special-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .btn-schedule {
    width: 233px;
  }

  /* Additional Info */
  .teacher-video-info {
    padding: 64px 16px;
  }

  .info-container {
    max-width: 1240px;
  }

  .info-title {
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 32px;
  }

  .video-container {
    margin-bottom: 0;
    width: 885px;
    height: 485px;
    overflow: hidden;
  }

  .text-content {
    width: 315px;
  }

  .text-content p {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .desktop-container {
    display: flex;
    justify-content: space-between;
  }

  /* Desktop Adjustments for Additional Info Accordion */

  .teacher-additional-info {
    padding: 64px 16px;
  }

  .additional-container {
    max-width: 1240px;
    display: flex;
    gap: 32px;
  }

  .accordion-sidebar {
    flex: 0 0 345px;
    display: flex;
    flex-direction: column;
  }

  .accordion-main-content {
    flex: 1;
    background-color: #302c2d;
    border-radius: 4px;
    padding: 32px;
    color: #eeeeee;
  }

  .info-accordion {
    margin-bottom: 0;
  }

  .accordion-header {
    font-size: 14px;
    line-height: 14px;
    padding: 16px;
    height: 48px;
    background-color: #302c2d;
    color: #ffffff;
  }

  .info-accordion[open] .accordion-header {
    background-color: #ff6a2d;
    color: #302c2d;
  }

  .accordion-icon {
    display: none;
  }

  .accordion-content {
    display: none;
  }

  details[open] ~ .accordion-main-content,
  .accordion-main-content {
    display: block;
  }

  .accordion-main-content p {
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    margin-bottom: 24px;
  }

  .accordion-main-content p:last-child {
    margin-bottom: 0;
  }

  /* teacher-schedule-session Section */
  .teacher-schedule-session {
    padding: 64px 16px;
  }
}


iframe html body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}