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

body {
    font-family: sans-serif;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

.container {
    padding: 0 15px;
    margin: auto;
}

@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

/* .mix {
    display: none;
} */

.navbar {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 10;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 991px) {
    .navbar .container {
        flex-wrap: wrap;
    }
}

.navbar .logo {
    color: #fff;
    font-size: 25px;
    font-weight: bold;
}

.navbar button {
    font-size: 25px;
    color: #fff;
}

@media (min-width: 992px) {
    .navbar button {
        display: none;
    }
}

.navbar ul {
    display: flex;
}

@media (max-width: 991px) {
    .navbar ul {
        padding: 20px;
        width: 100%;
        flex-direction: column;
        display: none;
    }
}

.navbar ul li {
    margin-left: 20px;
}

@media (max-width: 991px) {
    .navbar ul li {
        margin: 0;
    }

    .navbar ul li:not(:last-child) {
        margin-bottom: 20px;
    }
}

.navbar ul li a {
    font-size: 17px;
    color: #ddd;
}

.navbar ul li a.active,
.navbar ul li a:hover {
    color: #fff;
}

.landing {
    background-image: url('../img/bg-landing.jpg');
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.landing h1 {
    font-size: 50px;
    line-height: 1.6;
    margin-bottom: 20px;
}

@media (max-width: 575px) {
    .landing h1 {
        font-size: 30px;
    }
}

.landing p {
    font-size: 17px;
}

.landing h1,
.landing p {
    color: #fff;
}

main>section {
    padding: 50px 0;
}

main>section>h2 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.about .row {
    display: flex;
}

@media (max-width: 991px) {
    .about .row {
        flex-wrap: wrap;
    }
}

.about-my {
    width: 300px;
}

@media (max-width: 991px) {
    .about-my {
        width: 100%;
        margin-bottom: 25px;
    }
}

.about-my h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.about-my p {
    line-height: 1.6;
}

.about-my p span {
    color: #000;
    font-weight: bold;
}

.about-my p:first-of-type {
    color: #222;
}

.about-my p:last-of-type {
    margin: 20px 0;
    color: #888;
    font-size: 14px;
}

.about-my a {
    color: #222;
    font-size: 14px;
}

.about-articles {
    width: calc(100% - 300px);
    display: flex;
}

@media (max-width: 991px) {
    .about-articles {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .about-articles {
        flex-direction: column;
    }
}

.about-articles article {
    width: 50%;
    padding: 0 20px;
}

@media (max-width: 991px) {
    .about-articles article {
        padding: 0;
    }

    .about-articles article:first-child {
        padding-right: 20px;
    }

    .about-articles article:last-child {
        padding-left: 20px;
    }
}

@media (max-width: 575px) {
    .about-articles article {
        width: 100%;
        padding: 0 !important;
    }

    .about-articles article:not(:last-child) {
        margin-bottom: 25px;
    }
}

.about-articles article div {
    width: 100%;
    overflow: hidden;
}

.about-articles article img {
    width: 100%;
    transition: scale .3s;
}

.about-articles article div:hover img {
    scale: 1.1;
}

.about-articles article h3 {
    color: #333;
    margin: 20px 0;
}

.about-articles article p {
    line-height: 1.6;
    color: grey;
    font-size: 14px;
}

.folio {
    background-image: url('../img/bg-folio.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0;
    color: #fff;
    text-align: center;
}

.folio p {
    margin: 20px 0;
    font-size: 20px;
    line-height: 1.6;
    text-transform: capitalize;
}

.folio span {
    font-style: italic;
}

.solutions .row {
    display: flex;
}

@media (max-width: 575px) {
    .solutions .row {
        flex-wrap: wrap;
    }
}

.solutions .solution {
    width: 50%;
    padding: 20px;
}

@media (max-width: 575px) {
    .solutions .solution {
        width: 100%;
    }
}

.solutions .solution h2,
.solutions .solution h3 {
    color: #333;
}

.solutions .solution p,
.solutions .solution span {
    margin: 20px 0;
    line-height: 1.6;
    color: grey;
}

.solutions .solution span {
    display: block;
}

.solutions .solution a {
    color: #333;
    font-size: 14px;
}

.case-study {
    background-color: #e62739;
    color: #fff;
    padding: 0;
}

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

.case-study .case {
    width: 50%;
    padding: 50px 20px;
}

@media (max-width: 991px) {
    .case-study .case {
        width: 100%;
    }
}

.case-study h2 {
    margin-bottom: 20px;
}

.case-study p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 14px;
}

.case-study a {
    font-size: 14px;
    color: #fff;
}

.case-study .case:last-child {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.case-study .case:last-child div {
    text-align: center;
}

.case-study span {
    display: block;
}

.case-study span:first-child {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
}

.case-study span:last-child {
    font-size: 14px;
}

.recent-work {
    padding: 50px 0 0;
}

.recent-work ul {
    padding: 0 15px 20px;
    display: flex;
    justify-content: center;
}

@media (max-width: 525px) {
    .recent-work ul {
        flex-direction: column;
        align-items: center;
    }
}

.recent-work ul li {
    margin: 0 10px;
    font-size: 17px;
    color: grey;
    cursor: pointer;
}

@media (max-width: 525px) {
    .recent-work ul li {
        margin: 10px 0;
    }
}

.recent-work ul li.active,
.recent-work ul li:hover {
    color: #333;
}

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

.recent-work .row .work {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .recent-work .row .work {
        width: 100%;
    }
}

.recent-work .row .work img {
    width: 50%;
}

.recent-work .row .work:last-child div {
    width: 100%;
    position: relative;
}

.recent-work .row .work:last-child div img {
    width: 100%;
    height: 100%;
}

.recent-work .row .work:last-child div article {
    background-color: rgba(0, 0, 0, .5);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 50px;
}

.recent-work .row .work:last-child div article p {
    color: #fff;
    font-size: 17px;
    margin-bottom: 20px;
}

.recent-work .row .work:last-child div article a {
    color: #fff;
    font-size: 14px;
}

.clients {
    background-color: #9068be;
}

.clients .row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.clients .client {
    color: #fff;
    text-align: center;
}

.clients .client p {
    font-size: 25px;
    margin-bottom: 10px;
}

.clients .client span {
    display: block;
    font-size: 14px;
}

.clients .client span:not(:last-of-type) {
    margin-bottom: 20px;
}

footer {
    background-color: #333;
    padding: 50px 0;
}

footer .row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

footer .foot>a {
    color: #fff;
    font-weight: bold;
    font-size: 25px;
    text-transform: uppercase;
}

footer .foot h3 {
    color: #fff;
    margin-bottom: 20px;
    text-transform: capitalize;
}

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

footer ul li a {
    color: grey;
}

footer .foot form div {
    margin-bottom: 15px;
}

footer .foot form input {
    background: none;
    border: none;
    border-bottom: 1px solid grey;
    padding: 10px;
    font-size: 17px;
    color: grey;
    outline: none;
}

footer .foot form button {
    margin-bottom: 15px;
    border: 1px solid grey;
    padding: 10px;
    color: grey;
    border-radius: 5px;
    font-size: 17px;
}

footer .foot form span {
    display: block;
    color: grey;
}

footer .foot form span a {
    color: #fff;
}