@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    scroll-behavior: smooth;
}

a,
a:hover {
    display: inline-block;
    text-decoration: none;
}

.btn-check:focus+.btn,
.btn:focus {
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.theme-btn {
    color: #ffffff;
    background: #74bf36;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 12px 30px;
    display: inline-block;
    text-decoration: none;
    border-radius: 30px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.theme-btn:hover {
    color: #ffffff;
    background: #603a91;
    text-decoration: none;
}

.theme-btn-alt {
    color: #ffffff;
    background: #603a91;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 12px 30px;
    display: inline-block;
    text-decoration: none;
    border-radius: 30px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.theme-btn-alt:hover {
    color: #ffffff;
    background: #74bf36;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
p,
span,
strong,
li,
button {
    font-family: 'Poppins', sans-serif;
}

.spinner-border {
    --bs-spinner-width: 20px;
    --bs-spinner-height: 20px;
    --bs-spinner-border-width: 0.2rem;
}

/*=============================================
                  Header Style
===============================================*/

header {
    background: #ffffff;
    padding: 5px 120px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    width: 100%;
    z-index: 9999;
}

.navbar-light .navbar-toggler {
    color: rgba(0, 0, 0, 1);
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.bg-light {
    background-color: rgb(255, 255, 255) !important;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.nav-down {
    top: 0;
    -webkit-box-shadow: 0px 5px 30px rgb(0 0 0 / 15%);
    box-shadow: 0px 5px 30px rgb(0 0 0 / 15%);
}

.nav-up {
    top: 0;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}

a.navbar-brand,
a.navbar-brand:hover {
    color: #74bf36;
    font-size: 1.25rem;
    font-weight: 700;
}

.navbar-brand img {
    max-height: 34px;
}

.navbar-nav {
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
}

.navbar-nav .nav-item {
    padding-top: 5px !important;
    padding-right: 1rem !important;
    padding-bottom: 5px !important;
    padding-left: 1rem !important;
}

.navbar-nav li:last-child {
    padding-right: 0 !important;
}

.navbar-nav .nav-link {
    color: #555555 !important;
    font-size: 16px;
    font-weight: 500;
    padding: 0 !important;
}

@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 10px 0px;
        text-align: center;
    }

    .navbar-nav li:last-child {
        padding-right: 1rem !important;
    }
}

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

/*=============================================
                  Blog Style
===============================================*/
.page-title {
    background: #210d3b url("/img/banner.webp");
    background-position: center 30%;
    background-attachment: fixed;
    background-size: cover;
    border-radius: 20px;
    isolation: isolate;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 100px);
}

.page-title::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: radial-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6), rgb(0, 0, 0, 1));
    z-index: -1;
}

.page-title::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0));
}

.page-title .text {
    max-width: 800px;
    position: absolute;
    left: 6vw;
    bottom: 6vw;
    z-index: 1;
}

.page-title h1 {
    color: #fafafa;
    font-size: 2.6rem;
    line-height: 1.25;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.page-title h1 span {
    color: #78cc33;
    font-size: 80%;
    margin-bottom: 0.5rem;
    display: block;
}

.page-title p {
    color: #eeeeee;
    font-size: 18px;
    margin-bottom: 0;
}

main {
    padding: 120px 0;
}

.custom-gap {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
}

.article-card {
    border-radius: 18px;
    background: #ffffff;
    box-shadow: rgba(149, 157, 165, 0.15) 0px 8px 24px;
    overflow: hidden;
}

.article-card .feature-img {
    overflow: hidden;
}

.article-card .feature-img img {
    aspect-ratio: 3/2;
    object-fit: cover;
    object-position: center;
    -o-object-fit: cover;
    -o-object-position: center;
    transform: scale(1);
    transition: all 0.3s;
}

.article-card:hover .feature-img img {
    transform: scale(1.25);
    transition: all 0.3s;
}

.article-card .blog-info {
    padding: 26px;
}

.article-card h2 {
    margin: 0;
}

.article-card .title {
    color: #232323;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.55;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: all 0.3s;
}

.article-card .title:hover {
    color: #469803;
    transition: all 0.3s;
}

.article-card .excerpt {
    color: #4e4e4e;
    margin-bottom: 1.35rem;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.article-card .meta .author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-card .meta .author img {
    height: 40px;
    width: 40px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.article-card .meta .author h3 {
    color: #555555;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0;
    max-width: 12ch;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.article-card .meta .date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-card .meta .date svg {
    color: #555555;
    height: 18px;
    width: 18px;
}

.article-card .meta .date span {
    color: #555555;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1;
}

/*=============================================
                  Blog Post Style
===============================================*/
.blog-post-heading {
    padding: 80px 0 0;
    border-top: 1px solid #dee2e6;
}

.blog-post-heading h1 {
    color: #232323;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.25rem;
    text-wrap: balance;
}

.blog-post-heading .meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 2rem;
}

.blog-post-heading .meta .author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-post-heading .meta .author img {
    height: 40px;
    width: 40px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.blog-post-heading .meta .author strong {
    color: #555555;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 0;
}

.blog-post-heading .meta .date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-post-heading .meta .date svg {
    color: #555555;
    height: 18px;
    width: 18px;
}

.blog-post-heading .meta .date span {
    color: #555555;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1;
}

.blog-post-heading .feature-image img {
    height: 70vh;
    width: 100%;
    object-fit: cover;
    object-position: center;
    -o-object-fit: cover;
    -o-object-position: center;
    border-radius: 20px;
}

.blog-post {
    display: flex;
    padding: 80px 0;
    gap: 56px;
}

.blog-post main {
    flex: 1 1 auto;
    padding-top: 0;
    padding-bottom: 0;
}

.blog-post h2 {
    color: #333333;
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.blog-post h2 {
    font-size: 2.25rem;
    line-height: 1.4;
}

.blog-post h3 {
    font-size: 2rem;
    color: #333333;
    font-weight: 700;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.blog-post h4 {
    color: #383838;
}

.blog-post p {
    color: #333333;
    margin-bottom: 1em;
}

.blog-post strong {
    font-weight: 600;
}

.blog-post a {
    color: #795695;
    text-decoration: none;
}

.blog-post a:hover {
    text-decoration: underline;
}

.blog-post img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 14px;
}

.blog-post blockquote {
    color: #333333;
    font-style: italic;
    border-left: 4px solid #795695;
    margin: 20px 0;
    padding-left: 15px;
}

.blog-post pre {
    color: #333333;
    background: #f4f4f4;
    padding: 10px;
    overflow-x: auto;
    border-radius: 5px;
}

.blog-post code {
    color: #333333;
    background: #eee;
    font-family: 'Courier New', monospace;
    padding: 3px 5px;
    border-radius: 3px;
}

.blog-post ul,
.blog-post ol {
    color: #333333;
    padding-left: 20px;
    margin-bottom: 1.5em;
}

.blog-post li {
    margin-bottom: 0.5em;
}

.blog-post table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.blog-post th,
.blog-post td {
    color: #333333;
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.blog-post th {
    background: #f8f8f8;
}

.call-to-action {
    text-align: center;
    padding: 50px 40px 40px;
    border-radius: 30px;
    background: linear-gradient(0deg, #4a1d91, #753dcd);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.call-to-action strong {
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    font-style: italic;
    background: #7d49d1;
    border: 1px solid #a477e9;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 1.25rem;
}

.call-to-action h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    text-wrap: balance;
    margin: 0 0 1.25rem;
}

.call-to-action p {
    color: #eeeeee;
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.call-to-action a,
.call-to-action a:hover {
    color: #5525a0;
    background: #fafafa;
    font-size: 15px;
    font-weight: 600;
    display: inline-block;
    padding: 14px 26px;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.25px;
    border-radius: 30px;
    margin-bottom: 0.75rem;
}

.call-to-action span {
    color: #eeeeee;
    font-weight: 500;
    font-style: italic;
}

.blog-post aside {
    flex: 0 0 340px;
}

.blog-post aside .sidebar {
    position: sticky;
    position: -webkit-sticky;
    top: 30px;
}

.sidebar-cta {
    padding: 24px 24px 26px;
    border-radius: 14px;
    background: linear-gradient(0deg, #4a1d91, #753dcd);
    margin-bottom: 30px;
}

.sidebar-cta h3 {
    color: #fafafa;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.sidebar-cta p {
    color: #fafafa;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 500;
    letter-spacing: 0.4px;
    margin: 0 0 1rem;
}

.sidebar-cta a,
.sidebar-cta a:hover {
    color: #5525a0;
    background: #fafafa;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    padding: 13px 26px;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.25px;
    border-radius: 30px;
}

.popular-posts {
    padding: 24px;
    border-radius: 14px;
    background: #ffffff;
}

.popular-posts h3 {
    color: #333333;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
}

.post-list {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.post-list:last-child {
    margin: 0;
}

.post-list .feature-img {
    flex: 0 0 60px;
}

.post-list img {
    height: 70px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    margin: 0;
    border-radius: 10px;
}

.post-list a,
.post-list a:hover {
    color: #444444;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-decoration: none;
}

.post-list .date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-list .date svg {
    color: #555555;
    height: 14px;
    width: 14px;
}

.post-list .date span {
    color: #555555;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1;
}

/*=============================================
                  Footer
===============================================*/
footer {
    padding: 24px 0;
    background: #ffffff;
    text-align: center;
}

footer p {
    color: #555555;
    font-size: 15px;
    margin-bottom: 0;
}

/*=============================================
              Responsive
===============================================*/
@media (max-width: 1200px) {
    header {
        padding: 5px 80px;
    }

    main {
        padding: 100px 0;
    }

    .page-title h1 {
        font-size: 2.4rem;
    }

    .article-card .title {
        font-size: 1.2rem;
    }

    .article-card .excerpt {
        font-size: 15px;
    }

    .article-card .meta .author img {
        height: 36px;
        width: 36px;
    }

    .article-card .meta .date span {
        font-size: 13px;
    }

    .article-card .meta .author h3 {
        font-size: 14px;
        max-width: 7ch;
    }
}

@media (min-width: 991.98px) {
    .feature-image img.alt {
        object-position: 0 -40px;
    }
}

@media (max-width: 991.98px) {
    .page-title {
        min-height: 520px;
    }

    .page-title .text {
        max-width: 640px;
    }

    .page-title h1 {
        font-size: 2.2rem;
    }

    .page-title p {
        font-size: 16px;
    }

    .article-card .title {
        font-size: 1.35rem;
    }

    .article-card .excerpt {
        font-size: 16px;
    }

    .article-card .meta .author h3 {
        max-width: 12ch;
    }

    .blog-post-heading h1 {
        font-size: 2.6rem;
    }

    .blog-post {
        flex-direction: column;
        gap: 40px;
    }

    .blog-post h2,
    .sidebar-cta h3 {
        font-size: 2.2rem;
        line-height: 1.25;
    }

    .sidebar-cta,
    .popular-posts {
        padding: 30px;
    }

    .sidebar-cta {
        margin-bottom: 40px;
    }

    .sidebar-cta p {
        font-size: 16px;
    }

    .popular-posts h3 {
        font-size: 2rem;
    }

    .post-list a,
    .post-list a:hover {
        font-size: 1.25rem;
        line-height: 1.25;
    }
}

@media (max-width: 767.98px) {
    header {
        padding: 5px 30px;
    }

    .navbar-nav {
        padding: 1rem 0 0.75rem;
        margin-bottom: 0 !important;
        gap: 6px;
    }

    a.navbar-brand,
    a.navbar-brand:hover {
        color: #555555;
        font-size: 1.2rem;
        font-weight: 600;
    }

    .theme-btn {
        padding: 11px 30px;
    }

    .page-title {
        min-height: auto;
        background-image: url("/img/banner-mobile.webp");
        padding: 120px 40px;
        text-align: center;
        border-radius: 0;
    }

    .page-title::before {
        background: radial-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85), rgb(0, 0, 0, 1));
    }

    .page-title::after {
        display: none;
    }

    .page-title .text {
        max-width: 100%;
        position: relative;
        left: 0;
        bottom: 0;
    }

    .page-title h1 {
        font-size: 1.8rem;
    }

    main {
        padding: 80px 0;
    }

    .custom-gap {
        --bs-gutter-x: 0;
        --bs-gutter-y: 2.5rem;
    }

    .article-card {
        max-width: 390px;
        margin: auto;
    }

    .blog-post-heading {
        padding: 60px 0 0;
    }

    .blog-post-heading h1 {
        font-size: 2rem;
    }

    .blog-post {
        padding: 60px 0;
        gap: 30px;
    }

    .blog-post-heading .feature-image img {
        height: 60vh;
        border-radius: 16px;
    }

    .blog-post h2 {
        margin-top: 1.25em;
    }

    .blog-post h3 {
        font-size: 1.6rem;
    }

    .blog-post h2,
    .sidebar-cta h3,
    .popular-posts h3 {
        font-size: 1.75rem;
    }

    .ssk-sticky .ssk {
        padding: 12px 0;
    }

    .call-to-action {
        border-radius: 24px
    }

    .call-to-action h3 {
        font-size: 1.8rem;
        font-weight: 600;
    }

    .call-to-action p,
    .call-to-action span {
        font-size: 15px;
    }

    .call-to-action a,
    .call-to-action a:hover {
        font-size: 14px;
        padding: 13px 24px;
    }
}

@media (max-width: 575.98px) {
    header {
        padding: 5px 20px;
    }

    .theme-btn-alt {
        font-size: 14px;
    }

    footer {
        padding: 18px 0;
    }

    footer p {
        font-size: 12px;
    }

    .page-title {
        padding: 100px 20px;
    }

    .page-title h1 {
        font-size: 1.5rem;
        text-transform: capitalize;
    }

    main {
        padding: 70px 10px;
    }

    .article-card .blog-info {
        padding: 24px;
    }

    .article-card .title {
        font-size: 1.2rem;
    }

    .article-card .excerpt {
        font-size: 15px;
        line-clamp: 3;
        -webkit-line-clamp: 3;
    }

    .article-card .meta .date span {
        white-space: nowrap;
    }

    .blog-post-heading {
        padding: 50px 10px 0;
    }

    .blog-post-heading h1 {
        font-size: 1.5rem;
    }

    .blog-post-heading .meta .author img {
        height: 36px;
        width: 36px;
    }

    .blog-post-heading .meta {
        gap: 20px;
        margin-bottom: 1.5rem;
    }

    .blog-post-heading .feature-image img {
        height: auto;
        border-radius: 14px;
        aspect-ratio: 3 / 2;
        object-position: center center !important;
    }

    .blog-post {
        padding: 44px 0 60px;
        gap: 24px;
    }

    .blog-post h2 {
        font-size: 1.35rem;
        margin-bottom: 1.5rem;
    }

    .blog-post h2 {
        font-size: 1.35rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .blog-post aside {
        padding: 0 10px;
    }

    .sidebar-cta h3 {
        font-size: 1.6rem;
    }

    .popular-posts h3 {
        font-size: 1.4rem;
    }

    .post-list a,
    .post-list a:hover {
        font-size: 1rem;
        line-height: 1.4;
    }

    .blog-post h3 {
        font-size: 1.3rem;
    }

    .call-to-action {
        border-radius: 16px;
        padding: 30px 24px;
        margin-top: 2rem !important;
        margin-bottom: 2.5rem !important;
    }

    .call-to-action strong {
        font-size: 13px;
    }

    .call-to-action h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .call-to-action p,
    .call-to-action span {
        font-size: 14px;
        color: #f1f1f1;
    }
}