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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #fff;
  background: #000;
}
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  z-index: -1;
}

.hero {
  display: block;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}
.hero.front-hero {
  background: url("/img/bg4.jpg") center/cover fixed;
  z-index: 2;
}
.bg-hero {
  background: transparent;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}
.hero-title {
  font-size: 3rem;
}
.hero-sub {
  font-size: 1.5rem;
  margin-top: 0.5em;
}

.panel {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}
.about {
  background: url("/img/bg2.jpg") center/cover fixed;
  position: relative;
}
.about-block {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 700px;
  opacity: 0;
  text-align: center;
}
.about-me {
  z-index: 2;
}
.career {
  z-index: 1;
}

.works {
  background: url("/img/bg3.jpg") center/cover fixed;
  flex-direction: column;
}
.works h2 {
  margin-top: 5rem;
}
.works-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 2rem;
  padding: 0 2rem;
}
.work-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(80px);
  opacity: 0;
  color: #222;
}
.work-card img {
  width: 100%;
  display: block;
}
.work-card h3 {
  padding: 1rem;
  font-size: 1.2rem;
}
.works h2,
.works .works-grid {
  position: relative;
  z-index: 1;
}

.cta {
  background: #111;
  padding: 10vh 4vw;
  text-align: center;
}

.cta-text {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateX(-60px);

  background: linear-gradient(90deg, #12c2e9, #c471ed, #f64f59);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  max-width: 600px;
  margin: 1em auto;
}

.cta-form input,
.cta-form textarea {
  padding: 0.8em;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  color: #111;
}

.cta-btn:hover {
  transform: scale(1.07);
  background: #252362;
  color: #fff;
}

footer {
  background: #000;
  text-align: center;
  padding: 4rem 0;
  color: #888;
  font-size: 0.9rem;
}
.cta-btn.button {
  width: 160px;
  height: 50px;
  border-radius: 6px;
  background: dodgerblue;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.6s ease, transform 0.6s ease;
  cursor: pointer;
  position: relative;
}

.cta-btn.button:hover {
  background: #005ec2;
}

.cta-btn.button.button__circle {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  background: mediumseagreen !important;
  padding: 0;
  transform: rotate(360deg);
}

.cta-submit-area {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  margin: 1.5rem auto;
}

.tick {
  width: 100%;
  height: 100%;
  color: white;
  font-size: 1.2em;
  transition: all 0.9s;
  display: flex;
  justify-content: center;
  align-items: center;
}
