* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

*:focus {
  outline: none;
}

html {
  scroll-behavior: smooth;
}

html:root {
  --swiper-theme-color: #7b7b7b;
}

body {
  font-family: "Work Sans", sans-serif;
  margin: auto auto;
}

.ninety {
  width: 90%;
  margin: auto auto;
}

/* =======HEADER======= */

header {
  width: 100%;
  z-index: 9999;
  width: 100%;
  margin: auto auto;
}

.header {
  display: flex;
  background: #ffffff;
  height: 90px;
  z-index: 9999;
  padding: 0 4.5rem;
}

.sticky {
  position: fixed;
  top: 0;
  width: inherit;
}

.sticky + .content {
  padding-top: 102px;
}

.nav,
.logo {
  flex: 1;
  align-items: center;
}

.logo-text {
  color: #423ca5;
}

.logo {
  display: flex;
  text-decoration: none;
}

.nav {
  display: flex;
  justify-content: flex-end;
}

nav .nav-links {
  display: flex;
  align-items: center;
  list-style: none;
}

nav .nav-links li a {
  display: inline-block;
  text-decoration: none;
}

nav .openMenu {
  display: none;
  cursor: pointer;
  font-size: 2rem;
  margin: 20px;
}

nav .nav-links .closeMenu {
  display: none;
  cursor: pointer;
  font-size: 2rem;
}

.nav li {
  list-style-type: none;
  display: inline-block;
  padding-right: 1.5em;
}

.nav li::after {
  content: "";
  display: block;
  background-color: #f1df3f;
  width: 0%;
  height: 2px;
  transition: width 300ms;
}

.nav li:hover::after {
  width: 100%;
  transition: width 300ms;
}

.nav li a {
  text-decoration: none;
  color: #000000;
}

.nav .cta {
  text-decoration: none;
  background: #423ca5;
  color: #ffffff;
  border: none;
  cursor: pointer;
  padding: 1em;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 200ms;
}

.nav .cta:hover {
  background: #f1df3f;
  color: #423ca5;
  transform: scale(1.05);
  transition: transform 200ms;
}

/* =======HERO======= */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4.5rem auto;
  width: 90%;
}

.hero-text,
.hero-img {
  display: flex;
}

.hero-text {
  flex-direction: column;
  margin: auto auto;
}

.hero-heading {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #292566;
}

.hero-body,
.hero-heading {
  width: 80%;
}

.hero-body {
  font-size: 1.25rem;
  line-height: 36px;
  color: #000000;
}

.hero-img {
  justify-content: right;
}

/* =======SERVICES======= */

.services {
  width: 90%;
  margin: auto auto;
  padding-top: 100px;
}

.services-heading {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2em;
  color: #292566;
  text-align: center;
}

.service-subsection {
  margin-bottom: 10em;
  display: flex;
}

.subsection-text,
.subsection-img,
.subsection-img-alt,
.subsection-text-alt {
  display: flex;
  align-items: center;
  flex: 1;
}

.subsection-text,
.subsection-text-alt {
  justify-content: center;
  flex-direction: column;
}

.subsection-img {
  justify-content: right;
}

.subsection-img-alt {
  justify-content: left;
}

.subsection-heading {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 0.6em;
}

.subsection-body {
  font-size: 20px;
  font-weight: 300;
  line-height: 36px;
}

/* ======= SWIPER ======= */
.swiper {
  width: 90%;
  height: 340px;
  padding: 0 1rem;
}

div .swiper-slide {
  display: flex;
}

.swiper-slide {
  border-radius: 18px;
  font-weight: bold;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-pagination-bullet,
.swiper-pagination-bullet-active {
  padding: 0.6rem;
}

.swiper-pagination-bullet-active:root {
  --swiper-theme-color: #7b7b7b;
}

.swiper-button-next,
.swiper-button-prev {
  visibility: hidden;
}

/* ======= ABOUT ======= */
.about {
  height: 70vh;
  background: #423ca512;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-heading {
  color: #292566;
  text-align: center;
  padding-bottom: 2rem;
  font-size: 2rem;
  margin-top: 2.1rem;
}

.about-subsection {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-subsection-text {
  display: flex;
  flex-direction: column;
  justify-items: flex-start;
  align-items: center;
  width: 30%;
  height: 376px;
  padding: 2rem;
}

.about-subsection-body,
.about .about-subsection-heading {
  text-align: center;
  overflow-wrap: break-word;
}

.about-subsection i,
.swiper i {
  margin-bottom: 3rem;
  border-radius: 8px;
  padding: 1rem;
  font-size: 2rem;
  color: #423ca5;
  background: #423ca515;
}

.about-subsection-heading {
  font-size: 24px;
  height: 60px;
  font-weight: 500;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  color: #292566;
}

.about-subsection-body {
  font-weight: 300;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.about-mobile {
  display: none;
  width: 100%;
}

.nav .nav-links .about-mobile-link,
.footer .footer-col .about-mobile-link {
  display: none;
}

/* =======NEWSLETTER======= */

.newsletter {
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #423ca5;
}

.newsletter-content {
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto auto;
}

.newsletter-text,
.newsletter-input {
  display: flex;
  flex: 1;
}

.newsletter-input {
  justify-content: center;
}

.newsletter-text {
  flex-direction: column;
  text-align: left;
  color: #ffffff;
}

.newsletter-heading {
  font-size: 28px;
}

.newsletter-body {
  font-weight: 800;
  font-size: 40px;
}

.newsletter-input input {
  width: 360px;
  padding-bottom: 0.6rem;
  font-size: 16px;
  letter-spacing: 2px;
  color: #ffffff;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #ffffff;
  background: none;
  outline: none;
}

.newsletter-input input[type="text"] {
  -webkit-appearance: none;
}

.newsletter-input input::placeholder {
  color: #ffffff;
  letter-spacing: 2px;
}

.newsletter-input .buttonIn {
  display: flex;
  align-items: flex-end;
}

.newsletter-input button {
  font-size: 20px;
  font-weight: 600;
  padding: 0.8rem 3rem;
  border: 2px solid #ffffff;
  cursor: pointer;
  color: white;
  background: none;
}

.newsletter-input button:hover {
  background-color: #f1df3f;
  color: #423ca5;
  border: 2px solid #f1df3f;
  transition: background-color 0.4s ease 0s, border 0.4s ease 0s;
}

/* =======FOOTER======= */

.container {
  max-width: 90%;
  margin: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

ul {
  list-style: none;
}

.footer {
  background-color: #24262b;
  padding: 70px 0;
  z-index: 9999;
}

.footer-col {
  width: 25%;
  padding: 0 15px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 35px;
  font-weight: 500;
  color: #ffffff;
  text-transform: capitalize;
  position: relative;
}

.footer-col h4::before {
  content: "";
  position: absolute;
  background-color: #f1df3f;
  box-sizing: border-box;
  height: 2px;
  left: 0;
  bottom: -10px;
  width: 50px;
}

.footer-col > ul img {
  width: 200px;
}

.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}

.footer-col ul li a {
  text-transform: capitalize;
  color: #ffffff;
  text-decoration: none;
  color: #bbbbbb;
  display: block;
  font-size: 16px;
  font-weight: 300;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 8px;
}

.footer-col .social-links a {
  height: 40px;
  width: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 10px 10px 0;
  line-height: 40px;
  border-radius: 50%;
  display: inline-block;
  text-align: center;
  color: #ffffff;
  transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
  color: #24262b;
  background-color: #ffffff;
}

.reveal {
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: all 0.6s ease;
}

.reveal.active {
  transform: translateY(0px);
  opacity: 1;
}

/* ======= CONTACT FORM ======= */

.contact-form {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.contact-content {
  background-color: #fefefe;
  margin: 8% auto;
  padding: 1rem;
  border: 1px solid #888;
  width: 60%;
}

.contact-content .title {
  font-size: 2rem;
  display: block;
  padding: 4rem 4rem 2rem;
}

.contact-frm {
  display: flex;
  flex-direction: column;
  margin: auto auto;
  padding: 4rem;
  padding-top: 2rem;
}

.contact-frm input {
  flex: 1;
  padding: 1rem;
  background: rgb(66, 60, 165, 0.12);
  border: none;
  border-radius: 2px;
  font-family: "Work Sans";
  font-size: 1rem;
}

.contact-frm input:nth-child(1) {
  margin-right: 2rem;
}

.frm-input {
  display: flex;
  margin-bottom: 2rem;
  justify-content: space-between;
  align-items: center;
}

.contact-frm textarea {
  background: rgb(66, 60, 165, 0.12);
  padding: 1rem;
  border: none;
  border-radius: 4px;
  margin-bottom: 3rem;
  resize: none;
  font-family: "Work Sans";
  font-size: 1rem;
}

.contact-frm textarea::placeholder {
  font-size: 1rem;
  color: #423ca565;
}

.contact-frm input::placeholder {
  font-size: 1rem;
  color: #423ca565;
}

.contact-frm input[type="submit"] {
  background: #423ca5;
  color: #ffffff;
  border: none;
  cursor: pointer;
  width: 30%;
  margin: auto auto;
  padding: 1em;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  -webkit-appearance: none;
}

.contact-frm input[type="submit"]:hover {
  background: #f1df3f;
  color: #423ca5;
  transform: scale(1.05);
  transition: transform 200ms;
}

.closeForm {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.closeForm:hover,
.closeForm:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

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

  .hero-body,
  .hero-heading {
    width: 100%;
  }

  .hero-img img {
    margin-top: 1rem;
    max-width: 320px;
  }

  /* =======SERVICES======= */
  .subsection-img img,
  .subsection-img-alt img {
    width: 100%;
    max-width: 250px;
  }

  .subsection-heading {
    font-size: 1.6rem;
  }

  .subsection-body {
    font-size: 1rem;
  }

  /* ======= ABOUT ======= */
  .about-subsection-text {
    padding: 1rem;
    width: 70%;
  }

  /* =======NEWSLETTER======= */
  .newsletter-input {
    justify-content: center;
  }

  .newsletter-input input {
    width: 200px;
  }

  .newsletter-heading {
    font-size: 24px;
  }

  .newsletter-body {
    font-weight: 800;
    font-size: 32px;
  }

  /* ======= CONTACT-FORM ======= */
  .contact-content {
    width: 80%;
  }
}

@media (max-width: 813px) {
  /* ======= ABOUT ======= */
  .about,
  .nav .nav-links .about-link,
  .footer .footer-col .about-link {
    display: none;
  }

  .nav .nav-links .about-mobile-link,
  .footer .footer-col .about-mobile-link {
    display: block;
  }

  .about-mobile {
    height: 70vh;
    background: #423ca512;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .about-subsection-text {
    width: 60%;
  }

  /* ======= CONTACT-FORM ======= */
  .contact-content {
    width: 90%;
    margin: 15% auto;
  }

  .contact-frm {
    padding: 4rem 1rem;
  }

  .contact-content .title {
    padding: 4rem 1rem 0;
    font-size: 1.6rem;
  }

  .contact-frm input {
    width: 100%;
  }

  .frm-input {
    flex-direction: column;
  }

  .contact-frm input:nth-child(1) {
    margin-right: 0;
    margin-bottom: 2rem;
  }

  .contact-frm input[type="submit"] {
    width: 50%;
  }
}

@media (max-width: 768px) {
  /* =======HEADER======= */
  .header {
    padding: 0 2.35rem;
  }

  .logo-text {
    color: #423ca5;
    font-size: 0.9rem;
  }

  /* ======= HAMBUREGER ======= */
  nav .nav-links {
    height: 100vh;
    top: -150%;
    right: 0;
    left: 0;
    z-index: 10;
    background: rgb(255, 255, 255);
    position: fixed;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: top 0.5s ease 0s;
    display: hidden;
  }

  .nav li {
    padding-right: 0;
  }

  nav .nav-links li a {
    padding: 15px;
    font-size: 24px;
    margin-bottom: 2rem;
    text-transform: uppercase;
  }

  .nav li::after {
    display: none;
  }

  nav .nav-links .closeMenu {
    display: block;
    position: absolute;
    color: #423ca5;
    top: 20px;
    right: 20px;
    padding: 0.4rem 3rem;
  }

  nav .openMenu {
    display: block;
    color: #423ca5;
  }

  nav .mainMenu li a:hover {
    background: none;
    color: rgb(255, 123, 0);
  }

  .nav .cta {
    padding: 1.6rem;
    font-size: 20px;
  }

  /* =======HERO======= */
  .hero {
    flex-direction: column;
    margin: 4rem auto;
  }

  .hero-text {
    flex-direction: column;
  }

  .hero-body,
  .hero-heading {
    width: 100%;
  }

  .hero-heading {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #292566;
  }

  .hero-body {
    font-size: 1.25rem;
    line-height: 36px;
    margin-top: 1rem;
    color: #000000;
    text-align: center;
  }

  .hero-img img {
    width: 100%;
    margin-top: 2rem;
    max-width: 300px;
  }

  /* =======SERVICES======= */
  .services {
    padding-top: 50px;
  }

  .services-heading {
    font-size: 2.5rem;
    margin: 3rem 0;
  }

  .service-subsection {
    flex-direction: column;
    align-items: center;
    margin-bottom: 5rem;
  }

  .subsection-text {
    justify-content: left;
    flex-direction: column;
  }

  .subsection-img img,
  .subsection-img-alt img {
    width: 100%;
    max-width: 250px;
  }

  .subsection-heading {
    font-size: 1.6rem;
    line-height: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.6em;
  }

  .subsection-body {
    font-size: 1rem;
    font-weight: 300;
    line-height: 36px;
    margin-bottom: 1.5rem;
  }

  .beta-subsection {
    flex-direction: column-reverse;
  }

  /* =======NEWSLETTER======= */
  .newsletter-content {
    flex-direction: column;
  }

  .newsletter-text {
    text-align: center;
    margin-bottom: 3rem;
  }

  .newsletter-input input {
    text-align: center;
  }

  .newsletter-input input::placeholder {
    text-align: center;
  }

  .newsletter-input button {
    display: none;
  }

  /* ======= FOOTER ======= */
  .footer-col {
    width: 50%;
    margin-bottom: 30px;
  }
}

@media (max-width: 574px) {
  /* ======= HEADER ======= */
  .header {
    padding: 0 1.22rem;
  }

  /* ======= HAMBURGER ======= */
  nav .nav-links .closeMenu {
    padding: 0.4rem 1.5rem;
  }

  .nav li::after {
    display: none;
  }

  /* ======= HERO ======= */
  .hero-body,
  .hero-heading {
    width: 100%;
  }

  /* ======= ABOUT ======= */
  .about-subsection-text {
    width: 90%;
  }

  /* ======= NEWSLETTER ======= */
  .newsletter-input input {
    width: 240px;
    height: 40px;
  }

  .newsletter-input button {
    display: none;
  }

  /* ======= FOOTER ======= */
  .footer-col {
    width: 100%;
  }

  /* ======= CONTACT-FORM ======= */
  .contact-content {
    margin: 20% auto;
  }
}
