/* === ABOUT PAGE === */

#about-wrapper {
  margin-top: 80px;
  font-family: "Ranade", sans-serif;
  color: #2f2a26;
  background-color: #ffffff;
}

#about-wrapper h1,
#about-wrapper h2,
#about-wrapper h3,
#about-wrapper h4,
#about-wrapper p,
#about-wrapper a,
#about-wrapper span,
#about-wrapper li,
#about-wrapper figcaption {
  font-family: "Ranade", sans-serif;
}

.about-page {
  width: 100%;
  background-color: #ffffff;
}


/* === ABOUT HERO === */

.about-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 0rem 3rem;
  display: grid;
  grid-template-columns: 0.78fr 1fr 0.62fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  border-radius: 1rem;
}

.about-content {
  position: relative;
}



.about-content h1,
.about-content p,
.about-content .section-label {
  position: relative;
  z-index: 1;
}

.section-label {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #4f6d7a;
}

.about-content h1 {
  margin: 0 0 1.5rem;
  font-size: 4rem;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #2f2a26;
}

.about-content p {
  max-width: 680px;
  margin: 0 0 1.2rem;
  font-size: 1rem;
  line-height: 1.85;
  font-weight: 400;
  color: #4a4039;
}


/* === HERO RESUME CARD === */

.resume-hero-card {
  align-self: start;
  margin-top: 2.5rem;
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 1rem;
  padding: 1.6rem;
  box-shadow: 0 18px 45px rgba(79, 109, 122, 0.12);
  position: relative;
}

/* Remove coral line */
.resume-hero-card::before {
  display: none;
}

/* Resume title */
.resume-card-label {
  display: inline-block;
  margin-bottom: 1.2rem;
  padding: 0 0 0.35rem;
  background-color: transparent;
  color: #2f2a26;
  border-bottom: 5px solid #c0d6df;
  border-radius: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Resume preview */
.resume-mini-preview {
  width: 100%;
  height: 300px;
  background-color: #ffffff;
  border: 2px solid #2f2a26;
  border-radius: 0;
  overflow: hidden;
}

.resume-mini-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: top center;
}

/* Buttons */
.resume-card-buttons {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}


/* === BUTTONS === */

.about-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.resume-bottom-button {
  margin-top: 4rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0.9rem 1.4rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.22s ease;

}

.button.primary {
  background-color: #4f6d7a;
  color: #ffffff;
 
}

.button.primary:hover {
  background-color: #3f5b66;
 
  color: #ffffff;
}

.button.secondary,
.button.secondary:visited {
  background-color: #e07a5f;
  color: #ffffff !important;
}

.button.secondary:hover,
.button.secondary:focus,
.button.secondary:active {
  background-color: #c8664f;
  color: #ffffff !important;
}


/* === RESUME SECTION === */

.resume-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 3rem 6rem;
  border-top: 1px solid rgba(79, 109, 122, 0.18);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #2f2a26;
}

.section-heading p {
  max-width: 620px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #4a4039;
}


/* === LARGE PDF PREVIEW === */

.resume-preview {
  width: 100%;
  height: 850px;
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(79, 109, 122, 0.12);
}

.resume-preview iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}


/* === FOOTER === */

.about-footer {
  padding: 2rem 3rem;
  text-align: center;
  color: #8b7d70;
  font-size: 0.85rem;
}


/* === RESPONSIVE === */

@media screen and (max-width: 1050px) {
  .about-hero {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2.5rem;
  }

  .resume-hero-card {
    grid-column: 2;
    margin-top: 0;
  }

  .resume-mini-preview {
    height: 320px;
  }
}

@media screen and (max-width: 900px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 4rem 1.5rem;
  }

  .about-image img {
    height: auto;
  }

  .resume-hero-card {
    grid-column: auto;
    width: 100%;
    max-width: 420px;
  }

  .resume-section {
    padding: 4rem 1.5rem 5rem;
  }

  .resume-preview {
    height: 650px;
  }
}

@media screen and (max-width: 768px) {
  .about-content h1 {
    font-size: 2.4rem;
  }



  .resume-preview {
    height: 520px;
  }

  .about-buttons,
  .resume-bottom-button {
    flex-direction: column;
  }

  .resume-card-buttons {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}