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

body {
  background-color: #0b0f19;
  color: #f3f4f6;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

/* =========================
   HERO SECTION
========================= */
#hero-section {
  position: relative;

  display: flex;
  justify-content: flex-start;
  align-items: center;

  min-height: 100vh;

  padding: 0 7%;

  overflow: hidden;

  background-image: url("../images/background/hero-section.png");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

/* overlay */
#hero-section::before {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.6) 45%,
    rgba(0, 0, 0, 0.15) 100%
  );

  z-index: 1;
}

/* =========================
   LEFT CONTENT
========================= */
#hero-section-left {
  position: relative;
  z-index: 2;

  width: 50%;
  max-width: 850px;

  display: flex;
  flex-direction: column;

  align-items: flex-start;
  text-align: left;

  gap: 35px;

  contain: layout;
}

/* =========================
   INTRO TITLE
========================= */
#hero-section-intro {
  width: 100%;

  font-size: 38px;
  font-weight: 800;

  letter-spacing: -3px;

  /* FIX NHẢY LAYOUT */

  overflow: hidden;
}

/* vùng typing */
.hero-section-title {
  display: inline-block;

  min-width: 900px;

  white-space: nowrap;

  font-weight: 900;

  background: linear-gradient(135deg, #00ff87, #00d9ff, #7c3aed);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* cursor typed.js */
.typed-cursor {
  color: #00d9ff;

  font-size: inherit;

  font-weight: 400;

  -webkit-text-fill-color: #00d9ff;

  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

/* =========================
   INFO TAG
========================= */
#hero-section-info {
  color: #00d9ff;

  font-size: 18px;
  font-weight: 600;

  padding: 10px 22px;

  border-radius: 999px;

  background: rgba(0, 217, 255, 0.08);

  border: 1px solid rgba(0, 217, 255, 0.25);

  backdrop-filter: blur(10px);
}

/* =========================
   DESCRIPTION
========================= */
#hero-section-subinfo {
  max-width: 720px;

  font-size: 20px;

  line-height: 1.9;

  color: #c4c9d4;
}

#hero-section-subinfo1 {
  color: #38bdf8;
  font-weight: 700;
}

#hero-section-subinfo2 {
  color: #4ade80;
  font-weight: 700;
}

/* =========================
   EXPERIENCE
========================= */
#exp_year {
  display: flex;

  justify-content: flex-start;
  align-items: center;

  gap: 70px;

  flex-wrap: wrap;
}

.exp-item {
  display: flex;
  flex-direction: column;

  align-items: flex-start;

  gap: 8px;

  transition: all 0.3s ease;
}

.exp-item:hover {
  transform: translateY(-6px);
}

.exp_year-amount {
  font-size: 52px;
  font-weight: 900;

  background: linear-gradient(135deg, #ffffff, #00d9ff);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.exp_year-text {
  font-size: 14px;

  color: #94a3b8;

  text-transform: uppercase;

  letter-spacing: 2px;

  font-weight: 600;
}

/* =========================
   SCROLL DOWN
========================= */
#scroll-down {
  margin-top: 15px;

  display: flex;
  align-items: center;

  gap: 12px;

  font-size: 14px;

  color: #cbd5e1;

  text-transform: uppercase;

  letter-spacing: 3px;

  cursor: pointer;

  animation: bounce 2s infinite;
}

#scroll-down i {
  color: #00ff87;
  font-size: 18px;
}

#scroll-down:hover {
  color: #00d9ff;
}

/* =========================
   ANIMATION
========================= */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-8px);
  }

  60% {
    transform: translateY(-4px);
  }
}

/* =========================
   TABLET
========================= */
@media (max-width: 1024px) {
  #hero-section-left {
    width: 65%;
  }

  #hero-section-intro {
    font-size: 58px;

    min-height: 150px;
  }

  .hero-section-title {
    min-width: 650px;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  #hero-section {
    align-items: flex-start;

    padding: 130px 8% 60px;

    background-position: 75% center;
  }

  #hero-section::before {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.55) 100%
    );
  }

  #hero-section-left {
    width: 100%;

    gap: 28px;
  }

  #hero-section-intro {
    font-size: 42px;

    min-height: 110px;

    line-height: 1.15;
  }

  .hero-section-title {
    min-width: 100%;
  }

  #hero-section-info {
    font-size: 15px;

    padding: 8px 18px;
  }

  #hero-section-subinfo {
    font-size: 16px;

    line-height: 1.8;
  }

  #exp_year {
    gap: 35px;
  }

  .exp_year-amount {
    font-size: 38px;
  }

  .exp_year-text {
    font-size: 12px;
  }

  #scroll-down {
    font-size: 12px;

    letter-spacing: 2px;
  }
}
