/********** Template CSS **********/
:root {
    --primary: #D50004;
    --secondary: #00264C;
    --light: #F8F2F0;
    --dark: #374151;
    --gray: #505050;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/svn-gilroy/SVN-Gilroy-Regular.otf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/svn-gilroy/SVN-Gilroy-Bold.otf');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'SVN-Gilroy Bold';
  src: url('../fonts/svn-gilroy/SVN-Gilroy-Bold.otf');
  font-weight: normal;
  font-style: normal;
}

body {
    font-family: 'SVN-Gilroy';
    font-size: 14px;
    line-height: 24px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

p:last-of-type {
    margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'SVN-Gilroy Bold';
  margin: 0;
  font-weight: 700;
}

.gap-16 {
    gap: 16px;
}

.gap-20 {
    gap: 20px;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Images ***/

.images-box {
    position: relative;
    overflow: hidden;
}

.images-box::before {
    content: '';
    display: block;
    padding-top: 85%;
}

.images-box .img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.images-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*** Section title ***/

.section-title h6 {
    color: var(--primary);
    font-size: 14px;
    line-height: 24px;
    text-transform: uppercase;
    letter-spacing: 1.6px;
}

.section-title h3 {
    font-size: 28px;
    line-height: 40px;
    text-transform: capitalize;
    margin-bottom: 0;
}

.section-title p {
    letter-spacing: .32px;
}

@media (max-width: 767px) {

    .section-title h3 {
        font-size: 28px;
        line-height: 35px;
    }
}

/*** Button ***/

.back-to-top {
    background: var(--primary);
    color: white;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.back-to-top:hover {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
}

.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;
}

.btn-custom {
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    border-radius: 26px;
}

.btn-custom:hover {
    background: var(--primary);
    color: white;
}

.btn-custom:hover img {
    filter: brightness(0) invert(1);
}

/*** Navbar ***/

.header {
    transition: all .5s;
}

.header-area .logo img {
    width: 160px;
}

.m-menu-item {
    display: none;
    margin-top: 10px;
}

.m-menu-item a {
    width: 100%;
    border-radius: 0;
    background: var(--primary);
    color: white;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav {
    gap: 24px;
}

.navbar-light .navbar-nav .nav-link {
    padding: 0;
    position: relative;
    color: black;
    font-weight: 700;
    text-transform: capitalize;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-light .navbar-nav .nav-link.active {
    text-transform: uppercase;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-toggler:focus {
    box-shadow: none;
}

.navbar-light .navbar-nav .submenu {
    min-width: 200px;
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.navbar-light .navbar-nav .submenu li a {
    color: black;
    display: block;
    padding: 6px 10px;
}

.navbar-light .navbar-nav .submenu li a:hover {
    color: var(--primary);
}

@media (min-width: 992px) and (max-width: 1199px) {

    .navbar-light .navbar-nav {
        gap: 16px;
    }
}

@media (min-width: 992px) {

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .navbar-light .navbar-nav .submenu {
        position: absolute;
        transition: all 0.3s ease-in-out;
        margin-top: 30px;
        background: white;
        border: none;
        visibility: hidden;
    }

    .navbar-light .navbar-nav .nav-item:hover .submenu {
        visibility: visible;
        margin-top: 0;
    }
}

@media (max-width: 991px) {

    .toggle-language {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .menu-language a {
        color: black;
    }

    .menu-language a.active {
        color: var(--primary);
    }

    .m-menu-item {
        display: block;
    }

    .navbar .offcanvas {
        background: #ececec;
        max-width: 80%;
        z-index: 1200;
    }

    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
        color: black;
    }

    .navbar-light .navbar-nav .nav-link:hover, 
    .navbar-light .navbar-nav .nav-link.active {
        color: var(--primary);
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }

    .offcanvas-header {
        background: white;
    }

    .offcanvas-header img {
        width: 180px;
    }

    .offcanvas-header .btn-close:focus, 
    .search-project-frm input[type="text"]:focus {
        box-shadow: none;
    }

    .search-project-frm {
        padding: 1px 10px;
        margin: 10px 0;
        width: 100%;
    }

    .search-project-frm input[type="text"] {
        border: 0;
    }

    .navbar .offcanvas-body {
        padding: 0;
    }

    .navbar .navbar-nav {
        gap: 12px;
        padding: 16px;
        background: white;
    }
}

.box-search a {
    color: black;
}

.content-form {
    background-color: transparent;
    border: none;
}

.searchform {
    position: relative;
}

.searchform-wrapper form {
    margin-bottom: 0;
}

.flex-row {
    -js-display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
}

.flex-row {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.flex-grow {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -ms-flex-negative: 1;
    -ms-flex-preferred-size: auto;
}

.flex-row .flex-col {
    padding-right: 4px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

.searchform-wrapper input[type=text] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, .09);
    padding: 0 0.75em;
    height: 67px;
    font-size: .97em;
    border-radius: 0;
    max-width: 100%;
    width: 100%;
    vertical-align: middle;
    background-color: rgba(255, 255, 255, .2);
    color: white;
    -webkit-box-shadow: inset 0 1px 2px rgb(0 0 0 / 10%);
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 10%);
    -webkit-transition: color .3s, border .3s, background .3s, opacity .3s;
    -o-transition: color .3s,border .3s,background .3s,opacity .3s;
    transition: color .3s, border .3s, background .3s, opacity .3s;
    border-radius: 99px;
    padding: 0 20px;
}

.searchform input[type=text] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.searchform input[type=text]::placeholder {
    color: white;
    font-size: 20px;
}

.searchform input[type=text]:focus, 
.searchform input[type=text]:focus-visible {
    outline: none;
}

.searchform-wrapper .flex-col:last-of-type {
    margin-left: -2.9em;
}

.searchform .icon {
    color: currentColor;
    border-color: transparent;
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.searchform .icon i {
    color: white;
}

.topper a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
}

.topper span {
    display: block;
    font-size: 12px;
    line-height: 18px;
}

.topper span:last-child {
    color: black;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: .64px;
}

.porfolio-button a {
    padding: 12px 20px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-menu {
    position: relative;
}

.language-menu a {
    display: block;
    color: black;
}

.language-menu ul.dropdown {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    left: -7px;
    top: 47px;
    width: 110px;
    background: white;
    color: black;
    z-index: 99;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.language-menu:hover ul.dropdown {
    opacity: 1;
    visibility: visible;
}

.language-menu ul.dropdown a {
    padding: 5px 12px;
}

.content-bottom__offcanvas {
    margin: 12px 0 0;
    padding: 16px;
    background: white;
}

.content-bottom__offcanvas h3 {
    font-size: 14px;
    line-height: 24px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: black;
}

.content-bottom__offcanvas ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/*** Banner ***/

.banner-slider {
    border-radius: 36px;
}

.banner-item .bn-item {
    height: 100%;
    min-height: 526px;
}

.set-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

.banner-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 80px;
    width: 100%;
    color: white;
}

.banner-content h3 {
    font-size: 40px;
    line-height: 60px;
    text-transform: uppercase;
}

.banner-content h3 label {
    padding: 8px 12px;
    transform: skew(-16deg);
    background: var(--primary);
}

.banner-content h3 span {
    display: block;
    transform: skew(16deg);
}

.banner-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
}

.banner-slider .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--primary);
}

.certification {
    position: absolute;
    z-index: 1;
    bottom: 50px;
    right: 50px;
    border-radius: 4px;
    overflow: hidden;
}

.certification img {
    width: 134px;
}

@media (min-width: 768px) {

    .banner-slider .swiper-pagination {
        bottom: inherit;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
        left: inherit;
        display: flex;
        flex-direction: column;
        gap: 6px;
        width: auto;
        background: white;
        padding: 16px 9px;
        border-top-left-radius: 22px;
        border-bottom-left-radius: 22px
    }

    .banner-slider .swiper-pagination-bullet {
        margin: 0 !important;
    }
}

@media (max-width: 991px) {

    .banner-item .bn-item {
        min-height: 320px;
    }

    .certification {
        bottom: 24px;
    }

}

@media (max-width: 767px) {

    .banner-content {
        left: 30px;
    }

    .banner-content h3 {
        font-size: 24px;
        line-height: 40px;
    }

    .certification {
        bottom: 32px;
        right: 30px;
    }

    .certification img {
        width: 125px;
    }
}

/*** About ***/

.about-content p {
    /* padding: 16px 0 32px; */
}

.about-content a.btn-custom {
    padding: 6px 33px;
    background: var(--primary);
    color: white;
    text-transform: capitalize;
}

.about-content a.btn-custom img {
    filter: brightness(0) invert(1);
    margin-left: 8px;
}

.icon-box {
    display: flex;
    align-items: flex-start;
    flex-flow: row wrap;
    width: 100%;
}

.icon-box:not(:last-child) {
    margin-bottom: 27px;
}

.icon-box .thumb {
    position: relative;
    flex: 0 0 auto;
    background: #FFF5F5;
    padding: 10px;
    border-radius: 12px;
}

.icon-box .content {
    flex: 1 1 0px;
    padding-left: 20px;
}

.icon-box h6 {
    font-size: 14px;
    line-height: 24px;
}

.icon-box p {
    font-size: 12px;
    line-height: 22px;
    color: #646464;
}

/*** Marquee ***/

.marquee-wrapper {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.marquee-content {
    display: inline-flex;
    gap: 24px;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
}

.marquee-content:not(:last-child) {
    margin-right: 24px;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 24px;
}

.marquee-item .thumb {
    width: 45px;
}

.marquee-item h3 {
    font-size: 48px;
    line-height: 56px;
    color: transparent;
    -webkit-text-stroke: 1px #5B5B5B;
    text-transform: uppercase;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/*** Service ***/

.service-content a.btn-custom {
    margin-top: 24px;
    padding-left: 35px;
    padding-right: 35px;
}

.service-item .images-box {
    border-radius: 24px;
}

.service-item .images-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(360deg, #000000 0%, rgba(0, 0, 0, 0) 86.22%);
    width: 100%;
    height: 35%;
}

.service-item a {
    display: block;
    color: white;
    position: relative;
}

.service-item a:hover .images-box::after {
    background: linear-gradient(360deg, #720002 0%, rgba(213, 0, 4, 0) 86.22%);
}

.service-item a:hover h6 {
    text-decoration: underline;
}

.service-item .service-content {
    padding: 24px;
    text-transform: capitalize;
    position: absolute;
    bottom: 0;
    left: 0;
}

.view-circle {
    display: none;
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary);
    border-radius: 50%;
    padding: 17px;
}

.view-circle img {
    filter: brightness(0) invert(1);
}

.service-item a:hover .view-circle {
    display: inline-block;
}

/*** Why Us ***/

.why-us {
    background: url('../img/bg-why.jpg') center no-repeat;
    background-size: cover;
}

.video-button a {
    display: inline-block;
}

.why-content {
    background: white;
    padding: 33px 40px;
    border-radius: 20px;
}

.why-content ul {
    list-style: none;
    padding: 0;
    margin-top: 16px;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    row-gap: 12px;
    font-weight: 600;
}

.why-content ul i {
    color: var(--primary);
    margin-right: 12px;
}

@media (min-width: 768px) {

    .why-content li {
        max-width: 50%;
        flex: 0 0 50%;
    }
}

@media (max-width: 767px) {

    .why-content {
        padding-left: 24px;
        padding-right: 24px;
    }
}

/*** Feature ***/

.count-item {
    font-weight: 600;
}

.count-item h3 {
    /*font-size: 96px;*/
    font-size: 50px;
    color: var(--primary);
}

.count-item h3 span:first-child {
    color: transparent;
    -webkit-text-stroke: 1px #5B5B5B;
}

@media (max-width: 991px) {

    .count-item h3 {
        font-size: 32px;
    }
}

/*** Technology ***/

.technology-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.large-image::before {
    padding-top: 48%;
}

.technology-content {
    width: 100%;
    padding: 16px 0;
    background: #00000082;
    color: white;
    text-align: center;
    position: absolute;
    bottom: -55px;
    left: 0;
    transition: all 0.5s ease 0s;
}

.technology-item:hover .technology-content {
    bottom: 0;
}

.technology-content h6 {
    font-weight: 500;
}
.technology-list {
    display: grid;
    grid-template-columns: repeat(12, 1fr); 
    gap: 20px;
}

.technology-item {
    grid-column: span 3; 
}

.technology-item.tech-large {
    grid-column: span 6; 
}
.technology-item .images-box{
    width: 100%;
    height: 100%;
    max-height: 300px;
    object-fit: cover;
}
/********************** 
        MOBILE
***********************/
@media(max-width: 767px){
    .technology-item,
    .technology-item.tech-large {
        grid-column: span 12; 
    }
}

/*** Contact ***/

.contact {
    background: url('../img/bg-contact.png') center no-repeat;
    background-size: cover;
}

.contact-form input,
.contact-form textarea {
    padding-top: 12px;
    padding-bottom: 12px;
    background: transparent;
    border: none;
    border-bottom: 1px solid white;
    border-radius: 0;
    color: white;
}

.contact-form label {
    color: white;
    padding-top: 12px;
    padding-bottom: 12px;
}

.contact .contact-form input:focus~label,
.contact .contact-form textarea:focus~label {
    color: white;
}

.contact .contact-form input:focus~label::after,
.contact .contact-form textarea:focus~label::after {
    background-color: transparent;
    border-radius: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
    color: white;
    background-color: transparent;
    box-shadow: none;
    border-bottom-color: white;
}

.contact-form button.btn-custom {
    border-color: white;
    background: white;
    padding: 6px 33px;
}

.contact-form button.btn-custom:hover {
    background: white;
    color: var(--primary);
}

.contact-form button.btn-custom:hover img {
    filter: inherit;
}

/*** Footer ***/

.footer {
    background: #242A2E;
    color: white;
}

.footer-logo img {
    width: 295px;
}

.footer-item h3 {
    position: relative;
    color: white;
    font-size: 18px;
    line-height: 28px;
    text-transform: uppercase;
    letter-spacing: .64px;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.footer-item h3::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--primary);
    width: 60px;
    height: 2px;
}

.footer-item-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 24px;
}

.footer-item-info li span {
    display: block;
    font-weight: 400;
}

.footer-item-info li:not(:last-child) {
    margin-bottom: 22px;
}

.footer-item-info li h6 {
    font-size: 15px;
    margin-bottom: 0;
}

.footer-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-item-nav ul {
    display: flex;
    flex-wrap: wrap;
}

.footer-item-nav li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-item-nav li {
    flex: 0 0 50%;
    max-width: 50%;
}

.footer-item li a {
    display: block;
    font-size: 15px;
    color: white;
    text-transform: capitalize;
}

.footer-item li a:hover {
    color: var(--primary);
}

.copyright {
    margin-top: 82px;
    padding: 14px 0 20px;
    border-top: 1px solid #FFFFFF17;
    letter-spacing: .32px;
    color: white;
}

.copyright a {
    color: white;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icon a {
    font-size: 23px;
    color: #939393;
}

/*@media (min-width: 768px) {
    
    .footer-item-info li{
        flex: 0 0 50%;
        max-width: 50%;
    }
}*/

@media (max-width: 767px) {

    .copyright {
        text-align: center;
    }
}

/* ----------------------------------- Other Pages Styles ----------------------------------- */

/*--------------------------------------------------------------
# Service Page
--------------------------------------------------------------*/

.banner-title {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 80px;
    transform: translateY(-50%);
    color: white;
}

.banner-title h3 {
    font-size: 40px;
    line-height: 46px;
    text-transform: uppercase;
    letter-spacing: .64px;
}

.banner-title .breadcrumb-item+.breadcrumb-item::before {
    content: '>';
    color: white;
}

.service-sidebar-title {
    position: relative;
    display: inline-block;
    padding: 13px 42px;
    background: var(--primary);
    color: white;
    margin-left: -12px;
}

.service-sidebar-title::after {
    content: '';
    border-top: 50px solid transparent;
    border-left: 50px solid var(--primary);
    position: absolute;
    top: 0;
    right: -50px;
    transform: rotate(90deg);
}

.service-sidebar-title::before {
    content: '';
    border-bottom: 12px solid transparent;
    border-left: 12px solid #800D18;
    position: absolute;
    bottom: -12px;
    left: 0;
    transform: rotate(-270deg);
}

.service-sidebar-title h3 {
    font-size: 18px;
    line-height: 24px;
}

.service-sidebar {
    position: relative;
    padding: 44px 0;
    box-shadow: 0px 0px 23.3px 0px #00000012;
    margin-top: -24px;
}

.service-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-sidebar li {
    display: block;
    padding-left: 35px;
    padding-right: 35px;
    border-left: 3px solid transparent;
}

.service-sidebar li:hover,
.service-sidebar li.active {
    border-left-color: var(--primary);
}

.service-sidebar li:not(:last-child) {
    margin-bottom: 19px;
}

.service-sidebar a {
    display: block;
    text-transform: capitalize;
    font-size: 16px;
    line-height: 24px;
    color: black;
}

.service-sidebar a:hover,
.service-sidebar li.active a {
    font-weight: 700;
}

.service-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.search-input-group {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #54595F;
}

.search-input-group input {
    border: none;
    border-radius: 0;
    font-size: 15px;
    line-height: 24px;
}

.search-input-group input:focus {
    box-shadow: none;
    border: none;
}

.search-input-group .btn-search {
    background: transparent;
    border: none;
}

.service-select {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: black;
}

.service-select select {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #54595F;
    color: #7A7A7A;
}

.service-select select:focus {
    box-shadow: none;
    border-bottom-color: #54595F;
}

.item-service a {
    display: block;
    color: black;
}

.service-image {
    margin-bottom: 12px;
}

.service-image::before {
    padding-top: 70%;
}

.service-content .code {
    font-size: 12px;
    line-height: 20px;
    color: #7A7A7A;
}

.service-content h6 {
    font-family: 'SVN-Gilroy';
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
}

.service-content .price {
    color: var(--primary);
}

@media (max-width: 991px) {
    .service-sidebar li {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 767px) {

    .service-group {
        flex-direction: column;
        align-items: inherit;
        gap: 8px;
    }
}

/*--------------------------------------------------------------
# Service Single Page
--------------------------------------------------------------*/

.service-single .breadcrumb-item+.breadcrumb-item::before {
    content: '>';
}

.service-single .breadcrumb li.active,
.service-single .breadcrumb a {
    font-size: 16px;
    color: black;
    text-transform: capitalize;
}

.gallery-content {
    display: flex;
}

.swiper-thumbs {
    max-width: 157px;
    max-height: 490px;
    margin-left: 0;
}

/*.item-services .thumb::before {
    padding-top: 90%;
}*/

.swiper-thumbs .swiper-wrapper {
    flex-direction: column;
    gap: 8px;
}

.swiper-thumb {
    align-items: center;
    border: 1px solid #e0e5eb;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    height: auto !important;
    justify-content: center;
    transition: border-color .2s ease-in-out;
    width: auto !important;
}


.swiper-container {
    max-width: 568px;
    margin: 0;
}

.swiper-container .swiper-slide {
    width: 568px;
}

.service-single-info h1 {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 8px;
}

.service-single-info .code span {
    display: inline-block;
    line-height: 30px;
}

.price-show {
    color: var(--primary);
    font-size: 18px;
    line-height: 30px;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 16px;
}

.quanlity {
    margin-top: 32px;
}

.form-detail-action {
    display: flex;
    align-items: center;
    gap: 24px;
}

.quantity {
    display: flex;
    width: 134px;
    height: 32px;
    font-weight: 600;
    font-size: 18px;
    line-height: 23px;
}

.quantity__augure, 
.quantity__reduce {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 100%;
    border: 1px solid #ccc;
    color: black;
}

.quantity input[type="number"] {
    border: none;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background-color: transparent;
    pointer-events: none;
    text-align: center;
    flex: 1;
    max-width: 40px;
    -moz-appearance: textfield;
}

.quantity input[type="number"]:focus-visible {
  outline: none;
}

.quantity input[type="number"]::-webkit-outer-spin-button,
.quantity input[type="number"]::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.addcart-content {
    margin-top: 24px;
}

.addcart-content a {
    background: var(--primary);
    color: white;
    padding: 12px 40px;
    font-size: 16px;
    line-height: 24px;
    border-radius: 0;
}

.addcart-content a img {
    margin-right: 12px;
}

.addcart-content a:hover {
    background: black;
    color: white;
}

.service-single-content {
    border-bottom: 2px solid #E8E7E7;
    margin: 48px 0;
}

.nav-wrapper .nav-tabs {
    justify-content: center;
    gap: 32px;
}

.nav-wrapper .nav-tabs li .nav-link {
    border: none;
    font-weight: 700;
    font-size: 24px;
    text-transform: capitalize;
    color: #7A7A7A;
}

.nav-wrapper .nav-tabs li .nav-link.active {
    color: black;
    border-bottom: 2px solid var(--primary);
}

.service-single-description h3 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 12px;
}

.service-related .title {
    background: var(--primary);
    color: white;
    padding: 20px 0;
    margin-bottom: 40px;
}

.service-related .title h3 {
    font-size: 32px;
    line-height: 40px;
}

@media (max-width: 991px) {

    .gallery-content {
        flex-direction: column-reverse;
        gap: 8px;
    }

    .swiper-container {
        max-width: 100%;
    }

    .swiper-thumbs .swiper-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .swiper-thumbs {
        max-width: 100%;
    }

    .swiper-thumbs .swiper-slide {
        width: 100% !important;
        height: 100% !important;
        max-width: 25%;
        flex: 0 0 25%;
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {

    .nav-wrapper {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        white-space: nowrap;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }

    .nav-wrapper ul {
        flex-wrap: nowrap;
    }
}

/*--------------------------------------------------------------
# Single Start Page
--------------------------------------------------------------*/

.practice-page-view-title h1 {
    font-size: 24px;
}

.levels-practice {
    max-width: 700px;
    margin: 0 auto 30px;
}

.levels-practice .item {
    display: flex;
    margin-bottom: 10px;
    font-weight: 600;
}

.levels-practice .item p {
    width: 150px;
}

.levels-practice .item-body {
    flex: 1;
    display: flex;
    align-items: center;
}

.levels-practice .item-body > span {
    width: 40px;
    font-size: 13px;
    color: #949ba3;
}

.proprogress-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: block;
    height: 10px;
    z-index: 0;
    background-color: rgb(231, 236, 239);
    border-radius: 5px;
}

.proprogress-item .percent {
    display: flex;
    height: 100%;
}

.proprogress-item.first span.percent {
    background: var(--primary);
}

.proprogress-item.second span.percent {
    background: var(--secondary);
}

.proprogress-item.third span.percent {
    background: var(--orange);
}

@media (max-width: 1444px) {

    .levels-practice .item p {
        font-size: 14px;
    }

    .levels-practice .item-body > span {
        font-size: 12px;
    }
}
/* 
---------------------------------------------
News Style
--------------------------------------------- 
*/

.slide-row {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  max-width: 100%;
  height: 450px;
}

.img-slide {
  width: 729px;
  max-width: 100%;
}

.img-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.content-slide {
  background-color: black;
  color: white;
  width: calc(100% - 729px);
  max-width: 100%;
  padding: 50px;
}

.content-slide h6 {
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  margin-bottom: 24px;
}

.content-slide h3 {
  font-weight: 400;
  font-size: 28px;
  line-height: 38px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
  margin-bottom: 20px;
}

.content-slide h3 a {
  display: block;
  color: white;
}

.content-slide h3 a:hover {
  text-decoration: underline;
}

.content-slide p {
  color: #737373;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
  margin-bottom: 0;
}

.news-slider .swiper-button-prev::after,
.news-slider .swiper-button-next::after {
  display: none;
}

.news-slider .swiper-button-prev, 
.news-slider .swiper-button-next {
    width: 32px;
    height: 32px;
    bottom: 0;
    top: unset;
}

.news-slider .swiper-pagination .swiper-pagination-bullet {
    width: 30px;
    background-color: #d9d9d9;
    height: 2px;
    border-radius: unset;
    margin: 0;
}

.news-slider .swiper-pagination.swiper-pagination-bullets {
  transform: translate(0%, 0px);
  width: 294px;
  margin-left: 48px;
  margin-right: 48px;
  bottom: 48px;
  left: 810px;
}

.news-slider .swiper-button-prev, 
.news-slider .swiper-button-next {
  bottom: 32px;
}

.news-slider .swiper-button-prev {
  left: 810px !important;
}

.news-slider .swiper-button-next {
  left: 1168px !important;
  transform: matrix(-1, 0, 0, 1, 0, 0);
}

.posts-nav {
  margin-bottom: 40px;
  overflow: auto;
}

.posts-nav ul {
  border-bottom: 1px solid #d9d9d9;
  list-style: none;
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 40px;
}

.posts-nav a {
  color: black;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  transition: all 0.2s ease-in-out;
  position: relative;
  display: block;
  padding-bottom: 24px;
}

.posts-nav li.active a,
.posts-nav a:hover {
  color: var(--primary);
}

.new-item .images-box::before {
  padding-top: 65%;
}

.new-item a {
  color: black;
  display: block;
}

.new-item h3 a:hover {
  text-decoration: underline;
}

.new-item h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 29px;
  margin-bottom: 16px;
}

.new-item p {
  color: #737373;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
}

.content-gallery {
  background: #f2f2f2;
}

.content-gallery h6,
.content-gallery h3 a {
  color: black;
}

@media screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {

  .img-slide {
    width: 650px;
  }

  .content-slide {
    width: calc(100% - 650px);
  }

  .news-slider .swiper-pagination.swiper-pagination-bullets {
    left: 680px;
  }

  .news-slider .swiper-button-prev {
    left: 690px !important;
  }

  .news-slider .swiper-button-next {
    left: 1030px !important;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1128px) and (orientation: landscape) {

  
  .news-slider .swiper-pagination.swiper-pagination-bullets {
    width: 200px;
    left: 640px;
  }

  .news-slider .swiper-pagination .swiper-pagination-bullet {
    width: 20px;
  }

  .content-slide {
    width: calc(100% - 600px);
  }

  .news-slider .swiper-button-next {
    left: 860px !important;
  }
}

@media (max-width: 1280px) {

  .content-slide {
    padding: 50px;
  }
}

@media (max-width: 991px) {

  .slide-row {
    flex-direction: column;
    height: auto;
  }

  .content-slide {
    width: 100%;
    padding: 32px;
  }
}

/**** News UI – Standardized ****/
/* Tokens */
:root{
  --news-bg: #F6F6F6;
  --news-card-bg:#fff;
  --news-text:#242A2E;
  --news-subtext:#646464;
  --news-muted:#555;
  --news-link:#1976d2;
  --news-border:#f1f1f1;
  --news-border-2:#f5f5f5;
  --news-divider:#CFCFCF;
  --overlay: rgba(0,0,0,.61);
  --radius-sm: .5rem;         /* 8px */
  --radius-md: .75rem;        /* 12px */
  --radius-lg: 1.25rem;       /* 20px */
  --shadow-sm: 0 3px 10px rgba(0,0,0,.05);
  --shadow-md: 0 6px 14px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 20px rgba(0,0,0,.10);
  --ease: cubic-bezier(.2,.6,.2,1);
}

/*** Base ***/
.news{ background: var(--news-bg); }
.news-item a{ display:block; text-decoration:none; color:inherit; }

/*** Thumb box (giữ tỉ lệ, bo góc, overlay date) ***/
.news-box-image{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem; /* 16px */
  background: #f8f8f8;
}
.news-box-image img{
  width:100%; height:100%;
  object-fit:cover; display:block;
  transition: transform .35s var(--ease);
}
.news-item:hover .news-box-image img{ transform: scale(1.04); }

/* Aspect ratio 70% */
.news-box-image::before{
  content:"";
  display:block;
  padding-top: 70%;
}

/* Date badge */
.news-date{
  position:absolute; left:10px; bottom:10px;
  background: var(--overlay);
  color:#fff;
  font-size:.8125rem;          /* 13px */
  line-height:1.25rem;         /* 20px */
  padding: .25rem 1.25rem;     /* 4px 20px */
  border-radius: 17px;
  backdrop-filter: blur(2px);
}

/*** Content ***/
.news-content{
  color: var(--news-subtext);
  font-size:.8125rem;          /* 13px */
  line-height:1.25rem;         /* 20px */
}
.news-content h3{
  font-size:1rem;              /* 16px */
  line-height:1.5rem;          /* 24px */
  color: var(--news-text);
  margin-bottom:.5rem;         /* 8px */
  font-weight:600;
}
.news-content p{
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
}

/*** “Xem thêm” ***/
.news-more{
  margin-top:1rem; padding-top:1rem;
  border-top:1px solid var(--news-divider);
  color: var(--news-text);
  font-size:1rem; line-height:1.5rem;
  display:flex; align-items:center; gap:.5rem;
}
.news-more .icon{
  background:transparent;
  border-radius:30px;
  display:inline-flex; align-items:center; justify-content:center;
  transition: background-color .2s var(--ease), filter .2s var(--ease);
}
.news-item a:hover .icon{ background: var(--news-link); }
.news-item a:hover .icon img{ filter: brightness(0) invert(1); }

/*** Category/Tabs/List Card (news-posts) ***/
/* Tiêu đề bài (2 dòng, ellipsis) – sử dụng lại ở nhiều nơi */
.news-title a{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:1rem; font-weight:600;
  color:#333;
  transition: color .2s var(--ease);
}
.news-title a:hover{ color: var(--news-link); }

/* Tabs */
.news-posts .nav-tabs{
  border-bottom:none;
  justify-content:center;
  gap:.75rem;
}
.news-posts .nav-tabs .nav-link{
  border:none; background:transparent;
  font-weight:500; font-size:1rem; color:#555;
  padding:.6rem 1.2rem; border-radius:20px;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.news-posts .nav-tabs .nav-link:hover{ background:#f5f5f5; color:#222; }
.news-posts .nav-tabs .nav-link.active{
  background:#e8f3ff; color: var(--news-link); font-weight:600;
}

/* Card */
.news-posts .card{
  border:1px solid var(--news-border);
  border-radius: var(--radius-md);
  overflow:hidden; background: var(--news-card-bg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: var(--shadow-sm);
}
.news-posts .card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.news-posts .card-img-top{
  border-bottom:1px solid var(--news-border-2);
  transition: transform .3s var(--ease);
  width:100%; aspect-ratio:16/9; object-fit:cover; display:block;
}
.news-posts .card:hover .card-img-top{ transform: scale(1.04); }
.news-posts .card-body{ padding:1rem; }
.news-posts .card-text{
  font-size:.9rem; color:#666; line-height:1.5;
}

/*** Related Articles (Owl) ***/
.section-title h3{
  font-size:1.25rem; font-weight:700; color:#222;
}
.related-articles{ padding:.5rem 2.5rem; position:relative; }
.related-articles__nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:40px; height:40px; border-radius:50%;
  border:1px solid #eee; box-shadow:0 3px 12px rgba(0,0,0,.08);
  display:flex; align-items:center; justify-content:center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
  z-index:2;
}
.related-articles__nav--prev{ left:.25rem; }
.related-articles__nav--next{ right:.25rem; }
.related-articles__nav:hover{
  transform: translateY(-50%) scale(1.05);
  box-shadow:0 6px 18px rgba(0,0,0,.12);
  background:#f8f9fa;
}

/* Card item */
.related-articles__item{
  border:1px solid var(--news-border);
  border-radius: var(--radius-md);
  overflow:hidden; background: var(--news-card-bg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  position:relative; box-shadow: var(--shadow-sm);
}
.related-articles__item:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.related-articles__item .card-img-top{
  width:100%; aspect-ratio:16/9; object-fit:cover;
  border-bottom:1px solid var(--news-border-2);
  transition: transform .35s var(--ease);
}
.related-articles__item:hover .card-img-top{ transform: scale(1.04); }

/* Date badge */
.related-articles__date{
  position:absolute; top:.75rem; left:.75rem;
  font-size:.75rem; background:rgba(255,255,255,.9);
  border:1px solid #eee; padding:.3rem .5rem; border-radius:999px;
}

/* Title */
.related-articles__title{
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden; font-size:.95rem; font-weight:600; color:#222;
  text-decoration:none; transition: color .2s var(--ease);
}
.related-articles__title:hover{ color: var(--news-link); }

/* Owl spacing */
.related-articles__list .related-articles__item{ padding:.25rem; }

/*** Sidebar News ***/
.blog_right_sidebar{
  background:#fff; border:1px solid var(--news-border);
  border-radius: var(--radius-md);
  padding:1.25rem; box-shadow: var(--shadow-sm);
}
.blog_right_sidebar .single_sidebar_widget h3{
  font-size:1.1rem; font-weight:600; color:#333;
  margin-bottom:1rem; border-bottom:2px solid var(--news-border-2);
  padding-bottom:.5rem;
}

.list_item_news{
  display:flex; flex-direction:column; gap:.9rem;
}
.newslist_page{
  display:flex; gap:.75rem; align-items:flex-start;
  border-radius:10px; padding:.25rem;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.newslist_page:hover{
  background:#f8f9fa; transform: translateX(2px);
}

/* Thumb (dùng Bootstrap ratio trong HTML) */
.newslist_img{ flex:0 0 90px; }
.newslist_img .ratio{ width:90px; border-radius:8px; overflow:hidden; }
.newslist_img img{ transition: transform .3s var(--ease); }
.newslist_page:hover img{ transform: scale(1.04); }

/* Title/link */
.newslist_title{
  font-size:.98rem; line-height:1.35; font-weight:600; margin:0;
}
.newslist_content a{
  color:#333; text-decoration:none; transition: color .2s var(--ease);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.newslist_content a:hover,
.newslist_content a:focus{ color: var(--news-link); }

/* Optional description */
.newslist_desc{
  margin-top:.25rem; font-size:.85rem; color:#666;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}

/* Accessibility: focus visible */
.newslist_content a:focus-visible{
  outline:2px solid var(--news-link);
  outline-offset:2px; border-radius:4px;
}

/*** Responsive ***/
@media (max-width: 575.98px){
  .related-articles{ padding:.5rem 1.5rem; }
  .related-articles__nav{ width:36px; height:36px; }
  .newslist_img{ flex-basis:80px; }
  .newslist_img .ratio{ width:80px; }
}

/*** Motion preference ***/
@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; animation:none !important; }
}
