/* Base Styles */
body {
  font-family: 'Lato', sans-serif;
  margin: 0;
  padding: 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 4rem;
  padding-right: 4rem;
  padding-top: 2rem;
  padding-bottom: 0.5rem;
  background-color: #f0ecf9;
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

header .logo img {
  object-fit: contain;
  padding: 0;
  align-content: stretch;
  height: 3.75rem; /* 60px */
  width: 7.8125rem; /* 125px */
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

header nav ul li a {
  text-decoration: none;
  color: #333;
  font-family: 'Lato', 'San-serif';
  font-weight: 700;
  font-size: 1.25rem; /* 20px */
  line-height: 1.25rem; /* 20px */
  padding-right: 2.5rem; /* 40px */
  padding-left: 2.5rem; /* 40px */
}

header .download-link {
  color: #673ab7;
  text-decoration: none;
  font-family: 'Lato', 'San-serif';
  font-weight: 700;
  font-size: 1.25rem; /* 20px */
  line-height: 1.25rem; /* 20px */
}

.hero {
  text-align: left;
  display: inline-flex;
  padding-top: 0.5rem;
  padding-right: 4rem;
  padding-left: 4rem;
  padding-bottom: 1rem;
  background-color: #fff;
}

.hero-text {
  width: 48%;
  height: fit-content; /* 776px */
  margin-right: 4%;
}

.hero h1 {
  font-size: 4.375rem; /* 70px */
  font-family: 'Lato', 'San-serif';
  font-weight: 700;
  line-height: 5rem; /* 80px */
}

.hero h1 span {
  color: #6a1b9a;
}

.hero p {
  font-family: 'Raleway', 'San-serif';
  font-weight: 400;
  font-size: 1.4375rem; /* 23px */
  line-height: 2.25rem; /* 36px */
  margin-bottom: 0.5rem;
}

.hero button {
  background-color: #6a1b9a;
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.9375rem; /* 15px */
  margin-top: 1rem; /* 30px */
  height: 4.4375rem; /* 71px */
  width: 17.75rem; /* 284px */
  font-family: 'Lato', 'San-serif';
  font-weight: 700;
  font-size: 1.75rem; /* 28px */
  line-height: 2.08125rem; /* 33.3px */
  cursor: pointer;
}

.hero-image-placeholder {
  width: 48%;
  height: 48.5rem; /* 776px */
  background-color: #fff;
  clip: auto;
}

.hero-image-placeholder img {
  width: 100%;
  height: 48.5rem; /* 776px */
  object-fit: cover;
}

.why-us {
  padding: 4rem;
}

.why-us-content {
  display: flex;
  gap: 2rem;
}

.line {
  width: 50%;
  height: 2.5rem; /* 40px */
  color: #673ab7;
}

.why-us button {
  background-color: #fff;
  color: #673ab7;
  padding: 0.5rem 1rem;
  border-width: 2px;
  border-color: #673ab7;
  border-radius: 0.9375rem; /* 15px */
  margin-top: 1.875rem; /* 30px */
  height: 4.4375rem; /* 71px */
  width: 17.75rem; /* 284px */
  font-family: 'Lato', 'San-serif';
  font-weight: 700;
  font-size: 1.75rem; /* 28px */
  line-height: 2.08125rem; /* 33.3px */
  cursor: pointer;
}

.image-placeholder {
  flex: 1;
  background-color: #fff;
  height: 37.5rem; /* 600px */
}

.image-placeholder img {
  height: 37.5rem; /* 600px */
  width: 100%;
  object-fit: cover;
}

.text {
  flex: 1;
}

.text p {
  font-family: 'Raleway', 'San-serif';
  font-size: 1.4375rem; /* 23px */
  line-height: 2.25rem; /* 36px */
  font-weight: 400;
}

.text h2 {
  font-family: 'Lato', 'San-serif';
  font-weight: 700;
  text-align: center;
  line-height: 2.5rem; /* 40px */
  font-size: 3.125rem; /* 50px */
  text-align: left;
}

.features-section {
  padding: 4rem;
  display: flex;
  gap: 2rem;
  background-color: #fff;
}

.features {
  flex: 1;
}

.features h2 {
  text-align: start;
  font-family: 'Lato', 'San-serif';
  font-size: 2.25rem; /* 36px */
  font-weight: 700;
  line-height: 2.5rem; /* 40px */
}

.features-content {
  display: block;
  gap: 1rem;
  justify-content: center;
}

.feature-item {
  flex: 1 1 30%;
  background-color: #fff;
}

.feature-item h3 {
  font-family: 'Lato', 'San-serif';
  font-size: 1.5625rem; /* 25px */
  font-weight: 600;
  line-height: 2.25rem; /* 36px */
}

.feature-item p {
  font-family: 'Raleway', 'San-serif';
  font-size: 1.25rem; /* 20px */
  font-weight: 400;
  line-height: 1.875rem; /* 30px */
}

.features-image-placeholder img {
  z-index: 5;
  mix-blend-mode: normal;
  margin-left: 25%;
  margin-right: 25%;
  width: 50%;
  height: 29.375rem; /* 470px */
  align-self: center;
}

.features-image-placeholder {
  flex: 1;
  width: 70%;
  height: 37.5rem; /* 600px */
  margin-top: 1rem;
  align-content: center;
  background-color: #b39ddb;
}

.about-us {
  padding-right: 4rem;
  padding-left: 4rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.about-us-div {
  padding-right: 4rem;
  padding-left: 4rem;
  padding-top: 2rem;
  padding-bottom: 4rem;
  margin-left: -4rem;
  margin-right: -4rem;
  background-color: #f5f5f5;
}

.about-us-div h2 {
  font-family: 'Lato', 'San-serif';
  font-weight: 700;
  font-size: 2.5rem; /* 40px */
  line-height: 3rem; /* 48px */
}

.about-us-div1 {
  display: flex;
  gap: 4rem;
}

.about-us-item {
  flex: 1;
}

.about-us-item h3 {
  font-family: 'Lato', 'San-serif';
  font-size: 2.1875rem; /* 35px */
  font-weight: 600;
  color: #673ab7;
  text-align: center;
}

.about-us-item div {
  padding: 0.8rem;
  background-color: #fff;
  border: 1px solid #333;
  height: fit-content;
}

.about-us-item p {
  font-family: 'Raleway', 'San-serif';
  font-size: 1.25rem; /* 20px */
  line-height: 1.875rem; /* 30px */
  text-align: left;
  color: #673ab7;
  font-weight: 500;
}

.faq {
  padding-right: 4rem;
  padding-left: 4rem;
  padding-top: 1rem;
  padding-bottom: 4rem;
  background-color: #f0ebf8;
}

.faq h2 {
  text-align: left;
  font-family: 'Lato', 'San-serif';
  font-size: 2.5rem; /* 40px */
  font-weight: 700;
  line-height: 3rem; /* 48px */
}

.faq-item {
  background-color: #fff;
  border: 1px solid #333;
  border-radius: 0.9375rem; /* 15px */
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 1rem;
  padding-top: 1rem;
  margin-bottom: 1rem;
}

.faq-item h3 {
  font-family: 'Lato', 'San-serif';
  font-size: 2rem; /* 32px */
  font-weight: 600;
  color: #673ab7;
}

.faq-item p {
  font-family: 'Raleway', 'San-serif';
  font-size: 1.5rem; /* 24px */
  font-weight: 500;
  line-height: 2.375rem; /* 38px */
}

.download {
  text-align: center;
  padding-left: 8rem;
  padding-right: 8rem;
  padding-top: 1rem;
  padding-bottom: 4rem;
}

.download h2 {
  font-size: 4.0625rem; /* 65px */
  font-weight: 700;
  text-align: center;
  line-height: 4.875rem; /* 78px */
}

.download h2 span {
  color: #673ab7;
}

.download-buttons {
  display: flex;
  gap: 1.1rem;
  justify-content: center;
}

.download-buttons svg {
  width: 45px;
  height: 45px;
}

.text-container {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
}

.download-on {
  font-size: 16px;
  font-weight: 500;
  font-family: 'Raleway';
}

.store {
  font-size: 30px;
  font-weight: bold;
}

.download-buttons button {
  background-color: #f0ecf9;
  color: #333;
  padding: 0.3rem 1rem;
  border-width: 1px;
  border-color: #333;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  border-radius: 0.9375rem; /* 15px */
  /* margin-top: 1.875rem; 30px */
  /* height: 4.4375rem; 71px */
  /* width: 60%; */
  font-family: 'Lato', 'San-serif';
  font-weight: 700;
  font-size: 1.5625rem; /* 25px */
  line-height: 2.08125rem; /* 33.3px */
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

footer {
  background-color: #673ab7;
  color: #fff;
  padding: 4rem;
}

footer h3 {
  text-align: center;
  font-size: 1.5rem; /* 24px */
  color: #dded7c;
  font-family: 'Raleway', 'San-serif';
}

footer .footer-links {
  display: flex;
  justify-content: start;
  margin-bottom: 1rem;
}

footer .footer-links div {
  flex: 1;
}

footer .footer-links ul {
  list-style: none;
  justify-content: start;
  align-items: start;
  padding: 0;
}

footer .footer-links ul li {
  margin: 0.5rem 0;
  text-align: center;
}

footer .footer-links ul li a {
  color: #fff;
  text-decoration: none;
  justify-content: start;
  text-align: left;
  font-size: 1.25rem; /* 20px */
  font-family: 'Raleway', 'San-serif';
}

footer .contact {
  margin-top: 3.125rem; /* 50px */
  text-align: center;
  font-size: 0.9rem;
}

.hidden {
  display: none;
}

/* Tablet and Mobile Views */
@media (max-width: 1024px) {
  header {
    padding-top: 1rem;
    display: flex;
    flex-direction: row;
    padding-left: 0px;
    align-items: start;
  }

  header .logo {
    height: fit-content;
    padding-left: 2.45rem;
  }

  header nav {
    padding-top: 20%;
    width: fit-content;
  }

  header nav,
  ul {
    justify-content: start;
    flex-direction: row;
    font-size: small;
    margin: 0;
    padding: 0;
    margin-top: 0.3rem;
  }

  header nav ul li {
    padding: 0;
    width: auto;
    font-size: small;
  }

  .hero {
    flex-direction: column;
    padding: 2rem;
  }

  .hero p{
    margin-bottom: 0.1rem;
  }

  .hero button{
    background-color: #6a1b9a;
    color: #fff;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border: none;
    border-radius: 0.9375rem; /* 15px */
    margin-top: 0.8rem; /* 30px */
    margin-bottom: 1.25rem;
    height: fit-content; /* 71px */
    width: 17.75rem; /* 284px */
    font-family: 'Lato', 'San-serif';
    font-weight: 700;
    /* line-height: 2.08125rem; 33.3px */
    cursor: pointer;
  }

  .hero-text,
  .hero-image-placeholder {
    width: 100%;
    height: auto;
  }

  .about-us div {
    height: fit-content;
  }

  .why-us-content {
    flex-direction: column;
  }

  .about-us-div1 {
    flex-direction: column;
  }

  .features-section {
    flex-direction: column;
  }

  .features-image-placeholder {
    width: 100%;
    height: auto;
  }

  .download-buttons {
    flex-direction: column;
  }

  .download h2 {
    font-size: 55px;
  }
}

@media (max-width: 768px) {
  header {
    padding-left: 0;
    flex-direction: row;
  }

  header .logo{
    padding-left: 1rem;
  }

  .hero {
    padding: 1rem;
    align-content: center;
  }

  .hero h1 {
    font-size: 2.375rem;
    line-height: 2.75rem;
  }

  .hero p{
    margin-bottom: 0.1rem;
  }

  .hero button {
    background-color: #6a1b9a;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.9375rem; /* 15px */
    margin-top: 0.2rem; /* 30px */
    margin-bottom: 1.25rem;
    height: 3rem; /* 71px */
    width: 17.75rem; /* 284px */
    font-family: 'Lato', 'San-serif';
    font-weight: 700;
    font-size: 0.5rem; /* 28px */
    /* line-height: 2.08125rem; 33.3px */
    cursor: pointer;
  }

  .why-us {
    padding: 1rem;
  }

  .features-section {
    padding: 1rem;
  }

  .about-us {
    padding: 1rem;
  }

  .about-us-div {
    margin-left: 0;
    margin-right: 0;
    padding: 1rem;
  }

  .about-us-item div {
    height: fit-content;
  }

  .faq {
    padding: 1rem;
  }

  .download {
    padding: 1rem;
  }

  .download-buttons {
    padding: 1rem;
  }

  .download-buttons button {
    width: 100%;
    font-size: 16px;
    /* height: fit-content; */
  }

  footer {
    padding: 1rem;
  }

  .download h2 {
    font-size: 1.125rem;
    line-height: 1.375rem;
  }

  footer h3 {
    font-size: 1rem;
  }

  footer .footer-links ul li a {
    font-size: 0.75rem;
  }

  .faq h2 {
    font-size: 1.875rem;
  }

  .faq h3 {
    font-size: 1rem;
  }

  .faq p {
    font-size: 0.75rem;
  }

  .about-us h2 {
    font-size: 1.875rem;
  }

  .about-us h3 {
    font-size: 1.5rem;
  }

  .about-us p {
    font-size: 1rem;
  }

  .features h2 {
    font-size: 1.875rem;
  }

  .features h3 {
    font-size: 1.25rem;
  }
  .features p {
    font-size: 1rem;
  }

  .why-us h2 {
    font-size: 1.875rem;
  }

  .why-us p {
    font-size: 1rem;
  }

  .why-us button {
    width: fit-content;
    height: fit-content;
    font-size: 1.25rem;
  }

  .image-placeholder img {
    height: 25rem; /* 600px */
    width: 100%;
    object-fit: cover;
  }

  .hero-image-placeholder img {
    width: 100%;
    height: 27rem; /* 776px */
    object-fit: cover;
  }

  .hero button {
    width: fit-content;
    height: fit-content;
    font-size: 1.25rem;
  }

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

  .features-image-placeholder img {
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 2%;
    margin-bottom: 2%;
    align-self: center;
    height: 25rem;
  }

  nav.menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
  }

  nav.menu ul {
    flex-direction: column;
    gap: 0;
  }

  nav.menu ul li {
    text-align: center;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
  }

  /* style.css */
  .menu-icon {
    align-content: center;
    cursor: pointer;
    position: absolute;
    z-index: 1000; /* Ensure menu icon stays on top */
    width: 1.875rem;
    height: 1.875rem;
    top: 1.875rem;
    right: 1.25rem;
  }

  .menu-icon div {
    align-content: center;
    background-color: #673ab7;
    height: 0.2rem;
    margin: 0.3rem 0;
    transition: 0.4s;
  }

  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #673ab7; /* Semi-transparent */
    z-index: 1; /* Below menu icon */
  }

  .modal-content {
    height: 50%;
    background-color: #673ab7;
    margin: 15% 0% 0% 0%; /* Centered */
    padding: 20px;
    /* border: 1px solid #888; */
    width: 80%; /* Could be more or less, depending on screen size */
  }

  .modal-content ul li {
    text-align: center;
    margin-top: 3rem;
    list-style: none;
  }

  .modal-content ul li a {
    font-family: 'Raleway', 'San-serif';
    font-weight: 400;
    font-size: 1.563rem;
    color: #fff;
    text-align: center;
    text-decoration: none;
  }

  .hidden {
    display: none;
  }

  .cancel-icon {
    cursor: pointer;
    margin: -0.5rem 0;
    font-size: 3.125rem; /* Adjust size as needed */
    display: none;
    color: #fff;
  }

  .store {
    font-size: 20px;
  }
}
