html {
    scroll-behavior: smooth;
}

/** Font size */
.fs-10 {
    font-size: 10px !important;
}

.fs-11 {
    font-size: 11px !important;
}

.fs-12 {
    font-size: 12px !important;
}

.fs-13 {
    font-size: 13px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-15 {
    font-size: 15px !important;
}

.fs-16 {
    font-size: 16px !important;
}

.fs-17 {
    font-size: 17px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fs-19 {
    font-size: 19px !important;
}

.fs-20 {
    font-size: 20px !important;
}

.fs-24 {
    font-size: 24px !important;
}

.fs-30 {
    font-size: 30px !important;
}

.fs-36 {
    font-size: 36px !important;
}

.fs-48 {
    font-size: 48px !important;
}

/* CTA fixed button */
@keyframes shake {
    0% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(-15deg);
    }

    40% {
        transform: rotate(15deg);
    }

    60% {
        transform: rotate(-10deg);
    }

    80% {
        transform: rotate(10deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.icon-shake {
    font-size: 3rem;
    animation: shake 1s ease-in-out infinite;
    transform-origin: center center;
}

.cta-fixed-btn {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 1070;
}


.cta-fixed-btn .cta-btn {
    color: var(--white-color);
    background-color: var(--bs-danger);
    width: 60px;
    height: 60px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .cta-fixed-btn .cta-btn {
        width: 50px;
        height: 50px;
    }
}

.cta-fixed-btn .cta-btn::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    border: 45px solid var(--error-color);
    opacity: 50%;
    border-radius: 50%;
    transform: scale(0.6);
    z-index: -1;
    animation: border-zooming 1.2s infinite linear;
}

.cta-fixed-btn .cta-btn::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    border: 45px solid var(--error-color);
    opacity: 50%;
    border-radius: 50%;
    transform: scale(0.6);
    z-index: -1;
    animation: border-zooming 1.3s infinite linear;
}

.cta-fixed-btn .dropdown-menu {
    padding: 1rem;
    white-space: nowrap;
    border-radius: 1rem;
}

.cta-fixed-btn .dropdown-menu li+li {
    display: block;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.cta-fixed-btn .dropdown-menu .icon {
    width: 38px;
    height: 38px;
    font-size: 28px;
    overflow: hidden;
}

.cta-fixed-btn .dropdown-menu .icon i {
    line-height: 1.5;
}

.cta-fixed-btn .dropdown-menu li a {
    color: var(--primary-color);
    transition: all .5s;
}

.cta-fixed-btn .dropdown-menu li a:hover {
    color: var(--bs-danger);
}

.cta-fixed-btn .dropdown-menu li a:hover svg {
    fill: var(--bs-danger);
}

/* Custom style */
.navbar-brand img,
.footer-logo img {
    max-height: 40px;
}

@media (max-width: 480px) {
    .navbar-brand img {
        max-height: 28px;
    }
}

.main-menu ul ul {
    background-color: var(--primary-color);
}

.main-menu ul ul li a {
    color: var(--accent-color);
}

.btn-primary {
    --bs-btn-bg: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
}

.btn-outline-primary {
    --bs-btn-color: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-border-color: var(--primary-color);
}

.alert-dismissible .btn-close {
    padding: 1rem;
}

.main-header.none-fixed {
    position: relative;
}

.main-header.none-fixed .header-sticky {
    background-color: var(--primary-color);
}

.flag-icon {
    width: auto;
    height: 32px;
}

@media (max-width: 480px) {
    .flag-icon {
        height: 30px;
    }
}

/* Home */
.hero::before,
.hero.hero-slider-layout .hero-image-slider .hero-slider-image figure::before {
    z-index: 10;
}

.hero .container {
    z-index: 20;
}

.section-title h1 {
    font-size: 48px;
}

.home__hero-swiper .swiper-item img {
    object-fit: cover;
    object-position: center;
}

@media only screen and (max-width: 991px) {
    .section-title h1 {
        font-size: 30px;
    }
}

@media only screen and (min-width: 1024px) {
    .cta-box-form .form-group {
        width: calc(50% - 20px);
    }

    .cta-box-item-list {
        width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    .cta-box-form .form-group {
        width: 100%;
    }
}

.service-item-content p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media only screen and (max-width: 767px) {
    .core-value-counter-item {
        width: 100%;
        border-right: 0;
        text-align: left;
    }

    .core-value-counter-item::after {
        display: none;
    }
}

.toc {
    display: block;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 1rem;
    overflow: hidden;
    margin: 0 0 1rem;
}

.toc .toc-header,
.toc .toc-body {
    padding: 1rem;
    position: relative;
}

.toc .toc-header {
    display: block;
    background-color: var(--accent-color);
    color: var(--bs-dark);
    font-weight: 700;
}

.toc .toc-header a {
    color: var(--bs-dark);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1rem;
    z-index: 10;
}

.toc .toc-header a:not(.collapsed)::before {
    font-family: 'Font Awesome 7 Free';
    content: '\f107';
}

.toc .toc-header a.collapsed::before {
    font-family: 'Font Awesome 7 Free';
    content: '\f106';
}

.toc .toc-body {
    background-color: var(--bs-white);
}

.toc .toc-body ul {
    display: block;
    margin: 0;
    padding: 0 1rem;
}

.toc .toc-body ul li {
    display: block;
    list-style: none;
    padding: .25rem .25rem;
}

.toc .toc-body ul li+li {
    margin-top: .5rem;
}

.toc .toc-body ul li a {
    color: var(--bs-dark) !important;
    font-size: .875rem;
    transition: all .5s ease-in-out;
}

.toc .toc-body ul li a::before {
    content: '●';
    display: inline-block;
    margin-right: .5rem;
}

.toc .toc-body ul li a:hover {
    text-decoration: underline;
}

.text-primary {
    color: var(--primary-color) !important;
}

.post-body * {
    letter-spacing: 0.02em;
    line-height: 1.5;
    font-size: .975rem;
}

.post-body img,
.post-body iframe,
.post-body video,
.post-body audio {
    max-width: 100%;
}

.post-body img {
    height: auto !important;
}

.post-body h2,
.post-body .h2 {
    font-size: 24px;
    margin: 0 0 10px;
}

.post-body h3,
.post-body .h3 {
    font-size: 20px;
    margin: 0 0 10px;
}

.post-body h4,
.post-body .h4 {
    font-size: 18px;
    margin: 0 0 10px;
}

.post-body p,
.post-body ul,
.post-body ol {
    margin: 0 0 10px;
}

.post-body ul li+li,
.post-body ol li+li {
    margin: 10px 0 0;
}