/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.0
 Text Domain:  bricks
*/

@import url(./assets/css/font.css);

.home-main-slider .content h2 strong {
    font-weight: inherit;
}
body {
    font-family: "Inter", Arial, Helvetica, sans-serif;
	font-size:16px;
	font-weight:400;
}
.project-main h2,h3,h4,h5 {
    color: #192e79;
	font-weight:500;
	margin-bottom: 20px;
}
h2 {
    font-size: 32px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

.brx-nav-nested-items {
    gap: 20px;
}
/* h2,
.service2-maunha h3,
.home-main-slider .content h2 {
    font-family: "Inter", Arial, Helvetica, sans-serif;
}
.project-content h2 {
    font-family: inherit;
} */

.page-id-1536 .top-menu.fixed,
.page-id-1693 .top-menu.fixed,
.page-id-2438 .top-menu.fixed,
.top-menu.fixed,
.home .top-menu.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}
.page-id-1536 .top-menu,
.page-id-1536 .top-menu,
.page-id-2438 .top-menu,
.home .top-menu {
    position: absolute;
    left: 0;
    z-index: 99;
}
body:not(.home) .top-menu {
    border-top: 1px solid #f2f2f2;
}

.top-menu {
    background: #fff;
    color: #000;
}

#brxe-tagewe:before {
    margin-left: -2px;
    margin-top: 2px;
    content: url(https://rexamcons.com/wp-content/uploads/2025/03/calling.svg)  
}

#brxe-nrfaxo .swiper-slide:before {
    content: '';
    background: url(https://rexamcons.com/wp-content/uploads/2025/03/Vector-2904.png) no-repeat;
    width: 300px;
    height: 300px;
    top: -10px;
    left: 0;
    position: absolute;
    z-index: 1;
}
#brxe-nrfaxo .swiper-slide:after {
    content: '';
    background-image: url('https://rexamcons.com/wp-content/uploads/2025/03/Vector-2902.png'), url('https://rexamcons.com/wp-content/uploads/2025/03/Vector-2903.png');
    background-position: right bottom, right bottom;
    background-repeat: no-repeat, no-repeat;
    width: 600px;
    height: 300px;
    bottom: -10px;
    right: 0;
    position: absolute;
    z-index: 1;
    background-size: 80%, 100%;
}
.slider-link a {
    position: relative;
}
.slider-link a:after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 100%;
    background: url(https://rexamcons.com/wp-content/uploads/2025/03/Property-1arrow-narrow-up-right.svg);
    background-size: 90%;
    position: absolute;
    right: 15px;
    background-repeat: no-repeat;
    top: 12px;
}
.slider-link a:hover {
    background-color: #c30404;
    border-color: #c30404;
}
#brxe-izqore {
    position: relative;
}
.search-toggle {
    cursor: pointer;
}
#brxe-owiuqg {
    position: absolute;
    right: 0;
    top: 100%;
}
#brxe-owiuqg button {
    color: #fff;
}
#brxe-owiuqg input[type=search] {
    outline: none;
}
.cus-heading {
    background: linear-gradient(180deg, #EA1C15 0%, #C8372D 100%);
    text-transform: uppercase;
    color: #fff;
    padding: 8px 30px;
    border-top-right-radius: 40px;
    border-bottom-left-radius: 40px;
    font-weight: normal;
    font-size: 16px;
}
.home-about ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 30px;
}
#brxe-nyqpbl h2 {
    margin-bottom: 40px;
}
.home-about ul li {
    margin-bottom: 12px;
}
.home-about ul li img {
    margin-right: 5px;
}
#brxe-gumeoj {
    width: 182px;
    text-align: center;
}
#brxe-nkirmz,
#brxe-tvxefy {
    width: calc(100% - 182px)
}
#brxe-kpvill,
#brxe-xioona, #brxe-qrjiqv {
    background: linear-gradient(180deg, #EA1C15 0%, #C8372D 100%);
    color: #fff;
    display: flex;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}
#brxe-kpvill img,
#brxe-xioona img {
    width: 18px;
}
#brxe-pkdwod {
    width: calc(100% - 70px);
}
.sec-dichvu {
    background: url(https://rexamcons.com/wp-content/uploads/2025/03/bg-dichvu.jpg);
    background-size: cover;
    background-position: top center;
}

body #brxe-nqmmpl .products {
    grid-template-columns: initial;
    justify-content: initial;
    gap: 0;
    margin: 0;
}
.footer-top {
    background: url(https://rexamcons.com/wp-content/uploads/2025/03/bg-footer.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 45px 30px;
    position: relative;
}
.footer-top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #C8372DCC;
    z-index: 1;
    border-radius: 20px;
}
.footer-top > div {
    position: relative;
    z-index: 2;
}
.footer-top img {
    border: 1px solid #f2f2f2;
    width: 54px;
    height: 54px;
    padding: 4px;
    border-radius: 50%;
    margin-right: 10px;
}
.footer-social p {
    display: flex;
    align-items: center;
}
.footer-social p img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}
.footer-address p {
    margin-bottom: 0;
}
.footer-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-content ul li {
    margin-bottom: 10px;
}
.footer-content a {
    color: #FFF;
}
.footer-content h4 {
    margin-bottom: 20px;
    font-size: normal;
    font-size: 18px;
}
footer {
    font-size: 14px;
}

/* home  */
:root {
    --size: clamp(10rem, 1rem + 40vmin, 30rem);
    --gap: calc(var(--size) / 14);
    --duration: 60s;
    --scroll-start: 0;
    --scroll-end: calc(-100% - var(--gap));
}
.lists {
    padding: 20px 0 40px;
    position: relative;
  }
  .lists:after {
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 89px;
    width: 100%;
    content: "";
  }
  .lists__slider:hover .lists__marquee .lists__marquee__group {
    /* animation-play-state: paused; */
  }
  .lists__marquee {
    margin: 20px 0;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);
    mask-image: linear-gradient(var(--mask-direction, to right), hsla(0, 0%, 0%, 0), hsl(0, 0%, 0%) 20%, hsl(0, 0%, 0%) 80%, hsla(0, 0%, 0%, 0));
    -webkit-mask-image: linear-gradient(var(--mask-direction, to right), hsla(0, 0%, 0%, 0), hsl(0, 0%, 0%) 20%, hsl(0, 0%, 0%) 80%, hsla(0, 0%, 0%, 0));
  }
  .lists__marquee__group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: var(--gap);
    min-width: 100%;
    animation: scroll-x var(--duration) linear infinite;
    margin: 0;
    padding: 0;
  }
  .lists__marquee__group li {
    text-transform: uppercase;
    font-size: 75px;
    line-height: 1;
    color: #fff;
    text-decoration: none;
    margin: 0 50px;
    position: relative;
    display: block;
    padding-bottom: 10px;
    text-shadow: -1px -1px 0 #5c6d9b, 1px -1px 0 #5c6d9b, -1px 1px 0 #5c6d9b, 1px 1px 0 #5c6d9b;
  }
  .lists__marquee__group li:before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid #5c6d9b;
    border-radius: 50%;
    background-color: #fff;
    top: 50%;
    transform: translateY(-50%);
    right: -55px;
    z-index: 1;
  }
  @media (prefers-reduced-motion: reduce) {
    .lists .lists__marquee__group {
      animation-play-state: paused;
    }
  }
  .lists .marquee--vertical .lists__marquee__group {
    flex-direction: column;
  }
  .lists .marquee--reverse .lists__marquee__group {
    animation-direction: reverse;
    animation-delay: -3s;
  }
  @keyframes scroll-x {
    from {
      transform: translateX(var(--scroll-start));
    }
    to {
      transform: translateX(var(--scroll-end));
    }
}

/* products slider  */
.brxe-woocommerce-products .products.owl-carousel {
    grid-template-columns: initial;
}
.home-products-slider .owl-nav {
    position: absolute;
    top: -80px;
    right: 0;
}
.home-products-slider .owl-nav .owl-prev {
    margin-right: 10px;
}
.home-products-slider li.product {
    padding: 18px;
    border-radius: 16px;
    background: #fff;
}
.home-products-slider li.product p.dynamic {
    text-transform: uppercase;
    color: #EA1C15;
    margin-top: 15px;
    font-size: 13px;
}
.home-products-slider li.product .view-more-pro {
    position: relative;
    padding-left: 20px;
}
.home-products-slider li.product .view-more-pro:before {
    content: "";
    position: absolute;
    width: 12px;
    height: 10px;
    background: url(https://rexamcons.com/wp-content/uploads/2025/04/arrow_right-2.svg) no-repeat;
    background-size: 100%;
    top: 6px;
    left: 0;
    z-index: 1;
}
.home-products-slider li.product h5 {
    position: relative;
}
.home-products-slider li.product h5:before {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    background: url(https://rexamcons.com/wp-content/uploads/2025/04/pro-icon.svg) no-repeat;
    background-size: 100%;
    right: 10px;
    top: -80px;
    z-index: 1;
}
.slider-team .image,
.slider-project .image {
    background-color: initial !important;
}

@media screen and (min-width: 1400px) {
    .brxe-container {
        width: 1300px;
    }
}
@media screen and (max-width: 991px) {
    #brxe-iayvos {
        order: -1;
        width: auto;
    }
    .top-menu.fixed #brxe-zerhru li .brxe-toggle {
        display: none;
    }
    #brxe-zerhru .brxe-toggle {
        display: inline-flex;
    }
    #brxe-zerhru.brx-open .brx-nav-nested-items {
        background-color: #192e79 !important;
        padding: 0;
    }
    #brxe-zerhru.brx-open li.menu-item {
        display: flex;
    }
    #brxe-zerhru.brx-open .brx-nav-nested-items > li {
        justify-content: flex-start;
    }
    #brxe-zerhru.brx-open li {
        padding: 10px 10px;
        border-bottom: 1px solid #fff;
    }
    .brx-nav-nested-items {
        display: none;
    }
    #brxe-zerhru.brx-open .brx-nav-nested-items {
        display: flex;
        justify-content: flex-start;
        color: #fff;
    }
    #brxe-zerhru.brx-open .brx-nav-nested-items a {
        color: #fff;
    }
    #brxe-zerhru.brx-open .brx-dropdown-content a {
        color: #000;
    }
}
@media screen and (max-width: 768px) {
    .process-container {
        flex-wrap: wrap;
    }
    body #brxe-ijcfkq .bricks-site-logo {
        height: 30px;
    }
    body .pxl-banner-inner {
        padding-left: 0;
        padding-top: 0;
    }
    body .box-image-top {
        display: none;
    }
    body .pxl-item--meta {
        position: static;
        writing-mode: initial;
    }
    body .pxl-banner1 .pxl-inner-meta {
        transform: none;
    }
    body #brxe-nrfaxo .swiper-slide:before,
    body #brxe-nrfaxo .swiper-slide:after {
        display: none;
    }
    .home-main-slider .content h2 {
         font-size: 30px !important;
    }
    .slider-content .brxe-container {
        width: auto;
    }
    .home-main-slider .content {
         max-width: 100% !important;
    }
    .home-main-slider .content p {
        display: none;
    }
    /*#brxe-pkdwod {
        display: none;
    }*/
    body .sec-portfolio .num,
    .lists__marquee__group li {
        font-size: 40px;
    }
}

.pxl-scroll-top {
    width: 55px;
    height: 55px;
    -webkit-border-radius: 55px;
    -khtml-border-radius: 55px;
    -moz-border-radius: 55px;
    -ms-border-radius: 55px;
    -o-border-radius: 55px;
    border-radius: 55px;
    padding: 6px;
    text-align: left;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #e63a27;
    z-index: 9999;
    -webkit-box-shadow: 0 0 25px rgba(23, 23, 23, .25);
    -khtml-box-shadow: 0 0 25px rgba(23, 23, 23, .25);
    -moz-box-shadow: 0 0 25px rgba(23, 23, 23, .25);
    -ms-box-shadow: 0 0 25px rgba(23, 23, 23, .25);
    -o-box-shadow: 0 0 25px rgba(23, 23, 23, .25);
    box-shadow: 0 0 25px rgba(23, 23, 23, .25);
    color: #fff;
    text-align: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateX(130%);
    -khtml-transform: translateX(130%);
    -moz-transform: translateX(130%);
    -ms-transform: translateX(130%);
    -o-transform: translateX(130%);
    transform: translateX(130%);
    -webkit-transition: all 300ms linear 0ms;
    -khtml-transition: all 300ms linear 0ms;
    -moz-transition: all 300ms linear 0ms;
    -ms-transition: all 300ms linear 0ms;
    -o-transition: all 300ms linear 0ms;
    transition: all 300ms linear 0ms;
}
.pxl-scroll-top.pxl-on {
    opacity: 1;
    -webkit-transform: translateX(0%);
    -khtml-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);
    visibility: visible;
}
.pxl-scroll-top i {
    content: "";
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #000;
    background-color: #fff;
    z-index: 1;
    height: 45px;
    width: 45px;
    border-radius: 45px;
}


body .swiper-wrapper {
    display: flex;
}
.button-morong {
    text-align: center;
    width: 100%;
}
.toggle-huongdan {
    margin: 0 auto;
    cursor: pointer;
    margin-top: -50px;
    z-index: 2;
    background: transparent;
    color: red;
    font-weight: bold;
    position: relative;
    padding: 5px;
}
.toggle-huongdan:after{
    content: "";
    position: absolute;
    left: 100%;
    width: 20px;
    height: 20px;
    background: url(https://rexamcons.com/wp-content/uploads/2025/04/icon-down.svg);
    background-size: 100%;
    transition: all .3s;
}
.toggle-huongdan.active {
    margin-top: 0px;
}
.toggle-huongdan.active:after {
    transform: rotate(180deg);
}
.sv-content-baotri:after,
.sv-content-luuy:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    content: "";
    background: linear-gradient(rgba(255, 255, 255, .6) 0, #fff 80%);
}
.brxe-text.expanded:after {
    display: none;
}
@keyframes slideInFromLeft {
    from {
      transform: translateX(-100px);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

.toc-service {
    visibility: hidden;
}
.toc-service-item {
    opacity: 0;
    transform: translateX(-100px);
    animation: slideInFromLeft 0.8s ease-out forwards;
}