:root {
  /* Colors */
  --primary-text-color: #000000;
  --secondary-text-color: #555555;
  --hero-text-color: #ffffff;
  --why-helicoid-bg-color: #d1cfcf;
  --arrow-border-color: #c5d961;
  --arrow-background-color: #ffffff;
  --arrow-hover-color: #ffffff;
  --arrow-hover-bg-color: #c4d600;

  /* Buttons */
  --primary-button-color: #ffffff;
  --secondary-button-color: #c5d961;
}
/* === HERO SECTION === */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  text-align: left;
  overflow: hidden;
  padding: 2rem;
  box-sizing: border-box;
}

.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.441);
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  color: var(--hero-text-color);
  max-width: 50rem;
  padding: 1rem;
  word-wrap: break-word;
}

.hero__content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero__content p {
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  line-height: 1.5;
  margin-bottom: 2rem;
  color: var(--hero-text-color);
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
  border: 2px solid #ffffff;
  color: var(--hero-text-color);
  background-color: transparent;
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--primary-button-color);
  color: var(--primary-text-color);
}

@media (max-width: 768px) {
  .hero {
    height: 60vh;
    padding: 1rem;
  }

  .hero__content {
    max-width: 100%;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}

body {
  overflow-x: hidden;
}

/* === CONTENT SECTIONS: About, Technology, Products === */
.about,
.technology,
.products {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.about__content,
.technology__content,
.products__content {
  flex: 1;
}

.about__content h2,
.technology__content h2,
.products__content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.about__content p,
.technology__content p,
.products__content p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn--secondary {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  border: 2px solid #c5d961;
  color: var(--primary-text-color);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn--secondary:hover {
  background-color: var(--secondary-button-color);
  color: var(--primary-text-color);
}

.about__image img {
  flex: 1;
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.technology__video video {
  flex: 1;
  width: 100%;
  max-width: 500px;
  height: auto;
}

.products__image img {
  width: 100%;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.technology {
  flex-direction: row;
}

@media (max-width: 992px) {
  .about,
  .technology,
  .products {
    gap: 1.5rem;
    padding: 3rem 1.5rem;
  }

  .about__content h2,
  .technology__content h2,
  .products__content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .about,
  .technology,
  .products {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }

  .about__image img,
  .technology__video video,
  .products__image img {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .btn--secondary {
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* === WHY HELICOID SECTION === */
.why-helicoid {
  background-color: var(--why-helicoid-bg-color);
  padding: 4rem 2rem;
  text-align: center;
}

.why-helicoid h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 3rem;
  color: var(--primary-text-color);
  font-weight: 600;
}

.why-helicoid__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.why-helicoid__card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.why-helicoid__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.why-helicoid__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  background-color: #f0f7e8;
  border-radius: 50%;
  padding: 0.8rem;
  box-sizing: content-box;
}

.why-helicoid__card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--primary-text-color);
  font-weight: 600;
}

.why-helicoid__card p {
  font-size: 1rem;
  color: var(--primary-text-color);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .why-helicoid {
    padding: 3rem 1rem;
  }

  .why-helicoid__cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .why-helicoid__card {
    padding: 1.5rem;
  }
}

/* === MEDIA SECTION === */
.media {
  padding: 4rem 2rem;
  text-align: center;
}

.media__header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
  color: var(--primary-text-color);
  font-weight: 600;
}

.media__header p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--primary-text-color);
  margin-bottom: 2.5rem;
}

.marquee {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 3rem;
  overflow: hidden;
  position: relative;
}

.marquee__content {
  display: flex;
  animation: marquee 20s linear infinite;
}

.marquee img {
  flex: 0 0 auto;
  height: 60px;
  margin: 0 30px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition:
    opacity 0.3s ease,
    filter 0.3s ease;
}

.marquee img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-130%);
  }
}

@media (max-width: 768px) {
  .media {
    padding: 3rem 1rem;
  }

  .marquee img {
    height: 50px;
    margin: 0 15px;
  }
}

/* === TEAM SECTION === */
.team {
  background: linear-gradient(to bottom, #c5d961 45%, #ffffff 45%);
  text-align: center;
  padding: 4rem 2rem;
}

.team__header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--primary-text-color);
  margin-bottom: 2rem;
  font-weight: 600;
}

.team__carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.team__members {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  padding-top: 1rem;
  scrollbar-width: none;
}

.team__members::-webkit-scrollbar {
  display: none;
}

/* === TEAM CARD === */
.team__card {
  flex: 0 0 auto;
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team__member {
  width: 220px;
  height: 300px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team__member:hover {
  transform: scale(1.05);
}

.team__name {
  font-weight: 600;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  margin-top: 0.75rem;
  color: var(--primary-text-color);
}

.team__role {
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  color: var(--secondary-text-color);
  margin-top: 0.25rem;
}

/* === ARROWS === */
.team__arrow {
  position: absolute;
  top: calc(50% - 60px);
  transform: translateY(-50%);
  background: var(--arrow-background-color);
  border: 2px solid var(--arrow-border-color);
  color: var(--primary-text-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 20;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.2s ease;
}

.team__arrow:hover {
  background: var(--arrow-hover-bg-color);
  color: var(--arrow-hover-color);
  transform: translateY(-50%) scale(1.1);
}

.team__arrow--left {
  left: -30px;
}

.team__arrow--right {
  right: -30px;
}

@media (max-width: 768px) {
  .team {
    padding: 3rem 1rem;
  }

  .team__member {
    width: 160px;
    height: 220px;
  }

  .team__card {
    width: 160px;
  }

  .team__name {
    font-size: clamp(0.85rem, 2.5vw, 1rem);
  }

  .team__role {
    font-size: clamp(0.75rem, 2vw, 0.9rem);
  }

  .team__arrow {
    display: none;
  }
}

/* === CONTACT SECTION === */
.contact {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 350px;
  overflow: hidden;
}

.contact__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  z-index: 1;
}

.contact__overlay {
  position: relative;
  z-index: 2;
  padding: 2rem 4rem;
  max-width: 600px;
  color: var(--hero-text-color);
}

.contact__overlay h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  color: var(--hero-text-color);
  font-weight: 600;
}

.contact__overlay .btn--primary {
  background-color: transparent;
  color: var(--hero-text-color);
  border: 2px solid var(--arrow-border-color);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.contact__overlay .btn--primary:hover {
  background-color: var(--arrow-hover-bg-color);
  color: var(--primary-text-color);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .contact {
    height: 250px;
    justify-content: center;
    text-align: center;
  }

  .contact__overlay {
    padding: 1.5rem;
  }

  .contact__overlay h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .contact__overlay .btn--primary {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}
