/* ------------------------------------------------- GLOBAL -------------------------------------------------- */

:root {
    --offwhite: #F3F3F7;
    --grey: #7c7c7c;
    --navy: #2e3739;
    --desktop-br: 20px;
    --button-br: 10px;
    --purple: #5C55E5;
}

@font-face {
    font-family: 'luso-font';
    src: url('./assets/luso-font.otf') format('opentype');
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    color: var(--grey);
    font-weight: 350;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    color: var(--navy);
}

.home {
    background: var(--offwhite);
}

.section {
    padding: 60px 0;
}

.section.top {
    padding: 100px 0 60px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.narrow.container {
    max-width: 950px;
}

.wide.container {
    max-width: 1300px;
}

button,
a {
    all: unset;
    display: inline-block;
    box-sizing: border-box;
    cursor: pointer;
}

li {
    all: unset;
    display: list-item;
    box-sizing: border-box;
    list-style: none;
}

/* ------------------------------------------------- HEADER -------------------------------------------------- */

header {
    min-height: 84px;
    box-sizing: border-box;
    padding-block: 22px;
    font-size: 14px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    backdrop-filter: blur(3px);
    transition: 0.3s;

}

header.scrolled {
    background: rgb(255, 255, 255, 0.5);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.header-content {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.logo {
    width: 95px;
    height: auto;
}

nav {
    display: flex;
    gap: 20px;
    align-items: center;
    color: var(--navy)
}

.home .cta {
    background: white;
}

.cta {
    background: var(--offwhite);
    padding: 9px 14px;
    border-radius: var(--button-br);
}

.return-arrow {
    display: none;
    position: absolute;
    bottom: -35px;
}

.return-arrow img {
    width: 30px;
    height: auto;

}

@media(max-width:767px) {
    nav {
        display: none;
    }

    .return-arrow {
        display: block;
    }

    .page-template-page-services .logo,
    .page-template-page-projects .logo,
    .page-template-page-contact .logo {
        display: none;
    }

    .home .return-arrow {
        display: none;
    }
}

/* ------------------------------------------------- FOOTER -------------------------------------------------- */

.footer-content {
    background: #d4efff;
    position: relative;
    border-radius: var(--desktop-br);
    color: var(--navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    gap: 25px;
}

.page-template-page-projects .footer-content,
.page-template-page-services .footer-content,
.page-template-page-contact .footer-content {
    background: transparent;
    border: solid 1px var(--navy);
}

.footer-content p {
    padding-left: 30px;
}

.footer-content p span {
    display: block;
}

.footer-buttons {
    min-width: 300px;
    display: flex;
    gap: 10px;
}

footer .btn {
    padding: 20px 30px;
    border-radius: var(--button-br);

}

.audit.btn {
    background: var(--navy);
    color: white;
    border: solid 1px var(--navy);

}

.call.btn {
    border: solid 1px var(--navy);

}

.alert {
    width: 16px;
    height: auto;
    position: absolute;
    top: 18px;
    left: 20px;
    opacity: 0.8;
}

.footer-anim,
.footer-header {
    display: none;
}

.footer-meta {
    display: none;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

@media (max-width:767px) {

    .footer-content p span {
        display: none;
    }

    .footer-content {
        background: white;
    }

    .footer-anim,
    .footer-header {
        display: block;
    }

    .footer-content {
        flex-direction: column;
    }

    .alert {
        display: none;
    }

    .footer-buttons {
        flex-direction: column;
        width: 100%
    }

    .footer-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .footer-content p {
        padding-left: 0;
        text-align: center;
        margin: 0;
        color: var(--grey)
    }

    .footer-content h3 {
        margin: 0;

    }

    .footer-meta {
        display: flex;
    }

    .footer-meta .reviews {
        width: 100px;
        height: auto;

    }

    .footer-meta .up-arrow {
        width: 23px;
        height: 23px;
    }

    .page-template-page-projects .footer-content,
    .page-template-page-services .footer-content {
        background: var(--offwhite);
        border: none;
    }

    footer .section {
        padding: 25px 0;
    }

}


/* ------------------------------------------------- HOMEPAGE: HERO -------------------------------------------------- */


.hero {
    color: var(--navy);
    display: flex;
    justify-content: center;
    text-align: center;
}

.hero .container {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    height: 70vh;
}

.hero-content * {
    margin: 0;
}

.hero-content p {
    font-family: "REM", sans-serif;
    text-transform: uppercase;
}

.hero-content h1 {
    font-family: "Gabarito", sans-serif;
    font-size: 60px;
    font-weight: 600;
    margin-top: 8px;
}

.hero-content .buttons {
    margin-top: 25px;
    display: flex;
    gap: 10px;
}

.hero .btn {

    padding: 17px 40px;
    width: 168px;
    border-radius: 50px;
    border: solid 1px var(--navy);
}

.hero .btn:nth-child(1) {
    border: solid 1px var(--purple);

    background: var(--purple);
    color: white;
}

.carousel-container {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 40px;
    overflow: hidden;
    position: relative;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 30px;
    background: #f5f5f5;
}

.carousel-wrapper::before,
.carousel-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    pointer-events: none;
    z-index: 2;
}

.carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f5f5f5 0%, rgba(245, 245, 245, 0) 100%);
}

.carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f5f5f5 0%, rgba(245, 245, 245, 0) 100%);
}

.carousel {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: scroll 50s linear infinite;
}

.carousel img {
    height: 30px;
    object-fit: contain;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-1865px);
    }
}

/* ------------------------------------------------- HOMEPAGE: SECTION 2 -------------------------------------------------- */


.fp-content {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.fp-tab {
    height: 25px;
    background: #272727;
    display: flex;
    gap: 5px;
    justify-content: start;
    align-items: center;

}

.tab-btn {
    height: 10px;
    width: 10px;
    border-radius: 50%;

}

.tab-btn:nth-child(1) {
    background-color: #4F4343;
    margin-left: 10px
}

.tab-btn:nth-child(2) {
    background-color: #7E7B77;
}

.tab-btn:nth-child(3) {
    background-color: #C6CAC2;
}

video {
    width: 100%;
    border: solid 2px #272727;
}

.fp-screen {
    font-family: luso-font;
    color: white;
    font-style: italic;
    text-transform: uppercase;
    position: absolute;
    width: 100%;
    height: calc(100% - 25px);
    top: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.fp-header {
    width: 90%;
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
}

.fp-header div {
    display: flex;
    gap: 8px;
}

.fp-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 10px;
}

.fp-footer img {
    width: 90px;
}

.fp-action {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 100;
    cursor: pointer;
    transition: 0.3s;
    background: rgb(0, 0, 0, 0.6);
    opacity: 0;
    color: white;

}

.fp-action:hover {
    opacity: 1;
}

/* ------------------------------------------------- HOMEPAGE: SECTION 3 -------------------------------------------------- */

purple {
    color: var(--purple);
}

@media (max-width:767px){
	#s3{
	  scroll-margin-top: 100vh;
}

}

.s3-content {
    min-height: 60vh;
    display: flex;
    align-items: center;
    gap: 100px;
}

.s3-content .left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: start;
}

.s3-content .left * {
    margin: 0;
}

.s3-content .left h2 {
    font-weight: 350;
    font-size: 33px;
}

.s3-content .btn {
    padding: 17px 40px;
    background: white;
    color: var(--navy);
    border-radius: 40px;
}

.s3-content .right {
    flex: 1;
    display: flex;
    align-items: center;
}

.desktop-tile {
    width: 300px;
    height: 200px;
    border: solid 4px #272727;
    border-top: 11px solid #272727;
    border-radius: 12px;
    will-change: transform;
    background-image: url(assets/desktop-tile.webp);
    background-size: cover;
    background-position: center;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;

}

.mobile-tile {
    margin-top: 140px;
    margin-left: -50px;
    width: 75px;
    height: 160px;
    border: solid 3px #272727;
    border-radius: 15px;
    will-change: transform;
    background-image: url(assets/mobile-tile.webp);
    background-size: cover;
    background-position: center;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.mobile-tile::after {
    content: '';
    width: 30px;
    height: 5px;
    position: absolute;
    left: 50%;
    top: -3px;
    background: #272727;
    transform: translateX(-50%);
    border-radius: 12px;
}

/* ------------------------------------------------- HOMEPAGE: SECTION 4 -------------------------------------------------- */


.s4 .wide.container {
    background: #FFF;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 20%);
    border-radius: 60px 60px 0 0;
    margin-bottom: -60px;
    display: flex;
    justify-content: center;
}

.s4-content {
    padding-top: 80px;
    padding-bottom: 120px;
    max-width: 970px
}

.s4 h2 {
    font-weight: 350;
    font-size: 33px;
    max-width: 300px;
    margin-bottom: 40px;
}

.s4 .strategy-cards {
    display: flex;
    gap: 18px;
}

.s4 .card {
    flex: 1;
    border: solid 1px lightgray;
    border-radius: var(--desktop-br);
    padding: 20px 40px 20px 20px;
    position: relative;
    min-height: 170px;
}

.s4 img {
    display: none;
}

.s4 .card a {
    color: var(--purple)
}

.s4 h3,
.s4 p,
.s4 div {
    user-select: none;
    cursor: default;
}

.s4 h3 {
    font-weight: 500;

}

.number {
    position: absolute;
    bottom: 14px;
    right: 18px;
}

/* ------------------------------------------------- HOMEPAGE: MOBILE ELEMENTS -------------------------------------------------- */

.mn {
    display: none;
}

.mn-content {
    background: white;
    border-radius: 26px;
    padding: 18px 16px;
    box-sizing: border-box;
    margin: 5px;
}

.nav-cards {
    display: flex;
    gap: 15px;
    padding-right: 10px;
    overflow: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-cards::-webkit-scrollbar {
    display: none;
}

a.nav-card * {
    margin: 0;
}

.mn img {
    width: 180px;
    height: 115px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 8px !important;
}

.mn h2 {

    font-size: 17px;
    font-weight: 500;
}

.mn h3,
.mn p {
    font-size: 14px;
}

.mn h3 {
    font-weight: 500;
    margin-bottom: 5px !important;
}

.mn-text {
    padding: 30px;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mn-text lottie-player {
    width: 80px;
}

.mn-text h2,
.mn-text p {
    text-align: center;

}

.mn-text p {
    font-size: 17px;
}

@media (max-width:767px) {
    purple {
        color: unset;
    }

    .section.top {
        padding: 70px 0 60px 0;
    }

    .featured-project {
        display: none;
    }

    .s3-content,
    .strategy-cards {
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content {
        height: 60vh;
        max-height: 400px;
        margin-bottom: 60px;
        justify-content: end;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero .btn {
        padding: 17px 0;
        width: 130px;
    }

    .mn {
        display: block;
    }

    .s3-content .left {
        display: none;
    }

    .s3-content {
        min-height: unset;
    }

    .s4 .wide.container {
        background: none;
    }

    .s4 .container {
        display: flex;
        justify-content: center;
    }

    .s4-content {
        padding: unset;
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 270px;
    }

    .s4 h2 {
        font-size: 24px;
        ;
        text-align: center;
        font-weight: 500;
        margin-bottom: 60px;
    }

    .s4 h3,
    .s4 p {
        font-size: 17px;
        margin: 5px;
    }

    .s4 .strategy-cards {
        gap: 30px;
    }

    .s4 .card {
        border: unset;
        border-radius: unset;
        padding: 0;
        min-height: unset;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .s4 img {
        display: block;
        width: 30px;
        margin-bottom: 15px;
    }

    .s4 .number {
        display: none;
    }

    #s3,
    .s4 {
        padding: 20px 0;
    }

    .s4 .card a {
        color: var(--navy);
        font-weight: 500;
    }

    .s4 .wide.container {
        margin-bottom: unset;
    }
}


/* ------------------------------------------------- SERVICES PAGE -------------------------------------------------- */

.service-cards {
    width: 100%
}

.seo-card {
    background: #F7F7F7;
    background: linear-gradient(90deg, rgba(247, 247, 247, 1) 0%, rgba(221, 226, 235, 1) 49%, rgba(221, 226, 237, 1) 73%);
    border-radius: var(--desktop-br);
    display: flex;
    padding: 50px;
    color: #44434B;
}

.seo-card h2 {
    color: var(--purple);
    font-family: "Gabarito", sans-serif;
    font-size: 55px;
    margin-block: 30px;
}

.seo-card>* {
    min-width: 0;
    gap: 16px;
}

.seo-card .btn {
    background: white;
    width: 100%;
    text-align: center;
    padding-block: 20px;
    border-radius: 10px;
}

.seo-card-desktop-cta {
    border-right: solid 1px lightgray;
    padding-right: 30px;
    flex: 12;
}

.seo-card ul {
    padding: 0;
    margin-top: 30px;
}

.seo-card-list {
    margin-left: 40px;
    flex: 10;
    position: relative;
    z-index: 10;
}

.seo-card li {
    margin-bottom: 20px;
    color: #44434B;
    display: flex;
    font-size: 15px;
}

.seo-card li::before,
.website-card li::before {
    content: url('/wp-content/themes/ac-studio/assets/check.svg');
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    margin-top: 2px;
}

.seo-card h3 {
    font-weight: 400;
}

.seo-card-anim {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    flex: 10;
}

.seo-card .pricing-desktop {
    max-width: 140px;
}

.pricing-desktop large {
    font-size: 30px;
    font-weight: 500;
}

.seo-card-mobile-cta {
    display: none;
}

.seo-card lottie-player {
    width: 300px;
    height: 200px;
}

.website-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.website-card * {
    margin: 0;
}

.website-card-wrapper {
    flex: 1;
    min-width: 320px;
    position: relative;
}

.website-card {
    width: 100%;
    border: solid 1px #D5D6D6;
    border-radius: var(--desktop-br);
    padding: 50px 28px 18px 28px;
    box-sizing: border-box;
    flex-direction: column;
    display: flex;
    gap: 12px;
    color: var(--navy);
}

.website-card h2 {
    font-size: 22px;
    font-weight: 500;
}

.website-card .price {
    font-size: 32px;
    font-weight: 600;
    border-bottom: solid 1px lightgray;
    padding-bottom: 20px;
    margin-bottom: 10px;
}

.website-card .btn {
    background: var(--purple);
    padding: 20px 0;
    color: white;
    text-align: center;
    border-radius: var(--button-br);
}

.website-card h3 {
    font-size: 16px;
    padding-block: 20px;
}

.website-card ul {
    padding-left: 0;
}

.website-card li {
    padding-bottom: 30px;
    font-size: 15.5px;
}

.featured .btn {
    background: #7E41F4;
    background: linear-gradient(90deg, rgba(126, 65, 244, 1) 0%, rgba(112, 193, 241, 1) 100%);
}

.featured.website-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(90deg,
            rgba(126, 65, 244, 1) 0%,
            rgba(112, 193, 241, 1) 100%);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

@media (max-width:935px) {
    .seo-card-mobile-cta {
        display: block
    }

    .seo-card-mobile-cta h2 {
        font-size: 32px;
        margin-bottom: 15px;
        margin-top: 0;
    }

    .seo-card-mobile-cta .pricing-mobile {
        margin-bottom: 30px;
        padding-bottom: 30px;
        border-bottom: 1px solid lightgray;
        font-size: 20px;
    }

    .pricing-desktop {
        display: none;
    }

    .pricing-mobile large {
        font-size: 27px;
        font-weight: 500;
    }

    .seo-card-desktop-cta {
        display: none;
    }

    .seo-card {
        padding: 0 28px 28px 28px;
        flex-direction: column-reverse;
        background: linear-gradient(0deg, rgba(247, 247, 247, 1) 0%, rgba(221, 226, 235, 1) 49%, rgba(221, 226, 237, 1) 73%);
    }

    .seo-card-list {
        margin-left: 0;
        flex: unset;
        margin-top: 20px;
    }

    .seo-card-anim {
        flex-direction: row;
        flex: unset;

    }

    .seo-card .pricing {
        display: none;
    }

    .seo-card lottie-player {
        width: 200px;
    }
}


/* ------------------------------------------------- PROJECTS PAGE -------------------------------------------------- */
.project-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    column-gap: 22px;
    row-gap: 60px;
}

.page-intro {
    margin-bottom: 40px;
}

.page-intro h1 {
    font-weight: 500;
    font-size: 28px;
    color: var(--navy);
}

.page-intro p {
    max-width: 350px;
}

.project-card {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.swiper {
    width: 100%;
    overflow: hidden;
    border-radius: var(--button-br);
}

.swiper .type {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 100;
    background: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}

.swiper-pagination {
    text-align: center;
    margin-top: 8px;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #fff !important;
    opacity: 0.3;
    display: inline-block;
    border-radius: 50%;
    margin: 0 4px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff !important;
}
.project-card-info p{
    font-size:15px;
}

.project-card h2 {
    font-size: 16px;
    font-weight: 500;
    color: var(--navy)
}

.project-card-info * {
    margin: 0;
}

.project-card-info {
    display: flex;
    gap: 5px;
    flex-direction: column;
    margin-block: 16px 10px;
}

.project-card>a {
    display: block;
    width: 100%;
}

.desktop-btn,
.mobile-btn {
    font-size: 12px;
    padding: 2.5px 8px;
    border-radius: 4px;
    transition: 0.3s;
    border:solid 1px white;

}

.desktop-btn.active,
.mobile-btn.active {
    /* font-weight:500; */
    /* text-decoration: underline; */
    /* background: var(--offwhite); */
    border:solid 1px lightgray;
}

.img-toggle span {
    font-size: 12px;
}

/* ------------------------------------------------- CONTACT PAGE -------------------------------------------------- */

.contact-content {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

form,
form .row {
    width: 100%;
    max-width: 500px;
    display: flex;
    gap: 8px;
}

form {
    flex-direction: column;
    font-family: "Inter";
    align-items: center;
}

input,
textarea {
    width: 100%;
    flex: 1;
    border: NONE;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 10px;
    font-family: "Inter";
    box-sizing: border-box;
}

.contact-content .page-intro {
    margin-bottom: 20px;
}

input {
    min-height: 50px;
    height: 50px;
    max-height: 50px;
}

textarea {
    resize: none;
}

.form-button {
    width: 130px;
    border-radius: 50px;
    background: var(--purple);
    color: white;
    padding-block: 17px;
    margin-top: 10px;
    transition: 0.3s;
}

.success-message {
    opacity: 0;
    margin-top: 10px;
    margin-bottom: 0;
    color: var(--navy);
    font-weight: 400;
    min-height: 20px;
    transition: 0.3s;
}

.success-message.visible {
    opacity: 1;
}

.form-button.inactive {
    background: lightgray;
    color: darkgray;
    pointer-events: none;
}




/* ------------------------------------------------- BUTTON ANIM -------------------------------------------------- */


.shiny {
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.shiny::before,
.shiny::after {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(-100px) skewX(-15deg);
    content: "";
}

.shiny::before {
    width: 60px;
    background: rgba(255, 255, 255, 0.5);
    filter: blur(30px);
    opacity: 0.5;
}

.shiny::after {
    width: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.2);
    filter: blur(5px);
}

.shiny:hover {
    background-color: var(--purple);
    border-color: var(--purple);
    color: white;
}

.shiny:hover::before {
    opacity: 1;
}

.shiny:hover::before,
.shiny:hover::after {
    transform: translateX(400px) skewX(-15deg);
    transition: all 0.9s ease;
}

.shiny.slow:hover::before,
.shiny.slow:hover::after {
    transform: translateX(200px) skewX(-15deg);
    transition: all 0.9s ease;
}