body {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 2.2rem;
  background-color: #FAFAFA;
}

a {
  color: #5066DC;
  text-decoration: none;
  font-weight: 550;
  transition: text-decoration 0.3s ease;
}

a:hover {
  color: #5066DC;
  text-decoration: underline; /* Add underline on hover */
}

a:active {
  color: #3a4db7; /* Darker shade for active state */
}

a:visited {
  color: #5066DC; /* Keep visited links consistent with the brand color */
}

.button.button-primary {
  background-color: #5066DC;
  border: none;
  border-radius: 2.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  height: auto;
  line-height: normal;
  padding: 1.5rem 5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
  text-transform: none;
}

.button.button-primary:hover {
  background-color: #5066DC;
  transform: translateY(-2px);
  filter: brightness(1.2);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

/* Header
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.header {
  background: linear-gradient(135deg,#3a4db7, #5066DC, #A1DBED);
}

.rounded-top {
  height: 1.8rem;
  background-color: #FAFAFA;
  border-radius: 1.8rem 1.8rem 0 0;
}


#main-nav {
  padding-top: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#nav ul {
  display: block;
  padding: 0;
  margin: 0;
  list-style-type: none;
  list-style-position: outside;
  text-align: center;
}

#main-nav li {
  padding: 1rem 1.5rem;
  margin: 0;
}

.header li a {
  list-style-position: outside;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.header li a:hover {
  list-style-position: outside;
  text-decoration: underline;
}

.header .fa {
  display: block;
  font-size: 3rem;
  position: absolute;
  top: 2.6rem;
  right: 1rem;
  margin: 1.5rem;
  color: #fff;
  cursor: pointer;
}

.header .logo {
  width: 18rem;
  height: auto;
  shape-rendering: crisp-edges;
}

.header {
  flex-direction: column;
}

#nav {
  display: none;
}

@media(min-width: 768px) {  
  #nav {
    display: block!important;
  }

  .header .fa {
    display: none;
  }

  #main-nav {
    flex-direction: row;
  }

  #nav ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style-type: none;
    list-style-position: outside;
    flex-wrap: none;
    text-align: center;
  }
}

.hero {
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 5rem;
}

.hero h1 {
  text-align: center;
  font-weight: 750;
  line-height: 1.1;
  color: #fff;
  display: inline-block;
  letter-spacing: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Add shadow for better contrast */

  font-size: 4rem;
  max-width: 40rem;
}

@media(min-width: 768px) {
  .hero {
    margin-bottom: 7rem;
  }

  .hero h1 {
    font-size: 6rem;
    max-width: 55rem;
  }

  .header .logo {
    width: 24rem;
  }

  .header .fa {
    top: 3rem;
  }
}

/* Products
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.section.product-landoflivia {
  padding-top: 0rem;
  padding-bottom: 10rem;
}

.row.accolades {
  padding-bottom: 2rem;
  text-align: center;
}

.accolade-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: top;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media(min-width: 768px) {
  .section.product-landoflivia {
    padding-top: 2rem;
  }
  .row.accolades {
    padding-bottom: 4rem;
  }

  .accolade-item {
    font-size: 1.8rem;
  }
}

.accolade-item .icon {
  height: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.2rem;
}

.accolade-item .description {
  line-height: 1.4;
  max-width: 30rem;
}

.accolade-item.downloads .icon {
  color: #0073e6;
  font-size: 3.1rem; 
  padding-top: 0.1rem;
}

.accolade-item.applevis .icon img {
  
  padding-bottom: 0.3rem;
}
.accolade-item.applevis .description {
  font-style: italic;
  color: #333;
  font-weight: normal;
}

.accolade-item .accolade-logo {
  height: 100%;
}

.star-rating {
  font-size: 2.6rem;
  letter-spacing: -0.15rem;
}

.star-rating .star {
  color: #ff9500;/*var(--accent-text);*/
}

.star-rating .star.half {
  position: relative;
  display: inline-block;
  color: #ccc;
}

.star-rating .star.half::after {
  content: "★";
  position: absolute;
  left: 0;
  width: 50%;
  overflow: hidden;
  color: #ff9500; /* Gold color for the filled half */
}

.product-landoflivia .row.product {
  display: flex;
  flex-direction: column; /* Stack columns by default */
  overflow: hidden; /* Clearfix for floated children */
}

.product-landoflivia .left-column,
.product-landoflivia .right-column {
  width: 100%; /* Full width for both columns */
  text-align: center; /* Center-align content */
}

.product-landoflivia .left-column {
  text-align: left; /* Override for left column */
}

.product-landoflivia .icon-and-title {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  flex-direction: column;
}

/* Larger Screens (Desktop Styles) */
@media (min-width: 1000px) {
  .product-landoflivia .row.product {
    flex-direction: row; /* Side-by-side layout for larger screens */
  }

  .product-landoflivia .left-column {
    flex: 1; /* Allow the left column to take up the remaining space */
    text-align: left;
    margin-right: 1rem; /* Add gap between columns */
  }

  .product-landoflivia .right-column {
    flex: 0 0 30rem; /* Fixed width of 30rem */
    text-align: right;
  }

  .product-landoflivia .icon-and-title {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }
}

.product-landoflivia .icon-and-title {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  flex-direction: column;
}

@media (min-width: 768px) {
  .product-landoflivia .icon-and-title {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }
}

.product-landoflivia .product-icon {
  width: 8.5rem;
  margin-right: 2rem;
}

.product-landoflivia .title-container h2 {
  font-size: 3.6rem;
  margin: 0;
}

.product-landoflivia .title-container .subtitle {
  font-size: 2.4rem;
  margin: 0.5rem 0 0;
}

.product-landoflivia p {
  font-size: 2.18rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.product-landoflivia .right-column {
  text-align: center;
}

.centered-cta {
  text-align: center; 
  margin-top: 4rem;
}

.centered-cta .button.button-primary {
  margin: 0 auto;
  min-width: 40%;
}

.screenshot-container {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.screenshot {
  grid-area: 1 / 1; 
  width: 29rem;
  height: auto;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.screenshot.active {
  opacity: 1;
  z-index: 1;
}

.accessibility-tags ul {
  list-style: none; 
  padding: 0;
  margin: 1.5rem 0;
  display: flex; 
  gap: 10px; 
  justify-content: center;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .accessibility-tags ul {
    justify-content: flex-start;
  }
}

.accessibility-tags .tag {
  background-color: #eaeaea;
  color: #333;
  font-size: 1.2rem;
  padding: 5px 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.5;
}

/* Team
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.team {
  background: #5066DC;
  border-radius: 0 0 1.8rem 1.8rem;
  color: #FAFAFA;
  padding: 10rem 0rem;
}

.team h2, .company h2 {
  font-weight: 700;
  font-size: 4rem;
  color: #FAFAFA;
  letter-spacing: 0.2rem;
  margin: 0 auto 3rem auto; /* Centers the h2 horizontally */
  position: relative;
  display: block; /* Ensures the element behaves like a block-level element */
  width: fit-content; /* Shrinks the width to fit the content */
}

.team h2::after, .company h2::after {
  content: ""; 
  display: block;
  width: 80%;
  height: 0.4rem;
  background: #A1DBED;
  margin: 1rem auto 0;
  border-radius: 0.2rem;
}

.team .headshot {
  text-align: center;
  margin-bottom: 2rem;
}

.team .headshot img {
  width: 200px;
  height: auto;
  border-radius: 50%;
  border: 5px solid #FAFAFA;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.team .headshot img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.team h3 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.team p {
  font-size: 1.6rem;
  text-align: center;
  margin-top: 0.5rem;
}

.team a {
  color: #FAFAFA;
}

/* Connect
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.connect {
  padding: 10rem 0rem;
  text-align: center;
}
 
.connect .row {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.connect .right {
  text-align: center;
}

@media(min-width: 1000px) {
  .connect .row {
    flex-direction: row;
  }

  .connect .left {
    text-align: left;
  }

  .connect .right {
    margin-left: auto;
  }
}

.connect h2 {
  color: #5066DC;
  font-weight: 700;
  font-size: 6rem;
  margin-bottom: 1rem;
}

.connect .socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.connect .socials img {
  width: auto;
  height: 6rem;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.connect .socials img.x {
  height: 4rem;
}

.connect .socials img.fb {
  height: 4.6rem;
}

.connect .socials img:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.connect .button-primary {
  width: 36rem;
}

/* Company
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.company {
  background: #5066DC;
  border-radius: 1.8rem;
  color: #FAFAFA;
  padding: 10rem 0rem;
}

.company h3 {
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.05rem;
  text-align: center;
}

/* Footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.footer {
  padding: 6rem 0rem;
  color: #5066DC;
}

.footer .prompt {
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 5rem;
}

.footer .prompt p {
  margin-bottom: 0rem;
}

.prompt i {
  font-size: 2.8rem;
  color: #5066DC;
}

.prompt .headline {
  font-weight: 700;
  color: #5066DC;
}

.prompt .cta {
  font-size: 0.8em;
}

.company-details p {
  margin-bottom: 0rem;
  color: black;
}

.footer .logo-container {
  min-height: 8rem;
}

.footer .logo {
  width: 20rem;
  shape-rendering: crisp-edges;
  position: absolute;
  bottom: 0;
  right: 2rem;
}

.footer .company-details {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}