:root {
  --blue-light: #e6edf9;
  --blue-light-active: #d9e4f6;
  --blue-light-hover: #b1c7eb;
  --blue-normal: #0349c0;
  --blue-normal-active: #0342ad;
  --blue-normal-hover: #023a9a;
  --blue-dark: #023790;
  --blue-dark-active: #022c73;
  --blue-dark-hover: #012156;
  --blue-darker: #011a43;
}

/* resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Livvic", sans-serif;
}

button {
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

a {
  text-decoration: none;
}

/* navbar */
.navbar {
  padding: 1rem 2rem;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  width: 100%;
  top: 0;
}

.navbar ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar ul a {
  font-size: 1rem;
  font-weight: 400;
  color: #2d3035;
}

.navbar .btn-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar .btn-container button {
  padding: 0.7rem 1rem;
  outline: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 4px;
}

.navbar .btn-container .sign-up {
  color: white;
  background: var(--blue-normal);
  border: none;
}

.navbar .btn-container .sign-up a {
  color: white;
}

.navbar .btn-container .sign-up:hover {
  background: var(--blue-normal-hover);
}

.navbar .btn-container .log-in {
  color: var(--blue-normal);
  border: 1px solid var(--blue-normal);
  background: transparent;
  transition: background 300ms ease;
}

/* Hero section */
.hero {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--blue-normal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  color: white;
  /* grid-template-columns: 1fr 1fr; */
}

.hero-text span {
  font-weight: 500;
  font-size: 1rem;
}

.hero-text h1 {
  font-weight: 700;
  font-size: 3rem;
  margin-top: 1rem;
}

.hero-text p {
  font-weight: 400;
  font-size: 1rem;
  margin-top: 0.7rem;
}

.hero-text .hero-button {
  padding: 0.7rem 2rem;
  background: white;
  color: black;
  border: none;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 4px;
  margin-top: 1.5rem;
}

.hero-image {
  width: 100%;
  height: 100%;
  align-self: center;
}

/* partners section */
.partners {
  padding: 3rem;
  background: white;
}

.partners h1 {
  font-weight: 600;
  font-size: 2rem;
  color: #333333;
  text-align: center;
}

.partners-grid {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Services */
.services {
  padding: 2rem 3rem;
  background: #f2f2f2;
  overflow: hidden;
}

.services-header h1 {
  font-weight: 600;
  font-size: 2rem;
  color: #333333;
}

.services-header p {
  font-size: 1rem;
  font-weight: 400;
  color: #4f4f4f;
}

.services-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.services-grid-item {
  background: white;
  box-shadow:
    0px 45px 99px 0px #0000001a,
    0px 179px 179px 0px #00000017,
    0px 403px 242px 0px #0000000d,
    1px 717px 287px 0px #00000003,
    1px 1120px 314px 0px #00000000;
  padding: 2rem 1rem;
  border-radius: 12px;
}

.services-grid-item .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue-normal);
}

.services-grid-item h2 {
  margin-top: 1rem;
  font-weight: 500;
  font-size: 1.125rem;
  color: #222222;
}

.services-grid-item p {
  margin-top: 1rem;
  font-weight: 400;
  font-size: 1rem;
  color: #666965;
}

/* How we stand out */
.how {
  padding: 3rem;
  background: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}

.how-header h1 {
  font-weight: 600;
  font-size: 2rem;
  color: #333333;
}

.how-header p {
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: 400;
  color: #666666;
}

/* .how-content { */
/*   margin-top: 2rem; */
/* } */

.how-text-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.how-text-item {
  padding: 1rem;
  padding-bottom: 2rem;
  border-radius: 10px;
  background: white;
  box-shadow: 0px 4px 4px 0px #0000001a;
}

.how-text-item .how-icon {
  color: var(--blue-normal);
}

.how-text-item .right-text {
  margin-top: 1rem;
}

.how-text-item .right-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #222222;
}

.how-text-item .right-text p {
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: 400;
  color: #66696f;
}

/* data plans and prices */
.data-plans {
  background: white;
  padding: 3rem;
}

.data-plans h1 {
  font-weight: 600;
  font-size: 2rem;
  text-align: center;
  color: var(--main-blue);
}

.data-plans .prices {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.data-plans .prices .price {
  padding: 1rem;
  padding-bottom: 2rem;
  border: 1px solid var(--blue-normal);
  border-radius: 0.5rem;
}

.data-plans .prices .price .price-image {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.data-plans .prices .price h2 {
  font-weight: 500;
  font-size: 1.25rem;
  color: #2d3035;
  text-align: center;
}

.data-plans .prices .price .price-table {
  margin-top: 1rem;
}

.data-plans .prices .price .price-table .price-table-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.data-plans .prices .price .price-table .price-table-row p {
  font-weight: 400;
  font-size: 14px;
  color: #333333;
}

.price-btn-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.price-table-btn {
  padding: 0.5rem 2rem;
  background: var(--blue-normal);
  border-radius: 4px;
  border: none;
  font-weight: 500;
  font-size: 1rem;
  color: white;
}

.price-table-btn a {
  color: white;
}

/* FAQ */
.faq {
  padding: 3rem;
  background: #f2f2f2;
}

.faq-header {
  text-align: center;
}

.faq-header h1 {
  font-weight: 600;
  font-size: 2rem;
  color: #333333;
}

.faq-header p {
  font-weight: 400;
  font-size: 1rem;
  color: #4f4f4f;
}

.faq-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
  gap: 2rem;
}

.faq-item {
  padding: 1rem;
  border-radius: 0.5rem;
  background: white;
  box-shadow:
    0px 5px 12px 0px #00000005,
    0px 21px 21px 0px #00000005,
    0px 48px 29px 0px #00000003,
    0px 86px 34px 0px #00000000,
    0px 134px 37px 0px #00000000;
  cursor: pointer;
  margin-bottom: 2rem;
}

.faq-item .question {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item .question h3 {
  font-weight: 500;
  font-size: 1.25rem;
  color: #333333;
  width: 80%;
}

.faq-item .question i {
  color: #6f6c90;
  transition: transform 0.5s ease-in;
}

.faq-item .answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1s ease;
  width: 70%;
}

.faq-item .answer p {
  font-weight: 400;
  font-size: 1rem;
  color: #6f6c90;
  padding-top: 1rem;
}

.faq-item.active .answer {
  max-height: 300px;
}

.faq-item.active .question i {
  transform: rotate(180deg);
}

/* footer */
footer {
  background: var(--blue-dark-hover);
  padding: 2rem 3rem 1rem 3rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: white;
}

footer .footer-logo .icons {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

footer .middle h2 {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

footer .middle {
  display: flex;
  flex-direction: column;
}

footer .middle p,
footer .middle a {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 1rem;
  color: white;
}

footer .far-right {
  display: flex;
  flex-direction: column;
}

footer .far-right h2 {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

footer .far-right form {
  display: flex;
  flex-direction: column;
}

footer .far-right label {
  font-weight: 500;
  font-size: 14px;
}

footer .far-right input {
  background: white;
  padding: 10px;
  border: none;
  font-family: inherit;
  color: black;
  border-radius: 6px;
  margin-top: 0.5rem;
  width: 100%;
}

footer .input-div {
  position: relative;
  width: 100%;
}

footer .input-div button {
  position: absolute;
  right: 20px;
  top: 40%;
  background: none;
  outline: none;
  border: none;
  color: #3f4951;
}

footer .far-right p {
  font-weight: 400;
  font-size: 14px;
  margin-top: 4rem;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .how-content {
    grid-template-columns: 1fr;
    margin-top: 2rem;
    padding: 2rem 3rem;
  }

  .how-image {
    display: none;
  }

  .data-plans .prices {
    grid-template-columns: 1fr 1fr;
  }

  .how-text-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar ul {
    display: none;
  }

  .hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .partners {
    padding: 2rem 1rem;
  }

  .partners-grid {
    flex-wrap: wrap;
  }

  .services {
    padding: 2rem 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .how {
    padding: 2rem 1rem;
    grid-template-columns: 1fr;
  }

  .how-text-content {
    gap: 2rem;
  }

  .how-content {
    padding: 0;
  }

  .data-plans {
    padding: 2rem 1rem;
  }

  .faq {
    padding: 2rem 1rem;
  }

  footer {
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 1rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero img {
    display: none;
  }

  .hero {
    height: 60%;
    justify-content: center;
  }

  .partners-grid {
    gap: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .data-plans .prices {
    grid-template-columns: 1fr;
  }

  .faq-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .how-text-item {
    width: 100%;
  }
}
