@import url("./fonts.css");
@import url("./resets.css");
@import url("./variables.css");
@import url("./utility.css");

html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
  background: white;
}

.landing--nav {
  background-color: white;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.landing--nav ul {
  display: flex;
  flex-direction: row;
  gap: 3rem;
}

.landing--nav-customer-service {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.landing--nav-customer-service .customer-text {
  line-height: 0;
  color: var(--dark-gray);
  font-size: 0.9rem;
}
.landing--nav-customer-service .customer-phone {
  font-size: 1.1rem;
}

.landing--image-container {
  position: absolute;
  bottom: -220px;
  z-index: -1;
  right: 0;
  top: -40px;
}

.landing--welcome {
  background-image: linear-gradient(
    to right,
    rgb(26, 75, 71),
    rgb(31, 130, 70),
    rgb(35, 166, 70)
  );

  position: relative;
  z-index: 1;
}

.landing--welcome > div {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  min-height: 80vh;
}

.landing--welcome-home {
  width: 60%;
}

.landing--welcome h1 {
  font-size: 4rem;
  font-weight: 400;
  margin-top: 15px;
}

.landing--welcome-description {
  max-width: 70%;
  font-size: 1.2rem;
  margin-top: 2.5rem;
}

.landing--welcome-newsletter-form {
  background-color: white;
  border-radius: 30px;
  width: max-content;
  padding: 0 2.5em;
}
.landing--welcome-newsletter-form form {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.landing--welcome-newsletter-form input {
  padding: 1em 2em;
  width: 100%;
  border: none;
}

.landing--welcome-newsletter-form input:focus {
  outline: none;
  border: none;
}

.landing--about {
  background-color: var(--gray);
}
.landing--about > div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-height: 60vh;
  padding-block: 4rem;
}

.landing--about > div > div {
  max-width: 48%;
}

.landing--products-and-services {
  min-height: 80vh;
}

.landing--products-and-services-items {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  gap: 3rem;
}

.landing--products-and-services-1,
.landing--products-and-services-2,
.landing--products-and-services-3 {
  background-color: white;
  padding: 3.4em 1.8em;
  border-radius: 22px;
  box-shadow: 0px 4.53px 61.13px 0px #0099330a, 0px 0px 54.34px 0px #9393930a;
}

.landing--features {
  background-color: var(--gray);
}

.landing--features-all {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}

.landing--features-one > div,
.landing--features-three > div {
  margin-bottom: 2rem;
}

.landing--features-three {
  margin-left: -80px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  text-align: end;
}

.landing--features-one img,
.landing--features-two img {
  align-self: flex-end;
}

.landing--choose-carchick {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.landing--choose-carchick > :first-child {
  flex: 1 1 0;
}

.landing--choose-carchick > :nth-child(2) {
  flex: 1 2 0;
  min-width: 200px; /* Adjust this value as needed */
}

.landing--choose-carchick-1-content {
  height: 50px;
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  align-items: center;
}

.landing--choose-carchick-1-content-heading {
  font-size: 1.1rem;
  font-weight: 500;
}

.landing--how-it-works {
  background-color: var(--gray);
}

.landing--how-it-works-all {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  gap: 4rem;
}

.landing--how-it-works-all > :first-child {
  flex: 1 1 0;
}

.landing--how-it-works-all > :nth-child(2) {
  flex: 1 1 0;
  min-width: 200px; /* Adjust this value as needed */
}
.landing--how-it-works-2-content {
  height: 50px;
  display: flex;
  justify-content: left;
  gap: 1rem;
  align-items: center;
}

.landing--contact-us-one,
.landing--contact-us-two {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: left;
  gap: 2rem;
}

.landing--contact-us-one > div,
.landing--contact-us-two > div,
.landing--contact-us-three {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-basis: 50%;
}

.landing--contact-us input,
.landing--contact-us textarea {
  border: 1px solid #dae0e6;
  border-radius: 6px;
  height: 46px;
  padding: 1rem;
  box-shadow: 0px 1px 2px 0px #1018280a;
}

.landing--contact-us input:focus,
.landing--contact-us textarea:focus {
  border: 1px solid var(--green);
  outline: none;
}
.landing--contact-us label {
  font-weight: 600;
}

.landing--contact-us-btn {
  display: flex;
  justify-content: right;
}

.btn {
  cursor: pointer;
  border-radius: 30px;
  padding: 1em 6em;
  border: none;
  transition: all 0.3s ease;
}

.btn-contact-form-submit {
  background-color: var(--green);
  color: white;
}

.btn-newsletter-submit {
  padding: 1em;
  background-color: white;
}

.btn-contact-form-submit:hover {
  background-color: white;
  color: var(--green);
  outline: 1px solid var(--green);
  opacity: 0.9;
}

.btn-newsletter-submit:hover {
  transform: scale(0.8);
}

.landing--newsletter {
  background-color: var(--gray);
}

.landing--newsletter > div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.landing--newsletter-text {
  display: flex;
  flex-direction: column;
}

.landing-newsletter-text-header {
  font-weight: 500;
  line-height: 42px;
}

.landing--footer {
  background-color: var(--black);
  color: white;
}

.landing--footer > div:first-child {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 2rem;
  align-items: flex-start;
}

.landing--footer > div > div:first-child {
  flex: 2 1 0%; /* First item takes more space */
}

.landing--footer p,
.landing--footer li {
  color: var(--dark-gray);
  padding: 0;
  margin: 0;
}

.landing--footer h2 {
  margin-bottom: 1.2rem;
}

.landing--footer-social-links {
  margin-top: 1rem;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
}

.landing--footer-download-app {
  margin-top: 1rem;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  overflow-x: auto; /* Enable horizontal scroll on smaller screens */
}

.landing--footer-download-app img {
  max-width: 100%; /* Ensure images do not exceed container width */
  height: auto; /* Maintain aspect ratio */
}

.landing--footer-copyright {
  text-align: center;
}
