@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@100;200;300;500;600;700&display=swap');

:root {
  --dark: #121837;
  --white: #ffffff;
  --shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  color: var(--dark);
  overflow: hidden auto;
  background: #EDF2FF;
  font-family: 'Exo 2', sans-serif;
}

a,
a:hover,
a:focus {
  color: var(--dark);
  text-decoration: none;
}

ul {
  list-style-type: none;
}

ul,
p,
h2 {
  margin-bottom: 0;
}

h2 {
  color: var(--dark);
}

img,
svg {
  width: 100%;
}

.bold {
  font-weight: 600 !important;
}

.bold-xl {
  font-weight: 700 !important;
}

.underline {
  text-decoration: underline !important;
}

/* ===============
      header
=============== */
#header {
  top: 0;
  z-index: 1056;
  position: sticky;
  background: transparent;
  transition: all 0.3s ease;
  color: var(--white);
}

#header.shadow {
  background: #487AFE;
}

.nav-wrap {
  height: 10rem;
  display: flex;
  border-radius: 2rem;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 200px;
}

.nav-list {
  width: 67%;
  display: flex;
  align-items: center;
  transition: all 0.5s;
}

.nav-list .nav-link {
  transition: all 0.3s;
  border-radius: 9rem;
}

.nav-list .nav-link a {
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--white);
  padding: 1rem 1.5rem;
  transition: all 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav-list .nav-link.active a,
.nav-list .nav-link:hover a {
  border-color: var(--white);
}

.nav-toggler {
  display: none;
  font-size: 3rem;
  cursor: pointer;
  position: relative;
}

.btn-one {
  display: flex;
  font-size: 2rem;
  font-weight: 700;
  padding: 6px 4rem;
  align-items: center;
  color: var(--dark);
  border-radius: 1rem;
  background: #FFFFFF;
}

.btn-one.black {
  background: #ffffff;
}

.btn-one.sm {
  font-size: 80%;
  border-width: 2px;
  background: #ffffff;
}

.btn-one:hover {
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.15);
}

/* responsive */
@media only screen and (min-width:1024px) {
  .btn-one.sm {
    margin-left: auto;
  }
}

@media only screen and (max-width:1023.9px) {
  .nav-list {
    top: 0;
    width: 32rem;
    left: -33rem;
    height: 100vh;
    z-index: 1096;
    padding: 2rem;
    text-align: center;
    position: absolute;
    flex-direction: column;
    background: #487AFE;
  }

  .nav-list.show {
    left: -0.01rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
  }

  .nav-list .nav-link {
    width: max-content;
    margin: 0 auto 2rem auto;
  }

  .nav-list .nav-link:not(:last-child) {
    margin-right: auto;
  }

  .nav-toggler {
    display: block;
    color: var(--white);
  }

  .hero-btn {
    padding-bottom: 5rem;
  }
}

@media only screen and (max-width:978.9px) {
  .nav-list {
    width: 27rem;
  }
}

@media only screen and (max-width:767.9px) {
  .container {
    padding: 0 2rem;
  }

  .nav-wrap {
    height: 7rem;
  }
}

@media only screen and (max-width:425.9px) {
  p {
    font-size: 1.5rem;
  }

  .nav-list {
    width: 25rem;
  }

  .btn-one,
  .btn-two {
    font-size: 1.5rem;
    padding: 7px 3rem;
  }
}

/* =====================
      hero section
====================== */
#hero {
  padding-top: 12rem;
  margin-top: -10rem;
  background: url('../img/bg.png') no-repeat bottom;
  background-size: cover;
}

#hero .row {
  min-height: 85vh;
  align-items: center;
}

#hero .hero-heading {
  font-weight: 300;
  line-height: 1.4;
  color: var(--white);
  font-size: calc(2.225rem + 2.4vw);
}

#hero .hero-heading>span {
  font-weight: 700;
}

#hero .hero-sub {
  font-weight: 300;
  font-size: calc(1.6rem + 0.6vw);
  color: var(--white);
}

/* Top Feature */
#topfeature {
  margin-top: -50px;
}

.topfeature_card {
  background-color: #487AFE;
  color: var(--white);
  box-shadow: 1px 4px 5px 0px rgb(18 70 207 / 54%);
  padding: 30px 20px 30px 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.topfeature_card > i {
  font-size: 4rem;
  margin-right: 20px;
}

/* section default */
.section-title {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  text-transform: capitalize;
  font-size: calc(2.275rem + 1.2vw);
}

.section-title~p {
  margin-bottom: 4rem;
  font-size: clamp(16px, 14px + 0.4vw, 24px);
}

.card {
  border: 0;
  overflow: hidden;
  margin-bottom: 2rem;
}

.card-lg {
  min-height: 35rem;
  padding: 4rem 3rem;
  text-align: center;
  justify-content: center;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 2px 13px 3rem 5px hsl(210deg 76.52% 60.03% / 15%);
}

.card-lg.sky {
  border-bottom: 12px solid #F76C82;
}

.card-lg.mist {
  border-bottom: 12px solid #9ECF4A;
}

.card-lg.yellow {
  border-bottom: 12px solid #51A8F6;
}

.card-lg .icon {
  max-width: 75%;
  margin: 0 auto 2rem;
}

.card-lg .title {
  font-weight: 700;
  line-height: 1.4;
  text-transform: capitalize;
  font-size: calc(2.25rem + 0.6vw);
}

.card-lg .title.sm {
  font-size: calc(1.65rem + 0.4vw);
}

/* Section Default Spacing */
#advertiser, #publisher {
  padding-top: 10rem;
}

#publisher {
  padding-bottom: 10rem;
}

.card-sm {
  padding: 0 2rem;
  min-height: 15rem;
  align-items: center;
  flex-direction: row;
  background: hsl(274, 73%, 62%);
}

.card-sm.dark {
  background: hsl(276, 81%, 41%);
}

.card-sm .card-icon {
  height: 8rem;
  display: flex;
  min-width: 8rem;
  border-radius: 50%;
  align-items: center;
  margin-right: 1.5rem;
  justify-content: center;
  background: hsla(0, 0%, 100%, 0.35);
}

.card-sm .card-icon p {
  font-size: 4rem;
  font-weight: 700;
  color: var(--dark);
}

.card-sm .card-icon>i {
  font-size: 4rem;
  color: var(--dark);
}

.card-sm .card-text {
  color: var(--dark);
}

.card-sm .card-title {
  font-weight: 700;
  margin-bottom: 0;
  font-size: 2.4rem;
}

.card-sm .card-sub {
  color: var(--dark);
}

/* publisher_card */
.publisher_card {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 2px 13px 3rem 5px hsl(210deg 76.52% 60.03% / 15%);
  padding: 20px;
  margin-bottom: 20px;
  font-size: 2rem;
  transition: 200ms all ease-in;
}

.publisher_card:hover {
  box-shadow: 2px 13px 3rem 6px hsl(210deg 76.52% 60.03% / 34%);
  cursor: pointer;
}

.publisher_card > img {
  width: 100px;
  margin-right: 20px;
}

/* =====================
    stats section
====================== */
#stats .bg {
  padding: 8rem 0 4rem;
  background: #487AFE;
  border-radius: 20px;
  color: var(--white);
}

.stat_cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

.stat_card {
  padding: 20px 10px;
}

.stat_card > h3 {
  font-weight: bold;
  font-size: 3rem;
}

/* footer section */

#footer {
  margin-top: 10rem;
  padding-top: 4rem;
  color: #fff;
  background: #16192C;
}

#footer a {
  color: #fff;
}

#footer .site-name {
  margin-left: 0;
}

#footer .site-name > img{
  width: 250px;
  margin-bottom: 30px;
}

.footer_content {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer_content > i {
  font-size: 3.5rem;
  margin-right: 20px;
}

.footer_section_heading {
  color: var(--white);
  margin-top: 40px;
}

#footer .link {
  font-weight: 500;
  color: rgb(221 229 245 / 42%);
}

#footer .footer-list {
  padding-left: 0;
}

#footer .footer-list li {
  width: max-content;
}

#footer .footer-list li:not(:last-child) {
  margin-bottom: 1.5rem;
}

#footer .footer-list li:hover {
  text-decoration: underline;
}

.footer_social {
  font-size: 4rem;
  color: rgb(221 229 245 / 42%);
}

/* responsive */
@media only screen and (max-width:424.9px) {
  #footer .link {
    font-size: 1.5rem;
  }

  #footer .copyright {
    font-size: 1.4rem;
  }
}

.copyright_footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright_footer > p {
  color: rgb(221 229 245 / 42%);
}

.footer_payment_logos > img {
  width: 100px;
  margin: 10px;
}

/* responsive */
@media only screen and (max-width:768.9px) {
  .copyright_footer {
    flex-direction: column;
    justify-content: center;
  }
  .footer_payment_logos > img {
    width: 75px;
  }
}