/* @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap"); */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&family=Poppins:wght@100;200;300;400;500;600;700;800;900&family=Roboto:wght@100;300;400;500;700;900&display=swap");

/* ====== COMMON ========= */

:root {
    --primary-color: #263238;
    --secondary-color: #f39c12;
}

html {
    font-size: 68%;
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}

body {
    /* font-family: "Roboto", sans-serif; */
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    color: #3f3f3f;
    background: #f6f6f6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

button {
    background: none;
    box-shadow: none;
    border: 0;
    outline: 0;
}

a {
    text-decoration: none;
}

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

ul {
    list-style: none;
}

section {
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.two-column {
    margin: auto;
    max-width: 100%;
}

.ml-1 {
    margin-left: 4px;
}

.ml-2 {
    margin-left: 8px;
}

.mt-2 {
    margin-top: 10px;
}

.px-2 {
    padding: 0 10px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: inherit;
    color: #2c2c2c;
}

.footer-slider,
.container:not(.top-nav .container) {
    width: 100%;
    padding: 2rem;
}

@media (min-width: 576px) {
    .footer-slider,
    .two-column,
    .container {
        max-width: 540px;
        margin: 0 auto;
    }
}

@media (min-width: 768px) {
    .footer-slider,
    .two-column,
    .container {
        max-width: 720px;
        margin: 0 auto;
    }
}

@media (min-width: 992px) {
    .footer-slider,
    .two-column,
    .container {
        max-width: 960px;
        margin: 0 auto;
    }
}

@media (min-width: 1200px) {
    .footer-slider,
    .two-column,
    .container {
        max-width: 1140px;
        margin: 0 auto;
    }
}

.d-flex {
    display: flex;
}

.d-none {
    display: none;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.p-4 {
    padding: 1.4rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mr-1 {
    margin-right: 1rem;
}

.mr-2 {
    margin-right: 2rem;
}

.btn {
    padding: 1rem 2.4rem;
    border-radius: 3rem;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-secondary {
    background: var(--secondary-color);
    color: #fff;
}

.btn-block {
    width: 100%;
}

.shimmer {
    display: inline-block;
    position: relative;
    color: #fff;
    padding: 1rem 2rem;
    font-weight: 400;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
}

.shimmer::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -100%;
    width: 100%;
    height: 100%;
    transform: rotate(45deg) scale(2);
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.shimmer:hover::after {
    top: 0;
    left: 140%;
}

/* ======= SITE TOP =========== */
.site-top {
    padding: 1rem;
    color: #fff;
    font-size: 1.4rem;
    background: #1d1d1d;
}

.site-top .container {
    display: flex;
    padding: 0 0.8rem;
    justify-content: space-between;
}

.site-top .info-divider {
    margin: 0 1.4rem;
}
.site-top a {
    color: #fff;
}
.site-top .social {
    cursor: pointer;
}

.site-top .info-detail {
    margin-left: 4px;
}

@media (max-width: 991px) {
    .site-top {
        display: none;
    }
}

/* ======== TOP NAV ======== */
.top-nav {
    background: #fff;
    transition: all 0.2s ease-in-out;
}

.top-nav > .container {
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
}

.brand {
    height: 7rem;
    color: #181818 !important;
    font-weight: 600;
    font-size: 2.4rem;
    padding: 1rem 0;
}

.brand span {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 4px;
    width: 100%;
    height: 100%;
}

.brand img {
    width: 100%;
    height: 100%;
}

.nav-menu {
    display: flex;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    height: 100%;
    color: #1f1f1f;
    font-weight: 500;
    font-size: 1.5rem;
    padding: 0.4rem 1.2rem;
}

.nav-btn {
    background: var(--secondary-color);
    color: #fff !important;
    padding: 1rem 2rem;
    margin-top: 1.4rem;
    height: 40px;
    border-radius: 20px;
}

.nav-btn-primary {
    background: var(--primary-color);
    color: #fff !important;
    padding: 1rem 2rem;
    margin-top: 1.4rem;
    height: 40px;
    border-radius: 20px;
}

.nav-item .dropdown {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 20rem;
    border-radius: 1px;
    transform: translateY(10px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.dropdown-link {
    color: #1f1f1f;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 1rem 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-item:hover > .dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(-10px);
}

.dropdown-item {
    position: relative;
}

.dropdown-item > .dropdown {
    visibility: hidden;
    opacity: 0;
    top: 0;
    left: 100%;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.dropdown-item:hover > .dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

.dropdown-toggler {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

.navbar-toggler-wrapper {
    display: none;
    position: fixed;
    top: 18px;
    right: 10px;
    justify-content: flex-end;
    margin-bottom: 2.4rem;
    z-index: 1000;
}

.navbar-toggler {
    color: #1f1f1f;
    font-weight: 400;
    font-size: 2rem;
    padding: 0.4rem 1rem;
    cursor: pointer;
}

.navbar-toggler i {
    pointer-events: none;
}

@media (max-width: 991px) {
    .brand img {
        width: auto;
        height: 100%;
    }
}

/* =========== STICKY NAV ============ */
.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
}

.shadow {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.shadow-lg {
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
}

/* ======== TOP MENU RESPONSIVE ======== */
@media (max-width: 991px) {
    .sidenav-toggle {
        display: none;
    }
}

.sidenav-toggle i {
    pointer-events: none;
}

.side-nav {
    display: block;
    padding: 3rem 1rem 2rem 1rem;
    position: fixed;
    margin-right: 0;
    height: 100vh;
    background: #fff;
    right: 0;
    top: 0;
    width: 20rem;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.sidenav-close {
    display: block;
    width: 2rem;
    margin-left: auto;
    margin-right: 1rem;
    color: #1f1f1f;
    cursor: pointer;
}

.side-nav.active {
    box-shadow: -4px 0 4px rgba(0, 0, 0, 0.1);
    transform: translateX(0);
}

.side-nav .nav-item:hover > .dropdown {
    transform: none;
}

.side-nav .nav-link,
.side-nav .dropdown-link {
    align-items: center;
    padding: 1.2rem 1rem;
    justify-content: space-between;
    color: #1f1f1f;
}

.side-nav .nav-item .dropdown {
    display: none;
    visibility: visible;
    opacity: 1;
    position: static;
    transform: none;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: none;
    transition: none;
}

.side-nav .dropdown-item > .dropdown {
    display: none;
    background: rgba(0, 0, 0, 0.1);
    transition: none;
}

.side-nav span {
    border: 1px solid #1f1f1f;
    width: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 24px;
    border-radius: 50%;
}

.side-nav .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.side-nav .dropdown-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 18rem;
}

.side-nav .nav-item:last-child,
.side-nav .dropdown-item:last-child {
    border-bottom: none;
}

@media (max-width: 991px) {
    .navbar-toggler-wrapper {
        display: flex;
    }

    .navbar-toggler {
        display: inline;
    }

    .nav-menu {
        display: block;
        padding: 6rem 1rem 2rem 1rem;
        position: fixed;
        margin-right: 0;
        height: 100vh;
        background: #fff;
        right: 0;
        top: 0;
        width: 20rem;
        transform: translateX(100%);
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        box-shadow: -4px 0 4px rgba(0, 0, 0, 0.1);
        transform: translateX(0);
    }

    .nav-item:hover > .dropdown {
        transform: none;
    }

    .nav-link,
    .dropdown-link {
        align-items: center;
        padding: 1.2rem 1rem;
        justify-content: space-between;
        color: #1f1f1f;
    }

    .nav-item .dropdown {
        display: none;
        visibility: visible;
        opacity: 1;
        position: static;
        transform: none;
        background: #f1f1f1;
        box-shadow: none;
        transition: none;
    }

    .dropdown-item > .dropdown {
        display: none;
        background: #ebebeb;
        transition: none;
    }

    .nav-menu span {
        border: 1px solid #fff;
        width: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 24px;
        border-radius: 50%;
    }

    .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        max-width: 18rem;
    }

    .nav-item:last-child,
    .dropdown-item:last-child {
        border-bottom: none;
    }
    .brand {
        height: 7rem;
        /* margin-left: 2.3rem; */
        color: #fff;
        font-size: 2rem;
        line-height: 2.8rem;
        padding: 1rem;
    }
}

/* ========= BANNER ============ */
.banner {
    width: 100%;
    height: 52rem;
    padding: 0;
    margin: 0;
    margin-top: 9.6rem;
}

.banner-slider,
.banner-slide {
    height: 52rem;
}

.banner-slide {
    display: flex;
    column-gap: 4px;
    background: #263238;
}

.banner-detail {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
}

.banner-cat-title a {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
.banner-cat-title a:not(:last-child)::after {
    content: "|";
    margin: 0 5px;
    display: inline-block;
    color: var(--secondary-color);
}

.banner-post-title a {
    display: block;
    font-size: 4rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.2rem;
    transition: all 0.2s ease;
}

.banner-post-title a:hover {
    color: var(--secondary-color);
}

.banner-post-date {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.banner-post-body {
    font-size: 2.3rem;
    color: #fff;
    font-weight: 300;
    line-height: 4rem;
}

.banner-img {
    flex-basis: 50%;
    padding: 6rem;
}

.banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 1rem;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-img img:hover {
    box-shadow: none;
    transform: scale(0.99);
}

.owl-carousel.banner-slider .owl-dots {
    position: absolute;
    bottom: 2rem;
    left: 0;
    text-align: center;
    width: 100%;
}
.owl-carousel.banner-slider button.owl-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    margin-right: 6px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}
.owl-carousel.banner-slider button.owl-dot.active {
    width: 2.4rem;
    height: 0.8rem;
    border-radius: 4px;
    background: var(--secondary-color);
}

@media (max-width: 991px) {
    .banner {
        margin-top: -1rem;
        height: 38rem;
    }
    .banner-slider,
    .banner-slide {
        height: 38rem;
    }
    .banner-slide {
        flex-direction: column;
    }
    .banner-detail {
        padding: 2rem;
        flex-basis: 100%;
        background: url("attr(data-img)");
    }
    .banner-cat-title a {
        display: inline-block;
        color: var(--secondary-color);
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    .banner-post-title a {
        font-size: 2.8rem;
        color: #fff;
        font-weight: 700;
        margin-bottom: 1.2rem;
        transition: all 0.2s ease;
    }
    .banner-post-body {
        font-size: 1.7rem;
        color: #fff;
        font-weight: 300;
        line-height: 2.4rem;
    }
    .banner-img {
        display: none !important;
    }
}

/* ============= TOP FIVE ============== */
.top-five {
    padding: 6rem 0;
}

@media (max-width: 991px) {
    .top-five {
        padding: 4rem 0 0 0;
    }
}

.top-five-wrapper {
    display: grid;
    grid-template-columns: 30% auto;
    column-gap: 4rem;
}

@media (max-width: 991px) {
    .top-five-wrapper {
        grid-template-columns: auto;
        row-gap: 4rem;
    }
}

.top-five .card {
    padding: 0;
    position: relative;
}

.top-five .card-img {
    width: 100%;
    height: 18rem;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
}

.top-five .card-cat-top {
    font-size: 1.1rem;
    display: inline-block;
    color: #333;
    font-weight: 500;
    position: absolute;
    top: 2rem;
    left: 1rem;
}

.top-five .card-cat-top a {
    background: #fff;
    color: #333;
    margin-right: 8px;
    border-radius: 4rem;
    padding: 4px 8px;
    cursor: pointer;
}

.top-five .card-title {
    font-size: 2.6rem;
    margin-top: 1.4rem;
    font-weight: 700;
}

.top-five .card-desc {
    font-size: 1.6rem;
    color: #7e7e7e;
    line-height: 2.4rem;
    margin-top: 1.2rem;
}

.top-five .card-date,
.card-right-date {
    margin-top: 1.3rem;
    display: inline-block;
    color: #7a7a7a;
}

.card-right-date i,
.top-five .card-date i {
    margin-right: 4px;
    color: var(--primary-color);
}

.top-five-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
}

.card-right {
    display: grid;
    grid-template-columns: 20% auto;
    align-items: center;
    column-gap: 1rem;
}

@media (max-width: 991px) {
    .card-right {
        grid-template-columns: auto;
        margin-bottom: 2rem;
    }
}

.card-right-divider:not(:last-child) {
    display: block;
    width: 100%;
    height: 1px;
    background: #dfdfdf;
}

.card-right-img {
    width: 100%;
    display: block;
    height: 12rem;
    object-fit: cover;
    border-radius: 6px;
}

@media (max-width: 991px) {
    .card-right-img {
        height: 18rem;
    }
}

.card-right-title {
    font-size: 2rem;
    font-weight: 700;
}

@media (max-width: 991px) {
    .card-right-info {
        margin-top: 1rem;
    }
}

.card {
    width: 100%;
    background-color: #fff;
    border-radius: 2px;
    padding: 4rem 2rem;
    padding-bottom: 2rem;
}

@keyframes bounce {
    0% {
        transform: translateY(-1rem);
    }
    50% {
        transform: translateY(0rem);
    }
    100% {
        transform: translateY(-1rem);
    }
}

.card-header {
    font-size: 2.4rem;
    font-weight: 500;
    color: #4b4b4b;
    text-align: center;
}

.form-control {
    display: block;
    width: 100%;
    padding: 1.4rem;
    border: 0;
    border-radius: 4px;
    outline: 0;
    box-shadow: none;
    background-color: #eee;
    resize: none;
}

.form-group {
    margin: 1.4rem 0;
}

/* ========== SERVICES ============ */

.services {
    padding-top: 14rem;
    padding-bottom: 6rem;
}

.services .card-wrapper {
    display: flex;
    justify-content: space-between;
    column-gap: 2rem;
    align-items: center;
}

.card-wrapper .card {
    min-height: 24rem;
    background: #f5f8fa;
    border-radius: 1.8rem;
    text-align: center;
}

.card-body h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.card-body i {
    font-size: 8rem;
    color: var(--secondary-color);
    margin-bottom: 4rem;
}

.card-body img {
    width: 40px;
    height: 40px;
    fill: red;
}

@media (max-width: 991px) {
    .services {
        padding-top: 6rem;
    }
    .services .card-wrapper {
        flex-direction: column;
    }
}

/* ========= LATEST POSTS ========== */

.latest-post-section {
    padding-top: 14rem;
    padding-bottom: 6rem;
    background: #dfe6e9;
}

.section-title {
    display: inline-block;
    margin-bottom: 4rem;
    text-align: left;
    font-size: 2.2rem;
    font-weight: 600;
    color: #2b2b2b;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 2%;
    height: 2px;
    background: var(--secondary-color);
    width: 10rem;
    transform: translateY(-50%);
}

@media (max-width: 991px) {
    .section-title::after {
        left: 6%;
    }
}

.post-img {
    height: 22rem;
    object-fit: cover;
}

.post-detail {
    padding: 0.6rem;
}

.post-title {
    font-weight: 600;
    font-size: 1.68rem;
    line-height: 2.4rem;
    margin-bottom: 1.2rem;
}

.post-title a {
    color: #3f3f3f;
}

.post-date {
    position: absolute;
    bottom: 1.5rem;
    font-size: 1.3rem;
}

.post-date span {
    font-weight: 500;
    margin-left: 0.6rem;
}

.owl-nav {
    display: inline-block;
    font-size: 3rem;
    color: #000;
}

button.owl-prev,
button.owl-next {
    position: absolute;
    top: -5.4rem;
    visibility: hidden;
    transition: all 0.2s ease;
}

button.owl-prev::before,
button.owl-next::before {
    visibility: visible;
    font-size: 2.4rem;
    color: #000;
}

button.owl-next::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f30b";
}

button.owl-prev::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f30a";
}

/* button.owl-prev:hover, button.owl-next:hover {
    background: var(--secondary-color) !important;
} */

button.owl-prev {
    left: 0;
}

button.owl-next {
    right: 0;
}

button.owl-next span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -60%);
}

button.owl-prev span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-54%, -60%);
}

@media (max-width: 991px) {
    .latest-post-section {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }

    .owl-carousel {
        margin-top: 7rem;
    }

    button.owl-prev,
    button.owl-next {
        top: -7.6rem;
    }

    button.owl-prev {
        transform: translateY(1.4rem);
        right: 5rem;
    }

    button.owl-next {
        transform: translateY(1.4rem);
        right: 1rem;
    }
}

.post-slide {
    min-height: 32rem;
    border-radius: 0;
    background: #fff;
}

.post-slide img {
    width: 100%;
}

/* ======== Featured Slide ========= */
.featured_articles {
    padding-top: 6rem;
}

@media (max-width: 991px) {
    .featured_articles {
        padding: 5rem 0 0 0;
    }
    .featured_articles .section-title {
        margin-bottom: 1rem;
    }
    .featured-slider.owl-carousel {
        margin-top: 2rem;
    }
}

.featured-slide {
    height: 30rem;
}

.featured-wrapper {
    height: 100%;
    display: block;
    width: 100%;
    position: relative;
}

.featured-img {
    width: 100%;
    height: 100%;
}

.featured-detail {
    position: absolute;
    top: 50%;
    transform: translateY(-30%);
    left: 0;
    text-align: center;
    width: 86%;
    margin: 0 auto;
    right: 0;
}

.featured-title a {
    text-align: center;
    color: #fff;
    font-weight: 600;
    font-size: 2.6rem !important;
    line-height: 4rem !important;
}

.featured-category a {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.6rem;
}

.featured-btn a {
    margin-top: 1.2rem;
    display: inline-block;
    color: #333;
    padding: 0.8rem 1.6rem;
    background-color: #fff;
}
.featured-btn a i {
    font-size: 1.2rem;
    margin-left: 4px;
}

/* ======== CATEGORY TABS ========== */

.category-section {
    background: var(--primary-color);
}

@media (max-width: 991px) {
    .category-section {
        padding: 3rem 0 0 0;
    }
}

.category-section .section-title {
    margin-bottom: 4rem;
}

.category-section .section-title h3 {
    color: #fff;
}

.category-section button.owl-prev::before,
.category-section button.owl-next::before {
    color: #d6d6d6;
}

.category-tabs {
    background: #fff;
    height: 6rem;
    padding: 10px 6px 0 6px;
    border-radius: 4px;
    text-align: center;
    margin: 0 auto;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    overflow: auto;
    overflow-y: hidden;
    white-space: nowrap;
    user-select: none;
}

@media (max-width: 991px) {
    .category-tabs {
        height: auto;
        padding: 8px 4px 4px 4px;
    }
}

.category-tabs::-webkit-scrollbar {
    width: 4px;
    height: 5px;
}

.category-tabs::-webkit-scrollbar-track {
    background: #fff;
}

.category-tabs::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: var(--secondary-color);
    visibility: hidden;
    border-radius: 4px;
}

.category-tabs:hover::-webkit-scrollbar-thumb {
    visibility: visible;
}

.tab {
    position: relative;
    color: #333;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.3rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.4s ease;
}

.tab.active,
.tab:hover {
    background: var(--secondary-color);
    color: #fff;
}

@media (max-width: 991px) {
    .tab {
        background: #e6e6e6;
        color: #5c5c5c;
    }
}

.posts-per-category {
    margin-top: 8rem;
}

.load-more {
    height: 30rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #555;
    background: rgba(255, 255, 255, 0.7);
    border: 1px dashed #cecece;
    cursor: pointer;
}

.load-more svg {
    fill: #6e6e6e;
    margin-bottom: 0.8rem;
}

.load-more span {
    font-size: 1.4rem;
    font-weight: 200;
}

.load-more.loading svg {
    animation: rotate 2s linear infinite;
}

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

@media (max-width: 991px) {
    .section-title {
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 2rem;
    }

    .posts-per-category {
        margin-top: 1.8rem;
    }
}

/* ======= CTA SECTION ========== */
.cta-section {
    background-attachment: fixed;
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.cta-section .container {
    display: grid;
    grid-template-columns: 6rem 3fr 1fr;
    align-items: center;
}

.cta-heading {
    color: #fff;
    font-size: 4.3rem;
    line-height: 6.8rem;
    font-weight: 200;
    grid-column: 2 / 3;
}

.cta-heading span {
    font-weight: 500;
}

.cta-btn {
    grid-column: 3 / -1;
    text-align: right;
}

.cta-btn .btn {
    padding: 1.5rem 3rem;
}

.cta-btn .fas {
    margin-left: 1.2rem;
}

@media (max-width: 991px) {
    .cta-section {
        padding: 2rem 0;
        background-size: cover;
        background-attachment: unset;
    }

    .cta-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-section .cta-heading {
        font-size: 2rem;
        line-height: 3rem;
        text-align: center;
    }

    .cta-section .cta-btn {
        text-align: center;
        margin-top: 1rem;
    }

    .cta-section .btn {
        padding: 1rem 2rem;
    }
}

.modal-overlay {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    transition: all 0.3s ease;
}

.modal-box {
    position: absolute;
    top: -100%;
    left: 50%;
    width: 40%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.modal-box span {
    position: absolute;
    top: 0;
    right: 20px;
    font-size: 4rem;
    cursor: pointer;
}

.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

.modal-overlay.active .modal-box {
    top: 50%;
}

@media (max-width: 991px) {
    .modal-box {
        width: 90%;
    }
}

/* ======= FOOTER ======== */
footer {
    padding-top: 4rem;
    background: var(--primary-color);
    color: #fff;
}

@media (max-width: 991px) {
    footer {
        padding-top: 0;
    }
}

footer .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin: 0 auto;
    align-items: start;
    /* justify-items: center; */
    text-align: center;
}

footer .form-control {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}

footer .btn {
    font-size: 1.3rem;
    margin-top: 0.6rem;
    padding: 1rem 1.2rem;
    background: #fff;
    color: #333;
    transition: all 0.3s ease;
}

footer .btn:hover {
    background: var(--secondary-color);
    color: #fff;
}

footer .box-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}

.box .box-text {
    color: #fff;
    line-height: 2rem;
}

.box a {
    color: #fff;
}

.list-item {
    margin-bottom: 1.4rem;
}

.list-item:last-child {
    margin-bottom: 0;
}

.list-item a {
    display: block;
    color: #fff;
}

.copyright {
    background: rgba(0, 0, 0, 0.4);
    margin-top: 2rem;
}

.copyright .container {
    grid-template-columns: auto 18%;
    align-items: center;
    padding: 1.2rem 0.6rem !important;
}

@media (max-width: 991px) {
    .copyright .container {
        grid-template-columns: auto;
        align-items: center;
        justify-items: center;
        row-gap: 1rem;
        padding: 1rem 0.6rem !important;
    }
}

.copy-info {
    text-align: left;
}

.copyright .social-links {
    text-align: right;
}

.copyright a {
    color: #fff;
}

.copyright .btn {
    background-color: #fff;
    color: #333;
}

@media (max-width: 991px) {
    .copyright .btn {
        margin-bottom: 8px;
    }
}

.footer-slider {
    padding: 0 3rem;
    height: 16rem;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    /* transition: all .3s ease; */
}

/* .footer-slider.active {
    height: 16rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
} */

@media (max-width: 991px) {
    .footer-slider {
        margin-top: 0;
        padding: 0;
    }
}

.footer-slider .slide-row {
    padding: 1rem 0.6rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    row-gap: 8px;
    text-align: center;
}

.slide-row a {
    color: #fff;
    transition: all 0.2s ease;
}

.slide-row a:hover {
    color: var(--secondary-color);
}

.footer-slider button.owl-prev,
.footer-slider button.owl-next {
    top: 28%;
}

button.owl-prev::before,
button.owl-next::before {
    visibility: hidden;
    opacity: 0;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.footer-slider:hover button.owl-prev::before,
.footer-slider:hover button.owl-next::before {
    visibility: visible;
    opacity: 1;
}

.footer-slider button.owl-next::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f054";
}

button.owl-prev::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f053";
}

@media (max-width: 991px) {
    .footer-slider button.owl-prev {
        left: 1.2rem;
    }

    .footer-slider button.owl-next {
        right: 1.2rem;
    }
}

button.owl-next span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -60%);
}

button.owl-prev span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-54%, -60%);
}

@media (max-width: 991px) {
    footer .container {
        grid-template-columns: 1fr;
    }

    .box {
        padding: 1.6rem;
    }
}

.toast-alert-box {
    display: none;
    position: fixed;
    z-index: 100000;
    top: 7.2rem;
    color: #fff;
    min-width: 20%;
    max-width: 40%;
    right: 2rem;
    font-size: 1.4rem;
    text-align: center;
    padding: 1rem;
    border-radius: 5rem;
    background: #2c3e50;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    opacity: 0.8;
}

@media (max-width: 991px) {
    .toast-alert-box {
        right: 2px;
        width: 80%;
    }
}

.loader {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 20000;
    transition: all 0.3s ease;
}

.loader .loading-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
}

.loader .loading-icon svg {
    fill: #aaa;
    width: 4rem;
    height: 4rem;
    animation: rotate 2s linear infinite;
}

.loader.active {
    visibility: visible;
    opacity: 1;
}

.loader .loading-icon span {
    font-size: 1.6rem;
    color: #aaa;
    margin-top: 1.4rem;
    display: block;
}

/* ========= SINGLE POST PAGE ============== */
.breadcumb-menu {
    padding: 2rem 1.4rem 8px;
}

.breadcumb-menu > i {
    margin-right: 0.6rem;
    color: var(--secondary-color);
}

.breadcrumb {
    display: inline-block;
    font-weight: 600;
    font-size: 1.4rem;
}

.breadcrumb-item {
    display: inline-block;
}

.breadcrumb-item::after {
    content: "/";
    margin: 0 8px;
    color: var(--secondary-color);
    font-weight: 600;
}

.breadcrumb-item:last-child::after {
    content: "";
    margin: 0;
}

.breadcrumb-item:last-child a {
    color: #888;
}

.breadcrumb-item a {
    color: var(--secondary-color);
}

.two-column {
    display: flex;
    background: #f6f6f6;
    justify-content: space-between;
    padding: 2rem 0.8rem;
}

.all-posts {
    padding: 4px 10px !important;
    /* margin-top: 10rem; */
    color: #000 !important;
    /* background: #f6f6f6; */
    /* background: var(--secondary-color); */
}

@media (max-width: 991px) {
    .all-posts {
        margin-top: 0;
        padding: 2px 20px !important;
    }
}

.all-posts-slider,
.all-posts-slider .item {
    height: 20rem;
}

.all-posts-slider .item a {
    /* color: #fff; */
    font-weight: 600;
}

.all-posts-slider .item img {
    border-radius: 4px;
    width: 100%;
    height: 14rem;
    position: relative;
    object-fit: cover;
    cursor: pointer;
}

.all-posts-slider button.owl-prev,
.all-posts-slider button.owl-next {
    top: 20%;
}

.all-posts-slider button.owl-prev {
    left: -1.6rem;
}

.all-posts-slider button.owl-next {
    right: -1.6rem;
}

@media (max-width: 991px) {
    .all-posts-slider button.owl-prev,
    .all-posts-slider button.owl-next {
        top: 12%;
    }
    .all-posts-slider button.owl-prev {
        left: -1rem;
    }
    .all-posts-slider button.owl-next {
        right: -1rem;
    }
}

.all-posts-slider button.owl-prev::before,
.all-posts-slider button.owl-next::before {
    visibility: hidden;
    background: #fff !important;
    border: 1px solid #c4c4c4;
    border-radius: 50% !important;
    padding: 8px 12px;
    text-align: center;
    color: #4e4e4e;
    opacity: 0;
    font-size: 1.5rem;
    transition: all 0.2s ease;
}

.all-posts-slider:hover button.owl-prev::before,
.all-posts-slider:hover button.owl-next::before {
    visibility: visible;
    opacity: 1;
}

.all-posts-slider button.owl-next::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f054";
}

.all-posts-slider button.owl-prev::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f053";
}

@media (max-width: 991px) {
    .two-column {
        flex-direction: column;
        padding: 3rem 2rem;
    }
}

main {
    flex-basis: 66%;
}
.single-post {
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.featured_img {
    width: 100%;
    max-height: 44rem;
    margin-bottom: 1rem;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    object-fit: cover;
}

.post-datetime > i {
    margin-right: 0.8rem;
}

.post-datetime > span {
    color: #888;
    font-weight: 600;
}

.post-author {
    text-transform: capitalize;
    color: var(--secondary-color);
    font-weight: 600;
}

.content {
    padding: 8px 3rem 2rem;
}

@media (max-width: 991px) {
    .content {
        padding: 1rem;
    }
}

aside {
    flex-basis: 28%;
    margin-top: 1rem;
}

aside .widget {
    box-shadow: -1px 0 3px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 2rem;
    background: #fff;
    margin-bottom: 2rem;
}

.category-box {
    text-align: center;
}

.category-box .category-btn {
    display: inline-block;
    color: #f3f3f3;
    font-size: 1.3rem;
    margin-bottom: 8px;
    background: #34495e;
    border-radius: 1.6rem;
    padding: 0.8rem;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: var(--secondary-color);
}

aside .widget-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
    color: #424242;
}

.widget-nav {
    margin-bottom: 1rem;
}

.marquee-slide {
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateY(47%);
    }
    100% {
        transform: translateY(-100%);
    }
}

.marquee-box {
    overflow: hidden;
    max-height: 20rem;
    box-shadow: 0px -4x 4px rgba(255, 255, 255, 0.8);
}

.widget-nav-link {
    display: block;
    padding: 1rem;
    border-radius: 3px;
    text-align: center;
    color: #fff;
    font-weight: 500;
    background: var(--primary-color);
}

.widget-post img {
    border-radius: 5px;
}

.widget-post {
    margin-bottom: 2rem;
}

.widget-post .title {
    font-size: 1.4rem;
    text-align: center;
    font-weight: 600;
    padding: 2px;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.single-post-title {
    font-size: 3.2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.a-box {
    height: 34rem;
    text-align: center;
    overflow: hidden;
}

.a-box img {
    height: 100%;
}

.post-body {
    margin-top: 2.6rem;
    overflow-wrap: anywhere;
    width: 100%;
    font-size: 1.6rem;
    line-height: 3.5rem;
}

/* .post-body h1,
.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6 {
    margin: 2rem 0;
}

.post-body h1 {
    font-size: 3rem;
    font-weight: 600;
}

.post-body h2 {
    font-size: 2.8rem;
    font-weight: 600;
}

.post-body h3 {
    font-size: 2.6rem;
    font-weight: 600;
}

.post-body h4 {
    font-size: 2.2rem;
    font-weight: 600;
}

.post-body h5 {
    font-size: 2rem;
    font-weight: 600;
}

.post-body h6 {
    font-size: 1.6rem;
    font-weight: 600;
}

.post-body p,
.post-body ul li {
    margin: 1.2rem 0;
    line-height: 3rem;
    font-size: 1.5rem;
}

.post-body a {
    color: var(--secondary-color);
    font-weight: 500;
}

.post-body ul {
    list-style: disc;
    margin-left: 1rem;
}

.post-body table {
    width: 100%;
    text-align: center;
}

.post-body td {
    padding: 2px;
}

.post-body ol {
    list-style: decimal;
    margin-left: 1rem;
} */

.post-body *:not(form *) {
    all: revert;
}

.post-body form {
    all: inherit;
}

.post-body {
    line-height: 2.6rem;
}

.post-body a {
    text-decoration: none;
    color: var(--secondary-color);
}

.post-body table {
    width: 100%;
    text-align: center;
}

.post-body td {
    padding: 2px;
}

.search-box {
    height: 4.3rem;
    width: 100%;
    position: relative;
}

.search-box input {
    box-shadow: none;
    outline: none;
    border: 0;
    border-radius: 0;
}

.search-box input {
    width: 100%;
    height: 100%;
    padding: 1.4rem 4.8rem 1.4rem 1rem;
    color: #6b6b6b;
    display: block;
}

.search-box .search-btn {
    position: absolute;
    top: 0;
    /* transform: translateY(-50%); */
    bottom: 0;
    right: 0;
    display: block;
    font-size: 1.7rem;
    z-index: 1000;
    cursor: pointer;
    background: var(--primary-color);
    height: 100%;
    width: 4.5rem;
    color: #fff;
}

/* ========== Pagination ============= */
.pagination-wrapper {
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
}

.page-item {
    margin: 2px 4px;
    height: 3.4rem;
    width: 3.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-link {
    color: #fff;
    background: #888;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.page-item.active .page-link {
    color: #fff;
    background-color: var(--secondary-color);
}

.page-item.disabled .page-link {
    color: #fff;
    background: #aaaaaa;
    border: 0;
}

@media (max-width: 991px) {
    li.page-item {
        display: none;
    }
    .page-item:first-child,
    .page-item:nth-child(2),
    .page-item:last-child,
    .page-item:nth-last-child(2),
    .page-item.string,
    .page-item.active,
    .page-item.disabled {
        display: flex;
    }
}

.arrow-icon {
    font-size: 3rem;
    display: block;
    transform: translateY(-3px);
}

.social-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 6px;
}

.social-nav li {
    margin: 2px 0.6rem;
}

.social-nav li a {
    font-size: 2.6rem;
    display: block;
}

.preloader {
    position: fixed;
    visibility: visible;
    opacity: 1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 30000;
    background: var(--primary-color);
}

.preloader.hide {
    visibility: hidden;
    opacity: 0;
}

.preloader .icon {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
    }
    70% {
        box-shadow: 0 0 0 30px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.error {
    max-width: 60rem;
    width: 100%;
    display: block;
    margin: auto;
    margin-top: -12rem;
}

#converter {
    font-size: 1.6rem;
    line-height: 3rem;
}

iframe {
    width: 100%;
    border: 0;
    max-height: 800px;
}

@media (max-width: 991px) {
    iframe {
        width: 100%;
        max-height: 400px;
    }
}

.rgba-convert {
    display: flex;
    align-items: center;
}

.input-wrapper {
    flex-basis: 70%;
}

.color-group {
    flex-basis: 30%;
}

.input-group {
    display: flex;
    align-items: center;
    margin: 2rem;
}

input[type="range"] {
    background: #f1f1f1;
    border-radius: 8px;
    flex-basis: 70%;
    height: 5px;
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    cursor: pointer;
    border-radius: 50%;
}

#r::-webkit-slider-thumb {
    background: red;
}

#g::-webkit-slider-thumb {
    background: green;
}

#b::-webkit-slider-thumb {
    background: blue;
}

.input-num {
    flex-basis: 20%;
    margin-left: 2rem;
    height: 26px;
    text-align: center;
    border: 0;
    border-radius: 4px;
    background-color: #f1f1f1;
}

.input-num:focus {
    border: 0;
    outline: none;
}

/* Chrome, Safari, Edge, Opera */
.input-num::-webkit-outer-spin-button,
.input-num::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.show-color {
    height: 80px;
    width: 80px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px dashed #d6d6d6;
}

.hex-value {
    text-align: center;
    width: 10rem;
    color: #888;
    font-size: 1.4rem;
    border-radius: 1rem;
    padding: 0.8rem;
    background: #f1f1f1;
}

.copy-code {
    background: var(--secondary-color);
}

.color-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.tool-details h3 {
    font-size: 2.6rem;
    line-height: 3rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.tool-details p {
    font-size: 1.6rem;
    line-height: 3rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.tool-details img {
    margin-bottom: 2rem;
}

.dashboard-wrapper {
    margin-top: 6rem;
    min-height: 80vh;
}

.dashboard-wrapper .search-box {
    display: flex;
    column-gap: 8px;
    background-color: white;
}

.post-body table,
.post-body tr,
.post-body td,
.post-body th {
    border: 1px solid #000;
    border-collapse: collapse;
}
