:root {
  --color-accent: #0673cc;
  --color-body-bg: #262537;
  --color-secondary: #454462;
  --color-light: #f2f0ef;
  --color-text: #ffffff;
  --color-dark: #18191a;
  --color-black-text: #000000;
}

* {
  padding: 0;
  margin: 0;
}

body {
  font-family: "poppins", serif;
  background-color: var(--color-body-bg);
  color: var(--color-text);
  overflow-x: hidden;
  box-sizing: border-box;
}

body.no-scroll {
  overflow: hidden;
}

header {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 80vh;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
  display: flex;
  flex-direction: row;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  text-align: center;
  background-color: #d9d9d9;
}

header p {
  width: 75%;
}

.content {
  display: flex;
  flex-direction: row;
}

.column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 20px 100px;
}
.column p,
.column h1,
.column b {
  text-align: left;
  width: 100%;
}

.column p {
  font-size: 18px;
  font-weight: 400;
}

.column b {
  font-size: 18px;
}

.column img {
  width: 60%;
  margin: 20px 0 50px 0;
  transform: translateY(5%);
}
.column p:first-child {
  font-weight: 300;
  font-size: 16px;
}
.column h1 {
  font-size: 3rem;
  margin-top: 20px;
  font-weight: 400;
}
.video-container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  margin-top: 50px;
}

.row1 {
  margin-right: 20px;
  width: 50vw;
}

.carousel-container {
  text-align: center;
  background-color: var(--color-light);
  padding: 50px 0;
  color: var(--color-black-text);
  transform: translateY(210px);
}

.carousel {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
  width: 100%;
}

.slide {
  flex: 0 0 100%;
}

.slide-content {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.profile-pic {
  width: 175px;
  height: 175px;
  border-radius: 50%;
  object-fit: cover;
  padding: 0 5%;
}

.text-content {
  flex: 1;
  text-align: left;
  font-size: 1.8rem;
}

.text-content p {
  width: 75%;
}
.stars {
  margin-top: 10px;
  font-size: 18px;
  color: gold;
}
.stars img {
  width: 30px;
  margin-right: 15px;
}

.carousel-controls {
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 10px;
  padding: 3% 10%;
  padding-bottom: 210px;
  background-color: var(--color-secondary);
  flex-wrap: nowrap;
  justify-content: space-evenly;
  transform: translateY(210px);
}

.carousel-controls a {
  position: relative;
  margin: 0 10px;
}

.carousel-controls img {
  height: auto;
  object-fit: cover;
  cursor: pointer;
  width: 100px;
  display: inline-block;
}

.triangle {
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 20px solid var(--color-secondary);
  transform: translateX(-50%);
  transition: top 0.3s ease, opacity 0.3s ease;
  top: -15px;
  opacity: 1;
  pointer-events: none;
  z-index: 5;
}

.carousel-controls a.active .triangle {
  top: -15px;
  opacity: 1;
}

@media (max-width: 1200px) {
  header {
    height: 80vh;
  }

  .row2 img {
    display: none;
  }
  .content {
    flex-direction: column;
  }
  .video-container {
    justify-content: center;
    align-items: center;
  }
  .column {
    margin: 40px;
  }
  .row1 {
    width: 80vw;
  }
  .slide-container {
    width: 100%;
  }

  .carousel-controls {
    overflow-x: auto;
  }
}
@media (max-width: 800px) {
  .carousel-container{
    transform: none;
  }
  .carousel-controls{
    transform: none;
  }
  .timeline {
    flex-direction: column;
    margin: 0 15%;
    transform: translateY(50px);
  }
  .timeline-container {
    padding-bottom: 110px;
    transform: none;
  }
  .content-timeline {
    width: 350px;
  }
  header {
    clip-path: none;
  }
  .column h1 {
    font-size: 2rem;
  }
  header p {
    font-size: 2.2rem;
    width: 100%;
  }
  header {
    height: 70vh;
  }
  .carousel-container {
    padding: 25px 0;
  }
  .carousel-controls {
    padding: 3% 5%;
  }
  .carousel-controls img {
    margin: 0 10px;
  }
  .profile-pic {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
    align-self: flex-start;
  }

  .slide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .text-content {
    font-size: 1.5rem;
    width: 90%;
  }

  .stars {
    font-size: 1.2rem;
  }

  .text-content p {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .timeline img {
    width: 95%;
  }
  .column h1 {
    font-size: 1.4rem;
  }
  header p {
    font-size: 2rem;
    width: 100%;
  }
  header {
    height: 50vh;
  }
}
