/* ----- Universal Styles ----- */

* {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 100px;
}

/* prevents fixed navbar from overlapping 
 content when nav anchor links are clicked */

:root {
    --yellow: #f2d752;
    --black: #242424;
    --white: #f2f2f2;
    --sofia: sofia-pro, sans-serif;
    --noto: noto-sans, sans-serif;
}

.section-title {
    font-family: var(--sofia);
    font-weight: 700;
    font-size: 44pt;
    color: var(--black);
    line-height: 1;
}

.main-btn {
    background: var(--yellow);
    color: var(--black);
    padding: 6px;
    border: none;
    font-size: 14pt;
    font-weight: 600;
    max-width: 230px;
    width: 100%;
    border: 5px solid var(--yellow);
    transition: 0.3s;
    font-family: var(--sofia);
    border-radius: 0.25rem;
    line-height: 1.5;
    cursor: pointer;
}

.main-btn::after {
    font-family: "boxicons";
    content: "\f17e";
    line-height: 0px !important;
    vertical-align: middle;
    padding-left: 10px;
    padding-bottom: 5px;
    transition: 0.3s ease-out;
}

.main-btn:hover::after {
    padding-left: 30px;
}

.img-responsive {
    width: 100%;
    height: auto;
}

img.mobile-img {
    display: none;
}

/* Nav link hover animation */

nav ul li a,
nav ul li a:after,
nav ul li a:before {
    transition: all .5s;
}

nav ul li a:hover {
    color: #fff;
}

nav .nav-link:hover {
    color: black !important;
}

.stroke ul li a,
.fill ul li a {
    position: relative;
}

.stroke ul li a:after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 0%;
    content: '.';
    color: transparent;
    background: #fff;
    height: 3px;
}

.stroke.yellow ul li a:after {
    background: #f2d752;
}

.sticky ul li a:after {
    background: #f2d752;
}

.stroke ul li a:hover:after {
    width: 80%;
}

/* Yellow Offset Highlight for Headings */

.highlight {
    display: inline-block;
    position: relative;
    text-decoration: none;
    color: inherit;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.18em;
    height: 0.5em;
    width: 102%;
    background: #f2d752;
    z-index: -1;
    transition: height .25s cubic-bezier(.6, 0, .4, 1);
}

.highlight:hover::after {
    height: .1em;
}

/* ----- Universal Styles End ----- */

/* ----- Header/Landing Section ----- */

header {
    height: 100vh;
}

div.header-img {
    display: block;
    position: relative;
    height: 0;
}

img.header-img {
    position: absolute;
    right: 0;
    transform: translateY(-300px);
    max-width: 480px;
    width: 100%;
}

.header-top {
    height: 50%;
    background: var(--yellow);
}

.header-top .text {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding-bottom: 20px;
}

.header-top h1 {
    font-family: var(--sofia);
    font-weight: 900;
    font-size: 58pt;
    color: white;
    margin: 0;
}

.header-top h2 {
    font-family: var(--sofia);
    font-weight: 900;
    font-size: 52pt;
    color: var(--black);
    padding-bottom: 14px;
}

.header-top h3 {
    font-family: var(--sofia);
    font-weight: 700;
    font-size: 16pt;
    color: var(--black);
    letter-spacing: 0.4pt;
}

.header-bottom {
    height: 50%;
    background: white;
}

.header-bottom .text {
    width: 50%;
    padding-top: 20px;
}

.header-bottom p {
    font-family: var(--sofia);
    font-weight: 400;
    font-size: 16pt;
    color: var(--black);
    padding-bottom: 20px;
}

/* ----- Header Styles End ----- */

/* ----- Data Section ----- */

.data {
    height: 100%;
    margin-bottom: 100px;
    align-items: center;
    align-content: center;
    justify-content: center;
    display: flex;
}

.data .right-col h1 {
    margin-bottom: 60px;
}

.data p {
    font-family: var(--noto);
    font-weight: 500;
    font-size: 14pt;
    text-align: left;
}

/* ----- Data Section End ----- */

/* ----- Services Section ----- */

.services {
    height: 100%;
    margin-bottom: 100px;
    align-items: center;
    align-content: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    max-width: 1000px;
}

.services h1 {
    margin-bottom: 60px;
}

.services p {
    font-family: var(--noto);
    font-weight: 500;
    font-size: 14pt;
}

.row.our-services {
    width: 100%;
    max-width: 900px;
    align-items: center;
    justify-content: center;
}

.icon {
    height: 160px;
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.icon img {
    max-width: 100px;
}

.our-services p {
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    font-family: var(--sofia);
    font-size: 14pt;
    font-weight: 400;
    line-height: 1;
}

/* ----- Clients Section ----- */

.clients {
    height: 100%;
    align-items: center;
    align-content: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.clients .row {
    display: flex;
    align-items: center;
}

#advertisers,
#publishers {
    margin-top: 100px;
}

.clients h1 {
    margin-bottom: 60px;
    text-align: center;
}

.clients h2 {
    font-family: var(--sofia);
    font-weight: 700;
    font-size: 18pt;
    text-align: center;
    max-width: 1000px;
}

.clients h3 {
    font-family: var(--sofia);
    font-weight: 700;
    font-size: 22pt;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.clients h4 {
    font-family: var(--sofia);
    font-weight: 700;
    font-size: 16pt;
    margin-bottom: 20px;
}

.clients p {
    font-family: var(--noto);
    font-size: 14pt;
    font-weight: 500;
}

.clients button {
    margin-top: 10px;
}

.clients img {
    max-width: 400px;
}

.clients-col-right {
    text-align: right;
}

img.line {
    transform: translateY(-3px);
}

/* ----- Clients 2 ----- */

.clients2 {
    background: var(--yellow);
    height: 100%;
    margin-bottom: 100px;
    padding: 30px 0;
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.clients2 .col {
    text-align: center;
}

.clients2-row {
    max-width: 800px;
    width: 100%;
    margin: auto;
}

.clients2 h1 {
    font-family: var(--sofia);
    font-weight: 600;
    font-size: 22pt;
    text-align: center;
    padding-bottom: 40px;
}

.clients2 p {
    line-height: 1;
}

.clients2 i {
    font-size: 30pt;
    margin-bottom: 20px;
}

/* ----- Clients Section End ----- */

/* ----- Technology ----- */

.tech {
    display: flex;
    height: 100%;
    margin-bottom: 100px;
    align-items: center;
    align-content: center;
    justify-content: center;
    flex-direction: column;
}

.tech .row {
    align-items: center;
}

.tech h1 {
    margin-bottom: 40px;
}

.tech p {
    padding: 10px 50px 10px 0;
    font-family: var(--noto);
    font-size: 14pt;
    font-weight: 500;
}

/* ----- Technology Section End ----- */

/* ----- Our Company Section ----- */

.company {
    display: flex;
    height: 100%;
    margin-bottom: 50px;
    align-items: center;
    align-content: center;
    justify-content: center;
    flex-direction: column;
}

.company .row {
    align-items: center;
}

.company h1 {
    margin-left: 50px;
    margin-bottom: 40px;
}

.company p {
    font-family: var(--noto);
    font-size: 14pt;
    font-weight: 500;
    padding: 10px 10px 10px 50px;
}

/* ----- Company Section End ----- */

/* ----- Contact Us ----- */

.connect {
    height: 600px;
}

.connect .row {
    align-items: center;
}

.connect h1 {
    font-family: var(--sofia);
    font-weight: 700;
    font-size: 30pt;
    color: var(--black);
    margin-bottom: 30px;
}

.connect p {
    font-family: var(--noto);
    font-size: 14pt;
    font-weight: 500;
}

.connect button {
    margin-top: 20px;
}

/* ----- Contact Section End ----- */