:root {
  /* Font */
  --heading-font: "Poppins", sans-serif;
  --body-font: "Open Sans", sans-serif;

  /* Color */
  --body-color: #ffffff;
  --heading-color: #353535;
  --text-color: #000000;
  --light-grey: #8b8b92;
  --button-version-text: #89d2d1;
  --button-download-bg: #3da9a9;
  --button-download-text: #ffffff;
  --button-info-bg: #7e51c2;
  --button-info-text: #cfcfcf;

  --border-color: #d3d3d3;
  --medium-teal: #2da5a0;
}

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

html,
body {
  font-family: var(--body-font);
  color: var(--text-color);
  background: var(--body-color);
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  font-size: 18px;
  line-height: 1.1;
}

.container {
  padding: 2em 1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0.5em 0;
  color: var(--heading-color);
}

h2 {
  font-size: 2.8rem;
  margin: 0.5em 0;
}

h3 {
  font-size: 2rem;
  margin: 0.5em 0;
}

p {
  color: var(--light-grey);
  font-size: 1rem;
  line-height: 1.5;
}

button {
  padding: 1.5em 2.5em;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  font-size: 0.8rem;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.uppercase {
  color: var(--medium-teal);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 5px;
}
/* button */
.download-button {
  background: var(--button-download-bg);
  color: var(--button-download-text);
}

.info-button {
  background: var(--button-info-bg);
  color: var(--button-info-text);
}

.download-button span {
  color: var(--button-version-text);
  margin-left: 0.2em;
}
.purple-download-button {
  background: var(--button-info-bg);
  color: var(--body-color);
}
.purple-download-button span {
  color: var(--button-info-text);
  margin-left: 0.2em;
}
/* header */
.logo-img-container {
  display: flex;
  justify-content: center;
}

.timeline-step {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 6rem 0 4rem 0;
}

.second-timeline-step {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
  top: 105px;
  margin: 0rem 0 4rem 0;
}
.timeline-step::before,
.second-timeline-step::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 100px;
  background: var(--border-color);
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
}
.circle,
.second-circle {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background-color: var(--body-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--light-grey);
  font-size: 18px;
}

/* main - hero section */
.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-content-info {
  text-align: center;
}
.hero-content-info h1 {
  max-width: 80%;
  margin: 1.5rem auto;
}

.hero-content-info p {
  margin-bottom: 1em;
  max-width: 80%;
  margin: 1rem auto;
}

.hero-content-buttons {
  display: flex;
  justify-content: center;
  gap: 1em;
}

.hero-images-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-image {
  max-width: 250px;
  height: auto;
}
/*image grid */
.image-grid-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  align-items: center;
  justify-content: center;
}

.individual-img {
  width: 250px;
  height: auto;
  border-radius: 10px;
}

.smart-meeting-section {
  text-align: center;
  max-width: 1440px;
  margin: 0 auto;
}

.smart-meeting-section h2,
.smart-meeting-section p {
  max-width: 40%;
  margin: 1em auto;
  margin-top: 0;
}

/*footer*/
footer {
  position: relative;
  background-image: url("../starter-code/assets/desktop/image-footer.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.8;
}
.footer-section {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 2em;
  padding: 5rem 2rem;
  max-width: 1440px;
  margin: 0 auto;
}
.footer-section > * {
  position: relative;
  z-index: 1;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(71, 138, 155, 0.85); /* teal overlay */
  z-index: 0;
}

.footer-section h3 {
  color: var(--body-color);
  max-width: 30%;
}

.footer-section p {
  max-width: 25%;
  color: var(--body-color);
}

@media (max-width: 1200px) {
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .hero-images-wrap {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    width: 100%;
  }

  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.2rem;
  }

  .hero-content-info p {
    font-size: 1rem;
  }

  .hero-content-buttons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}
@media (max-width: 991px) {
  .smart-meeting-section h2,
  .smart-meeting-section p,
  .footer-section p {
    max-width: 60%;
    margin: 0 auto;
  }

  .footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-section h3 {
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  .image-grid-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .individual-img {
    width: 100%;
  }
  .smart-meeting-section h2,
  .smart-meeting-section p,
  .smart-meeting-section,
  .footer-section p {
    max-width: 100%;
  }
}
@media (max-width: 576px) {
  .image-grid-section {
    grid-template-columns: 1fr;
  }
  .footer-section h3,
  .footer-section p {
    max-width: 100%;
  }

  .hero-content-info h1,
  .hero-content-info p {
    max-width: 100%;
  }
}

@media (max-width: 400px) {
  img.hero-image-left,
  img.hero-image-right {
    max-width: 300px;
    width: 100%;
  }
}
