/* GLOBAL & RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Lato", sans-serif;
  font-weight: 300;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Lato", sans-serif;
  color: #333;
  line-height: 1.5;
  overflow-x: hidden;
  max-height: 100%;
  justify-content: center;
  align-items: center;
  background: #faf9f6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* BUTTONS */
/* .btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.4rem 0.5rem;
  color: #000;
  border-radius: 0px;
  border: 1px solid black;
  margin-top: 1rem;
  text-align: center;
} */
#header {
  margin: 0 auto;
  display: flex;
  width: 90%;
  align-items: center;
  justify-content: space-between;
}
.btn-outline {
  background: transparent;
  border: 1px solid black;
  padding: 0.5rem 1rem;
  font-size: 20px;
  border-radius: 0px;
  margin-top: 1rem;
}

.hero-video {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-video video {
  height: 90%;
  width: 75%;
}

@media (max-width: 800px) {
  .hero-video {
    padding-bottom: var(--spacing-small);
  }
  .hero-video video {
    height: 100%;
    width: 100%;
  }
}

.hero-overlay {
  position: absolute;
  padding: 20px;
  top: 45%;
  left: 30px;
  width: 50%;
  height: 50%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  z-index: 1;
}
@media (max-width: 1050px) {
  .hero-overlay {
    top: auto;
    bottom: 30px;
    height: auto;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    padding: 50px;
  }
}

.hero-tagline {
  font-family: "Lato", sans-serif;
  font-weight: 250; /* Lato Light */
  font-size: 1.25rem;
  margin-bottom: 1rem;
  text-align: left;
  max-width: 470px;
}
.chevron-container {
  color: #fff;
  position: absolute;
  bottom: 45px;
  left: calc(25% + 30px);
  transform: translateX(-50%);
  z-index: 10;
  cursor: pointer;
}

@media (max-width: 1050px) {
  .chevron-container {
    left: 50%;
  }
}
.chevron {
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}
@media (max-width: 768px) {
  .header-nav {
    gap: 12px;
  }
  .header-nav a {
    padding: 5px;
    font-size: 14px;
  }
  .container {
    max-width: 100%;
    width: 100%;
  }
  .footer-copy p {
    text-align: center;
  }
}

/* INTRO */
.intro {
  padding: 5rem 0;
  text-align: center;
  background-color: #f9f5f0;
}
.intro p {
  max-width: 600px;
  margin: 0 auto 1rem;
  color: #555;
  font-family: "Lato", sans-serif;
  font-size: 20px;
  font-weight: 300;
}

.carousel-container {
  position: relative;
  max-width: 1200px;
  align-items: center;
  justify-items: center;
  margin: 0 auto;
  text-align: left;
}

.intro-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  justify-items: center;
  width: 100%;
  gap: 20px;
  padding: 10px;
}

.intro-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.intro-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
  text-align: center;
}

/* Slides (dots allowing horizontal scrolling) */
.slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
  min-width: 0;
  max-width: 100vw;
}

.slides::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  box-sizing: border-box;
  width: 100%;
}

.slide-title {
  margin-bottom: 10px;
  width: 100%;
}

.slide-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 80%;
  gap: 30px;
}

.slide-text {
  margin: 0;
  padding: 0 10px;
  text-align: center;
}

@media (max-width: 700px) {
  .carousel-container {
    width: 100%;
    text-align: center;
  }

  .intro-block {
    flex-direction: column;

    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 0 1rem;
  }

  .intro-carousel {
    width: 100%;
    max-width: 100%;
  }

  .slides {
    padding: 0;
  }

  .slide-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #007bff;
}

/* TESTIMONIAL */
.testimonial {
  padding: 5rem 1rem;
  text-align: center;
}
.testimonial blockquote {
  font-style: italic;
  margin-bottom: 1rem;
  color: #373737;
  font-family: "Lato", sans-serif;
  font-weight: 300;
}

.testimonial cite {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #373737;
  font-family: "Lato", sans-serif;
}

.instruction {
  padding: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 600px) {
  .instruction {
    padding: 4rem;
  }
}
.instruction p {
  max-width: 600px;
  margin: 0 auto 1rem;
  color: #555;
  font-family: "Lato", sans-serif;
  font-size: 20px;
  font-weight: 300;
}

.howitworks {
  background-color: #ffffff;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.howitworks p {
  max-width: 600px;
  margin: 0 auto 1rem;
  color: #555;
  font-family: "Lato", sans-serif;
  font-size: 20px;
  font-weight: 300;
}
.header-column {
  width: 100%;
  margin-bottom: 20px;
  text-align: left;
  justify-items: space-between;
}

.columns-two {
  display: flex;
  flex-wrap: nowrap;
  min-height: 500px;
}

.text-column {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

/* Mobile styles */
@media (max-width: 768px) {
  .columns-two {
    flex-direction: column;
    min-height: auto;
    gap: 0px;
  }

  .image-column {
    flex: 0 0 100%;
  }

  .text-column {
    flex: 0 0 100%;
    margin-top: 10px;
  }

  .image-column img {
    left: 0;
    width: 100%;
    height: auto;
    position: relative;
    transform: none;
  }
}

.cropped-image img {
  max-width: 50%;
  height: auto;
  object-fit: cover;
  display: block;
}

.columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.column {
  text-align: center;
  padding: 10px;
  border: none;
  border-radius: 0px;
  background-color: #ffffff;
}

.column h3 {
  margin-top: 0;
}

.demo-video video {
  width: 100%;
  height: auto;
  max-width: 100vw;
  object-fit: cover;
  overflow: hidden;
}

/* FOOTER CTA */
.footer-cta {
  background-color: #f9f5f0;
  padding: 8rem 0;
  text-align: center;
}
.footer-cta p {
  max-width: 600px;
  margin: 0 auto 1rem;
  color: #555;
  font-family: "Lato", sans-serif;
  font-size: 20px;
  font-weight: 300;
}

/* FOOTER */
.site-footer {
  background: #fff;
  padding: 2rem 0;
  border-top: 1px solid #eee;
}
.footer-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-docs {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-docs a {
  font-size: 1rem;
  text-align: center;
  color: #777;
  font-family: "Lato", sans-serif;
}

.footer-copy p {
  font-size: 0.8rem;
  text-align: center;
  color: #777;
  font-family: "Lato", sans-serif;
}
.p {
  width: 400px;
  font-weight: 200;
  font-family: "Lato", sans-serif;
}

.footer-logo {
  font-weight: 800;
  font-family: "Lato", sans-serif;
}

/* RESPONSIVE */

@media (max-width: 770px) {
  #header {
    flex-direction: column;
  }
  .footer-inner {
    flex-direction: column;
  }
}

@media (min-width: 600px) {
  .site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .site-nav {
    margin-top: 0;
  }

  .features-inner {
    flex-direction: row;
    justify-content: center;
    gap: 70px;
  }
}

@media (max-width: 580px) {
  .p {
    width: 300px;
  }
}

@media (max-width: 375px) {
  .p {
    width: 200px;
  }
}

.left-panel {
  position: fixed;
  left: 0;
  top: 0;
  width: 50%;
  height: 100vh;
  overflow: hidden;
  z-index: 2;
}

.left-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Maintain aspect ratio */
}

.right-panel {
  scroll-behavior: smooth;
  margin-left: 50%;
  width: 50%;
  padding: 40px;
  height: 100vh;
  overflow-y: auto;
  background: white;
}

form {
  margin-bottom: 50px;
  margin: 40px;
}

h1 {
  margin-bottom: 26px;
  font-size: 24pt;
  color: #2c3e50;
  text-align: center;
  font-weight: 500;
}

.overlay-logo {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
}

.overlay-desktop {
  position: absolute;
  width: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -200%);
  text-align: center;
  z-index: 3;
}

.overlay-desktop h1 {
  margin-bottom: 0px;
  color: black;
  font-family: "Signika", sans-serif;
  font-size: 38px;
  font-weight: 700;
}

.overlay-desktop h2 {
  color: black;
  font-family: "Lato", sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
}

/* Mobile Overlay */
.overlay-mobile {
  display: none;
}

.overlay-mobile h1 {
  margin-bottom: 0px;
  color: black;
  font-family: "Signika", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .overlay-desktop {
    display: none;
  }

  .overlay-mobile {
    display: flex;
    text-align: center;
    justify-content: space-around;
    margin-bottom: 20px;
    gap: 20px;
  }

  .left-panel {
    display: none;
  }

  .right-panel {
    margin-left: 0;
    width: 100%;
  }
}

.form-group {
  margin-bottom: 25px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

input[type="text"],
input[type="email"],
input[type="url"],
select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.checkboxes {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.checkboxes label {
  font-weight: 300;
}

.signup {
  margin-top: 20px;
}

button {
  width: 100%;
  padding: 12px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #da9a7eff;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    height: auto;
  }

  .left-panel {
    width: 0px;
    display: hidden;
  }

  .right-panel {
    margin-left: 0%;
    width: 100%;
    padding: 20px;
  }
}
