/********** Template CSS **********/
html, body {
    overflow-x: hidden;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

:root {
    --primary: #E53935;
    --secondary: #525368;
    --light: #FFF5F5;
    --dark: #7F1D1D;
}

.back-to-top {
    position: fixed !important;
    display: none;
    right: 30px !important;
    left: auto !important;
    bottom: 30px !important;
    z-index: 9999 !important;
    width: 50px;
    height: 50px;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: #fff;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

/* Hide carousel navigation buttons for header carousel */
#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
    display: none !important;
}

/* Carousel caption positioning for header carousel */
#header-carousel .carousel-caption {
    bottom: 50px !important;
    top: auto !important;
}

@media (max-width: 768px) {
    #header-carousel .carousel-caption {
        bottom: 15px !important;
    }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

/* Carousel positioning after fixed navbar */
.navbar + .container-fluid.p-0,
body > .container-fluid.p-0:first-of-type {
    margin-top: 85px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

@media (max-width: 991px) {
    .navbar + .container-fluid.p-0,
    body > .container-fluid.p-0:first-of-type {
        margin-top: 75px !important;
    }
}

#header-carousel {
    width: 100% !important;
    max-width: 100% !important;
}

#header-carousel .carousel-inner {
    width: 100% !important;
    max-width: 100% !important;
}

#header-carousel .carousel-item {
    position: relative;
    min-height: 600px;
    height: 70vh;
    overflow: hidden;
    width: 100% !important;
}

#header-carousel .carousel-item img {
    width: 100% !important;
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        min-height: 450px;
        height: 50vh;
    }
}

.page-header {
    background: url(../img/ssr.jpg) center center no-repeat;
    background-size: cover;
    min-height: 400px;
    margin-top: 80px;
}

@media (max-width: 991px) {
    .page-header {
        margin-top: 70px;
    }
}

@media (max-width: 768px) {
    .page-header {
        background: url(../img/carousel-1.jpg) center center no-repeat;
        background-size: cover;
    }
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}


/*** Facts & Quote ***/
.facts,
.quote {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Mobile view - carousel-4.jpg (default) */
.facts {
    background-image: url(../img/carousel-4.jpg);
}

/* Hide any parallax overlay images */
.facts .parallax-mirror,
.facts .parallax-slider {
    display: none !important;
}

/* Desktop view - carousel-5.jpg */
@media (min-width: 768px) {
    .facts {
        background-image: url(../img/carousel-5.jpg) !important;
    }
}

/* How It Works Carousel Fixes */
#how-it-works-carousel {
    width: 100%;
    margin: 0 auto;
}

#how-it-works-carousel .carousel-item {
    min-height: 480px;
    padding: 40px 0;
}

#how-it-works-carousel .carousel-inner {
    overflow: visible;
    width: 100%;
}

#how-it-works-carousel .row {
    width: 100%;
    margin: 0 !important;
    justify-content: center !important;
}

#how-it-works-carousel .col-md-8.col-lg-6 {
    max-width: 600px;
    margin: 0 auto !important;
    padding: 0 15px;
}

#how-it-works-carousel .bg-light.rounded-4 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 2rem 2.25rem !important;
    box-sizing: border-box !important;
    height: 400px;
    min-height: 400px;
    max-height: 400px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#how-it-works-carousel .bg-light.rounded-4 .how-it-works-icon-wrap {
    flex-shrink: 0;
}

#how-it-works-carousel .bg-light.rounded-4 h3 {
    flex-shrink: 0;
}

#how-it-works-carousel .bg-light.rounded-4 p {
    flex: 1 1 auto;
    overflow-y: auto;
    margin-bottom: 0 !important;
    align-self: stretch;
    text-align: center;
}

@media (max-width: 767.98px) {
    #how-it-works-carousel .carousel-item {
        min-height: 420px;
        padding: 24px 0;
    }

    #how-it-works-carousel .bg-light.rounded-4 {
        height: 360px;
        min-height: 360px;
        max-height: 360px;
        padding: 1.5rem 1.25rem !important;
    }
}

.facts > *,
.quote > * {
    position: relative;
    z-index: 1;
}

.facts .container {
    position: relative;
    z-index: 2;
}


/*** Service ***/
.service-item {
    position: relative;
    text-align: center;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transform: scale(1.2);
    transition: .3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.service-item:hover .service-text {
    background: rgba(183, 28, 28, .85);
}

.service-item .service-text h4,
.service-item .service-text p {
    transition: .3;
}

.service-item:hover .service-text h4 {
    color: #FFFFFF;
}

.service-item:hover .service-text p {
    color: var(--light);
}

.service-item .service-text .btn-square {
    width: 100px;
    height: 100px;
    background: transparent;
    transition: .5s;
}

.service-item:hover .service-text .btn-square {
    background: var(--light);
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--light);
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;
}

.service-item:hover .service-text .btn {
    width: 112px;
}


/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(183, 28, 28, .85);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Footer ***/
/* Neon Text Effect for Section Titles */
.neon-title {
    background: linear-gradient(90deg, #ffc107, #DC143C, #6610f2, #ff8900);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: neon-glow 5s ease infinite;
    filter: drop-shadow(0 0 12px rgba(229, 57, 53, 0.65)) drop-shadow(0 0 16px rgba(220, 20, 60, 0.6)) drop-shadow(0 0 20px rgba(102, 16, 242, 0.45));
}

@keyframes neon-glow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.footer {
    background-color: #C62828 !important;
}

/* Gap between Download Our App heading and badges on desktop only */
@media (min-width: 992px) {
    .footer .col-lg-4:last-child .d-flex {
        margin-top: 0rem !important;
    }
}

@media (max-width: 991px) {
    .footer .col-lg-4:last-child .d-flex {
        margin-top: 0rem !important;
    }
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #fff;
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #7F0000;
    margin: 0 !important;
    padding-bottom: 1rem !important;
    padding-top: 1rem !important;
}

.copyright .container-fluid {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.copyright a {
    color: #FFFFFF;
}

.copyright a:hover {
    color: var(--primary);
}

/* Halal / SSL logos (footer certificates row) */
.halal-logo-desktop {
    display: flex !important;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.halal-logo-mobile {
    display: none !important;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .halal-logo-desktop {
        display: none !important;
    }
    
    .halal-logo-mobile {
        display: flex !important;
    }
}

/* About Image Carousel - Vertical Animation */
.about-section .carousel-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    margin-left: 0%;
    margin-right: 0%;
}


.about-section .carousel {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: visible;
    padding: 50px 0;
}

.about-section .carousel__item {
    display: flex;
    align-items: center;
    position: absolute;
    width: 100%;
    padding: 0 12px;
    opacity: 0;
    filter: drop-shadow(0 2px 2px #555);
    will-change: transform, opacity;
    animation: carousel-animate-vertical 9s linear infinite;
}

.about-section .carousel__item:nth-child(1) {
    animation-delay: 0s;
}

.about-section .carousel__item:nth-child(2) {
    animation-delay: -3s;
}

.about-section .carousel__item:nth-child(3) {
    animation-delay: -6s;
}

.about-section .carousel__item-head {
    border-radius: 20px;
    background-color: #f8f9fa;
    width: 200px;
    height: 200px;
    padding: 8px;
    position: relative;
    margin-right: -80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 4px solid #ff7300;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.about-section .carousel__item-image {
    width: 116%;
    height: 116%;
    object-fit: cover;
    border-radius: 20px;
}

.about-section .carousel__item-body {
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    padding: 15px 15px 15px 95px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-section .carousel__item-body .title {
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

@keyframes carousel-animate-vertical {
    0% {
        transform: translateY(100%) scale(0.5);
        opacity: 0;
        visibility: hidden;
    }
    3%,
    33.33% {
        transform: translateY(100%) scale(0.6);
        opacity: 0.4;
        visibility: visible;
    }
    36.33%,
    66.66% {
        transform: translateY(0) scale(1.15);
        opacity: 1;
        visibility: visible;
    }
    69.66%,
    100% {
        transform: translateY(-100%) scale(0.6);
        opacity: 0.4;
        visibility: visible;
    }
}

@media (max-width: 768px) {
    .about-section .carousel-wrapper {
        width: 100%;
        height: 500px;
        margin-left: 0%;
    }
    
    .about-section .carousel__item-head {
        width: 150px;
        height: 150px;
        margin-right: -60px;
        border-radius: 20px;
    }
    
    .about-section .carousel__item-image {
        border-radius: 20px;
    }
    
    .about-section .carousel__item-body {
        padding: 12px 12px 12px 75px;
    }
    
    .about-section .carousel__item-body .title {
        font-size: 15px;
    }
}

/* Halal Modal Styling */
#halalInfoModal .modal-body p {
    color: #000 !important;
}

/* FAQ Section Styling */
.accordion-button {
    font-weight: 600;
    color: #333;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: #fff;
    color: #ff7300;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #ff7300;
}

.accordion-button .fa-plus {
    transition: all 0.3s ease;
    display: inline-block;
}

.accordion-button:not(.collapsed) .fa-plus::before {
    content: "\f068"; /* Font Awesome minus icon */
}

.accordion-body {
    color: #666;
    line-height: 1.6;
    padding: 1.5rem;
}

.accordion-item {
    border: 1px solid #dee2e6;
    border-radius: 8px !important;
    overflow: hidden;
}

/* Contact Tabs System */
.contact-tabs-container {
    position: relative;
}

.contact-tabs-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    margin-bottom: 30px;
    padding-bottom: 10px;
}

.contact-tabs-wrapper::-webkit-scrollbar {
    height: 6px;
}

.contact-tabs-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.contact-tabs-wrapper::-webkit-scrollbar-thumb {
    background: #ff7300;
    border-radius: 10px;
}

.contact-tabs-wrapper::-webkit-scrollbar-thumb:hover {
    background: #ff5500;
}

.contact-tabs {
    display: flex;
    gap: 10px;
    min-width: max-content;
    padding: 5px 0;
}

.contact-tab {
    padding: 12px 24px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.contact-tab:hover {
    background: #e9ecef;
    border-color: #ff7300;
    color: #ff7300;
}

.contact-tab.active {
    background: #ff7300;
    border-color: #ff7300;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 115, 0, 0.3);
}

.contact-tab-content-wrapper {
    position: relative;
    min-height: 300px;
}

.contact-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.contact-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .contact-tab {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .contact-tabs {
        gap: 8px;
    }
}

/* Brands Infinite Carousel */
.brands-slider {
    background: #f8f9fa;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .125);
    height: 120px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
}

.brands-slider::before,
.brands-slider::after {
    background: linear-gradient(to right, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0) 100%);
    content: "";
    height: 120px;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.brands-slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.brands-slider::before {
    left: 0;
    top: 0;
}

/* 20 unique slides × 2 (duplicate for seamless loop) — FAQ / brand strip */
.brands-slide-track {
    animation: brands-scroll 40s linear infinite;
    display: flex;
    width: calc(200px * 40);
    align-items: center;
}

/* “More of our work” VF strip: 26 unique × 2 — slide width must match keyframes (1.6× vs 80px logo cap) */
.brands-slide-track.brands-slide-track--vf {
    width: calc(256px * 52);
    animation: brands-scroll-vf 40s linear infinite;
}

.brands-slide {
    height: 120px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    flex-shrink: 0;
}

.brands-slide img {
    max-height: 80px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.brands-slide:hover img {
    opacity: 1;
    transform: scale(1.1);
}

/* “More of our work” only — ~8px smaller than 1.6×80 cap */
.brands-slider.brands-slider--vf {
    height: 152px;
}

.brands-slider.brands-slider--vf::before,
.brands-slider.brands-slider--vf::after {
    height: 152px;
    width: 180px;
}

.brands-slider.brands-slider--vf .brands-slide {
    height: 152px;
    width: 256px;
    padding: 0 16px;
}

.brands-slider.brands-slider--vf .brands-slide img {
    height: 120px;
    width: auto;
    max-width: min(222px, 85vw);
    max-height: none;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

@keyframes brands-scroll {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        transform: translateX(calc(-200px * 17));
    }
}

@keyframes brands-scroll-vf {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-256px * 26));
    }
}

@media (max-width: 768px) {
    .brands-slider {
        height: 100px;
    }
    
    .brands-slider::before,
    .brands-slider::after {
        height: 100px;
        width: 100px;
    }
    
    .brands-slide {
        height: 100px;
        width: 150px;
        padding: 0 15px;
    }
    
    .brands-slide img {
        max-height: 60px;
        max-width: 120px;
    }
    
    .brands-slide-track {
        width: calc(150px * 40);
        animation: brands-scroll-mobile 40s linear infinite;
    }

    .brands-slide-track.brands-slide-track--vf {
        width: calc(192px * 52);
        animation: brands-scroll-vf-mobile 40s linear infinite;
    }

    .brands-slider.brands-slider--vf {
        height: 120px;
    }

    .brands-slider.brands-slider--vf::before,
    .brands-slider.brands-slider--vf::after {
        height: 120px;
        width: 100px;
    }

    .brands-slider.brands-slider--vf .brands-slide {
        height: 120px;
        width: 192px;
        padding: 0 12px;
    }

    .brands-slider.brands-slider--vf .brands-slide img {
        height: 88px;
        max-width: min(168px, 80vw);
        max-height: none;
    }
}

@keyframes brands-scroll-mobile {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        transform: translateX(calc(-150px * 20));
    }
}

@keyframes brands-scroll-vf-mobile {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-192px * 26));
    }
}

/* How we work — red outline icon rings */
.how-it-works-icon-wrap {
    width: 100px;
    height: 100px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 2.5rem;
    line-height: 1;
    background: transparent;
}

.how-it-works-icon-wrap i {
    line-height: 1;
}