/* Base styles */
.hero-section {
  position: relative;
  width: 100%;
  height: 630px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-video {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 0;
  /* background: url('../../images/video-preview.jpg'); */

  background: url('../../images/video-preview.jpg') center center / cover no-repeat;

}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  padding-bottom: 20px;
  padding-left: 40px;
  padding-right: 40px;
}

/* Headline styles */
.hero-title {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 700;
  color: white;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: 75px;
  margin-bottom: 2rem;
  max-width: none;
  width: 100%;
}

/* Button styles */

.button-holder {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}

.transparent-button {
  /* Layout */
  width: 220px;
  height: 50px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  /* Visual Style */
  background-color: transparent;
  color: white;
  border-radius: 100px;
  border: 2px solid white;

  /* Typography */
  font-family: var(--font-onest);
  font-weight: 500;
  font-size: 18px;
  line-height: 145%;
  letter-spacing: -0.5%;
  text-align: center;

  /* States */
  transition: all 200ms;
}

.transparent-button:hover {
  border-color: var(--color-primary-900);
  color: var(--color-primary-900);
}

.transparent-button:active {
  background-color: var(--color-primary-500);
}

.transparent-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.cta-button {
  width: 220px;
  height: 50px;
  padding: 12px 16px;
  background-color: var(--color-primary-700); /* primary-700 */
  color: white;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-onest);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  text-align: center;
  transition: all 0.2s ease-in-out;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--color-primary-900); /* primary-900 */
}

.cta-button:active {
  background-color: var(--color-primary-500); /* primary-500 */
}

.cta-button:focus {
  outline: none;
  /* box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.5);  */
}

.project-tag-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
  gap: 1rem;
  margin: 2rem 0;
}

.project-tag-card {
  display: block;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.project-tag-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.project-tag-card img {
  object-fit: cover;
  object-position: 0% 20%;
  width: 100%;
  height: 240px;
  display: block;
}

.project-tag-card h3 {
  margin: 0.5rem 0 1rem;
  /* font-size: 1.2rem; */
}

/* Logos carousel */
.logo-slider-container {
  padding: 40px 0;
}
/* Embla base styles */
.embla-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.embla__prev,
.embla__next {
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.embla__prev svg,
.embla__next svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.embla {
  overflow: hidden;
  width: 100%;
}

.embla__container {
  display: flex;
}

.embla__slide {
  position: relative;
  padding: 0 10px;
  flex: 0 0 auto;
}

.logo-slide {
  height: 180px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

/* Optional: position arrows absolutely */
/* .embla__prev,
.embla__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.embla__prev {
  left: 0;
}

.embla__next {
  right: 0;
} */

.testimonial-slider-container {
  box-sizing: border-box;
  padding-left: 0;
  padding-right: 0;
  /* max-width: 700px;
  margin: 0 auto; */
  /* text-align: center;
  padding: 40px 20px; */
}
.embla-testimonials {
  overflow: hidden;
  width: 100%;
}

.testimonial-container {
  display: flex;
  flex-direction: row;
}

.testimonial-slide {
  padding: 0;
  flex: 0 0 100%;
  box-sizing: border-box;
}

blockquote {
  /* font-style: italic;
  font-size: 1.2rem;
  margin: 0 auto; */
}
.testimonial-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 1rem;
  justify-content: center;
  gap: 16px;
}
.testimonial-text {
  font-family: var(--font-montserrat-alternates);
  font-weight: 700;
  font-size: 36px;
  text-align: center;
  line-height: 1.3;
}
.testimonial-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 1rem;
}

.testimonial-author {
  margin-top: 0.5rem;
}
.testimonial-author-name {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-primary-700);
}
.testimonial-author-position,
.testimonial-author-company {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-primary-500);
}

.embla__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.embla__dot {
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
  border: none;
}

.embla__dot.is-selected {
  background: var(--color-primary-700);
}

@media (max-width: 1279px) {
  .hero-section {
    height: 588px;
  }

  .project-tag-cards {
    grid-template-columns: 1fr; /* 1 column on small screens */
  }

  .project-tag-cards img {
    height: 280px;
  }
}

/* Responsive max width */
@media (max-width: 799px) {
  .hero-section {
    /* height: 625px; */
    height: 360px;
  }
  .hero-title {
    font-size: 48px;
    max-width: 320px;
  }

  .hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .button-holder {
    flex-direction: column;
    /* gap: 10px; */
  }

  /* .project-tag-cards {
    grid-template-columns: 1fr; 
  } */
  .project-tag-cards img {
    height: 240px;
  }

  .testimonial-footer {
    flex-direction: column;
  }
  .testimonial-author {
    text-align: center;
  }
  .testimonial-text {
    font-size: 24px;
  }
}
