/* acerca-de-mi.css — page-specific styles */

/* ── Page hero ────────────────────────────────────────────────────────────── */
.page-hero {
  padding-top: 5rem;
  padding-bottom: 3rem;
  text-align: center;
}

.hero-divider {
  width: 60px;
  border: none;
  border-top: 3px solid #3798af;
  margin: 1.25rem auto;
}

.hero-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: #6b7280;
  margin: 0;
}

/* ── Bio section (gradient + video bg) ───────────────────────────────────── */
.bio-section {
  position: relative;
  overflow: hidden;
  background-color: transparent;
  background-image: linear-gradient(89deg, #3798af 0%, #244693 100%);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.bio-section__video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bio-section__video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: transparent;
  background-image: linear-gradient(89deg, #3798af 0%, #244693 100%);
  opacity: 0.85;
  z-index: 1;
}

.bio-section__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 0;
}

.bio-section__inner {
  position: relative;
  z-index: 1;
}

.bio-section__photo {
  float: left;
  width: 300px;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  margin-right: 2rem;
  margin-bottom: 1rem;
}

.bio-section__text {
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

/* ── Institution logos ────────────────────────────────────────────────────── */
.logos-section {
  background: #ffffff;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.logos-section .container {
  max-width: 1140px;
  margin-inline: auto;
}

.logos-section__logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition:
    filter 0.2s,
    opacity 0.2s;
}

.logos-section__logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* ── Research section (same video-bg pattern) ────────────────────────────── */
.research-section {
  position: relative;
  overflow: hidden;
  background-color: transparent;
  background-image: linear-gradient(89deg, #3798af 0%, #244693 100%);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.research-section__video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.research-section__video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: transparent;
  background-image: linear-gradient(89deg, #3798af 0%, #244693 100%);
  opacity: 0.85;
  z-index: 1;
}

.research-section__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

.research-section__inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin-inline: auto;
}

.research-section__text {
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

.research-section__photo {
  float: right;
  width: 260px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.call-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  text-decoration: none;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.call-link:hover {
  opacity: 0.8;
}

/* ── YouTube video ────────────────────────────────────────────────────────── */
.video-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 38%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  max-width: 1140px;
  margin-inline: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Recognitions section ─────────────────────────────────────────────────── */
.recognitions-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.recognitions-section__inner {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.recognitions-section__text {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: var(--paragraph-blue);
  line-height: 1.7;
  margin-top: 0.75rem;
}

.recognitions-section__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.diploma-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

@media (max-width: 767px) {
  .bio-section__video-bg,
  .research-section__video-bg {
    display: none;
  }

  .bio-section__photo {
    float: none;
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 0 auto 1.5rem;
  }
}
