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

:root {
  --cream: #faf7f2;
  --ink: #1a1612;
  --mid: #4a3f35;
  --accent: #e05c2a;
  --dark-bg: #12100e;
  --dark-card: #1e1a16;
  --shadow: 0 20px 60px rgba(26, 22, 18, .12);
  --radius: 20px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: #1f242d;
  color: #fff;
  line-height: 1.7;
  font-size: 1rem;
}

/* utility */

.container {
  width: min(1160px, 94%);
  margin-inline: auto;
}

em {
  font-style: italic;
  color: #7cf03d;
}

p {
  color: inherit;
  margin-bottom: 1rem;
}

p:last-of-type {
  margin-bottom: 0;
}

.card p {
  color: #444;
}

/*HERO*/

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 5% 4rem;
  background-color: #1f242d;
}

/*decorative background shapes  */

.hero__bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}

.shape--1 {
  width: 500px;
  height: 500px;
  top: -180px;
  left: -120px;
}

.shape--2 {
  width: 340px;
  height: 340px;
  bottom: -100px;
  right: 10%;
  opacity: .2;
}

.shape--3 {
  width: 220px;
  height: 220px;
  top: 55%;
  left: 40%;
  opacity: .15;
}

/*layout */
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1160px;
  margin-inline: auto;
  width: 100%;
}

/*text side */
.hero__eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.hero__heading {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 900;
  line-height: .95;
  color: #fff;
  margin-bottom: 1.4rem;
}

.hero__heading em {
  color: #7cf03d;
  font-style: italic;
}

.hero__sub {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 1.5rem;
}

.hero__sub strong {
  color: #fff;
  font-weight: 600;
}

.hero__intro {
  max-width: 520px;
  color: rgba(255, 255, 255, .65);
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* skill tags */
.tag {
  display: inline-block;
  background: rgba(161, 68, 34, 0.413);
  border: 1px solid rgba(194, 127, 102, 0.986);
  color: #f3f3f3;
  font-size: .82rem;
  font-weight: 600;
  padding: .1em .55em;
  border-radius: 6px;
  letter-spacing: .04em;
}

/*image side */
.hero__img-wrap {
  position: relative;
  flex-shrink: 0;
}

.hero__img-frame {
  width: clamp(220px, 30vw, 380px);
  aspect-ratio: 4/4;
  border-radius: 24px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  transition: transform .4s ease;
}

.hero__img-frame:hover {
  transform: scale(1.03);
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.hero__img-frame:hover .hero__img {
  transform: scale(1.07);
}

.hero__img-deco {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  border: 2px solid #7cf03d;
  top: 14px;
  left: 14px;
  z-index: -1;
}

/* scroll hint */

.scroll-hint {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 3rem;
  color: rgb(81, 255, 0);
  font-size: .85rem;
  letter-spacing: .1em;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

/*SECTIONS */

.section {
  padding: 6rem 0;
  background-color: #1f242d;
}

.section--dark {
  background-color: #1f242d;
}

.section--dark .section-title {
  color: #007bff;
}

.section--dark em {
  color: #7cf03d;
}

.section--dark p {
  color: #444;
}

.section--dark .card {
  background: #fff;
  color: #333;
}

.section--dark .card__img-label {
  background: #1f242d;
}

/*SECTION META*/

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .8rem;
}

.section--dark .section-tag {
  color: var(--accent2);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  color: #007bff;
  margin-bottom: 1.4rem;
}
/* CARD */

.card {
  display: flex;
  align-items: center;
  gap: 4rem;
  background: #fff;
  border-radius: 15px;
  padding: 3.5rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px #7cf03d;
}

.card--reverse {
  flex-direction: row-reverse;
}

.card__body {
  flex: 1;
}

/* ---- card image ---- */
.card__img-wrap {
  flex-shrink: 0;
  position: relative;
  width: clamp(200px, 28vw, 360px);
}

.card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  transition: transform .45s ease;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
}

.card__img-wrap:hover .card__img {
  transform: scale(1.05);
}

.card__img-label {
  position: absolute;
  bottom: -14px;
  right: -14px;
  background: var(--ink);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .45em 1em;
  border-radius: 8px;
}

.card__img-wrap1 {
  flex-shrink: 0;
  position: relative;
  width: clamp(200px, 28vw, 360px);
}

.card__img {
  width: 100%;
  aspect-ratio: 4/4;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  transition: transform .45s ease;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
}

.card__img-wrap1:hover .card__img {
  transform: scale(1.05);
}

/* FAMILY — values chips */

.values {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.5rem;
}

.value-chip {
  background: #fef3ec;
  border: 1px solid #f5c9ad;
  color: var(--accent);
  font-size: .88rem;
  font-weight: 600;
  padding: .4em 1em;
  border-radius: 50px;
}

/* ACHIEVEMENTS — list*/

.achievement-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 1.6rem;
}

.achievement-list li {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.ach-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.achievement-list strong {
  display: block;
  color: #007bff;
  font-size: 1rem;
  margin-bottom: .25rem;
}

.achievement-list p {
  font-size: .9rem;
  margin-bottom: 0;
}

/* ══════════════════════════════════════════
   ACADEMY — journey list
══════════════════════════════════════════ */
.journey-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.4rem;
}

.journey-list li {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  font-size: .97rem;
  color: #333;
}

.journey-list li span {
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--ink);
  text-align: center;
  padding: 2rem 1rem;
  font-size: .88rem;
  color: rgb(255, 255, 255);
}

.footer strong {
  color: var(--accent2);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero__content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero__intro {
    margin-inline: auto;
  }

  .hero__img-frame {
    width: clamp(180px, 55vw, 300px);
  }

  .card,
  .card--reverse {
    flex-direction: column;
    gap: 2.5rem;
    padding: 2.5rem 1.8rem;
  }

  .card__img-wrap {
    width: 100%;
  }

  .card__img-label {
    bottom: -12px;
    right: 8px;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 5rem 4% 3rem;
  }

  .hero__heading {
    font-size: 3.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .card {
    padding: 2rem 1.2rem;
  }
}