/* Fonts – Montserrat (Figma) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0;300;400;500;600;700;800&display=swap');

/* Variables */
:root {
    --purple:           #62368E;
    --purple-light:     #EDE0FF;
    --white:            #fff;
    --gray:             #F3F3F3;
    --shadow:           0 0 28px 0 rgba(0, 0, 0, 0.10);
    --text:             #666666;
    --font-family:      'Montserrat', sans-serif;
    --font-size-body:   16px;
    --font-weight-body: 300;
    --line-height-body: 18px;
    --color-menu:       #666666;
    --title:            #3C3C3C;
    --title-size:       48px;
    --title-weight:     300;
    --padding-section:  100px;
}

.padding-t { padding-top: var(--padding-section); }
.padding-b { padding-bottom: var(--padding-section); }
.padding-tb { padding-top: var(--padding-section); padding-bottom: var(--padding-section); }

.title {
    font-family: var(--font-family);
    color: var(--title);
    font-size: var(--title-size);
    font-weight: var(--title-weight);
    line-height: normal;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-body);
    line-height: var(--line-height-body);
    color: var(--text);
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
header {
    background-color: transparent;
    padding: 30px 0;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

header .navbar {
    background-color: var(--white);
    border-radius: 100px;
    padding: 24px 50px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
}

header .navbar-brand {
    padding: 0;
    margin-right: 80px;
}

header .navbar-brand img {
    height: 28px;
    width: auto;
}

header .navbar-nav {
    align-items: center;
    gap: 20px;
}

header .nav-link {
    color: var(--color-menu);
    text-transform: none;
    font-size: 16px;
}

header .nav-link:hover {
    color: var(--purple);
}


/* Global Button Styles */
.button {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    min-width: 160px;
    transition: all 0.3s ease;
    padding: 12px 28px;
    border-radius: 50px;
}

.button.light {
    background-color: var(--purple-light);
    color: var(--purple);
    white-space: nowrap;
}

.button.light:hover {
    background-color: var(--purple);
    color: var(--white);
}

.button.outline {
    background-color: transparent;
    color: var(--title);
    border: 1px solid #C1C1C1;
    white-space: nowrap;
    font-weight: 300;
}

.button.outline:hover {
    border-color: var(--purple);
    color: var(--purple);
}

.button.blue {
    background-color: var(--purple);
    color: var(--white);
}

.button.blue:hover {
    background-color: var(--purple-light);
    color: var(--purple);
}

header .d-flex.gap-3 {
    gap: 15px !important;
}

/* Hero Section */
.hero-card {
    height: 468px;
    background-image: url('../img/banner-home.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0;
    padding: 0 40px;
    position: relative;
}

/* Specific curve for the bottom right corner if we want to mimic the "cutout" strictly later,
   for now standard rounded corners as per safe implementation */

.hero-card h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    max-width: 1130px;
    line-height: 1.2;
    margin-bottom: 0;
}

/* Header Fixo */
header.fix {
    position: fixed;
    top: -150px;
    left: 0;
    width: 100%;
    max-width: 100%;
    z-index: 1000;
    padding-top: 0;
    padding-bottom: 0;
    transition: top 0.5s ease;
    background-color: var(--white);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    pointer-events: none;
}

header.fix .navbar {
    background-color: transparent;
    box-shadow: none;
}

header.fix .container {
    pointer-events: auto;
}

header.fix.active {
    top: 0;
}

/* Solutions Section – flip do card todo no hover (sombra gira junto), layout original na frente */
.solutions .col-lg-4 {
    perspective: 1000px;
}

.solutions .solution-card {
    position: relative;
    background: var(--white);
    border-radius: 36px;
    box-shadow: 0 0 28px 0 rgba(0, 0, 0, 0.10);
    height: 100%;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

.solutions .col-lg-4:hover .solution-card {
    transform: rotateY(180deg);
}

/* Frente: layout original (imagem + rodapé sobreposto) */
.solutions .solution-card-front {
    position: relative;
    padding: 20px 0 0;
    background: var(--white);
    border-radius: 36px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.solutions .solution-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 36px;
    transform: rotateY(180deg);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px;
    box-sizing: border-box;
}

.solutions .solution-back-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    text-align: center;
}

.solutions .solution-back-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--purple);
    margin: 0;
    line-height: 1.2;
}

.solutions .solution-back-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.solutions .solution-back-links li {
    margin-bottom: 20px;
}

.solutions .solution-back-links li:last-child {
    margin-bottom: 0;
}

.solutions .solution-back-links a {
    color: #3c3c3b;
    text-decoration: none;
    font-size: 22px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.solutions .solution-back-links a:hover {
    color: var(--purple);
}

.solutions .solution-back-content .button {
    display: inline-block;
}

/* Imagem e rodapé na frente – layout original */
.solutions .solution-img-wrapper {
    margin-bottom: 0;
    padding: 0 20px;
}

.solutions .solution-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 36px 36px 0 0;
}

.solutions .solution-card-front .solution-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -28px;
    padding: 20px 24px 24px 40px;
    background-color: var(--white);
    border-radius: 36px;
    position: relative;
    z-index: 1;
}

.solutions .solution-footer h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--purple);
    margin: 0;
    line-height: 1.2;
}

.solutions .solution-footer-icons {
    display: flex;
    align-items: center;
}

.solutions .solution-footer-icons img {
    width: 44px;
    height: 44px;
    transition: transform 0.2s;
}

.solutions .solution-footer-icons img:first-child {
    margin-right: -14px;
    position: relative;
    z-index: 1;
}

.solutions .solution-footer-icons img:last-child {
    position: relative;
    z-index: 2;
}

.solutions .solution-footer-icons img:hover {
    transform: scale(1.1);
}

/* Cases Section */
.cases {
    background-color: var(--white);
}

.cases-header {
    border-bottom: none;
}

.cases-tabs {
    display: flex;
    gap: 0;
    border: none;
    margin-bottom: 40px;
}

.cases-tabs .nav-item {
    margin-bottom: 0;
}

.cases-tabs .nav-link {
    padding: 0 0 8px 0;
    margin-right: 32px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #DAD9D9;
    font-size: 48px;
    font-weight: var(--font-weight-body);
    line-height: 32px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.cases-tabs .nav-link:hover {
    color: var(--text);
}

.cases-tabs .nav-link.active {
    color: #636363;
    font-weight: 500;
    border-bottom-color: var(--title);
    background: transparent;
}

.cases-title {
    font-size: var(--title-size);
    font-weight: var(--title-weight);
    color: var(--title);
}

.cases-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.cases-card:hover {
    transform: translateY(-4px);
}

.cases-card-img {
    border-radius: 36px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    position: relative;
}
.cases-card-img:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 40%, rgba(0, 0, 0, 0.00) 100%);
    border-radius: 36px;
}

.cases-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cases-card-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 20px 24px;
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-body);
    line-height: var(--line-height-body);
    color: var(--white);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.4) 60%, transparent);
    transition: background 0.3s ease;
}
.cases-cta {
    margin-top: 40px;
}

.cases-card:hover .cases-card-caption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.5) 60%, transparent);
}

/* Services Carousel */
.services {
    background-color: var(--white);
    overflow: hidden;
}

/* Alinha o início do carrossel com o conteúdo do .container em cada breakpoint (gutter = 12px) */
.services-inner {
    padding-left: 12px;
    overflow: visible;
}

.services .services-swiper {
    overflow: visible;
}

.services .services-swiper .swiper-wrapper {
    align-items: stretch;
}

.services .swiper-slide {
    height: auto;
    width: 404px;
    box-sizing: border-box;
}

.service-card {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    background: var(--white);
    border-radius: 40px;
    box-shadow: 0 0 28px 0 rgba(0, 0, 0, 0.10);
    transition: transform 0.3s ease;
    padding: 18px 0;
}

.service-card:hover {
    transform: translateY(-6px);
}

.service-card-img-wrapper {
    overflow: hidden;
    margin-bottom: 0;
    padding: 0 18px;
}

.service-card-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 36px 36px 0 0;
}

.service-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -28px;
    padding: 20px 24px 24px 40px;
    background-color: var(--white);
    border-radius: 24px;
    position: relative;
    z-index: 1;
}

.service-card-footer h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--purple);
    margin: 0;
    line-height: 1.2;
}

.service-card-footer-icons {
    display: flex;
    align-items: center;
}

.service-card-footer-icons img {
    width: 44px;
    height: 44px;
    transition: transform 0.2s;
}

.service-card-footer-icons img:first-child {
    margin-right: -14px;
    position: relative;
    z-index: 2;
}

.service-card-footer-icons img:last-child {
    position: relative;
    z-index: 1;
}

.service-card-footer-icons img:hover {
    transform: scale(1.1);
}

.services-pagination {
    position: relative;
    margin-top: 50px;
    margin-left: -6px;
}

.services-pagination .swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    margin: 0 6px;
    background: var(--purple-light);
    opacity: 1;
    transition: background 0.2s ease;
}

.services-pagination .swiper-pagination-bullet-active {
    background: var(--purple);
}

/* Nossos Clientes */
.clients {
    background-color: var(--white);
}

.clients-title {
    margin-bottom: 3.5rem;
}

.clients-logos {
    gap: 20px;
    justify-content: space-between;
}

.clients-logo {
    height: 70px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.clients-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Nossos Números */
.numbers {
    background-color: var(--white);
}

.numbers .numbers-wrapper {
    position: relative;
}

.numbers .numbers-card {
    position: absolute;
    max-width: 280px;
    text-align: center;
}

.numbers .numbers-card--top {
    top: 0;
    left: 2% ;
    position: absolute;
}

.numbers .numbers-cards-bottom {
    position: absolute;
    bottom: 4px;
    right: 0;
    left: auto;
    display: flex;
    justify-content: space-between;
    width: 74%;
}

.numbers .numbers-cards-bottom .numbers-card {
    position: relative;
    width: 33%;
    min-width: 300px;
}

.numbers .numbers-stat {
    display: block;
    font-size: 64px;
    font-weight: 300;
    color: #000;
    line-height: .9;
    margin-bottom: 8px;
    text-align: center;
}

.numbers .numbers-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0 0 0 0;
    line-height: 1.3;
    text-align: center;
}

.numbers .numbers-card-text {
    font-size: 14px;
    font-weight: 300;
    color: #000;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* Contato / Vamos conversar
   Estilos pensados para migração ao Contact Form 7: use os mesmos seletores
   em .contact form e, quando usar CF7, os inputs terão .wpcf7-form-control
   e o botão .wpcf7-submit — os estilos abaixo já contemplam isso. */
.contact {
    background-color: var(--white);
}

.contact .contact-wrapper {
    background-color: var(--purple);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    min-height: 520px;
}

.contact .contact-left {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 48px 40px 48px 48px;
}

.contact .title {
    color: var(--white);
}

.contact .contact-image-wrapper {
    margin-top: -30px;
    border-radius: 0 0 0 24px;
    overflow: hidden;
    align-self: flex-start;
}

.contact .contact-image {
    display: block;
    width: 100%;
    height: auto;
}

.contact .contact-right {
    flex: 1;
    padding: 136px 48px 48px 40px;
    display: flex;
    align-items: flex-start;
}

.contact .contact-form {
    width: 100%;
    max-width: 518px;
}

/* Campos: underline only — funciona com input/textarea nativos e com .wpcf7-form-control */
.contact .contact-field {
    margin-bottom: 24px;
}

.contact .contact-field--message {
    margin-bottom: 28px;
}

.contact .contact-form input[type="text"],
.contact .contact-form input[type="email"],
.contact .contact-form input[type="tel"],
.contact .contact-form textarea,
.contact .contact-form .wpcf7-form-control:not(.wpcf7-submit):not([type="checkbox"]):not([type="radio"]) {
    display: block;
    width: 100%;
    padding: 12px 0 12px;
    font-family: var(--font-family);
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    outline: none;
    transition: border-color 0.2s ease;
}

.contact .contact-form input::placeholder,
.contact .contact-form textarea::placeholder,
.contact .contact-form .wpcf7-form-control::placeholder {
    font-size: 24px;
    font-weight: 400;
    color: #fff;
}

.contact .contact-form input:focus,
.contact .contact-form textarea:focus,
.contact .contact-form .wpcf7-form-control:focus {
    border-bottom-color: var(--white);
}

.contact .contact-form .contact-textarea,
.contact .contact-form textarea.wpcf7-form-control {
    resize: vertical;
    min-height: 80px;
}

/* Botão — também .wpcf7-submit no WordPress */
.contact .contact-submit-wrap {
    margin-bottom: 24px;
}

.contact .contact-form button[type="submit"],
.contact .contact-form input[type="submit"],
.contact .contact-form .wpcf7-submit {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 700;
    color: var(--purple);
    background-color: var(--white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact .contact-form button[type="submit"]:hover,
.contact .contact-form input[type="submit"]:hover,
.contact .contact-form .wpcf7-submit:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* Consentimento: checkbox customizada */
.contact .contact-consent {
    border: none;
    padding: 0;
    margin: 0;
}

.contact .contact-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

.contact .contact-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.contact .contact-checkbox-box {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--white);
    border-radius: 4px;
    background: transparent;
    position: relative;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.contact .contact-checkbox:checked + .contact-checkbox-box {
    background-color: var(--white);
}

.contact .contact-checkbox:checked + .contact-checkbox-box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid var(--purple);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.contact .contact-checkbox-text {
    font-size: 14px;
    font-weight: 300;
    color: var(--white);
    line-height: 1.4;
}

.contact .contact-terms {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
    text-decoration: underline;
}

.contact .contact-terms:hover {
    color: var(--white);
}

/* Ajustes para CF7: wrapper de campos (wpcf7-form-control-wrap) */
.contact .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 24px;
}

.contact .wpcf7-form-control-wrap .wpcf7-form-control {
    margin-bottom: 0;
}

.contact .wpcf7-list-item {
    margin: 0;
}

/* Footer — box cinza 36px, logo à esquerda, 4 colunas */
.footer {
    padding: 60px 0 80px;
}

.footer .footer-box {
    background-color: #f8f8f8;
    border-radius: 36px;
    padding: 96px 80px 40px;
}

.footer .footer-top {
    margin-bottom: 48px;
    row-gap: 32px;
    align-items: flex-start;
}

.footer .footer-brand-col {
    text-align: left;
    flex-shrink: 0;
}

.footer .footer-cols-right {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 56px;
    margin-left: 0;
}

.footer .footer-logo-link {
    display: inline-block;
    margin-bottom: 8px;
}

.footer .footer-logo {
    display: block;
    max-width: 280px;
    width: auto;
    height: auto;
}

.footer .footer-tagline {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    color: var(--purple);
    margin: 0;
    line-height: 1.3;
}

.footer .footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-list li {
    margin-bottom: 12px;
}

.footer .footer-list a {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    color: #333;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s ease;
}

.footer .footer-list a:hover {
    color: var(--purple);
}

.footer .footer-list--icons a img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
}

.footer .footer-bottom {
    padding-top: 32px;
    row-gap: 24px;
}

.footer .footer-copy-text {
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 400;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.footer .footer-bottom-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.footer .footer-badges-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.footer .footer-badge-img {
    display: block;
    max-height: 40px;
    width: auto;
}

.footer .footer-badges-social .footer-social-link {
    flex-shrink: 0;
}

.footer .footer-social-link {
    display: inline-block;
    transition: opacity 0.2s ease;
}

.footer .footer-social-link:hover {
    opacity: 0.7;
}

.footer .footer-social-link img {
    width: 20px;
    height: 20px;
    display: block;
}

.footer .footer-privacy {
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 400;
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer .footer-privacy:hover {
    color: var(--purple);
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-buttons a {
    display: block;
    transition: transform 0.3s ease;
}

.floating-buttons a:hover {
    transform: translateY(-5px);
}

.btn-scroll-top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.btn-scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-scroll-top img {
    width: 40px;
    height: 40px;
}

.btn-whatsapp img {
    width: 44px;
    height: 45px;
}

/* ========== Responsivo (todos os @media concentrados ao final) ========== */

@media (max-width: 991px) {
    .numbers .numbers-wrapper {
        min-height: auto;
        padding: 40px 24px 32px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .numbers .numbers-card,
    .numbers .numbers-card--top {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        max-width: 320px;
        width: 100%;
    }

    .numbers .numbers-cards-bottom {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .numbers .numbers-cards-bottom .numbers-card {
        flex: 0 1 240px;
    }

    .contact .contact-wrapper {
        flex-direction: column;
        min-height: auto;
    }

    .contact .contact-left {
        flex: none;
        max-width: none;
        padding: 40px 24px 24px;
        gap: 24px;
    }

    .contact .contact-left h2.title {
        font-size: 36px;
    }

    .contact .contact-image-wrapper {
        border-radius: 0 0 24px 24px;
        max-height: 320px;
        overflow: hidden;
    }

    .contact .contact-image {
        max-height: 320px;
    }

    .contact .contact-right {
        padding: 32px 24px 48px;
    }

    .contact .contact-form {
        max-width: none;
    }

    .footer .footer-box {
        padding: 40px 24px 32px;
    }

    .footer .footer-bottom-right {
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .numbers .numbers-wrapper {
        border-radius: 32px;
        padding: 32px 20px 28px;
    }

    .numbers .numbers-stat {
        font-size: 32px;
    }

    .contact .contact-wrapper {
        border-radius: 24px;
    }

    .contact .contact-left,
    .contact .contact-right {
        padding-left: 24px;
        padding-right: 24px;
    }

    .contact .contact-left h2.title {
        font-size: 32px;
    }

    .footer {
        padding: 40px 0 60px;
    }

    .footer .footer-box {
        border-radius: 24px;
        padding: 32px 20px 28px;
    }

    .footer .footer-top {
        margin-bottom: 40px;
    }

    .footer .footer-bottom {
        padding-top: 28px;
    }

    .footer .footer-bottom-right {
        align-items: center;
    }

    .footer .footer-copy-text {
        text-align: center;
    }
}

@media (min-width: 576px) {
    .services-inner {
        padding-left: calc((100vw - 540px) / 2 + 12px);
    }
    .services-pagination {
        margin-left: calc((100vw - 540px) / -4 - 12px);
    }
}

@media (min-width: 768px) {
    .services-inner {
        padding-left: calc((100vw - 720px) / 2 + 12px);
    }
    .services-pagination {
        margin-left: calc((100vw - 720px) / -4 - 12px);
    }
}

@media (min-width: 992px) {
    .footer .footer-cols-right {
        margin-left: auto;
    }
    .services-inner {
        padding-left: calc((100vw - 960px) / 2 + 12px);
    }
    .services-pagination {
        margin-left: calc((100vw - 960px) / -4 - 12px);
    }
}

@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1280px;
    }
    .services-inner {
        padding-left: calc((100vw - 1280px) / 2 + 12px);
    }
    .services-pagination {
        margin-left: calc((100vw - 1280px) / -4 - 12px);
    }
}

@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1384px;
    }
    .services-inner {
        padding-left: calc((100vw - 1384px) / 2 + 12px);
    }
    .services-pagination {
        margin-left: calc((100vw - 1384px) / -4 - 12px);
    }
}