@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');

:root {
  --primary-bg: #fdfdfd;
  --primary-gray: #D4D4D4;
  --primary-red: #481927;
  --light-gray: #7b7b93;
  --dark-gray: #54595F;
  --tier: #7A7A7A;
  --active: #ff3266;
  --footer-text: #424242;

  --copyright-bg: #f7f9ff;

  --green: #61CE70;
  --orange: #FF7034;
  --neon-green: #00EEA4;
}

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

body {
  background-color: var(--primary-gray);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

.hide {
  display: none !important;
}

a {
  text-decoration: none;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  cursor: pointer;
}

a:hover {
  text-decoration: none !important;
}

ul {
  list-style-type: none;
}

h1,
h2,
h3,
.sub-btn a {
  font-size: 30px !important;
}

h1 {
  line-height: 38px;
  letter-spacing: .5px;
  color: var(--primary-red);
  padding: 0 0 2% 0;
}

h2 {
  line-height: 38px;
  letter-spacing: 1px;
  font-weight: 700;
  text-align: center;
  color: var(--primary-bg);
}

h3,
.sub-btn a {
  font-weight: 400;
  color: #7A7A7A;
  text-transform: uppercase;
}

h4 {
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 23px;
  line-height: 1.15;
}

h5 {
  text-transform: uppercase;
  line-height: 15px;
  letter-spacing: 2.5px;
  font-weight: 700;
  font-size: 10px;
  text-align: center;
  color: #7A7A7A;
}

h6 {
  text-transform: uppercase;
  line-height: 15px;
  font-weight: 700;
  font-size: 16px;
  color: #7A7A7A;
  padding: 2% 0;
}

p {
  font-size: 15px;
}

span p {
  /*prices in sub cards*/
  text-align: center;
  font-family: "Ubuntu", Sans-serif;
  font-size: 50px;
  font-weight: 700;
  line-height: unset;
  margin: 0 0 .5% 0;
  color: #7A7A7A;
}

.center-text {
  text-align: center;
  margin: auto;
}

.justify-text {
  text-align: justify;
}

.add-spacing {
  padding: 5%;
}

.vertical-middle {
  padding-top: 50%;
}

section {
  padding: 5% 0 3% 0;
}

section article h1,
section article h2 {
  margin-bottom: 2%;
  line-height: 1.15;
}

img {
  max-width: 100%;
  box-shadow: 0 0 36px 0 rgba(18, 18, 22, 0.3);
}

.img-cover {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

.img-contain {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

.btn-s {
  border-style: solid;
  border-width: 1px;
  border-radius: 0 0 0 0;
  text-align: center;
  padding: .45rem 1.8rem;
  transition: all 0.3s;
  height: fit-content;
  margin-left: 15px;
}

.btn-m {
  color: var(--primary-gray);
  background-color: var(--primary-red);
}

.btn-m-outlined {
  background-color: transparent;
  color: var(--primary-red);
  padding: 5% 7% !important;
}

.btn-m,
.btn-m-outlined,
.btn-l {
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: var(--primary-red);
  border-radius: 0;
  font-size: 15px;
  line-height: 1;
  padding: 1% 2%;
  margin: 0 1%;
  text-align: center;
}

.btn-l {
  color: var(--primary-red);
  border-radius: 0;
  width: 30%;
}

.btn-m:hover,
.btn-l:hover {
  background-color: var(--primary-red);
  color: var(--primary-gray);
}

.btn-m i.fas.fa-arrow-right,
.btn-m-outlined i.fas.fa-arrow-right,
.btn-l i.fas.fa-arrow-right {
  color: var(--primary-gray);
  opacity: 0;
}

.btn-m:hover i.fas.fa-arrow-right,
.btn-m-outlined:hover i.fas.fa-arrow-right,
.btn-l:hover i.fas.fa-arrow-right {
  transform: translateX(10px);
  opacity: 1;
  transition: all .2s ease-in-out;
}

.btn-m-outlined:hover i.fas.fa-arrow-right {
  color: var(--primary-red);
}

.rad-grad-bg {
  background-image: radial-gradient(at center left, #481927 60%, #f2295b 100%);
}

.linear-grad-bg {
  background-image: linear-gradient(90deg, #481729 0%, #965252 100%);
  padding: 7% 0;
}

.red-bg {
  background-color: var(--primary-red);
  margin-top: 7.5%;
}

.white-bg {
  background-color: #fdfdfd;
}

.on-red-bg,
.on-red-bg .checklist {
  color: var(--primary-gray) !important;
}

.gray-text {
  line-height: 28px;
  color: #7b7b93;
}

/* ---------------------- Width control ------------------- */
article,
nav,
.footer-grid,
.container {
  margin: 0 auto;
}

article,
nav,
.footer-grid,
footer>.container {
  max-width: 1440px;
}

/* ---------------------- Nav bar  ----------------------- */
#logo {
  width: 100%;
  position: relative;
  left: -20%;
}

#logo img {
  max-width: 85%;
  box-shadow: none !important;
}

nav {
  padding: .9rem 0;
  z-index: 1;
}

nav,
nav ul {
  display: flex;
}

nav ul {
  grid-column-start: 3;
  grid-column-end: 5;
  margin-left: 30%;
  padding-left: 0;
}

nav ul li {
  padding: .75rem 1.4rem 0 0;
}

nav ul li a {
  color: #4d4d4d;
  font-size: 15px;
}

nav ul li a::before {
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  display: block;
  height: 2px;
  content: '';
  position: relative;
  left: 0;
  top: 27px;
  width: 100%;
  background-color: var(--active);
  transform-origin: right center;
  transform: scale(0, 1);
  transition: transform .25s cubic-bezier(.37, .31, .2, .85);
}

nav ul li a:hover {
  color: var(--primary-red) !important;
}

nav ul li a:hover::before {
  transform: scale(1, 1);
  transform-origin: left center;
}

.btn-wrapper {
  padding: 5px 0;
  display: flex;
}

.signup-btn {
  border-color: var(--orange);
  background-color: var(--orange);
  color: #fff;
  margin-left: 0;
}

.signup-btn:hover {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  color: #fff !important;
}

.login-btn {
  border-color: var(--primary-red);
  color: var(--primary-red);
}

.login-btn:hover {
  color: #fff !important;
  background-color: var(--primary-red);
}

.main-menu>.menu-item-with-dropdown:hover .dropdown-menu,
.main-menu>.menu-item-with-dropdown:hover .dropdown-menu-2 {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  top: 8%;
}

.main-menu>.menu-item-with-dropdown>.dropdown-menu {
  display: block;
  position: absolute;
  margin-top: 10px;
  background: #fff;
  padding: 20px 25px 20px 30px;
  border-radius: 5px;
  list-style: none;
  text-align: left;
  max-width: 200px;
  left: 15%;
  top: 10%;
  -webkit-box-shadow: 2px 2px 20px rgb(0 0 0 / 10%);
  box-shadow: 2px 2px 20px rgb(0 0 0 / 10%);
  opacity: 0;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  pointer-events: none;
  font-size: 14px;
  z-index: 999;
}

.dropdown-menu-2 {
  display: block;
  position: absolute;
  margin-top: 10px;
  background: #fff;
  padding: 20px 25px 20px 30px;
  border-radius: 5px;
  list-style: none;
  text-align: left;
  max-width: 200px;
  left: 40%;
  top: 10%;
  -webkit-box-shadow: 2px 2px 20px rgb(0 0 0 / 10%);
  box-shadow: 2px 2px 20px rgb(0 0 0 / 10%);
  opacity: 0;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  pointer-events: none;
  font-size: 14px;
  z-index: 999;
}

.dropdown-menu::before,
.dropdown-menu-2::before {
  background-color: #FFF;
  width: 10px;
  height: 10px;
  position: absolute;
  top: -4px;
  left: 30px;
  display: block;
  content: '';
  transform: rotate(45deg);
}

.dropdown-menu li,
.dropdown-menu-2 li {
  padding: 0;
  line-height: 26px;
}

.dropdown-menu li a,
.dropdown-menu-2 li a {
  display: block;
  white-space: unset !important;
}

.dropdown-menu-2 li a {
  padding: unset;
}

.dropdown-menu li a::before,
.dropdown-menu-2 li a::before {
  content: '\f061';
  display: block;
  position: relative;
  top: 0;
  left: -15px;
  font-size: 12px;
  margin-right: 20px;
  font-family: FontAwesome;
  color: var(--active);
  opacity: 0;
}

.dropdown-menu li a:hover,
.dropdown-menu-2 li a:hover {
  transform: translateX(10px);
  color: var(--primary-red) !important;
  background-color: #fff;
}

.dropdown-menu li a:hover::before,
.dropdown-menu-2 li a:hover::before {
  opacity: 1;
  background-color: transparent;
}

/* ---------------------- Footer  ---------------------- */
footer {
  background-color: var(--primary-gray);
}

footer,
footer a {
  color: var(--footer-text);
}

footer h4:hover {
  cursor: pointer;
  color: #000;
}

footer div {
  margin: 0 1.25rem 0 0;
}

.footer-divider {
  padding: 20px 15px 70px 15px;
}

.footer-divider span {
  display: block;
  border-top: 1px solid #54595F;
}

footer .container {
  padding: 50px 0;
}

.logo {
  background-image: url(../servista-logo-marsala.png);
  margin-bottom: 30px;
  position: relative;
  width: 200px;
  height: 45px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: all .3s;
  top: 0;
  left: 5%;
}

footer .logo {
  top: 0;
  left: 0%;
}

.apple {
  background-image: url(../apple_store_badge_black.png);
}

.google {
  background-image: url(../google_store_badge_black.png);
}

.apple,
.google {
  width: 12rem;
  height: 3.5rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: all .3s;
}

.red-bg .apple,
.red-bg .google {
  margin: 5% auto;
}

.footer-badge {
  margin-bottom: 10px;
}

.footer-badge:hover {
  transform: scale(0.9);
}

.logo:hover,
footer div div a i:hover {
  transform: scale(1.1);
  color: #FFF;
}

footer div div a i {
  color: var(--primary-red);
  font-size: 1.4rem;
  margin: 22px;
  transition: all .3s;
}

footer ul {
  margin: 20px 0 0 0;
  padding-left: 0;
}

footer ul li a {
  display: block;
  position: relative;
  left: 15px;
  margin-bottom: 5px;
}

footer ul li a,
.copyright {
  font-family: Helvetica, sans-serif;
  font-size: 16px;
  line-height: 26px;
}

footer ul li a:hover {
  color: var(--active) !important;
  transform: translateX(5px);
}

footer ul li a::before {
  content: '\f061';
  display: inline-block;
  position: absolute;
  left: -15px;
  font-size: 12px;
  margin-right: 25px;
  font-family: FontAwesome;
  color: var(--active);
}

.latest-articles h4,
.latest-articles h4:hover {
  color: var(--primary-red);
  width: 50%;
}


.latest-articles ul li a::before {
  content: '';
}

.latest-articles ul li span {
  font-size: 13px;
  color: #000;
}

.latest-articles ul li a {
  left: 0;
  margin: 10px 0 0 0;
}

.latest-articles ul li a::before {
  content: '\f061';
  display: inline-block;
  position: absolute;
  left: -15px;
  font-size: 12px;
  margin-right: 20px;
  font-family: FontAwesome;
  color: var(--active);
  opacity: 0;
}

.latest-articles ul li a:hover::before {
  opacity: 1;
}

.copyright {
  padding: 20px 10px;
  margin: 0 !important;
  text-align: center;
  background-color: var(--copyright-bg);
  color: var(--light-gray);
}

@media (min-width: 1920px) {
  p {
    font-size: 18px !important;
  }

  footer .container {
    margin: auto !important;
  }

  /* 
  .span-4-col {
    grid-column-start: 3 !important;
    grid-column-end: 5 !important;
  } */

  /* ---------------------- Home ---------------------- */

  .hero>div {
    width: 113vw !important;
    height: 160px !important;
    left: -25% !important;
  }

  .home article>p,
  .home article>h1 {
    width: 100%;
  }

  /* ---------------------- Industries ---------------------- */
  .industry-cards div div p {
    font-size: 16px !important;
    line-height: 1.8 !important;
  }

  .industries-phone-mockup {
    width: 450px !important;
    height: 750px !important;
  }

  .industries>.red-bg>.span-middle>.row {
    padding: 0 25% !important;
  }

  /* ---------------------- Prices & Subscribe ---------------------- */

  .promotion-banner {
    grid-column-start: 2 !important;
    grid-column-end: 6 !important;
  }

  .sub-card {
    height: 470px !important;
  }

  span p {
    font-size: 50px !important;
  }
}

@media (max-width: 1440px) {

  nav ul,
  .subscribe-nav ul {
    margin-left: 5%;
  }

  .main-menu>.menu-item-with-dropdown>.dropdown-menu {
    left: 27%;
  }

  .btn-s {
    margin-left: none !important;
  }

  .login-btn {
    margin-left: 2.5%;
  }

  .sub-card {
    height: 470px;
  }
}

@media (min-width: 1025px) {
  .mobile-menu {
    display: none;
  }
}

@media (max-width: 1024px) {

  nav ul,
  .subscribe-nav ul {
    margin-left: 0 !important;
  }

  h1,
  h2 {
    width: 75%;
    margin: 2% 0;
  }

  span p {
    font-size: 42px;
  }

  img {
    max-width: 47vw;
    margin-top: 5%;
  }

  /* ---------------------- Nav bar  ----------------------- */
  #logo {
    left: 0;
  }

  #logo img {
    width: 100%;
  }

  .main-menu,
  nav>.btn-wrapper {
    display: none;
  }

  /* ---------------- Menu -------------------------------- */

  .logo {
    top: -30%;
    left: -35%;
  }

  #menuToggle {
    display: block;
    position: absolute;
    right: 0;
    margin: 2% 5% 0 0;
    background-color: var(--primary-red);
    color: var(--primary-bg);
    padding: 1.25% 1.75%;
    border-radius: 50%;
  }

  #menuToggle i {
    font-size: 25px;
  }

  .mobile-menu-items {
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100vw;
    height: 100vh;
    background-color: var(--primary-gray);
    color: var(--primary-red);
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 15% 0;
    align-items: center;
    text-align: center;
  }

  .mobile-menu-items li a {
    color: var(--primary-red);
    text-align: center;
    font-size: 24px;
  }

  .dropdown-mobile {
    display: flex;
    flex-direction: column;
    padding: 3%;
    border-radius: 1%;
  }

  .dropdown-mobile li {
    text-align: left !important;
  }

  .dropdown-mobile li a {
    text-align: left;
    color: #000;
    font-size: 20px;
  }

  #closeMenu {
    z-index: 99999;
    position: fixed;
    right: 10%;
    top: 3%;
    font-size: 25px;
    margin: 2% 5% 0 0;
    background-color: var(--primary-red);
    color: var(--primary-bg);
    padding: .3% 1.5%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }

  .top-section {
    text-align: center;
  }

}

@media (max-width: 768px) {

  .logo {
    top: -11%;
    left: -29%;
  }

  #logo {
    max-width: 85%;
  }

  #logo img {
    width: 75%;
  }

  #menuToggle,
  #closeMenu {
    margin: 0 2% 0 0;
  }

  #closeMenu {
    right: 1.5%;
  }

  section {
    padding: 5% 0 10% 0;
  }

  select,
  input {
    height: 7vw !important;
  }

  h1,
  h2 {
    font-size: 26px;
    line-height: 1.5 !important;
    width: unset;
  }

  p {
    font-size: 18px;
  }

  img {
    max-width: 75vw;
  }

  .btn-s,
  .btn-m {
    font-size: 16px;
  }

  .img {
    align-content: center;
    justify-content: center;
    margin: 0 auto
  }

  .btn-m i.fas.fa-arrow-right,
  .btn-m-outlined i.fas.fa-arrow-right,
  .btn-l i.fas.fa-arrow-right {
    opacity: 1;
    margin-left: 3px;
  }

  .btn-m-outlined i.fas.fa-arrow-right {
    color: var(--primary-red);
  }

  .linear-grad-bg {
    margin: 5% 0;
  }

  .add-spacing {
    text-align: center;
    align-content: center;
    justify-content: center;
    margin: auto;
  }

  /* -------------------- Features ---------------------------*/
  .features section article .span-2-col-tablet ul {
    margin-left: 10%;
  }

  .latest-articles {
    display: none;
  }

  .red-bg {
    margin-top: 0;
  }

  footer div {
    margin: .75rem;
  }

  footer .container {
    padding: 30px 0 10px 0;
  }
}

@media (max-width: 535px) {
  .logo {
    top: -6%;
    left: -24%;
  }

  #closeMenu {
    right: 3%;
    top: 3%;
    padding: .7% 2.7%;
  }

  #logo {
    width: fit-content;
  }

  #logo img {
    width: 55% !important;
    margin-left: 0;
  }

  #menuToggle {
    margin: 3% 5% 0 0;
    padding: 1.75% 2.5%;
  }

  p {
    font-size: 18px;
  }

  h1,
  h2 {
    width: unset;
  }

  .btn-m,
  .btn-l,
  .details-link {
    font-size: 18px;
  }

  .btn-l {
    width: 75%;
    padding: 3% 2%;
  }

  .btn-m {
    padding: 4% 7%;
  }

  select,
  input {
    height: 10vw !important;
  }
}

@media (max-width: 375px) {
  #closeMenu {
    top: 3%;
    right: 7.5%;
    padding: .75% 3%;
  }
}